sm-click-library-ui 0.0.380 → 0.0.382

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.
@@ -1,18 +1,18 @@
1
- (function(ut,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("pinia")):typeof define=="function"&&define.amd?define(["exports","vue","pinia"],t):(ut=typeof globalThis<"u"?globalThis:ut||self,t(ut["sm-click-library-ui"]={},ut.Vue,ut.Pinia))})(this,function(ut,t,zt){"use strict";var Qb=Object.defineProperty;var Kb=(ut,t,zt)=>t in ut?Qb(ut,t,{enumerable:!0,configurable:!0,writable:!0,value:zt}):ut[t]=zt;var ve=(ut,t,zt)=>Kb(ut,typeof t!="symbol"?t+"":t,zt);function Ms(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Ho(e){return typeof e=="function"?e():t.unref(e)}const Ro=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Bs=Object.prototype.toString,As=e=>Bs.call(e)==="[object Object]",Sn=()=>{},Vs=Ns();function Ns(){var e,a;return Ro&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((a=window==null?void 0:window.navigator)==null?void 0:a.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ja(e){var a;const n=Ho(e);return(a=n==null?void 0:n.$el)!=null?a:n}const zo=Ro?window:void 0;function fr(...e){let a,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,a=zo):[a,n,r,o]=e,!a)return Sn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],l=()=>{i.forEach(u=>u()),i.length=0},s=(u,m,c,f)=>(u.addEventListener(m,c,f),()=>u.removeEventListener(m,c,f)),d=t.watch(()=>[Ja(a),Ho(o)],([u,m])=>{if(l(),!u)return;const c=As(m)?{...m}:m;i.push(...n.flatMap(f=>r.map(h=>s(u,f,h,c))))},{immediate:!0,flush:"post"}),p=()=>{d(),l()};return Ms(p),p}let Io=!1;function Go(e,a,n={}){const{window:r=zo,ignore:o=[],capture:i=!0,detectIframe:l=!1}=n;if(!r)return Sn;Vs&&!Io&&(Io=!0,Array.from(r.document.body.children).forEach(c=>c.addEventListener("click",Sn)),r.document.documentElement.addEventListener("click",Sn));let s=!0;const d=c=>o.some(f=>{if(typeof f=="string")return Array.from(r.document.querySelectorAll(f)).some(h=>h===c.target||c.composedPath().includes(h));{const h=Ja(f);return h&&(c.target===h||c.composedPath().includes(h))}}),u=[fr(r,"click",c=>{const f=Ja(e);if(!(!f||f===c.target||c.composedPath().includes(f))){if(c.detail===0&&(s=!d(c)),!s){s=!0;return}a(c)}},{passive:!0,capture:i}),fr(r,"pointerdown",c=>{const f=Ja(e);s=!d(c)&&!!(f&&!c.composedPath().includes(f))},{passive:!0}),l&&fr(r,"blur",c=>{setTimeout(()=>{var f;const h=Ja(e);((f=r.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(h!=null&&h.contains(r.document.activeElement))&&a(c)},0)})].filter(Boolean);return()=>u.forEach(c=>c())}const qe=(e,a)=>{const n=e.__vccOpts||e;for(const[r,o]of a)n[r]=o;return n},_s={class:"line-clamp-2 uppercase text-xs truncate text-white"},Ds={key:0,class:"select_widget_lib"},jo=qe({__name:"primary_select",props:{config:{type:Object,default:{title:"select_primary"}}},emits:["closeSelect"],setup(e,{emit:a}){const n=e,r=t.ref(!1),o=t.ref(null);t.computed(()=>n.selectConfig.some(s=>s.freeSlot));const i=()=>{r.value=!r.value};return Go(o,()=>{r.value&&(r.value=!1)}),(s,d)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"target",ref:o,class:"relative w-full"},[t.createElementVNode("button",{onClick:i,class:"bg-base-100 z-10 truncate flex items-center justify-between gap-6 p-2 rounded-md lg:mt-0 w-full shadow-md shadow-base-300"},[t.createElementVNode("div",null,[t.createElementVNode("p",_s,t.toDisplayString(e.config.title),1)]),t.createElementVNode("div",null,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([r.value?"rotate-180 transition-transform ease-in-out":"","w-3 h-3 text-white"]),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},d[0]||(d[0]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.4 10.3A2 2 0 0 0 17 7H7a2 2 0 0 0-1.5 3.3l4.9 5.9a2 2 0 0 0 3 0l5-6Z","clip-rule":"evenodd"},null,-1)]),2))])]),r.value?(t.openBlock(),t.createElementBlock("section",Ds,[t.createElementVNode("div",null,[t.renderSlot(s.$slots,"free-slot",{},void 0,!0)])])):t.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-970e6830"]]),Ts={key:0,class:"modal_head"},Ps={class:"modal_responsive"},Os={class:"flex min-h-full items-center justify-center text-center sm:p-0"},Fs={class:"modal_tittle text-current"},Ls={class:"flex items-center gap-3"},$s=["innerHTML"],Hs={class:"text-xl font-semibold flex items-center gap-2"},Rs={class:"bg-base-200"},zs={class:"text-center"},Is={class:"modal_end_button"},qo=qe({__name:"simple_modal",props:{isOpen:{type:Boolean,default:!1},header:{type:Object,default:{title:"title",svg:"<svg class='w-5 mr-2 text-primary inline-block' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 24 24'> <path d='M18 3h-5.7a2 2 0 0 0-1.4.6L3.6 11a2 2 0 0 0 0 2.8l6.6 6.6a2 2 0 0 0 2.8 0l7.4-7.5a2 2 0 0 0 .6-1.4V6a3 3 0 0 0-3-3Zm-2.4 6.4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z' /> </svg>"}},size:{type:String,default:"md:w-1/2 xl:w-1/3"}},emits:["update:isOpen","close"],setup(e,{emit:a}){const n=e,r=a,o=()=>{r("update:isOpen",!n.isOpen),n.isOpen&&r("close")};return(i,l)=>{var s,d;return e.isOpen?(t.openBlock(),t.createElementBlock("div",Ts,[l[2]||(l[2]=t.createElementVNode("div",{class:"modal-overlay absolute h-full w-full bg-gray-600 opacity-50"},null,-1)),t.createElementVNode("div",Ps,[t.createElementVNode("div",Os,[t.createElementVNode("div",{class:t.normalizeClass(["z-50 w-full shadow rounded-2xl shadow-black",e.size])},[t.createElementVNode("div",Fs,[t.createElementVNode("section",Ls,[t.createElementVNode("div",{innerHTML:(s=e.header)==null?void 0:s.svg},null,8,$s),t.createElementVNode("div",null,[t.createElementVNode("h3",Hs,[t.createElementVNode("p",null,t.toDisplayString((d=e.header)==null?void 0:d.title),1)]),t.createElementVNode("div",null,[t.renderSlot(i.$slots,"header",{},void 0,!0)])])]),t.createElementVNode("button",{onClick:l[0]||(l[0]=p=>o()),class:"modal_close_button"},l[1]||(l[1]=[t.createElementVNode("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))]),t.createElementVNode("div",Rs,[t.createElementVNode("div",zs,[t.renderSlot(i.$slots,"body",{},void 0,!0)])]),t.createElementVNode("div",Is,[t.renderSlot(i.$slots,"footer",{},void 0,!0)])],2)])])])):t.createCommentVNode("",!0)}}},[["__scopeId","data-v-3fe54e4c"]]),Gs={class:"simple_card_header"},js={key:0,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},qs={key:1,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},Ws={key:2,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},Ys={key:3,class:"simple_card_icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 23 23"},Us={class:"simple_card_title"},Xs={class:"simple_card_descripiton"},Wo={__name:"simple_card",props:{content:{type:Object,default:{title:"Title",description:"Coloque aqui a descrição"}},typeCard:{type:String,default:"default"}},setup(e){const a=e,n=t.computed(()=>({simple_card_success:a.typeCard==="success",simple_card_info:a.typeCard==="info",simple_card_alert:a.typeCard==="alert",simple_card_error:a.typeCard==="error"}));return(r,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([n.value,"simple_card"])},[t.createElementVNode("div",Gs,[e.typeCard==="success"?(t.openBlock(),t.createElementBlock("svg",js,o[0]||(o[0]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.25 10C0.25 4.61522 4.61522 0.25 10 0.25C15.3848 0.25 19.75 4.61522 19.75 10C19.75 15.3848 15.3848 19.75 10 19.75C4.61522 19.75 0.25 15.3848 0.25 10ZM13.6103 8.18593C13.8511 7.84887 13.773 7.38046 13.4359 7.1397C13.0989 6.89894 12.6305 6.97701 12.3897 7.31407L9.1543 11.8436L7.53033 10.2197C7.23744 9.92678 6.76256 9.92678 6.46967 10.2197C6.17678 10.5126 6.17678 10.9874 6.46967 11.2803L8.71967 13.5303C8.87556 13.6862 9.09215 13.7656 9.31186 13.7474C9.53157 13.7293 9.73216 13.6153 9.8603 13.4359L13.6103 8.18593Z",fill:"currentColor"},null,-1)]))):t.createCommentVNode("",!0),e.typeCard==="info"?(t.openBlock(),t.createElementBlock("svg",qs,o[1]||(o[1]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.25 10C0.25 4.61522 4.61522 0.25 10 0.25C15.3848 0.25 19.75 4.61522 19.75 10C19.75 15.3848 15.3848 19.75 10 19.75C4.61522 19.75 0.25 15.3848 0.25 10ZM10 6.25C10.4142 6.25 10.75 6.58579 10.75 7V10.75C10.75 11.1642 10.4142 11.5 10 11.5C9.58579 11.5 9.25 11.1642 9.25 10.75V7C9.25 6.58579 9.58579 6.25 10 6.25ZM10 14.5C10.4142 14.5 10.75 14.1642 10.75 13.75C10.75 13.3358 10.4142 13 10 13C9.58579 13 9.25 13.3358 9.25 13.75C9.25 14.1642 9.58579 14.5 10 14.5Z",fill:"currentColor"},null,-1)]))):t.createCommentVNode("",!0),e.typeCard==="alert"?(t.openBlock(),t.createElementBlock("svg",Ws,o[2]||(o[2]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.40123 2.0034C9.55572 0.0022862 12.4439 0.0022856 13.5983 2.0034L20.9527 14.7509C22.1065 16.7509 20.6631 19.2501 18.3541 19.2501H3.64546C1.33649 19.2501 -0.106939 16.7509 1.04691 14.7509L8.40123 2.0034ZM11 7.25C11.4142 7.25 11.75 7.58579 11.75 8V11.75C11.75 12.1642 11.4142 12.5 11 12.5C10.5858 12.5 10.25 12.1642 10.25 11.75V8C10.25 7.58579 10.5858 7.25 11 7.25ZM11 15.5C11.4142 15.5 11.75 15.1642 11.75 14.75C11.75 14.3358 11.4142 14 11 14C10.5858 14 10.25 14.3358 10.25 14.75C10.25 15.1642 10.5858 15.5 11 15.5Z",fill:"currentColor"},null,-1)]))):t.createCommentVNode("",!0),e.typeCard==="error"?(t.openBlock(),t.createElementBlock("svg",Ys,o[3]||(o[3]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm7.707-3.707a1 1 0 0 0-1.414 1.414L10.586 12l-2.293 2.293a1 1 0 1 0 1.414 1.414L12 13.414l2.293 2.293a1 1 0 0 0 1.414-1.414L13.414 12l2.293-2.293a1 1 0 0 0-1.414-1.414L12 10.586 9.707 8.293Z","clip-rule":"evenodd"},null,-1)]))):t.createCommentVNode("",!0),t.createElementVNode("p",Us,t.toDisplayString(e.content.title),1)]),t.createElementVNode("section",Xs,[t.createElementVNode("p",null,t.toDisplayString(e.content.description),1)])],2))}};function Yo(e,a){return function(){return e.apply(a,arguments)}}const{toString:Zs}=Object.prototype,{getPrototypeOf:hr}=Object,{iterator:Mn,toStringTag:Uo}=Symbol,Bn=(e=>a=>{const n=Zs.call(a);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Pt=e=>(e=e.toLowerCase(),a=>Bn(a)===e),An=e=>a=>typeof a===e,{isArray:Ta}=Array,en=An("undefined");function Qs(e){return e!==null&&!en(e)&&e.constructor!==null&&!en(e.constructor)&&Mt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Xo=Pt("ArrayBuffer");function Ks(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&Xo(e.buffer),a}const Js=An("string"),Mt=An("function"),Zo=An("number"),Vn=e=>e!==null&&typeof e=="object",e0=e=>e===!0||e===!1,Nn=e=>{if(Bn(e)!=="object")return!1;const a=hr(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Uo in e)&&!(Mn in e)},t0=Pt("Date"),a0=Pt("File"),n0=Pt("Blob"),r0=Pt("FileList"),o0=e=>Vn(e)&&Mt(e.pipe),i0=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||Mt(e.append)&&((a=Bn(e))==="formdata"||a==="object"&&Mt(e.toString)&&e.toString()==="[object FormData]"))},l0=Pt("URLSearchParams"),[s0,c0,d0,u0]=["ReadableStream","Request","Response","Headers"].map(Pt),m0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function tn(e,a,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Ta(e))for(r=0,o=e.length;r<o;r++)a.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),l=i.length;let s;for(r=0;r<l;r++)s=i[r],a.call(null,e[s],s,e)}}function Qo(e,a){a=a.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],a===o.toLowerCase())return o;return null}const wa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ko=e=>!en(e)&&e!==wa;function pr(){const{caseless:e}=Ko(this)&&this||{},a={},n=(r,o)=>{const i=e&&Qo(a,o)||o;Nn(a[i])&&Nn(r)?a[i]=pr(a[i],r):Nn(r)?a[i]=pr({},r):Ta(r)?a[i]=r.slice():a[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&tn(arguments[r],n);return a}const f0=(e,a,n,{allOwnKeys:r}={})=>(tn(a,(o,i)=>{n&&Mt(o)?e[i]=Yo(o,n):e[i]=o},{allOwnKeys:r}),e),h0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),p0=(e,a,n,r)=>{e.prototype=Object.create(a.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),n&&Object.assign(e.prototype,n)},g0=(e,a,n,r)=>{let o,i,l;const s={};if(a=a||{},e==null)return a;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)l=o[i],(!r||r(l,e,a))&&!s[l]&&(a[l]=e[l],s[l]=!0);e=n!==!1&&hr(e)}while(e&&(!n||n(e,a))&&e!==Object.prototype);return a},y0=(e,a,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=a.length;const r=e.indexOf(a,n);return r!==-1&&r===n},k0=e=>{if(!e)return null;if(Ta(e))return e;let a=e.length;if(!Zo(a))return null;const n=new Array(a);for(;a-- >0;)n[a]=e[a];return n},x0=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&hr(Uint8Array)),b0=(e,a)=>{const r=(e&&e[Mn]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;a.call(e,i[0],i[1])}},w0=(e,a)=>{let n;const r=[];for(;(n=e.exec(a))!==null;)r.push(n);return r},v0=Pt("HTMLFormElement"),E0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Jo=(({hasOwnProperty:e})=>(a,n)=>e.call(a,n))(Object.prototype),C0=Pt("RegExp"),ei=(e,a)=>{const n=Object.getOwnPropertyDescriptors(e),r={};tn(n,(o,i)=>{let l;(l=a(o,i,e))!==!1&&(r[i]=l||o)}),Object.defineProperties(e,r)},S0=e=>{ei(e,(a,n)=>{if(Mt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Mt(r)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},M0=(e,a)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Ta(e)?r(e):r(String(e).split(a)),n},B0=()=>{},A0=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function V0(e){return!!(e&&Mt(e.append)&&e[Uo]==="FormData"&&e[Mn])}const N0=e=>{const a=new Array(10),n=(r,o)=>{if(Vn(r)){if(a.indexOf(r)>=0)return;if(!("toJSON"in r)){a[o]=r;const i=Ta(r)?[]:{};return tn(r,(l,s)=>{const d=n(l,o+1);!en(d)&&(i[s]=d)}),a[o]=void 0,i}}return r};return n(e,0)},_0=Pt("AsyncFunction"),D0=e=>e&&(Vn(e)||Mt(e))&&Mt(e.then)&&Mt(e.catch),ti=((e,a)=>e?setImmediate:a?((n,r)=>(wa.addEventListener("message",({source:o,data:i})=>{o===wa&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),wa.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Mt(wa.postMessage)),T0=typeof queueMicrotask<"u"?queueMicrotask.bind(wa):typeof process<"u"&&process.nextTick||ti,oe={isArray:Ta,isArrayBuffer:Xo,isBuffer:Qs,isFormData:i0,isArrayBufferView:Ks,isString:Js,isNumber:Zo,isBoolean:e0,isObject:Vn,isPlainObject:Nn,isReadableStream:s0,isRequest:c0,isResponse:d0,isHeaders:u0,isUndefined:en,isDate:t0,isFile:a0,isBlob:n0,isRegExp:C0,isFunction:Mt,isStream:o0,isURLSearchParams:l0,isTypedArray:x0,isFileList:r0,forEach:tn,merge:pr,extend:f0,trim:m0,stripBOM:h0,inherits:p0,toFlatObject:g0,kindOf:Bn,kindOfTest:Pt,endsWith:y0,toArray:k0,forEachEntry:b0,matchAll:w0,isHTMLForm:v0,hasOwnProperty:Jo,hasOwnProp:Jo,reduceDescriptors:ei,freezeMethods:S0,toObjectSet:M0,toCamelCase:E0,noop:B0,toFiniteNumber:A0,findKey:Qo,global:wa,isContextDefined:Ko,isSpecCompliantForm:V0,toJSONObject:N0,isAsyncFn:_0,isThenable:D0,setImmediate:ti,asap:T0,isIterable:e=>e!=null&&Mt(e[Mn])};function Te(e,a,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}oe.inherits(Te,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:oe.toJSONObject(this.config),code:this.code,status:this.status}}});const ai=Te.prototype,ni={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ni[e]={value:e}}),Object.defineProperties(Te,ni),Object.defineProperty(ai,"isAxiosError",{value:!0}),Te.from=(e,a,n,r,o,i)=>{const l=Object.create(ai);return oe.toFlatObject(e,l,function(d){return d!==Error.prototype},s=>s!=="isAxiosError"),Te.call(l,e.message,a,n,r,o),l.cause=e,l.name=e.name,i&&Object.assign(l,i),l};const P0=null;function gr(e){return oe.isPlainObject(e)||oe.isArray(e)}function ri(e){return oe.endsWith(e,"[]")?e.slice(0,-2):e}function oi(e,a,n){return e?e.concat(a).map(function(o,i){return o=ri(o),!n&&i?"["+o+"]":o}).join(n?".":""):a}function O0(e){return oe.isArray(e)&&!e.some(gr)}const F0=oe.toFlatObject(oe,{},null,function(a){return/^is[A-Z]/.test(a)});function _n(e,a,n){if(!oe.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,n=oe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,b){return!oe.isUndefined(b[y])});const r=n.metaTokens,o=n.visitor||u,i=n.dots,l=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&oe.isSpecCompliantForm(a);if(!oe.isFunction(o))throw new TypeError("visitor must be a function");function p(h){if(h===null)return"";if(oe.isDate(h))return h.toISOString();if(oe.isBoolean(h))return h.toString();if(!d&&oe.isBlob(h))throw new Te("Blob is not supported. Use a Buffer instead.");return oe.isArrayBuffer(h)||oe.isTypedArray(h)?d&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,y,b){let x=h;if(h&&!b&&typeof h=="object"){if(oe.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(oe.isArray(h)&&O0(h)||(oe.isFileList(h)||oe.endsWith(y,"[]"))&&(x=oe.toArray(h)))return y=ri(y),x.forEach(function(k,B){!(oe.isUndefined(k)||k===null)&&a.append(l===!0?oi([y],B,i):l===null?y:y+"[]",p(k))}),!1}return gr(h)?!0:(a.append(oi(b,y,i),p(h)),!1)}const m=[],c=Object.assign(F0,{defaultVisitor:u,convertValue:p,isVisitable:gr});function f(h,y){if(!oe.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));m.push(h),oe.forEach(h,function(x,w){(!(oe.isUndefined(x)||x===null)&&o.call(a,x,oe.isString(w)?w.trim():w,y,c))===!0&&f(x,y?y.concat(w):[w])}),m.pop()}}if(!oe.isObject(e))throw new TypeError("data must be an object");return f(e),a}function ii(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return a[r]})}function yr(e,a){this._pairs=[],e&&_n(e,this,a)}const li=yr.prototype;li.append=function(a,n){this._pairs.push([a,n])},li.toString=function(a){const n=a?function(r){return a.call(this,r,ii)}:ii;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function L0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function si(e,a,n){if(!a)return e;const r=n&&n.encode||L0;oe.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(a,n):i=oe.isURLSearchParams(a)?a.toString():new yr(a,n).toString(r),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ci{constructor(){this.handlers=[]}use(a,n,r){return this.handlers.push({fulfilled:a,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){oe.forEach(this.handlers,function(r){r!==null&&a(r)})}}const di={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$0={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:yr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},kr=typeof window<"u"&&typeof document<"u",xr=typeof navigator=="object"&&navigator||void 0,H0=kr&&(!xr||["ReactNative","NativeScript","NS"].indexOf(xr.product)<0),R0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",z0=kr&&window.location.href||"http://localhost",gt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:kr,hasStandardBrowserEnv:H0,hasStandardBrowserWebWorkerEnv:R0,navigator:xr,origin:z0},Symbol.toStringTag,{value:"Module"})),...$0};function I0(e,a){return _n(e,new gt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return gt.isNode&&oe.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function G0(e){return oe.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function j0(e){const a={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],a[i]=e[i];return a}function ui(e){function a(n,r,o,i){let l=n[i++];if(l==="__proto__")return!0;const s=Number.isFinite(+l),d=i>=n.length;return l=!l&&oe.isArray(o)?o.length:l,d?(oe.hasOwnProp(o,l)?o[l]=[o[l],r]:o[l]=r,!s):((!o[l]||!oe.isObject(o[l]))&&(o[l]=[]),a(n,r,o[l],i)&&oe.isArray(o[l])&&(o[l]=j0(o[l])),!s)}if(oe.isFormData(e)&&oe.isFunction(e.entries)){const n={};return oe.forEachEntry(e,(r,o)=>{a(G0(r),o,n,0)}),n}return null}function q0(e,a,n){if(oe.isString(e))try{return(a||JSON.parse)(e),oe.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const an={transitional:di,adapter:["xhr","http","fetch"],transformRequest:[function(a,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=oe.isObject(a);if(i&&oe.isHTMLForm(a)&&(a=new FormData(a)),oe.isFormData(a))return o?JSON.stringify(ui(a)):a;if(oe.isArrayBuffer(a)||oe.isBuffer(a)||oe.isStream(a)||oe.isFile(a)||oe.isBlob(a)||oe.isReadableStream(a))return a;if(oe.isArrayBufferView(a))return a.buffer;if(oe.isURLSearchParams(a))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return I0(a,this.formSerializer).toString();if((s=oe.isFileList(a))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return _n(s?{"files[]":a}:a,d&&new d,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),q0(a)):a}],transformResponse:[function(a){const n=this.transitional||an.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(oe.isResponse(a)||oe.isReadableStream(a))return a;if(a&&oe.isString(a)&&(r&&!this.responseType||o)){const l=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(a)}catch(s){if(l)throw s.name==="SyntaxError"?Te.from(s,Te.ERR_BAD_RESPONSE,this,null,this.response):s}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gt.classes.FormData,Blob:gt.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};oe.forEach(["delete","get","head","post","put","patch"],e=>{an.headers[e]={}});const W0=oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Y0=e=>{const a={};let n,r,o;return e&&e.split(`
2
- `).forEach(function(l){o=l.indexOf(":"),n=l.substring(0,o).trim().toLowerCase(),r=l.substring(o+1).trim(),!(!n||a[n]&&W0[n])&&(n==="set-cookie"?a[n]?a[n].push(r):a[n]=[r]:a[n]=a[n]?a[n]+", "+r:r)}),a},mi=Symbol("internals");function nn(e){return e&&String(e).trim().toLowerCase()}function Dn(e){return e===!1||e==null?e:oe.isArray(e)?e.map(Dn):String(e)}function U0(e){const a=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)a[r[1]]=r[2];return a}const X0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function br(e,a,n,r,o){if(oe.isFunction(r))return r.call(this,a,n);if(o&&(a=n),!!oe.isString(a)){if(oe.isString(r))return a.indexOf(r)!==-1;if(oe.isRegExp(r))return r.test(a)}}function Z0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,n,r)=>n.toUpperCase()+r)}function Q0(e,a){const n=oe.toCamelCase(" "+a);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,l){return this[r].call(this,a,o,i,l)},configurable:!0})})}let Bt=class{constructor(a){a&&this.set(a)}set(a,n,r){const o=this;function i(s,d,p){const u=nn(d);if(!u)throw new Error("header name must be a non-empty string");const m=oe.findKey(o,u);(!m||o[m]===void 0||p===!0||p===void 0&&o[m]!==!1)&&(o[m||d]=Dn(s))}const l=(s,d)=>oe.forEach(s,(p,u)=>i(p,u,d));if(oe.isPlainObject(a)||a instanceof this.constructor)l(a,n);else if(oe.isString(a)&&(a=a.trim())&&!X0(a))l(Y0(a),n);else if(oe.isObject(a)&&oe.isIterable(a)){let s={},d,p;for(const u of a){if(!oe.isArray(u))throw TypeError("Object iterator must return a key-value pair");s[p=u[0]]=(d=s[p])?oe.isArray(d)?[...d,u[1]]:[d,u[1]]:u[1]}l(s,n)}else a!=null&&i(n,a,r);return this}get(a,n){if(a=nn(a),a){const r=oe.findKey(this,a);if(r){const o=this[r];if(!n)return o;if(n===!0)return U0(o);if(oe.isFunction(n))return n.call(this,o,r);if(oe.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,n){if(a=nn(a),a){const r=oe.findKey(this,a);return!!(r&&this[r]!==void 0&&(!n||br(this,this[r],r,n)))}return!1}delete(a,n){const r=this;let o=!1;function i(l){if(l=nn(l),l){const s=oe.findKey(r,l);s&&(!n||br(r,r[s],s,n))&&(delete r[s],o=!0)}}return oe.isArray(a)?a.forEach(i):i(a),o}clear(a){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!a||br(this,this[i],i,a,!0))&&(delete this[i],o=!0)}return o}normalize(a){const n=this,r={};return oe.forEach(this,(o,i)=>{const l=oe.findKey(r,i);if(l){n[l]=Dn(o),delete n[i];return}const s=a?Z0(i):String(i).trim();s!==i&&delete n[i],n[s]=Dn(o),r[s]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const n=Object.create(null);return oe.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=a&&oe.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,n])=>a+": "+n).join(`
1
+ (function(ut,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("pinia")):typeof define=="function"&&define.amd?define(["exports","vue","pinia"],t):(ut=typeof globalThis<"u"?globalThis:ut||self,t(ut["sm-click-library-ui"]={},ut.Vue,ut.Pinia))})(this,function(ut,t,zt){"use strict";var Qb=Object.defineProperty;var Kb=(ut,t,zt)=>t in ut?Qb(ut,t,{enumerable:!0,configurable:!0,writable:!0,value:zt}):ut[t]=zt;var ve=(ut,t,zt)=>Kb(ut,typeof t!="symbol"?t+"":t,zt);function Ms(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Ho(e){return typeof e=="function"?e():t.unref(e)}const Ro=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Bs=Object.prototype.toString,As=e=>Bs.call(e)==="[object Object]",Sn=()=>{},Vs=Ns();function Ns(){var e,a;return Ro&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((a=window==null?void 0:window.navigator)==null?void 0:a.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ja(e){var a;const n=Ho(e);return(a=n==null?void 0:n.$el)!=null?a:n}const zo=Ro?window:void 0;function fr(...e){let a,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,a=zo):[a,n,r,o]=e,!a)return Sn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],l=()=>{i.forEach(u=>u()),i.length=0},s=(u,m,c,f)=>(u.addEventListener(m,c,f),()=>u.removeEventListener(m,c,f)),d=t.watch(()=>[Ja(a),Ho(o)],([u,m])=>{if(l(),!u)return;const c=As(m)?{...m}:m;i.push(...n.flatMap(f=>r.map(h=>s(u,f,h,c))))},{immediate:!0,flush:"post"}),p=()=>{d(),l()};return Ms(p),p}let Io=!1;function Go(e,a,n={}){const{window:r=zo,ignore:o=[],capture:i=!0,detectIframe:l=!1}=n;if(!r)return Sn;Vs&&!Io&&(Io=!0,Array.from(r.document.body.children).forEach(c=>c.addEventListener("click",Sn)),r.document.documentElement.addEventListener("click",Sn));let s=!0;const d=c=>o.some(f=>{if(typeof f=="string")return Array.from(r.document.querySelectorAll(f)).some(h=>h===c.target||c.composedPath().includes(h));{const h=Ja(f);return h&&(c.target===h||c.composedPath().includes(h))}}),u=[fr(r,"click",c=>{const f=Ja(e);if(!(!f||f===c.target||c.composedPath().includes(f))){if(c.detail===0&&(s=!d(c)),!s){s=!0;return}a(c)}},{passive:!0,capture:i}),fr(r,"pointerdown",c=>{const f=Ja(e);s=!d(c)&&!!(f&&!c.composedPath().includes(f))},{passive:!0}),l&&fr(r,"blur",c=>{setTimeout(()=>{var f;const h=Ja(e);((f=r.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(h!=null&&h.contains(r.document.activeElement))&&a(c)},0)})].filter(Boolean);return()=>u.forEach(c=>c())}const qe=(e,a)=>{const n=e.__vccOpts||e;for(const[r,o]of a)n[r]=o;return n},Ds={class:"line-clamp-2 uppercase text-xs truncate text-white"},_s={key:0,class:"select_widget_lib"},jo=qe({__name:"primary_select",props:{config:{type:Object,default:{title:"select_primary"}}},emits:["closeSelect"],setup(e,{emit:a}){const n=e,r=t.ref(!1),o=t.ref(null);t.computed(()=>n.selectConfig.some(s=>s.freeSlot));const i=()=>{r.value=!r.value};return Go(o,()=>{r.value&&(r.value=!1)}),(s,d)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"target",ref:o,class:"relative w-full"},[t.createElementVNode("button",{onClick:i,class:"bg-base-100 z-10 truncate flex items-center justify-between gap-6 p-2 rounded-md lg:mt-0 w-full shadow-md shadow-base-300"},[t.createElementVNode("div",null,[t.createElementVNode("p",Ds,t.toDisplayString(e.config.title),1)]),t.createElementVNode("div",null,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([r.value?"rotate-180 transition-transform ease-in-out":"","w-3 h-3 text-white"]),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},d[0]||(d[0]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.4 10.3A2 2 0 0 0 17 7H7a2 2 0 0 0-1.5 3.3l4.9 5.9a2 2 0 0 0 3 0l5-6Z","clip-rule":"evenodd"},null,-1)]),2))])]),r.value?(t.openBlock(),t.createElementBlock("section",_s,[t.createElementVNode("div",null,[t.renderSlot(s.$slots,"free-slot",{},void 0,!0)])])):t.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-970e6830"]]),Ts={key:0,class:"modal_head"},Ps={class:"modal_responsive"},Os={class:"flex min-h-full items-center justify-center text-center sm:p-0"},Fs={class:"modal_tittle text-current"},Ls={class:"flex items-center gap-3"},$s=["innerHTML"],Hs={class:"text-xl font-semibold flex items-center gap-2"},Rs={class:"bg-base-200"},zs={class:"text-center"},Is={class:"modal_end_button"},qo=qe({__name:"simple_modal",props:{isOpen:{type:Boolean,default:!1},header:{type:Object,default:{title:"title",svg:"<svg class='w-5 mr-2 text-primary inline-block' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 24 24'> <path d='M18 3h-5.7a2 2 0 0 0-1.4.6L3.6 11a2 2 0 0 0 0 2.8l6.6 6.6a2 2 0 0 0 2.8 0l7.4-7.5a2 2 0 0 0 .6-1.4V6a3 3 0 0 0-3-3Zm-2.4 6.4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z' /> </svg>"}},size:{type:String,default:"md:w-1/2 xl:w-1/3"}},emits:["update:isOpen","close"],setup(e,{emit:a}){const n=e,r=a,o=()=>{r("update:isOpen",!n.isOpen),n.isOpen&&r("close")};return(i,l)=>{var s,d;return e.isOpen?(t.openBlock(),t.createElementBlock("div",Ts,[l[2]||(l[2]=t.createElementVNode("div",{class:"modal-overlay absolute h-full w-full bg-gray-600 opacity-50"},null,-1)),t.createElementVNode("div",Ps,[t.createElementVNode("div",Os,[t.createElementVNode("div",{class:t.normalizeClass(["z-50 w-full shadow rounded-2xl shadow-black",e.size])},[t.createElementVNode("div",Fs,[t.createElementVNode("section",Ls,[t.createElementVNode("div",{innerHTML:(s=e.header)==null?void 0:s.svg},null,8,$s),t.createElementVNode("div",null,[t.createElementVNode("h3",Hs,[t.createElementVNode("p",null,t.toDisplayString((d=e.header)==null?void 0:d.title),1)]),t.createElementVNode("div",null,[t.renderSlot(i.$slots,"header",{},void 0,!0)])])]),t.createElementVNode("button",{onClick:l[0]||(l[0]=p=>o()),class:"modal_close_button"},l[1]||(l[1]=[t.createElementVNode("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))]),t.createElementVNode("div",Rs,[t.createElementVNode("div",zs,[t.renderSlot(i.$slots,"body",{},void 0,!0)])]),t.createElementVNode("div",Is,[t.renderSlot(i.$slots,"footer",{},void 0,!0)])],2)])])])):t.createCommentVNode("",!0)}}},[["__scopeId","data-v-3fe54e4c"]]),Gs={class:"simple_card_header"},js={key:0,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},qs={key:1,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},Ws={key:2,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},Ys={key:3,class:"simple_card_icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 23 23"},Us={class:"simple_card_title"},Xs={class:"simple_card_descripiton"},Wo={__name:"simple_card",props:{content:{type:Object,default:{title:"Title",description:"Coloque aqui a descrição"}},typeCard:{type:String,default:"default"}},setup(e){const a=e,n=t.computed(()=>({simple_card_success:a.typeCard==="success",simple_card_info:a.typeCard==="info",simple_card_alert:a.typeCard==="alert",simple_card_error:a.typeCard==="error"}));return(r,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([n.value,"simple_card"])},[t.createElementVNode("div",Gs,[e.typeCard==="success"?(t.openBlock(),t.createElementBlock("svg",js,o[0]||(o[0]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.25 10C0.25 4.61522 4.61522 0.25 10 0.25C15.3848 0.25 19.75 4.61522 19.75 10C19.75 15.3848 15.3848 19.75 10 19.75C4.61522 19.75 0.25 15.3848 0.25 10ZM13.6103 8.18593C13.8511 7.84887 13.773 7.38046 13.4359 7.1397C13.0989 6.89894 12.6305 6.97701 12.3897 7.31407L9.1543 11.8436L7.53033 10.2197C7.23744 9.92678 6.76256 9.92678 6.46967 10.2197C6.17678 10.5126 6.17678 10.9874 6.46967 11.2803L8.71967 13.5303C8.87556 13.6862 9.09215 13.7656 9.31186 13.7474C9.53157 13.7293 9.73216 13.6153 9.8603 13.4359L13.6103 8.18593Z",fill:"currentColor"},null,-1)]))):t.createCommentVNode("",!0),e.typeCard==="info"?(t.openBlock(),t.createElementBlock("svg",qs,o[1]||(o[1]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.25 10C0.25 4.61522 4.61522 0.25 10 0.25C15.3848 0.25 19.75 4.61522 19.75 10C19.75 15.3848 15.3848 19.75 10 19.75C4.61522 19.75 0.25 15.3848 0.25 10ZM10 6.25C10.4142 6.25 10.75 6.58579 10.75 7V10.75C10.75 11.1642 10.4142 11.5 10 11.5C9.58579 11.5 9.25 11.1642 9.25 10.75V7C9.25 6.58579 9.58579 6.25 10 6.25ZM10 14.5C10.4142 14.5 10.75 14.1642 10.75 13.75C10.75 13.3358 10.4142 13 10 13C9.58579 13 9.25 13.3358 9.25 13.75C9.25 14.1642 9.58579 14.5 10 14.5Z",fill:"currentColor"},null,-1)]))):t.createCommentVNode("",!0),e.typeCard==="alert"?(t.openBlock(),t.createElementBlock("svg",Ws,o[2]||(o[2]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.40123 2.0034C9.55572 0.0022862 12.4439 0.0022856 13.5983 2.0034L20.9527 14.7509C22.1065 16.7509 20.6631 19.2501 18.3541 19.2501H3.64546C1.33649 19.2501 -0.106939 16.7509 1.04691 14.7509L8.40123 2.0034ZM11 7.25C11.4142 7.25 11.75 7.58579 11.75 8V11.75C11.75 12.1642 11.4142 12.5 11 12.5C10.5858 12.5 10.25 12.1642 10.25 11.75V8C10.25 7.58579 10.5858 7.25 11 7.25ZM11 15.5C11.4142 15.5 11.75 15.1642 11.75 14.75C11.75 14.3358 11.4142 14 11 14C10.5858 14 10.25 14.3358 10.25 14.75C10.25 15.1642 10.5858 15.5 11 15.5Z",fill:"currentColor"},null,-1)]))):t.createCommentVNode("",!0),e.typeCard==="error"?(t.openBlock(),t.createElementBlock("svg",Ys,o[3]||(o[3]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm7.707-3.707a1 1 0 0 0-1.414 1.414L10.586 12l-2.293 2.293a1 1 0 1 0 1.414 1.414L12 13.414l2.293 2.293a1 1 0 0 0 1.414-1.414L13.414 12l2.293-2.293a1 1 0 0 0-1.414-1.414L12 10.586 9.707 8.293Z","clip-rule":"evenodd"},null,-1)]))):t.createCommentVNode("",!0),t.createElementVNode("p",Us,t.toDisplayString(e.content.title),1)]),t.createElementVNode("section",Xs,[t.createElementVNode("p",null,t.toDisplayString(e.content.description),1)])],2))}};function Yo(e,a){return function(){return e.apply(a,arguments)}}const{toString:Zs}=Object.prototype,{getPrototypeOf:hr}=Object,{iterator:Mn,toStringTag:Uo}=Symbol,Bn=(e=>a=>{const n=Zs.call(a);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Pt=e=>(e=e.toLowerCase(),a=>Bn(a)===e),An=e=>a=>typeof a===e,{isArray:Ta}=Array,en=An("undefined");function Qs(e){return e!==null&&!en(e)&&e.constructor!==null&&!en(e.constructor)&&Mt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Xo=Pt("ArrayBuffer");function Ks(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&Xo(e.buffer),a}const Js=An("string"),Mt=An("function"),Zo=An("number"),Vn=e=>e!==null&&typeof e=="object",e0=e=>e===!0||e===!1,Nn=e=>{if(Bn(e)!=="object")return!1;const a=hr(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Uo in e)&&!(Mn in e)},t0=Pt("Date"),a0=Pt("File"),n0=Pt("Blob"),r0=Pt("FileList"),o0=e=>Vn(e)&&Mt(e.pipe),i0=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||Mt(e.append)&&((a=Bn(e))==="formdata"||a==="object"&&Mt(e.toString)&&e.toString()==="[object FormData]"))},l0=Pt("URLSearchParams"),[s0,c0,d0,u0]=["ReadableStream","Request","Response","Headers"].map(Pt),m0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function tn(e,a,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Ta(e))for(r=0,o=e.length;r<o;r++)a.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),l=i.length;let s;for(r=0;r<l;r++)s=i[r],a.call(null,e[s],s,e)}}function Qo(e,a){a=a.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],a===o.toLowerCase())return o;return null}const wa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ko=e=>!en(e)&&e!==wa;function pr(){const{caseless:e}=Ko(this)&&this||{},a={},n=(r,o)=>{const i=e&&Qo(a,o)||o;Nn(a[i])&&Nn(r)?a[i]=pr(a[i],r):Nn(r)?a[i]=pr({},r):Ta(r)?a[i]=r.slice():a[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&tn(arguments[r],n);return a}const f0=(e,a,n,{allOwnKeys:r}={})=>(tn(a,(o,i)=>{n&&Mt(o)?e[i]=Yo(o,n):e[i]=o},{allOwnKeys:r}),e),h0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),p0=(e,a,n,r)=>{e.prototype=Object.create(a.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),n&&Object.assign(e.prototype,n)},g0=(e,a,n,r)=>{let o,i,l;const s={};if(a=a||{},e==null)return a;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)l=o[i],(!r||r(l,e,a))&&!s[l]&&(a[l]=e[l],s[l]=!0);e=n!==!1&&hr(e)}while(e&&(!n||n(e,a))&&e!==Object.prototype);return a},y0=(e,a,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=a.length;const r=e.indexOf(a,n);return r!==-1&&r===n},k0=e=>{if(!e)return null;if(Ta(e))return e;let a=e.length;if(!Zo(a))return null;const n=new Array(a);for(;a-- >0;)n[a]=e[a];return n},x0=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&hr(Uint8Array)),b0=(e,a)=>{const r=(e&&e[Mn]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;a.call(e,i[0],i[1])}},w0=(e,a)=>{let n;const r=[];for(;(n=e.exec(a))!==null;)r.push(n);return r},v0=Pt("HTMLFormElement"),E0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Jo=(({hasOwnProperty:e})=>(a,n)=>e.call(a,n))(Object.prototype),C0=Pt("RegExp"),ei=(e,a)=>{const n=Object.getOwnPropertyDescriptors(e),r={};tn(n,(o,i)=>{let l;(l=a(o,i,e))!==!1&&(r[i]=l||o)}),Object.defineProperties(e,r)},S0=e=>{ei(e,(a,n)=>{if(Mt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Mt(r)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},M0=(e,a)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Ta(e)?r(e):r(String(e).split(a)),n},B0=()=>{},A0=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function V0(e){return!!(e&&Mt(e.append)&&e[Uo]==="FormData"&&e[Mn])}const N0=e=>{const a=new Array(10),n=(r,o)=>{if(Vn(r)){if(a.indexOf(r)>=0)return;if(!("toJSON"in r)){a[o]=r;const i=Ta(r)?[]:{};return tn(r,(l,s)=>{const d=n(l,o+1);!en(d)&&(i[s]=d)}),a[o]=void 0,i}}return r};return n(e,0)},D0=Pt("AsyncFunction"),_0=e=>e&&(Vn(e)||Mt(e))&&Mt(e.then)&&Mt(e.catch),ti=((e,a)=>e?setImmediate:a?((n,r)=>(wa.addEventListener("message",({source:o,data:i})=>{o===wa&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),wa.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Mt(wa.postMessage)),T0=typeof queueMicrotask<"u"?queueMicrotask.bind(wa):typeof process<"u"&&process.nextTick||ti,oe={isArray:Ta,isArrayBuffer:Xo,isBuffer:Qs,isFormData:i0,isArrayBufferView:Ks,isString:Js,isNumber:Zo,isBoolean:e0,isObject:Vn,isPlainObject:Nn,isReadableStream:s0,isRequest:c0,isResponse:d0,isHeaders:u0,isUndefined:en,isDate:t0,isFile:a0,isBlob:n0,isRegExp:C0,isFunction:Mt,isStream:o0,isURLSearchParams:l0,isTypedArray:x0,isFileList:r0,forEach:tn,merge:pr,extend:f0,trim:m0,stripBOM:h0,inherits:p0,toFlatObject:g0,kindOf:Bn,kindOfTest:Pt,endsWith:y0,toArray:k0,forEachEntry:b0,matchAll:w0,isHTMLForm:v0,hasOwnProperty:Jo,hasOwnProp:Jo,reduceDescriptors:ei,freezeMethods:S0,toObjectSet:M0,toCamelCase:E0,noop:B0,toFiniteNumber:A0,findKey:Qo,global:wa,isContextDefined:Ko,isSpecCompliantForm:V0,toJSONObject:N0,isAsyncFn:D0,isThenable:_0,setImmediate:ti,asap:T0,isIterable:e=>e!=null&&Mt(e[Mn])};function Te(e,a,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}oe.inherits(Te,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:oe.toJSONObject(this.config),code:this.code,status:this.status}}});const ai=Te.prototype,ni={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ni[e]={value:e}}),Object.defineProperties(Te,ni),Object.defineProperty(ai,"isAxiosError",{value:!0}),Te.from=(e,a,n,r,o,i)=>{const l=Object.create(ai);return oe.toFlatObject(e,l,function(d){return d!==Error.prototype},s=>s!=="isAxiosError"),Te.call(l,e.message,a,n,r,o),l.cause=e,l.name=e.name,i&&Object.assign(l,i),l};const P0=null;function gr(e){return oe.isPlainObject(e)||oe.isArray(e)}function ri(e){return oe.endsWith(e,"[]")?e.slice(0,-2):e}function oi(e,a,n){return e?e.concat(a).map(function(o,i){return o=ri(o),!n&&i?"["+o+"]":o}).join(n?".":""):a}function O0(e){return oe.isArray(e)&&!e.some(gr)}const F0=oe.toFlatObject(oe,{},null,function(a){return/^is[A-Z]/.test(a)});function Dn(e,a,n){if(!oe.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,n=oe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,b){return!oe.isUndefined(b[y])});const r=n.metaTokens,o=n.visitor||u,i=n.dots,l=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&oe.isSpecCompliantForm(a);if(!oe.isFunction(o))throw new TypeError("visitor must be a function");function p(h){if(h===null)return"";if(oe.isDate(h))return h.toISOString();if(oe.isBoolean(h))return h.toString();if(!d&&oe.isBlob(h))throw new Te("Blob is not supported. Use a Buffer instead.");return oe.isArrayBuffer(h)||oe.isTypedArray(h)?d&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,y,b){let x=h;if(h&&!b&&typeof h=="object"){if(oe.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(oe.isArray(h)&&O0(h)||(oe.isFileList(h)||oe.endsWith(y,"[]"))&&(x=oe.toArray(h)))return y=ri(y),x.forEach(function(k,B){!(oe.isUndefined(k)||k===null)&&a.append(l===!0?oi([y],B,i):l===null?y:y+"[]",p(k))}),!1}return gr(h)?!0:(a.append(oi(b,y,i),p(h)),!1)}const m=[],c=Object.assign(F0,{defaultVisitor:u,convertValue:p,isVisitable:gr});function f(h,y){if(!oe.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));m.push(h),oe.forEach(h,function(x,w){(!(oe.isUndefined(x)||x===null)&&o.call(a,x,oe.isString(w)?w.trim():w,y,c))===!0&&f(x,y?y.concat(w):[w])}),m.pop()}}if(!oe.isObject(e))throw new TypeError("data must be an object");return f(e),a}function ii(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return a[r]})}function yr(e,a){this._pairs=[],e&&Dn(e,this,a)}const li=yr.prototype;li.append=function(a,n){this._pairs.push([a,n])},li.toString=function(a){const n=a?function(r){return a.call(this,r,ii)}:ii;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function L0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function si(e,a,n){if(!a)return e;const r=n&&n.encode||L0;oe.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(a,n):i=oe.isURLSearchParams(a)?a.toString():new yr(a,n).toString(r),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ci{constructor(){this.handlers=[]}use(a,n,r){return this.handlers.push({fulfilled:a,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){oe.forEach(this.handlers,function(r){r!==null&&a(r)})}}const di={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$0={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:yr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},kr=typeof window<"u"&&typeof document<"u",xr=typeof navigator=="object"&&navigator||void 0,H0=kr&&(!xr||["ReactNative","NativeScript","NS"].indexOf(xr.product)<0),R0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",z0=kr&&window.location.href||"http://localhost",gt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:kr,hasStandardBrowserEnv:H0,hasStandardBrowserWebWorkerEnv:R0,navigator:xr,origin:z0},Symbol.toStringTag,{value:"Module"})),...$0};function I0(e,a){return Dn(e,new gt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return gt.isNode&&oe.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function G0(e){return oe.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function j0(e){const a={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],a[i]=e[i];return a}function ui(e){function a(n,r,o,i){let l=n[i++];if(l==="__proto__")return!0;const s=Number.isFinite(+l),d=i>=n.length;return l=!l&&oe.isArray(o)?o.length:l,d?(oe.hasOwnProp(o,l)?o[l]=[o[l],r]:o[l]=r,!s):((!o[l]||!oe.isObject(o[l]))&&(o[l]=[]),a(n,r,o[l],i)&&oe.isArray(o[l])&&(o[l]=j0(o[l])),!s)}if(oe.isFormData(e)&&oe.isFunction(e.entries)){const n={};return oe.forEachEntry(e,(r,o)=>{a(G0(r),o,n,0)}),n}return null}function q0(e,a,n){if(oe.isString(e))try{return(a||JSON.parse)(e),oe.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const an={transitional:di,adapter:["xhr","http","fetch"],transformRequest:[function(a,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=oe.isObject(a);if(i&&oe.isHTMLForm(a)&&(a=new FormData(a)),oe.isFormData(a))return o?JSON.stringify(ui(a)):a;if(oe.isArrayBuffer(a)||oe.isBuffer(a)||oe.isStream(a)||oe.isFile(a)||oe.isBlob(a)||oe.isReadableStream(a))return a;if(oe.isArrayBufferView(a))return a.buffer;if(oe.isURLSearchParams(a))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return I0(a,this.formSerializer).toString();if((s=oe.isFileList(a))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Dn(s?{"files[]":a}:a,d&&new d,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),q0(a)):a}],transformResponse:[function(a){const n=this.transitional||an.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(oe.isResponse(a)||oe.isReadableStream(a))return a;if(a&&oe.isString(a)&&(r&&!this.responseType||o)){const l=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(a)}catch(s){if(l)throw s.name==="SyntaxError"?Te.from(s,Te.ERR_BAD_RESPONSE,this,null,this.response):s}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gt.classes.FormData,Blob:gt.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};oe.forEach(["delete","get","head","post","put","patch"],e=>{an.headers[e]={}});const W0=oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Y0=e=>{const a={};let n,r,o;return e&&e.split(`
2
+ `).forEach(function(l){o=l.indexOf(":"),n=l.substring(0,o).trim().toLowerCase(),r=l.substring(o+1).trim(),!(!n||a[n]&&W0[n])&&(n==="set-cookie"?a[n]?a[n].push(r):a[n]=[r]:a[n]=a[n]?a[n]+", "+r:r)}),a},mi=Symbol("internals");function nn(e){return e&&String(e).trim().toLowerCase()}function _n(e){return e===!1||e==null?e:oe.isArray(e)?e.map(_n):String(e)}function U0(e){const a=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)a[r[1]]=r[2];return a}const X0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function br(e,a,n,r,o){if(oe.isFunction(r))return r.call(this,a,n);if(o&&(a=n),!!oe.isString(a)){if(oe.isString(r))return a.indexOf(r)!==-1;if(oe.isRegExp(r))return r.test(a)}}function Z0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,n,r)=>n.toUpperCase()+r)}function Q0(e,a){const n=oe.toCamelCase(" "+a);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,l){return this[r].call(this,a,o,i,l)},configurable:!0})})}let Bt=class{constructor(a){a&&this.set(a)}set(a,n,r){const o=this;function i(s,d,p){const u=nn(d);if(!u)throw new Error("header name must be a non-empty string");const m=oe.findKey(o,u);(!m||o[m]===void 0||p===!0||p===void 0&&o[m]!==!1)&&(o[m||d]=_n(s))}const l=(s,d)=>oe.forEach(s,(p,u)=>i(p,u,d));if(oe.isPlainObject(a)||a instanceof this.constructor)l(a,n);else if(oe.isString(a)&&(a=a.trim())&&!X0(a))l(Y0(a),n);else if(oe.isObject(a)&&oe.isIterable(a)){let s={},d,p;for(const u of a){if(!oe.isArray(u))throw TypeError("Object iterator must return a key-value pair");s[p=u[0]]=(d=s[p])?oe.isArray(d)?[...d,u[1]]:[d,u[1]]:u[1]}l(s,n)}else a!=null&&i(n,a,r);return this}get(a,n){if(a=nn(a),a){const r=oe.findKey(this,a);if(r){const o=this[r];if(!n)return o;if(n===!0)return U0(o);if(oe.isFunction(n))return n.call(this,o,r);if(oe.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,n){if(a=nn(a),a){const r=oe.findKey(this,a);return!!(r&&this[r]!==void 0&&(!n||br(this,this[r],r,n)))}return!1}delete(a,n){const r=this;let o=!1;function i(l){if(l=nn(l),l){const s=oe.findKey(r,l);s&&(!n||br(r,r[s],s,n))&&(delete r[s],o=!0)}}return oe.isArray(a)?a.forEach(i):i(a),o}clear(a){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!a||br(this,this[i],i,a,!0))&&(delete this[i],o=!0)}return o}normalize(a){const n=this,r={};return oe.forEach(this,(o,i)=>{const l=oe.findKey(r,i);if(l){n[l]=_n(o),delete n[i];return}const s=a?Z0(i):String(i).trim();s!==i&&delete n[i],n[s]=_n(o),r[s]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const n=Object.create(null);return oe.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=a&&oe.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,n])=>a+": "+n).join(`
3
3
  `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...n){const r=new this(a);return n.forEach(o=>r.set(o)),r}static accessor(a){const r=(this[mi]=this[mi]={accessors:{}}).accessors,o=this.prototype;function i(l){const s=nn(l);r[s]||(Q0(o,l),r[s]=!0)}return oe.isArray(a)?a.forEach(i):i(a),this}};Bt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),oe.reduceDescriptors(Bt.prototype,({value:e},a)=>{let n=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(r){this[n]=r}}}),oe.freezeMethods(Bt);function wr(e,a){const n=this||an,r=a||n,o=Bt.from(r.headers);let i=r.data;return oe.forEach(e,function(s){i=s.call(n,i,o.normalize(),a?a.status:void 0)}),o.normalize(),i}function fi(e){return!!(e&&e.__CANCEL__)}function Pa(e,a,n){Te.call(this,e??"canceled",Te.ERR_CANCELED,a,n),this.name="CanceledError"}oe.inherits(Pa,Te,{__CANCEL__:!0});function hi(e,a,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):a(new Te("Request failed with status code "+n.status,[Te.ERR_BAD_REQUEST,Te.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function K0(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function J0(e,a){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,l;return a=a!==void 0?a:1e3,function(d){const p=Date.now(),u=r[i];l||(l=p),n[o]=d,r[o]=p;let m=i,c=0;for(;m!==o;)c+=n[m++],m=m%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),p-l<a)return;const f=u&&p-u;return f?Math.round(c*1e3/f):void 0}}function ec(e,a){let n=0,r=1e3/a,o,i;const l=(p,u=Date.now())=>{n=u,o=null,i&&(clearTimeout(i),i=null),e.apply(null,p)};return[(...p)=>{const u=Date.now(),m=u-n;m>=r?l(p,u):(o=p,i||(i=setTimeout(()=>{i=null,l(o)},r-m)))},()=>o&&l(o)]}const Tn=(e,a,n=3)=>{let r=0;const o=J0(50,250);return ec(i=>{const l=i.loaded,s=i.lengthComputable?i.total:void 0,d=l-r,p=o(d),u=l<=s;r=l;const m={loaded:l,total:s,progress:s?l/s:void 0,bytes:d,rate:p||void 0,estimated:p&&s&&u?(s-l)/p:void 0,event:i,lengthComputable:s!=null,[a?"download":"upload"]:!0};e(m)},n)},pi=(e,a)=>{const n=e!=null;return[r=>a[0]({lengthComputable:n,total:e,loaded:r}),a[1]]},gi=e=>(...a)=>oe.asap(()=>e(...a)),tc=gt.hasStandardBrowserEnv?((e,a)=>n=>(n=new URL(n,gt.origin),e.protocol===n.protocol&&e.host===n.host&&(a||e.port===n.port)))(new URL(gt.origin),gt.navigator&&/(msie|trident)/i.test(gt.navigator.userAgent)):()=>!0,ac=gt.hasStandardBrowserEnv?{write(e,a,n,r,o,i){const l=[e+"="+encodeURIComponent(a)];oe.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),oe.isString(r)&&l.push("path="+r),oe.isString(o)&&l.push("domain="+o),i===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function nc(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function rc(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function yi(e,a,n){let r=!nc(a);return e&&(r||n==!1)?rc(e,a):a}const ki=e=>e instanceof Bt?{...e}:e;function va(e,a){a=a||{};const n={};function r(p,u,m,c){return oe.isPlainObject(p)&&oe.isPlainObject(u)?oe.merge.call({caseless:c},p,u):oe.isPlainObject(u)?oe.merge({},u):oe.isArray(u)?u.slice():u}function o(p,u,m,c){if(oe.isUndefined(u)){if(!oe.isUndefined(p))return r(void 0,p,m,c)}else return r(p,u,m,c)}function i(p,u){if(!oe.isUndefined(u))return r(void 0,u)}function l(p,u){if(oe.isUndefined(u)){if(!oe.isUndefined(p))return r(void 0,p)}else return r(void 0,u)}function s(p,u,m){if(m in a)return r(p,u);if(m in e)return r(void 0,p)}const d={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s,headers:(p,u,m)=>o(ki(p),ki(u),m,!0)};return oe.forEach(Object.keys(Object.assign({},e,a)),function(u){const m=d[u]||o,c=m(e[u],a[u],u);oe.isUndefined(c)&&m!==s||(n[u]=c)}),n}const xi=e=>{const a=va({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:l,auth:s}=a;a.headers=l=Bt.from(l),a.url=si(yi(a.baseURL,a.url,a.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&l.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let d;if(oe.isFormData(n)){if(gt.hasStandardBrowserEnv||gt.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((d=l.getContentType())!==!1){const[p,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];l.setContentType([p||"multipart/form-data",...u].join("; "))}}if(gt.hasStandardBrowserEnv&&(r&&oe.isFunction(r)&&(r=r(a)),r||r!==!1&&tc(a.url))){const p=o&&i&&ac.read(i);p&&l.set(o,p)}return a},oc=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=xi(e);let i=o.data;const l=Bt.from(o.headers).normalize();let{responseType:s,onUploadProgress:d,onDownloadProgress:p}=o,u,m,c,f,h;function y(){f&&f(),h&&h(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function x(){if(!b)return;const k=Bt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),V={data:!s||s==="text"||s==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:k,config:e,request:b};hi(function(E){n(E),y()},function(E){r(E),y()},V),b=null}"onloadend"in b?b.onloadend=x:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(x)},b.onabort=function(){b&&(r(new Te("Request aborted",Te.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new Te("Network Error",Te.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let B=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const V=o.transitional||di;o.timeoutErrorMessage&&(B=o.timeoutErrorMessage),r(new Te(B,V.clarifyTimeoutError?Te.ETIMEDOUT:Te.ECONNABORTED,e,b)),b=null},i===void 0&&l.setContentType(null),"setRequestHeader"in b&&oe.forEach(l.toJSON(),function(B,V){b.setRequestHeader(V,B)}),oe.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),s&&s!=="json"&&(b.responseType=o.responseType),p&&([c,h]=Tn(p,!0),b.addEventListener("progress",c)),d&&b.upload&&([m,f]=Tn(d),b.upload.addEventListener("progress",m),b.upload.addEventListener("loadend",f)),(o.cancelToken||o.signal)&&(u=k=>{b&&(r(!k||k.type?new Pa(null,e,b):k),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const w=K0(o.url);if(w&&gt.protocols.indexOf(w)===-1){r(new Te("Unsupported protocol "+w+":",Te.ERR_BAD_REQUEST,e));return}b.send(i||null)})},ic=(e,a)=>{const{length:n}=e=e?e.filter(Boolean):[];if(a||n){let r=new AbortController,o;const i=function(p){if(!o){o=!0,s();const u=p instanceof Error?p:this.reason;r.abort(u instanceof Te?u:new Pa(u instanceof Error?u.message:u))}};let l=a&&setTimeout(()=>{l=null,i(new Te(`timeout ${a} of ms exceeded`,Te.ETIMEDOUT))},a);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(i):p.removeEventListener("abort",i)}),e=null)};e.forEach(p=>p.addEventListener("abort",i));const{signal:d}=r;return d.unsubscribe=()=>oe.asap(s),d}},lc=function*(e,a){let n=e.byteLength;if(n<a){yield e;return}let r=0,o;for(;r<n;)o=r+a,yield e.slice(r,o),r=o},sc=async function*(e,a){for await(const n of cc(e))yield*lc(n,a)},cc=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const a=e.getReader();try{for(;;){const{done:n,value:r}=await a.read();if(n)break;yield r}}finally{await a.cancel()}},bi=(e,a,n,r)=>{const o=sc(e,a);let i=0,l,s=d=>{l||(l=!0,r&&r(d))};return new ReadableStream({async pull(d){try{const{done:p,value:u}=await o.next();if(p){s(),d.close();return}let m=u.byteLength;if(n){let c=i+=m;n(c)}d.enqueue(new Uint8Array(u))}catch(p){throw s(p),p}},cancel(d){return s(d),o.return()}},{highWaterMark:2})},Pn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",wi=Pn&&typeof ReadableStream=="function",dc=Pn&&(typeof TextEncoder=="function"?(e=>a=>e.encode(a))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),vi=(e,...a)=>{try{return!!e(...a)}catch{return!1}},uc=wi&&vi(()=>{let e=!1;const a=new Request(gt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!a}),Ei=64*1024,vr=wi&&vi(()=>oe.isReadableStream(new Response("").body)),On={stream:vr&&(e=>e.body)};Pn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(a=>{!On[a]&&(On[a]=oe.isFunction(e[a])?n=>n[a]():(n,r)=>{throw new Te(`Response type '${a}' is not supported`,Te.ERR_NOT_SUPPORT,r)})})})(new Response);const mc=async e=>{if(e==null)return 0;if(oe.isBlob(e))return e.size;if(oe.isSpecCompliantForm(e))return(await new Request(gt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(oe.isArrayBufferView(e)||oe.isArrayBuffer(e))return e.byteLength;if(oe.isURLSearchParams(e)&&(e=e+""),oe.isString(e))return(await dc(e)).byteLength},fc=async(e,a)=>{const n=oe.toFiniteNumber(e.getContentLength());return n??mc(a)},Er={http:P0,xhr:oc,fetch:Pn&&(async e=>{let{url:a,method:n,data:r,signal:o,cancelToken:i,timeout:l,onDownloadProgress:s,onUploadProgress:d,responseType:p,headers:u,withCredentials:m="same-origin",fetchOptions:c}=xi(e);p=p?(p+"").toLowerCase():"text";let f=ic([o,i&&i.toAbortSignal()],l),h;const y=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let b;try{if(d&&uc&&n!=="get"&&n!=="head"&&(b=await fc(u,r))!==0){let V=new Request(a,{method:"POST",body:r,duplex:"half"}),M;if(oe.isFormData(r)&&(M=V.headers.get("content-type"))&&u.setContentType(M),V.body){const[E,N]=pi(b,Tn(gi(d)));r=bi(V.body,Ei,E,N)}}oe.isString(m)||(m=m?"include":"omit");const x="credentials"in Request.prototype;h=new Request(a,{...c,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:x?m:void 0});let w=await fetch(h,c);const k=vr&&(p==="stream"||p==="response");if(vr&&(s||k&&y)){const V={};["status","statusText","headers"].forEach(A=>{V[A]=w[A]});const M=oe.toFiniteNumber(w.headers.get("content-length")),[E,N]=s&&pi(M,Tn(gi(s),!0))||[];w=new Response(bi(w.body,Ei,E,()=>{N&&N(),y&&y()}),V)}p=p||"text";let B=await On[oe.findKey(On,p)||"text"](w,e);return!k&&y&&y(),await new Promise((V,M)=>{hi(V,M,{data:B,headers:Bt.from(w.headers),status:w.status,statusText:w.statusText,config:e,request:h})})}catch(x){throw y&&y(),x&&x.name==="TypeError"&&/Load failed|fetch/i.test(x.message)?Object.assign(new Te("Network Error",Te.ERR_NETWORK,e,h),{cause:x.cause||x}):Te.from(x,x&&x.code,e,h)}})};oe.forEach(Er,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const Ci=e=>`- ${e}`,hc=e=>oe.isFunction(e)||e===null||e===!1,Si={getAdapter:e=>{e=oe.isArray(e)?e:[e];const{length:a}=e;let n,r;const o={};for(let i=0;i<a;i++){n=e[i];let l;if(r=n,!hc(n)&&(r=Er[(l=String(n)).toLowerCase()],r===void 0))throw new Te(`Unknown adapter '${l}'`);if(r)break;o[l||"#"+i]=r}if(!r){const i=Object.entries(o).map(([s,d])=>`adapter ${s} `+(d===!1?"is not supported by the environment":"is not available in the build"));let l=a?i.length>1?`since :
4
4
  `+i.map(Ci).join(`
5
5
  `):" "+Ci(i[0]):"as no adapter specified";throw new Te("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r},adapters:Er};function Cr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pa(null,e)}function Mi(e){return Cr(e),e.headers=Bt.from(e.headers),e.data=wr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Si.getAdapter(e.adapter||an.adapter)(e).then(function(r){return Cr(e),r.data=wr.call(e,e.transformResponse,r),r.headers=Bt.from(r.headers),r},function(r){return fi(r)||(Cr(e),r&&r.response&&(r.response.data=wr.call(e,e.transformResponse,r.response),r.response.headers=Bt.from(r.response.headers))),Promise.reject(r)})}const Bi="1.10.0",Fn={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{Fn[e]=function(r){return typeof r===e||"a"+(a<1?"n ":" ")+e}});const Ai={};Fn.transitional=function(a,n,r){function o(i,l){return"[Axios v"+Bi+"] Transitional option '"+i+"'"+l+(r?". "+r:"")}return(i,l,s)=>{if(a===!1)throw new Te(o(l," has been removed"+(n?" in "+n:"")),Te.ERR_DEPRECATED);return n&&!Ai[l]&&(Ai[l]=!0,console.warn(o(l," has been deprecated since v"+n+" and will be removed in the near future"))),a?a(i,l,s):!0}},Fn.spelling=function(a){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${a}`),!0)};function pc(e,a,n){if(typeof e!="object")throw new Te("options must be an object",Te.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],l=a[i];if(l){const s=e[i],d=s===void 0||l(s,i,e);if(d!==!0)throw new Te("option "+i+" must be "+d,Te.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Te("Unknown option "+i,Te.ERR_BAD_OPTION)}}const Ln={assertOptions:pc,validators:Fn},It=Ln.validators;let Ea=class{constructor(a){this.defaults=a||{},this.interceptors={request:new ci,response:new ci}}async request(a,n){try{return await this._request(a,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
6
- `+i):r.stack=i}catch{}}throw r}}_request(a,n){typeof a=="string"?(n=n||{},n.url=a):n=a||{},n=va(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Ln.assertOptions(r,{silentJSONParsing:It.transitional(It.boolean),forcedJSONParsing:It.transitional(It.boolean),clarifyTimeoutError:It.transitional(It.boolean)},!1),o!=null&&(oe.isFunction(o)?n.paramsSerializer={serialize:o}:Ln.assertOptions(o,{encode:It.function,serialize:It.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ln.assertOptions(n,{baseUrl:It.spelling("baseURL"),withXsrfToken:It.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=i&&oe.merge(i.common,i[n.method]);i&&oe.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=Bt.concat(l,i);const s=[];let d=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(d=d&&y.synchronous,s.unshift(y.fulfilled,y.rejected))});const p=[];this.interceptors.response.forEach(function(y){p.push(y.fulfilled,y.rejected)});let u,m=0,c;if(!d){const h=[Mi.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,p),c=h.length,u=Promise.resolve(n);m<c;)u=u.then(h[m++],h[m++]);return u}c=s.length;let f=n;for(m=0;m<c;){const h=s[m++],y=s[m++];try{f=h(f)}catch(b){y.call(this,b);break}}try{u=Mi.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,c=p.length;m<c;)u=u.then(p[m++],p[m++]);return u}getUri(a){a=va(this.defaults,a);const n=yi(a.baseURL,a.url,a.allowAbsoluteUrls);return si(n,a.params,a.paramsSerializer)}};oe.forEach(["delete","get","head","options"],function(a){Ea.prototype[a]=function(n,r){return this.request(va(r||{},{method:a,url:n,data:(r||{}).data}))}}),oe.forEach(["post","put","patch"],function(a){function n(r){return function(i,l,s){return this.request(va(s||{},{method:a,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:l}))}}Ea.prototype[a]=n(),Ea.prototype[a+"Form"]=n(!0)});let gc=class Ss{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const l=new Promise(s=>{r.subscribe(s),i=s}).then(o);return l.cancel=function(){r.unsubscribe(i)},l},a(function(i,l,s){r.reason||(r.reason=new Pa(i,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const n=this._listeners.indexOf(a);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const a=new AbortController,n=r=>{a.abort(r)};return this.subscribe(n),a.signal.unsubscribe=()=>this.unsubscribe(n),a.signal}static source(){let a;return{token:new Ss(function(o){a=o}),cancel:a}}};function yc(e){return function(n){return e.apply(null,n)}}function kc(e){return oe.isObject(e)&&e.isAxiosError===!0}const Sr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Sr).forEach(([e,a])=>{Sr[a]=e});function Vi(e){const a=new Ea(e),n=Yo(Ea.prototype.request,a);return oe.extend(n,Ea.prototype,a,{allOwnKeys:!0}),oe.extend(n,a,null,{allOwnKeys:!0}),n.create=function(o){return Vi(va(e,o))},n}const Qe=Vi(an);Qe.Axios=Ea,Qe.CanceledError=Pa,Qe.CancelToken=gc,Qe.isCancel=fi,Qe.VERSION=Bi,Qe.toFormData=_n,Qe.AxiosError=Te,Qe.Cancel=Qe.CanceledError,Qe.all=function(a){return Promise.all(a)},Qe.spread=yc,Qe.isAxiosError=kc,Qe.mergeConfig=va,Qe.AxiosHeaders=Bt,Qe.formToJSON=e=>ui(oe.isHTMLForm(e)?new FormData(e):e),Qe.getAdapter=Si.getAdapter,Qe.HttpStatusCode=Sr,Qe.default=Qe;const{Axios:sw,AxiosError:cw,CanceledError:dw,isCancel:uw,CancelToken:mw,VERSION:fw,all:hw,Cancel:pw,isAxiosError:gw,spread:yw,toFormData:kw,AxiosHeaders:xw,HttpStatusCode:bw,formToJSON:ww,getAdapter:vw,mergeConfig:Ew}=Qe,Ni=zt.defineStore("auth",{state:()=>({jwtToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQwMDY5MzIyLCJpYXQiOjE3Mzk5ODI5MjIsImp0aSI6IjcyZjcxYjgzY2I5YTQ1MWFhMmYyODQ0OTlmZGFkZWIxIiwidXNlcl9pZCI6ImU4YTAwNWZhLTk0YjUtNDRiOC05ZDkwLWZjNzJmYzI0NjRhOSJ9.IOzqjqDpRRfqsvqhzEsGDLhQOKWapjzFycNG3Qv8k0U"}),actions:{setToken(e){this.jwtToken=e},clearToken(){this.jwtToken=null}},getters:{getToken:e=>e.jwtToken}}),na=Qe.create({baseURL:"https://back.dev-smclick.com.br/"});na.interceptors.request.use(e=>{const n=Ni().getToken;return n&&(e.headers.Authorization=`Bearer ${n}`),e},e=>Promise.reject(e));const xc="v1/api/attendances/attendant/",bc="v1/api/attendances/department/",Mr="v1/api/attendances/internal_chat/",wc="v1/api/instances/instance/",Br=zt.defineStore("instance",{state:()=>({instances:[],count:null,loaded:!1}),actions:{async fetchInstances(e=""){try{let a=`${wc}`;const n=await na.get(a);this.instances=n.data,await Promise.all(this.instances.map(async r=>{r.isLoading=!0;try{const o=r.last_instance_status;o==="DISCONNECTED"||o==="UNDEFINED"?r.status=!1:r.status=!0}catch(o){console.log(o),r.status="Offline"}r.isLoading=!1})),this.count=this.instances.length,this.loaded=!0}catch(a){console.log("Erro ao buscar instâncias:",a),this.loaded=!0}},removeInstance(e){this.instances=this.instances.filter(a=>a.id!==e),this.count=this.instances.length},addInstance(e){const a=this.instances.findIndex(n=>n.id===e.id);a!==-1?this.instances[a]=e:this.instances.push(e),this.count=this.instances.length}}}),vc={class:"w-full relative text-current"},Ec={class:"flex cursor-pointer justify-between items-center"},Cc={key:0},Sc={key:0},Mc={key:1,class:"flex items-center gap-2"},Bc={class:"flex gap-3 items-center flex-shrink-0"},Ac={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-5 h-5 text-green-400",viewBox:"0 0 16 16"},Vc={key:1,class:"relative"},Nc={style:{color:"#0081FB"},xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"w-5 h-5 absolute -bottom-2 -right-2 rounded-full bi bi-meta",viewBox:"0 0 16 16"},_c={class:"my-auto text-center mx-auto group-hover:inline-block"},Dc={key:1,class:"flex justify-center"},Tc={class:"w-full"},Pc={key:1,class:"flex items-center gap-2 justify-center"},Oc={class:"flex px-4 items-center gap-2"},Fc={key:0,class:"absolute top-[48px] w-full z-20 text-sm"},Lc={class:"gap-2 rounded-b-lg flex overflow-y-auto p-2 shadow shadow-black dark:shadow-gray-400 bg-base-300 max-h-[200px] flex-col"},$c={class:"select-none cursor-pointer w-full"},Hc=["onClick","disabled"],Rc={class:"flex w-full items-center pl-2 gap-3"},zc={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-4 h-4 flex-shrink-0 text-green-400",viewBox:"0 0 16 16"},Ic={key:1,class:"relative"},Gc={style:{color:"#0081FB"},xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"w-4 h-4 absolute flex-shrink-0 -bottom-2 -right-2 rounded-full bi bi-meta",viewBox:"0 0 16 16"},jc={key:0,class:"w-6 h-6 flex-shrink-0","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},qc={class:"w-full text-center"},Wc={class:"my-auto text-center mx-auto group-hover:inline-block"},Yc={key:1,class:"flex justify-center"},Uc={class:"flex min-w-[50px] text-sm text-center items-center my-auto flex-shrink-0 px-1 justify-center"},Xc={key:1,class:"p-4"},_i={__name:"index",props:{modelValue:{type:Object,default:null},type:{type:String},webhooks:{type:Boolean,default:void 0}},emits:["update:modelValue","function","component-mounted"],setup(e,{emit:a}){const n=Br(),r=t.ref(!1),o=t.ref(null),i=e,l=a;function s(d){o.value=d,l("function",d)}return t.watch(()=>i.modelValue,d=>{o.value=d},{immediate:!0}),t.watch(o,d=>{l("update:modelValue",d)}),t.onMounted(async()=>{if(o.value){const d=n.instances.find(p=>p.id===o.value.id);d&&(o.value.status=d.status)}l("component-mounted")}),(d,p)=>{const u=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("main",vc,[t.createElementVNode("div",{class:t.normalizeClass([{"rounded-b-none":r.value},"rounded-lg shadow dark:shadow-gray-400 shadow-gray-900 dark:bg-base-100 bg-base-100 text-center"])},[t.createElementVNode("div",Ec,[t.createElementVNode("p",{onClick:p[0]||(p[0]=m=>r.value=!r.value),class:"w-full p-3 px-4 select-none"},[t.unref(n).loaded?(t.openBlock(),t.createElementBlock("div",Cc,[o.value?(t.openBlock(),t.createElementBlock("span",Mc,[t.createElementVNode("header",Bc,[o.value.type==="whatsapp-qrcode"?(t.openBlock(),t.createElementBlock("svg",Ac,p[3]||(p[3]=[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"},null,-1)]))):o.value.type==="whatsapp-api-official"?(t.openBlock(),t.createElementBlock("div",Vc,[p[5]||(p[5]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-5 h-5 text-green-400",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"})],-1)),(t.openBlock(),t.createElementBlock("svg",Nc,p[4]||(p[4]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.217 5.243C9.145 3.988 10.171 3 11.483 3 13.96 3 16 6.153 16.001 9.907c0 2.29-.986 3.725-2.757 3.725-1.543 0-2.395-.866-3.924-3.424l-.667-1.123-.118-.197a54.944 54.944 0 0 0-.53-.877l-1.178 2.08c-1.673 2.925-2.615 3.541-3.923 3.541C1.086 13.632 0 12.217 0 9.973 0 6.388 1.995 3 4.598 3c.319 0 .625.039.924.122.31.086.611.22.913.407.577.359 1.154.915 1.782 1.714Zm1.516 2.224c-.252-.41-.494-.787-.727-1.133L9 6.326c.845-1.305 1.543-1.954 2.372-1.954 1.723 0 3.102 2.537 3.102 5.653 0 1.188-.39 1.877-1.195 1.877-.773 0-1.142-.51-2.61-2.87l-.937-1.565ZM4.846 4.756c.725.1 1.385.634 2.34 2.001A212.13 212.13 0 0 0 5.551 9.3c-1.357 2.126-1.826 2.603-2.581 2.603-.777 0-1.24-.682-1.24-1.9 0-2.602 1.298-5.264 2.846-5.264.091 0 .181.006.27.018Z"},null,-1)])))])):t.createCommentVNode("",!0),o.value&&o.value.status!==void 0?(t.openBlock(),t.createBlock(u,{key:2,class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("main",{class:t.normalizeClass(["p-1 rounded text-sm px-3",{"bg-red-500":o.value.status===!1,"bg-green-500":o.value.status===!0,"bg-purple-500":o.value.status==="Offline"}])},[t.createElementVNode("div",_c,t.toDisplayString(o.value.status===!0?"Conectada":o.value.status===!1?"Desconectada":"Indefinida"),1)],2)]),default:t.withCtx(()=>[o.value.isLoading?(t.openBlock(),t.createElementBlock("div",Dc,p[6]||(p[6]=[t.createElementVNode("div",{class:"h-5 w-5 border-t-transparent border-solid animate-spin rounded-full border-white border-4"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([{"bg-red-500":o.value.status===!1,"bg-green-500":o.value.status===!0,"bg-purple-500":o.value.status==="Offline"},"text-xs w-5 h-5 py-1 shadow flex justify-start shadow-gray-900 dark:shadow-gray-400 rounded-full cursor-pointer transition-all duration-200 ease-in-out"])},null,2))]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("div",Tc,t.toDisplayString(o.value.name),1)])):(t.openBlock(),t.createElementBlock("span",Sc,t.toDisplayString(t.unref(n).instances?t.unref(n).instances.length:"Sem")+" Instâncias disponíveis",1))])):(t.openBlock(),t.createElementBlock("div",Pc,p[7]||(p[7]=[t.createElementVNode("svg",{"aria-hidden":"true",class:"inline w-5 h-5 text-blue-300 animate-spin fill-gray-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),t.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1),t.createTextVNode("Inicializando instâncias...")])))]),t.createElementVNode("footer",Oc,[t.createElementVNode("button",{onClick:p[1]||(p[1]=m=>(o.value=null,r.value=!1))},p[8]||(p[8]=[t.createElementVNode("svg",{class:"w-4 h-4","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18 17.94 6M18 18 6.06 6"})],-1)])),t.createElementVNode("button",{onClick:p[2]||(p[2]=m=>r.value=!r.value)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([{"rotate-180":r.value},"w-4 h-4 ease-out transition"]),"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},p[9]||(p[9]=[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 9-7 7-7-7"},null,-1)]),2))])])])],2),r.value?(t.openBlock(),t.createElementBlock("nav",Fc,[t.createElementVNode("ul",Lc,[t.unref(n).instances.length>0?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(t.unref(n).instances,(m,c)=>(t.openBlock(),t.createElementBlock("li",$c,[t.createElementVNode("button",{class:t.normalizeClass([o.value&&o.value.id===m.id?"bg-base-100":"bg-base-200 hover:bg-base-100","flex rounded-md justify-between items-center p-2 px-1 w-full"]),onClick:f=>(o.value=m,r.value=!1,s(m)),disabled:o.value&&o.value.id===m.id||e.type&&m.type!==e.type||e.webhooks!==void 0&&e.webhooks!==m.webhooks},[t.createElementVNode("div",Rc,[m.type==="whatsapp-qrcode"?(t.openBlock(),t.createElementBlock("svg",zc,p[10]||(p[10]=[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"},null,-1)]))):m.type==="whatsapp-api-official"?(t.openBlock(),t.createElementBlock("div",Ic,[p[12]||(p[12]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-4 h-4 flex-shrink-0 text-green-400",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"})],-1)),(t.openBlock(),t.createElementBlock("svg",Gc,p[11]||(p[11]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.217 5.243C9.145 3.988 10.171 3 11.483 3 13.96 3 16 6.153 16.001 9.907c0 2.29-.986 3.725-2.757 3.725-1.543 0-2.395-.866-3.924-3.424l-.667-1.123-.118-.197a54.944 54.944 0 0 0-.53-.877l-1.178 2.08c-1.673 2.925-2.615 3.541-3.923 3.541C1.086 13.632 0 12.217 0 9.973 0 6.388 1.995 3 4.598 3c.319 0 .625.039.924.122.31.086.611.22.913.407.577.359 1.154.915 1.782 1.714Zm1.516 2.224c-.252-.41-.494-.787-.727-1.133L9 6.326c.845-1.305 1.543-1.954 2.372-1.954 1.723 0 3.102 2.537 3.102 5.653 0 1.188-.39 1.877-1.195 1.877-.773 0-1.142-.51-2.61-2.87l-.937-1.565ZM4.846 4.756c.725.1 1.385.634 2.34 2.001A212.13 212.13 0 0 0 5.551 9.3c-1.357 2.126-1.826 2.603-2.581 2.603-.777 0-1.24-.682-1.24-1.9 0-2.602 1.298-5.264 2.846-5.264.091 0 .181.006.27.018Z"},null,-1)])))])):t.createCommentVNode("",!0),t.createVNode(u,{class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(e.type&&m.type!==e.type?"Não é possível utilizar esse tipo de Instância neste recurso":e.webhooks===!0?"Essa instância está com o Atendimento desabilitado":"Essa aplicação é somente para instâncias sem atendimento habilitado."),1)]),default:t.withCtx(()=>[e.type&&m.type!==e.type||e.webhooks!==void 0&&e.webhooks!==m.webhooks?(t.openBlock(),t.createElementBlock("svg",jc,p[13]||(p[13]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8 10V7a4 4 0 1 1 8 0v3h1a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h1Zm2-3a2 2 0 1 1 4 0v3h-4V7Zm2 6a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0v-3a1 1 0 0 1 1-1Z","clip-rule":"evenodd"},null,-1)]))):t.createCommentVNode("",!0)]),_:2},1024),t.createElementVNode("p",qc,t.toDisplayString(m.name),1),t.createVNode(u,{class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("main",{class:t.normalizeClass(["p-1 rounded px-3",{"bg-red-500":m.status===!1,"bg-green-500":m.status===!0,"bg-purple-500":m.status==="Offline"}])},[t.createElementVNode("div",Wc,t.toDisplayString(m.status===!0?"Conectada":m.status===!1?"Desconectada":"Indefinida"),1)],2)]),default:t.withCtx(()=>[m.isLoading?(t.openBlock(),t.createElementBlock("div",Yc,p[14]||(p[14]=[t.createElementVNode("div",{class:"h-5 w-5 border-t-transparent border-solid animate-spin rounded-full border-white border-4"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([{"bg-red-500":m.status===!1,"bg-green-500":m.status===!0,"bg-purple-500":m.status==="Offline"},"text-xs w-5 h-5 py-1 shadow flex justify-start shadow-gray-900 dark:shadow-gray-400 rounded-full cursor-pointer transition-all duration-200 ease-in-out"])},null,2))]),_:2},1024)]),t.createElementVNode("div",Uc,[m.telephone?(t.openBlock(),t.createBlock(u,{key:0,class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("div",null,t.toDisplayString(m.telephone?`${m.telephone}`:""),1)]),default:t.withCtx(()=>[p[15]||(p[15]=t.createElementVNode("svg",{class:"w-6 h-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{d:"M7.978 4a2.553 2.553 0 0 0-1.926.877C4.233 6.7 3.699 8.751 4.153 10.814c.44 1.995 1.778 3.893 3.456 5.572 1.68 1.679 3.577 3.018 5.57 3.459 2.062.456 4.115-.073 5.94-1.885a2.556 2.556 0 0 0 .001-3.861l-1.21-1.21a2.689 2.689 0 0 0-3.802 0l-.617.618a.806.806 0 0 1-1.14 0l-1.854-1.855a.807.807 0 0 1 0-1.14l.618-.62a2.692 2.692 0 0 0 0-3.803l-1.21-1.211A2.555 2.555 0 0 0 7.978 4Z"})],-1))]),_:2,__:[15]},1024)):t.createCommentVNode("",!0)])],10,Hc)]))),256)):(t.openBlock(),t.createElementBlock("div",Xc," Sem instâncias disponíveis"))])])):t.createCommentVNode("",!0)])}}};function Ce(e){const a=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&a==="[object Date]"?new e.constructor(+e):typeof e=="number"||a==="[object Number]"||typeof e=="string"||a==="[object String]"?new Date(e):new Date(NaN)}function He(e,a){return e instanceof Date?new e.constructor(a):new Date(a)}function Ot(e,a){const n=Ce(e);return isNaN(a)?He(e,NaN):(a&&n.setDate(n.getDate()+a),n)}function Ft(e,a){const n=Ce(e);if(isNaN(a))return He(e,NaN);if(!a)return n;const r=n.getDate(),o=He(e,n.getTime());o.setMonth(n.getMonth()+a+1,0);const i=o.getDate();return r>=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}function Di(e,a){const{years:n=0,months:r=0,weeks:o=0,days:i=0,hours:l=0,minutes:s=0,seconds:d=0}=a,p=Ce(e),u=r||n?Ft(p,r+n*12):p,m=i||o?Ot(u,i+o*7):u,c=s+l*60,h=(d+c*60)*1e3;return He(e,m.getTime()+h)}function Zc(e,a){const n=+Ce(e);return He(e,n+a)}const Ti=6048e5,Qc=864e5,Kc=6e4,Pi=36e5,Jc=1e3;function e2(e,a){return Zc(e,a*Pi)}let t2={};function Ca(){return t2}function Lt(e,a){var s,d,p,u;const n=Ca(),r=(a==null?void 0:a.weekStartsOn)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.weekStartsOn)??0,o=Ce(e),i=o.getDay(),l=(i<r?7:0)+i-r;return o.setDate(o.getDate()-l),o.setHours(0,0,0,0),o}function Oa(e){return Lt(e,{weekStartsOn:1})}function Oi(e){const a=Ce(e),n=a.getFullYear(),r=He(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=Oa(r),i=He(e,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const l=Oa(i);return a.getTime()>=o.getTime()?n+1:a.getTime()>=l.getTime()?n:n-1}function Fi(e){const a=Ce(e);return a.setHours(0,0,0,0),a}function $n(e){const a=Ce(e),n=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return n.setUTCFullYear(a.getFullYear()),+e-+n}function Li(e,a){const n=Fi(e),r=Fi(a),o=+n-$n(n),i=+r-$n(r);return Math.round((o-i)/Qc)}function a2(e){const a=Oi(e),n=He(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),Oa(n)}function n2(e,a){const n=a*3;return Ft(e,n)}function Ar(e,a){return Ft(e,a*12)}function $i(e,a){const n=Ce(e),r=Ce(a),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function Hi(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function rn(e){if(!Hi(e)&&typeof e!="number")return!1;const a=Ce(e);return!isNaN(Number(a))}function Ri(e){const a=Ce(e);return Math.trunc(a.getMonth()/3)+1}function r2(e,a){const n=Ce(e),r=Ce(a);return n.getFullYear()-r.getFullYear()}function o2(e,a){const n=Ce(e),r=Ce(a),o=$i(n,r),i=Math.abs(r2(n,r));n.setFullYear(1584),r.setFullYear(1584);const l=$i(n,r)===-o,s=o*(i-+l);return s===0?0:s}function zi(e,a){const n=Ce(e.start),r=Ce(e.end);let o=+n>+r;const i=o?+n:+r,l=o?r:n;l.setHours(0,0,0,0);let s=1;const d=[];for(;+l<=i;)d.push(Ce(l)),l.setDate(l.getDate()+s),l.setHours(0,0,0,0);return o?d.reverse():d}function Sa(e){const a=Ce(e),n=a.getMonth(),r=n-n%3;return a.setMonth(r,1),a.setHours(0,0,0,0),a}function i2(e,a){const n=Ce(e.start),r=Ce(e.end);let o=+n>+r;const i=o?+Sa(n):+Sa(r);let l=Sa(o?r:n),s=1;const d=[];for(;+l<=i;)d.push(Ce(l)),l=n2(l,s);return o?d.reverse():d}function l2(e){const a=Ce(e);return a.setDate(1),a.setHours(0,0,0,0),a}function Ii(e){const a=Ce(e),n=a.getFullYear();return a.setFullYear(n+1,0,0),a.setHours(23,59,59,999),a}function on(e){const a=Ce(e),n=He(e,0);return n.setFullYear(a.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Gi(e,a){var s,d,p,u;const n=Ca(),r=(a==null?void 0:a.weekStartsOn)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.weekStartsOn)??0,o=Ce(e),i=o.getDay(),l=(i<r?-7:0)+6-(i-r);return o.setDate(o.getDate()+l),o.setHours(23,59,59,999),o}function ji(e){const a=Ce(e),n=a.getMonth(),r=n-n%3+3;return a.setMonth(r,0),a.setHours(23,59,59,999),a}const s2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},c2=(e,a,n)=>{let r;const o=s2[e];return typeof o=="string"?r=o:a===1?r=o.one:r=o.other.replace("{{count}}",a.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Vr(e){return(a={})=>{const n=a.width?String(a.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const d2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},u2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},m2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},f2={date:Vr({formats:d2,defaultWidth:"full"}),time:Vr({formats:u2,defaultWidth:"full"}),dateTime:Vr({formats:m2,defaultWidth:"full"})},h2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},p2=(e,a,n,r)=>h2[e];function ln(e){return(a,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):l;o=e.formattingValues[s]||e.formattingValues[l]}else{const l=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[l]}const i=e.argumentCallback?e.argumentCallback(a):a;return o[i]}}const g2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},y2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},k2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},x2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},b2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},w2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},v2={ordinalNumber:(e,a)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:ln({values:g2,defaultWidth:"wide"}),quarter:ln({values:y2,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ln({values:k2,defaultWidth:"wide"}),day:ln({values:x2,defaultWidth:"wide"}),dayPeriod:ln({values:b2,defaultWidth:"wide",formattingValues:w2,defaultFormattingWidth:"wide"})};function sn(e){return(a,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=a.match(o);if(!i)return null;const l=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(s)?C2(s,m=>m.test(l)):E2(s,m=>m.test(l));let p;p=e.valueCallback?e.valueCallback(d):d,p=n.valueCallback?n.valueCallback(p):p;const u=a.slice(l.length);return{value:p,rest:u}}}function E2(e,a){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&a(e[n]))return n}function C2(e,a){for(let n=0;n<e.length;n++)if(a(e[n]))return n}function S2(e){return(a,n={})=>{const r=a.match(e.matchPattern);if(!r)return null;const o=r[0],i=a.match(e.parsePattern);if(!i)return null;let l=e.valueCallback?e.valueCallback(i[0]):i[0];l=n.valueCallback?n.valueCallback(l):l;const s=a.slice(o.length);return{value:l,rest:s}}}const M2=/^(\d+)(th|st|nd|rd)?/i,B2=/\d+/i,A2={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},V2={any:[/^b/i,/^(a|c)/i]},N2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_2={any:[/1/i,/2/i,/3/i,/4/i]},D2={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},T2={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},P2={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},O2={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},F2={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},L2={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},$2={ordinalNumber:S2({matchPattern:M2,parsePattern:B2,valueCallback:e=>parseInt(e,10)}),era:sn({matchPatterns:A2,defaultMatchWidth:"wide",parsePatterns:V2,defaultParseWidth:"any"}),quarter:sn({matchPatterns:N2,defaultMatchWidth:"wide",parsePatterns:_2,defaultParseWidth:"any",valueCallback:e=>e+1}),month:sn({matchPatterns:D2,defaultMatchWidth:"wide",parsePatterns:T2,defaultParseWidth:"any"}),day:sn({matchPatterns:P2,defaultMatchWidth:"wide",parsePatterns:O2,defaultParseWidth:"any"}),dayPeriod:sn({matchPatterns:F2,defaultMatchWidth:"any",parsePatterns:L2,defaultParseWidth:"any"})},qi={code:"en-US",formatDistance:c2,formatLong:f2,formatRelative:p2,localize:v2,match:$2,options:{weekStartsOn:0,firstWeekContainsDate:1}};function H2(e){const a=Ce(e);return Li(a,on(a))+1}function Nr(e){const a=Ce(e),n=+Oa(a)-+a2(a);return Math.round(n/Ti)+1}function _r(e,a){var u,m,c,f;const n=Ce(e),r=n.getFullYear(),o=Ca(),i=(a==null?void 0:a.firstWeekContainsDate)??((m=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??o.firstWeekContainsDate??((f=(c=o.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??1,l=He(e,0);l.setFullYear(r+1,0,i),l.setHours(0,0,0,0);const s=Lt(l,a),d=He(e,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const p=Lt(d,a);return n.getTime()>=s.getTime()?r+1:n.getTime()>=p.getTime()?r:r-1}function R2(e,a){var s,d,p,u;const n=Ca(),r=(a==null?void 0:a.firstWeekContainsDate)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.firstWeekContainsDate)??1,o=_r(e,a),i=He(e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Lt(i,a)}function Dr(e,a){const n=Ce(e),r=+Lt(n,a)-+R2(n,a);return Math.round(r/Ti)+1}function Ie(e,a){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(a,"0");return n+r}const ra={y(e,a){const n=e.getFullYear(),r=n>0?n:1-n;return Ie(a==="yy"?r%100:r,a.length)},M(e,a){const n=e.getMonth();return a==="M"?String(n+1):Ie(n+1,2)},d(e,a){return Ie(e.getDate(),a.length)},a(e,a){const n=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,a){return Ie(e.getHours()%12||12,a.length)},H(e,a){return Ie(e.getHours(),a.length)},m(e,a){return Ie(e.getMinutes(),a.length)},s(e,a){return Ie(e.getSeconds(),a.length)},S(e,a){const n=a.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ie(o,a.length)}},Fa={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Wi={G:function(e,a,n){const r=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,a,n){if(a==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return ra.y(e,a)},Y:function(e,a,n,r){const o=_r(e,r),i=o>0?o:1-o;if(a==="YY"){const l=i%100;return Ie(l,2)}return a==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ie(i,a.length)},R:function(e,a){const n=Oi(e);return Ie(n,a.length)},u:function(e,a){const n=e.getFullYear();return Ie(n,a.length)},Q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(r);case"QQ":return Ie(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(r);case"qq":return Ie(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,a,n){const r=e.getMonth();switch(a){case"M":case"MM":return ra.M(e,a);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,a,n){const r=e.getMonth();switch(a){case"L":return String(r+1);case"LL":return Ie(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,a,n,r){const o=Dr(e,r);return a==="wo"?n.ordinalNumber(o,{unit:"week"}):Ie(o,a.length)},I:function(e,a,n){const r=Nr(e);return a==="Io"?n.ordinalNumber(r,{unit:"week"}):Ie(r,a.length)},d:function(e,a,n){return a==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):ra.d(e,a)},D:function(e,a,n){const r=H2(e);return a==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ie(r,a.length)},E:function(e,a,n){const r=e.getDay();switch(a){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"e":return String(i);case"ee":return Ie(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"c":return String(i);case"cc":return Ie(i,a.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,a,n){const r=e.getDay(),o=r===0?7:r;switch(a){case"i":return String(o);case"ii":return Ie(o,a.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,a,n){const o=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,a,n){const r=e.getHours();let o;switch(r===12?o=Fa.noon:r===0?o=Fa.midnight:o=r/12>=1?"pm":"am",a){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,a,n){const r=e.getHours();let o;switch(r>=17?o=Fa.evening:r>=12?o=Fa.afternoon:r>=4?o=Fa.morning:o=Fa.night,a){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,a,n){if(a==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return ra.h(e,a)},H:function(e,a,n){return a==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):ra.H(e,a)},K:function(e,a,n){const r=e.getHours()%12;return a==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ie(r,a.length)},k:function(e,a,n){let r=e.getHours();return r===0&&(r=24),a==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ie(r,a.length)},m:function(e,a,n){return a==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ra.m(e,a)},s:function(e,a,n){return a==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ra.s(e,a)},S:function(e,a){return ra.S(e,a)},X:function(e,a,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(a){case"X":return Ui(r);case"XXXX":case"XX":return Ma(r);case"XXXXX":case"XXX":default:return Ma(r,":")}},x:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"x":return Ui(r);case"xxxx":case"xx":return Ma(r);case"xxxxx":case"xxx":default:return Ma(r,":")}},O:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+Yi(r,":");case"OOOO":default:return"GMT"+Ma(r,":")}},z:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+Yi(r,":");case"zzzz":default:return"GMT"+Ma(r,":")}},t:function(e,a,n){const r=Math.trunc(e.getTime()/1e3);return Ie(r,a.length)},T:function(e,a,n){const r=e.getTime();return Ie(r,a.length)}};function Yi(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+a+Ie(i,2)}function Ui(e,a){return e%60===0?(e>0?"-":"+")+Ie(Math.abs(e)/60,2):Ma(e,a)}function Ma(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ie(Math.trunc(r/60),2),i=Ie(r%60,2);return n+o+a+i}const Xi=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},Zi=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},Tr={p:Zi,P:(e,a)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return Xi(e,a);let i;switch(r){case"P":i=a.dateTime({width:"short"});break;case"PP":i=a.dateTime({width:"medium"});break;case"PPP":i=a.dateTime({width:"long"});break;case"PPPP":default:i=a.dateTime({width:"full"});break}return i.replace("{{date}}",Xi(r,a)).replace("{{time}}",Zi(o,a))}},z2=/^D+$/,I2=/^Y+$/,G2=["D","DD","YY","YYYY"];function Qi(e){return z2.test(e)}function Ki(e){return I2.test(e)}function Pr(e,a,n){const r=j2(e,a,n);if(console.warn(r),G2.includes(e))throw new RangeError(r)}function j2(e,a,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const q2=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,W2=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Y2=/^'([^]*?)'?$/,U2=/''/g,X2=/[a-zA-Z]/;function Gt(e,a,n){var u,m,c,f,h,y,b,x;const r=Ca(),o=(n==null?void 0:n.locale)??r.locale??qi,i=(n==null?void 0:n.firstWeekContainsDate)??((m=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??r.firstWeekContainsDate??((f=(c=r.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??1,l=(n==null?void 0:n.weekStartsOn)??((y=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:y.weekStartsOn)??r.weekStartsOn??((x=(b=r.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??0,s=Ce(e);if(!rn(s))throw new RangeError("Invalid time value");let d=a.match(W2).map(w=>{const k=w[0];if(k==="p"||k==="P"){const B=Tr[k];return B(w,o.formatLong)}return w}).join("").match(q2).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const k=w[0];if(k==="'")return{isToken:!1,value:Z2(w)};if(Wi[k])return{isToken:!0,value:w};if(k.match(X2))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:w}});o.localize.preprocessor&&(d=o.localize.preprocessor(s,d));const p={firstWeekContainsDate:i,weekStartsOn:l,locale:o};return d.map(w=>{if(!w.isToken)return w.value;const k=w.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Ki(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Qi(k))&&Pr(k,a,String(e));const B=Wi[k[0]];return B(s,k,o.localize,p)}).join("")}function Z2(e){const a=e.match(Y2);return a?a[1].replace(U2,"'"):e}function Q2(e){return Ce(e).getDay()}function K2(e){const a=Ce(e),n=a.getFullYear(),r=a.getMonth(),o=He(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function J2(){return Object.assign({},Ca())}function Zt(e){return Ce(e).getHours()}function ed(e){let n=Ce(e).getDay();return n===0&&(n=7),n}function oa(e){return Ce(e).getMinutes()}function Oe(e){return Ce(e).getMonth()}function La(e){return Ce(e).getSeconds()}function Ve(e){return Ce(e).getFullYear()}function $a(e,a){const n=Ce(e),r=Ce(a);return n.getTime()>r.getTime()}function cn(e,a){const n=Ce(e),r=Ce(a);return+n<+r}function Ha(e,a){const n=Ce(e),r=Ce(a);return+n==+r}function td(e,a){const n=a instanceof Date?He(a,0):new a(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}const ad=10;class Ji{constructor(){ve(this,"subPriority",0)}validate(a,n){return!0}}class nd extends Ji{constructor(a,n,r,o,i){super(),this.value=a,this.validateValue=n,this.setValue=r,this.priority=o,i&&(this.subPriority=i)}validate(a,n){return this.validateValue(a,this.value,n)}set(a,n,r){return this.setValue(a,n,this.value,r)}}class rd extends Ji{constructor(){super(...arguments);ve(this,"priority",ad);ve(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:He(n,td(n,Date))}}class Re{run(a,n,r,o){const i=this.parse(a,n,r,o);return i?{setter:new nd(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(a,n,r){return!0}}class od extends Re{constructor(){super(...arguments);ve(this,"priority",140);ve(this,"incompatibleTokens",["R","u","t","T"])}parse(n,r,o){switch(r){case"G":case"GG":case"GGG":return o.era(n,{width:"abbreviated"})||o.era(n,{width:"narrow"});case"GGGGG":return o.era(n,{width:"narrow"});case"GGGG":default:return o.era(n,{width:"wide"})||o.era(n,{width:"abbreviated"})||o.era(n,{width:"narrow"})}}set(n,r,o){return r.era=o,n.setFullYear(o,0,1),n.setHours(0,0,0,0),n}}const rt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},jt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function ot(e,a){return e&&{value:a(e.value),rest:e.rest}}function Ke(e,a){const n=a.match(e);return n?{value:parseInt(n[0],10),rest:a.slice(n[0].length)}:null}function qt(e,a){const n=a.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:a.slice(1)};const r=n[1]==="+"?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,l=n[5]?parseInt(n[5],10):0;return{value:r*(o*Pi+i*Kc+l*Jc),rest:a.slice(n[0].length)}}function el(e){return Ke(rt.anyDigitsSigned,e)}function et(e,a){switch(e){case 1:return Ke(rt.singleDigit,a);case 2:return Ke(rt.twoDigits,a);case 3:return Ke(rt.threeDigits,a);case 4:return Ke(rt.fourDigits,a);default:return Ke(new RegExp("^\\d{1,"+e+"}"),a)}}function Hn(e,a){switch(e){case 1:return Ke(rt.singleDigitSigned,a);case 2:return Ke(rt.twoDigitsSigned,a);case 3:return Ke(rt.threeDigitsSigned,a);case 4:return Ke(rt.fourDigitsSigned,a);default:return Ke(new RegExp("^-?\\d{1,"+e+"}"),a)}}function Or(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function tl(e,a){const n=a>0,r=n?a:1-a;let o;if(r<=50)o=e||100;else{const i=r+50,l=Math.trunc(i/100)*100,s=e>=i%100;o=e+l-(s?100:0)}return n?o:1-o}function al(e){return e%400===0||e%4===0&&e%100!==0}class id extends Re{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,r,o){const i=l=>({year:l,isTwoDigitYear:r==="yy"});switch(r){case"y":return ot(et(4,n),i);case"yo":return ot(o.ordinalNumber(n,{unit:"year"}),i);default:return ot(et(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,o){const i=n.getFullYear();if(o.isTwoDigitYear){const s=tl(o.year,i);return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}const l=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}}class ld extends Re{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,r,o){const i=l=>({year:l,isTwoDigitYear:r==="YY"});switch(r){case"Y":return ot(et(4,n),i);case"Yo":return ot(o.ordinalNumber(n,{unit:"year"}),i);default:return ot(et(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,o,i){const l=_r(n,i);if(o.isTwoDigitYear){const d=tl(o.year,l);return n.setFullYear(d,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Lt(n,i)}const s=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(s,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Lt(n,i)}}class sd extends Re{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,r){return Hn(r==="R"?4:r.length,n)}set(n,r,o){const i=He(n,0);return i.setFullYear(o,0,4),i.setHours(0,0,0,0),Oa(i)}}class cd extends Re{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,r){return Hn(r==="u"?4:r.length,n)}set(n,r,o){return n.setFullYear(o,0,1),n.setHours(0,0,0,0),n}}class dd extends Re{constructor(){super(...arguments);ve(this,"priority",120);ve(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"Q":case"QQ":return et(r.length,n);case"Qo":return o.ordinalNumber(n,{unit:"quarter"});case"QQQ":return o.quarter(n,{width:"abbreviated",context:"formatting"})||o.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return o.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(n,{width:"wide",context:"formatting"})||o.quarter(n,{width:"abbreviated",context:"formatting"})||o.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=1&&r<=4}set(n,r,o){return n.setMonth((o-1)*3,1),n.setHours(0,0,0,0),n}}class ud extends Re{constructor(){super(...arguments);ve(this,"priority",120);ve(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"q":case"qq":return et(r.length,n);case"qo":return o.ordinalNumber(n,{unit:"quarter"});case"qqq":return o.quarter(n,{width:"abbreviated",context:"standalone"})||o.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return o.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(n,{width:"wide",context:"standalone"})||o.quarter(n,{width:"abbreviated",context:"standalone"})||o.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=1&&r<=4}set(n,r,o){return n.setMonth((o-1)*3,1),n.setHours(0,0,0,0),n}}class md extends Re{constructor(){super(...arguments);ve(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ve(this,"priority",110)}parse(n,r,o){const i=l=>l-1;switch(r){case"M":return ot(Ke(rt.month,n),i);case"MM":return ot(et(2,n),i);case"Mo":return ot(o.ordinalNumber(n,{unit:"month"}),i);case"MMM":return o.month(n,{width:"abbreviated",context:"formatting"})||o.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return o.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(n,{width:"wide",context:"formatting"})||o.month(n,{width:"abbreviated",context:"formatting"})||o.month(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.setMonth(o,1),n.setHours(0,0,0,0),n}}class fd extends Re{constructor(){super(...arguments);ve(this,"priority",110);ve(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,r,o){const i=l=>l-1;switch(r){case"L":return ot(Ke(rt.month,n),i);case"LL":return ot(et(2,n),i);case"Lo":return ot(o.ordinalNumber(n,{unit:"month"}),i);case"LLL":return o.month(n,{width:"abbreviated",context:"standalone"})||o.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return o.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(n,{width:"wide",context:"standalone"})||o.month(n,{width:"abbreviated",context:"standalone"})||o.month(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.setMonth(o,1),n.setHours(0,0,0,0),n}}function hd(e,a,n){const r=Ce(e),o=Dr(r,n)-a;return r.setDate(r.getDate()-o*7),r}class pd extends Re{constructor(){super(...arguments);ve(this,"priority",100);ve(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,r,o){switch(r){case"w":return Ke(rt.week,n);case"wo":return o.ordinalNumber(n,{unit:"week"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,o,i){return Lt(hd(n,o,i),i)}}function gd(e,a){const n=Ce(e),r=Nr(n)-a;return n.setDate(n.getDate()-r*7),n}class yd extends Re{constructor(){super(...arguments);ve(this,"priority",100);ve(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,r,o){switch(r){case"I":return Ke(rt.week,n);case"Io":return o.ordinalNumber(n,{unit:"week"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,o){return Oa(gd(n,o))}}const kd=[31,28,31,30,31,30,31,31,30,31,30,31],xd=[31,29,31,30,31,30,31,31,30,31,30,31];class bd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"subPriority",1);ve(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"d":return Ke(rt.date,n);case"do":return o.ordinalNumber(n,{unit:"date"});default:return et(r.length,n)}}validate(n,r){const o=n.getFullYear(),i=al(o),l=n.getMonth();return i?r>=1&&r<=xd[l]:r>=1&&r<=kd[l]}set(n,r,o){return n.setDate(o),n.setHours(0,0,0,0),n}}class wd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"subpriority",1);ve(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,r,o){switch(r){case"D":case"DD":return Ke(rt.dayOfYear,n);case"Do":return o.ordinalNumber(n,{unit:"date"});default:return et(r.length,n)}}validate(n,r){const o=n.getFullYear();return al(o)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,o){return n.setMonth(0,o),n.setHours(0,0,0,0),n}}function Fr(e,a,n){var m,c,f,h;const r=Ca(),o=(n==null?void 0:n.weekStartsOn)??((c=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:c.weekStartsOn)??r.weekStartsOn??((h=(f=r.locale)==null?void 0:f.options)==null?void 0:h.weekStartsOn)??0,i=Ce(e),l=i.getDay(),d=(a%7+7)%7,p=7-o,u=a<0||a>6?a-(l+p)%7:(d+p)%7-(l+p)%7;return Ot(i,u)}class vd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"E":case"EE":case"EEE":return o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return o.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Fr(n,o,i),n.setHours(0,0,0,0),n}}class Ed extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,r,o,i){const l=s=>{const d=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+d};switch(r){case"e":case"ee":return ot(et(r.length,n),l);case"eo":return ot(o.ordinalNumber(n,{unit:"day"}),l);case"eee":return o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"eeeee":return o.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Fr(n,o,i),n.setHours(0,0,0,0),n}}class Cd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,r,o,i){const l=s=>{const d=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+d};switch(r){case"c":case"cc":return ot(et(r.length,n),l);case"co":return ot(o.ordinalNumber(n,{unit:"day"}),l);case"ccc":return o.day(n,{width:"abbreviated",context:"standalone"})||o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"});case"ccccc":return o.day(n,{width:"narrow",context:"standalone"});case"cccccc":return o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return o.day(n,{width:"wide",context:"standalone"})||o.day(n,{width:"abbreviated",context:"standalone"})||o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Fr(n,o,i),n.setHours(0,0,0,0),n}}function Sd(e,a){const n=Ce(e),r=ed(n),o=a-r;return Ot(n,o)}class Md extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,r,o){const i=l=>l===0?7:l;switch(r){case"i":case"ii":return et(r.length,n);case"io":return o.ordinalNumber(n,{unit:"day"});case"iii":return ot(o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i);case"iiiii":return ot(o.day(n,{width:"narrow",context:"formatting"}),i);case"iiiiii":return ot(o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i);case"iiii":default:return ot(o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i)}}validate(n,r){return r>=1&&r<=7}set(n,r,o){return n=Sd(n,o),n.setHours(0,0,0,0),n}}class Bd extends Re{constructor(){super(...arguments);ve(this,"priority",80);ve(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,r,o){switch(r){case"a":case"aa":case"aaa":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Or(o),0,0,0),n}}class Ad extends Re{constructor(){super(...arguments);ve(this,"priority",80);ve(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,r,o){switch(r){case"b":case"bb":case"bbb":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Or(o),0,0,0),n}}class Vd extends Re{constructor(){super(...arguments);ve(this,"priority",80);ve(this,"incompatibleTokens",["a","b","t","T"])}parse(n,r,o){switch(r){case"B":case"BB":case"BBB":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Or(o),0,0,0),n}}class Nd extends Re{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,r,o){switch(r){case"h":return Ke(rt.hour12h,n);case"ho":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=12}set(n,r,o){const i=n.getHours()>=12;return i&&o<12?n.setHours(o+12,0,0,0):!i&&o===12?n.setHours(0,0,0,0):n.setHours(o,0,0,0),n}}class _d extends Re{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,r,o){switch(r){case"H":return Ke(rt.hour23h,n);case"Ho":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,o){return n.setHours(o,0,0,0),n}}class Dd extends Re{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,r,o){switch(r){case"K":return Ke(rt.hour11h,n);case"Ko":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.getHours()>=12&&o<12?n.setHours(o+12,0,0,0):n.setHours(o,0,0,0),n}}class Td extends Re{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,r,o){switch(r){case"k":return Ke(rt.hour24h,n);case"ko":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=24}set(n,r,o){const i=o<=24?o%24:o;return n.setHours(i,0,0,0),n}}class Pd extends Re{constructor(){super(...arguments);ve(this,"priority",60);ve(this,"incompatibleTokens",["t","T"])}parse(n,r,o){switch(r){case"m":return Ke(rt.minute,n);case"mo":return o.ordinalNumber(n,{unit:"minute"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,o){return n.setMinutes(o,0,0),n}}class Od extends Re{constructor(){super(...arguments);ve(this,"priority",50);ve(this,"incompatibleTokens",["t","T"])}parse(n,r,o){switch(r){case"s":return Ke(rt.second,n);case"so":return o.ordinalNumber(n,{unit:"second"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,o){return n.setSeconds(o,0),n}}class Fd extends Re{constructor(){super(...arguments);ve(this,"priority",30);ve(this,"incompatibleTokens",["t","T"])}parse(n,r){const o=i=>Math.trunc(i*Math.pow(10,-r.length+3));return ot(et(r.length,n),o)}set(n,r,o){return n.setMilliseconds(o),n}}class Ld extends Re{constructor(){super(...arguments);ve(this,"priority",10);ve(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return qt(jt.basicOptionalMinutes,n);case"XX":return qt(jt.basic,n);case"XXXX":return qt(jt.basicOptionalSeconds,n);case"XXXXX":return qt(jt.extendedOptionalSeconds,n);case"XXX":default:return qt(jt.extended,n)}}set(n,r,o){return r.timestampIsSet?n:He(n,n.getTime()-$n(n)-o)}}class $d extends Re{constructor(){super(...arguments);ve(this,"priority",10);ve(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return qt(jt.basicOptionalMinutes,n);case"xx":return qt(jt.basic,n);case"xxxx":return qt(jt.basicOptionalSeconds,n);case"xxxxx":return qt(jt.extendedOptionalSeconds,n);case"xxx":default:return qt(jt.extended,n)}}set(n,r,o){return r.timestampIsSet?n:He(n,n.getTime()-$n(n)-o)}}class Hd extends Re{constructor(){super(...arguments);ve(this,"priority",40);ve(this,"incompatibleTokens","*")}parse(n){return el(n)}set(n,r,o){return[He(n,o*1e3),{timestampIsSet:!0}]}}class Rd extends Re{constructor(){super(...arguments);ve(this,"priority",20);ve(this,"incompatibleTokens","*")}parse(n){return el(n)}set(n,r,o){return[He(n,o),{timestampIsSet:!0}]}}const zd={G:new od,y:new id,Y:new ld,R:new sd,u:new cd,Q:new dd,q:new ud,M:new md,L:new fd,w:new pd,I:new yd,d:new bd,D:new wd,E:new vd,e:new Ed,c:new Cd,i:new Md,a:new Bd,b:new Ad,B:new Vd,h:new Nd,H:new _d,K:new Dd,k:new Td,m:new Pd,s:new Od,S:new Fd,X:new Ld,x:new $d,t:new Hd,T:new Rd},Id=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Gd=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,jd=/^'([^]*?)'?$/,qd=/''/g,Wd=/\S/,Yd=/[a-zA-Z]/;function Lr(e,a,n,r){var y,b,x,w,k,B,V,M;const o=J2(),i=(r==null?void 0:r.locale)??o.locale??qi,l=(r==null?void 0:r.firstWeekContainsDate)??((b=(y=r==null?void 0:r.locale)==null?void 0:y.options)==null?void 0:b.firstWeekContainsDate)??o.firstWeekContainsDate??((w=(x=o.locale)==null?void 0:x.options)==null?void 0:w.firstWeekContainsDate)??1,s=(r==null?void 0:r.weekStartsOn)??((B=(k=r==null?void 0:r.locale)==null?void 0:k.options)==null?void 0:B.weekStartsOn)??o.weekStartsOn??((M=(V=o.locale)==null?void 0:V.options)==null?void 0:M.weekStartsOn)??0;if(a==="")return e===""?Ce(n):He(n,NaN);const d={firstWeekContainsDate:l,weekStartsOn:s,locale:i},p=[new rd],u=a.match(Gd).map(E=>{const N=E[0];if(N in Tr){const A=Tr[N];return A(E,i.formatLong)}return E}).join("").match(Id),m=[];for(let E of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&Ki(E)&&Pr(E,a,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Qi(E)&&Pr(E,a,e);const N=E[0],A=zd[N];if(A){const{incompatibleTokens:L}=A;if(Array.isArray(L)){const Q=m.find(J=>L.includes(J.token)||J.token===N);if(Q)throw new RangeError(`The format string mustn't contain \`${Q.fullToken}\` and \`${E}\` at the same time`)}else if(A.incompatibleTokens==="*"&&m.length>0)throw new RangeError(`The format string mustn't contain \`${E}\` and any other token at the same time`);m.push({token:N,fullToken:E});const H=A.run(e,E,i.match,d);if(!H)return He(n,NaN);p.push(H.setter),e=H.rest}else{if(N.match(Yd))throw new RangeError("Format string contains an unescaped latin alphabet character `"+N+"`");if(E==="''"?E="'":N==="'"&&(E=Ud(E)),e.indexOf(E)===0)e=e.slice(E.length);else return He(n,NaN)}}if(e.length>0&&Wd.test(e))return He(n,NaN);const c=p.map(E=>E.priority).sort((E,N)=>N-E).filter((E,N,A)=>A.indexOf(E)===N).map(E=>p.filter(N=>N.priority===E).sort((N,A)=>A.subPriority-N.subPriority)).map(E=>E[0]);let f=Ce(n);if(isNaN(f.getTime()))return He(n,NaN);const h={};for(const E of c){if(!E.validate(f,d))return He(n,NaN);const N=E.set(f,h,d);Array.isArray(N)?(f=N[0],Object.assign(h,N[1])):f=N}return He(n,f)}function Ud(e){return e.match(jd)[1].replace(qd,"'")}function nl(e,a){const n=Sa(e),r=Sa(a);return+n==+r}function Xd(e,a){return Ot(e,-a)}function rl(e,a){const n=Ce(e),r=n.getFullYear(),o=n.getDate(),i=He(e,0);i.setFullYear(r,a,15),i.setHours(0,0,0,0);const l=K2(i);return n.setMonth(a,Math.min(o,l)),n}function We(e,a){let n=Ce(e);return isNaN(+n)?He(e,NaN):(a.year!=null&&n.setFullYear(a.year),a.month!=null&&(n=rl(n,a.month)),a.date!=null&&n.setDate(a.date),a.hours!=null&&n.setHours(a.hours),a.minutes!=null&&n.setMinutes(a.minutes),a.seconds!=null&&n.setSeconds(a.seconds),a.milliseconds!=null&&n.setMilliseconds(a.milliseconds),n)}function Zd(e,a){const n=Ce(e);return n.setHours(a),n}function ol(e,a){const n=Ce(e);return n.setMilliseconds(a),n}function Qd(e,a){const n=Ce(e);return n.setMinutes(a),n}function il(e,a){const n=Ce(e);return n.setSeconds(a),n}function Wt(e,a){const n=Ce(e);return isNaN(+n)?He(e,NaN):(n.setFullYear(a),n)}function Ra(e,a){return Ft(e,-a)}function Kd(e,a){const{years:n=0,months:r=0,weeks:o=0,days:i=0,hours:l=0,minutes:s=0,seconds:d=0}=a,p=Ra(e,r+n*12),u=Xd(p,i+o*7),m=s+l*60,f=(d+m*60)*1e3;return He(e,u.getTime()-f)}function ll(e,a){return Ar(e,-a)}function za(){const e=t.useAttrs();return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[t.createElementVNode("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),t.createElementVNode("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),t.createElementVNode("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),t.createElementVNode("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}za.compatConfig={MODE:3};function sl(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),t.createElementVNode("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}sl.compatConfig={MODE:3};function $r(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}$r.compatConfig={MODE:3};function Hr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}Hr.compatConfig={MODE:3};function Rr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),t.createElementVNode("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Rr.compatConfig={MODE:3};function zr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}zr.compatConfig={MODE:3};function Ir(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Ir.compatConfig={MODE:3};const At=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),Gr=(e,a,n)=>jr(e,a,n)||pe(),Jd=(e,a,n)=>{const r=a.dateInTz?At(new Date(e),a.dateInTz):pe(e);return n?vt(r,!0):r},jr=(e,a,n)=>{if(!e)return null;const r=n?vt(pe(e),!0):pe(e);return a?a.exactMatch?Jd(e,a,n):At(r,a.timezone):r},e3=e=>{if(!e)return 0;const a=new Date,n=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(a.toLocaleString("en-US",{timeZone:e})),o=r.getTimezoneOffset()/60;return(+n-+r)/(1e3*60*60)-o};var $t=(e=>(e.month="month",e.year="year",e))($t||{}),Ba=(e=>(e.top="top",e.bottom="bottom",e))(Ba||{}),Aa=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(Aa||{}),yt=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(yt||{});const t3=["timestamp","date","iso"];var bt=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(bt||{}),Ue=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(Ue||{});function cl(e){return a=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${a}T00:00:00+00:00`)).slice(0,2)}function a3(e){return a=>Gt(At(new Date(`2017-01-0${a}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const n3=(e,a,n)=>{const r=[1,2,3,4,5,6,7];let o;if(e!==null)try{o=r.map(a3(e))}catch{o=r.map(cl(a))}else o=r.map(cl(a));const i=o.slice(0,n),l=o.slice(n+1,o.length);return[o[n]].concat(...l).concat(...i)},qr=(e,a,n)=>{const r=[];for(let o=+e[0];o<=+e[1];o++)r.push({value:+o,text:pl(o,a)});return n?r.reverse():r},dl=(e,a,n)=>{const r=[1,2,3,4,5,6,7,8,9,10,11,12].map(i=>{const l=i<10?`0${i}`:i;return new Date(`2017-${l}-01T00:00:00+00:00`)});if(e!==null)try{const i=n==="long"?"LLLL":"LLL";return r.map((l,s)=>{const d=Gt(At(l,"UTC"),i,{locale:e});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:s}})}catch{}const o=new Intl.DateTimeFormat(a,{month:n,timeZone:"UTC"});return r.map((i,l)=>{const s=o.format(i);return{text:s.charAt(0).toUpperCase()+s.substring(1),value:l}})},r3=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],ct=e=>{const a=t.unref(e);return a!=null&&a.$el?a==null?void 0:a.$el:a},o3=e=>({type:"dot",...e??{}}),ul=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,Wr={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},mt=e=>e,ml=e=>e===0?e:!e||isNaN(+e)?null:+e,fl=e=>e===null,hl=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},i3=e=>{const a=[],n=r=>r.filter(o=>o);for(let r=0;r<e.length;r+=3){const o=[e[r],e[r+1],e[r+2]];a.push(n(o))}return a},dn=(e,a,n)=>{const r=n!=null,o=a!=null;if(!r&&!o)return!1;const i=+n,l=+a;return r&&o?+e>i||+e<l:r?+e>i:o?+e<l:!1},Ia=(e,a)=>i3(e).map(n=>n.map(r=>{const{active:o,disabled:i,isBetween:l,highlighted:s}=a(r);return{...r,active:o,disabled:i,className:{dp__overlay_cell_active:o,dp__overlay_cell:!o,dp__overlay_cell_disabled:i,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:i&&o,dp__cell_in_between:l,"dp--highlighted":s}}})),ia=(e,a,n=!1)=>{e&&a.allowStopPropagation&&(n&&e.stopImmediatePropagation(),e.stopPropagation())},l3=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function s3(e,a){let n=[...document.querySelectorAll(l3())];n=n.filter(o=>!e.contains(o)||o.hasAttribute("data-datepicker-instance"));const r=n.indexOf(e);if(r>=0&&(a?r-1>=0:r+1<=n.length))return n[r+(a?-1:1)]}const Yr=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),pl=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),Ur=e=>Gt(e,"dd-MM-yyyy"),Xr=e=>Array.isArray(e),Rn=(e,a)=>a.get(Ur(e)),c3=(e,a)=>e?a?a instanceof Map?!!Rn(e,a):a(pe(e)):!1:!0,wt=(e,a,n=!1,r)=>{if(e.key===Ue.enter||e.key===Ue.space)return n&&e.preventDefault(),a();if(r)return r(e)},gl=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,yl=(e,a,n,r,o,i)=>{const l=Lr(e,a.slice(0,e.length),new Date,{locale:i});return rn(l)&&Hi(l)?r||o?l:We(l,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},d3=(e,a,n,r,o,i)=>{const l=Array.isArray(n)?n[0]:n;if(typeof a=="string")return yl(e,a,l,r,o,i);if(Array.isArray(a)){let s=null;for(const d of a)if(s=yl(e,d,l,r,o,i),s)break;return s}return typeof a=="function"?a(e):null},pe=e=>e?new Date(e):new Date,u3=(e,a,n)=>{if(a){const o=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getDate().toString().padStart(2,"0"),l=e.getHours().toString().padStart(2,"0"),s=e.getMinutes().toString().padStart(2,"0"),d=n?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${o}-${i}T${l}:${s}:${d}.000Z`}const r=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(r).toISOString()},vt=(e,a)=>{const n=pe(JSON.parse(JSON.stringify(e))),r=We(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return a?l2(r):r},la=(e,a,n,r)=>{let o=e?pe(e):pe();return(a||a===0)&&(o=Zd(o,+a)),(n||n===0)&&(o=Qd(o,+n)),(r||r===0)&&(o=il(o,+r)),ol(o,0)},tt=(e,a)=>!e||!a?!1:cn(vt(e),vt(a)),Fe=(e,a)=>!e||!a?!1:Ha(vt(e),vt(a)),it=(e,a)=>!e||!a?!1:$a(vt(e),vt(a)),zn=(e,a,n)=>e!=null&&e[0]&&e!=null&&e[1]?it(n,e[0])&&tt(n,e[1]):e!=null&&e[0]&&a?it(n,e[0])&&tt(n,a)||tt(n,e[0])&&it(n,a):!1,Ht=e=>{const a=We(new Date(e),{date:1});return vt(a)},Zr=(e,a,n)=>a&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(r=>r===a?[r,n]:[r,isNaN(+e[r])?void 0:+e[r]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},Va=e=>({hours:Zt(e),minutes:oa(e),seconds:La(e)}),kl=(e,a)=>{if(a){const n=Ve(pe(a));if(n>e)return 12;if(n===e)return Oe(pe(a))}},xl=(e,a)=>{if(a){const n=Ve(pe(a));return n<e?-1:n===e?Oe(pe(a)):void 0}},Ga=e=>{if(e)return Ve(pe(e))},bl=(e,a)=>{const n=it(e,a)?a:e,r=it(a,e)?a:e;return zi({start:n,end:r})},m3=e=>{const a=Ft(e,1);return{month:Oe(a),year:Ve(a)}},Qt=(e,a)=>{const n=Lt(e,{weekStartsOn:+a}),r=Gi(e,{weekStartsOn:+a});return[n,r]},wl=(e,a)=>{const n={hours:Zt(pe()),minutes:oa(pe()),seconds:a?La(pe()):0};return Object.assign(n,e)},sa=(e,a,n)=>[We(pe(e),{date:1}),We(pe(),{month:a,year:n,date:1})],Kt=(e,a,n)=>{let r=e?pe(e):pe();return(a||a===0)&&(r=rl(r,a)),n&&(r=Wt(r,n)),r},vl=(e,a,n,r,o)=>{if(!r||o&&!a||!o&&!n)return!1;const i=o?Ft(e,1):Ra(e,1),l=[Oe(i),Ve(i)];return o?!h3(...l,a):!f3(...l,n)},f3=(e,a,n)=>tt(...sa(n,e,a))||Fe(...sa(n,e,a)),h3=(e,a,n)=>it(...sa(n,e,a))||Fe(...sa(n,e,a)),El=(e,a,n,r,o,i,l)=>{if(typeof a=="function"&&!l)return a(e);const s=n?{locale:n}:void 0;return Array.isArray(e)?`${Gt(e[0],i,s)}${o&&!e[1]?"":r}${e[1]?Gt(e[1],i,s):""}`:Gt(e,i,s)},ja=e=>{if(e)return null;throw new Error(Wr.prop("partial-range"))},In=(e,a)=>{if(a)return e();throw new Error(Wr.prop("range"))},Qr=e=>Array.isArray(e)?rn(e[0])&&(e[1]?rn(e[1]):!0):e?rn(e):!1,p3=(e,a)=>We(a??pe(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),Kr=(e,a,n,r)=>{if(!e)return!0;if(r){const o=n==="max"?cn(e,a):$a(e,a),i={seconds:0,milliseconds:0};return o||Ha(We(e,i),We(a,i))}return n==="max"?e.getTime()<=a.getTime():e.getTime()>=a.getTime()},Jr=(e,a,n)=>e?p3(e,a):pe(n??a),Cl=(e,a,n,r,o)=>{if(Array.isArray(r)){const l=Jr(e,r[0],a),s=Jr(e,r[1],a);return Kr(r[0],l,n,!!a)&&Kr(r[1],s,n,!!a)&&o}const i=Jr(e,r,a);return Kr(r,i,n,!!a)&&o},eo=e=>We(pe(),Va(e)),g3=(e,a)=>e instanceof Map?Array.from(e.values()).filter(n=>Ve(pe(n))===a).map(n=>Oe(n)):[],Sl=(e,a,n)=>typeof e=="function"?e({month:a,year:n}):!!e.months.find(r=>r.month===a&&r.year===n),to=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),Ml=e=>Gt(e,"yyyy-MM-dd"),un=t.reactive({menuFocused:!1,shiftKeyInMenu:!1}),Bl=()=>{const e=n=>{un.menuFocused=n},a=n=>{un.shiftKeyInMenu!==n&&(un.shiftKeyInMenu=n)};return{control:t.computed(()=>({shiftKeyInMenu:un.shiftKeyInMenu,menuFocused:un.menuFocused})),setMenuFocused:e,setShiftKey:a}},Xe=t.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),ao=t.ref(null),Gn=t.ref(!1),no=t.ref(!1),ro=t.ref(!1),oo=t.ref(!1),kt=t.ref(0),lt=t.ref(0),ca=()=>{const e=t.computed(()=>Gn.value?[...Xe.selectionGrid,Xe.actionRow].filter(m=>m.length):no.value?[...Xe.timePicker[0],...Xe.timePicker[1],oo.value?[]:[ao.value],Xe.actionRow].filter(m=>m.length):ro.value?[...Xe.monthPicker,Xe.actionRow]:[Xe.monthYear,...Xe.calendar,Xe.time,Xe.actionRow].filter(m=>m.length)),a=m=>{kt.value=m?kt.value+1:kt.value-1;let c=null;e.value[lt.value]&&(c=e.value[lt.value][kt.value]),!c&&e.value[lt.value+(m?1:-1)]?(lt.value=lt.value+(m?1:-1),kt.value=m?0:e.value[lt.value].length-1):c||(kt.value=m?kt.value-1:kt.value+1)},n=m=>{lt.value===0&&!m||lt.value===e.value.length&&m||(lt.value=m?lt.value+1:lt.value-1,e.value[lt.value]?e.value[lt.value]&&!e.value[lt.value][kt.value]&&kt.value!==0&&(kt.value=e.value[lt.value].length-1):lt.value=m?lt.value-1:lt.value+1)},r=m=>{let c=null;e.value[lt.value]&&(c=e.value[lt.value][kt.value]),c?c.focus({preventScroll:!Gn.value}):kt.value=m?kt.value-1:kt.value+1},o=()=>{a(!0),r(!0)},i=()=>{a(!1),r(!1)},l=()=>{n(!1),r(!0)},s=()=>{n(!0),r(!0)},d=(m,c)=>{Xe[c]=m},p=(m,c)=>{Xe[c]=m},u=()=>{kt.value=0,lt.value=0};return{buildMatrix:d,buildMultiLevelMatrix:p,setTimePickerBackRef:m=>{ao.value=m},setSelectionGrid:m=>{Gn.value=m,u(),m||(Xe.selectionGrid=[])},setTimePicker:(m,c=!1)=>{no.value=m,oo.value=c,u(),m||(Xe.timePicker[0]=[],Xe.timePicker[1]=[])},setTimePickerElements:(m,c=0)=>{Xe.timePicker[c]=m},arrowRight:o,arrowLeft:i,arrowUp:l,arrowDown:s,clearArrowNav:()=>{Xe.monthYear=[],Xe.calendar=[],Xe.time=[],Xe.actionRow=[],Xe.selectionGrid=[],Xe.timePicker[0]=[],Xe.timePicker[1]=[],Gn.value=!1,no.value=!1,oo.value=!1,ro.value=!1,u(),ao.value=null},setMonthPicker:m=>{ro.value=m,u()},refSets:Xe}},Al=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),y3=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:a=>`Increment ${a}`,decrementValue:a=>`Decrement ${a}`,openTpOverlay:a=>`Open ${a} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:a=>`Month picker${a?" overlay":""}`,yearPicker:a=>`Year picker${a?" overlay":""}`,timeOverlay:a=>`${a} overlay`,...e??{}}),Vl=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,k3=e=>{const a=typeof e=="object"&&e,n={static:!0,solo:!1};if(!e)return{...n,count:Vl(!1)};const r=a?e:{},o=a?r.count??!0:e,i=Vl(o);return Object.assign(n,r,{count:i})},x3=(e,a,n)=>e||(typeof n=="string"?n:a),b3=e=>typeof e=="boolean"?e?Al({}):!1:Al(e),w3=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},v3=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),E3=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),C3=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},S3=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...e??{}}),M3=e=>{const a={dates:Array.isArray(e)?e.map(n=>pe(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...a,...e??{}}},B3=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},A3=e=>{const a={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...a,...e}:{enabled:e,...a}},V3=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},io=(e,a,n)=>new Map(e.map(r=>{const o=Gr(r,a,n);return[Ur(o),o]})),N3=(e,a)=>e.length?new Map(e.map(n=>{const r=Gr(n.date,a);return[Ur(r),n]})):null,_3=e=>{var a;return{minDate:jr(e.minDate,e.timezone,e.isSpecific),maxDate:jr(e.maxDate,e.timezone,e.isSpecific),disabledDates:Xr(e.disabledDates)?io(e.disabledDates,e.timezone,e.isSpecific):e.disabledDates,allowedDates:Xr(e.allowedDates)?io(e.allowedDates,e.timezone,e.isSpecific):null,highlight:typeof e.highlight=="object"&&Xr((a=e.highlight)==null?void 0:a.dates)?io(e.highlight.dates,e.timezone):e.highlight,markers:N3(e.markers,e.timezone)}},D3=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},T3=e=>({...Object.fromEntries(Object.keys(e).map(a=>{const n=a,r=e[n],o=typeof e[n]=="string"?{[r]:!0}:Object.fromEntries(r.map(i=>[i,!0]));return[a,o]}))}),Ze=e=>{const a=()=>{const M=e.enableSeconds?":ss":"",E=e.enableMinutes?":mm":"";return e.is24?`HH${E}${M}`:`hh${E}${M} aa`},n=()=>{var M;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((M=b.value)==null?void 0:M.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},r=M=>wl(M,e.enableSeconds),o=()=>B.value.enabled?e.startTime&&Array.isArray(e.startTime)?[r(e.startTime[0]),r(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?r(e.startTime):null,i=t.computed(()=>k3(e.multiCalendars)),l=t.computed(()=>o()),s=t.computed(()=>y3(e.ariaLabels)),d=t.computed(()=>v3(e.filters)),p=t.computed(()=>b3(e.transitions)),u=t.computed(()=>E3(e.actionRow)),m=t.computed(()=>x3(e.previewFormat,e.format,n())),c=t.computed(()=>w3(e.textInput)),f=t.computed(()=>C3(e.inline)),h=t.computed(()=>S3(e.config)),y=t.computed(()=>M3(e.highlight)),b=t.computed(()=>B3(e.weekNumbers)),x=t.computed(()=>V3(e.timezone)),w=t.computed(()=>D3(e.multiDates)),k=t.computed(()=>_3({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:y.value,markers:e.markers,timezone:x.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker})),B=t.computed(()=>A3(e.range)),V=t.computed(()=>T3(e.ui));return{defaultedTransitions:p,defaultedMultiCalendars:i,defaultedStartTime:l,defaultedAriaLabels:s,defaultedFilters:d,defaultedActionRow:u,defaultedPreviewFormat:m,defaultedTextInput:c,defaultedInline:f,defaultedConfig:h,defaultedHighlight:y,defaultedWeekNumbers:b,defaultedRange:B,propDates:k,defaultedTz:x,defaultedMultiDates:w,defaultedUI:V,getDefaultPattern:n,getDefaultStartTime:o}},P3=(e,a,n)=>{const r=t.ref(),{defaultedTextInput:o,defaultedRange:i,defaultedTz:l,defaultedMultiDates:s,getDefaultPattern:d}=Ze(a),p=t.ref(""),u=t.toRef(a,"format"),m=t.toRef(a,"formatLocale");t.watch(r,()=>{typeof a.onInternalModelChange=="function"&&e("internal-model-change",r.value,fe(!0))},{deep:!0}),t.watch(i,(z,ye)=>{z.enabled!==ye.enabled&&(r.value=null)}),t.watch(u,()=>{me()});const c=z=>l.value.timezone&&l.value.convertModel?At(z,l.value.timezone):z,f=z=>{if(l.value.timezone&&l.value.convertModel){const ye=e3(l.value.timezone);return e2(z,ye)}return z},h=(z,ye,U=!1)=>El(z,a.format,a.formatLocale,o.value.rangeSeparator,a.modelAuto,ye??d(),U),y=z=>z?a.modelType?_(z):{hours:Zt(z),minutes:oa(z),seconds:a.enableSeconds?La(z):0}:null,b=z=>a.modelType?_(z):{month:Oe(z),year:Ve(z)},x=z=>Array.isArray(z)?s.value.enabled?z.map(ye=>w(ye,Wt(pe(),ye))):In(()=>[Wt(pe(),z[0]),z[1]?Wt(pe(),z[1]):ja(i.value.partialRange)],i.value.enabled):Wt(pe(),+z),w=(z,ye)=>(typeof z=="string"||typeof z=="number")&&a.modelType?W(z):ye,k=z=>Array.isArray(z)?[w(z[0],la(null,+z[0].hours,+z[0].minutes,z[0].seconds)),w(z[1],la(null,+z[1].hours,+z[1].minutes,z[1].seconds))]:w(z,la(null,z.hours,z.minutes,z.seconds)),B=z=>{const ye=We(pe(),{date:1});return Array.isArray(z)?s.value.enabled?z.map(U=>w(U,Kt(ye,+U.month,+U.year))):In(()=>[w(z[0],Kt(ye,+z[0].month,+z[0].year)),w(z[1],z[1]?Kt(ye,+z[1].month,+z[1].year):ja(i.value.partialRange))],i.value.enabled):w(z,Kt(ye,+z.month,+z.year))},V=z=>{if(Array.isArray(z))return z.map(ye=>W(ye));throw new Error(Wr.dateArr("multi-dates"))},M=z=>{if(Array.isArray(z)&&i.value.enabled){const ye=z[0],U=z[1];return[pe(Array.isArray(ye)?ye[0]:null),Array.isArray(U)&&U.length?pe(U[0]):null]}return pe(z[0])},E=z=>a.modelAuto?Array.isArray(z)?[W(z[0]),W(z[1])]:a.autoApply?[W(z)]:[W(z),null]:Array.isArray(z)?In(()=>z[1]?[W(z[0]),z[1]?W(z[1]):ja(i.value.partialRange)]:[W(z[0])],i.value.enabled):W(z),N=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(ja(i.value.partialRange))},A=()=>{const z=r.value;return[_(z[0]),z[1]?_(z[1]):ja(i.value.partialRange)]},L=()=>r.value[1]?A():_(mt(r.value[0])),H=()=>(r.value||[]).map(z=>_(z)),Q=(z=!1)=>(z||N(),a.modelAuto?L():s.value.enabled?H():Array.isArray(r.value)?In(()=>A(),i.value.enabled):_(mt(r.value))),J=z=>!z||Array.isArray(z)&&!z.length?null:a.timePicker?k(mt(z)):a.monthPicker?B(mt(z)):a.yearPicker?x(mt(z)):s.value.enabled?V(mt(z)):a.weekPicker?M(mt(z)):E(mt(z)),S=z=>{const ye=J(z);Qr(mt(ye))?(r.value=mt(ye),me()):(r.value=null,p.value="")},G=()=>{const z=ye=>Gt(ye,o.value.format);return`${z(r.value[0])} ${o.value.rangeSeparator} ${r.value[1]?z(r.value[1]):""}`},j=()=>n.value&&r.value?Array.isArray(r.value)?G():Gt(r.value,o.value.format):h(r.value),Y=()=>r.value?s.value.enabled?r.value.map(z=>h(z)).join("; "):o.value.enabled&&typeof o.value.format=="string"?j():h(r.value):"",me=()=>{!a.format||typeof a.format=="string"||o.value.enabled&&typeof o.value.format=="string"?p.value=Y():p.value=a.format(r.value)},W=z=>{if(a.utc){const ye=new Date(z);return a.utc==="preserve"?new Date(ye.getTime()+ye.getTimezoneOffset()*6e4):ye}return a.modelType?t3.includes(a.modelType)?c(new Date(z)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?c(Lr(z,d(),new Date,{locale:m.value})):c(Lr(z,a.modelType,new Date,{locale:m.value})):c(new Date(z))},_=z=>z?a.utc?u3(z,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+f(z):a.modelType==="iso"?f(z).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?h(f(z)):h(f(z),a.modelType,!0):f(z):"",ie=(z,ye=!1,U=!1)=>{if(U)return z;if(e("update:model-value",z),l.value.emitTimezone&&ye){const ue=Array.isArray(z)?z.map($=>At(mt($),l.value.emitTimezone)):At(mt(z),l.value.emitTimezone);e("update:model-timezone-value",ue)}},ne=z=>Array.isArray(r.value)?s.value.enabled?r.value.map(ye=>z(ye)):[z(r.value[0]),r.value[1]?z(r.value[1]):ja(i.value.partialRange)]:z(mt(r.value)),Z=()=>{if(Array.isArray(r.value)){const z=Qt(r.value[0],a.weekStart),ye=r.value[1]?Qt(r.value[1],a.weekStart):[];return[z.map(U=>pe(U)),ye.map(U=>pe(U))]}return Qt(r.value,a.weekStart).map(z=>pe(z))},C=(z,ye)=>ie(mt(ne(z)),!1,ye),X=z=>{const ye=Z();return z?ye:e("update:model-value",Z())},fe=(z=!1)=>(z||me(),a.monthPicker?C(b,z):a.timePicker?C(y,z):a.yearPicker?C(Ve,z):a.weekPicker?X(z):ie(Q(z),!0,z));return{inputValue:p,internalModelValue:r,checkBeforeEmit:()=>r.value?i.value.enabled?i.value.partialRange?r.value.length>=1:r.value.length===2:!!r.value:!1,parseExternalModelValue:S,formatInputValue:me,emitModelValue:fe}},O3=(e,a)=>{const{defaultedFilters:n,propDates:r}=Ze(e),{validateMonthYearInRange:o}=ua(e),i=(u,m)=>{let c=u;return n.value.months.includes(Oe(c))?(c=m?Ft(u,1):Ra(u,1),i(c,m)):c},l=(u,m)=>{let c=u;return n.value.years.includes(Ve(c))?(c=m?Ar(u,1):ll(u,1),l(c,m)):c},s=(u,m=!1)=>{const c=We(pe(),{month:e.month,year:e.year});let f=u?Ft(c,1):Ra(c,1);e.disableYearSelect&&(f=Wt(f,e.year));let h=Oe(f),y=Ve(f);n.value.months.includes(h)&&(f=i(f,u),h=Oe(f),y=Ve(f)),n.value.years.includes(y)&&(f=l(f,u),y=Ve(f)),o(h,y,u,e.preventMinMaxNavigation)&&d(h,y,m)},d=(u,m,c)=>{a("update-month-year",{month:u,year:m,fromNav:c})},p=t.computed(()=>u=>vl(We(pe(),{month:e.month,year:e.year}),r.value.maxDate,r.value.minDate,e.preventMinMaxNavigation,u));return{handleMonthYearChange:s,isDisabled:p,updateMonthYear:d}},jn={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},Rt={...jn,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},F3=["title"],L3=["disabled"],$3=t.defineComponent({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...Rt},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:a}){const n=a,r=e,{defaultedActionRow:o,defaultedPreviewFormat:i,defaultedMultiCalendars:l,defaultedTextInput:s,defaultedInline:d,defaultedRange:p,defaultedMultiDates:u}=Ze(r),{isTimeValid:m,isMonthValid:c}=ua(r),{buildMatrix:f}=ca(),h=t.ref(null),y=t.ref(null),b=t.ref(!1),x=t.ref({}),w=t.ref(null),k=t.ref(null);t.onMounted(()=>{r.arrowNavigation&&f([ct(h),ct(y)],"actionRow"),B(),window.addEventListener("resize",B)}),t.onUnmounted(()=>{window.removeEventListener("resize",B)});const B=()=>{b.value=!1,setTimeout(()=>{var S,G;const j=(S=w.value)==null?void 0:S.getBoundingClientRect(),Y=(G=k.value)==null?void 0:G.getBoundingClientRect();j&&Y&&(x.value.maxWidth=`${Y.width-j.width-20}px`),b.value=!0},0)},V=t.computed(()=>p.value.enabled&&!p.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),M=t.computed(()=>!m.value(r.internalModelValue)||!c.value(r.internalModelValue)||!V.value),E=()=>{const S=i.value;return r.timePicker||r.monthPicker,S(mt(r.internalModelValue))},N=()=>{const S=r.internalModelValue;return l.value.count>0?`${A(S[0])} - ${A(S[1])}`:[A(S[0]),A(S[1])]},A=S=>El(S,i.value,r.formatLocale,s.value.rangeSeparator,r.modelAuto,i.value),L=t.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?N():u.value.enabled?r.internalModelValue.map(S=>`${A(S)}`):r.modelAuto?`${A(r.internalModelValue[0])}`:`${A(r.internalModelValue[0])} -`:A(r.internalModelValue):E()),H=()=>u.value.enabled?"; ":" - ",Q=t.computed(()=>Array.isArray(L.value)?L.value.join(H()):L.value),J=()=>{m.value(r.internalModelValue)&&c.value(r.internalModelValue)&&V.value?n("select-date"):n("invalid-select")};return(S,G)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"actionRowRef",ref:k,class:"dp__action_row"},[S.$slots["action-row"]?t.renderSlot(S.$slots,"action-row",t.normalizeProps(t.mergeProps({key:0},{internalModelValue:S.internalModelValue,disabled:M.value,selectDate:()=>S.$emit("select-date"),closePicker:()=>S.$emit("close-picker")}))):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.unref(o).showPreview?(t.openBlock(),t.createElementBlock("div",{key:0,class:"dp__selection_preview",title:Q.value,style:t.normalizeStyle(x.value)},[S.$slots["action-preview"]&&b.value?t.renderSlot(S.$slots,"action-preview",{key:0,value:S.internalModelValue}):t.createCommentVNode("",!0),!S.$slots["action-preview"]&&b.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(Q.value),1)],64)):t.createCommentVNode("",!0)],12,F3)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"actionBtnContainer",ref:w,class:"dp__action_buttons","data-dp-element":"action-row"},[S.$slots["action-buttons"]?t.renderSlot(S.$slots,"action-buttons",{key:0,value:S.internalModelValue}):t.createCommentVNode("",!0),S.$slots["action-buttons"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[!t.unref(d).enabled&&t.unref(o).showCancel?(t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"cancelButtonRef",ref:h,type:"button",class:"dp__action_button dp__action_cancel",onClick:G[0]||(G[0]=j=>S.$emit("close-picker")),onKeydown:G[1]||(G[1]=j=>t.unref(wt)(j,()=>S.$emit("close-picker")))},t.toDisplayString(S.cancelText),545)):t.createCommentVNode("",!0),t.unref(o).showNow?(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:G[2]||(G[2]=j=>S.$emit("select-now")),onKeydown:G[3]||(G[3]=j=>t.unref(wt)(j,()=>S.$emit("select-now")))},t.toDisplayString(S.nowButtonLabel),33)):t.createCommentVNode("",!0),t.unref(o).showSelect?(t.openBlock(),t.createElementBlock("button",{key:2,ref_key:"selectButtonRef",ref:y,type:"button",class:"dp__action_button dp__action_select",disabled:M.value,"data-test":"select-button",onKeydown:G[4]||(G[4]=j=>t.unref(wt)(j,()=>J())),onClick:J},t.toDisplayString(S.selectText),41,L3)):t.createCommentVNode("",!0)],64))],512)],64))],512))}}),H3=["role","aria-label","tabindex"],R3={class:"dp__selection_grid_header"},z3=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],I3=["aria-label"],mn=t.defineComponent({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:a,emit:n}){const{setSelectionGrid:r,buildMultiLevelMatrix:o,setMonthPicker:i}=ca(),l=n,s=e,{defaultedAriaLabels:d,defaultedTextInput:p,defaultedConfig:u}=Ze(s),{hideNavigationButtons:m}=Yn(),c=t.ref(!1),f=t.ref(null),h=t.ref(null),y=t.ref([]),b=t.ref(),x=t.ref(null),w=t.ref(0),k=t.ref(null);t.onBeforeUpdate(()=>{f.value=null}),t.onMounted(()=>{t.nextTick().then(()=>H()),s.noOverlayFocus||V(),B(!0)}),t.onUnmounted(()=>B(!1));const B=ne=>{var Z;s.arrowNavigation&&((Z=s.headerRefs)!=null&&Z.length?i(ne):r(ne))},V=()=>{var ne;const Z=ct(h);Z&&(p.value.enabled||(f.value?(ne=f.value)==null||ne.focus({preventScroll:!0}):Z.focus({preventScroll:!0})),c.value=Z.clientHeight<Z.scrollHeight)},M=t.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!s.useRelative,"dp--overlay-relative":s.useRelative})),E=t.computed(()=>s.useRelative?{height:`${s.height}px`,width:"var(--dp-menu-min-width)"}:void 0),N=t.computed(()=>({dp__overlay_col:!0})),A=t.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:c.value,dp__button_bottom:s.isLast})),L=t.computed(()=>{var ne,Z;return{dp__overlay_container:!0,dp__container_flex:((ne=s.items)==null?void 0:ne.length)<=6,dp__container_block:((Z=s.items)==null?void 0:Z.length)>6}});t.watch(()=>s.items,()=>H(!1),{deep:!0});const H=(ne=!0)=>{t.nextTick().then(()=>{const Z=ct(f),C=ct(h),X=ct(x),fe=ct(k),z=X?X.getBoundingClientRect().height:0;C&&(C.getBoundingClientRect().height?w.value=C.getBoundingClientRect().height-z:w.value=u.value.modeHeight-z),Z&&fe&&ne&&(fe.scrollTop=Z.offsetTop-fe.offsetTop-(w.value/2-Z.getBoundingClientRect().height)-z)})},Q=ne=>{ne.disabled||l("selected",ne.value)},J=()=>{l("toggle"),l("reset-flow")},S=()=>{s.escClose&&J()},G=(ne,Z,C,X)=>{ne&&((Z.active||Z.value===s.focusValue)&&(f.value=ne),s.arrowNavigation&&(Array.isArray(y.value[C])?y.value[C][X]=ne:y.value[C]=[ne],j()))},j=()=>{var ne,Z;const C=(ne=s.headerRefs)!=null&&ne.length?[s.headerRefs].concat(y.value):y.value.concat([s.skipButtonRef?[]:[x.value]]);o(mt(C),(Z=s.headerRefs)!=null&&Z.length?"monthPicker":"selectionGrid")},Y=ne=>{s.arrowNavigation||ia(ne,u.value,!0)},me=ne=>{b.value=ne,l("hover-value",ne)},W=()=>{if(J(),!s.isLast){const ne=Yr(s.menuWrapRef??null,"action-row");if(ne){const Z=hl(ne);Z==null||Z.focus()}}},_=ne=>{switch(ne.key){case Ue.esc:return S();case Ue.arrowLeft:return Y(ne);case Ue.arrowRight:return Y(ne);case Ue.arrowUp:return Y(ne);case Ue.arrowDown:return Y(ne);default:return}},ie=ne=>{if(ne.key===Ue.enter)return J();if(ne.key===Ue.tab)return W()};return a({focusGrid:V}),(ne,Z)=>{var C;return t.openBlock(),t.createElementBlock("div",{ref_key:"gridWrapRef",ref:h,class:t.normalizeClass(M.value),style:t.normalizeStyle(E.value),role:ne.useRelative?void 0:"dialog","aria-label":ne.overlayLabel,tabindex:ne.useRelative?void 0:"0",onKeydown:_,onClick:Z[0]||(Z[0]=t.withModifiers(()=>{},["prevent"]))},[t.createElementVNode("div",{ref_key:"containerRef",ref:k,class:t.normalizeClass(L.value),style:t.normalizeStyle({"--dp-overlay-height":`${w.value}px`}),role:"grid"},[t.createElementVNode("div",R3,[t.renderSlot(ne.$slots,"header")]),ne.$slots.overlay?t.renderSlot(ne.$slots,"overlay",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(ne.items,(X,fe)=>(t.openBlock(),t.createElementBlock("div",{key:fe,class:t.normalizeClass(["dp__overlay_row",{dp__flex_row:ne.items.length>=3}]),role:"row"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(X,(z,ye)=>(t.openBlock(),t.createElementBlock("div",{key:z.value,ref_for:!0,ref:U=>G(U,z,fe,ye),role:"gridcell",class:t.normalizeClass(N.value),"aria-selected":z.active||void 0,"aria-disabled":z.disabled||void 0,tabindex:"0","data-test":z.text,onClick:t.withModifiers(U=>Q(z),["prevent"]),onKeydown:U=>t.unref(wt)(U,()=>Q(z),!0),onMouseover:U=>me(z.value)},[t.createElementVNode("div",{class:t.normalizeClass(z.className)},[ne.$slots.item?t.renderSlot(ne.$slots,"item",{key:0,item:z}):t.createCommentVNode("",!0),ne.$slots.item?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(z.text),1)],64))],2)],42,z3))),128))],2))),128))],6),ne.$slots["button-icon"]?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"toggleButton",ref:x,type:"button","aria-label":(C=t.unref(d))==null?void 0:C.toggleOverlay,class:t.normalizeClass(A.value),tabindex:"0",onClick:J,onKeydown:ie},[t.renderSlot(ne.$slots,"button-icon")],42,I3)),[[t.vShow,!t.unref(m)(ne.hideNavigation,ne.type)]]):t.createCommentVNode("",!0)],46,H3)}}}),qn=t.defineComponent({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(e){const a=e,n=t.computed(()=>a.multiCalendars>0?[...Array(a.multiCalendars).keys()]:[0]),r=t.computed(()=>({dp__instance_calendar:a.multiCalendars>0}));return(o,i)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({dp__menu_inner:!o.stretch,"dp--menu--inner-stretched":o.stretch,dp__flex_display:o.multiCalendars>0,"dp--flex-display-collapsed":o.collapse})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.value,(l,s)=>(t.openBlock(),t.createElementBlock("div",{key:l,class:t.normalizeClass(r.value)},[t.renderSlot(o.$slots,"default",{instance:l,index:s})],2))),128))],2))}}),G3=["data-dp-element","aria-label","aria-disabled"],fn=t.defineComponent({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:a}){const n=a,r=t.ref(null);return t.onMounted(()=>n("set-ref",r)),(o,i)=>(t.openBlock(),t.createElementBlock("button",{ref_key:"elRef",ref:r,type:"button","data-dp-element":o.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":o.ariaLabel,"aria-disabled":o.disabled||void 0,onClick:i[0]||(i[0]=l=>o.$emit("activate")),onKeydown:i[1]||(i[1]=l=>t.unref(wt)(l,()=>o.$emit("activate"),!0))},[t.createElementVNode("span",{class:t.normalizeClass(["dp__inner_nav",{dp__inner_nav_disabled:o.disabled}])},[t.renderSlot(o.$slots,"default")],2)],40,G3))}}),j3=["aria-label","data-test"],Nl=t.defineComponent({__name:"YearModePicker",props:{...Rt,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:a}){const n=a,r=e,{showRightIcon:o,showLeftIcon:i}=Yn(),{defaultedConfig:l,defaultedMultiCalendars:s,defaultedAriaLabels:d,defaultedTransitions:p,defaultedUI:u}=Ze(r),{showTransition:m,transitionName:c}=hn(p),f=t.ref(!1),h=(x=!1,w)=>{f.value=!f.value,n("toggle-year-picker",{flow:x,show:w})},y=x=>{f.value=!1,n("year-select",x)},b=(x=!1)=>{n("handle-year",x)};return(x,w)=>{var k,B,V,M,E;return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{class:t.normalizeClass(["dp--year-mode-picker",{"dp--hidden-el":f.value}])},[t.unref(i)(t.unref(s),e.instance)?(t.openBlock(),t.createBlock(fn,{key:0,ref:"mpPrevIconRef","aria-label":(k=t.unref(d))==null?void 0:k.prevYear,disabled:e.isDisabled(!1),class:t.normalizeClass((B=t.unref(u))==null?void 0:B.navBtnPrev),onActivate:w[0]||(w[0]=N=>b(!1))},{default:t.withCtx(()=>[x.$slots["arrow-left"]?t.renderSlot(x.$slots,"arrow-left",{key:0}):t.createCommentVNode("",!0),x.$slots["arrow-left"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref($r),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.createElementVNode("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(V=t.unref(d))==null?void 0:V.openYearsOverlay}`,"data-test":`year-mode-btn-${e.instance}`,onClick:w[1]||(w[1]=()=>h(!1)),onKeydown:w[2]||(w[2]=t.withKeys(()=>h(!1),["enter"]))},[x.$slots.year?t.renderSlot(x.$slots,"year",{key:0,year:e.year}):t.createCommentVNode("",!0),x.$slots.year?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.year),1)],64))],40,j3),t.unref(o)(t.unref(s),e.instance)?(t.openBlock(),t.createBlock(fn,{key:1,ref:"mpNextIconRef","aria-label":(M=t.unref(d))==null?void 0:M.nextYear,disabled:e.isDisabled(!0),class:t.normalizeClass((E=t.unref(u))==null?void 0:E.navBtnNext),onActivate:w[3]||(w[3]=N=>b(!0))},{default:t.withCtx(()=>[x.$slots["arrow-right"]?t.renderSlot(x.$slots,"arrow-right",{key:0}):t.createCommentVNode("",!0),x.$slots["arrow-right"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Hr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0)],2),t.createVNode(t.Transition,{name:t.unref(c)(e.showYearPicker),css:t.unref(m)},{default:t.withCtx(()=>{var N,A;return[e.showYearPicker?(t.openBlock(),t.createBlock(mn,{key:0,items:e.items,"text-input":x.textInput,"esc-close":x.escClose,config:x.config,"is-last":x.autoApply&&!t.unref(l).keepActionRow,"hide-navigation":x.hideNavigation,"aria-labels":x.ariaLabels,"overlay-label":(A=(N=t.unref(d))==null?void 0:N.yearPicker)==null?void 0:A.call(N,!0),type:"year",onToggle:h,onSelected:w[4]||(w[4]=L=>y(L))},t.createSlots({"button-icon":t.withCtx(()=>[x.$slots["calendar-icon"]?t.renderSlot(x.$slots,"calendar-icon",{key:0}):t.createCommentVNode("",!0),x.$slots["calendar-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(za),{key:1}))]),_:2},[x.$slots["year-overlay-value"]?{name:"item",fn:t.withCtx(({item:L})=>[t.renderSlot(x.$slots,"year-overlay-value",{text:L.text,value:L.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):t.createCommentVNode("",!0)]}),_:3},8,["name","css"])],64)}}}),lo=(e,a,n)=>{if(a.value&&Array.isArray(a.value))if(a.value.some(r=>Fe(e,r))){const r=a.value.filter(o=>!Fe(o,e));a.value=r.length?r:null}else(n&&+n>a.value.length||!n)&&a.value.push(e);else a.value=[e]},so=(e,a,n)=>{let r=e.value?e.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?tt(a,r[0])?(r.unshift(a),n("range-start",r[0]),n("range-start",r[1])):(r[1]=a,n("range-end",a)):(r=[a],n("range-start",a)),r},Wn=(e,a,n,r)=>{e&&(e[0]&&e[1]&&n&&a("auto-apply"),e[0]&&!e[1]&&r&&n&&a("auto-apply"))},_l=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(a=>At(pe(a),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=At(pe(e.value),e.timezone))},Dl=(e,a,n,r)=>Array.isArray(a.value)&&(a.value.length===2||a.value.length===1&&r.value.partialRange)?r.value.fixedStart&&(it(e,a.value[0])||Fe(e,a.value[0]))?[a.value[0],e]:r.value.fixedEnd&&(tt(e,a.value[1])||Fe(e,a.value[1]))?[e,a.value[1]]:(n("invalid-fixed-range",e),a.value):[],Tl=({multiCalendars:e,range:a,highlight:n,propDates:r,calendars:o,modelValue:i,props:l,filters:s,year:d,month:p,emit:u})=>{const m=t.computed(()=>qr(l.yearRange,l.locale,l.reverseYears)),c=t.ref([!1]),f=t.computed(()=>(L,H)=>{const Q=We(Ht(new Date),{month:p.value(L),year:d.value(L)}),J=H?Ii(Q):on(Q);return vl(J,r.value.maxDate,r.value.minDate,l.preventMinMaxNavigation,H)}),h=()=>Array.isArray(i.value)&&e.value.solo&&i.value[1],y=()=>{for(let L=0;L<e.value.count;L++)if(L===0)o.value[L]=o.value[0];else if(L===e.value.count-1&&h())o.value[L]={month:Oe(i.value[1]),year:Ve(i.value[1])};else{const H=We(pe(),o.value[L-1]);o.value[L]={month:Oe(H),year:Ve(Ar(H,1))}}},b=L=>{if(!L)return y();const H=We(pe(),o.value[L]);return o.value[0].year=Ve(ll(H,e.value.count-1)),y()},x=(L,H)=>{const Q=o2(H,L);return a.value.showLastInRange&&Q>1?H:L},w=L=>l.focusStartDate||e.value.solo?L[0]:L[1]?x(L[0],L[1]):L[0],k=()=>{if(i.value){const L=Array.isArray(i.value)?w(i.value):i.value;o.value[0]={month:Oe(L),year:Ve(L)}}},B=()=>{k(),e.value.count&&y()};t.watch(i,(L,H)=>{l.isTextInputDate&&JSON.stringify(L??{})!==JSON.stringify(H??{})&&B()}),t.onMounted(()=>{B()});const V=(L,H)=>{o.value[H].year=L,u("update-month-year",{instance:H,year:L,month:o.value[H].month}),e.value.count&&!e.value.solo&&b(H)},M=t.computed(()=>L=>Ia(m.value,H=>{var Q;const J=d.value(L)===H.value,S=dn(H.value,Ga(r.value.minDate),Ga(r.value.maxDate))||((Q=s.value.years)==null?void 0:Q.includes(d.value(L))),G=to(n.value,H.value);return{active:J,disabled:S,highlighted:G}})),E=(L,H)=>{V(L,H),A(H)},N=(L,H=!1)=>{if(!f.value(L,H)){const Q=H?d.value(L)+1:d.value(L)-1;V(Q,L)}},A=(L,H=!1,Q)=>{H||u("reset-flow"),Q!==void 0?c.value[L]=Q:c.value[L]=!c.value[L],c.value[L]?u("overlay-toggle",{open:!0,overlay:yt.year}):(u("overlay-closed"),u("overlay-toggle",{open:!1,overlay:yt.year}))};return{isDisabled:f,groupedYears:M,showYearPicker:c,selectYear:V,toggleYearPicker:A,handleYearSelect:E,handleYear:N}},q3=(e,a)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:o,defaultedConfig:i,defaultedRange:l,defaultedHighlight:s,propDates:d,defaultedTz:p,defaultedFilters:u,defaultedMultiDates:m}=Ze(e),c=()=>{e.isTextInputDate&&B(Ve(pe(e.startDate)),0)},{modelValue:f,year:h,month:y,calendars:b}=pn(e,a,c),x=t.computed(()=>dl(e.formatLocale,e.locale,e.monthNameFormat)),w=t.ref(null),{checkMinMaxRange:k}=ua(e),{selectYear:B,groupedYears:V,showYearPicker:M,toggleYearPicker:E,handleYearSelect:N,handleYear:A,isDisabled:L}=Tl({modelValue:f,multiCalendars:n,range:l,highlight:s,calendars:b,year:h,propDates:d,month:y,filters:u,props:e,emit:a});t.onMounted(()=>{e.startDate&&(f.value&&e.focusStartDate||!f.value)&&B(Ve(pe(e.startDate)),0)});const H=C=>C?{month:Oe(C),year:Ve(C)}:{month:null,year:null},Q=()=>f.value?Array.isArray(f.value)?f.value.map(C=>H(C)):H(f.value):H(),J=(C,X)=>{const fe=b.value[C],z=Q();return Array.isArray(z)?z.some(ye=>ye.year===(fe==null?void 0:fe.year)&&ye.month===X):(fe==null?void 0:fe.year)===z.year&&X===z.month},S=(C,X,fe)=>{var z,ye;const U=Q();return Array.isArray(U)?h.value(X)===((z=U[fe])==null?void 0:z.year)&&C===((ye=U[fe])==null?void 0:ye.month):!1},G=(C,X)=>{if(l.value.enabled){const fe=Q();if(Array.isArray(f.value)&&Array.isArray(fe)){const z=S(C,X,0)||S(C,X,1),ye=Kt(Ht(pe()),C,h.value(X));return zn(f.value,w.value,ye)&&!z}return!1}return!1},j=t.computed(()=>C=>Ia(x.value,X=>{var fe;const z=J(C,X.value),ye=dn(X.value,kl(h.value(C),d.value.minDate),xl(h.value(C),d.value.maxDate))||g3(d.value.disabledDates,h.value(C)).includes(X.value)||((fe=u.value.months)==null?void 0:fe.includes(X.value)),U=G(X.value,C),ue=Sl(s.value,X.value,h.value(C));return{active:z,disabled:ye,isBetween:U,highlighted:ue}})),Y=(C,X)=>Kt(Ht(pe()),C,h.value(X)),me=(C,X)=>{const fe=f.value?f.value:Ht(new Date);f.value=Kt(fe,C,h.value(X)),a("auto-apply"),a("update-flow-step")},W=(C,X)=>{const fe=Y(C,X);l.value.fixedEnd||l.value.fixedStart?f.value=Dl(fe,f,a,l):f.value?k(fe,f.value)&&(f.value=so(f,Y(C,X),a)):f.value=[Y(C,X)],t.nextTick().then(()=>{Wn(f.value,a,e.autoApply,e.modelAuto)})},_=(C,X)=>{lo(Y(C,X),f,m.value.limit),a("auto-apply",!0)},ie=(C,X)=>(b.value[X].month=C,Z(X,b.value[X].year,C),m.value.enabled?_(C,X):l.value.enabled?W(C,X):me(C,X)),ne=(C,X)=>{B(C,X),Z(X,C,null)},Z=(C,X,fe)=>{let z=fe;if(!z&&z!==0){const ye=Q();z=Array.isArray(ye)?ye[C].month:ye.month}a("update-month-year",{instance:C,year:X,month:z})};return{groupedMonths:j,groupedYears:V,year:h,isDisabled:L,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:o,defaultedConfig:i,showYearPicker:M,modelValue:f,presetDate:(C,X)=>{_l({value:C,modelValue:f,range:l.value.enabled,timezone:X?void 0:p.value.timezone}),a("auto-apply")},setHoverDate:(C,X)=>{w.value=Y(C,X)},selectMonth:ie,selectYear:ne,toggleYearPicker:E,handleYearSelect:N,handleYear:A,getModelMonthYear:Q}},W3=t.defineComponent({compatConfig:{MODE:3},__name:"MonthPicker",props:{...Rt},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=t.useSlots(),i=Vt(o,"yearMode"),l=e;t.onMounted(()=>{l.shadow||r("mount",null)});const{groupedMonths:s,groupedYears:d,year:p,isDisabled:u,defaultedMultiCalendars:m,defaultedConfig:c,showYearPicker:f,modelValue:h,presetDate:y,setHoverDate:b,selectMonth:x,selectYear:w,toggleYearPicker:k,handleYearSelect:B,handleYear:V,getModelMonthYear:M}=q3(l,r);return a({getSidebarProps:()=>({modelValue:h,year:p,getModelMonthYear:M,selectMonth:x,selectYear:w,handleYear:V}),presetDate:y,toggleYearPicker:E=>k(0,E)}),(E,N)=>(t.openBlock(),t.createBlock(qn,{"multi-calendars":t.unref(m).count,collapse:E.collapse,stretch:""},{default:t.withCtx(({instance:A})=>[E.$slots["top-extra"]?t.renderSlot(E.$slots,"top-extra",{key:0,value:E.internalModelValue}):t.createCommentVNode("",!0),E.$slots["month-year"]?t.renderSlot(E.$slots,"month-year",t.normalizeProps(t.mergeProps({key:1},{year:t.unref(p),months:t.unref(s)(A),years:t.unref(d)(A),selectMonth:t.unref(x),selectYear:t.unref(w),instance:A}))):(t.openBlock(),t.createBlock(mn,{key:2,items:t.unref(s)(A),"arrow-navigation":E.arrowNavigation,"is-last":E.autoApply&&!t.unref(c).keepActionRow,"esc-close":E.escClose,height:t.unref(c).modeHeight,config:E.config,"no-overlay-focus":!!(E.noOverlayFocus||E.textInput),"use-relative":"",type:"month",onSelected:L=>t.unref(x)(L,A),onHoverValue:L=>t.unref(b)(L,A)},t.createSlots({header:t.withCtx(()=>[t.createVNode(Nl,t.mergeProps(E.$props,{items:t.unref(d)(A),instance:A,"show-year-picker":t.unref(f)[A],year:t.unref(p)(A),"is-disabled":L=>t.unref(u)(A,L),onHandleYear:L=>t.unref(V)(A,L),onYearSelect:L=>t.unref(B)(L,A),onToggleYearPicker:L=>t.unref(k)(A,L==null?void 0:L.flow,L==null?void 0:L.show)}),t.createSlots({_:2},[t.renderList(t.unref(i),(L,H)=>({name:L,fn:t.withCtx(Q=>[t.renderSlot(E.$slots,L,t.normalizeProps(t.guardReactiveProps(Q)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[E.$slots["month-overlay-value"]?{name:"item",fn:t.withCtx(({item:L})=>[t.renderSlot(E.$slots,"month-overlay-value",{text:L.text,value:L.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),Y3=(e,a)=>{const n=()=>{e.isTextInputDate&&(u.value=Ve(pe(e.startDate)))},{modelValue:r}=pn(e,a,n),o=t.ref(null),{defaultedHighlight:i,defaultedMultiDates:l,defaultedFilters:s,defaultedRange:d,propDates:p}=Ze(e),u=t.ref();t.onMounted(()=>{e.startDate&&(r.value&&e.focusStartDate||!r.value)&&(u.value=Ve(pe(e.startDate)))});const m=y=>Array.isArray(r.value)?r.value.some(b=>Ve(b)===y):r.value?Ve(r.value)===y:!1,c=y=>d.value.enabled&&Array.isArray(r.value)?zn(r.value,o.value,h(y)):!1,f=t.computed(()=>Ia(qr(e.yearRange,e.locale,e.reverseYears),y=>{const b=m(y.value),x=dn(y.value,Ga(p.value.minDate),Ga(p.value.maxDate))||s.value.years.includes(y.value),w=c(y.value)&&!b,k=to(i.value,y.value);return{active:b,disabled:x,isBetween:w,highlighted:k}})),h=y=>Wt(Ht(on(new Date)),y);return{groupedYears:f,modelValue:r,focusYear:u,setHoverValue:y=>{o.value=Wt(Ht(new Date),y)},selectYear:y=>{var b;if(a("update-month-year",{instance:0,year:y}),l.value.enabled)return r.value?Array.isArray(r.value)&&(((b=r.value)==null?void 0:b.map(x=>Ve(x))).includes(y)?r.value=r.value.filter(x=>Ve(x)!==y):r.value.push(Wt(vt(pe()),y))):r.value=[Wt(vt(on(pe())),y)],a("auto-apply",!0);d.value.enabled?(r.value=so(r,h(y),a),t.nextTick().then(()=>{Wn(r.value,a,e.autoApply,e.modelAuto)})):(r.value=h(y),a("auto-apply"))}}},U3=t.defineComponent({compatConfig:{MODE:3},__name:"YearPicker",props:{...Rt},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:a,emit:n}){const r=n,o=e,{groupedYears:i,modelValue:l,focusYear:s,selectYear:d,setHoverValue:p}=Y3(o,r),{defaultedConfig:u}=Ze(o);return a({getSidebarProps:()=>({modelValue:l,selectYear:d})}),(m,c)=>(t.openBlock(),t.createElementBlock("div",null,[m.$slots["top-extra"]?t.renderSlot(m.$slots,"top-extra",{key:0,value:m.internalModelValue}):t.createCommentVNode("",!0),m.$slots["month-year"]?t.renderSlot(m.$slots,"month-year",t.normalizeProps(t.mergeProps({key:1},{years:t.unref(i),selectYear:t.unref(d)}))):(t.openBlock(),t.createBlock(mn,{key:2,items:t.unref(i),"is-last":m.autoApply&&!t.unref(u).keepActionRow,height:t.unref(u).modeHeight,config:m.config,"no-overlay-focus":!!(m.noOverlayFocus||m.textInput),"focus-value":t.unref(s),type:"year","use-relative":"",onSelected:t.unref(d),onHoverValue:t.unref(p)},t.createSlots({_:2},[m.$slots["year-overlay-value"]?{name:"item",fn:t.withCtx(({item:f})=>[t.renderSlot(m.$slots,"year-overlay-value",{text:f.text,value:f.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),X3={key:0,class:"dp__time_input"},Z3=["data-test","aria-label","onKeydown","onClick","onMousedown"],Q3=["aria-label","disabled","data-test","onKeydown","onClick"],K3=["data-test","aria-label","onKeydown","onClick","onMousedown"],J3={key:0},e4=["aria-label"],t4=t.defineComponent({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Rt},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:a,emit:n}){const r=n,o=e,{setTimePickerElements:i,setTimePickerBackRef:l}=ca(),{defaultedAriaLabels:s,defaultedTransitions:d,defaultedFilters:p,defaultedConfig:u,defaultedRange:m}=Ze(o),{transitionName:c,showTransition:f}=hn(d),h=t.reactive({hours:!1,minutes:!1,seconds:!1}),y=t.ref("AM"),b=t.ref(null),x=t.ref([]),w=t.ref(),k=t.ref(!1);t.onMounted(()=>{r("mounted")});const B=g=>We(new Date,{hours:g.hours,minutes:g.minutes,seconds:o.enableSeconds?g.seconds:0,milliseconds:0}),V=t.computed(()=>g=>Y(g,o[g])||E(g,o[g])),M=t.computed(()=>({hours:o.hours,minutes:o.minutes,seconds:o.seconds})),E=(g,D)=>m.value.enabled&&!m.value.disableTimeRangeValidation?!o.validateTime(g,D):!1,N=(g,D)=>{if(m.value.enabled&&!m.value.disableTimeRangeValidation){const F=D?+o[`${g}Increment`]:-+o[`${g}Increment`],O=o[g]+F;return!o.validateTime(g,O)}return!1},A=t.computed(()=>g=>!ne(+o[g]+ +o[`${g}Increment`],g)||N(g,!0)),L=t.computed(()=>g=>!ne(+o[g]-+o[`${g}Increment`],g)||N(g,!1)),H=(g,D)=>Di(We(pe(),g),D),Q=(g,D)=>Kd(We(pe(),g),D),J=t.computed(()=>({dp__time_col:!0,dp__time_col_block:!o.timePickerInline,dp__time_col_reg_block:!o.enableSeconds&&o.is24&&!o.timePickerInline,dp__time_col_reg_inline:!o.enableSeconds&&o.is24&&o.timePickerInline,dp__time_col_reg_with_button:!o.enableSeconds&&!o.is24,dp__time_col_sec:o.enableSeconds&&o.is24,dp__time_col_sec_with_button:o.enableSeconds&&!o.is24})),S=t.computed(()=>{const g=[{type:"hours"}];return o.enableMinutes&&g.push({type:"",separator:!0},{type:"minutes"}),o.enableSeconds&&g.push({type:"",separator:!0},{type:"seconds"}),g}),G=t.computed(()=>S.value.filter(g=>!g.separator)),j=t.computed(()=>g=>{if(g==="hours"){const D=ye(+o.hours);return{text:D<10?`0${D}`:`${D}`,value:D}}return{text:o[g]<10?`0${o[g]}`:`${o[g]}`,value:o[g]}}),Y=(g,D)=>{var F;if(!o.disabledTimesConfig)return!1;const O=o.disabledTimesConfig(o.order,g==="hours"?D:void 0);return O[g]?!!((F=O[g])!=null&&F.includes(D)):!0},me=(g,D)=>D!=="hours"||y.value==="AM"?g:g+12,W=g=>{const D=o.is24?24:12,F=g==="hours"?D:60,O=+o[`${g}GridIncrement`],K=g==="hours"&&!o.is24?O:0,R=[];for(let te=K;te<F;te+=O)R.push({value:o.is24?te:me(te,g),text:te<10?`0${te}`:`${te}`});return g==="hours"&&!o.is24&&R.unshift({value:y.value==="PM"?12:0,text:"12"}),Ia(R,te=>({active:!1,disabled:p.value.times[g].includes(te.value)||!ne(te.value,g)||Y(g,te.value)||E(g,te.value)}))},_=g=>g>=0?g:59,ie=g=>g>=0?g:23,ne=(g,D)=>{const F=o.minTime?B(Zr(o.minTime)):null,O=o.maxTime?B(Zr(o.maxTime)):null,K=B(Zr(M.value,D,D==="minutes"||D==="seconds"?_(g):ie(g)));return F&&O?(cn(K,O)||Ha(K,O))&&($a(K,F)||Ha(K,F)):F?$a(K,F)||Ha(K,F):O?cn(K,O)||Ha(K,O):!0},Z=g=>o[`no${g[0].toUpperCase()+g.slice(1)}Overlay`],C=g=>{Z(g)||(h[g]=!h[g],h[g]?(k.value=!0,r("overlay-opened",g)):(k.value=!1,r("overlay-closed",g)))},X=g=>g==="hours"?Zt:g==="minutes"?oa:La,fe=()=>{w.value&&clearTimeout(w.value)},z=(g,D=!0,F)=>{const O=D?H:Q,K=D?+o[`${g}Increment`]:-+o[`${g}Increment`];ne(+o[g]+K,g)&&r(`update:${g}`,X(g)(O({[g]:+o[g]},{[g]:+o[`${g}Increment`]}))),!(F!=null&&F.keyboard)&&u.value.timeArrowHoldThreshold&&(w.value=setTimeout(()=>{z(g,D)},u.value.timeArrowHoldThreshold))},ye=g=>o.is24?g:(g>=12?y.value="PM":y.value="AM",r3(g)),U=()=>{y.value==="PM"?(y.value="AM",r("update:hours",o.hours-12)):(y.value="PM",r("update:hours",o.hours+12)),r("am-pm-change",y.value)},ue=g=>{h[g]=!0},$=(g,D,F)=>{if(g&&o.arrowNavigation){Array.isArray(x.value[D])?x.value[D][F]=g:x.value[D]=[g];const O=x.value.reduce((K,R)=>R.map((te,ce)=>[...K[ce]||[],R[ce]]),[]);l(o.closeTimePickerBtn),b.value&&(O[1]=O[1].concat(b.value)),i(O,o.order)}},v=(g,D)=>(C(g),r(`update:${g}`,D));return a({openChildCmp:ue}),(g,D)=>{var F;return g.disabled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",X3,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(S.value,(O,K)=>{var R,te,ce;return t.openBlock(),t.createElementBlock("div",{key:K,class:t.normalizeClass(J.value)},[O.separator?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[k.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(":")],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{ref_for:!0,ref:ge=>$(ge,K,0),type:"button",class:t.normalizeClass({dp__btn:!0,dp__inc_dec_button:!g.timePickerInline,dp__inc_dec_button_inline:g.timePickerInline,dp__tp_inline_btn_top:g.timePickerInline,dp__inc_dec_button_disabled:A.value(O.type),"dp--hidden-el":k.value}),"data-test":`${O.type}-time-inc-btn-${o.order}`,"aria-label":(R=t.unref(s))==null?void 0:R.incrementValue(O.type),tabindex:"0",onKeydown:ge=>t.unref(wt)(ge,()=>z(O.type,!0,{keyboard:!0}),!0),onClick:ge=>t.unref(u).timeArrowHoldThreshold?void 0:z(O.type,!0),onMousedown:ge=>t.unref(u).timeArrowHoldThreshold?z(O.type,!0):void 0,onMouseup:fe},[o.timePickerInline?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[g.$slots["tp-inline-arrow-up"]?t.renderSlot(g.$slots,"tp-inline-arrow-up",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[D[2]||(D[2]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),D[3]||(D[3]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[g.$slots["arrow-up"]?t.renderSlot(g.$slots,"arrow-up",{key:0}):t.createCommentVNode("",!0),g.$slots["arrow-up"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(zr),{key:1}))],64))],42,Z3),t.createElementVNode("button",{ref_for:!0,ref:ge=>$(ge,K,1),type:"button","aria-label":`${j.value(O.type).text}-${(te=t.unref(s))==null?void 0:te.openTpOverlay(O.type)}`,class:t.normalizeClass({dp__time_display:!0,dp__time_display_block:!g.timePickerInline,dp__time_display_inline:g.timePickerInline,"dp--time-invalid":V.value(O.type),"dp--time-overlay-btn":!V.value(O.type),"dp--hidden-el":k.value}),disabled:Z(O.type),tabindex:"0","data-test":`${O.type}-toggle-overlay-btn-${o.order}`,onKeydown:ge=>t.unref(wt)(ge,()=>C(O.type),!0),onClick:ge=>C(O.type)},[g.$slots[O.type]?t.renderSlot(g.$slots,O.type,{key:0,text:j.value(O.type).text,value:j.value(O.type).value}):t.createCommentVNode("",!0),g.$slots[O.type]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(j.value(O.type).text),1)],64))],42,Q3),t.createElementVNode("button",{ref_for:!0,ref:ge=>$(ge,K,2),type:"button",class:t.normalizeClass({dp__btn:!0,dp__inc_dec_button:!g.timePickerInline,dp__inc_dec_button_inline:g.timePickerInline,dp__tp_inline_btn_bottom:g.timePickerInline,dp__inc_dec_button_disabled:L.value(O.type),"dp--hidden-el":k.value}),"data-test":`${O.type}-time-dec-btn-${o.order}`,"aria-label":(ce=t.unref(s))==null?void 0:ce.decrementValue(O.type),tabindex:"0",onKeydown:ge=>t.unref(wt)(ge,()=>z(O.type,!1,{keyboard:!0}),!0),onClick:ge=>t.unref(u).timeArrowHoldThreshold?void 0:z(O.type,!1),onMousedown:ge=>t.unref(u).timeArrowHoldThreshold?z(O.type,!1):void 0,onMouseup:fe},[o.timePickerInline?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[g.$slots["tp-inline-arrow-down"]?t.renderSlot(g.$slots,"tp-inline-arrow-down",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[D[4]||(D[4]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),D[5]||(D[5]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[g.$slots["arrow-down"]?t.renderSlot(g.$slots,"arrow-down",{key:0}):t.createCommentVNode("",!0),g.$slots["arrow-down"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Ir),{key:1}))],64))],42,K3)],64))],2)}),128)),g.is24?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",J3,[g.$slots["am-pm-button"]?t.renderSlot(g.$slots,"am-pm-button",{key:0,toggle:U,value:y.value}):t.createCommentVNode("",!0),g.$slots["am-pm-button"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("button",{key:1,ref_key:"amPmButton",ref:b,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(F=t.unref(s))==null?void 0:F.amPmButton,tabindex:"0",onClick:U,onKeydown:D[0]||(D[0]=O=>t.unref(wt)(O,()=>U(),!0))},t.toDisplayString(y.value),41,e4))])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(G.value,(O,K)=>(t.openBlock(),t.createBlock(t.Transition,{key:K,name:t.unref(c)(h[O.type]),css:t.unref(f)},{default:t.withCtx(()=>{var R,te;return[h[O.type]?(t.openBlock(),t.createBlock(mn,{key:0,items:W(O.type),"is-last":g.autoApply&&!t.unref(u).keepActionRow,"esc-close":g.escClose,type:O.type,"text-input":g.textInput,config:g.config,"arrow-navigation":g.arrowNavigation,"aria-labels":g.ariaLabels,"overlay-label":(te=(R=t.unref(s)).timeOverlay)==null?void 0:te.call(R,O.type),onSelected:ce=>v(O.type,ce),onToggle:ce=>C(O.type),onResetFlow:D[1]||(D[1]=ce=>g.$emit("reset-flow"))},t.createSlots({"button-icon":t.withCtx(()=>[g.$slots["clock-icon"]?t.renderSlot(g.$slots,"clock-icon",{key:0}):t.createCommentVNode("",!0),g.$slots["clock-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(g.timePickerInline?t.unref(za):t.unref(Rr)),{key:1}))]),_:2},[g.$slots[`${O.type}-overlay-value`]?{name:"item",fn:t.withCtx(({item:ce})=>[t.renderSlot(g.$slots,`${O.type}-overlay-value`,{text:ce.text,value:ce.value})]),key:"0"}:void 0,g.$slots[`${O.type}-overlay-header`]?{name:"header",fn:t.withCtx(()=>[t.renderSlot(g.$slots,`${O.type}-overlay-header`,{toggle:()=>C(O.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):t.createCommentVNode("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),a4={class:"dp--tp-wrap"},n4=["aria-label","tabindex"],r4=["role","aria-label","tabindex"],o4=["aria-label"],Pl=t.defineComponent({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Rt},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:a,emit:n}){const r=n,o=e,{buildMatrix:i,setTimePicker:l}=ca(),s=t.useSlots(),{defaultedTransitions:d,defaultedAriaLabels:p,defaultedTextInput:u,defaultedConfig:m,defaultedRange:c}=Ze(o),{transitionName:f,showTransition:h}=hn(d),{hideNavigationButtons:y}=Yn(),b=t.ref(null),x=t.ref(null),w=t.ref([]),k=t.ref(null),B=t.ref(!1);t.onMounted(()=>{r("mount"),!o.timePicker&&o.arrowNavigation?i([ct(b.value)],"time"):l(!0,o.timePicker)});const V=t.computed(()=>c.value.enabled&&o.modelAuto?ul(o.internalModelValue):!0),M=t.ref(!1),E=W=>({hours:Array.isArray(o.hours)?o.hours[W]:o.hours,minutes:Array.isArray(o.minutes)?o.minutes[W]:o.minutes,seconds:Array.isArray(o.seconds)?o.seconds[W]:o.seconds}),N=t.computed(()=>{const W=[];if(c.value.enabled)for(let _=0;_<2;_++)W.push(E(_));else W.push(E(0));return W}),A=(W,_=!1,ie="")=>{_||r("reset-flow"),M.value=W,r(W?"overlay-opened":"overlay-closed",yt.time),o.arrowNavigation&&l(W),t.nextTick(()=>{ie!==""&&w.value[0]&&w.value[0].openChildCmp(ie)})},L=t.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:o.autoApply&&!m.value.keepActionRow})),H=Vt(s,"timePicker"),Q=(W,_,ie)=>c.value.enabled?_===0?[W,N.value[1][ie]]:[N.value[0][ie],W]:W,J=W=>{r("update:hours",W)},S=W=>{r("update:minutes",W)},G=W=>{r("update:seconds",W)},j=()=>{if(k.value&&!u.value.enabled&&!o.noOverlayFocus){const W=hl(k.value);W&&W.focus({preventScroll:!0})}},Y=W=>{B.value=!1,r("overlay-closed",W)},me=W=>{B.value=!0,r("overlay-opened",W)};return a({toggleTimePicker:A}),(W,_)=>{var ie;return t.openBlock(),t.createElementBlock("div",a4,[!W.timePicker&&!W.timePickerInline?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:b,type:"button",class:t.normalizeClass({...L.value,"dp--hidden-el":M.value}),"aria-label":(ie=t.unref(p))==null?void 0:ie.openTimePicker,tabindex:W.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:_[0]||(_[0]=ne=>t.unref(wt)(ne,()=>A(!0))),onClick:_[1]||(_[1]=ne=>A(!0))},[W.$slots["clock-icon"]?t.renderSlot(W.$slots,"clock-icon",{key:0}):t.createCommentVNode("",!0),W.$slots["clock-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Rr),{key:1}))],42,n4)),[[t.vShow,!t.unref(y)(W.hideNavigation,"time")]]):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:t.unref(f)(M.value),css:t.unref(h)&&!W.timePickerInline},{default:t.withCtx(()=>{var ne,Z;return[M.value||W.timePicker||W.timePickerInline?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:k,role:W.timePickerInline?void 0:"dialog",class:t.normalizeClass({dp__overlay:!W.timePickerInline,"dp--overlay-absolute":!o.timePicker&&!W.timePickerInline,"dp--overlay-relative":o.timePicker}),style:t.normalizeStyle(W.timePicker?{height:`${t.unref(m).modeHeight}px`}:void 0),"aria-label":(ne=t.unref(p))==null?void 0:ne.timePicker,tabindex:W.timePickerInline?void 0:0},[t.createElementVNode("div",{class:t.normalizeClass(W.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[W.$slots["time-picker-overlay"]?t.renderSlot(W.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:J,setMinutes:S,setSeconds:G}):t.createCommentVNode("",!0),W.$slots["time-picker-overlay"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(W.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(N.value,(C,X)=>t.withDirectives((t.openBlock(),t.createBlock(t4,t.mergeProps({key:X,ref_for:!0},{...W.$props,order:X,hours:C.hours,minutes:C.minutes,seconds:C.seconds,closeTimePickerBtn:x.value,disabledTimesConfig:e.disabledTimesConfig,disabled:X===0?t.unref(c).fixedStart:t.unref(c).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:w,"validate-time":(fe,z)=>e.validateTime(fe,Q(z,X,fe)),"onUpdate:hours":fe=>J(Q(fe,X,"hours")),"onUpdate:minutes":fe=>S(Q(fe,X,"minutes")),"onUpdate:seconds":fe=>G(Q(fe,X,"seconds")),onMounted:j,onOverlayClosed:Y,onOverlayOpened:me,onAmPmChange:_[2]||(_[2]=fe=>W.$emit("am-pm-change",fe))}),t.createSlots({_:2},[t.renderList(t.unref(H),(fe,z)=>({name:fe,fn:t.withCtx(ye=>[t.renderSlot(W.$slots,fe,t.mergeProps({ref_for:!0},ye))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[t.vShow,X===0?!0:V.value]])),128))],2)),!W.timePicker&&!W.timePickerInline?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:2,ref_key:"closeTimePickerBtn",ref:x,type:"button",class:t.normalizeClass({...L.value,"dp--hidden-el":B.value}),"aria-label":(Z=t.unref(p))==null?void 0:Z.closeTimePicker,tabindex:"0",onKeydown:_[3]||(_[3]=C=>t.unref(wt)(C,()=>A(!1))),onClick:_[4]||(_[4]=C=>A(!1))},[W.$slots["calendar-icon"]?t.renderSlot(W.$slots,"calendar-icon",{key:0}):t.createCommentVNode("",!0),W.$slots["calendar-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(za),{key:1}))],42,o4)),[[t.vShow,!t.unref(y)(W.hideNavigation,"time")]]):t.createCommentVNode("",!0)],2)],14,r4)):t.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),Ol=(e,a,n,r)=>{const{defaultedRange:o}=Ze(e),i=(k,B)=>Array.isArray(a[k])?a[k][B]:a[k],l=k=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[k]:a.seconds:0,s=(k,B)=>k?B!==void 0?la(k,i("hours",B),i("minutes",B),l(B)):la(k,a.hours,a.minutes,l()):il(pe(),l(B)),d=(k,B)=>{a[k]=B},p=t.computed(()=>e.modelAuto&&o.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:o.value.enabled),u=(k,B)=>{const V=Object.fromEntries(Object.keys(a).map(M=>M===k?[M,B]:[M,a[M]].slice()));if(p.value&&!o.value.disableTimeRangeValidation){const M=N=>n.value?la(n.value[N],V.hours[N],V.minutes[N],V.seconds[N]):null,E=N=>ol(n.value[N],0);return!(Fe(M(0),M(1))&&($a(M(0),E(1))||cn(M(1),E(0))))}return!0},m=(k,B)=>{u(k,B)&&(d(k,B),r&&r())},c=k=>{m("hours",k)},f=k=>{m("minutes",k)},h=k=>{m("seconds",k)},y=(k,B,V,M)=>{B&&c(k),!B&&!V&&f(k),V&&h(k),n.value&&M(n.value)},b=k=>{if(k){const B=Array.isArray(k),V=B?[+k[0].hours,+k[1].hours]:+k.hours,M=B?[+k[0].minutes,+k[1].minutes]:+k.minutes,E=B?[+k[0].seconds,+k[1].seconds]:+k.seconds;d("hours",V),d("minutes",M),e.enableSeconds&&d("seconds",E)}},x=(k,B)=>{const V={hours:Array.isArray(a.hours)?a.hours[k]:a.hours,disabledArr:[]};return(B||B===0)&&(V.hours=B),Array.isArray(e.disabledTimes)&&(V.disabledArr=o.value.enabled&&Array.isArray(e.disabledTimes[k])?e.disabledTimes[k]:e.disabledTimes),V},w=t.computed(()=>(k,B)=>{var V;if(Array.isArray(e.disabledTimes)){const{disabledArr:M,hours:E}=x(k,B),N=M.filter(A=>+A.hours===E);return((V=N[0])==null?void 0:V.minutes)==="*"?{hours:[E],minutes:void 0,seconds:void 0}:{hours:[],minutes:(N==null?void 0:N.map(A=>+A.minutes))??[],seconds:(N==null?void 0:N.map(A=>A.seconds?+A.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:d,updateHours:c,updateMinutes:f,updateSeconds:h,getSetDateTime:s,updateTimeValues:y,getSecondsValue:l,assignStartTime:b,validateTime:u,disabledTimesConfig:w}},i4=(e,a)=>{const n=()=>{e.isTextInputDate&&B()},{modelValue:r,time:o}=pn(e,a,n),{defaultedStartTime:i,defaultedRange:l,defaultedTz:s}=Ze(e),{updateTimeValues:d,getSetDateTime:p,setTime:u,assignStartTime:m,disabledTimesConfig:c,validateTime:f}=Ol(e,o,r,h);function h(){a("update-flow-step")}const y=M=>{const{hours:E,minutes:N,seconds:A}=M;return{hours:+E,minutes:+N,seconds:A?+A:0}},b=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const E=y(e.startTime[0]),N=y(e.startTime[1]);return[We(pe(),E),We(pe(),N)]}const M=y(e.startTime);return We(pe(),M)}return l.value.enabled?[null,null]:null},x=()=>{if(l.value.enabled){const[M,E]=b();r.value=[At(p(M,0),s.value.timezone),At(p(E,1),s.value.timezone)]}else r.value=At(p(b()),s.value.timezone)},w=M=>Array.isArray(M)?[Va(pe(M[0])),Va(pe(M[1]))]:[Va(M??pe())],k=(M,E,N)=>{u("hours",M),u("minutes",E),u("seconds",e.enableSeconds?N:0)},B=()=>{const[M,E]=w(r.value);return l.value.enabled?k([M.hours,E.hours],[M.minutes,E.minutes],[M.seconds,E.seconds]):k(M.hours,M.minutes,M.seconds)};t.onMounted(()=>{if(!e.shadow)return m(i.value),r.value?B():x()});const V=()=>{Array.isArray(r.value)?r.value=r.value.map((M,E)=>M&&p(M,E)):r.value=p(r.value),a("time-update")};return{modelValue:r,time:o,disabledTimesConfig:c,updateTime:(M,E=!0,N=!1)=>{d(M,E,N,V)},validateTime:f}},l4=t.defineComponent({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...Rt},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.useSlots(),l=Vt(i,"timePicker"),s=t.ref(null),{time:d,modelValue:p,disabledTimesConfig:u,updateTime:m,validateTime:c}=i4(o,r);return t.onMounted(()=>{o.shadow||r("mount",null)}),a({getSidebarProps:()=>({modelValue:p,time:d,updateTime:m}),toggleTimePicker:(f,h=!1,y="")=>{var b;(b=s.value)==null||b.toggleTimePicker(f,h,y)}}),(f,h)=>(t.openBlock(),t.createBlock(qn,{"multi-calendars":0,stretch:""},{default:t.withCtx(()=>[t.createVNode(Pl,t.mergeProps({ref_key:"tpRef",ref:s},f.$props,{hours:t.unref(d).hours,minutes:t.unref(d).minutes,seconds:t.unref(d).seconds,"internal-model-value":f.internalModelValue,"disabled-times-config":t.unref(u),"validate-time":t.unref(c),"onUpdate:hours":h[0]||(h[0]=y=>t.unref(m)(y)),"onUpdate:minutes":h[1]||(h[1]=y=>t.unref(m)(y,!1)),"onUpdate:seconds":h[2]||(h[2]=y=>t.unref(m)(y,!1,!0)),onAmPmChange:h[3]||(h[3]=y=>f.$emit("am-pm-change",y)),onResetFlow:h[4]||(h[4]=y=>f.$emit("reset-flow")),onOverlayClosed:h[5]||(h[5]=y=>f.$emit("overlay-toggle",{open:!1,overlay:y})),onOverlayOpened:h[6]||(h[6]=y=>f.$emit("overlay-toggle",{open:!0,overlay:y}))}),t.createSlots({_:2},[t.renderList(t.unref(l),(y,b)=>({name:y,fn:t.withCtx(x=>[t.renderSlot(f.$slots,y,t.normalizeProps(t.guardReactiveProps(x)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),s4={class:"dp--header-wrap"},c4={key:0,class:"dp__month_year_wrap"},d4={key:0},u4={class:"dp__month_year_wrap"},m4=["data-dp-element","aria-label","data-test","onClick","onKeydown"],f4=t.defineComponent({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...Rt},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:a,emit:n}){const r=n,o=e,{defaultedTransitions:i,defaultedAriaLabels:l,defaultedMultiCalendars:s,defaultedFilters:d,defaultedConfig:p,defaultedHighlight:u,propDates:m,defaultedUI:c}=Ze(o),{transitionName:f,showTransition:h}=hn(i),{buildMatrix:y}=ca(),{handleMonthYearChange:b,isDisabled:x,updateMonthYear:w}=O3(o,r),{showLeftIcon:k,showRightIcon:B}=Yn(),V=t.ref(!1),M=t.ref(!1),E=t.ref(!1),N=t.ref([null,null,null,null]);t.onMounted(()=>{r("mount")});const A=Z=>({get:()=>o[Z],set:C=>{const X=Z===$t.month?$t.year:$t.month;r("update-month-year",{[Z]:C,[X]:o[X]}),Z===$t.month?Y(!0):me(!0)}}),L=t.computed(A($t.month)),H=t.computed(A($t.year)),Q=t.computed(()=>Z=>({month:o.month,year:o.year,items:Z===$t.month?o.months:o.years,instance:o.instance,updateMonthYear:w,toggle:Z===$t.month?Y:me})),J=t.computed(()=>o.months.find(C=>C.value===o.month)||{text:"",value:0}),S=t.computed(()=>Ia(o.months,Z=>{const C=o.month===Z.value,X=dn(Z.value,kl(o.year,m.value.minDate),xl(o.year,m.value.maxDate))||d.value.months.includes(Z.value),fe=Sl(u.value,Z.value,o.year);return{active:C,disabled:X,highlighted:fe}})),G=t.computed(()=>Ia(o.years,Z=>{const C=o.year===Z.value,X=dn(Z.value,Ga(m.value.minDate),Ga(m.value.maxDate))||d.value.years.includes(Z.value),fe=to(u.value,Z.value);return{active:C,disabled:X,highlighted:fe}})),j=(Z,C,X)=>{X!==void 0?Z.value=X:Z.value=!Z.value,Z.value?(E.value=!0,r("overlay-opened",C)):(E.value=!1,r("overlay-closed",C))},Y=(Z=!1,C)=>{W(Z),j(V,yt.month,C)},me=(Z=!1,C)=>{W(Z),j(M,yt.year,C)},W=Z=>{Z||r("reset-flow")},_=(Z,C)=>{o.arrowNavigation&&(N.value[C]=ct(Z),y(N.value,"monthYear"))},ie=t.computed(()=>{var Z,C,X,fe,z,ye;return[{type:$t.month,index:1,toggle:Y,modelValue:L.value,updateModelValue:U=>L.value=U,text:J.value.text,showSelectionGrid:V.value,items:S.value,ariaLabel:(Z=l.value)==null?void 0:Z.openMonthsOverlay,overlayLabel:((X=(C=l.value).monthPicker)==null?void 0:X.call(C,!0))??void 0},{type:$t.year,index:2,toggle:me,modelValue:H.value,updateModelValue:U=>H.value=U,text:pl(o.year,o.locale),showSelectionGrid:M.value,items:G.value,ariaLabel:(fe=l.value)==null?void 0:fe.openYearsOverlay,overlayLabel:((ye=(z=l.value).yearPicker)==null?void 0:ye.call(z,!0))??void 0}]}),ne=t.computed(()=>o.disableYearSelect?[ie.value[0]]:o.yearFirst?[...ie.value].reverse():ie.value);return a({toggleMonthPicker:Y,toggleYearPicker:me,handleMonthYearChange:b}),(Z,C)=>{var X,fe,z,ye,U,ue;return t.openBlock(),t.createElementBlock("div",s4,[Z.$slots["month-year"]?(t.openBlock(),t.createElementBlock("div",c4,[t.renderSlot(Z.$slots,"month-year",t.normalizeProps(t.guardReactiveProps({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:t.unref(w),handleMonthYearChange:t.unref(b),instance:e.instance})))])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Z.$slots["top-extra"]?(t.openBlock(),t.createElementBlock("div",d4,[t.renderSlot(Z.$slots,"top-extra",{value:Z.internalModelValue})])):t.createCommentVNode("",!0),t.createElementVNode("div",u4,[t.unref(k)(t.unref(s),e.instance)&&!Z.vertical?(t.openBlock(),t.createBlock(fn,{key:0,"aria-label":(X=t.unref(l))==null?void 0:X.prevMonth,disabled:t.unref(x)(!1),class:t.normalizeClass((fe=t.unref(c))==null?void 0:fe.navBtnPrev),"el-name":"action-prev",onActivate:C[0]||(C[0]=$=>t.unref(b)(!1,!0)),onSetRef:C[1]||(C[1]=$=>_($,0))},{default:t.withCtx(()=>[Z.$slots["arrow-left"]?t.renderSlot(Z.$slots,"arrow-left",{key:0}):t.createCommentVNode("",!0),Z.$slots["arrow-left"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref($r),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["dp__month_year_wrap",{dp__year_disable_select:Z.disableYearSelect}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ne.value,($,v)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:$.type},[t.createElementVNode("button",{ref_for:!0,ref:g=>_(g,v+1),type:"button","data-dp-element":`overlay-${$.type}`,class:t.normalizeClass(["dp__btn dp__month_year_select",{"dp--hidden-el":E.value}]),"aria-label":`${$.text}-${$.ariaLabel}`,"data-test":`${$.type}-toggle-overlay-${e.instance}`,onClick:$.toggle,onKeydown:g=>t.unref(wt)(g,()=>$.toggle(),!0)},[Z.$slots[$.type]?t.renderSlot(Z.$slots,$.type,{key:0,text:$.text,value:o[$.type]}):t.createCommentVNode("",!0),Z.$slots[$.type]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString($.text),1)],64))],42,m4),t.createVNode(t.Transition,{name:t.unref(f)($.showSelectionGrid),css:t.unref(h)},{default:t.withCtx(()=>[$.showSelectionGrid?(t.openBlock(),t.createBlock(mn,{key:0,items:$.items,"arrow-navigation":Z.arrowNavigation,"hide-navigation":Z.hideNavigation,"is-last":Z.autoApply&&!t.unref(p).keepActionRow,"skip-button-ref":!1,config:Z.config,type:$.type,"header-refs":[],"esc-close":Z.escClose,"menu-wrap-ref":Z.menuWrapRef,"text-input":Z.textInput,"aria-labels":Z.ariaLabels,"overlay-label":$.overlayLabel,onSelected:$.updateModelValue,onToggle:$.toggle},t.createSlots({"button-icon":t.withCtx(()=>[Z.$slots["calendar-icon"]?t.renderSlot(Z.$slots,"calendar-icon",{key:0}):t.createCommentVNode("",!0),Z.$slots["calendar-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(za),{key:1}))]),_:2},[Z.$slots[`${$.type}-overlay-value`]?{name:"item",fn:t.withCtx(({item:g})=>[t.renderSlot(Z.$slots,`${$.type}-overlay-value`,{text:g.text,value:g.value})]),key:"0"}:void 0,Z.$slots[`${$.type}-overlay`]?{name:"overlay",fn:t.withCtx(()=>[t.renderSlot(Z.$slots,`${$.type}-overlay`,t.mergeProps({ref_for:!0},Q.value($.type)))]),key:"1"}:void 0,Z.$slots[`${$.type}-overlay-header`]?{name:"header",fn:t.withCtx(()=>[t.renderSlot(Z.$slots,`${$.type}-overlay-header`,{toggle:$.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):t.createCommentVNode("",!0)]),_:2},1032,["name","css"])],64))),128))],2),t.unref(k)(t.unref(s),e.instance)&&Z.vertical?(t.openBlock(),t.createBlock(fn,{key:1,"aria-label":(z=t.unref(l))==null?void 0:z.prevMonth,"el-name":"action-prev",disabled:t.unref(x)(!1),class:t.normalizeClass((ye=t.unref(c))==null?void 0:ye.navBtnPrev),onActivate:C[2]||(C[2]=$=>t.unref(b)(!1,!0))},{default:t.withCtx(()=>[Z.$slots["arrow-up"]?t.renderSlot(Z.$slots,"arrow-up",{key:0}):t.createCommentVNode("",!0),Z.$slots["arrow-up"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(zr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.unref(B)(t.unref(s),e.instance)?(t.openBlock(),t.createBlock(fn,{key:2,ref:"rightIcon","el-name":"action-next",disabled:t.unref(x)(!0),"aria-label":(U=t.unref(l))==null?void 0:U.nextMonth,class:t.normalizeClass((ue=t.unref(c))==null?void 0:ue.navBtnNext),onActivate:C[3]||(C[3]=$=>t.unref(b)(!0,!0)),onSetRef:C[4]||(C[4]=$=>_($,Z.disableYearSelect?2:3))},{default:t.withCtx(()=>[Z.$slots[Z.vertical?"arrow-down":"arrow-right"]?t.renderSlot(Z.$slots,Z.vertical?"arrow-down":"arrow-right",{key:0}):t.createCommentVNode("",!0),Z.$slots[Z.vertical?"arrow-down":"arrow-right"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(Z.vertical?t.unref(Ir):t.unref(Hr)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):t.createCommentVNode("",!0)])],64))])}}}),h4={class:"dp__calendar_header",role:"row"},p4={key:0,class:"dp__calendar_header_item",role:"gridcell"},g4=["aria-label"],y4={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},k4={class:"dp__cell_inner"},x4=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],b4=t.defineComponent({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...Rt},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:a,emit:n}){const r=n,o=e,{buildMultiLevelMatrix:i}=ca(),{defaultedTransitions:l,defaultedConfig:s,defaultedAriaLabels:d,defaultedMultiCalendars:p,defaultedWeekNumbers:u,defaultedMultiDates:m,defaultedUI:c}=Ze(o),f=t.ref(null),h=t.ref({bottom:"",left:"",transform:""}),y=t.ref([]),b=t.ref(null),x=t.ref(!0),w=t.ref(""),k=t.ref({startX:0,endX:0,startY:0,endY:0}),B=t.ref([]),V=t.ref({left:"50%"}),M=t.ref(!1),E=t.computed(()=>o.calendar?o.calendar(o.mappedDates):o.mappedDates),N=t.computed(()=>o.dayNames?Array.isArray(o.dayNames)?o.dayNames:o.dayNames(o.locale,+o.weekStart):n3(o.formatLocale,o.locale,+o.weekStart));t.onMounted(()=>{r("mount",{cmp:"calendar",refs:y}),s.value.noSwipe||b.value&&(b.value.addEventListener("touchstart",_,{passive:!1}),b.value.addEventListener("touchend",ie,{passive:!1}),b.value.addEventListener("touchmove",ne,{passive:!1})),o.monthChangeOnScroll&&b.value&&b.value.addEventListener("wheel",X,{passive:!1})});const A=$=>$?o.vertical?"vNext":"next":o.vertical?"vPrevious":"previous",L=($,v)=>{if(o.transitions){const g=vt(Kt(pe(),o.month,o.year));w.value=it(vt(Kt(pe(),$,v)),g)?l.value[A(!0)]:l.value[A(!1)],x.value=!1,t.nextTick(()=>{x.value=!0})}},H=t.computed(()=>({...c.value.calendar??{}})),Q=t.computed(()=>$=>{const v=o3($);return{dp__marker_dot:v.type==="dot",dp__marker_line:v.type==="line"}}),J=t.computed(()=>$=>Fe($,f.value)),S=t.computed(()=>({dp__calendar:!0,dp__calendar_next:p.value.count>0&&o.instance!==0})),G=t.computed(()=>$=>o.hideOffsetDates?$.current:!0),j=async($,v)=>{const{width:g,height:D}=$.getBoundingClientRect();f.value=v.value;let F={left:`${g/2}px`},O=-50;if(await t.nextTick(),B.value[0]){const{left:K,width:R}=B.value[0].getBoundingClientRect();K<0&&(F={left:"0"},O=0,V.value.left=`${g/2}px`),window.innerWidth<K+R&&(F={right:"0"},O=0,V.value.left=`${R-g/2}px`)}h.value={bottom:`${D}px`,...F,transform:`translateX(${O}%)`}},Y=async($,v,g)=>{var D,F,O;const K=ct(y.value[v][g]);K&&((D=$.marker)!=null&&D.customPosition&&(O=(F=$.marker)==null?void 0:F.tooltip)!=null&&O.length?h.value=$.marker.customPosition(K):await j(K,$),r("tooltip-open",$.marker))},me=async($,v,g)=>{var D,F;if(M.value&&m.value.enabled&&m.value.dragSelect)return r("select-date",$);r("set-hover-date",$),(F=(D=$.marker)==null?void 0:D.tooltip)!=null&&F.length&&await Y($,v,g)},W=$=>{f.value&&(f.value=null,h.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",$.marker))},_=$=>{k.value.startX=$.changedTouches[0].screenX,k.value.startY=$.changedTouches[0].screenY},ie=$=>{k.value.endX=$.changedTouches[0].screenX,k.value.endY=$.changedTouches[0].screenY,Z()},ne=$=>{o.vertical&&!o.inline&&$.preventDefault()},Z=()=>{const $=o.vertical?"Y":"X";Math.abs(k.value[`start${$}`]-k.value[`end${$}`])>10&&r("handle-swipe",k.value[`start${$}`]>k.value[`end${$}`]?"right":"left")},C=($,v,g)=>{$&&(Array.isArray(y.value[v])?y.value[v][g]=$:y.value[v]=[$]),o.arrowNavigation&&i(y.value,"calendar")},X=$=>{o.monthChangeOnScroll&&($.preventDefault(),r("handle-scroll",$))},fe=$=>u.value.type==="local"?Dr($.value,{weekStartsOn:+o.weekStart}):u.value.type==="iso"?Nr($.value):typeof u.value.type=="function"?u.value.type($.value):"",z=$=>{const v=$[0];return u.value.hideOnOffsetDates?$.some(g=>g.current)?fe(v):"":fe(v)},ye=($,v,g=!0)=>{g&&gl()||!g&&!gl()||m.value.enabled||(ia($,s.value),r("select-date",v))},U=$=>{ia($,s.value)},ue=$=>{m.value.enabled&&m.value.dragSelect?(M.value=!0,r("select-date",$)):m.value.enabled&&r("select-date",$)};return a({triggerTransition:L}),($,v)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(S.value)},[t.createElementVNode("div",{ref_key:"calendarWrapRef",ref:b,class:t.normalizeClass(H.value),role:"grid"},[t.createElementVNode("div",h4,[$.weekNumbers?(t.openBlock(),t.createElementBlock("div",p4,t.toDisplayString($.weekNumName),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(N.value,(g,D)=>{var F,O;return t.openBlock(),t.createElementBlock("div",{key:D,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(O=(F=t.unref(d))==null?void 0:F.weekDay)==null?void 0:O.call(F,D)},[$.$slots["calendar-header"]?t.renderSlot($.$slots,"calendar-header",{key:0,day:g,index:D}):t.createCommentVNode("",!0),$.$slots["calendar-header"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(g),1)],64))],8,g4)}),128))]),v[2]||(v[2]=t.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1)),t.createVNode(t.Transition,{name:w.value,css:!!$.transitions},{default:t.withCtx(()=>[x.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:v[1]||(v[1]=g=>M.value=!1)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(E.value,(g,D)=>(t.openBlock(),t.createElementBlock("div",{key:D,class:"dp__calendar_row",role:"row"},[$.weekNumbers?(t.openBlock(),t.createElementBlock("div",y4,[t.createElementVNode("div",k4,t.toDisplayString(z(g.days)),1)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.days,(F,O)=>{var K,R,te;return t.openBlock(),t.createElementBlock("div",{id:t.unref(Ml)(F.value),ref_for:!0,ref:ce=>C(ce,D,O),key:O+D,role:"gridcell",class:"dp__calendar_item","aria-pressed":(F.classData.dp__active_date||F.classData.dp__range_start||F.classData.dp__range_start)??void 0,"aria-disabled":F.classData.dp__cell_disabled||void 0,"aria-label":(R=(K=t.unref(d))==null?void 0:K.day)==null?void 0:R.call(K,F),tabindex:!F.current&&$.hideOffsetDates?void 0:0,"data-test":F.value,onClick:t.withModifiers(ce=>ye(ce,F),["prevent"]),onTouchend:ce=>ye(ce,F,!1),onKeydown:ce=>t.unref(wt)(ce,()=>$.$emit("select-date",F)),onMouseenter:ce=>me(F,D,O),onMouseleave:ce=>W(F),onMousedown:ce=>ue(F),onMouseup:v[0]||(v[0]=ce=>M.value=!1)},[t.createElementVNode("div",{class:t.normalizeClass(["dp__cell_inner",F.classData])},[$.$slots.day&&G.value(F)?t.renderSlot($.$slots,"day",{key:0,day:+F.text,date:F.value}):t.createCommentVNode("",!0),$.$slots.day?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(F.text),1)],64)),F.marker&&G.value(F)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[$.$slots.marker?t.renderSlot($.$slots,"marker",{key:0,marker:F.marker,day:+F.text,date:F.value}):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(Q.value(F.marker)),style:t.normalizeStyle(F.marker.color?{backgroundColor:F.marker.color}:{})},null,6))],64)):t.createCommentVNode("",!0),J.value(F.value)?(t.openBlock(),t.createElementBlock("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:B,class:"dp__marker_tooltip",style:t.normalizeStyle(h.value)},[(te=F.marker)!=null&&te.tooltip?(t.openBlock(),t.createElementBlock("div",{key:0,class:"dp__tooltip_content",onClick:U},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.marker.tooltip,(ce,ge)=>(t.openBlock(),t.createElementBlock("div",{key:ge,class:"dp__tooltip_text"},[$.$slots["marker-tooltip"]?t.renderSlot($.$slots,"marker-tooltip",{key:0,tooltip:ce,day:F.value}):t.createCommentVNode("",!0),$.$slots["marker-tooltip"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",{class:"dp__tooltip_mark",style:t.normalizeStyle(ce.color?{backgroundColor:ce.color}:{})},null,4),t.createElementVNode("div",null,t.toDisplayString(ce.text),1)],64))]))),128)),t.createElementVNode("div",{class:"dp__arrow_bottom_tp",style:t.normalizeStyle(V.value)},null,4)])):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0)],2)],40,x4)}),128))]))),128))],32)):t.createCommentVNode("",!0)]),_:3},8,["name","css"])],2)],2))}}),Fl=e=>Array.isArray(e),w4=(e,a,n,r)=>{const o=t.ref([]),i=t.ref(new Date),l=t.ref(),s=()=>_(e.isTextInputDate),{modelValue:d,calendars:p,time:u,today:m}=pn(e,a,s),{defaultedMultiCalendars:c,defaultedStartTime:f,defaultedRange:h,defaultedConfig:y,defaultedTz:b,propDates:x,defaultedMultiDates:w}=Ze(e),{validateMonthYearInRange:k,isDisabled:B,isDateRangeAllowed:V,checkMinMaxRange:M}=ua(e),{updateTimeValues:E,getSetDateTime:N,setTime:A,assignStartTime:L,validateTime:H,disabledTimesConfig:Q}=Ol(e,u,d,r),J=t.computed(()=>I=>p.value[I]?p.value[I].month:0),S=t.computed(()=>I=>p.value[I]?p.value[I].year:0),G=I=>!y.value.keepViewOnOffsetClick||I?!0:!l.value,j=(I,P,T,ee=!1)=>{var le,be;G(ee)&&(p.value[I]||(p.value[I]={month:0,year:0}),p.value[I].month=fl(P)?(le=p.value[I])==null?void 0:le.month:P,p.value[I].year=fl(T)?(be=p.value[I])==null?void 0:be.year:T)},Y=()=>{e.autoApply&&a("select-date")};t.onMounted(()=>{e.shadow||(d.value||($(),f.value&&L(f.value)),_(!0),e.focusStartDate&&e.startDate&&$())});const me=t.computed(()=>{var I;return(I=e.flow)!=null&&I.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),W=()=>{e.autoApply&&me.value&&a("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},_=(I=!1)=>{if(d.value)return Array.isArray(d.value)?(o.value=d.value,z(I)):Z(d.value,I);if(c.value.count&&I&&!e.startDate)return ne(pe(),I)},ie=()=>Array.isArray(d.value)&&h.value.enabled?Oe(d.value[0])===Oe(d.value[1]??d.value[0]):!1,ne=(I=new Date,P=!1)=>{if((!c.value.count||!c.value.static||P)&&j(0,Oe(I),Ve(I)),c.value.count&&(!c.value.solo||!d.value||ie()))for(let T=1;T<c.value.count;T++){const ee=We(pe(),{month:J.value(T-1),year:S.value(T-1)}),le=Di(ee,{months:1});p.value[T]={month:Oe(le),year:Ve(le)}}},Z=(I,P)=>{ne(I),A("hours",Zt(I)),A("minutes",oa(I)),A("seconds",La(I)),c.value.count&&P&&ue()},C=I=>{if(c.value.count){if(c.value.solo)return 0;const P=Oe(I[0]),T=Oe(I[1]);return Math.abs(T-P)<c.value.count?0:1}return 1},X=(I,P)=>{I[1]&&h.value.showLastInRange?ne(I[C(I)],P):ne(I[0],P);const T=(ee,le)=>[ee(I[0]),I[1]?ee(I[1]):u[le][1]];A("hours",T(Zt,"hours")),A("minutes",T(oa,"minutes")),A("seconds",T(La,"seconds"))},fe=(I,P)=>{if((h.value.enabled||e.weekPicker)&&!w.value.enabled)return X(I,P);if(w.value.enabled&&P){const T=I[I.length-1];return Z(T,P)}},z=I=>{const P=d.value;fe(P,I),c.value.count&&c.value.solo&&ue()},ye=(I,P)=>{const T=We(pe(),{month:J.value(P),year:S.value(P)}),ee=I<0?Ft(T,1):Ra(T,1);k(Oe(ee),Ve(ee),I<0,e.preventMinMaxNavigation)&&(j(P,Oe(ee),Ve(ee)),a("update-month-year",{instance:P,month:Oe(ee),year:Ve(ee)}),c.value.count&&!c.value.solo&&U(P),n())},U=I=>{for(let P=I-1;P>=0;P--){const T=Ra(We(pe(),{month:J.value(P+1),year:S.value(P+1)}),1);j(P,Oe(T),Ve(T))}for(let P=I+1;P<=c.value.count-1;P++){const T=Ft(We(pe(),{month:J.value(P-1),year:S.value(P-1)}),1);j(P,Oe(T),Ve(T))}},ue=()=>{if(Array.isArray(d.value)&&d.value.length===2){const I=pe(pe(d.value[1]?d.value[1]:Ft(d.value[0],1))),[P,T]=[Oe(d.value[0]),Ve(d.value[0])],[ee,le]=[Oe(d.value[1]),Ve(d.value[1])];(P!==ee||P===ee&&T!==le)&&c.value.solo&&j(1,Oe(I),Ve(I))}else d.value&&!Array.isArray(d.value)&&(j(0,Oe(d.value),Ve(d.value)),ne(pe()))},$=()=>{e.startDate&&(j(0,Oe(pe(e.startDate)),Ve(pe(e.startDate))),c.value.count&&U(0))},v=(I,P)=>{if(e.monthChangeOnScroll){const T=new Date().getTime()-i.value.getTime(),ee=Math.abs(I.deltaY);let le=500;ee>1&&(le=100),ee>100&&(le=0),T>le&&(i.value=new Date,ye(e.monthChangeOnScroll!=="inverse"?-I.deltaY:I.deltaY,P))}},g=(I,P,T=!1)=>{e.monthChangeOnArrows&&e.vertical===T&&D(I,P)},D=(I,P)=>{ye(I==="right"?-1:1,P)},F=I=>{if(x.value.markers)return Rn(I.value,x.value.markers)},O=(I,P)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[I==0,!0];case"fair":return[I==0||P>I,!0];case"append":return[!1,!1];default:return[!1,!1]}},K=(I,P,T,ee)=>{if(e.sixWeeks&&I.length<6){const le=6-I.length,be=(P.getDay()+7-ee)%7,Ae=6-(T.getDay()+7-ee)%7,[De,Pe]=O(be,Ae);for(let je=1;je<=le;je++)if(Pe?!!(je%2)==De:De){const nt=I[0].days[0],xt=R(Ot(nt.value,-7),Oe(P));I.unshift({days:xt})}else{const nt=I[I.length-1],xt=nt.days[nt.days.length-1],st=R(Ot(xt.value,1),Oe(P));I.push({days:st})}}return I},R=(I,P)=>{const T=pe(I),ee=[];for(let le=0;le<7;le++){const be=Ot(T,le),Ae=Oe(be)!==P;ee.push({text:e.hideOffsetDates&&Ae?"":be.getDate(),value:be,current:!Ae,classData:{}})}return ee},te=(I,P)=>{const T=[],ee=new Date(P,I),le=new Date(P,I+1,0),be=e.weekStart,Ae=Lt(ee,{weekStartsOn:be}),De=Pe=>{const je=R(Pe,I);if(T.push({days:je}),!T[T.length-1].days.some(nt=>Fe(vt(nt.value),vt(le)))){const nt=Ot(Pe,7);De(nt)}};return De(Ae),K(T,ee,le,be)},ce=I=>{const P=la(pe(I.value),u.hours,u.minutes,Se());a("date-update",P),w.value.enabled?lo(P,d,w.value.limit):d.value=P,r(),t.nextTick().then(()=>{W()})},ge=I=>h.value.noDisabledRange?bl(o.value[0],I).some(P=>B(P)):!1,xe=()=>{o.value=d.value?d.value.slice():[],o.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(o.value=[])},de=(I,P)=>{const T=[pe(I.value),Ot(pe(I.value),+h.value.autoRange)];V(T)?(P&&Me(I.value),o.value=T):a("invalid-date",I.value)},Me=I=>{const P=Oe(pe(I)),T=Ve(pe(I));if(j(0,P,T),c.value.count>0)for(let ee=1;ee<c.value.count;ee++){const le=m3(We(pe(I),{year:S.value(ee-1),month:J.value(ee-1)}));j(ee,le.month,le.year)}},Ne=I=>{if(ge(I.value)||!M(I.value,d.value,h.value.fixedStart?0:1))return a("invalid-date",I.value);o.value=Dl(pe(I.value),d,a,h)},_e=(I,P)=>{if(xe(),h.value.autoRange)return de(I,P);if(h.value.fixedStart||h.value.fixedEnd)return Ne(I);o.value[0]?M(pe(I.value),d.value)&&!ge(I.value)?tt(pe(I.value),pe(o.value[0]))?(o.value.unshift(pe(I.value)),a("range-end",o.value[0])):(o.value[1]=pe(I.value),a("range-end",o.value[1])):(e.autoApply&&a("auto-apply-invalid",I.value),a("invalid-date",I.value)):(o.value[0]=pe(I.value),a("range-start",o.value[0]))},Se=(I=!0)=>e.enableSeconds?Array.isArray(u.seconds)?I?u.seconds[0]:u.seconds[1]:u.seconds:0,Le=I=>{o.value[I]=la(o.value[I],u.hours[I],u.minutes[I],Se(I!==1))},Be=()=>{var I,P;o.value[0]&&o.value[1]&&+((I=o.value)==null?void 0:I[0])>+((P=o.value)==null?void 0:P[1])&&(o.value.reverse(),a("range-start",o.value[0]),a("range-end",o.value[1]))},q=()=>{o.value.length&&(o.value[0]&&!o.value[1]?Le(0):(Le(0),Le(1),r()),Be(),d.value=o.value.slice(),Wn(o.value,a,e.autoApply,e.modelAuto))},ae=(I,P=!1)=>{if(B(I.value)||!I.current&&e.hideOffsetDates)return a("invalid-date",I.value);if(l.value=JSON.parse(JSON.stringify(I)),!h.value.enabled)return ce(I);Fl(u.hours)&&Fl(u.minutes)&&!w.value.enabled&&(_e(I,P),q())},re=(I,P)=>{var T;j(I,P.month,P.year,!0),c.value.count&&!c.value.solo&&U(I),a("update-month-year",{instance:I,month:P.month,year:P.year}),n(c.value.solo?I:void 0);const ee=(T=e.flow)!=null&&T.length?e.flow[e.flowStep]:void 0;!P.fromNav&&(ee===yt.month||ee===yt.year)&&r()},se=(I,P)=>{_l({value:I,modelValue:d,range:h.value.enabled,timezone:P?void 0:b.value.timezone}),Y(),e.multiCalendars&&t.nextTick().then(()=>_(!0))},Ee=()=>{const I=Gr(pe(),b.value);h.value.enabled?d.value&&Array.isArray(d.value)&&d.value[0]?d.value=tt(I,d.value[0])?[I,d.value[0]]:[d.value[0],I]:d.value=[I]:d.value=I,Y()},he=()=>{if(Array.isArray(d.value))if(w.value.enabled){const I=ke();d.value[d.value.length-1]=N(I)}else d.value=d.value.map((I,P)=>I&&N(I,P));else d.value=N(d.value);a("time-update")},ke=()=>Array.isArray(d.value)&&d.value.length?d.value[d.value.length-1]:null;return{calendars:p,modelValue:d,month:J,year:S,time:u,disabledTimesConfig:Q,today:m,validateTime:H,getCalendarDays:te,getMarker:F,handleScroll:v,handleSwipe:D,handleArrow:g,selectDate:ae,updateMonthYear:re,presetDate:se,selectCurrentDate:Ee,updateTime:(I,P=!0,T=!1)=>{E(I,P,T,he)},assignMonthAndYear:ne}},v4={key:0},E4=t.defineComponent({__name:"DatePicker",props:{...Rt},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=e,{calendars:i,month:l,year:s,modelValue:d,time:p,disabledTimesConfig:u,today:m,validateTime:c,getCalendarDays:f,getMarker:h,handleArrow:y,handleScroll:b,handleSwipe:x,selectDate:w,updateMonthYear:k,presetDate:B,selectCurrentDate:V,updateTime:M,assignMonthAndYear:E}=w4(o,r,ie,ne),N=t.useSlots(),{setHoverDate:A,getDayClassData:L,clearHoverDate:H}=$4(d,o),{defaultedMultiCalendars:Q}=Ze(o),J=t.ref([]),S=t.ref([]),G=t.ref(null),j=Vt(N,"calendar"),Y=Vt(N,"monthYear"),me=Vt(N,"timePicker"),W=v=>{o.shadow||r("mount",v)};t.watch(i,()=>{o.shadow||setTimeout(()=>{r("recalculate-position")},0)},{deep:!0}),t.watch(Q,(v,g)=>{v.count-g.count>0&&E()},{deep:!0});const _=t.computed(()=>v=>f(l.value(v),s.value(v)).map(g=>({...g,days:g.days.map(D=>(D.marker=h(D),D.classData=L(D),D))})));function ie(v){var g;v||v===0?(g=S.value[v])==null||g.triggerTransition(l.value(v),s.value(v)):S.value.forEach((D,F)=>D.triggerTransition(l.value(F),s.value(F)))}function ne(){r("update-flow-step")}const Z=(v,g=!1)=>{w(v,g),o.spaceConfirm&&r("select-date")},C=(v,g,D=0)=>{var F;(F=J.value[D])==null||F.toggleMonthPicker(v,g)},X=(v,g,D=0)=>{var F;(F=J.value[D])==null||F.toggleYearPicker(v,g)},fe=(v,g,D)=>{var F;(F=G.value)==null||F.toggleTimePicker(v,g,D)},z=(v,g)=>{var D;if(!o.range){const F=d.value?d.value:m,O=g?new Date(g):F,K=v?Lt(O,{weekStartsOn:1}):Gi(O,{weekStartsOn:1});w({value:K,current:Oe(O)===l.value(0),text:"",classData:{}}),(D=document.getElementById(Ml(K)))==null||D.focus()}},ye=v=>{var g;(g=J.value[0])==null||g.handleMonthYearChange(v,!0)},U=v=>{k(0,{month:l.value(0),year:s.value(0)+(v?1:-1),fromNav:!0})},ue=(v,g)=>{v===yt.time&&r(`time-picker-${g?"open":"close"}`),r("overlay-toggle",{open:g,overlay:v})},$=v=>{r("overlay-toggle",{open:!1,overlay:v}),r("focus-menu")};return a({clearHoverDate:H,presetDate:B,selectCurrentDate:V,toggleMonthPicker:C,toggleYearPicker:X,toggleTimePicker:fe,handleArrow:y,updateMonthYear:k,getSidebarProps:()=>({modelValue:d,month:l,year:s,time:p,updateTime:M,updateMonthYear:k,selectDate:w,presetDate:B}),changeMonth:ye,changeYear:U,selectWeekDate:z}),(v,g)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(qn,{"multi-calendars":t.unref(Q).count,collapse:v.collapse},{default:t.withCtx(({instance:D,index:F})=>[v.disableMonthYearSelect?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(f4,t.mergeProps({key:0,ref:O=>{O&&(J.value[F]=O)},months:t.unref(dl)(v.formatLocale,v.locale,v.monthNameFormat),years:t.unref(qr)(v.yearRange,v.locale,v.reverseYears),month:t.unref(l)(D),year:t.unref(s)(D),instance:D},v.$props,{onMount:g[0]||(g[0]=O=>W(t.unref(Aa).header)),onResetFlow:g[1]||(g[1]=O=>v.$emit("reset-flow")),onUpdateMonthYear:O=>t.unref(k)(D,O),onOverlayClosed:$,onOverlayOpened:g[2]||(g[2]=O=>v.$emit("overlay-toggle",{open:!0,overlay:O}))}),t.createSlots({_:2},[t.renderList(t.unref(Y),(O,K)=>({name:O,fn:t.withCtx(R=>[t.renderSlot(v.$slots,O,t.normalizeProps(t.guardReactiveProps(R)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),t.createVNode(b4,t.mergeProps({ref:O=>{O&&(S.value[F]=O)},"mapped-dates":_.value(D),month:t.unref(l)(D),year:t.unref(s)(D),instance:D},v.$props,{onSelectDate:O=>t.unref(w)(O,D!==1),onHandleSpace:O=>Z(O,D!==1),onSetHoverDate:g[3]||(g[3]=O=>t.unref(A)(O)),onHandleScroll:O=>t.unref(b)(O,D),onHandleSwipe:O=>t.unref(x)(O,D),onMount:g[4]||(g[4]=O=>W(t.unref(Aa).calendar)),onResetFlow:g[5]||(g[5]=O=>v.$emit("reset-flow")),onTooltipOpen:g[6]||(g[6]=O=>v.$emit("tooltip-open",O)),onTooltipClose:g[7]||(g[7]=O=>v.$emit("tooltip-close",O))}),t.createSlots({_:2},[t.renderList(t.unref(j),(O,K)=>({name:O,fn:t.withCtx(R=>[t.renderSlot(v.$slots,O,t.normalizeProps(t.guardReactiveProps({...R})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),v.enableTimePicker?(t.openBlock(),t.createElementBlock("div",v4,[v.$slots["time-picker"]?t.renderSlot(v.$slots,"time-picker",t.normalizeProps(t.mergeProps({key:0},{time:t.unref(p),updateTime:t.unref(M)}))):(t.openBlock(),t.createBlock(Pl,t.mergeProps({key:1,ref_key:"timePickerRef",ref:G},v.$props,{hours:t.unref(p).hours,minutes:t.unref(p).minutes,seconds:t.unref(p).seconds,"internal-model-value":v.internalModelValue,"disabled-times-config":t.unref(u),"validate-time":t.unref(c),onMount:g[8]||(g[8]=D=>W(t.unref(Aa).timePicker)),"onUpdate:hours":g[9]||(g[9]=D=>t.unref(M)(D)),"onUpdate:minutes":g[10]||(g[10]=D=>t.unref(M)(D,!1)),"onUpdate:seconds":g[11]||(g[11]=D=>t.unref(M)(D,!1,!0)),onResetFlow:g[12]||(g[12]=D=>v.$emit("reset-flow")),onOverlayClosed:g[13]||(g[13]=D=>ue(D,!1)),onOverlayOpened:g[14]||(g[14]=D=>ue(D,!0)),onAmPmChange:g[15]||(g[15]=D=>v.$emit("am-pm-change",D))}),t.createSlots({_:2},[t.renderList(t.unref(me),(D,F)=>({name:D,fn:t.withCtx(O=>[t.renderSlot(v.$slots,D,t.normalizeProps(t.guardReactiveProps(O)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):t.createCommentVNode("",!0)],64))}}),C4=(e,a)=>{const n=t.ref(),{defaultedMultiCalendars:r,defaultedConfig:o,defaultedHighlight:i,defaultedRange:l,propDates:s,defaultedFilters:d,defaultedMultiDates:p}=Ze(e),{modelValue:u,year:m,month:c,calendars:f}=pn(e,a),{isDisabled:h}=ua(e),{selectYear:y,groupedYears:b,showYearPicker:x,isDisabled:w,toggleYearPicker:k,handleYearSelect:B,handleYear:V}=Tl({modelValue:u,multiCalendars:r,range:l,highlight:i,calendars:f,propDates:s,month:c,year:m,filters:d,props:e,emit:a}),M=(G,j)=>[G,j].map(Y=>Gt(Y,"MMMM",{locale:e.formatLocale})).join("-"),E=t.computed(()=>G=>u.value?Array.isArray(u.value)?u.value.some(j=>nl(G,j)):nl(u.value,G):!1),N=G=>{if(l.value.enabled){if(Array.isArray(u.value)){const j=Fe(G,u.value[0])||Fe(G,u.value[1]);return zn(u.value,n.value,G)&&!j}return!1}return!1},A=(G,j)=>G.quarter===Ri(j)&&G.year===Ve(j),L=G=>typeof i.value=="function"?i.value({quarter:Ri(G),year:Ve(G)}):!!i.value.quarters.find(j=>A(j,G)),H=t.computed(()=>G=>{const j=We(new Date,{year:m.value(G)});return i2({start:on(j),end:Ii(j)}).map(Y=>{const me=Sa(Y),W=ji(Y),_=h(Y),ie=N(me),ne=L(me);return{text:M(me,W),value:me,active:E.value(me),highlighted:ne,disabled:_,isBetween:ie}})}),Q=G=>{lo(G,u,p.value.limit),a("auto-apply",!0)},J=G=>{u.value=so(u,G,a),Wn(u.value,a,e.autoApply,e.modelAuto)},S=G=>{u.value=G,a("auto-apply")};return{defaultedConfig:o,defaultedMultiCalendars:r,groupedYears:b,year:m,isDisabled:w,quarters:H,showYearPicker:x,modelValue:u,setHoverDate:G=>{n.value=G},selectYear:y,selectQuarter:(G,j,Y)=>{if(!Y)return f.value[j].month=Oe(ji(G)),p.value.enabled?Q(G):l.value.enabled?J(G):S(G)},toggleYearPicker:k,handleYearSelect:B,handleYear:V}},S4={class:"dp--quarter-items"},M4=["data-test","disabled","onClick","onMouseover"],B4=t.defineComponent({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...Rt},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.useSlots(),l=Vt(i,"yearMode"),{defaultedMultiCalendars:s,defaultedConfig:d,groupedYears:p,year:u,isDisabled:m,quarters:c,modelValue:f,showYearPicker:h,setHoverDate:y,selectQuarter:b,toggleYearPicker:x,handleYearSelect:w,handleYear:k}=C4(o,r);return a({getSidebarProps:()=>({modelValue:f,year:u,selectQuarter:b,handleYearSelect:w,handleYear:k})}),(B,V)=>(t.openBlock(),t.createBlock(qn,{"multi-calendars":t.unref(s).count,collapse:B.collapse,stretch:""},{default:t.withCtx(({instance:M})=>[t.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:t.normalizeStyle({minHeight:`${t.unref(d).modeHeight}px`})},[B.$slots["top-extra"]?t.renderSlot(B.$slots,"top-extra",{key:0,value:B.internalModelValue}):t.createCommentVNode("",!0),t.createElementVNode("div",null,[t.createVNode(Nl,t.mergeProps(B.$props,{items:t.unref(p)(M),instance:M,"show-year-picker":t.unref(h)[M],year:t.unref(u)(M),"is-disabled":E=>t.unref(m)(M,E),onHandleYear:E=>t.unref(k)(M,E),onYearSelect:E=>t.unref(w)(E,M),onToggleYearPicker:E=>t.unref(x)(M,E==null?void 0:E.flow,E==null?void 0:E.show)}),t.createSlots({_:2},[t.renderList(t.unref(l),(E,N)=>({name:E,fn:t.withCtx(A=>[t.renderSlot(B.$slots,E,t.normalizeProps(t.guardReactiveProps(A)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),t.createElementVNode("div",S4,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(c)(M),(E,N)=>(t.openBlock(),t.createElementBlock("div",{key:N},[t.createElementVNode("button",{type:"button",class:t.normalizeClass(["dp--qr-btn",{"dp--qr-btn-active":E.active,"dp--qr-btn-between":E.isBetween,"dp--qr-btn-disabled":E.disabled,"dp--highlighted":E.highlighted}]),"data-test":E.value,disabled:E.disabled,onClick:A=>t.unref(b)(E.value,M,E.disabled),onMouseover:A=>t.unref(y)(E.value)},[B.$slots.quarter?t.renderSlot(B.$slots,"quarter",{key:0,value:E.value,text:E.text}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(E.text),1)],64))],42,M4)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),A4=["id","tabindex","role","aria-label"],V4={key:0,class:"dp--menu-load-container"},N4={key:1,class:"dp--menu-header"},_4={key:0,class:"dp__sidebar_left"},D4=["data-test","onClick","onKeydown"],T4={key:2,class:"dp__sidebar_right"},P4={key:3,class:"dp__action_extra"},Ll=t.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...jn,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.ref(null),l=t.computed(()=>{const{openOnTop:R,...te}=o;return{...te,flowStep:A.value,collapse:o.collapse,noOverlayFocus:o.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:s,setShiftKey:d,control:p}=Bl(),u=t.useSlots(),{defaultedTextInput:m,defaultedInline:c,defaultedConfig:f,defaultedUI:h}=Ze(o),y=t.ref(null),b=t.ref(0),x=t.ref(null),w=t.ref(!1),k=t.ref(null);t.onMounted(()=>{if(!o.shadow){w.value=!0,B(),window.addEventListener("resize",B);const R=ct(i);if(R&&!m.value.enabled&&!c.value.enabled&&(s(!0),j()),R){const te=ce=>{f.value.allowPreventDefault&&ce.preventDefault(),ia(ce,f.value,!0)};R.addEventListener("pointerdown",te),R.addEventListener("mousedown",te)}}}),t.onUnmounted(()=>{window.removeEventListener("resize",B)});const B=()=>{const R=ct(x);R&&(b.value=R.getBoundingClientRect().width)},{arrowRight:V,arrowLeft:M,arrowDown:E,arrowUp:N}=ca(),{flowStep:A,updateFlowStep:L,childMount:H,resetFlow:Q,handleFlow:J}=H4(o,r,k),S=t.computed(()=>o.monthPicker?W3:o.yearPicker?U3:o.timePicker?l4:o.quarterPicker?B4:E4),G=t.computed(()=>{var R;if(f.value.arrowLeft)return f.value.arrowLeft;const te=(R=i.value)==null?void 0:R.getBoundingClientRect(),ce=o.getInputRect();return(ce==null?void 0:ce.width)<(b==null?void 0:b.value)&&(ce==null?void 0:ce.left)<=((te==null?void 0:te.left)??0)?`${(ce==null?void 0:ce.width)/2}px`:(ce==null?void 0:ce.right)>=((te==null?void 0:te.right)??0)&&(ce==null?void 0:ce.width)<(b==null?void 0:b.value)?`${(b==null?void 0:b.value)-(ce==null?void 0:ce.width)/2}px`:"50%"}),j=()=>{const R=ct(i);R&&R.focus({preventScroll:!0})},Y=t.computed(()=>{var R;return((R=k.value)==null?void 0:R.getSidebarProps())||{}}),me=()=>{o.openOnTop&&r("recalculate-position")},W=Vt(u,"action"),_=t.computed(()=>o.monthPicker||o.yearPicker?Vt(u,"monthYear"):o.timePicker?Vt(u,"timePicker"):Vt(u,"shared")),ie=t.computed(()=>o.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),ne=t.computed(()=>({dp__menu_disabled:o.disabled,dp__menu_readonly:o.readonly,"dp-menu-loading":o.loading})),Z=t.computed(()=>({dp__menu:!0,dp__menu_index:!c.value.enabled,dp__relative:c.value.enabled,...h.value.menu??{}})),C=R=>{ia(R,f.value,!0)},X=()=>{o.escClose&&r("close-picker")},fe=R=>{if(o.arrowNavigation){if(R===bt.up)return N();if(R===bt.down)return E();if(R===bt.left)return M();if(R===bt.right)return V()}else R===bt.left||R===bt.up?$("handleArrow",bt.left,0,R===bt.up):$("handleArrow",bt.right,0,R===bt.down)},z=R=>{d(R.shiftKey),!o.disableMonthYearSelect&&R.code===Ue.tab&&R.target.classList.contains("dp__menu")&&p.value.shiftKeyInMenu&&(R.preventDefault(),ia(R,f.value,!0),r("close-picker"))},ye=()=>{j(),r("time-picker-close")},U=R=>{var te,ce,ge;(te=k.value)==null||te.toggleTimePicker(!1,!1),(ce=k.value)==null||ce.toggleMonthPicker(!1,!1,R),(ge=k.value)==null||ge.toggleYearPicker(!1,!1,R)},ue=(R,te=0)=>{var ce,ge,xe;return R==="month"?(ce=k.value)==null?void 0:ce.toggleMonthPicker(!1,!0,te):R==="year"?(ge=k.value)==null?void 0:ge.toggleYearPicker(!1,!0,te):R==="time"?(xe=k.value)==null?void 0:xe.toggleTimePicker(!0,!1):U(te)},$=(R,...te)=>{var ce,ge;(ce=k.value)!=null&&ce[R]&&((ge=k.value)==null||ge[R](...te))},v=()=>{$("selectCurrentDate")},g=(R,te)=>{$("presetDate",R,te)},D=()=>{$("clearHoverDate")},F=(R,te)=>{$("updateMonthYear",R,te)},O=(R,te)=>{R.preventDefault(),fe(te)},K=R=>{var te,ce,ge;if(z(R),R.key===Ue.home||R.key===Ue.end)return $("selectWeekDate",R.key===Ue.home,R.target.getAttribute("id"));switch((R.key===Ue.pageUp||R.key===Ue.pageDown)&&(R.shiftKey?($("changeYear",R.key===Ue.pageUp),(te=Yr(i.value,"overlay-year"))==null||te.focus()):($("changeMonth",R.key===Ue.pageUp),(ce=Yr(i.value,R.key===Ue.pageUp?"action-prev":"action-next"))==null||ce.focus()),R.target.getAttribute("id")&&((ge=i.value)==null||ge.focus({preventScroll:!0}))),R.key){case Ue.esc:return X();case Ue.arrowLeft:return O(R,bt.left);case Ue.arrowRight:return O(R,bt.right);case Ue.arrowUp:return O(R,bt.up);case Ue.arrowDown:return O(R,bt.down);default:return}};return a({updateMonthYear:F,switchView:ue,handleFlow:J}),(R,te)=>{var ce,ge,xe;return t.openBlock(),t.createElementBlock("div",{id:R.uid?`dp-menu-${R.uid}`:void 0,ref_key:"dpMenuRef",ref:i,tabindex:t.unref(c).enabled?void 0:"0",role:t.unref(c).enabled?void 0:"dialog","aria-label":(ce=R.ariaLabels)==null?void 0:ce.menu,class:t.normalizeClass(Z.value),style:t.normalizeStyle({"--dp-arrow-left":G.value}),onMouseleave:D,onClick:C,onKeydown:K},[(R.disabled||R.readonly)&&t.unref(c).enabled||R.loading?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(ne.value)},[R.loading?(t.openBlock(),t.createElementBlock("div",V4,te[19]||(te[19]=[t.createElementVNode("span",{class:"dp--menu-loader"},null,-1)]))):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),R.$slots["menu-header"]?(t.openBlock(),t.createElementBlock("div",N4,[t.renderSlot(R.$slots,"menu-header")])):t.createCommentVNode("",!0),!t.unref(c).enabled&&!R.teleportCenter?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(ie.value)},null,2)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"innerMenuRef",ref:x,class:t.normalizeClass({dp__menu_content_wrapper:((ge=R.presetDates)==null?void 0:ge.length)||!!R.$slots["left-sidebar"]||!!R.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((xe=R.presetDates)==null?void 0:xe.length)||!!R.$slots["left-sidebar"]||!!R.$slots["right-sidebar"])}),style:t.normalizeStyle({"--dp-menu-width":`${b.value}px`})},[R.$slots["left-sidebar"]?(t.openBlock(),t.createElementBlock("div",_4,[t.renderSlot(R.$slots,"left-sidebar",t.normalizeProps(t.guardReactiveProps(Y.value)))])):t.createCommentVNode("",!0),R.presetDates.length?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(R.presetDates,(de,Me)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:Me},[de.slot?t.renderSlot(R.$slots,de.slot,{key:0,presetDate:g,label:de.label,value:de.value}):(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",style:t.normalizeStyle(de.style||{}),class:t.normalizeClass(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test":de.testId??void 0,onClick:t.withModifiers(Ne=>g(de.value,de.noTz),["prevent"]),onKeydown:Ne=>t.unref(wt)(Ne,()=>g(de.value,de.noTz),!0)},t.toDisplayString(de.label),47,D4))],64))),128))],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"calendarWrapperRef",ref:y,class:"dp__instance_calendar",role:"document"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(S.value),t.mergeProps({ref_key:"dynCmpRef",ref:k},l.value,{"flow-step":t.unref(A),onMount:t.unref(H),onUpdateFlowStep:t.unref(L),onResetFlow:t.unref(Q),onFocusMenu:j,onSelectDate:te[0]||(te[0]=de=>R.$emit("select-date")),onDateUpdate:te[1]||(te[1]=de=>R.$emit("date-update",de)),onTooltipOpen:te[2]||(te[2]=de=>R.$emit("tooltip-open",de)),onTooltipClose:te[3]||(te[3]=de=>R.$emit("tooltip-close",de)),onAutoApply:te[4]||(te[4]=de=>R.$emit("auto-apply",de)),onRangeStart:te[5]||(te[5]=de=>R.$emit("range-start",de)),onRangeEnd:te[6]||(te[6]=de=>R.$emit("range-end",de)),onInvalidFixedRange:te[7]||(te[7]=de=>R.$emit("invalid-fixed-range",de)),onTimeUpdate:te[8]||(te[8]=de=>R.$emit("time-update")),onAmPmChange:te[9]||(te[9]=de=>R.$emit("am-pm-change",de)),onTimePickerOpen:te[10]||(te[10]=de=>R.$emit("time-picker-open",de)),onTimePickerClose:ye,onRecalculatePosition:me,onUpdateMonthYear:te[11]||(te[11]=de=>R.$emit("update-month-year",de)),onAutoApplyInvalid:te[12]||(te[12]=de=>R.$emit("auto-apply-invalid",de)),onInvalidDate:te[13]||(te[13]=de=>R.$emit("invalid-date",de)),onOverlayToggle:te[14]||(te[14]=de=>R.$emit("overlay-toggle",de)),"onUpdate:internalModelValue":te[15]||(te[15]=de=>R.$emit("update:internal-model-value",de))}),t.createSlots({_:2},[t.renderList(_.value,(de,Me)=>({name:de,fn:t.withCtx(Ne=>[t.renderSlot(R.$slots,de,t.normalizeProps(t.guardReactiveProps({...Ne})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),R.$slots["right-sidebar"]?(t.openBlock(),t.createElementBlock("div",T4,[t.renderSlot(R.$slots,"right-sidebar",t.normalizeProps(t.guardReactiveProps(Y.value)))])):t.createCommentVNode("",!0),R.$slots["action-extra"]?(t.openBlock(),t.createElementBlock("div",P4,[R.$slots["action-extra"]?t.renderSlot(R.$slots,"action-extra",{key:0,selectCurrentDate:v}):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],6),!R.autoApply||t.unref(f).keepActionRow?(t.openBlock(),t.createBlock($3,t.mergeProps({key:3,"menu-mount":w.value},l.value,{"calendar-width":b.value,onClosePicker:te[16]||(te[16]=de=>R.$emit("close-picker")),onSelectDate:te[17]||(te[17]=de=>R.$emit("select-date")),onInvalidSelect:te[18]||(te[18]=de=>R.$emit("invalid-select")),onSelectNow:v}),t.createSlots({_:2},[t.renderList(t.unref(W),(de,Me)=>({name:de,fn:t.withCtx(Ne=>[t.renderSlot(R.$slots,de,t.normalizeProps(t.guardReactiveProps({...Ne})))])}))]),1040,["menu-mount","calendar-width"])):t.createCommentVNode("",!0)],46,A4)}}});var qa=(e=>(e.center="center",e.left="left",e.right="right",e))(qa||{});const O4=({menuRef:e,menuRefInner:a,inputRef:n,pickerWrapperRef:r,inline:o,emit:i,props:l,slots:s})=>{const{defaultedConfig:d}=Ze(l),p=t.ref({}),u=t.ref(!1),m=t.ref({top:"0",left:"0"}),c=t.ref(!1),f=t.toRef(l,"teleportCenter");t.watch(f,()=>{m.value=JSON.parse(JSON.stringify({})),V()});const h=j=>{if(l.teleport){const Y=j.getBoundingClientRect();return{left:Y.left+window.scrollX,top:Y.top+window.scrollY}}return{top:0,left:0}},y=(j,Y)=>{m.value.left=`${j+Y-p.value.width}px`},b=j=>{m.value.left=`${j}px`},x=(j,Y)=>{l.position===qa.left&&b(j),l.position===qa.right&&y(j,Y),l.position===qa.center&&(m.value.left=`${j+Y/2-p.value.width/2}px`)},w=j=>{const{width:Y,height:me}=j.getBoundingClientRect(),{top:W,left:_}=l.altPosition?l.altPosition(j):h(j);return{top:+W,left:+_,width:Y,height:me}},k=()=>{m.value.left="50%",m.value.top="50%",m.value.transform="translate(-50%, -50%)",m.value.position="fixed",delete m.value.opacity},B=()=>{const j=ct(n),{top:Y,left:me,transform:W}=l.altPosition(j);m.value={top:`${Y}px`,left:`${me}px`,transform:W??""}},V=(j=!0)=>{var Y;if(!o.value.enabled){if(f.value)return k();if(l.altPosition!==null)return B();if(j){const me=l.teleport?(Y=a.value)==null?void 0:Y.$el:e.value;me&&(p.value=me.getBoundingClientRect()),i("recalculate-position")}return Q()}},M=({inputEl:j,left:Y,width:me})=>{window.screen.width>768&&!u.value&&x(Y,me),A(j)},E=j=>{const{top:Y,left:me,height:W,width:_}=w(j);m.value.top=`${W+Y+ +l.offset}px`,c.value=!1,u.value||(m.value.left=`${me+_/2-p.value.width/2}px`),M({inputEl:j,left:me,width:_})},N=j=>{const{top:Y,left:me,width:W}=w(j);m.value.top=`${Y-+l.offset-p.value.height}px`,c.value=!0,M({inputEl:j,left:me,width:W})},A=j=>{if(l.autoPosition){const{left:Y,width:me}=w(j),{left:W,right:_}=p.value;if(!u.value){if(Math.abs(W)!==Math.abs(_)){if(W<=0)return u.value=!0,b(Y);if(_>=document.documentElement.clientWidth)return u.value=!0,y(Y,me)}return x(Y,me)}}},L=()=>{const j=ct(n);if(j){const{height:Y}=p.value,{top:me,height:W}=j.getBoundingClientRect(),_=window.innerHeight-me-W,ie=me;return Y<=_?Ba.bottom:Y>_&&Y<=ie?Ba.top:_>=ie?Ba.bottom:Ba.top}return Ba.bottom},H=j=>L()===Ba.bottom?E(j):N(j),Q=()=>{const j=ct(n);if(j)return l.autoPosition?H(j):E(j)},J=function(j){if(j){const Y=j.scrollHeight>j.clientHeight,me=window.getComputedStyle(j).overflowY.indexOf("hidden")!==-1;return Y&&!me}return!0},S=function(j){return!j||j===document.body||j.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:J(j)?j:S(j.assignedSlot&&d.value.shadowDom?j.assignedSlot.parentNode:j.parentNode)},G=j=>{if(j)switch(l.position){case qa.left:return{left:0,transform:"translateX(0)"};case qa.right:return{left:`${j.width}px`,transform:"translateX(-100%)"};default:return{left:`${j.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:c,menuStyle:m,xCorrect:u,setMenuPosition:V,getScrollableParent:S,shadowRender:(j,Y)=>{var me,W,_;const ie=document.createElement("div"),ne=(me=ct(n))==null?void 0:me.getBoundingClientRect();ie.setAttribute("id","dp--temp-container");const Z=(W=r.value)!=null&&W.clientWidth?r.value:document.body;Z.append(ie);const C=G(ne),X=d.value.shadowDom?Object.keys(s).filter(z=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(z)):Object.keys(s),fe=t.h(j,{...Y,shadow:!0,style:{opacity:0,position:"absolute",...C}},Object.fromEntries(X.map(z=>[z,s[z]])));t.render(fe,ie),p.value=(_=fe.el)==null?void 0:_.getBoundingClientRect(),t.render(null,ie),Z.removeChild(ie)}}},da=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],F4=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],L4={all:()=>da,monthYear:()=>da.filter(e=>e.use.includes("month-year")),input:()=>F4,timePicker:()=>da.filter(e=>e.use.includes("time")),action:()=>da.filter(e=>e.use.includes("action")),calendar:()=>da.filter(e=>e.use.includes("calendar")),menu:()=>da.filter(e=>e.use.includes("menu")),shared:()=>da.filter(e=>e.use.includes("shared")),yearMode:()=>da.filter(e=>e.use.includes("year-mode"))},Vt=(e,a,n)=>{const r=[];return L4[a]().forEach(o=>{e[o.name]&&r.push(o.name)}),n!=null&&n.length&&n.forEach(o=>{o.slot&&r.push(o.slot)}),r},hn=e=>{const a=t.computed(()=>r=>e.value?r?e.value.open:e.value.close:""),n=t.computed(()=>r=>e.value?r?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:a,showTransition:!!e.value,menuTransition:n}},pn=(e,a,n)=>{const{defaultedRange:r,defaultedTz:o}=Ze(e),i=pe(At(pe(),o.value.timezone)),l=t.ref([{month:Oe(i),year:Ve(i)}]),s=c=>{const f={hours:Zt(i),minutes:oa(i),seconds:0};return r.value.enabled?[f[c],f[c]]:f[c]},d=t.reactive({hours:s("hours"),minutes:s("minutes"),seconds:s("seconds")});t.watch(r,(c,f)=>{c.enabled!==f.enabled&&(d.hours=s("hours"),d.minutes=s("minutes"),d.seconds=s("seconds"))},{deep:!0});const p=t.computed({get:()=>e.internalModelValue,set:c=>{!e.readonly&&!e.disabled&&a("update:internal-model-value",c)}}),u=t.computed(()=>c=>l.value[c]?l.value[c].month:0),m=t.computed(()=>c=>l.value[c]?l.value[c].year:0);return t.watch(p,(c,f)=>{n&&JSON.stringify(c??{})!==JSON.stringify(f??{})&&n()},{deep:!0}),{calendars:l,time:d,modelValue:p,month:u,year:m,today:i}},$4=(e,a)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedUI:o,defaultedHighlight:i,defaultedTz:l,propDates:s,defaultedRange:d}=Ze(a),{isDisabled:p}=ua(a),u=t.ref(null),m=t.ref(At(new Date,l.value.timezone)),c=C=>{!C.current&&a.hideOffsetDates||(u.value=C.value)},f=()=>{u.value=null},h=C=>Array.isArray(e.value)&&d.value.enabled&&e.value[0]&&u.value?C?it(u.value,e.value[0]):tt(u.value,e.value[0]):!0,y=(C,X)=>{const fe=()=>e.value?X?e.value[0]||null:e.value[1]:null,z=e.value&&Array.isArray(e.value)?fe():null;return Fe(pe(C.value),z)},b=C=>{const X=Array.isArray(e.value)?e.value[0]:null;return C?!tt(u.value??null,X):!0},x=(C,X=!0)=>(d.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!C.current?!1:Fe(pe(C.value),e.value[X?0:1]):d.value.enabled?y(C,X)&&b(X)||Fe(C.value,Array.isArray(e.value)?e.value[0]:null)&&h(X):!1,w=(C,X)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const fe=Fe(C.value,u.value);return X?it(e.value[0],C.value)&&fe:tt(e.value[0],C.value)&&fe}return!1},k=C=>!e.value||a.hideOffsetDates&&!C.current?!1:d.value.enabled?a.modelAuto&&Array.isArray(e.value)?Fe(C.value,e.value[0]?e.value[0]:m.value):!1:r.value.enabled&&Array.isArray(e.value)?e.value.some(X=>Fe(X,C.value)):Fe(C.value,e.value?e.value:m.value),B=C=>{if(d.value.autoRange||a.weekPicker){if(u.value){if(a.hideOffsetDates&&!C.current)return!1;const X=Ot(u.value,+d.value.autoRange),fe=Qt(pe(u.value),a.weekStart);return a.weekPicker?Fe(fe[1],pe(C.value)):Fe(X,pe(C.value))}return!1}return!1},V=C=>{if(d.value.autoRange||a.weekPicker){if(u.value){const X=Ot(u.value,+d.value.autoRange);if(a.hideOffsetDates&&!C.current)return!1;const fe=Qt(pe(u.value),a.weekStart);return a.weekPicker?it(C.value,fe[0])&&tt(C.value,fe[1]):it(C.value,u.value)&&tt(C.value,X)}return!1}return!1},M=C=>{if(d.value.autoRange||a.weekPicker){if(u.value){if(a.hideOffsetDates&&!C.current)return!1;const X=Qt(pe(u.value),a.weekStart);return a.weekPicker?Fe(X[0],C.value):Fe(u.value,C.value)}return!1}return!1},E=C=>zn(e.value,u.value,C.value),N=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,A=()=>a.modelAuto?ul(a.internalModelValue):!0,L=C=>{if(a.weekPicker)return!1;const X=d.value.enabled?!x(C)&&!x(C,!1):!0;return!p(C.value)&&!k(C)&&!(!C.current&&a.hideOffsetDates)&&X},H=C=>d.value.enabled?a.modelAuto?N()&&k(C):!1:k(C),Q=C=>i.value?c3(C.value,s.value.highlight):!1,J=C=>{const X=p(C.value);return X&&(typeof i.value=="function"?!i.value(C.value,X):!i.value.options.highlightDisabled)},S=C=>{var X;return typeof i.value=="function"?i.value(C.value):(X=i.value.weekdays)==null?void 0:X.includes(C.value.getDay())},G=C=>(d.value.enabled||a.weekPicker)&&(!(n.value.count>0)||C.current)&&A()&&!(!C.current&&a.hideOffsetDates)&&!k(C)?E(C):!1,j=C=>{const{isRangeStart:X,isRangeEnd:fe}=_(C),z=d.value.enabled?X||fe:!1;return{dp__cell_offset:!C.current,dp__pointer:!a.disabled&&!(!C.current&&a.hideOffsetDates)&&!p(C.value),dp__cell_disabled:p(C.value),dp__cell_highlight:!J(C)&&(Q(C)||S(C))&&!H(C)&&!z&&!M(C)&&!(G(C)&&a.weekPicker)&&!fe,dp__cell_highlight_active:!J(C)&&(Q(C)||S(C))&&H(C),dp__today:!a.noToday&&Fe(C.value,m.value)&&C.current,"dp--past":tt(C.value,m.value),"dp--future":it(C.value,m.value)}},Y=C=>({dp__active_date:H(C),dp__date_hover:L(C)}),me=C=>{if(e.value&&!Array.isArray(e.value)){const X=Qt(e.value,a.weekStart);return{...ne(C),dp__range_start:Fe(X[0],C.value),dp__range_end:Fe(X[1],C.value),dp__range_between_week:it(C.value,X[0])&&tt(C.value,X[1])}}return{...ne(C)}},W=C=>{if(e.value&&Array.isArray(e.value)){const X=Qt(e.value[0],a.weekStart),fe=e.value[1]?Qt(e.value[1],a.weekStart):[];return{...ne(C),dp__range_start:Fe(X[0],C.value)||Fe(fe[0],C.value),dp__range_end:Fe(X[1],C.value)||Fe(fe[1],C.value),dp__range_between_week:it(C.value,X[0])&&tt(C.value,X[1])||it(C.value,fe[0])&&tt(C.value,fe[1]),dp__range_between:it(C.value,X[1])&&tt(C.value,fe[0])}}return{...ne(C)}},_=C=>{const X=n.value.count>0?C.current&&x(C)&&A():x(C)&&A(),fe=n.value.count>0?C.current&&x(C,!1)&&A():x(C,!1)&&A();return{isRangeStart:X,isRangeEnd:fe}},ie=C=>{const{isRangeStart:X,isRangeEnd:fe}=_(C);return{dp__range_start:X,dp__range_end:fe,dp__range_between:G(C),dp__date_hover:Fe(C.value,u.value)&&!X&&!fe&&!a.weekPicker,dp__date_hover_start:w(C,!0),dp__date_hover_end:w(C,!1)}},ne=C=>({...ie(C),dp__cell_auto_range:V(C),dp__cell_auto_range_start:M(C),dp__cell_auto_range_end:B(C)}),Z=C=>d.value.enabled?d.value.autoRange?ne(C):a.modelAuto?{...Y(C),...ie(C)}:a.weekPicker?W(C):ie(C):a.weekPicker?me(C):Y(C);return{setHoverDate:c,clearHoverDate:f,getDayClassData:C=>a.hideOffsetDates&&!C.current?{}:{...j(C),...Z(C),[a.dayClass?a.dayClass(C.value,a.internalModelValue):""]:!0,...o.value.calendarCell??{}}}},ua=e=>{const{defaultedFilters:a,defaultedRange:n,propDates:r,defaultedMultiDates:o}=Ze(e),i=S=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(pe(S)):!!Rn(S,r.value.disabledDates):!1,l=S=>r.value.maxDate?e.yearPicker?Ve(S)>Ve(r.value.maxDate):it(S,r.value.maxDate):!1,s=S=>r.value.minDate?e.yearPicker?Ve(S)<Ve(r.value.minDate):tt(S,r.value.minDate):!1,d=S=>{const G=l(S),j=s(S),Y=i(S),me=a.value.months.map(Z=>+Z).includes(Oe(S)),W=e.disabledWeekDays.length?e.disabledWeekDays.some(Z=>+Z===Q2(S)):!1,_=f(S),ie=Ve(S),ne=ie<+e.yearRange[0]||ie>+e.yearRange[1];return!(G||j||Y||me||ne||W||_)},p=(S,G)=>tt(...sa(r.value.minDate,S,G))||Fe(...sa(r.value.minDate,S,G)),u=(S,G)=>it(...sa(r.value.maxDate,S,G))||Fe(...sa(r.value.maxDate,S,G)),m=(S,G,j)=>{let Y=!1;return r.value.maxDate&&j&&u(S,G)&&(Y=!0),r.value.minDate&&!j&&p(S,G)&&(Y=!0),Y},c=(S,G,j,Y)=>{let me=!1;return Y&&(r.value.minDate||r.value.maxDate)?r.value.minDate&&r.value.maxDate?me=m(S,G,j):(r.value.minDate&&p(S,G)||r.value.maxDate&&u(S,G))&&(me=!0):me=!0,me},f=S=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!Rn(S,r.value.allowedDates):!1,h=S=>!d(S),y=S=>n.value.noDisabledRange?!zi({start:S[0],end:S[1]}).some(G=>h(G)):!0,b=S=>{if(S){const G=Ve(S);return G>=+e.yearRange[0]&&G<=e.yearRange[1]}return!0},x=(S,G)=>!!(Array.isArray(S)&&S[G]&&(n.value.maxRange||n.value.minRange)&&b(S[G])),w=(S,G,j=0)=>{if(x(G,j)&&b(S)){const Y=Li(S,G[j]),me=bl(G[j],S),W=me.length===1?0:me.filter(ie=>h(ie)).length,_=Math.abs(Y)-(n.value.minMaxRawRange?0:W);if(n.value.minRange&&n.value.maxRange)return _>=+n.value.minRange&&_<=+n.value.maxRange;if(n.value.minRange)return _>=+n.value.minRange;if(n.value.maxRange)return _<=+n.value.maxRange}return!0},k=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,B=S=>Array.isArray(S)?[S[0]?eo(S[0]):null,S[1]?eo(S[1]):null]:eo(S),V=(S,G,j)=>S.find(Y=>+Y.hours===Zt(G)&&Y.minutes==="*"?!0:+Y.minutes===oa(G)&&+Y.hours===Zt(G))&&j,M=(S,G,j)=>{const[Y,me]=S,[W,_]=G;return!V(Y,W,j)&&!V(me,_,j)&&j},E=(S,G)=>{const j=Array.isArray(G)?G:[G];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?M(e.disabledTimes,j,S):!j.some(Y=>V(e.disabledTimes,Y,S)):S},N=(S,G)=>{const j=Array.isArray(G)?[Va(G[0]),G[1]?Va(G[1]):void 0]:Va(G),Y=!e.disabledTimes(j);return S&&Y},A=(S,G)=>e.disabledTimes?Array.isArray(e.disabledTimes)?E(G,S):N(G,S):G,L=S=>{let G=!0;if(!S||k())return!0;const j=!r.value.minDate&&!r.value.maxDate?B(S):S;return(e.maxTime||r.value.maxDate)&&(G=Cl(e.maxTime,r.value.maxDate,"max",mt(j),G)),(e.minTime||r.value.minDate)&&(G=Cl(e.minTime,r.value.minDate,"min",mt(j),G)),A(S,G)},H=S=>{if(!e.monthPicker)return!0;let G=!0;const j=pe(Ht(S));if(r.value.minDate&&r.value.maxDate){const Y=pe(Ht(r.value.minDate)),me=pe(Ht(r.value.maxDate));return it(j,Y)&&tt(j,me)||Fe(j,Y)||Fe(j,me)}if(r.value.minDate){const Y=pe(Ht(r.value.minDate));G=it(j,Y)||Fe(j,Y)}if(r.value.maxDate){const Y=pe(Ht(r.value.maxDate));G=tt(j,Y)||Fe(j,Y)}return G},Q=t.computed(()=>S=>!e.enableTimePicker||e.ignoreTimeValidation?!0:L(S)),J=t.computed(()=>S=>e.monthPicker?Array.isArray(S)&&(n.value.enabled||o.value.enabled)?!S.filter(G=>!H(G)).length:H(S):!0);return{isDisabled:h,validateDate:d,validateMonthYearInRange:c,isDateRangeAllowed:y,checkMinMaxRange:w,isValidTime:L,isTimeValid:Q,isMonthValid:J}},Yn=()=>{const e=t.computed(()=>(r,o)=>r==null?void 0:r.includes(o)),a=t.computed(()=>(r,o)=>r.count?r.solo?!0:o===0:!0),n=t.computed(()=>(r,o)=>r.count?r.solo?!0:o===r.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:a,showRightIcon:n}},H4=(e,a,n)=>{const r=t.ref(0),o=t.reactive({[Aa.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[Aa.calendar]:!1,[Aa.header]:!1}),i=t.computed(()=>e.monthPicker||e.timePicker),l=m=>{var c;if((c=e.flow)!=null&&c.length){if(!m&&i.value)return u();o[m]=!0,Object.keys(o).filter(f=>!o[f]).length||u()}},s=()=>{var m,c;(m=e.flow)!=null&&m.length&&r.value!==-1&&(r.value+=1,a("flow-step",r.value),u()),((c=e.flow)==null?void 0:c.length)===r.value&&t.nextTick().then(()=>d())},d=()=>{r.value=-1},p=(m,c,...f)=>{var h,y;e.flow[r.value]===m&&n.value&&((y=(h=n.value)[c])==null||y.call(h,...f))},u=(m=0)=>{m&&(r.value+=m),p(yt.month,"toggleMonthPicker",!0),p(yt.year,"toggleYearPicker",!0),p(yt.calendar,"toggleTimePicker",!1,!0),p(yt.time,"toggleTimePicker",!0,!0);const c=e.flow[r.value];(c===yt.hours||c===yt.minutes||c===yt.seconds)&&p(c,"toggleTimePicker",!0,!0,c)};return{childMount:l,updateFlowStep:s,resetFlow:d,handleFlow:u,flowStep:r}},R4={key:1,class:"dp__input_wrap"},z4=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],I4={key:2,class:"dp--clear-btn"},G4=["aria-label"],j4=t.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...jn},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:a,emit:n}){const r=n,o=e,{defaultedTextInput:i,defaultedAriaLabels:l,defaultedInline:s,defaultedConfig:d,defaultedRange:p,defaultedMultiDates:u,defaultedUI:m,getDefaultPattern:c,getDefaultStartTime:f}=Ze(o),{checkMinMaxRange:h}=ua(o),y=t.ref(),b=t.ref(null),x=t.ref(!1),w=t.ref(!1),k=t.computed(()=>({dp__pointer:!o.disabled&&!o.readonly&&!i.value.enabled,dp__disabled:o.disabled,dp__input_readonly:!i.value.enabled,dp__input:!0,dp__input_icon_pad:!o.hideInputIcon,dp__input_valid:typeof o.state=="boolean"?o.state:!1,dp__input_invalid:typeof o.state=="boolean"?!o.state:!1,dp__input_focus:x.value||o.isMenuOpen,dp__input_reg:!i.value.enabled,...m.value.input??{}})),B=()=>{r("set-input-date",null),o.clearable&&o.autoApply&&(r("set-empty-date"),y.value=null)},V=_=>{const ie=f();return d3(_,i.value.format??c(),ie??wl({},o.enableSeconds),o.inputValue,w.value,o.formatLocale)},M=_=>{const{rangeSeparator:ie}=i.value,[ne,Z]=_.split(`${ie}`);if(ne){const C=V(ne.trim()),X=Z?V(Z.trim()):null;if($a(C,X))return;const fe=C&&X?[C,X]:[C];h(X,fe,0)&&(y.value=C?fe:null)}},E=()=>{w.value=!0},N=_=>{if(p.value.enabled)M(_);else if(u.value.enabled){const ie=_.split(";");y.value=ie.map(ne=>V(ne.trim())).filter(ne=>ne)}else y.value=V(_)},A=_=>{var ie;const ne=typeof _=="string"?_:(ie=_.target)==null?void 0:ie.value;ne!==""?(i.value.openMenu&&!o.isMenuOpen&&r("open"),N(ne),r("set-input-date",y.value)):B(),w.value=!1,r("update:input-value",ne),r("text-input",_,y.value)},L=_=>{i.value.enabled?(N(_.target.value),i.value.enterSubmit&&Qr(y.value)&&o.inputValue!==""?(r("set-input-date",y.value,!0),y.value=null):i.value.enterSubmit&&o.inputValue===""&&(y.value=null,r("clear"))):J(_)},H=(_,ie)=>{i.value.enabled&&i.value.tabSubmit&&!ie&&N(_.target.value),i.value.tabSubmit&&Qr(y.value)&&o.inputValue!==""?(r("set-input-date",y.value,!0,!0),y.value=null):i.value.tabSubmit&&o.inputValue===""&&(y.value=null,r("clear",!0))},Q=()=>{x.value=!0,r("focus"),t.nextTick().then(()=>{var _;i.value.enabled&&i.value.selectOnFocus&&((_=b.value)==null||_.select())})},J=_=>{if(ia(_,d.value,!0),i.value.enabled&&i.value.openMenu&&!s.value.input){if(i.value.openMenu==="open"&&!o.isMenuOpen)return r("open");if(i.value.openMenu==="toggle")return r("toggle")}else i.value.enabled||r("toggle")},S=()=>{r("real-blur"),x.value=!1,(!o.isMenuOpen||s.value.enabled&&s.value.input)&&r("blur"),o.autoApply&&i.value.enabled&&y.value&&!o.isMenuOpen&&(r("set-input-date",y.value),r("select-date"),y.value=null)},G=_=>{ia(_,d.value,!0),r("clear")},j=_=>{if(_.key==="Tab"&&H(_),_.key==="Enter"&&L(_),!i.value.enabled){if(_.code==="Tab")return;_.preventDefault()}},Y=()=>{var _;(_=b.value)==null||_.focus({preventScroll:!0})},me=_=>{y.value=_},W=_=>{_.key===Ue.tab&&H(_,!0)};return a({focusInput:Y,setParsedDate:me}),(_,ie)=>{var ne,Z,C;return t.openBlock(),t.createElementBlock("div",{onClick:J},[_.$slots.trigger&&!_.$slots["dp-input"]&&!t.unref(s).enabled?t.renderSlot(_.$slots,"trigger",{key:0}):t.createCommentVNode("",!0),!_.$slots.trigger&&(!t.unref(s).enabled||t.unref(s).input)?(t.openBlock(),t.createElementBlock("div",R4,[_.$slots["dp-input"]&&!_.$slots.trigger&&(!t.unref(s).enabled||t.unref(s).enabled&&t.unref(s).input)?t.renderSlot(_.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:A,onEnter:L,onTab:H,onClear:G,onBlur:S,onKeypress:j,onPaste:E,onFocus:Q,openMenu:()=>_.$emit("open"),closeMenu:()=>_.$emit("close"),toggleMenu:()=>_.$emit("toggle")}):t.createCommentVNode("",!0),_.$slots["dp-input"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("input",{key:1,id:_.uid?`dp-input-${_.uid}`:void 0,ref_key:"inputRef",ref:b,"data-test":"dp-input",name:_.name,class:t.normalizeClass(k.value),inputmode:t.unref(i).enabled?"text":"none",placeholder:_.placeholder,disabled:_.disabled,readonly:_.readonly,required:_.required,value:e.inputValue,autocomplete:_.autocomplete,"aria-label":(ne=t.unref(l))==null?void 0:ne.input,"aria-disabled":_.disabled||void 0,"aria-invalid":_.state===!1?!0:void 0,onInput:A,onBlur:S,onFocus:Q,onKeypress:j,onKeydown:ie[0]||(ie[0]=X=>j(X)),onPaste:E},null,42,z4)),t.createElementVNode("div",{onClick:ie[3]||(ie[3]=X=>r("toggle"))},[_.$slots["input-icon"]&&!_.hideInputIcon?(t.openBlock(),t.createElementBlock("span",{key:0,class:"dp__input_icon",onClick:ie[1]||(ie[1]=X=>r("toggle"))},[t.renderSlot(_.$slots,"input-icon")])):t.createCommentVNode("",!0),!_.$slots["input-icon"]&&!_.hideInputIcon&&!_.$slots["dp-input"]?(t.openBlock(),t.createBlock(t.unref(za),{key:1,"aria-label":(Z=t.unref(l))==null?void 0:Z.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:ie[2]||(ie[2]=X=>r("toggle"))},null,8,["aria-label"])):t.createCommentVNode("",!0)]),_.$slots["clear-icon"]&&e.inputValue&&_.clearable&&!_.disabled&&!_.readonly?(t.openBlock(),t.createElementBlock("span",I4,[t.renderSlot(_.$slots,"clear-icon",{clear:G})])):t.createCommentVNode("",!0),_.clearable&&!_.$slots["clear-icon"]&&e.inputValue&&!_.disabled&&!_.readonly?(t.openBlock(),t.createElementBlock("button",{key:3,"aria-label":(C=t.unref(l))==null?void 0:C.clearInput,class:"dp--clear-btn",type:"button",onKeydown:ie[4]||(ie[4]=X=>t.unref(wt)(X,()=>G(X),!0,W)),onClick:ie[5]||(ie[5]=t.withModifiers(X=>G(X),["prevent"]))},[t.createVNode(t.unref(sl),{class:"dp__input_icons","data-test":"clear-icon"})],40,G4)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])}}}),q4=typeof window<"u"?window:void 0,co=()=>{},W4=e=>t.getCurrentScope()?(t.onScopeDispose(e),!0):!1,Y4=(e,a,n,r)=>{if(!e)return co;let o=co;const i=t.watch(()=>t.unref(e),s=>{o(),s&&(s.addEventListener(a,n,r),o=()=>{s.removeEventListener(a,n,r),o=co})},{immediate:!0,flush:"post"}),l=()=>{i(),o()};return W4(l),l},U4=(e,a,n,r={})=>{const{window:o=q4,event:i="pointerdown"}=r;return o?Y4(o,i,l=>{const s=ct(e),d=ct(a);!s||!d||s===l.target||l.composedPath().includes(s)||l.composedPath().includes(d)||n(l)},{passive:!0}):void 0},X4=t.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...jn},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.useSlots(),l=t.ref(!1),s=t.toRef(o,"modelValue"),d=t.toRef(o,"timezone"),p=t.ref(null),u=t.ref(null),m=t.ref(null),c=t.ref(!1),f=t.ref(null),h=t.ref(!1),y=t.ref(!1),b=t.ref(!1),x=t.ref(!1),{setMenuFocused:w,setShiftKey:k}=Bl(),{clearArrowNav:B}=ca(),{validateDate:V,isValidTime:M}=ua(o),{defaultedTransitions:E,defaultedTextInput:N,defaultedInline:A,defaultedConfig:L,defaultedRange:H,defaultedMultiDates:Q}=Ze(o),{menuTransition:J,showTransition:S}=hn(E);t.onMounted(()=>{X(o.modelValue),t.nextTick().then(()=>{if(!A.value.enabled){const T=ie(f.value);T==null||T.addEventListener("scroll",F),window==null||window.addEventListener("resize",O)}}),A.value.enabled&&(l.value=!0),window==null||window.addEventListener("keyup",K),window==null||window.addEventListener("keydown",R)}),t.onUnmounted(()=>{if(!A.value.enabled){const T=ie(f.value);T==null||T.removeEventListener("scroll",F),window==null||window.removeEventListener("resize",O)}window==null||window.removeEventListener("keyup",K),window==null||window.removeEventListener("keydown",R)});const G=Vt(i,"all",o.presetDates),j=Vt(i,"input");t.watch([s,d],()=>{X(s.value)},{deep:!0});const{openOnTop:Y,menuStyle:me,xCorrect:W,setMenuPosition:_,getScrollableParent:ie,shadowRender:ne}=O4({menuRef:p,menuRefInner:u,inputRef:m,pickerWrapperRef:f,inline:A,emit:r,props:o,slots:i}),{inputValue:Z,internalModelValue:C,parseExternalModelValue:X,emitModelValue:fe,formatInputValue:z,checkBeforeEmit:ye}=P3(r,o,c),U=t.computed(()=>({dp__main:!0,dp__theme_dark:o.dark,dp__theme_light:!o.dark,dp__flex_display:A.value.enabled,"dp--flex-display-collapsed":b.value,dp__flex_display_with_input:A.value.input})),ue=t.computed(()=>o.dark?"dp__theme_dark":"dp__theme_light"),$=t.computed(()=>o.teleport?{to:typeof o.teleport=="boolean"?"body":o.teleport,disabled:!o.teleport||A.value.enabled}:{}),v=t.computed(()=>({class:"dp__outer_menu_wrap"})),g=t.computed(()=>A.value.enabled&&(o.timePicker||o.monthPicker||o.yearPicker||o.quarterPicker)),D=()=>{var T,ee;return(ee=(T=m.value)==null?void 0:T.$el)==null?void 0:ee.getBoundingClientRect()},F=()=>{l.value&&(L.value.closeOnScroll?Se():_())},O=()=>{var T;l.value&&_();const ee=(T=u.value)==null?void 0:T.$el.getBoundingClientRect().width;b.value=document.body.offsetWidth<=ee},K=T=>{T.key==="Tab"&&!A.value.enabled&&!o.teleport&&L.value.tabOutClosesMenu&&(f.value.contains(document.activeElement)||Se()),y.value=T.shiftKey},R=T=>{y.value=T.shiftKey},te=()=>{!o.disabled&&!o.readonly&&(ne(Ll,o),_(!1),l.value=!0,l.value&&r("open"),l.value||_e(),X(o.modelValue))},ce=()=>{var T;Z.value="",_e(),(T=m.value)==null||T.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),L.value.closeOnClearValue&&Se()},ge=()=>{const T=C.value;return!T||!Array.isArray(T)&&V(T)?!0:Array.isArray(T)?Q.value.enabled||T.length===2&&V(T[0])&&V(T[1])?!0:H.value.partialRange&&!o.timePicker?V(T[0]):!1:!1},xe=()=>{ye()&&ge()?(fe(),Se()):r("invalid-select",C.value)},de=T=>{Me(),fe(),L.value.closeOnAutoApply&&!T&&Se()},Me=()=>{m.value&&N.value.enabled&&m.value.setParsedDate(C.value)},Ne=(T=!1)=>{o.autoApply&&M(C.value)&&ge()&&(H.value.enabled&&Array.isArray(C.value)?(H.value.partialRange||C.value.length===2)&&de(T):de(T))},_e=()=>{N.value.enabled||(C.value=null)},Se=()=>{A.value.enabled||(l.value&&(l.value=!1,W.value=!1,w(!1),k(!1),B(),r("closed"),Z.value&&X(s.value)),_e(),r("blur"))},Le=(T,ee,le=!1)=>{if(!T){C.value=null;return}const be=Array.isArray(T)?!T.some(De=>!V(De)):V(T),Ae=M(T);be&&Ae?(x.value=!0,C.value=T,ee&&(h.value=le,xe(),r("text-submit")),t.nextTick().then(()=>{x.value=!1})):r("invalid-date",T)},Be=()=>{o.autoApply&&M(C.value)&&fe(),Me()},q=()=>l.value?Se():te(),ae=T=>{C.value=T},re=()=>{N.value.enabled&&(c.value=!0,z()),r("focus")},se=()=>{if(N.value.enabled&&(c.value=!1,X(o.modelValue),h.value)){const T=s3(f.value,y.value);T==null||T.focus()}r("blur")},Ee=T=>{u.value&&u.value.updateMonthYear(0,{month:ml(T.month),year:ml(T.year)})},he=T=>{X(T??o.modelValue)},ke=(T,ee)=>{var le;(le=u.value)==null||le.switchView(T,ee)},I=T=>L.value.onClickOutside?L.value.onClickOutside(T):Se(),P=(T=0)=>{var ee;(ee=u.value)==null||ee.handleFlow(T)};return U4(p,m,()=>I(ge)),a({closeMenu:Se,selectDate:xe,clearValue:ce,openMenu:te,onScroll:F,formatInputValue:z,updateInternalModelValue:ae,setMonthYear:Ee,parseModel:he,switchView:ke,toggleMenu:q,handleFlow:P,dpWrapMenuRef:p}),(T,ee)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:f,class:t.normalizeClass(U.value),"data-datepicker-instance":""},[t.createVNode(j4,t.mergeProps({ref_key:"inputRef",ref:m,"input-value":t.unref(Z),"onUpdate:inputValue":ee[0]||(ee[0]=le=>t.isRef(Z)?Z.value=le:null),"is-menu-open":l.value},T.$props,{onClear:ce,onOpen:te,onSetInputDate:Le,onSetEmptyDate:t.unref(fe),onSelectDate:xe,onToggle:q,onClose:Se,onFocus:re,onBlur:se,onRealBlur:ee[1]||(ee[1]=le=>c.value=!1),onTextInput:ee[2]||(ee[2]=le=>T.$emit("text-input",le))}),t.createSlots({_:2},[t.renderList(t.unref(j),(le,be)=>({name:le,fn:t.withCtx(Ae=>[t.renderSlot(T.$slots,le,t.normalizeProps(t.guardReactiveProps(Ae)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(T.teleport?t.Teleport:"div"),t.normalizeProps(t.guardReactiveProps($.value)),{default:t.withCtx(()=>[t.createVNode(t.Transition,{name:t.unref(J)(t.unref(Y)),css:t.unref(S)&&!t.unref(A).enabled},{default:t.withCtx(()=>[l.value?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:p},v.value,{class:{"dp--menu-wrapper":!t.unref(A).enabled},style:t.unref(A).enabled?void 0:t.unref(me)}),[t.createVNode(Ll,t.mergeProps({ref_key:"dpMenuRef",ref:u},T.$props,{"internal-model-value":t.unref(C),"onUpdate:internalModelValue":ee[3]||(ee[3]=le=>t.isRef(C)?C.value=le:null),class:{[ue.value]:!0,"dp--menu-wrapper":T.teleport},"open-on-top":t.unref(Y),"no-overlay-focus":g.value,collapse:b.value,"get-input-rect":D,"is-text-input-date":x.value,onClosePicker:Se,onSelectDate:xe,onAutoApply:Ne,onTimeUpdate:Be,onFlowStep:ee[4]||(ee[4]=le=>T.$emit("flow-step",le)),onUpdateMonthYear:ee[5]||(ee[5]=le=>T.$emit("update-month-year",le)),onInvalidSelect:ee[6]||(ee[6]=le=>T.$emit("invalid-select",t.unref(C))),onAutoApplyInvalid:ee[7]||(ee[7]=le=>T.$emit("invalid-select",le)),onInvalidFixedRange:ee[8]||(ee[8]=le=>T.$emit("invalid-fixed-range",le)),onRecalculatePosition:t.unref(_),onTooltipOpen:ee[9]||(ee[9]=le=>T.$emit("tooltip-open",le)),onTooltipClose:ee[10]||(ee[10]=le=>T.$emit("tooltip-close",le)),onTimePickerOpen:ee[11]||(ee[11]=le=>T.$emit("time-picker-open",le)),onTimePickerClose:ee[12]||(ee[12]=le=>T.$emit("time-picker-close",le)),onAmPmChange:ee[13]||(ee[13]=le=>T.$emit("am-pm-change",le)),onRangeStart:ee[14]||(ee[14]=le=>T.$emit("range-start",le)),onRangeEnd:ee[15]||(ee[15]=le=>T.$emit("range-end",le)),onDateUpdate:ee[16]||(ee[16]=le=>T.$emit("date-update",le)),onInvalidDate:ee[17]||(ee[17]=le=>T.$emit("invalid-date",le)),onOverlayToggle:ee[18]||(ee[18]=le=>T.$emit("overlay-toggle",le))}),t.createSlots({_:2},[t.renderList(t.unref(G),(le,be)=>({name:le,fn:t.withCtx(Ae=>[t.renderSlot(T.$slots,le,t.normalizeProps(t.guardReactiveProps({...Ae})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):t.createCommentVNode("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),gn=(()=>{const e=X4;return e.install=a=>{a.component("Vue3DatePicker",e)},e})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:gn},Symbol.toStringTag,{value:"Module"}))).forEach(([e,a])=>{e!=="default"&&(gn[e]=a)});const Z4={name:"ModalComponent",props:{modelValue:{type:Boolean,required:!0}},methods:{closeModal(){this.$emit("update:modelValue",!1)}}},Q4={key:0,class:"modal-head text-white"},K4={class:"modal_responsive"},J4={class:"flex min-h-full items-center justify-center text-center"},eu={class:"modal-size w-full"},tu={class:"modal-background bg-base-200"},au={class:"modal-title"},nu={class:"modal-body bg-base-300"},ru={class:"modal-footer"};function ou(e,a,n,r,o,i){return n.modelValue?(t.openBlock(),t.createElementBlock("div",Q4,[a[2]||(a[2]=t.createElementVNode("div",{class:"modal-overlay"},null,-1)),t.createElementVNode("div",K4,[t.createElementVNode("div",J4,[t.createElementVNode("div",eu,[t.createElementVNode("div",tu,[t.createElementVNode("header",au,[t.renderSlot(e.$slots,"title",{},void 0,!0),t.createElementVNode("button",{class:"close-button",onClick:a[0]||(a[0]=(...l)=>i.closeModal&&i.closeModal(...l))},a[1]||(a[1]=[t.createElementVNode("svg",{class:"w-6 h-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18 17.94 6M18 18 6.06 6"})],-1)]))]),t.createElementVNode("div",nu,[t.renderSlot(e.$slots,"body",{},void 0,!0)]),t.createElementVNode("footer",ru,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])])])])])])):t.createCommentVNode("",!0)}const $l=qe(Z4,[["render",ou],["__scopeId","data-v-e2c896dc"]]),iu={class:"container"},lu={class:"form-group"},su={class:"form-group"},cu={class:"form-group"},du=qe({__name:"reminder",props:{currentChat:{type:Object,default:{id:null,contact:{segmentation_fields:[]}}},theme:{type:Boolean,default:!0},date:Date,token:String},setup(e){const a=e,n=t.ref({schedule:{time:a.date,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,type:"unique"},title:"",content:"",type:"reminders"});return(r,o)=>(t.openBlock(),t.createElementBlock("div",iu,[t.createElementVNode("div",lu,[o[4]||(o[4]=t.createElementVNode("label",{for:"contentInput"},"Horário",-1)),t.createVNode(t.unref(gn),{format:"HH:mm","auto-apply":"true","time-picker":!0,locale:"pt-BR","cancel-text":"Cancelar","select-text":"Confirmar","enable-time-picker":!0,"min-date":new Date,"text-input":"",dark:e.theme,modelValue:n.value.schedule.time,"onUpdate:modelValue":o[0]||(o[0]=i=>n.value.schedule.time=i)},{"clear-icon":t.withCtx(({clear:i})=>o[3]||(o[3]=[])),_:1},8,["min-date","dark","modelValue"])]),t.createElementVNode("div",su,[o[5]||(o[5]=t.createElementVNode("label",{for:"titleInput"},"Título",-1)),t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":o[1]||(o[1]=i=>n.value.title=i),id:"titleInput",placeholder:"Remédio",class:"input bg-base-200"},null,512),[[t.vModelText,n.value.title]])]),t.createElementVNode("div",cu,[o[6]||(o[6]=t.createElementVNode("label",{for:"contentInput"},"Conteúdo",-1)),t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":o[2]||(o[2]=i=>n.value.content=i),id:"contentInput",placeholder:"Não esquecer do remédio de alzheimer",class:"areaInput bg-base-200"},null,512),[[t.vModelText,n.value.content]])]),o[7]||(o[7]=t.createElementVNode("div",{class:"button-container"},[t.createElementVNode("button",{class:"save-button"},"Salvar")],-1))]))}},[["__scopeId","data-v-2727b591"]]);function uu(e){return{all:e=e||new Map,on:function(a,n){var r=e.get(a);r?r.push(n):e.set(a,[n])},off:function(a,n){var r=e.get(a);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(a,[]))},emit:function(a,n){var r=e.get(a);r&&r.slice().map(function(o){o(n)}),(r=e.get("*"))&&r.slice().map(function(o){o(a,n)})}}}const Hl=uu();let Rl=0;const mu=()=>{const e=Rl;return Rl+=1,e},zl=(e,a)=>{const n={...e,id:mu(),group:e.group||""};return Hl.emit("notify",{notification:n,timeout:a}),()=>Hl.emit("close",n.id)},fu={class:"container"},hu={class:"form-group"},pu={class:"form-group"},gu={key:0,class:"custom-fields-container border border-base-100"},yu={class:"custom-fields-header bg-base-300"},ku={class:"custom-fields-list"},xu=["onClick"],bu={key:1,class:"file-container bg-base-100"},wu={class:"file-actions"},vu={class:"button-container"},Eu=["disabled"],Cu={key:0,class:"inline-block h-4 w-4 animate-spin rounded-full border-2 border-solid border-current border-e-transparent motion-reduce:animate-[spin_1.5s_linear_infinite]"},Su=qe({__name:"sheduledMessage",props:{currentChat:{type:Object,default:{id:null,contact:{segmentation_fields:[]}}},theme:{type:Boolean,default:!0},date:{type:Date,required:!0},token:String,event:Object||null},emits:["close"],setup(e,{emit:a}){const n=e,r=t.ref(!1),o=a,i=t.ref("post"),l=t.ref({message:[{type:"text",content:""}],schedule:{time:n.date,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,type:"unique"},chat_id:n.currentChat.id||null});t.onMounted(()=>{n.event?(l.value=n.event.params,i.value="patch"):l.value.schedule.time=u(n.date,l.value.schedule.time)});const s=t.ref(null);function d(c){l.value.message[0].content+=` {${c.name}} `,t.nextTick(()=>{s.value.focus()})}t.ref(null);function p(c){const f=c.getFullYear(),h=String(c.getMonth()+1).padStart(2,"0"),y=String(c.getDate()).padStart(2,"0"),b=String(c.getHours()).padStart(2,"0"),x=String(c.getMinutes()).padStart(2,"0");return`${f}-${h}-${y} ${b}:${x}`}function u(c,f){const h=new Date(c);return h.setHours(f.hours),h.setMinutes(f.minutes),h.setSeconds(f.seconds||0),p(h)}async function m(){r.value=!0;try{const c=JSON.parse(JSON.stringify(l.value));c.schedule.time=u(n.date,c.schedule.time);const f=await Qe[i.value](`http://localhost:8000/v1/api/crm/event/scheduled_message/${l.value.event_id?`${l.value.event_id}/`:""}`,{...c},{headers:{Authorization:`Bearer ${n.token}`}});zl({group:"success",title:"Sucesso",text:f.data.message},2e3),o("close",!1)}catch(c){zl({group:"error",title:"Erro",text:c.response.data.message},2e3)}finally{r.value=!1}}return(c,f)=>{const h=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("div",fu,[t.createTextVNode(t.toDisplayString(l.value.schedule.time)+" ",1),t.createElementVNode("div",hu,[f[4]||(f[4]=t.createElementVNode("label",{for:"contentInput"},"Horário",-1)),t.createVNode(t.unref(gn),{"auto-apply":"true","time-picker":!0,locale:"pt-BR","cancel-text":"Cancelar","select-text":"Confirmar","enable-time-picker":!0,"min-date":new Date,"text-input":"",dark:e.theme,modelValue:l.value.schedule.time,"onUpdate:modelValue":f[0]||(f[0]=y=>l.value.schedule.time=y)},{"clear-icon":t.withCtx(({clear:y})=>f[3]||(f[3]=[])),_:1},8,["min-date","dark","modelValue"])]),t.createElementVNode("div",pu,[f[5]||(f[5]=t.createElementVNode("label",{for:"contentInput"},"Conteúdo",-1)),t.withDirectives(t.createElementVNode("textarea",{id:"sheduleMessageArea",ref_key:"textareaRef",ref:s,autofocus:"","onUpdate:modelValue":f[1]||(f[1]=y=>l.value.message[0].content=y),placeholder:"Olá cliente, tudo bem?",class:"input bg-base-200"},null,512),[[t.vModelText,l.value.message[0].content]])]),e.currentChat.contact&&e.currentChat.contact.segmentation_fields.length>0?(t.openBlock(),t.createElementBlock("div",gu,[t.createElementVNode("div",yu,[f[8]||(f[8]=t.createTextVNode(" Campos personalizáveis disponíveis ")),t.createVNode(h,{placement:"top",arrow:!0,hover:!0,class:"info",content:""},{content:t.withCtx(()=>f[6]||(f[6]=[t.createElementVNode("p",{class:"info-content"}," Ao enviar a mensagem para o cliente o valor deste campo será substituído pelo valor correspondente no momento do envio ",-1)])),default:t.withCtx(()=>[f[7]||(f[7]=t.createElementVNode("svg",{class:"info-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm9.4-5.5a1 1 0 1 0 0 2 1 1 0 1 0 0-2ZM10 10a1 1 0 1 0 0 2h1v3h-1a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2h-1v-4c0-.6-.4-1-1-1h-2Z","clip-rule":"evenodd"})],-1))]),_:1,__:[7]})]),t.createElementVNode("div",ku,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.globalStore.messageStore.currentChat.contact.segmentation_fields,y=>(t.openBlock(),t.createElementBlock("div",{onClick:b=>d(y),key:y,class:"custom-field bg-primary"},t.toDisplayString(y.name),9,xu))),128))])])):t.createCommentVNode("",!0),l.value.file?(t.openBlock(),t.createElementBlock("div",bu,[t.createElementVNode("p",null,t.toDisplayString(l.value.fileName),1),t.createElementVNode("div",wu,[t.createElementVNode("button",{onClick:f[2]||(f[2]=y=>l.value.file=""),class:"file-remove-button"},f[9]||(f[9]=[t.createElementVNode("svg",{class:"file-remove-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z","clip-rule":"evenodd"})],-1)]))])])):t.createCommentVNode("",!0),t.createElementVNode("div",vu,[t.createElementVNode("button",{disabled:r.value,onClick:m,class:"save-button text-white"},[r.value?(t.openBlock(),t.createElementBlock("div",Cu)):t.createCommentVNode("",!0),f[10]||(f[10]=t.createTextVNode(" Salvar "))],8,Eu)])])}}},[["__scopeId","data-v-1d2f0f94"]]),Mu={key:0},Bu={key:1},Au={class:"main-container"},Vu={key:0,class:"select-container"},Nu=["value"],_u=qe({__name:"createEvents",props:{modal:Boolean,date:Date,token:String,currentChat:Object,currentEvent:Object||null},emits:["close"],setup(e,{emit:a}){const n=[{type:"scheduled_messages",name:"Mensagens programadas"},{type:"reminders",name:"Lembrete"}],r=t.ref("reminders"),o=t.ref(null),i=e;t.onMounted(()=>{i.currentEvent&&(r.value=i.currentEvent.function)});const l=a;function s(u){const m={day:"numeric",month:"long",year:"numeric"};return u.toLocaleDateString("pt-BR",m)}const d=t.ref(i.modal);t.watch(()=>i.modal,u=>{d.value=u}),t.watch(d,u=>{u||l("close")});function p(u){o.value=u}return(u,m)=>(t.openBlock(),t.createBlock($l,{modelValue:d.value,"onUpdate:modelValue":m[3]||(m[3]=c=>d.value=c)},{title:t.withCtx(()=>[e.currentEvent===null?(t.openBlock(),t.createElementBlock("div",Mu," Novo evento "+t.toDisplayString(s(e.date)),1)):(t.openBlock(),t.createElementBlock("div",Bu,t.toDisplayString(e.currentEvent.title)+" - "+t.toDisplayString(e.currentEvent.date.split("-").reverse().join("/"))+" "+t.toDisplayString(e.currentEvent.hours),1))]),body:t.withCtx(()=>[t.createElementVNode("main",Au,[e.currentEvent===null?(t.openBlock(),t.createElementBlock("div",Vu,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":m[0]||(m[0]=c=>r.value=c),class:"custom-select bg-base-100"},[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(n,c=>t.createElementVNode("option",{value:c.type,key:c.type},t.toDisplayString(c.name),9,Nu)),64))],512),[[t.vModelSelect,r.value]]),m[4]||(m[4]=t.createElementVNode("svg",{class:"select-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.425 10.271C19.499 8.967 18.57 7 16.88 7H7.12c-1.69 0-2.618 1.967-1.544 3.271l4.881 5.927a2 2 0 0 0 3.088 0l4.88-5.927Z","clip-rule":"evenodd"})],-1))])):t.createCommentVNode("",!0),r.value==="reminders"?(t.openBlock(),t.createBlock(du,{key:1,onClose:m[1]||(m[1]=c=>d.value=!1),token:e.token,date:e.date,onConfig:p},null,8,["token","date"])):r.value==="scheduled_messages"?(t.openBlock(),t.createBlock(Su,{key:2,event:e.currentEvent,currentChat:e.currentChat,onClose:m[2]||(m[2]=c=>d.value=!1),token:e.token,date:e.date},null,8,["event","currentChat","token","date"])):t.createCommentVNode("",!0)])]),_:1},8,["modelValue"]))}},[["__scopeId","data-v-5dd1aceb"]]),Du={class:"calendar-container text-white"},Tu={class:"calendar-header bg-base-300"},Pu={class:"calendar"},Ou={class:"date-container"},Fu={class:"date"},Lu=["disabled","onClick"],$u=["onClick"],Hu={class:"event-main"},Ru={class:"event-title"},zu={class:"text-center w-full"},Iu={class:"flex flex-col gap- text-sm items-center align-middle overflow-y-scroll w-full",style:{height:"50vh"}},Gu={class:"w-[40%]"},ju={class:"p- w-1/4"},qu={class:"p- w-1/4"},Wu={class:"p- w-1/4"},Yu=["onClick"],Il=qe({__name:"calendar",props:{theme:{type:Boolean,default:!0},token:{type:String,default:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzI1MTEwNzY3LCJpYXQiOjE3MjUwMjQzNjcsImp0aSI6ImRiY2E3MjIzZTE2NzRmODJiZjQzOWQyNjYwZDIyYTRhIiwidXNlcl9pZCI6IjYyNGRmZTIzLTkyZDAtNDNmMS04MDYxLWEyMzIxZjJiNWViYiJ9.MMlinTjeEFJcIqzYkM3SgPzJrLafE-GLiZn1wQi4ggs"},currentChat:Object},setup(e){const a=t.ref({seeEvents:!1,events:null,date:new Date}),n=t.ref({date:new Date,modal:!1}),r=t.ref(null);function o(N){r.value=N,n.value={date:N.date,modal:!0},a.value.seeEvents=!1}function i(N){n.value.modal=N,r.value=null}function l(N){a.value.events=N.events,a.value.seeEvents=!0;const A={day:"numeric",month:"long",year:"numeric"};a.value.date=N.date.toLocaleDateString("pt-BR",A)}const s=e,d=new Date,p=t.ref(d.getMonth()),u=t.ref(d.getFullYear()),m=t.ref(new Date(u.value,p.value)),c=t.ref([]),f=N=>{N&&typeof N.year=="number"&&typeof N.month=="number"?(p.value=N.month,u.value=N.year,V()):console.error("Data inválida selecionada:",N)},h=new Array(7).fill(null).map((N,A)=>{const L=new Date(2021,0,A+3);return new Intl.DateTimeFormat("pt-BR",{weekday:"short"}).format(L)}),y=N=>{if(N instanceof Date){const A={month:"long",year:"numeric"};return new Intl.DateTimeFormat("pt-BR",A).format(N)}else return console.error("Data inválida fornecida ao formatador:",N),""},b=N=>{const A={scheduled_messages:"Mensagens Programadas",another_function:"Outro Título",default:"Evento Desconhecido"};return A[N]||A.default},x=async(N="http://localhost:8000/v1/api/crm/event/")=>{try{const L=(await Qe.get(N,{headers:{Authorization:`Bearer ${s.token}`}})).data,H=L.results.map(Q=>({...Q,title:b(Q.function),date:Q.params.schedule.time.split(" ")[0],hours:Q.params.schedule.time.split(" ")[1],color:"#cce5ff",tag:"blue"}));c.value.push(...H),L.next&&await x(L.next)}catch(A){console.error("Erro ao buscar eventos:",A)}},w=N=>c.value.filter(A=>{const L=new Date(A.date+"T00:00:00"),H=new Date(N.getFullYear(),N.getMonth(),N.getDate());return L.getTime()===H.getTime()}),k=(N,A)=>{const L=[],H=new Date(N,A,1),Q=new Date(N,A+1,0),J=H.getDay(),G=new Date(N,A,0).getDate();for(let Y=J-1;Y>=0;Y--){const me=new Date(N,A-1,G-Y);L.push({date:me,events:w(me),isPrevMonth:!0})}for(let Y=H;Y<=Q;Y.setDate(Y.getDate()+1))L.push({date:new Date(Y),events:w(new Date(Y)),isPrevMonth:!1,isNextMonth:!1});const j=42-L.length;for(let Y=1;Y<=j;Y++){const me=new Date(N,A+1,Y);L.push({date:me,events:w(me),isNextMonth:!0})}return L},B=t.ref([]),V=()=>{B.value=k(u.value,p.value)};t.onMounted(async()=>{await x(),V()});const M=()=>{p.value===0?(p.value=11,u.value--):p.value--,m.value={year:u.value,month:p.value},V()},E=()=>{p.value===11?(p.value=0,u.value++):p.value++,m.value={year:u.value,month:p.value},V()};return(N,A)=>{const L=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",Du,[t.createElementVNode("div",Tu,[t.renderSlot(N.$slots,"backButton",{},void 0,!0),t.createElementVNode("button",{onClick:M,class:"calendar-button"},A[2]||(A[2]=[t.createElementVNode("svg",{class:"icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14M5 12l4-4m-4 4 4 4"})],-1)])),t.createElementVNode("div",null,[t.createVNode(t.unref(gn),{dark:e.theme,"cancel-text":"Cancelar","select-text":"Selecionar",locale:"pt-BR",modelValue:m.value,"onUpdate:modelValue":[A[0]||(A[0]=H=>m.value=H),f],format:y,"only-month-picker":!0,"month-picker":!0},{"clear-icon":t.withCtx(({clear:H})=>A[3]||(A[3]=[])),_:1},8,["dark","modelValue"])]),t.createElementVNode("button",{onClick:E,class:"calendar-button"},A[4]||(A[4]=[t.createElementVNode("svg",{class:"icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 12H5m14 0-4 4m4-4-4-4"})],-1)]))]),t.createElementVNode("div",Pu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(h),(H,Q)=>(t.openBlock(),t.createElementBlock("div",{key:Q,class:"day-name shadow shadow-black/90 dark:shadow-gray-400 bg-base-200 border border-base-100"},t.toDisplayString(H),1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(B.value,(H,Q)=>(t.openBlock(),t.createElementBlock("div",{key:Q,class:t.normalizeClass([{"empty-day":!H.date,"prev-month-day":H.isPrevMonth,"next-month-day":H.isNextMonth},"day group h-full shadow shadow-black/90 dark:shadow-gray-400 bg-base-300 hover:bg-base-200 border border-base-200"])},[t.createElementVNode("div",Ou,[t.createElementVNode("div",Fu,t.toDisplayString(H.date.getDate()),1),t.createElementVNode("button",{disabled:H.date<new Date(new Date().setHours(0,0,0,0)),onClick:J=>(n.value.modal=!0,n.value.date=H.date),class:"add-event-button hidden group-hover:inline-block"},A[5]||(A[5]=[t.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14m-7 7V5"})],-1)]),8,Lu)]),H.events.length>0?(t.openBlock(),t.createElementBlock("footer",{key:0,onClick:J=>l(H),class:"events-container cursor-pointer"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(H.events,J=>(t.openBlock(),t.createElementBlock("div",{key:J.title,class:"event"},[t.createElementVNode("main",Hu,[t.createVNode(L,{placement:"top",class:"dark:popper-light popper-dark",hover:!0,content:J.hours},{default:t.withCtx(()=>A[6]||(A[6]=[t.createElementVNode("svg",{class:"event-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z","clip-rule":"evenodd"})],-1)])),_:2,__:[6]},1032,["content"]),t.createElementVNode("p",Ru,t.toDisplayString(J.title),1)])]))),128))],8,$u)):t.createCommentVNode("",!0)],2))),128))])]),t.createVNode($l,{modelValue:a.value.seeEvents,"onUpdate:modelValue":A[1]||(A[1]=H=>a.value.seeEvents=H)},{title:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.value.date),1)]),body:t.withCtx(()=>[t.createElementVNode("table",zu,[A[8]||(A[8]=t.createElementVNode("thead",{class:"bg-base-200 rounded-md flex text-white w-full"},[t.createElementVNode("tr",{class:"flex font-normal w-full"},[t.createElementVNode("th",{class:"p-2 w-[40%]"},"Evento"),t.createElementVNode("th",{class:"p-2 w-1/4"},"Horário"),t.createElementVNode("th",{class:"p-2 w-1/4"},"Paramêtros"),t.createElementVNode("th",{class:"p-2 w-1/4"},"Ações")])],-1)),t.createElementVNode("tbody",Iu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value.events,H=>(t.openBlock(),t.createElementBlock("tr",{key:H.title,class:"flex mt-1 hover:bg-base-200 align-middle items-center rounded-xl py-2 w-full"},[t.createElementVNode("td",Gu,t.toDisplayString(H.title),1),t.createElementVNode("td",ju,t.toDisplayString(H.hours),1),t.createElementVNode("td",qu,t.toDisplayString(H.date),1),t.createElementVNode("td",Wu,[t.createElementVNode("button",{onClick:Q=>o(H),class:"bg-green-500 hover:bg-green-400 rounded-md p-1"},A[7]||(A[7]=[t.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule":"evenodd"})],-1)]),8,Yu)])]))),128))])])]),_:1},8,["modelValue"]),n.value.modal?(t.openBlock(),t.createBlock(_u,{key:0,currentEvent:r.value,currentChat:e.currentChat,token:e.token,onClose:i,modal:n.value.modal,date:n.value.date},null,8,["currentEvent","currentChat","token","modal","date"])):t.createCommentVNode("",!0)],64)}}},[["__scopeId","data-v-972e6756"]]),Uu={class:"flex flex-col text-center"},Xu={class:"flex flex-col space-y-3 justify-center"},Zu={class:"space-x-4 flex-col text-black justify-center"},Qu=["onUpdate:modelValue","onInput","onKeydown"],Gl={__name:"mfa",props:{eventHandling:{type:String,default:null}},emits:["filled","reset"],setup(e,{emit:a}){t.onMounted(()=>{o.value[0].focus()});const n=a,r=t.ref(Array(6).fill("")),o=t.ref([]);t.ref(!1);const i=p=>{const u=r.value[p];r.value[0]<1&&n("reset"),/^\d$/.test(u)?l(p):r.value[p]="",p===r.value.length-1&&r.value.every(m=>m!=="")&&d()},l=p=>{p<r.value.length-1&&r.value[p]&&o.value[p+1].focus()},s=(p,u)=>{u.key==="Backspace"&&!r.value[p]&&p>0&&o.value[p-1].focus()},d=()=>{const p=r.value.join("");n("filled",p)};return(p,u)=>(t.openBlock(),t.createElementBlock("section",Uu,[t.createElementVNode("div",Xu,[t.createElementVNode("div",Zu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,(m,c)=>t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:c,"onUpdate:modelValue":f=>r.value[c]=f,class:t.normalizeClass([e.eventHandling==="check"?"checked_mfa":e.eventHandling==="err"?"err_mfa":"reset_input","inline-block w-10 h-10 rounded-md text-center"]),type:"text",maxlength:"1",onInput:f=>i(c),onKeydown:t.withKeys(f=>s(c,f),["backspace"]),ref_for:!0,ref_key:"inputs",ref:o},null,42,Qu)),[[t.vModelText,r.value[c]]])),128))])])]))}},Ku={class:"text-center flex gap-3"},Ju={class:"flex justify-center gap-2 relative bg-base-200 p-2 rounded-lg shadow-md shadow-black"},e5={key:0,class:"items-center justify-center inline-flex"},t5=["src"],a5={__name:"mfaQrCode",props:{base64:{type:String,default:""},dimensions:{type:Array,default:null},loading:{type:Boolean,default:!1},generated:{type:Boolean,default:!1}},emits:["generateQR"],setup(e,{emit:a}){const n=a;t.ref(!1);const r=e,o=()=>{n("generateQR")},i=t.computed(()=>r.base64?r.base64:s.value),l=t.computed(()=>`w-${r.dimensions[0]} h-${r.dimensions[1]}`),s=t.ref("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABgAAAAYADwa0LPAAARGUlEQVR42u3dsZLbxhKFYejGpAOp9Jb7ACo9gMqx9JYbKOA6pwNfuly2yJ5lz5nuA/xfFSILwGAwanuxxz0frtfrdQMAA/+rHgAAjKJgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2GhTsD59+rR9+PBht0fkx48f2/l8/s955/N5+/HjR/XruTu+6Bgdv/r51dc/+vpd5cP1er1WD2Lb/nrhP3/+rB6GTDTN5/N5++OPP375z06n0/b29lY6/kfji4yMX/386usfff2uQsFaJJrm6N9i1a8p+2/Z6udXX//o63eVNj8SAkCEggXABgULgA0KFkIzPvhH1zidTk/9s07PCD0KFh56e3vbvnz5kr7O169fHxaFb9++/bIwnU6n7ffff5c/ZzQ+NHFt4uPHj9dt2+4er6+v1UNMjT/y6NwZr+n79+/X0+kU3mf1cTqdrt+/f396/KPnq8d39PW7ik2s4fX1dfv8+XP1MJ8efzTN6l+7Z3JUaityWplYxsj1j75+V+FHwoPoWqxGx/boz6ifrfPcHQ0FC4ANChYAGxQsADYoWCayv3JfkWVSjq06p4UeKFgmsjmhezmnaqM5q+qcFpqozlXcZHMsmyAjtL0jh6LOYd07RnNC91wul+vLy0t4n5eXl+vlcpl+/irV73/v63eV3eSw1E3GomlS57AeyfZzent723777beHf+ZyuWzn81ly/grq9jhHX7+r8CPhDmRzQiOF5NGfyZ4PjKJgAbBBwQJgg4IFwAYFayeqW6N0z0l1GAPyKFg7Ud3PqXtOqmsODe9Unau4OXqORTXuWf2i1FT9uqLnH82RZd//3tfvKuSwBkXTVJnDiszoF6VeJsp+XdHzj+TIsu9/7+t3FX4kPACHfk7KMUbXJiPmg4IFwAYFC4ANChYAGxSsJo7+K/fq5++eI8NfKFhNHD0nVP383XNk+L/qXMUNOZZfG80JZcefPb/KrBxVFut3Df4Lq7nz+bx9+/atehhtMT/HQsEyQE7oMebnOChYAGxQsADYoGABsEHBMrCibYx7Dsl9/BhDwWru7e1t+/Lli/w+7jkk9/FjUHWu4iabY6mWzbGo+kGN3r+7e/OT3Zdx1vWPvn5X2U0/rGrZfkLKflAj9+/u0fxk92Wccf2jr99V+JGwCYeeVZUezc+MuVNfH3NQsADYoGABsEHBAmCDggUL5KywbRQsmCBnhW3b+gQsohyI+xGJzn95ebleLpf/nDerH1Q2h+R+fnb+jr5+V7HJYbmLpjnal+5yudxtozJjX71sDsn9/Oy+jEdfv6tQsBbJFizO733+0dfvKnzDAmCDggXABgULgA0KVhPqnFH00Tl7/8z5M/p9VY4f61CwmlDnjL5+/fqwMGTv/+z5s/p9VY0fi1XnKjDH9mS+pjonNXpkqftpYY02sQbkRL+Wf6Q6JzUiu0zV/bSwBgVrJzIFa9vqc07Z8UWy40cPfMMCYIOCBcAGBQuADQoWynNSanxQ3w8K1sFV56TUVu3riEWqcxU3z+Z01PvSZY9VOZ9oHPf6ac16/mep+3mpxz+qOsfWff2OahNryOR01PvSZa3I+WT6ac14/swyUvfzUo9/RHWOLaNTTq1Nweqe08lST/PRc1LV4+/+fFlNygTfsAD4oGABsEHBAmBjFwUr++ty9QfFFb/OV/aDGpGdw+rxqzk/X6e5tS9Y2X5F6pzOqn5Kqn5Qo6J+W93Hr+b6fO36gVXnKm624hxR9ojGF+nar2k0J3XvcBl/xP39ZNdnFzaxBnWOKCsaX6Rzv6aRnNQjDuOP/hq4v5/s+uzCpmBFw3TPqXTv19Q955Qdf3Z9uT+fC/tvWACOg4IFwAYFC4ANCtYk1TkktcwYqsffYd/D7s/ngoI1SXUOSe3ZHFD1+Lvse9j9+WxU5yputmROJjq/66Huh1SdE1o1/up+WNU5wOzzdc2Z/RuxhgbU/ZCqc0Irxl/dD6s6B5h9vs45s3+iYDWhfr7q11y9b2L2+urnU8vOX/X6ueEbFgAbFCwANihYAGy0KVjO/YK66zA36hxX535e1bLz1+nZ2hQs135B3VXnhG7UOa6u/byqZeevy/r5W3WuYtSzOZFsP6fR416/oVn9mJ69v3p+Z53f9f1X55CO1u8q0ibWEMnkRLL9nEY86jc0ox9Ttl9YRLlvnnrfSPX7r84hHanfVcSmYHXPaWXvrz4/cvTxRar/mrjkpNTafMMCgAgFC4ANChYAGxYFq8v/eHnPipyLOieTuf6K91M5vo5xhdnP6KJ9were72dVzkWdk3n2+qveT9X42uWQ7sjmyGxU5ypu1P2Mnr3uNphz2WuOadX7UT3fXt5vdv3eO6pzZu/VJtag7meU/bV2Zl9E9xxTdP4I9TLLjq/7+1XGcqpzZu/RpmC590six/SYepnt/f1W5wi7aP8NCwBuKFgAbFCwANhoU7Dc+yWpc1LV+x5235ewcv2seL/KOXTImd20KVju/ZLUOanqfQ+770tYtX5WvV9Vvy2XnNnfqnMVs7j3S3r2/rPG1z0H5k71/o7WL6tNrCHLvV9Sdc6mew7MXeb9zli/e+mXtZuCVZ1zyU5jdc6mew7MXfecmIs237AAIELBAmCDggXAxmEKVvTRMqN6T7zs+Ebunxnj3j+oj1CuEfX76+QwBetezqW6X5K6n9SsflHP5sC69zNbRZUDVL+/dqpzFbNsohzTNphjyfZjyt4/oh5f9sh69vmqc2ar9s1UP/8qh4k1ZGX6Ja24f0Q9vqzsMsw8X3XObMW+mernX4WCNSiapur7R9Tjc38+9f2r14/6+Vc5zDcsAP4oWABsULAA2NhNwaruF9S5p1D3D6odcmzO/caOZDcFq7pfkOr+Wd1zUF1ybK79xg6nOldxo+qX1L1f0Oj4np2/0ePe83eZv6ocmVtO6d9mra8u2sQalP2SuvcLGhlf9JqU+/J1mL/KHJlTTulXZqyvLtoUrKP3Y6rO8WSvr54/cko51e9vlt18wwKwfxQsADYoWABstClY6n3f1NfPmPFBV7kvX/UH5+r7V6+PrOr5m6lNwVLv+6a+/rNm5YhU+/JV57iq71+9PrKq52+66lzFqOp+R6rxjR7dx199/+zxbL8zdT+tVYeLNrGGSHW/I+X4RqhfU3b82fFV9+vK9DtT99NawaQM9MlhhQMt7nekHp/7+LPj656zqs4JVj9/F22+YQFAhIIFwAYFC4ANi4LVod9RpLofV/U9qvd2VN9bmePbU05KrX3B6tLvKFLdj6t6/Kp+UmrZflVd+nkdRnWu4qY6h3Lv6NKPqyqHlt03z6WfVPecVbZfWXS4aBNrqM6hPNKhH1dlDi27b55DP6nuOatsv7JIkzIQalOwqnMokew0de93lR2/+v5q3XNW3dfHKu2/YQHADQULgA0KFgAbbQpW955D2Y/W2T9TPT/KflsdVPZjG/FofTjkFGdpU7C678v2bM5oNGcTXb96flT9trqo6sc26t76cMkpTlOdq8jK5pxm5VhUR5QD2su+c9kclDpHpbq/+/pbrU2sISObc5qRY1GKckB72Hcum4NS56iU43dffyvtomBtW33OSS07/u6vWf3+1M9/9PW3SptvWAAQoWABsEHBAmBjNwUrm6PpHKk4AuX7q+4n5r7+Oo1tNwUrm6Opzjkdner9VfcTc19/7XJ01bmKVdQ5mep+Rdnz3XNQz44ve3R5vntm9WPrYjexhog6J1Pdryj7a3X3HFRE2W+tw/M9MqMfWxeHKVjVOZ/qfkjdz1dz3zdS/fzdx3+zm29YAPaPggXABgULgI3DFCx1TkfZrygan7rf1oz77133OajOqc1ymIKlzumo+hVF41P325p1/73r3k+qOqc2TXWu4qZq371R7x3Xew/VvoSz5i97/+r3r35/qqN7zmu1NrGGyn33Rqh/La7clzCSzVmNiJaZ+v13b9+Sfb6jaFOwuu+rVp3jcb+/+/WrNflrWu4w37AA+KNgAbBBwQJgo03B6r7vnfIe1f2S1PdXv58j5MT28AwztClY3fe9U/Urqu6XpL6/+v0cJSfWPee1THWuAn+p7idVff8tyCNV5dRG7/8s9b6Ee8txtYk1HF11P6nq+0exg8qc2sj9M9T7Eu4px0XBaqK6X5H7/atzaurn7z7+Vdp8wwKACAULgA0KFgAbFKwmKvsVzeinpb4/sG0UrDaq+hXN6qelvj+wbVufHNbHjx/Lew8pjyzVvoEuR6T6/tn34z7+VdrEGj59+rT9/Pmzehgy2WlW7hvoIJq/6lhA9v24j38VCtYi2WnunlNSq36+7P33Pv5V+IYFwAYFC4ANChYAGxQsA10+eFap7heWHWP12LZNuy/lShSs5o6eU6ruFzaq+75/qn0pl6vOVdxEOazX19fqIabGH1Hv+xedf6/f02i/JlW/qKxZ/abU1O/n3tEtZxWxiTW8vr5unz9/rh7m0+OPplm971+m39RIvyZlv6isGf2m1H9N1O/nkU45qwg/EjZRHeqMmuNlzq/WeWwzniH7fNVr7z0oWABsULAA2KBgAbBBwdqBbE7pCPv6ZSMP1f3AMjmqSKecVYSCZS6bUzrKvn7ZnFZ1P7Bnc1SRdjmrSHWu4iabw9qSOZvoyI4/Et1fnXNS58BU98/miNT7AqqPWTkq+mG9UzaHVd2eI5vDyu7Ll6XOgSnvn80RqfcFVJuRo3Lph8WPhCbUWaLqLE7m/tmxu+e0Zry7R9eoXhv/RMECYIOCBcAGBQuADQpWE9X9iDrnlNRjn3WNStn5r15/oyhYTVT3I+qaU4rMmp/qflpZ2fmvXn/DqnMVN0fPYUWqcjKr+i1F18nm0J6dv2w/sFXnq99PF+SwBkXTlM1hRSpzMiv6LalzaJn5y/YDW3F+RqecVYSCNai6YFXvG5ed32h86udT7xtYfX5WkzIQ4hsWABsULAA2KFgAbFCwMETdb0mdA8pev/P5M7h8dKdgYYi635I6B5S9ftfzZ6nK0b1bda7ihhzWY9nxVVPnyKr7OWXvr86JPXt0y2kRaxgUTdPeYw1Z6hxZdT+n7P3VObGMTjktfiTEEup+S9X9nLL3z5y/915p/0TBAmCDggXABgULgA0KloEuHzwzuues1KKP5urzMzrM3w0Fq7m97wvYJWeldi/nlN2XUL0+uszf36pzFTfZHFa1bA6r676A6hzRqvGpr//se1t1qPe1XGU3Oaxq2RxW530B1TmiFeNTX1+dA8xS72u5Cj8SNlGddanMEa0YX/X1q+2hWG0bBQuAEQoWABsULAA2KFg7UJ1jUueAOly/MgeV1SlHlUXBMledY1LngLpcvyoHldUuR5VVnau4iXJM7kckOj/K0Tyb48rmrGY9f/frZw/VvoWjqvuFzWKTw3IXTXN2X75Mjiubs5rx/N2vn6Xct3BEdb+wWShYi2QLVvZ89fj2fv0s9fuPuDeAvOEbFgAbFCwANihYAGxQsJqo3LeO62vtYV/GLihYTVTtW8f1tfayL2MXbX5LCAAR/gsLgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgI0/AXRl5K/bYs25AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAyLTExVDIwOjQzOjIzKzAwOjAwj4NP3QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMi0xMVQyMDo0MzoyMyswMDowMP7e92EAAAAASUVORK5CYII=");return(d,p)=>(t.openBlock(),t.createElementBlock("div",Ku,[t.createElementVNode("section",Ju,[e.generated?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([l.value,"btnQrCode"])},[e.loading?(t.openBlock(),t.createElementBlock("div",e5,p[0]||(p[0]=[t.createElementVNode("div",{class:"loaderMFA"},null,-1)]))):(t.openBlock(),t.createElementBlock("button",{key:1,class:"uppercase bg-base-300 p-2 z-40",onClick:o}," Gerar QR "))],2)),t.createElementVNode("img",{class:t.normalizeClass([[l.value,e.generated?"rounded-md":"rounded-none"],""]),src:i.value,alt:"QRCode"},null,10,t5)])]))}},Un=zt.defineStore("attendant",{state:()=>({attendants:[],count:null,loaded:!1}),actions:{async fetchAttendants(){try{this.attendants=[];let e=`${xc}`;const a=await na.get(e);this.attendants=a.data,this.count=this.attendants.length}catch(e){console.log("Erro ao buscar atendentes:",e)}},removeAttendants(e){this.attendants=this.attendants.filter(a=>a.id!==e)},addAttendants(e){const a=this.attendants.findIndex(n=>n.id===e.id);a!==-1?this.attendants[a]=e:this.attendants.push(e)}}});for(var ht=[],uo=0;uo<256;++uo)ht.push((uo+256).toString(16).slice(1));function n5(e,a=0){return(ht[e[a+0]]+ht[e[a+1]]+ht[e[a+2]]+ht[e[a+3]]+"-"+ht[e[a+4]]+ht[e[a+5]]+"-"+ht[e[a+6]]+ht[e[a+7]]+"-"+ht[e[a+8]]+ht[e[a+9]]+"-"+ht[e[a+10]]+ht[e[a+11]]+ht[e[a+12]]+ht[e[a+13]]+ht[e[a+14]]+ht[e[a+15]]).toLowerCase()}var Xn,r5=new Uint8Array(16);function o5(){if(!Xn&&(Xn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Xn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Xn(r5)}var i5=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const jl={randomUUID:i5};function l5(e,a,n){if(jl.randomUUID&&!e)return jl.randomUUID();e=e||{};var r=e.random||(e.rng||o5)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,n5(r)}function ql(){const e=Un(),a=async s=>{const d=e.attendants.find(p=>p.id===s);if(d)try{const p=await na.get(`${Mr}?attendant=${s}&page=1`);d.messages=p.data.results.reverse(),d.hasNextPage=p.data.next!==null,d.currentPage=2,d.internal_chat={channel_id:p.data.channel_id,unread:0}}catch(p){console.error("Erro ao buscar mensagens:",p)}},n=async s=>{const d=e.attendants.find(p=>p.id===s);if(!(!d||!d.hasNextPage))try{const p=await na.get(`${Mr}?attendant=${s}&page=${d.currentPage}`);d.messages=[...p.data.results.reverse(),...d.messages],d.hasNextPage=p.data.next!==null,d.currentPage++}catch(p){console.error("Erro ao carregar mais mensagens:",p)}},r=(s,d,p)=>{const u=s==null?void 0:s.message;if(!u)return;const m=e.attendants.find(c=>{var f;return((f=c.internal_chat)==null?void 0:f.channel_id)===u.channel_id});m?(m.messages=m.messages||[],m.messages.find(f=>f.id===u.id)||(m.messages.push(u),(!d||m.id!==p)&&(m.internal_chat.unread=(m.internal_chat.unread||0)+1))):console.error("Atendente não encontrado para o canal especificado.")},o=s=>{const d=e.attendants.find(p=>p.id===s);d&&(d.internal_chat.unread=0)},i=async(s,d,p,u=!1)=>{var h;const m=e.attendants.find(y=>y.id===s);if(!m||!((h=m.internal_chat)!=null&&h.channel_id))return;let c;u?c=d:c={type:"text",content:d};const f={id:l5(),content:c,created_at:new Date().toISOString(),sender:p};m.messages.push(f);try{await na.post(`${Mr}${m.internal_chat.channel_id}/message/`,{id:f.id,content:f.content})}catch(y){console.error("Erro ao enviar mensagem:",y)}},l=s=>{const d=e.attendants.find(p=>p.id===s);return d?d.hasNextPage:!1};return{attendants:t.computed(()=>e.attendants),count:t.computed(()=>e.count),fetchMessagesForAtendente:a,loadMessagesForAtendente:n,addMessageToAtendente:r,sendMessageToAtendente:i,hasNextPageForAtendente:l,resetUnreadMessages:o}}const s5={class:"avatar bg-[#404857] shadow shadow-gray-900 dark:shadow-gray-700 dark:bg-gray-300 text-gray-100 dark:text-gray-500"},c5={key:0,style:{"padding-top":"0.5rem"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},d5=["src"],mo=qe({__name:"Avatar",props:{url:{type:String}},setup(e){return(a,n)=>(t.openBlock(),t.createElementBlock("div",s5,[e.url?(t.openBlock(),t.createElementBlock("img",{key:1,style:{"object-fit":"scale-down"},src:e.url},null,8,d5)):(t.openBlock(),t.createElementBlock("svg",c5,n[0]||(n[0]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"},null,-1)])))]))}},[["__scopeId","data-v-7d8b2820"]]),u5={class:"attendants-container"},m5={class:"atendentes-list bg-base-300"},f5={key:0,class:"empty-message bg-base-200"},h5=["onClick"],p5={class:"atendente-main"},g5={class:"atendente-name"},y5={class:"flex items-center gap-4"},k5={key:0,class:"message-indicator"},x5={key:0,class:"chat-footer bg-base-200"},Wl=qe({__name:"ChatList",props:{atendentes:{type:Array,required:!0},attendant:{required:!0},mobile:{type:Boolean,default:!1}},emits:["atendenteSelecionado"],setup(e,{emit:a}){const n=e,r=a,o=t.ref(""),i=d=>{r("atendenteSelecionado",d)},l=d=>{switch(d){case"Busy":return"bg-red-500";case"Online":return"bg-green-500";case"Away":return"bg-yellow-500";case"Offline":return"bg-gray-500";default:return"bg-purple-500"}},s=t.computed(()=>o.value?n.atendentes.filter(d=>d.name.toLowerCase().includes(o.value.toLowerCase())&&d.id!==n.attendant.id):n.atendentes.filter(d=>d.id!==n.attendant.id));return(d,p)=>(t.openBlock(),t.createElementBlock("div",u5,[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":p[0]||(p[0]=u=>o.value=u),class:t.normalizeClass(e.mobile?"search-input-mobile bg-base-300 border-b border-base-200":"search-input bg-base-300 border-b border-base-200"),placeholder:"Pesquise entre os atendentes..."},null,2),[[t.vModelText,o.value]]),t.createElementVNode("ul",m5,[s.value.length===0?(t.openBlock(),t.createElementBlock("li",f5,t.toDisplayString(e.atendentes.length===0?"Não há atendentes disponíveis":"Não há atendentes com esse nome"),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,u=>(t.openBlock(),t.createElementBlock("li",{key:u.id,onClick:m=>i(u),class:t.normalizeClass([["atendente-item",u.isMoved?"moved":""],"border-b even:bg-base-300 bg-blue-400/10 border-base-200 hover:bg-base-200 relative"])},[t.createElementVNode("main",p5,[t.createVNode(mo,{url:u.photo},null,8,["url"]),t.createElementVNode("span",g5,t.toDisplayString(u.name),1)]),t.createElementVNode("footer",y5,[u.internal_chat.unread>0?(t.openBlock(),t.createElementBlock("span",k5,t.toDisplayString(u.internal_chat.unread),1)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["status-indicator",l(u.login_status)])},null,2)]),p[1]||(p[1]=t.createElementVNode("div",{class:"hover-action"},"Conversar",-1))],10,h5))),128))]),e.mobile?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("footer",x5))]))}},[["__scopeId","data-v-dc8950e9"]]);function b5(e,a=null){if(!e)return!1;const n=e.getBoundingClientRect(),r=a?a.getBoundingClientRect():{top:0,left:0,bottom:window.innerHeight,right:window.innerWidth};return n.bottom>=r.top&&n.top<=r.bottom&&n.right>=r.left&&n.left<=r.right}async function w5(e){return e?(await t.nextTick(),e.value instanceof HTMLElement?e.value:e.value?document.querySelector(e.value):null):null}function v5(e){let a=`0px 0px ${e.distance}px 0px`;e.top&&(a=`${e.distance}px 0px 0px 0px`);const n=new IntersectionObserver(r=>{r[0].isIntersecting&&(e.firstload&&e.emit(),e.firstload=!0)},{root:e.parentEl,rootMargin:a});return e.infiniteLoading.value&&n.observe(e.infiniteLoading.value),n}async function Yl(e,a){if(await t.nextTick(),!e.top)return;const n=e.parentEl||document.documentElement;n.scrollTop=n.scrollHeight-a}const Ul=(e,a)=>{const n=e.__vccOpts||e;for(const[r,o]of a)n[r]=o;return n},E5={},C5=e=>(t.pushScopeId("data-v-d3e37633"),e=e(),t.popScopeId(),e),S5={class:"container"},M5=C5(()=>t.createElementVNode("div",{class:"spinner"},null,-1)),B5=[M5];function A5(e,a){return t.openBlock(),t.createElementBlock("div",S5,B5)}const V5=Ul(E5,[["render",A5],["__scopeId","data-v-d3e37633"]]),N5={class:"state-error"},fo=Ul(t.defineComponent({__name:"InfiniteLoading",props:{top:{type:Boolean,default:!1},target:{},distance:{default:0},identifier:{},firstload:{type:Boolean,default:!0},slots:{}},emits:["infinite"],setup(e,{emit:a}){const n=e;let r=null,o=0;const i=t.ref(null),l=t.ref(""),{top:s,firstload:d,distance:p}=n,{identifier:u,target:m}=t.toRefs(n),c={infiniteLoading:i,top:s,firstload:d,distance:p,parentEl:null,emit(){o=(c.parentEl||document.documentElement).scrollHeight,f.loading(),a("infinite",f)}},f={loading(){l.value="loading"},async loaded(){l.value="loaded",await Yl(c,o),b5(i.value,c.parentEl)&&c.emit()},async complete(){l.value="complete",await Yl(c,o),r==null||r.disconnect()},error(){l.value="error"}};function h(){r==null||r.disconnect(),r=v5(c)}return t.watch(u,h),t.onMounted(async()=>{c.parentEl=await w5(m),h()}),t.onUnmounted(()=>r==null?void 0:r.disconnect()),(y,b)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"infiniteLoading",ref:i,class:"v3-infinite-loading"},[t.withDirectives(t.createElementVNode("div",null,[t.renderSlot(y.$slots,"spinner",{},()=>[t.createVNode(V5)],!0)],512),[[t.vShow,l.value=="loading"]]),l.value=="complete"?t.renderSlot(y.$slots,"complete",{key:0},()=>{var x;return[t.createElementVNode("span",null,t.toDisplayString(((x=y.slots)==null?void 0:x.complete)||"No more results!"),1)]},!0):t.createCommentVNode("",!0),l.value=="error"?t.renderSlot(y.$slots,"error",{key:1,retry:c.emit},()=>{var x;return[t.createElementVNode("span",N5,[t.createElementVNode("span",null,t.toDisplayString(((x=y.slots)==null?void 0:x.error)||"Oops something went wrong!"),1),t.createElementVNode("button",{class:"retry",onClick:b[0]||(b[0]=(...w)=>c.emit&&c.emit(...w))},"retry")])]},!0):t.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-4bdee133"]]),Xl=6048e5,_5=864e5,Zl=Symbol.for("constructDateFrom");function Nt(e,a){return typeof e=="function"?e(a):e&&typeof e=="object"&&Zl in e?e[Zl](a):e instanceof Date?new e.constructor(a):new Date(a)}function _t(e,a){return Nt(a||e,e)}function D5(e,a,n){const r=_t(e,n==null?void 0:n.in);return isNaN(a)?Nt(e,NaN):(r.setDate(r.getDate()+a),r)}let T5={};function Zn(){return T5}function Na(e,a){var s,d,p,u;const n=Zn(),r=(a==null?void 0:a.weekStartsOn)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.weekStartsOn)??0,o=_t(e,a==null?void 0:a.in),i=o.getDay(),l=(i<r?7:0)+i-r;return o.setDate(o.getDate()-l),o.setHours(0,0,0,0),o}function Qn(e,a){return Na(e,{...a,weekStartsOn:1})}function Ql(e,a){const n=_t(e,a==null?void 0:a.in),r=n.getFullYear(),o=Nt(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const i=Qn(o),l=Nt(n,0);l.setFullYear(r,0,4),l.setHours(0,0,0,0);const s=Qn(l);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Kl(e){const a=_t(e),n=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return n.setUTCFullYear(a.getFullYear()),+e-+n}function ho(e,...a){const n=Nt.bind(null,a.find(r=>typeof r=="object"));return a.map(n)}function Kn(e,a){const n=_t(e,a==null?void 0:a.in);return n.setHours(0,0,0,0),n}function P5(e,a,n){const[r,o]=ho(n==null?void 0:n.in,e,a),i=Kn(r),l=Kn(o),s=+i-Kl(i),d=+l-Kl(l);return Math.round((s-d)/_5)}function O5(e,a){const n=Ql(e,a),r=Nt(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Qn(r)}function po(e){return Nt(e,Date.now())}function Jl(e,a,n){const[r,o]=ho(n==null?void 0:n.in,e,a);return+Kn(r)==+Kn(o)}function F5(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function L5(e){return!(!F5(e)&&typeof e!="number"||isNaN(+_t(e)))}function $5(e,a){const n=_t(e,a==null?void 0:a.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const H5={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},R5=(e,a,n)=>{let r;const o=H5[e];return typeof o=="string"?r=o:a===1?r=o.one:r=o.other.replace("{{count}}",a.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Wa(e){return(a={})=>{const n=a.width?String(a.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const z5={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},I5={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},G5={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},j5={date:Wa({formats:z5,defaultWidth:"full"}),time:Wa({formats:I5,defaultWidth:"full"}),dateTime:Wa({formats:G5,defaultWidth:"full"})},q5={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},W5=(e,a,n,r)=>q5[e];function Yt(e){return(a,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):l;o=e.formattingValues[s]||e.formattingValues[l]}else{const l=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[l]}const i=e.argumentCallback?e.argumentCallback(a):a;return o[i]}}const Y5={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},U5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},X5={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Z5={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Q5={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},K5={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},J5={ordinalNumber:(e,a)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Yt({values:Y5,defaultWidth:"wide"}),quarter:Yt({values:U5,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Yt({values:X5,defaultWidth:"wide"}),day:Yt({values:Z5,defaultWidth:"wide"}),dayPeriod:Yt({values:Q5,defaultWidth:"wide",formattingValues:K5,defaultFormattingWidth:"wide"})};function Ut(e){return(a,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=a.match(o);if(!i)return null;const l=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(s)?t6(s,m=>m.test(l)):e6(s,m=>m.test(l));let p;p=e.valueCallback?e.valueCallback(d):d,p=n.valueCallback?n.valueCallback(p):p;const u=a.slice(l.length);return{value:p,rest:u}}}function e6(e,a){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&a(e[n]))return n}function t6(e,a){for(let n=0;n<e.length;n++)if(a(e[n]))return n}function e1(e){return(a,n={})=>{const r=a.match(e.matchPattern);if(!r)return null;const o=r[0],i=a.match(e.parsePattern);if(!i)return null;let l=e.valueCallback?e.valueCallback(i[0]):i[0];l=n.valueCallback?n.valueCallback(l):l;const s=a.slice(o.length);return{value:l,rest:s}}}const a6=/^(\d+)(th|st|nd|rd)?/i,n6=/\d+/i,r6={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},o6={any:[/^b/i,/^(a|c)/i]},i6={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},l6={any:[/1/i,/2/i,/3/i,/4/i]},s6={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},c6={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},d6={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},u6={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},m6={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},f6={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},h6={ordinalNumber:e1({matchPattern:a6,parsePattern:n6,valueCallback:e=>parseInt(e,10)}),era:Ut({matchPatterns:r6,defaultMatchWidth:"wide",parsePatterns:o6,defaultParseWidth:"any"}),quarter:Ut({matchPatterns:i6,defaultMatchWidth:"wide",parsePatterns:l6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ut({matchPatterns:s6,defaultMatchWidth:"wide",parsePatterns:c6,defaultParseWidth:"any"}),day:Ut({matchPatterns:d6,defaultMatchWidth:"wide",parsePatterns:u6,defaultParseWidth:"any"}),dayPeriod:Ut({matchPatterns:m6,defaultMatchWidth:"any",parsePatterns:f6,defaultParseWidth:"any"})},p6={code:"en-US",formatDistance:R5,formatLong:j5,formatRelative:W5,localize:J5,match:h6,options:{weekStartsOn:0,firstWeekContainsDate:1}};function g6(e,a){const n=_t(e,a==null?void 0:a.in);return P5(n,$5(n))+1}function y6(e,a){const n=_t(e,a==null?void 0:a.in),r=+Qn(n)-+O5(n);return Math.round(r/Xl)+1}function t1(e,a){var u,m,c,f;const n=_t(e,a==null?void 0:a.in),r=n.getFullYear(),o=Zn(),i=(a==null?void 0:a.firstWeekContainsDate)??((m=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??o.firstWeekContainsDate??((f=(c=o.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??1,l=Nt((a==null?void 0:a.in)||e,0);l.setFullYear(r+1,0,i),l.setHours(0,0,0,0);const s=Na(l,a),d=Nt((a==null?void 0:a.in)||e,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const p=Na(d,a);return+n>=+s?r+1:+n>=+p?r:r-1}function k6(e,a){var s,d,p,u;const n=Zn(),r=(a==null?void 0:a.firstWeekContainsDate)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.firstWeekContainsDate)??1,o=t1(e,a),i=Nt((a==null?void 0:a.in)||e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Na(i,a)}function x6(e,a){const n=_t(e,a==null?void 0:a.in),r=+Na(n,a)-+k6(n,a);return Math.round(r/Xl)+1}function Ge(e,a){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(a,"0");return n+r}const ma={y(e,a){const n=e.getFullYear(),r=n>0?n:1-n;return Ge(a==="yy"?r%100:r,a.length)},M(e,a){const n=e.getMonth();return a==="M"?String(n+1):Ge(n+1,2)},d(e,a){return Ge(e.getDate(),a.length)},a(e,a){const n=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,a){return Ge(e.getHours()%12||12,a.length)},H(e,a){return Ge(e.getHours(),a.length)},m(e,a){return Ge(e.getMinutes(),a.length)},s(e,a){return Ge(e.getSeconds(),a.length)},S(e,a){const n=a.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ge(o,a.length)}},Ya={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},a1={G:function(e,a,n){const r=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,a,n){if(a==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return ma.y(e,a)},Y:function(e,a,n,r){const o=t1(e,r),i=o>0?o:1-o;if(a==="YY"){const l=i%100;return Ge(l,2)}return a==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ge(i,a.length)},R:function(e,a){const n=Ql(e);return Ge(n,a.length)},u:function(e,a){const n=e.getFullYear();return Ge(n,a.length)},Q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(r);case"QQ":return Ge(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(r);case"qq":return Ge(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,a,n){const r=e.getMonth();switch(a){case"M":case"MM":return ma.M(e,a);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,a,n){const r=e.getMonth();switch(a){case"L":return String(r+1);case"LL":return Ge(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,a,n,r){const o=x6(e,r);return a==="wo"?n.ordinalNumber(o,{unit:"week"}):Ge(o,a.length)},I:function(e,a,n){const r=y6(e);return a==="Io"?n.ordinalNumber(r,{unit:"week"}):Ge(r,a.length)},d:function(e,a,n){return a==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):ma.d(e,a)},D:function(e,a,n){const r=g6(e);return a==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ge(r,a.length)},E:function(e,a,n){const r=e.getDay();switch(a){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"e":return String(i);case"ee":return Ge(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"c":return String(i);case"cc":return Ge(i,a.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,a,n){const r=e.getDay(),o=r===0?7:r;switch(a){case"i":return String(o);case"ii":return Ge(o,a.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,a,n){const o=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,a,n){const r=e.getHours();let o;switch(r===12?o=Ya.noon:r===0?o=Ya.midnight:o=r/12>=1?"pm":"am",a){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,a,n){const r=e.getHours();let o;switch(r>=17?o=Ya.evening:r>=12?o=Ya.afternoon:r>=4?o=Ya.morning:o=Ya.night,a){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,a,n){if(a==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return ma.h(e,a)},H:function(e,a,n){return a==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):ma.H(e,a)},K:function(e,a,n){const r=e.getHours()%12;return a==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ge(r,a.length)},k:function(e,a,n){let r=e.getHours();return r===0&&(r=24),a==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ge(r,a.length)},m:function(e,a,n){return a==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ma.m(e,a)},s:function(e,a,n){return a==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ma.s(e,a)},S:function(e,a){return ma.S(e,a)},X:function(e,a,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(a){case"X":return r1(r);case"XXXX":case"XX":return _a(r);case"XXXXX":case"XXX":default:return _a(r,":")}},x:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"x":return r1(r);case"xxxx":case"xx":return _a(r);case"xxxxx":case"xxx":default:return _a(r,":")}},O:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+n1(r,":");case"OOOO":default:return"GMT"+_a(r,":")}},z:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+n1(r,":");case"zzzz":default:return"GMT"+_a(r,":")}},t:function(e,a,n){const r=Math.trunc(+e/1e3);return Ge(r,a.length)},T:function(e,a,n){return Ge(+e,a.length)}};function n1(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+a+Ge(i,2)}function r1(e,a){return e%60===0?(e>0?"-":"+")+Ge(Math.abs(e)/60,2):_a(e,a)}function _a(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ge(Math.trunc(r/60),2),i=Ge(r%60,2);return n+o+a+i}const o1=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},i1=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},b6={p:i1,P:(e,a)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return o1(e,a);let i;switch(r){case"P":i=a.dateTime({width:"short"});break;case"PP":i=a.dateTime({width:"medium"});break;case"PPP":i=a.dateTime({width:"long"});break;case"PPPP":default:i=a.dateTime({width:"full"});break}return i.replace("{{date}}",o1(r,a)).replace("{{time}}",i1(o,a))}},w6=/^D+$/,v6=/^Y+$/,E6=["D","DD","YY","YYYY"];function C6(e){return w6.test(e)}function S6(e){return v6.test(e)}function M6(e,a,n){const r=B6(e,a,n);if(console.warn(r),E6.includes(e))throw new RangeError(r)}function B6(e,a,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const A6=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,V6=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,N6=/^'([^]*?)'?$/,_6=/''/g,D6=/[a-zA-Z]/;function l1(e,a,n){var u,m,c,f,h,y,b,x;const r=Zn(),o=(n==null?void 0:n.locale)??r.locale??p6,i=(n==null?void 0:n.firstWeekContainsDate)??((m=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??r.firstWeekContainsDate??((f=(c=r.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??1,l=(n==null?void 0:n.weekStartsOn)??((y=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:y.weekStartsOn)??r.weekStartsOn??((x=(b=r.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??0,s=_t(e,n==null?void 0:n.in);if(!L5(s))throw new RangeError("Invalid time value");let d=a.match(V6).map(w=>{const k=w[0];if(k==="p"||k==="P"){const B=b6[k];return B(w,o.formatLong)}return w}).join("").match(A6).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const k=w[0];if(k==="'")return{isToken:!1,value:T6(w)};if(a1[k])return{isToken:!0,value:w};if(k.match(D6))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:w}});o.localize.preprocessor&&(d=o.localize.preprocessor(s,d));const p={firstWeekContainsDate:i,weekStartsOn:l,locale:o};return d.map(w=>{if(!w.isToken)return w.value;const k=w.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&S6(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&C6(k))&&M6(k,a,String(e));const B=a1[k[0]];return B(s,k,o.localize,p)}).join("")}function T6(e){const a=e.match(N6);return a?a[1].replace(_6,"'"):e}function P6(e,a,n){const[r,o]=ho(n==null?void 0:n.in,e,a);return+Na(r,n)==+Na(o,n)}function O6(e,a){return P6(Nt(e,e),po(e),a)}function F6(e,a){return Jl(Nt(e,e),po(e))}function L6(e,a,n){return D5(e,-1,n)}function $6(e,a){return Jl(Nt(e,e),L6(po(e)))}const H6={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},R6=(e,a,n)=>{let r;const o=H6[e];return typeof o=="string"?r=o:a===1?r=o.one:r=o.other.replace("{{count}}",String(a)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"em "+r:"há "+r:r},z6={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},I6={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},G6={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},j6={date:Wa({formats:z6,defaultWidth:"full"}),time:Wa({formats:I6,defaultWidth:"full"}),dateTime:Wa({formats:G6,defaultWidth:"full"})},q6={lastWeek:e=>{const a=e.getDay();return"'"+(a===0||a===6?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},W6=(e,a,n,r)=>{const o=q6[e];return typeof o=="function"?o(a):o},Y6={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},U6={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},X6={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},Z6={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},Q6={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},K6={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},J6={ordinalNumber:(e,a)=>{const n=Number(e);return(a==null?void 0:a.unit)==="week"?n+"ª":n+"º"},era:Yt({values:Y6,defaultWidth:"wide"}),quarter:Yt({values:U6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Yt({values:X6,defaultWidth:"wide"}),day:Yt({values:Z6,defaultWidth:"wide"}),dayPeriod:Yt({values:Q6,defaultWidth:"wide",formattingValues:K6,defaultFormattingWidth:"wide"})},e7=/^(\d+)[ºªo]?/i,t7=/\d+/i,a7={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},n7={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},r7={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},o7={any:[/1/i,/2/i,/3/i,/4/i]},i7={narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},l7={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},s7={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},c7={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},d7={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},u7={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},m7={ordinalNumber:e1({matchPattern:e7,parsePattern:t7,valueCallback:e=>parseInt(e,10)}),era:Ut({matchPatterns:a7,defaultMatchWidth:"wide",parsePatterns:n7,defaultParseWidth:"any"}),quarter:Ut({matchPatterns:r7,defaultMatchWidth:"wide",parsePatterns:o7,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ut({matchPatterns:i7,defaultMatchWidth:"wide",parsePatterns:l7,defaultParseWidth:"any"}),day:Ut({matchPatterns:s7,defaultMatchWidth:"wide",parsePatterns:c7,defaultParseWidth:"any"}),dayPeriod:Ut({matchPatterns:d7,defaultMatchWidth:"any",parsePatterns:u7,defaultParseWidth:"any"})},s1={code:"pt-BR",formatDistance:R6,formatLong:j6,formatRelative:W6,localize:J6,match:m7,options:{weekStartsOn:0,firstWeekContainsDate:1}};/*! License details at fancyapps.com/license */const ft=e=>typeof e=="string";/*! License details at fancyapps.com/license */const Ua=e=>e&&e!==null&&e instanceof Element&&"nodeType"in e;/*! License details at fancyapps.com/license */const f7=function(e){if(!(e&&e instanceof Element&&e.offsetParent))return!1;const a=e.scrollHeight>e.clientHeight,n=window.getComputedStyle(e).overflowY,r=n.indexOf("hidden")!==-1,o=n.indexOf("visible")!==-1;return a&&!r&&!o},yn=function(e,a=void 0){return!e||e===document.body||a&&e===a?null:f7(e)?e:yn(e.parentElement,a)};/*! License details at fancyapps.com/license */const fa=function(e){var a=new DOMParser().parseFromString(e,"text/html").body;if(a.childElementCount>1){for(var n=document.createElement("div");a.firstChild;)n.appendChild(a.firstChild);return n}let r=a.firstChild;return!r||r instanceof HTMLElement?r:((n=document.createElement("div")).appendChild(r),n)};/*! License details at fancyapps.com/license */const $e=function(e=0,a=0,n=0){return Math.max(Math.min(a,n),e)};/*! License details at fancyapps.com/license */const Et=e=>typeof e=="object"&&e!==null&&e.constructor===Object&&Object.prototype.toString.call(e)==="[object Object]";/*! License details at fancyapps.com/license */function c1(e){return Et(e)||Array.isArray(e)}function go(e,a){const n=Object.keys(e),r=Object.keys(a);return n.length===r.length&&n.every(o=>{const i=e[o],l=a[o];return typeof i=="function"?`${i}`==`${l}`:c1(i)&&c1(l)?go(i,l):i===l})}/*! License details at fancyapps.com/license */const d1=function(e){for(const a of Jn)a.getState()===Ct.Running&&a.tick(yo?e-yo:0);yo=e,Za=window.requestAnimationFrame(d1)};var Ct,ha,Xa;(function(e){e[e.Initializing=0]="Initializing",e[e.Running=1]="Running",e[e.Paused=2]="Paused",e[e.Completed=3]="Completed",e[e.Destroyed=4]="Destroyed"})(Ct||(Ct={})),function(e){e[e.Spring=0]="Spring",e[e.Ease=1]="Ease"}(ha||(ha={})),function(e){e[e.Loop=0]="Loop",e[e.Reverse=1]="Reverse"}(Xa||(Xa={}));const Jn=new Set;let Za=null,yo=0;function pa(){let e=Ct.Initializing,a=ha.Ease,n=0,r=0,o=pa.Easings.Linear,i=500,l=0,s=0,d=0,p=0,u=1/0,m=.01,c=.01,f=!1,h={},y=null,b={},x={},w={},k=0,B=0,V=Xa.Loop,M=pa.Easings.Linear;const E=new Map;function N(J,...S){for(const G of E.get(J)||[])G(...S)}function A(J){return r=0,J?y=setTimeout(()=>{L()},J):L(),Q}function L(){e=Ct.Running,N("start",b,x)}function H(){if(e=Ct.Completed,w={},N("end",b),e===Ct.Completed)if(n<k){if(n++,V===Xa.Reverse){const J=Object.assign({},h);h=Object.assign({},x),x=J}A(B)}else n=0;return Q}const Q={getState:function(){return e},easing:function(J){return o=J,a=ha.Ease,w={},Q},duration:function(J){return i=J,Q},spring:function(J={}){a=ha.Spring;const S={velocity:0,mass:1,tension:170,friction:26,restDelta:.1,restSpeed:.1,maxSpeed:1/0,clamp:!0},{velocity:G,mass:j,tension:Y,friction:me,restDelta:W,restSpeed:_,maxSpeed:ie,clamp:ne}=Object.assign(Object.assign({},S),J);return l=G,s=j,d=Y,p=me,c=W,m=_,u=ie,f=ne,w={},Q},isRunning:function(){return e===Ct.Running},isSpring:function(){return a===ha.Spring},from:function(J){return b=Object.assign({},J),Q},to:function(J){return x=J,Q},repeat:function(J,S=0,G=Xa.Loop,j){return k=J,B=S,V=G,M=j||o,Q},on:function(J,S){var G,j;return G=J,j=S,E.set(G,[...E.get(G)||[],j]),Q},off:function(J,S){var G,j;return G=J,j=S,E.has(G)&&E.set(G,E.get(G).filter(Y=>Y!==j)),Q},start:function(J){return e=Ct.Initializing,h=Object.assign({},b),go(h,x)||(Jn.add(this),Za||(Za=window.requestAnimationFrame(d1)),A(J)),Q},pause:function(){return y&&(clearTimeout(y),y=null),e===Ct.Running&&(e=Ct.Paused,N("pause",b)),Q},end:H,tick:function(J){J>50&&(J=50),r+=J;let S=0,G=!1;if(e!==Ct.Running)return Q;if(a===ha.Ease){S=$e(0,r/i,1),G=S===1;const Y=V===Xa.Reverse?M:o;for(const me in b)b[me]=h[me]+(x[me]-h[me])*Y(S)}if(a===ha.Spring){const Y=.001*J;let me=0;for(const W in b){const _=x[W];let ie=b[W];if(typeof _!="number"||isNaN(_)||typeof ie!="number"||isNaN(ie))continue;if(Math.abs(_-ie)<=c){b[W]=_,w[W]=0;continue}w[W]||(typeof l=="object"&&typeof l[W]=="number"?w[W]=l[W]:w[W]=typeof l=="number"?l:0);let ne=w[W];ne=$e(-1*Math.abs(u),ne,Math.abs(u));const Z=ne*s*p;ne+=((ie>_?-1:1)*(Math.abs(_-ie)*d)-Z)/s*Y,ie+=ne*Y;const C=b[W]>_?ie<_:ie>_;let X=Math.abs(ne)<m&&Math.abs(_-ie)<=c;f&&C&&(X=!0),X?(ie=_,ne=0):me++,b[W]=ie,w[W]=ne}G=!me}const j=Object.assign({},x);return N("step",b,h,x,S),G&&e===Ct.Running&&go(x,j)&&(e=Ct.Completed,H()),Q},getStartValues:function(){return h},getCurrentValues:function(){return b},getCurrentVelocities:function(){return w},getEndValues:function(){return x},destroy:function(){e=Ct.Destroyed,y&&(clearTimeout(y),y=null),h=b=x={},Jn.delete(this)}};return Q}pa.destroy=()=>{for(const e of Jn)e.destroy();Za&&(cancelAnimationFrame(Za),Za=null)},pa.Easings={Linear:function(e){return e},EaseIn:function(e){return e===0?0:Math.pow(2,10*e-10)},EaseOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},EaseInOut:function(e){return e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2}};/*! License details at fancyapps.com/license */function ko(e){const a=[],n=typeof TouchEvent<"u"&&e instanceof TouchEvent?e.touches:e instanceof MouseEvent&&e.type!=="mouseup"?[e]:[];for(const r of n)a.push({x:r.clientX,y:r.clientY,ts:Date.now()});return a}function u1(e){const a=[],n=typeof TouchEvent<"u"&&e instanceof TouchEvent?e.changedTouches:e instanceof MouseEvent?[e]:[];for(const r of n)a.push({x:r.clientX,y:r.clientY,ts:Date.now()});return a}function ga(e){const a=e[0],n=e[1]||a;return{x:(a.x+n.x)/2,y:(a.y+n.y)/2,ts:n.ts}}function er(e){const a=e[0],n=e[1]||e[0];return a&&n?-1*Math.sqrt((n.x-a.x)*(n.x-a.x)+(n.y-a.y)*(n.y-a.y)):0}const m1=e=>{e.cancelable&&e.preventDefault()},ya={passive:!1},h7={panThreshold:5,swipeThreshold:3,ignore:["textarea","input","select","[contenteditable]","[data-selectable]","[data-draggable]"]};let xo=!1,kn=!0;const xn=(e,a)=>{let n,r,o,i=Object.assign(Object.assign({},h7),a),l=[],s=[],d=[],p=!1,u=!1,m=!1,c=0,f=0,h=0,y=0,b=0,x=0,w=0,k=0,B=0,V=[],M=0,E=0;const N=new Map;function A(W){const _=er(s),ie=er(d),ne=_&&ie?_/ie:0,Z=Math.abs(w)>Math.abs(k)?w:k,C={srcEvent:n,isPanRecognized:p,isSwipeRecognized:u,firstTouch:l,previousTouch:d,currentTouch:s,deltaX:h,deltaY:y,offsetX:b,offsetY:x,velocityX:w,velocityY:k,velocity:Z,angle:B,axis:o,scale:ne,center:r};for(const X of N.get(W)||[])X(C)}function L(W){const _=Date.now();V=V.filter(ie=>!ie.ts||ie.ts>_-100),W&&V.push(W)}function H(){if(w=0,k=0,V.length>3){const W=V[0],_=V[V.length-1];if(W&&_){const ie=_.x-W.x,ne=_.y-W.y,Z=W.ts&&_.ts?_.ts-W.ts:0;Z>0&&(w=Math.abs(ie)>3?ie/(Z/30):0,k=Math.abs(ne)>3?ne/(Z/30):0)}}}function Q(W){if(W instanceof MouseEvent){if(xo)return}else xo=!0;const _=W.composedPath()[0],ie=i.ignore.join(",");if(_.matches(ie)||_.closest(ie)||typeof MouseEvent<"u"&&W instanceof MouseEvent&&(!W.buttons||W.button!==0))return;W instanceof MouseEvent&&m1(W);const ne=Date.now(),Z=ne-(c||ne);m=Z>0&&Z<=250,c=ne,clearTimeout(M),n=W,W instanceof MouseEvent&&(window.addEventListener("mousemove",J),window.addEventListener("mouseup",S)),window.addEventListener("blur",G),s=ko(W),l=[...s],d=[],f=s.length,r=ga(s),f===1&&(p=!1,u=!1),f&&L(ga(s)),A("start")}function J(W){var _;if(!l.length||W.defaultPrevented)return;n=W,d=[...s],s=ko(W),f=s.length,r=ga(s);const ie=r,ne=ga(d);if(h=ie.x-ne.x,y=ie.y-ne.y,L(ie),H(),A("move"),s.length>1){const Z=er(s),C=er(d);Math.abs(Z-C)>=.1&&A("pinch")}if(!p&&l.length){const Z=ga(l);b=ie.x-Z.x,x=ie.y-Z.y,p=Math.abs(b)>i.panThreshold||Math.abs(x)>i.panThreshold,p&&(kn=!1,clearTimeout(E),E=0,B=Math.abs(180*Math.atan2(x,b)/Math.PI),o=B>45&&B<135?"y":"x",l=[...s],d=[...s],(_=window.getSelection())===null||_===void 0||_.removeAllRanges(),A("panstart"))}p&&(h||y)&&A("pan")}function S(W){if(n=W,!l.length)return;const _=ko(W),ie=u1(W);if(f=_.length,r=ga(ie),ie.length&&L(ga(ie)),H(),d=[...s],s=[..._],l=[..._],_.length>0)A("end"),p=!1,u=!1,V=[];else{const ne=i.swipeThreshold;(Math.abs(w)>ne||Math.abs(k)>ne)&&(u=!0),p&&A("panend"),u&&A("swipe"),p||u||(A("tap"),m?A("doubleTap"):M=setTimeout(function(){A("singleTap")},250)),A("end"),j()}}function G(){clearTimeout(M),j(),p&&A("panend"),A("end")}function j(){p=!1,u=!1,m=!1,f=0,V=[],s=[],d=[],l=[],h=0,y=0,b=0,x=0,w=0,k=0,B=0,o=void 0,window.removeEventListener("mousemove",J),window.removeEventListener("mouseup",S),window.removeEventListener("blur",G),kn||E||(E=setTimeout(()=>{kn=!0,E=0},100))}function Y(W){const _=W.target;xo=!1,_&&!W.defaultPrevented&&(kn||(m1(W),W.stopPropagation()))}const me={init:function(){if(e)return e.addEventListener("click",Y,ya),e.addEventListener("mousedown",Q,ya),e.addEventListener("touchstart",Q,ya),e.addEventListener("touchmove",J,ya),e.addEventListener("touchend",S),e.addEventListener("touchcancel",S),me},on:function(W,_){return function(ie,ne){N.set(ie,[...N.get(ie)||[],ne])}(W,_),me},off:function(W,_){return N.has(W)&&N.set(W,N.get(W).filter(ie=>ie!==_)),me},isPointerDown:()=>f>0,destroy:function(){clearTimeout(M),clearTimeout(E),E=0,e&&(e.removeEventListener("click",Y,ya),e.removeEventListener("mousedown",Q,ya),e.removeEventListener("touchstart",Q,ya),e.removeEventListener("touchmove",J,ya),e.removeEventListener("touchend",S),e.removeEventListener("touchcancel",S)),e=null,j()}};return me};xn.isClickAllowed=()=>kn;/*! License details at fancyapps.com/license */const bo={IMAGE_ERROR:"This image couldn't be loaded. <br /> Please try again later.",MOVE_UP:"Move up",MOVE_DOWN:"Move down",MOVE_LEFT:"Move left",MOVE_RIGHT:"Move right",ZOOM_IN:"Zoom in",ZOOM_OUT:"Zoom out",TOGGLE_FULL:"Toggle zoom level",TOGGLE_1TO1:"Toggle zoom level",ITERATE_ZOOM:"Toggle zoom level",ROTATE_CCW:"Rotate counterclockwise",ROTATE_CW:"Rotate clockwise",FLIP_X:"Flip horizontally",FLIP_Y:"Flip vertically",RESET:"Reset"};/*! License details at fancyapps.com/license */const ze=(e,a="")=>{e&&e.classList&&a.split(" ").forEach(n=>{n&&e.classList.add(n)})};/*! License details at fancyapps.com/license */const tr=e=>{e.cancelable&&e.preventDefault()},St=(e,a=1e4)=>(e=parseFloat(e+"")||0,Math.round((e+Number.EPSILON)*a)/a);var we,f1;(function(e){e.Reset="reset",e.Zoom="zoom",e.ZoomIn="zoomIn",e.ZoomOut="zoomOut",e.ZoomTo="zoomTo",e.ToggleCover="toggleCover",e.ToggleFull="toggleFull",e.ToggleMax="toggleMax",e.IterateZoom="iterateZoom",e.Pan="pan",e.Swipe="swipe",e.Move="move",e.MoveLeft="moveLeft",e.MoveRight="moveRight",e.MoveUp="moveUp",e.MoveDown="moveDown",e.RotateCCW="rotateCCW",e.RotateCW="rotateCW",e.FlipX="flipX",e.FlipY="flipY"})(we||(we={})),function(e){e.Cover="cover",e.Full="full",e.Max="max"}(f1||(f1={}));const Dt={x:0,y:0,scale:1,angle:0,flipX:1,flipY:1},wo={bounds:!0,classes:{container:"f-panzoom",wrapper:"f-panzoom__wrapper",content:"f-panzoom__content",viewport:"f-panzoom__viewport"},clickAction:we.ToggleFull,dblClickAction:!1,gestures:{},height:"auto",l10n:bo,maxScale:4,minScale:1,mouseMoveFactor:1,panMode:"drag",protected:!1,singleClickAction:!1,spinnerTpl:'<div class="f-spinner"></div>',wheelAction:we.Zoom,width:"auto"};let ar,h1=0,p1=0,nr=0;const vo=(e,a={},n={})=>{let r,o,i,l,s,d,p,u=0,m=Object.assign(Object.assign({},wo),a),c={},f=Object.assign({},Dt),h=Object.assign({},Dt);const y=[];function b(v){let g=m[v];return g&&typeof g=="function"?g($):g}const x=new Map;function w(v,...g){const D=x.get(v)||[];m.on&&D.push(m.on[v]);for(const F of D)F&&F instanceof Function&&F($,...g);v!=="*"&&w("*",v,...g)}function k(v){if(u!==3)return;const g=v.target;if(yn(g))return;const D=Date.now(),F=[-v.deltaX||0,-v.deltaY||0,-v.detail||0].reduce(function(ce,ge){return Math.abs(ge)>Math.abs(ce)?ge:ce}),O=$e(-1,F,1);w("wheel",v,O);const K=b("wheelAction");if(!K||v.defaultPrevented)return;const R=h.scale;let te=R*(O>0?1.5:.5);if(K===we.Zoom){const ce=Math.abs(v.deltaY)<100&&Math.abs(v.deltaX)<100;if(D-p1<(ce?200:45))return void tr(v);p1=D;const ge=Q(),xe=j();if(St(te)<St(ge)&&St(R)<=St(ge)?(nr+=Math.abs(O),te=ge):St(te)>St(xe)&&St(R)>=St(xe)?(nr+=Math.abs(O),te=xe):(nr=0,te=$e(ge,te,xe)),nr>7)return}switch(tr(v),K){case we.Pan:_(K,{srcEvent:v,deltaX:2*-v.deltaX,deltaY:2*-v.deltaY});break;case we.Zoom:_(we.ZoomTo,{srcEvent:v,scale:te,center:{x:v.clientX,y:v.clientY}});break;default:_(K,{srcEvent:v})}}function B(v){var g,D;const F=v.composedPath()[0];if(!xn.isClickAllowed()||!Ua(F)||v.defaultPrevented||!(e!=null&&e.contains(F))||F.hasAttribute("disabled")||F.hasAttribute("aria-disabled"))return;const O=F.closest("[data-panzoom-action]"),K=(g=O==null?void 0:O.dataset)===null||g===void 0?void 0:g.panzoomAction,R=((D=O==null?void 0:O.dataset)===null||D===void 0?void 0:D.panzoomValue)||"";if(K){switch(K){case we.ZoomTo:case we.ZoomIn:case we.ZoomOut:_(K,{scale:parseFloat(R||"")||void 0});break;case we.MoveLeft:case we.MoveRight:_(K,{deltaX:parseFloat(R||"")||void 0});break;case we.MoveUp:case we.MoveDown:_(K,{deltaY:parseFloat(R||"")||void 0});break;default:_(K)}return}if(!(r!=null&&r.contains(F)))return;const te={srcEvent:v};if(_(b("clickAction"),te),b("dblClickAction")){const ce=Date.now(),ge=ce-(h1||ce);h1=ce,ge>0&&ge<=250?(ar&&(clearTimeout(ar),ar=void 0),_(b("dblClickAction"),te)):ar=setTimeout(()=>{_(b("singleClickAction"),te)},250)}}function V(v){if(p=v,!A()||u!==3||f.scale<=1||h.scale<=1||((r==null?void 0:r.dataset.animationName)||"").indexOf("zoom")>-1)return;const g=L(h.scale);if(!g)return;const{x:D,y:F}=g;_(we.Pan,{deltaX:D-h.x,deltaY:F-h.y})}function M(){var v;if(e&&((v=e.querySelector(".f-spinner"))===null||v===void 0||v.remove(),e.classList.remove("is-loading")),!e||!r)return;if(o instanceof HTMLImageElement&&(!o.complete||!o.naturalWidth))return u=2,r==null||r.classList.add("has-error"),void w("error");w("loaded");const{width:g,height:D}=N();o&&(o.setAttribute("width",g+""),o.setAttribute("height",D+"")),r&&(r.classList.remove("has-error"),r.setAttribute("width",g+""),r.setAttribute("height",D+""),r.style.aspectRatio=`${g/D||""}`),s=pa().on("start",(O,K)=>{h=Object.assign(Object.assign({},Dt),K),K.angle!==void 0&&(K.angle=90*Math.round(K.angle/90)),K.flipX!==void 0&&(K.flipX=K.flipX>0?1:-1),K.flipY!==void 0&&(K.flipY=K.flipY>0?1:-1),W(),w("animationStart")}).on("pause",O=>{h=Object.assign(Object.assign({},Dt),O)}).on("step",O=>{if(u!==3||!s)return;if(!e||!e.parentElement)return void s.end();if(f=Object.assign(Object.assign({},Dt),O),A()||!b("bounds")||(l==null?void 0:l.isPointerDown())||h.scale>f.scale||h.scale<J())return void ie();const K=Y(h.scale);let R=!1,te=!1,ce=!1,ge=!1;f.x<K.x[0]&&(R=!0),f.x>K.x[1]&&(te=!0),f.y<K.y[0]&&(ge=!0),f.y>K.y[1]&&(ce=!0);let xe=!1,de=!1,Me=!1,Ne=!1;h.x<K.x[0]&&(xe=!0),h.x>K.x[1]&&(de=!0),h.y<K.y[0]&&(Ne=!0),h.y>K.y[1]&&(Me=!0);let _e=!1;(te&&de||R&&xe)&&(h.x=$e(K.x[0],h.x,K.x[1]),_e=!0),(ce&&Me||ge&&Ne)&&(h.y=$e(K.y[0],h.y,K.y[1]),_e=!0),_e&&s.spring({tension:94,friction:17,maxSpeed:555*h.scale,restDelta:.1,restSpeed:.1,velocity:s.getCurrentVelocities()}).from(f).to(h).start(),ie()}).on("end",()=>{me(),s!=null&&s.isRunning()||(W(),w("animationEnd"))}),function(){const O=b("gestures");O&&i&&o&&(l=xn(i,O).on("start",K=>{if(!s)return;const R=K.srcEvent;A()||((f.scale>1||K.currentTouch.length>1)&&(R==null||R.stopPropagation(),s.pause()),K.currentTouch.length===1&&w("touchStart"))}).on("move",K=>{A()||(h.scale!==1||K.currentTouch.length>1)&&(K.srcEvent.preventDefault(),K.srcEvent.stopPropagation())}).on("pan",K=>{if(A())return;const R=K.srcEvent;(h.scale!==1||K.currentTouch.length>1)&&(tr(R),_(we.Pan,K))}).on("swipe",K=>{A()||h.scale>1&&_(we.Swipe,K)}).on("tap",K=>{w("click",K)}).on("singleTap",K=>{w("singleClick",K)}).on("doubleTap",K=>{w("dblClick",K)}).on("pinch",K=>{A()||(K.scale>J()?_(we.ZoomIn,K):K.scale<J()?_(we.ZoomOut,K):_(we.Pan,K))}).on("end",K=>{A()||(K.currentTouch.length?(K.srcEvent.stopPropagation(),tr(K.srcEvent),s==null||s.end()):(W(),me(),w("touchEnd")))}).init())}(),i&&(i.addEventListener("wheel",k,{passive:!1}),y.push(()=>{i==null||i.removeEventListener("wheel",k,{passive:!1})})),e==null||e.addEventListener("click",B),document==null||document.addEventListener("mousemove",V),y.push(()=>{e==null||e.removeEventListener("click",B),document==null||document.removeEventListener("mousemove",V)});const F=Object.assign(Object.assign({},b("startPos")||{}),{scale:J()});if(f=Object.assign(Object.assign({},Dt),F),h=Object.assign(Object.assign({},Dt),F),A()){const O=L(h.scale);if(O){const{x:K,y:R}=O;f.x=K,f.y=R,h.x=K,h.y=R}}u=3,ie(),W(),w("ready"),requestAnimationFrame(()=>{i&&(i.style.visibility="")})}function E(){const v={top:0,left:0,width:0,height:0};if(r){const g=r.getBoundingClientRect();h.angle%180==90?(v.top=g.top+.5*g.height-.5*g.width,v.left=g.left+.5*g.width-.5*g.height,v.width=g.height,v.height=g.width):(v.top=g.top,v.left=g.left,v.width=g.width,v.height=g.height)}return v}function N(){let v=b("width"),g=b("height");if(o&&v==="auto"){const D=o.getAttribute("width");v=D?parseFloat(D+""):o.dataset.width!==void 0?parseFloat(o.dataset.width+""):i instanceof HTMLImageElement?i.naturalWidth:o instanceof HTMLImageElement?o.naturalWidth:o.getBoundingClientRect().width}else v=ft(v)?parseFloat(v):v;if(o&&g==="auto"){const D=o.getAttribute("height");g=D?parseFloat(D+""):o.dataset.height!==void 0?parseFloat(o.dataset.height+""):i instanceof HTMLImageElement?i.naturalHeight:o instanceof HTMLImageElement?o.naturalHeight:o.getBoundingClientRect().height}else g=ft(g)?parseFloat(g):g;return{width:v,height:g}}function A(){return b("panMode")==="mousemove"&&matchMedia("(hover: hover)").matches}function L(v){const g=p||b("event"),D=r==null?void 0:r.getBoundingClientRect();if(!g||!D||v<=1)return{x:0,y:0};const F=(g.clientX||0)-D.left,O=(g.clientY||0)-D.top,K=D.width,R=D.height,te=Y(v);if(v>1){const Me=b("mouseMoveFactor");Me>1&&(v*=Me)}let ce=K*v,ge=R*v,xe=.5*(ce-K)-F/K*100/100*(ce-K),de=.5*(ge-R)-O/R*100/100*(ge-R);return xe=$e(te.x[0],xe,te.x[1]),de=$e(te.y[0],de,te.y[1]),{x:xe,y:de}}function H(v="base"){if(!e)return 1;const g=e.getBoundingClientRect(),D=E(),{width:F,height:O}=N(),K=xe=>{if(typeof xe=="number")return xe;switch(xe){case"min":case"base":return 1;case"cover":return Math.max(g.height/D.height,g.width/D.width)||1;case"full":case"max":{const de=h.angle%180==90?O:F;return de&&D.width?de/D.width:1}}},R=b("minScale"),te=b("maxScale"),ce=Math.min(K("full"),K(R)),ge=typeof te=="number"?K("full")*te:Math.min(K("full"),K(te));switch(v){case"min":return ce;case"base":return $e(ce,1,ge);case"cover":return K("cover");case"full":return Math.min(ge,K("full"));case"max":return ge}}function Q(){return H("min")}function J(){return H("base")}function S(){return H("cover")}function G(){return H("full")}function j(){return H("max")}function Y(v){const g={x:[0,0],y:[0,0]},D=e==null?void 0:e.getBoundingClientRect();if(!D)return g;const F=E(),O=D.width,K=D.height;let R=F.width,te=F.height,ce=v=v===void 0?h.scale:v,ge=v;if(A()&&v>1){const xe=b("mouseMoveFactor");xe>1&&(R*v>O+.01&&(ce*=xe),te*v>K+.01&&(ge*=xe))}return R*=ce,te*=ge,v>1&&(R>O&&(g.x[0]=.5*(O-R),g.x[1]=.5*(R-O)),g.x[0]-=.5*(F.left-D.left),g.x[1]-=.5*(F.left-D.left),g.x[0]-=.5*(F.left+F.width-D.right),g.x[1]-=.5*(F.left+F.width-D.right),te>K&&(g.y[0]=.5*(K-te),g.y[1]=.5*(te-K)),g.y[0]-=.5*(F.top-D.top),g.y[1]-=.5*(F.top-D.top),g.y[0]-=.5*(F.top+F.height-D.bottom),g.y[1]-=.5*(F.top+F.height-D.bottom)),g}function me(){if(!b("bounds")||u!==3||!(e!=null&&e.parentElement)||!s)return;const v=Q(),g=j(),D=$e(v,h.scale,g);if(h.scale<v-.01||h.scale>g+.01)return void _(we.ZoomTo,{scale:D});if(s.isRunning()||l!=null&&l.isPointerDown())return;const F=Y(D);h.x<F.x[0]||h.x>F.x[1]||h.y<F.y[0]||h.y>F.y[1]?(h.x=$e(F.x[0],h.x,F.x[1]),h.y=$e(F.y[0],h.y,F.y[1]),s.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:s.getCurrentVelocities()}),s.from(f).to(h).start()):ie()}function W(){if(!e||!e.parentElement||!r)return;const v=z(),g=ye(),D=U(),F=ue(),O=Z(),K=C();r.classList.toggle("is-fullsize",F),r.classList.toggle("is-expanded",D),r.classList.toggle("is-dragging",g),r.classList.toggle("can-drag",v),r.classList.toggle("will-zoom-in",O),r.classList.toggle("will-zoom-out",K);const R=X(),te=fe(),ce=u!==3;for(const ge of(e==null?void 0:e.querySelectorAll("[data-panzoom-action]"))||[]){const xe=ge.dataset.panzoomAction;let de=!1;if(ce)de=!0;else switch(xe){case we.ZoomIn:R||(de=!0);break;case we.ZoomOut:te||(de=!0);break;case we.ToggleFull:R||te||(de=!0);const Me=ge.querySelector("g");Me&&(Me.style.display=F?"none":"");break;case we.ToggleCover:case we.ToggleMax:R||te||(de=!0)}de?(ge.setAttribute("aria-disabled",""),ge.setAttribute("tabindex","-1")):(ge.removeAttribute("aria-disabled"),ge.removeAttribute("tabindex"))}}function _(v,g){var D;if(!e||!o||!s||v===we.Swipe&&Math.abs(s.getCurrentVelocities().scale)>.01)return;let F=Object.assign({},h),O=Y(A()?h.scale:f.scale);const K=s.getCurrentVelocities(),R=E(),te=(((D=(g=g||{}).currentTouch)===null||D===void 0?void 0:D.length)||0)>1,ce=g.velocityX||0,ge=g.velocityY||0;let xe=g.center;!xe&&g.srcEvent&&(xe=ga(u1(g.srcEvent)));let de=g.deltaX||0,Me=g.deltaY||0;switch(v){case we.MoveRight:de=g.deltaX||100;break;case we.MoveLeft:de=g.deltaX||-100;break;case we.MoveUp:Me=g.deltaY||-100;break;case we.MoveDown:Me=g.deltaY||100}let Ne=[];switch(v){case we.Reset:h=Object.assign({},Dt),h.scale=J();break;case we.Pan:case we.Move:case we.MoveLeft:case we.MoveRight:case we.MoveUp:case we.MoveDown:if(l!=null&&l.isPointerDown()){let Le=1,Be=1;h.x<=O.x[0]&&ce<=0&&(Le=Math.max(.01,1-Math.abs(1/R.width*Math.abs(h.x-O.x[0]))),Le*=.2),h.x>=O.x[1]&&ce>=0&&(Le=Math.max(.01,1-Math.abs(1/R.width*Math.abs(h.x-O.x[1]))),Le*=.2),h.y<=O.y[0]&&ge<=0&&(Be=Math.max(.01,1-Math.abs(1/R.height*Math.abs(h.y-O.y[0]))),Be*=.2),h.y>=O.y[1]&&ge>=0&&(Be=Math.max(.01,1-Math.abs(1/R.height*Math.abs(h.y-O.y[1]))),Be*=.2),h.x+=de*Le,h.y+=Me*Be}else h.x=$e(O.x[0],h.x+de,O.x[1]),h.y=$e(O.y[0],h.y+Me,O.y[1]);break;case we.Swipe:const _e=(Le=0)=>Math.sign(Le)*Math.pow(Math.abs(Le),1.5);h.x+=$e(-1e3,_e(ce),1e3),h.y+=$e(-1e3,_e(ge),1e3),ge&&!ce&&(h.x=$e(O.x[0],h.x,O.x[1])),!ge&&ce&&(h.y=$e(O.y[0],h.y,O.y[1])),K.x=ce,K.y=ge;break;case we.ZoomTo:h.scale=g.scale||1;break;case we.ZoomIn:h.scale=h.scale*(g.scale||2),te||(h.scale=Math.min(h.scale,j()));break;case we.ZoomOut:h.scale=h.scale*(g.scale||.5),te||(h.scale=Math.max(h.scale,Q()));break;case we.ToggleCover:Ne=[J(),S()];break;case we.ToggleFull:Ne=[J(),G()];break;case we.ToggleMax:Ne=[J(),j()];break;case we.IterateZoom:Ne=[J(),G(),j()];break;case we.Zoom:const Se=G();h.scale>=Se-.05?h.scale=J():h.scale=Math.min(Se,h.scale*(g.scale||2));break;case we.RotateCW:h.angle+=90;break;case we.RotateCCW:h.angle-=90;break;case we.FlipX:h.flipX*=-1;break;case we.FlipY:h.flipY*=-1}if(f.angle!==void 0&&Math.abs(f.angle)>=360&&(h.angle-=360*Math.floor(f.angle/360),f.angle-=360*Math.floor(f.angle/360)),Ne.length){const _e=Ne.findIndex(Se=>Se>h.scale+1e-4);h.scale=Ne[_e]||Ne[0]}if(te&&(h.scale=$e(Q()*(te?.8:1),h.scale,j()*(te?1.6:1))),A()){const _e=L(h.scale);if(_e){const{x:Se,y:Le}=_e;h.x=Se,h.y=Le}}else if(h.scale!==F.scale){let _e=0,Se=0;if(xe)_e=xe.x,Se=xe.y;else{const re=e.getBoundingClientRect();_e=re.x+.5*re.width,Se=re.y+.5*re.height}let Le=_e-R.left,Be=Se-R.top;Le-=.5*R.width,Be-=.5*R.height;const q=(Le-F.x)/F.scale,ae=(Be-F.y)/F.scale;h.x=Le-q*h.scale,h.y=Be-ae*h.scale,!te&&b("bounds")&&(O=Y(h.scale),h.x=$e(O.x[0],h.x,O.x[1]),h.y=$e(O.y[0],h.y,O.y[1]))}if(v===we.Swipe){let _e=94,Se=17,Le=500*h.scale,Be=K;s.spring({tension:_e,friction:Se,maxSpeed:Le,restDelta:.1,restSpeed:.1,velocity:Be})}else v===we.Pan||te?s.spring({tension:750,friction:17,restDelta:.01,restSpeed:.01,maxSpeed:1}):s.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:K});v===we.Reset&&g.velocity===0?f=Object.assign({},h):s.from(f).to(h).start(),w("action",v)}function ie(){if(!r||!o)return;if(o instanceof HTMLImageElement){const{width:te,height:ce}=N();r.style.maxWidth=`min(${te}px, 100%)`,r.style.maxHeight=`min(${ce}px, 100%)`}let{x:v,y:g,scale:D,angle:F,flipX:O,flipY:K}=f;const R=function(){const te=E(),ce=te.width,ge=te.height,{width:xe,height:de}=N();if(!e)return{x:0,y:0,width:0,height:0,scale:0,flipX:0,flipY:0,angle:0,fitWidth:ce,fitHeight:ge,fullWidth:xe,fullHeight:de};let{x:Me,y:Ne,scale:_e,angle:Se,flipX:Le,flipY:Be}=f,q=1/G(),ae=xe,re=de,se=f.scale*q,Ee=h.scale*q;const he=Math.max(ce,ge),ke=Math.min(ce,ge);xe>de?(ae=he,re=ke):(ae=ke,re=he),se=xe>de?he*_e/xe||1:he*_e/de||1;let I=ae?xe*Ee:0,P=re?de*Ee:0;return Me=Me+.5*ae-.5*I,Ne=Ne+.5*re-.5*P,{x:Me,y:Ne,width:I,height:P,scale:ae&&re?xe*se/I:0,flipX:Le,flipY:Be,angle:Se,fitWidth:ce,fitHeight:ge,fullWidth:xe,fullHeight:de}}();if(r&&R){const{x:te,y:ce,width:ge,height:xe,scale:de,flipX:Me,flipY:Ne}=R;let _e=`translate(${St(te)}px, ${St(ce)}px)`;_e+=Me!==1||Ne!==1?` scaleX(${St(de*Me)}) scaleY(${St(de*Ne)})`:` scale(${St(de)})`,F!==0&&(_e+=` rotate(${F}deg)`),i&&(i.style.width=`${St(ge)}px`,i.style.height=`${St(xe)}px`,i.style.transform=`${_e}`)}w("render")}function ne(){let v=h.scale;const g=b("clickAction");let D=J();if(g){let F=[];switch(g){case we.ZoomIn:D=2*v;break;case we.ZoomOut:D=.5*v;break;case we.ToggleCover:F=[J(),S()];break;case we.ToggleFull:F=[J(),G()];break;case we.ToggleMax:F=[J(),j()];break;case we.IterateZoom:F=[J(),G(),j()];break;case we.Zoom:const O=G();D=v>=O-.05?J():Math.min(O,2*v)}if(F.length){const O=F.findIndex(K=>K>v+1e-4);D=F[O]||J()}}return D=$e(Q(),D,j()),D}function Z(){return u===3&&ne()>h.scale}function C(){return u===3&&ne()<h.scale}function X(){return u===3&&h.scale<j()}function fe(){return u===3&&h.scale>Q()}function z(){return u===3&&U()&&!!l&&!A()}function ye(){return u===3&&(l==null?void 0:l.isPointerDown())&&!A()}function U(){return u===3&&h.scale>J()}function ue(){return u===3&&h.scale>=G()}const $={canDrag:z,canZoomIn:X,canZoomOut:fe,destroy:function(){w("destroy");for(const v of Object.values(c))v==null||v.destroy($);for(const v of y)v();return r&&(r.style.aspectRatio="",r.style.maxWidth="",r.style.maxHeight=""),i&&(i.style.width="",i.style.height="",i.style.transform=""),r=void 0,o=void 0,i=void 0,f=Object.assign({},Dt),h=Object.assign({},Dt),s==null||s.destroy(),s=void 0,l==null||l.destroy(),l=void 0,u=4,$},emit:w,execute:_,getBoundaries:Y,getContainer:function(){return e},getFullDim:N,getGestures:function(){return l},getMousemovePos:L,getOptions:function(){return m},getScale:H,getState:function(){return u},getTransform:function(v){return v===!0?h:f},getTween:function(){return s},getViewport:function(){return i},getWrapper:function(){return r},init:function(){return u=0,w("init"),function(){for(const[v,g]of Object.entries(Object.assign(Object.assign({},n),m.plugins||{})))if(v&&!c[v]&&g instanceof Function){const D=g();D.init($),c[v]=D}w("initPlugins")}(),function(){if(!e)return;const v=Object.assign(Object.assign({},wo.classes),b("classes"));if(ze(e,v.container),o=e.querySelector("."+v.content),!!o&&(o.setAttribute("draggable","false"),r=e.querySelector("."+v.wrapper),r||(r=document.createElement("div"),ze(r,v.wrapper),o.insertAdjacentElement("beforebegin",r),r.insertAdjacentElement("afterbegin",o)),o instanceof HTMLImageElement||o instanceof HTMLPictureElement)){if(i=e.querySelector("."+v.viewport),!i){i=document.createElement("div"),ze(i,v.viewport);const g=o.cloneNode(!0);g.classList.remove("is-lazyloading"),g.classList.remove("is-lazyloaded"),i.insertAdjacentElement("afterbegin",g),r.insertAdjacentElement("beforeend",i)}if(o instanceof HTMLPictureElement&&(o=o.querySelector("img")),i instanceof HTMLPictureElement&&(i=i.querySelector("img")),i.style.visibility="hidden",b("protected")){i.addEventListener("contextmenu",D=>{D.preventDefault()});const g=document.createElement("div");ze(g,"f-panzoom__protected"),i.appendChild(g)}w("initLayout")}}(),function(){if(!(o&&o instanceof HTMLImageElement))return;u=1,w("loading");const v=()=>{o&&o instanceof HTMLImageElement&&o.decode().then(()=>{requestAnimationFrame(()=>{M()})}).catch(()=>{M()})};if(o.src&&o.complete)return void v();(function(){const g=e==null?void 0:e.querySelector(".f-spinner");if(!e||g)return;const D=b("spinnerTpl"),F=fa(D);F&&(F.classList.add("f-spinner"),e.classList.add("is-loading"),r==null||r.insertAdjacentElement("afterbegin",F))})(),o.addEventListener("load",v,!1),o.addEventListener("error",v,!1),y.push(()=>{o==null||o.removeEventListener("load",v,!1),o==null||o.removeEventListener("error",v,!1)})}(),function(){if(e&&r&&!d){let v=null;d=new ResizeObserver(()=>{v||(v=requestAnimationFrame(()=>{e&&e.parentElement&&u===3&&(W(),me(),w("refresh")),v=null}))}),d.observe(r),y.push(()=>{d==null||d.disconnect(),d=void 0,v&&(cancelAnimationFrame(v),v=null)})}}(),$},isDragging:ye,isExpanded:U,isFullsize:ue,localize:function(v,g=[]){const D=b("l10n")||{};v=String(v).replace(/\{\{(\w+)\}\}/g,(F,O)=>D[O]||F);for(let F=0;F<g.length;F++)v=v.split(g[F][0]).join(g[F][1]);return v=v.replace(/\{\{(.*?)\}\}/g,(F,O)=>O)},off:function(v,g){for(const D of v instanceof Array?v:[v])x.has(D)&&x.set(D,x.get(D).filter(F=>F!==g));return $},on:function(v,g){for(const D of v instanceof Array?v:[v])x.set(D,[...x.get(D)||[],g]);return $},version:"6.0.16",willZoomIn:Z,willZoomOut:C};return $};vo.l10n={en_EN:bo},vo.getDefaults=()=>wo;/*! License details at fancyapps.com/license */const Eo=(e,a)=>{let n=[];return e.childNodes.forEach(r=>{r.nodeType!==Node.ELEMENT_NODE||a&&!r.matches(a)||n.push(r)}),n};/*! License details at fancyapps.com/license */const Tt=(e,...a)=>{const n=a.length;for(let r=0;r<n;r++){const o=a[r]||{};Object.entries(o).forEach(([i,l])=>{const s=Array.isArray(l)?[]:{};e[i]||Object.assign(e,{[i]:s}),Et(l)?Object.assign(e[i],Tt(s,l)):Array.isArray(l)?Object.assign(e,{[i]:[...l]}):Object.assign(e,{[i]:l})})}return e};/*! License details at fancyapps.com/license */const Co=function(e=0,a=0,n=0,r=0,o=0,i=!1){const l=(e-a)/(n-a)*(o-r)+r;return i?r<o?$e(r,l,o):$e(o,l,r):l};/*! License details at fancyapps.com/license */const Jt=(e,a="")=>{e&&e.classList&&a.split(" ").forEach(n=>{n&&e.classList.remove(n)})};/*! License details at fancyapps.com/license */const ka=(e,a="",n)=>{e&&e.classList&&a.split(" ").forEach(r=>{r&&e.classList.toggle(r,n||!1)})};/*! License details at fancyapps.com/license */const So=Object.assign(Object.assign({},bo),{ERROR:"Something went wrong. <br /> Please try again later.",NEXT:"Next page",PREV:"Previous page",GOTO:"Go to page #%d",DOWNLOAD:"Download",TOGGLE_FULLSCREEN:"Toggle full-screen mode",TOGGLE_EXPAND:"Toggle full-size mode",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_AUTOPLAY:"Toggle slideshow"});/*! License details at fancyapps.com/license */const Qa=e=>{e.cancelable&&e.preventDefault()},Ka={adaptiveHeight:!1,center:!0,classes:{container:"f-carousel",isEnabled:"is-enabled",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",hasAdaptiveHeight:"has-adaptive-height",viewport:"f-carousel__viewport",slide:"f-carousel__slide",isSelected:"is-selected"},dragFree:!1,enabled:!0,errorTpl:'<div class="f-html">{{ERROR}}</div>',fill:!1,infinite:!0,initialPage:0,l10n:So,rtl:!1,slides:[],slidesPerPage:"auto",spinnerTpl:'<div class="f-spinner"></div>',transition:"fade",tween:{clamp:!0,mass:1,tension:200,friction:25,restDelta:1,restSpeed:1,velocity:0},vertical:!1};let g1,y1=0;const rr=(e,a={},n={})=>{y1++;let r,o,i,l,s,d=0,p=Object.assign({},Ka),u=Object.assign({},Ka),m={},c=null,f=null,h=!1,y=!1,b=!1,x=!1,w="height",k=0,B=!0,V=0,M=0,E=0,N=0,A="*",L=[],H=[];const Q=new Set;let J=[],S=[],G=0,j=0;function Y(q,...ae){let re=u[q];return re&&re instanceof Function?re(Be,...ae):re}function me(q,ae=[]){const re=Y("l10n")||{};q=String(q).replace(/\{\{(\w+)\}\}/g,(se,Ee)=>re[Ee]||se);for(let se=0;se<ae.length;se++)q=q.split(ae[se][0]).join(ae[se][1]);return q=q.replace(/\{\{(.*?)\}\}/g,(se,Ee)=>Ee)}const W=new Map;function _(q,...ae){const re=W.get(q)||[];u.on&&re.push(u.on[q]);for(const se of re)se&&se instanceof Function&&se(Be,...ae);q!=="*"&&_("*",q,...ae)}function ie(){var q,ae;const re=Tt({},Ka,p);Tt(re,Ka,p);let se="";const Ee=p.breakpoints||{};if(Ee)for(const[he,ke]of Object.entries(Ee))window.matchMedia(he).matches&&(se+=he,Tt(re,ke));if(s===void 0||se!==s){if(s=se,d!==0){let he=(ae=(q=S[V])===null||q===void 0?void 0:q.slides[0])===null||ae===void 0?void 0:ae.index;he===void 0&&(he=u.initialSlide),re.initialSlide=he,re.slides=[];for(const ke of L)ke.isVirtual&&re.slides.push(ke)}Le(),u=re,u.enabled!==!1&&(d=0,_("init"),function(){for(const[he,ke]of Object.entries(Object.assign(Object.assign({},n),u.plugins||{})))if(he&&!m[he]&&ke instanceof Function){const I=ke();I.init(Be,rr),m[he]=I}_("initPlugins")}(),function(){if(!c)return;const he=Y("classes")||{};ze(c,he.container),ze(c,he.isEnabled);const ke=Y("style");if(ke&&Et(ke))for(const[I,P]of Object.entries(ke))c.style.setProperty(I,P);f=c.querySelector(`.${he.viewport}`),f||(f=document.createElement("div"),ze(f,he.viewport),f.append(...Eo(c,`.${he.slide}`)),c.insertAdjacentElement("afterbegin",f)),h=window.getComputedStyle(f).getPropertyValue("overflow")==="visible",c.carousel=Be,_("initLayout")}(),function(){if(!f)return;const he=Y("classes")||{};L=[],[...Eo(f,`.${he.slide}`)].forEach(ke=>{ke.parentElement&&(L.push(g(Object.assign({el:ke,isVirtual:!1},ke.dataset||{}))),ke.parentElement.removeChild(ke))}),v(Y("slides"));for(const ke of L)_("addSlide",ke);_("initSlides")}(),o=pa().on("start",()=>{B=!1,r&&r.isPointerDown()||(C(),Se())}).on("step",he=>{k=he.pos,Se()}).on("end",he=>{r!=null&&r.isPointerDown()||(k=he.pos,o&&!y&&(k<E||k>N)?o.spring({clamp:!0,mass:1,tension:200,friction:25,velocity:0,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:$e(E,k,N)}).start():B||(B=!0,_("settle")))}),function(){const he=Y("gestures");f&&he!==!1&&(r=xn(f,he).on("start",ke=>{var I,P;if(!o)return;const{srcEvent:T}=ke;function ee(be){const Ae=window.getComputedStyle(be),De=new DOMMatrixReadOnly(Ae.transform);return{width:De.m41||0,height:De.m42||0}}x&&Qa(T),o.pause(),o.getCurrentVelocities().pos=0;const le=(I=S[V])===null||I===void 0?void 0:I.slides[0];le&&Q.has(le.index)&&le.el&&(k=le.offset||0,k+=(ee(le.el)[w]||0)*(b&&!x?1:-1)),ce(),y||(k<E||k>N)&&o.spring({clamp:!0,mass:1,tension:500,friction:25,velocity:((P=o.getCurrentVelocities())===null||P===void 0?void 0:P.pos)||0,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:$e(E,k,N)}).start()}).on("move",ke=>{const{srcEvent:I,axis:P}=ke,T=ke.srcEvent.target;T&&yn(T)||(P||(I.stopPropagation(),I.stopImmediatePropagation()),(P==="y"&&x||P==="x"&&!x)&&(Qa(I),I.stopPropagation()))}).on("panstart",ke=>{(ke==null?void 0:ke.axis)===(x?"y":"x")&&ze(f,"is-dragging")}).on("panend",()=>{Jt(f,"is-dragging")}).on("pan",ke=>{var I;const{deltaX:P,deltaY:T,currentTouch:ee,axis:le}=ke;if(!o||ee.length>1||le==="y"&&!x||le==="x"&&x)return;const be=b&&!x?1:-1;let Ae=x?T:P,De=o!=null&&o.isRunning()?o.getEndValues().pos:k,Pe=1;y||(De<=E&&Ae*be<0?(Pe=Math.max(.01,1-Math.abs(1/U()*Math.abs(De-E))),Pe*=.2):De>=N&&Ae*be>0&&(Pe=Math.max(.01,1-Math.abs(1/U()*Math.abs(De-N))),Pe*=.2)),De+=Ae*Pe*be,o.spring({clamp:!0,mass:1,tension:700,friction:25,velocity:((I=o.getCurrentVelocities())===null||I===void 0?void 0:I.pos)||0,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:De}).start()}).on("end",ke=>{var I,P;const{axis:T,velocityX:ee,velocityY:le,currentTouch:be}=ke,Ae=S.length,De=Y("dragFree");if(be.length>0||!o||!Ae)return;const Pe=Y("vertical")?le:ee;let je=o!=null&&o.isRunning()?o.getEndValues().pos:k;const nt=b&&!x?1:-1;if(je+=Pe*(De?5:1)*nt,!y&&(Pe*nt<=0&&je<E||Pe*nt>=0&&je>N)){let st=0;return Math.abs(Pe)>0&&(st=2*Math.abs(Pe),st=Math.min(.3*U(),st)),je=$e(E+-1*st,je,N+st),void o.spring({clamp:!0,mass:1,tension:380,friction:25,velocity:-1*Pe,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:je}).start()}if(De||!((I=m.Autoscroll)===null||I===void 0)&&I.isEnabled())return void(Math.abs(Pe)>10?o.spring({clamp:!0,mass:1,tension:150,friction:25,velocity:-1*Pe,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:je}).start():o.isRunning()||B||(B=!0,_("settle")));if(!De&&!(!((P=m.Autoscroll)===null||P===void 0)&&P.isEnabled())&&(!ke.offsetX&&!ke.offsetY||T==="y"&&!x||T==="x"&&x))return void _e(V,{transition:"tween"});let xt=z(je);Math.abs(Pe)>10&&xt===V&&(xt+=Pe>0?b&&!x?1:-1:b&&!x?-1:1),_e(xt,{transition:"tween",tween:{tension:160,friction:25,velocity:-1*Pe}})}).init())}(),R(),function(){if(c&&(c.addEventListener("click",xe,{passive:!1}),document.addEventListener("mousemove",ne),!i)){let he=null;i=new ResizeObserver(ke=>{he||(he=requestAnimationFrame(()=>{(function(I){if(!c)return;let P=I[0].contentBoxSize[0].blockSize,T=I[0].contentBoxSize[0].inlineSize;if(d===0)return G=P,j=T,d=1,Se(),X(),void _("ready");if(d!==1)return;const ee=S.length;R();const le=c.getBoundingClientRect();P=le.height,T=le.width,ee>1&&(x&&Math.abs(P-G)<.5||!x&&Math.abs(T-j)<.5)||(G=P,j=T,x&&!P||!x&&!T||c&&f&&(ee===S.length&&(r!=null&&r.isPointerDown())||(Y("dragFree")&&(y||k>E&&k<N)?(C(),Se()):_e(V,{transition:!1}))))})(ke),he=null}))}),i.observe(c)}}())}}function ne(q){g1=q}function Z(q="*"){var ae;const re=[];for(const se of L)(q==="*"||se.class&&se.class.includes(q)||se.el&&(!((ae=se.el)===null||ae===void 0)&&ae.classList.contains(q)))&&re.push(se);l=void 0,A=q,H=[...re]}function C(){if(!o)return;const q=z(o!=null&&o.isRunning()?o.getEndValues().pos:k);q!==V&&(l=V,V=q,Ne(),X(),fe(),_("change",V,l))}function X(){var q;if(!c)return;ka(f,"is-draggable",!!r&&S.length>0);for(const se of c.querySelectorAll("[data-carousel-index]"))se.innerHTML=V+"";for(const se of c.querySelectorAll("[data-carousel-page]"))se.innerHTML=V+1+"";for(const se of c.querySelectorAll("[data-carousel-pages]"))se.innerHTML=S.length+"";let ae=!1;const re=(q=S[V])===null||q===void 0?void 0:q.slides[0];re&&(re.downloadSrc||re.type==="image"&&re.src)&&(ae=!0);for(const se of c.querySelectorAll("[data-carousel-download]"))se.toggleAttribute("aria-disabled",!ae)}function fe(q){var ae;if(!c)return;q||(q=(ae=S[V])===null||ae===void 0?void 0:ae.slides[0]);const re=q.el;if(re)for(const se of re.querySelectorAll("[data-slide-index]"))se.innerHTML=q.index+1+""}function z(q){if(!S.length||!o)return 0;const ae=ue();let re=q;y?re-=Math.floor((q-S[0].pos)/ae)*ae:re=$e(S[0].pos,q,S[S.length-1].pos);const se=new Map;let Ee=0;for(const ke of S){const I=Math.abs(ke.pos-re),P=Math.abs(ke.pos-re-ae),T=Math.abs(ke.pos-re+ae),ee=Math.min(I,P,T);se.set(Ee,ee),Ee++}const he=se.size>0?[...se.entries()].reduce((ke,I)=>I[1]<ke[1]?I:ke):[V,0];return parseInt(he[0])}function ye(){return f&&parseFloat(getComputedStyle(f).getPropertyValue("--f-carousel-gap"))||0}function U(){return f&&f.getBoundingClientRect()[w]||0}function ue(q=!0){const ae=ye();return H.reduce((re,se)=>re+se.dim,0)+(H.length-(y&&q?0:1))*ae}function $(q){const ae=ye(),re=ue();let se=U();if(!f)return[];const Ee=[];if(!re||!se)return[];q=q===void 0?k:q,y&&(q-=Math.floor(q/re)*re);let he=0,ke=0;if(h){const P=f.getBoundingClientRect();he=P.left,ke=P.right-P.width}let I=0;for(let P of H){const T=(ee=0)=>{Ee.indexOf(P)>-1||(P.pos=I-q+ee||0,P.offset+ee>q-P.dim-he+.51&&P.offset+ee<q+se+ke-.51&&Ee.push(P))};if(P.offset=I,y)for(let ee=-1;ee<=1;ee++)T(re*ee);else T();I+=P.dim+ae}return Ee}function v(q,ae){const re=[];for(const se of Array.isArray(q)?q:[q]){const Ee=g(Object.assign(Object.assign({},se),{isVirtual:!0}));re.push(Ee)}L.splice(ae===void 0?L.length:ae,0,...re),K();for(const se of re)D(se);return Z(A),re}function g(q){return(ft(q)||q instanceof HTMLElement)&&(q={html:q}),Object.assign({index:-1,el:void 0,class:"",isVirtual:!0,dim:0,pos:0,offset:0,html:"",src:""},q)}function D(q){if(!q)return;let ae=q.el;ae||(ae=document.createElement("div"),q.el=ae);const re=q.html?q.html instanceof HTMLElement?q.html:fa(q.html):void 0;re&&(ze(re,"f-html"),q.htmlEl=re,ze(ae,"has-html"),ae.append(re),_("contentReady",q))}function F(q){if(!f||!q)return;let ae=q.el;if(ae){if(ae.setAttribute("index",q.index+""),ae.parentElement!==f){let re;ze(ae,u.classes.slide),ze(ae,q.class),Ne(q);for(const se of L)if(se.index>q.index){re=se.el;break}f.insertBefore(ae,re&&f.contains(re)?re:null),_("attachSlideEl",q)}return ae}}function O(q){const ae=q==null?void 0:q.el;ae&&(ae.remove(),te(ae),_("detachSlideEl",q))}function K(){for(let q=0;q<L.length;q++){const ae=L[q],re=ae.el;re&&(ae.index!==q&&te(re),re.setAttribute("index",`${q}`)),ae.index=q}}function R(){var q,ae,re,se;if(!c||!f)return;b=Y("rtl"),x=Y("vertical"),w=x?"height":"width";const Ee=Y("classes");ka(c,Ee.isLTR,!b),ka(c,Ee.isRTL,b),ka(c,Ee.isHorizontal,!x),ka(c,Ee.isVertical,x),ka(c,Ee.hasAdaptiveHeight,Y("adaptiveHeight"));const he=f.getBoundingClientRect();if(!he.width&&!he.height)return;const ke=function(){let P=0;if(f){let T=document.createElement("div");ze(T,u.classes.slide),f.appendChild(T),P=T.getBoundingClientRect()[w],T.remove(),T=void 0}return P}();for(const P of H){const T=P.el;let ee=0;if(!P.isVirtual&&T&&Ua(T)){let le=!1;T.parentElement&&T.parentElement===f||(f.appendChild(T),le=!0),ee=T.getBoundingClientRect()[w],le&&((q=T.parentElement)===null||q===void 0||q.removeChild(T))}else ee=ke;P.dim=ee}(function(){if(!c)return;K();const P=U(),T=ye(),ee=ue(!1);let le=Y("slidesPerPage");le=le==="auto"?1/0:parseFloat(le+""),S=[];let be=0,Ae=0;for(const Je of H)(!S.length||be+Je.dim-P>.05||Ae>=le)&&(S.push({index:S.length,slides:[],dim:0,offset:0,pos:0}),be=0,Ae=0),S[S.length-1].slides.push(Je),be+=Je.dim+T,Ae++;const De=Y("center"),Pe=Y("fill"),je=Y("infinite");let nt=0;for(const Je of S){Je.dim=(Je.slides.length-1)*T;for(const ba of Je.slides)Je.dim+=ba.dim;Je.offset=nt,Je.pos=nt,De!==!1&&(Je.pos-=.5*(P-Je.dim)),Pe&&!je&&ee>P&&(Je.pos=$e(0,Je.pos,ee-P)),nt+=Je.dim+T}const xt=[];let st;for(const Je of S){const ba=Object.assign({},Je);st&&ba.pos===st.pos?(st.dim+=ba.dim,st.slides=[...st.slides,...ba.slides]):(st=ba,ba.index=xt.length,xt.push(ba))}S=xt,X()})();let I=U();if(h){const P=f.getBoundingClientRect();I+=P.left,I+=P.right-P.width}if(y=Y("infinite")&&S.length>1&&ue()-(I+(((ae=H[0])===null||ae===void 0?void 0:ae.dim)||0))>-.5,E=((re=S[0])===null||re===void 0?void 0:re.pos)||0,N=((se=S[S.length-1])===null||se===void 0?void 0:se.pos)||0,d===0)(function(){var P;l=void 0,V=Y("initialPage");const T=Y("initialSlide")||void 0;T!==void 0&&(V=Be.getPageIndex(T)||0),V=$e(0,V,S.length-1),k=((P=S[V])===null||P===void 0?void 0:P.pos)||0,M=k})();else{const P=o!=null&&o.isRunning()?o.getEndValues().pos:k;(P<E||P>N)&&(V=$e(0,V,S.length-1),M=S[V||0].pos||0)}_("refresh")}function te(q){if(!q||!Ua(q))return;const ae=parseInt(q.getAttribute("index")||"-1");let re="";for(const Ee of Array.from(q.classList)){const he=Ee.match(/^f-(\w+)(Out|In)$/);he&&he[1]&&(re=he[1]+"")}if(!q||!re)return;const se=[`f-${re}Out`,`f-${re}In`,"to-prev","to-next","from-prev","from-next"];q.removeEventListener("animationend",ge),Jt(q,se.join(" ")),Q.delete(ae)}function ce(){if(!f)return;const q=Q.size;for(const ae of H)te(ae.el);Q.clear(),q&&Se()}function ge(q){q.animationName.substring(0,2)==="f-"&&(te(q.target),Q.size||(Jt(c,"in-transition"),!B&&Math.abs(Be.getPosition(!0)-M)<.5&&(B=!0,_("settle"))),Se())}function xe(q){if(q.defaultPrevented)return;const ae=q.composedPath()[0];if(ae.closest("[data-carousel-go-prev]"))return Qa(q),void Be.prev();if(ae.closest("[data-carousel-go-next]"))return Qa(q),void Be.next();const re=ae.closest("[data-carousel-go-to]");if(re)return Qa(q),void Be.goTo(parseFloat(re.dataset.carouselGoTo||"")||0);if(ae.closest("[data-carousel-download]")){Qa(q);const se=S[V].slides[0];if(se.downloadSrc||se.type==="image"&&se.src){const Ee=se.downloadFilename,he=document.createElement("a"),ke=se.downloadSrc||se.src||"";he.href=ke,he.target="_blank",he.download=Ee||ke,he.click()}}else _("click",q)}function de(q){var ae;const re=q.el;re&&((ae=re.querySelector(".f-spinner"))===null||ae===void 0||ae.remove(),Jt(re,"is-loading"))}function Me(q){var ae;const re=q.el;re&&((ae=re.querySelector(".f-html.is-error"))===null||ae===void 0||ae.remove(),Jt(re,"has-error"))}function Ne(q){var ae;q||(q=(ae=S[V])===null||ae===void 0?void 0:ae.slides[0]);const re=q==null?void 0:q.el;if(!re)return;let se=Y("formatCaption",q);se===void 0&&(se=q.caption),se=se||"";const Ee=Y("captionEl");if(Ee&&Ee instanceof HTMLElement){if(q.index!==V)return;if(ft(se)&&(Ee.innerHTML=me(se+"")),se instanceof HTMLElement){if(se.parentElement===Ee)return;Ee.innerHTML="",se.parentElement&&(se=se.cloneNode(!0)),Ee.append(se)}return}if(!se)return;let he=q.captionEl||re.querySelector(".f-caption");!he&&se instanceof HTMLElement&&se.classList.contains("f-caption")&&(he=se),he||(he=document.createElement("div"),ze(he,"f-caption"),ft(se)?he.innerHTML=me(se+""):se instanceof HTMLElement&&(se.parentElement&&(se=se.cloneNode(!0)),he.append(se)));const ke=`f-caption-${y1}_${q.index}`;he.setAttribute("id",ke),he.dataset.selectable="true",ze(re,"has-caption"),re.setAttribute("aria-labelledby",ke),q.captionEl=he,re.insertAdjacentElement("beforeend",he)}function _e(q,ae){let{transition:re,tween:se}=Object.assign({transition:u.transition,tween:u.tween},ae||{});if(!c||!o)return;const Ee=S.length;if(!Ee||function(ke,I){var P,T,ee,le;if(!(c&&o&&I&&ft(I)&&I!=="tween")||((P=S[V])===null||P===void 0?void 0:P.slides.length)>1)return!1;const be=S.length;let Ae=ke>V?1:-1;ke=y?(ke%be+be)%be:$e(0,ke,be-1),b&&(Ae*=-1);const De=(T=S[V])===null||T===void 0?void 0:T.slides[0],Pe=De==null?void 0:De.index,je=(ee=S[ke])===null||ee===void 0?void 0:ee.slides[0],nt=je==null?void 0:je.index,xt=(le=S[ke])===null||le===void 0?void 0:le.pos;if(nt===void 0||Pe===void 0||Pe===nt||k===xt||Math.abs(U()-((je==null?void 0:je.dim)||0))>1)return!1;B=!1,o.pause(),ce(),ze(c,"in-transition"),k=M=xt;const st=F(De),Je=F(je);return C(),st&&(Q.add(Pe),st.style.transform="",st.addEventListener("animationend",ge),Jt(st,u.classes.isSelected),ze(st,`f-${I}Out to-${Ae>0?"next":"prev"}`)),Je&&(Q.add(nt),Je.style.transform="",Je.addEventListener("animationend",ge),ze(Je,u.classes.isSelected),ze(Je,`f-${I}In from-${Ae>0?"prev":"next"}`)),Se(),!0}(q,re))return;q=y?(q%Ee+Ee)%Ee:$e(0,q,Ee-1),M=S[q||0].pos||0;const he=o.isRunning()?o.getEndValues().pos:k;if(Math.abs(M-he)<1)return k=M,V!==q&&(Ne(),X(),fe(),l=V,V=q,_("change",V,l)),Se(),void(B||(B=!0,_("settle")));if(o.pause(),ce(),y){const ke=ue(),I=Math.floor((he-S[0].pos)/ke),P=M+I*ke;M=[P+ke,P,P-ke].reduce(function(T,ee){return Math.abs(ee-he)<Math.abs(T-he)?ee:T})}re!==!1&&Et(se)?o.spring(se).from({pos:k}).to({pos:M}).start():(k=M,C(),Se(),B||(B=!0,_("settle")))}function Se(){var q;if(!c||!f)return;const ae=S[V];J=$();const re=new Set;let se;const Ee=[];for(const he of H){if(he.isVirtual&&!Q.has(he.index)&&J.indexOf(he)<0)continue;let ke=F(he);if(!ke)continue;Ee.push(he);const I=((q=ae==null?void 0:ae.slides)===null||q===void 0?void 0:q.indexOf(he))>-1;if(I&&re.add(ke),!Q.has(he.index)){const P=he.pos?Math.round(1e4*he.pos)/1e4:0,T=x?0:b?-1*P:P,ee=x?P:0,le=Co(T,0,he.dim,0,100),be=Co(ee,0,he.dim,0,100),Ae=u.setTransform||void 0;Ae instanceof Function?Ae(Be,he,{x:T,y:ee,xPercent:le,yPercent:be}):ke.style.transform=T||ee?`translate3d(${le}%, ${be}%,0)`:""}if(Y("adaptiveHeight")&&I){const P=(ke.firstElementChild||ke).getBoundingClientRect().height;se=se==null?P:Math.max(se,P)}}[...Eo(f,`.${u.classes.slide}`)].forEach(he=>{const ke=parseInt(he.getAttribute("index")||"-1"),I=L[ke];I||he.remove(),ka(he,u.classes.isSelected,re.has(he)),I.isVirtual&&!Q.has(I.index)&&J.indexOf(I)<0&&O(I)}),f&&se&&(f.style.height=`${se}px`),_("render",Ee)}function Le(){var q;c==null||c.removeEventListener("click",xe),ce(),document.removeEventListener("mousemove",ne),i==null||i.disconnect(),i=void 0;for(const ae of L)ae.el&&Ua(ae.el)&&(ae.state=void 0,de(ae),Me(ae),O(ae),ae.isVirtual?((q=ae.el)===null||q===void 0||q.remove(),ae.el=void 0):(ae.el.style.transform="",f==null||f.appendChild(ae.el)));for(const ae of Object.values(m))ae==null||ae.destroy();m={},r==null||r.destroy(),r=void 0,o==null||o.destroy(),o=void 0;for(const ae of Object.values(u.classes||{}))Jt(c,ae);Jt(f,"is-draggable")}const Be={add:function(q,ae){const re=k,se=M,Ee=v(q,ae);for(const he of Ee)_("addSlide",he);return Z(A),R(),o&&se!==M&&o.spring({clamp:!0,mass:1,tension:300,friction:25,restDelta:1,restSpeed:1}).from({pos:re}).to({pos:M}).start(),Se(),Be},canGoPrev:function(){return y||V>0},canGoNext:function(){return y||V<S.length-1},destroy:function(){return _("destroy"),window.removeEventListener("resize",ie),Le(),W.clear(),c=null,S=[],L=[],u=Object.assign({},Ka),m={},H=[],s="",A="*",d=2,Be},emit:_,filter:function(q="*"){return Z(q),R(),Se(),_("filter",q),Be},getContainer:function(){return c},getGapDim:ye,getGestures:function(){return r},getLastMouseMove:function(){return g1},getOptions:function(){return u},getPage:function(){return S[V]},getPageIndex:function(q){if(q!==void 0){for(const ae of S||[])for(const re of ae.slides)if(re.index===q)return ae.index;return-1}return V},getPageProgress:function(q,ae){q===void 0&&(q=V);const re=S[q];if(!re)return q>V?-1:1;const se=ue(),Ee=ye();let he=re.pos,ke=Be.getPosition();if(y&&ae!==!0){const I=Math.floor((ke-S[0].pos)/se);ke-=I*se,he=[he+se,he,he-se].reduce(function(P,T){return Math.abs(T-ke)<Math.abs(P-ke)?T:P})}return(ke-he)/(re.dim+Ee)},getPageVisibility:function(q){q===void 0&&(q=V);const ae=S[q];if(!ae)return q>V?-1:1;const re=Be.getPosition(),se=U();let Ee=ae.pos;if(y){const he=Be.getPosition(),ke=ue(),I=Ee+Math.floor((he-S[0].pos)/ke)*ke;Ee=[I+ke,I,I-ke].reduce(function(P,T){return Math.abs(T-he)<Math.abs(P-he)?T:P})}return Ee>re&&Ee+ae.dim<re+se?1:Ee<re?(Ee+ae.dim-re)/ae.dim:Ee+ae.dim>re+se?(re+se-Ee)/ae.dim:0},getPages:function(){return S},getPlugins:function(){return m},getPosition:function(q){var ae;let re=k;if(y&&q!==!0){const se=ue();re-=Math.floor((k-((ae=S[0])===null||ae===void 0?void 0:ae.pos)||0)/se)*se}return re},getSlides:function(){return L},getState:function(){return d},getTotalSlideDim:ue,getTween:function(){return o},getViewport:function(){return f},getViewportDim:U,getVisibleSlides:function(q){return q===void 0?J:$(q)},goTo:_e,hasNavigated:function(){return l!==void 0},hideError:Me,hideLoading:de,init:function(){if(!e||!Ua(e))throw new Error("No Element found");return d!==0&&(Le(),d=0),c=e,p=a,window.removeEventListener("resize",ie),p.breakpoints&&window.addEventListener("resize",ie),ie(),Be},isInfinite:function(){return y},isInTransition:function(){return Q.size>0},isRTL:function(){return b},isSettled:function(){return B},localize:function(q,ae=[]){return me(q,ae)},next:function(q={}){return _e(V+1,q),Be},off:function(q,ae){for(const re of q instanceof Array?q:[q])W.has(re)&&W.set(re,W.get(re).filter(se=>se!==ae));return Be},on:function(q,ae){for(const re of q instanceof Array?q:[q])W.set(re,[...W.get(re)||[],ae]);return Be},prev:function(q={}){return _e(V-1,q),Be},remove:function(q){q===void 0&&(q=L.length-1);const ae=L[q];return ae&&(_("removeSlide",ae),ae.el&&(te(ae.el),ae.el.remove(),ae.el=void 0),L.splice(q,1),Z(A),R(),Se()),Be},setPosition:function(q){k=q,C(),Se()},showError:function(q,ae){de(q),Me(q);const re=q.el;if(re){const se=document.createElement("div");ze(se,"f-html"),ze(se,"is-error"),se.innerHTML=me(ae||"<p>{{ERROR}}</p>"),q.htmlEl=se,ze(re,"has-html"),ze(re,"has-error"),re.insertAdjacentElement("afterbegin",se),_("contentReady",q)}return Be},showLoading:function(q){const ae=q.el,re=ae==null?void 0:ae.querySelector(".f-spinner");if(!ae||re)return Be;const se=Y("spinnerTpl"),Ee=fa(se);return Ee&&(ze(Ee,"f-spinner"),ze(ae,"is-loading"),ae.insertAdjacentElement("beforeend",Ee)),Be},version:"6.0.16"};return Be};rr.l10n={en_EN:So},rr.getDefaults=()=>Ka;/*! License details at fancyapps.com/license */const k1=(e=!0,a="--f-scrollbar-compensate",n="--f-body-margin",r="hide-scrollbar")=>{const o=document,i=o.body,l=o.documentElement;if(e){if(i.classList.contains(r))return;let s=window.innerWidth-l.getBoundingClientRect().width;s<0&&(s=0),l.style.setProperty(a,`${s}px`);const d=parseFloat(window.getComputedStyle(i).marginRight);d&&i.style.setProperty(n,`${d}px`),i.classList.add(r)}else i.classList.remove(r),i.style.setProperty(n,""),o.documentElement.style.setProperty(a,"")};/*! License details at fancyapps.com/license */function x1(){return!(typeof window>"u"||!window.document||!window.document.createElement)}/*! License details at fancyapps.com/license */const xa=function(e="",a="",n=""){return e.split(a).join(n)};/*! License details at fancyapps.com/license */const b1={tpl:e=>`<img class="f-panzoom__content"
6
+ `+i):r.stack=i}catch{}}throw r}}_request(a,n){typeof a=="string"?(n=n||{},n.url=a):n=a||{},n=va(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Ln.assertOptions(r,{silentJSONParsing:It.transitional(It.boolean),forcedJSONParsing:It.transitional(It.boolean),clarifyTimeoutError:It.transitional(It.boolean)},!1),o!=null&&(oe.isFunction(o)?n.paramsSerializer={serialize:o}:Ln.assertOptions(o,{encode:It.function,serialize:It.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ln.assertOptions(n,{baseUrl:It.spelling("baseURL"),withXsrfToken:It.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=i&&oe.merge(i.common,i[n.method]);i&&oe.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=Bt.concat(l,i);const s=[];let d=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(d=d&&y.synchronous,s.unshift(y.fulfilled,y.rejected))});const p=[];this.interceptors.response.forEach(function(y){p.push(y.fulfilled,y.rejected)});let u,m=0,c;if(!d){const h=[Mi.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,p),c=h.length,u=Promise.resolve(n);m<c;)u=u.then(h[m++],h[m++]);return u}c=s.length;let f=n;for(m=0;m<c;){const h=s[m++],y=s[m++];try{f=h(f)}catch(b){y.call(this,b);break}}try{u=Mi.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,c=p.length;m<c;)u=u.then(p[m++],p[m++]);return u}getUri(a){a=va(this.defaults,a);const n=yi(a.baseURL,a.url,a.allowAbsoluteUrls);return si(n,a.params,a.paramsSerializer)}};oe.forEach(["delete","get","head","options"],function(a){Ea.prototype[a]=function(n,r){return this.request(va(r||{},{method:a,url:n,data:(r||{}).data}))}}),oe.forEach(["post","put","patch"],function(a){function n(r){return function(i,l,s){return this.request(va(s||{},{method:a,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:l}))}}Ea.prototype[a]=n(),Ea.prototype[a+"Form"]=n(!0)});let gc=class Ss{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const l=new Promise(s=>{r.subscribe(s),i=s}).then(o);return l.cancel=function(){r.unsubscribe(i)},l},a(function(i,l,s){r.reason||(r.reason=new Pa(i,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const n=this._listeners.indexOf(a);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const a=new AbortController,n=r=>{a.abort(r)};return this.subscribe(n),a.signal.unsubscribe=()=>this.unsubscribe(n),a.signal}static source(){let a;return{token:new Ss(function(o){a=o}),cancel:a}}};function yc(e){return function(n){return e.apply(null,n)}}function kc(e){return oe.isObject(e)&&e.isAxiosError===!0}const Sr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Sr).forEach(([e,a])=>{Sr[a]=e});function Vi(e){const a=new Ea(e),n=Yo(Ea.prototype.request,a);return oe.extend(n,Ea.prototype,a,{allOwnKeys:!0}),oe.extend(n,a,null,{allOwnKeys:!0}),n.create=function(o){return Vi(va(e,o))},n}const Qe=Vi(an);Qe.Axios=Ea,Qe.CanceledError=Pa,Qe.CancelToken=gc,Qe.isCancel=fi,Qe.VERSION=Bi,Qe.toFormData=Dn,Qe.AxiosError=Te,Qe.Cancel=Qe.CanceledError,Qe.all=function(a){return Promise.all(a)},Qe.spread=yc,Qe.isAxiosError=kc,Qe.mergeConfig=va,Qe.AxiosHeaders=Bt,Qe.formToJSON=e=>ui(oe.isHTMLForm(e)?new FormData(e):e),Qe.getAdapter=Si.getAdapter,Qe.HttpStatusCode=Sr,Qe.default=Qe;const{Axios:sw,AxiosError:cw,CanceledError:dw,isCancel:uw,CancelToken:mw,VERSION:fw,all:hw,Cancel:pw,isAxiosError:gw,spread:yw,toFormData:kw,AxiosHeaders:xw,HttpStatusCode:bw,formToJSON:ww,getAdapter:vw,mergeConfig:Ew}=Qe,Ni=zt.defineStore("auth",{state:()=>({jwtToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQwMDY5MzIyLCJpYXQiOjE3Mzk5ODI5MjIsImp0aSI6IjcyZjcxYjgzY2I5YTQ1MWFhMmYyODQ0OTlmZGFkZWIxIiwidXNlcl9pZCI6ImU4YTAwNWZhLTk0YjUtNDRiOC05ZDkwLWZjNzJmYzI0NjRhOSJ9.IOzqjqDpRRfqsvqhzEsGDLhQOKWapjzFycNG3Qv8k0U"}),actions:{setToken(e){this.jwtToken=e},clearToken(){this.jwtToken=null}},getters:{getToken:e=>e.jwtToken}}),na=Qe.create({baseURL:"https://back.dev-smclick.com.br/"});na.interceptors.request.use(e=>{const n=Ni().getToken;return n&&(e.headers.Authorization=`Bearer ${n}`),e},e=>Promise.reject(e));const xc="v1/api/attendances/attendant/",bc="v1/api/attendances/department/",Mr="v1/api/attendances/internal_chat/",wc="v1/api/instances/instance/",Br=zt.defineStore("instance",{state:()=>({instances:[],count:null,loaded:!1}),actions:{async fetchInstances(e=""){try{let a=`${wc}`;const n=await na.get(a);this.instances=n.data,await Promise.all(this.instances.map(async r=>{r.isLoading=!0;try{const o=r.last_instance_status;o==="DISCONNECTED"||o==="UNDEFINED"?r.status=!1:r.status=!0}catch(o){console.log(o),r.status="Offline"}r.isLoading=!1})),this.count=this.instances.length,this.loaded=!0}catch(a){console.log("Erro ao buscar instâncias:",a),this.loaded=!0}},removeInstance(e){this.instances=this.instances.filter(a=>a.id!==e),this.count=this.instances.length},addInstance(e){const a=this.instances.findIndex(n=>n.id===e.id);a!==-1?this.instances[a]=e:this.instances.push(e),this.count=this.instances.length}}}),vc={class:"w-full relative text-current"},Ec={class:"flex cursor-pointer justify-between items-center"},Cc={key:0},Sc={key:0},Mc={key:1,class:"flex items-center gap-2"},Bc={class:"flex gap-3 items-center flex-shrink-0"},Ac={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-5 h-5 text-green-400",viewBox:"0 0 16 16"},Vc={key:1,class:"relative"},Nc={style:{color:"#0081FB"},xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"w-5 h-5 absolute -bottom-2 -right-2 rounded-full bi bi-meta",viewBox:"0 0 16 16"},Dc={class:"my-auto text-center mx-auto group-hover:inline-block"},_c={key:1,class:"flex justify-center"},Tc={class:"w-full"},Pc={key:1,class:"flex items-center gap-2 justify-center"},Oc={class:"flex px-4 items-center gap-2"},Fc={key:0,class:"absolute top-[48px] w-full z-20 text-sm"},Lc={class:"gap-2 rounded-b-lg flex overflow-y-auto p-2 shadow shadow-black dark:shadow-gray-400 bg-base-300 max-h-[200px] flex-col"},$c={class:"select-none cursor-pointer w-full"},Hc=["onClick","disabled"],Rc={class:"flex w-full items-center pl-2 gap-3"},zc={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-4 h-4 flex-shrink-0 text-green-400",viewBox:"0 0 16 16"},Ic={key:1,class:"relative"},Gc={style:{color:"#0081FB"},xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"w-4 h-4 absolute flex-shrink-0 -bottom-2 -right-2 rounded-full bi bi-meta",viewBox:"0 0 16 16"},jc={key:0,class:"w-6 h-6 flex-shrink-0","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},qc={class:"w-full text-center"},Wc={class:"my-auto text-center mx-auto group-hover:inline-block"},Yc={key:1,class:"flex justify-center"},Uc={class:"flex min-w-[50px] text-sm text-center items-center my-auto flex-shrink-0 px-1 justify-center"},Xc={key:1,class:"p-4"},Di={__name:"index",props:{modelValue:{type:Object,default:null},type:{type:String},webhooks:{type:Boolean,default:void 0}},emits:["update:modelValue","function","component-mounted"],setup(e,{emit:a}){const n=Br(),r=t.ref(!1),o=t.ref(null),i=e,l=a;function s(d){o.value=d,l("function",d)}return t.watch(()=>i.modelValue,d=>{o.value=d},{immediate:!0}),t.watch(o,d=>{l("update:modelValue",d)}),t.onMounted(async()=>{if(o.value){const d=n.instances.find(p=>p.id===o.value.id);d&&(o.value.status=d.status)}l("component-mounted")}),(d,p)=>{const u=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("main",vc,[t.createElementVNode("div",{class:t.normalizeClass([{"rounded-b-none":r.value},"rounded-lg shadow dark:shadow-gray-400 shadow-gray-900 dark:bg-base-100 bg-base-100 text-center"])},[t.createElementVNode("div",Ec,[t.createElementVNode("p",{onClick:p[0]||(p[0]=m=>r.value=!r.value),class:"w-full p-3 px-4 select-none"},[t.unref(n).loaded?(t.openBlock(),t.createElementBlock("div",Cc,[o.value?(t.openBlock(),t.createElementBlock("span",Mc,[t.createElementVNode("header",Bc,[o.value.type==="whatsapp-qrcode"?(t.openBlock(),t.createElementBlock("svg",Ac,p[3]||(p[3]=[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"},null,-1)]))):o.value.type==="whatsapp-api-official"?(t.openBlock(),t.createElementBlock("div",Vc,[p[5]||(p[5]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-5 h-5 text-green-400",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"})],-1)),(t.openBlock(),t.createElementBlock("svg",Nc,p[4]||(p[4]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.217 5.243C9.145 3.988 10.171 3 11.483 3 13.96 3 16 6.153 16.001 9.907c0 2.29-.986 3.725-2.757 3.725-1.543 0-2.395-.866-3.924-3.424l-.667-1.123-.118-.197a54.944 54.944 0 0 0-.53-.877l-1.178 2.08c-1.673 2.925-2.615 3.541-3.923 3.541C1.086 13.632 0 12.217 0 9.973 0 6.388 1.995 3 4.598 3c.319 0 .625.039.924.122.31.086.611.22.913.407.577.359 1.154.915 1.782 1.714Zm1.516 2.224c-.252-.41-.494-.787-.727-1.133L9 6.326c.845-1.305 1.543-1.954 2.372-1.954 1.723 0 3.102 2.537 3.102 5.653 0 1.188-.39 1.877-1.195 1.877-.773 0-1.142-.51-2.61-2.87l-.937-1.565ZM4.846 4.756c.725.1 1.385.634 2.34 2.001A212.13 212.13 0 0 0 5.551 9.3c-1.357 2.126-1.826 2.603-2.581 2.603-.777 0-1.24-.682-1.24-1.9 0-2.602 1.298-5.264 2.846-5.264.091 0 .181.006.27.018Z"},null,-1)])))])):t.createCommentVNode("",!0),o.value&&o.value.status!==void 0?(t.openBlock(),t.createBlock(u,{key:2,class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("main",{class:t.normalizeClass(["p-1 rounded text-sm px-3",{"bg-red-500":o.value.status===!1,"bg-green-500":o.value.status===!0,"bg-purple-500":o.value.status==="Offline"}])},[t.createElementVNode("div",Dc,t.toDisplayString(o.value.status===!0?"Conectada":o.value.status===!1?"Desconectada":"Indefinida"),1)],2)]),default:t.withCtx(()=>[o.value.isLoading?(t.openBlock(),t.createElementBlock("div",_c,p[6]||(p[6]=[t.createElementVNode("div",{class:"h-5 w-5 border-t-transparent border-solid animate-spin rounded-full border-white border-4"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([{"bg-red-500":o.value.status===!1,"bg-green-500":o.value.status===!0,"bg-purple-500":o.value.status==="Offline"},"text-xs w-5 h-5 py-1 shadow flex justify-start shadow-gray-900 dark:shadow-gray-400 rounded-full cursor-pointer transition-all duration-200 ease-in-out"])},null,2))]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("div",Tc,t.toDisplayString(o.value.name),1)])):(t.openBlock(),t.createElementBlock("span",Sc,t.toDisplayString(t.unref(n).instances?t.unref(n).instances.length:"Sem")+" Instâncias disponíveis",1))])):(t.openBlock(),t.createElementBlock("div",Pc,p[7]||(p[7]=[t.createElementVNode("svg",{"aria-hidden":"true",class:"inline w-5 h-5 text-blue-300 animate-spin fill-gray-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),t.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1),t.createTextVNode("Inicializando instâncias...")])))]),t.createElementVNode("footer",Oc,[t.createElementVNode("button",{onClick:p[1]||(p[1]=m=>(o.value=null,r.value=!1))},p[8]||(p[8]=[t.createElementVNode("svg",{class:"w-4 h-4","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18 17.94 6M18 18 6.06 6"})],-1)])),t.createElementVNode("button",{onClick:p[2]||(p[2]=m=>r.value=!r.value)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([{"rotate-180":r.value},"w-4 h-4 ease-out transition"]),"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},p[9]||(p[9]=[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 9-7 7-7-7"},null,-1)]),2))])])])],2),r.value?(t.openBlock(),t.createElementBlock("nav",Fc,[t.createElementVNode("ul",Lc,[t.unref(n).instances.length>0?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(t.unref(n).instances,(m,c)=>(t.openBlock(),t.createElementBlock("li",$c,[t.createElementVNode("button",{class:t.normalizeClass([o.value&&o.value.id===m.id?"bg-base-100":"bg-base-200 hover:bg-base-100","flex rounded-md justify-between items-center p-2 px-1 w-full"]),onClick:f=>(o.value=m,r.value=!1,s(m)),disabled:o.value&&o.value.id===m.id||e.type&&m.type!==e.type||e.webhooks!==void 0&&e.webhooks!==m.webhooks},[t.createElementVNode("div",Rc,[m.type==="whatsapp-qrcode"?(t.openBlock(),t.createElementBlock("svg",zc,p[10]||(p[10]=[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"},null,-1)]))):m.type==="whatsapp-api-official"?(t.openBlock(),t.createElementBlock("div",Ic,[p[12]||(p[12]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-4 h-4 flex-shrink-0 text-green-400",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"})],-1)),(t.openBlock(),t.createElementBlock("svg",Gc,p[11]||(p[11]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.217 5.243C9.145 3.988 10.171 3 11.483 3 13.96 3 16 6.153 16.001 9.907c0 2.29-.986 3.725-2.757 3.725-1.543 0-2.395-.866-3.924-3.424l-.667-1.123-.118-.197a54.944 54.944 0 0 0-.53-.877l-1.178 2.08c-1.673 2.925-2.615 3.541-3.923 3.541C1.086 13.632 0 12.217 0 9.973 0 6.388 1.995 3 4.598 3c.319 0 .625.039.924.122.31.086.611.22.913.407.577.359 1.154.915 1.782 1.714Zm1.516 2.224c-.252-.41-.494-.787-.727-1.133L9 6.326c.845-1.305 1.543-1.954 2.372-1.954 1.723 0 3.102 2.537 3.102 5.653 0 1.188-.39 1.877-1.195 1.877-.773 0-1.142-.51-2.61-2.87l-.937-1.565ZM4.846 4.756c.725.1 1.385.634 2.34 2.001A212.13 212.13 0 0 0 5.551 9.3c-1.357 2.126-1.826 2.603-2.581 2.603-.777 0-1.24-.682-1.24-1.9 0-2.602 1.298-5.264 2.846-5.264.091 0 .181.006.27.018Z"},null,-1)])))])):t.createCommentVNode("",!0),t.createVNode(u,{class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(e.type&&m.type!==e.type?"Não é possível utilizar esse tipo de Instância neste recurso":e.webhooks===!0?"Essa instância está com o Atendimento desabilitado":"Essa aplicação é somente para instâncias sem atendimento habilitado."),1)]),default:t.withCtx(()=>[e.type&&m.type!==e.type||e.webhooks!==void 0&&e.webhooks!==m.webhooks?(t.openBlock(),t.createElementBlock("svg",jc,p[13]||(p[13]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8 10V7a4 4 0 1 1 8 0v3h1a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h1Zm2-3a2 2 0 1 1 4 0v3h-4V7Zm2 6a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0v-3a1 1 0 0 1 1-1Z","clip-rule":"evenodd"},null,-1)]))):t.createCommentVNode("",!0)]),_:2},1024),t.createElementVNode("p",qc,t.toDisplayString(m.name),1),t.createVNode(u,{class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("main",{class:t.normalizeClass(["p-1 rounded px-3",{"bg-red-500":m.status===!1,"bg-green-500":m.status===!0,"bg-purple-500":m.status==="Offline"}])},[t.createElementVNode("div",Wc,t.toDisplayString(m.status===!0?"Conectada":m.status===!1?"Desconectada":"Indefinida"),1)],2)]),default:t.withCtx(()=>[m.isLoading?(t.openBlock(),t.createElementBlock("div",Yc,p[14]||(p[14]=[t.createElementVNode("div",{class:"h-5 w-5 border-t-transparent border-solid animate-spin rounded-full border-white border-4"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([{"bg-red-500":m.status===!1,"bg-green-500":m.status===!0,"bg-purple-500":m.status==="Offline"},"text-xs w-5 h-5 py-1 shadow flex justify-start shadow-gray-900 dark:shadow-gray-400 rounded-full cursor-pointer transition-all duration-200 ease-in-out"])},null,2))]),_:2},1024)]),t.createElementVNode("div",Uc,[m.telephone?(t.openBlock(),t.createBlock(u,{key:0,class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("div",null,t.toDisplayString(m.telephone?`${m.telephone}`:""),1)]),default:t.withCtx(()=>[p[15]||(p[15]=t.createElementVNode("svg",{class:"w-6 h-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{d:"M7.978 4a2.553 2.553 0 0 0-1.926.877C4.233 6.7 3.699 8.751 4.153 10.814c.44 1.995 1.778 3.893 3.456 5.572 1.68 1.679 3.577 3.018 5.57 3.459 2.062.456 4.115-.073 5.94-1.885a2.556 2.556 0 0 0 .001-3.861l-1.21-1.21a2.689 2.689 0 0 0-3.802 0l-.617.618a.806.806 0 0 1-1.14 0l-1.854-1.855a.807.807 0 0 1 0-1.14l.618-.62a2.692 2.692 0 0 0 0-3.803l-1.21-1.211A2.555 2.555 0 0 0 7.978 4Z"})],-1))]),_:2,__:[15]},1024)):t.createCommentVNode("",!0)])],10,Hc)]))),256)):(t.openBlock(),t.createElementBlock("div",Xc," Sem instâncias disponíveis"))])])):t.createCommentVNode("",!0)])}}};function Ce(e){const a=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&a==="[object Date]"?new e.constructor(+e):typeof e=="number"||a==="[object Number]"||typeof e=="string"||a==="[object String]"?new Date(e):new Date(NaN)}function He(e,a){return e instanceof Date?new e.constructor(a):new Date(a)}function Ot(e,a){const n=Ce(e);return isNaN(a)?He(e,NaN):(a&&n.setDate(n.getDate()+a),n)}function Ft(e,a){const n=Ce(e);if(isNaN(a))return He(e,NaN);if(!a)return n;const r=n.getDate(),o=He(e,n.getTime());o.setMonth(n.getMonth()+a+1,0);const i=o.getDate();return r>=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}function _i(e,a){const{years:n=0,months:r=0,weeks:o=0,days:i=0,hours:l=0,minutes:s=0,seconds:d=0}=a,p=Ce(e),u=r||n?Ft(p,r+n*12):p,m=i||o?Ot(u,i+o*7):u,c=s+l*60,h=(d+c*60)*1e3;return He(e,m.getTime()+h)}function Zc(e,a){const n=+Ce(e);return He(e,n+a)}const Ti=6048e5,Qc=864e5,Kc=6e4,Pi=36e5,Jc=1e3;function e2(e,a){return Zc(e,a*Pi)}let t2={};function Ca(){return t2}function Lt(e,a){var s,d,p,u;const n=Ca(),r=(a==null?void 0:a.weekStartsOn)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.weekStartsOn)??0,o=Ce(e),i=o.getDay(),l=(i<r?7:0)+i-r;return o.setDate(o.getDate()-l),o.setHours(0,0,0,0),o}function Oa(e){return Lt(e,{weekStartsOn:1})}function Oi(e){const a=Ce(e),n=a.getFullYear(),r=He(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=Oa(r),i=He(e,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const l=Oa(i);return a.getTime()>=o.getTime()?n+1:a.getTime()>=l.getTime()?n:n-1}function Fi(e){const a=Ce(e);return a.setHours(0,0,0,0),a}function $n(e){const a=Ce(e),n=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return n.setUTCFullYear(a.getFullYear()),+e-+n}function Li(e,a){const n=Fi(e),r=Fi(a),o=+n-$n(n),i=+r-$n(r);return Math.round((o-i)/Qc)}function a2(e){const a=Oi(e),n=He(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),Oa(n)}function n2(e,a){const n=a*3;return Ft(e,n)}function Ar(e,a){return Ft(e,a*12)}function $i(e,a){const n=Ce(e),r=Ce(a),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function Hi(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function rn(e){if(!Hi(e)&&typeof e!="number")return!1;const a=Ce(e);return!isNaN(Number(a))}function Ri(e){const a=Ce(e);return Math.trunc(a.getMonth()/3)+1}function r2(e,a){const n=Ce(e),r=Ce(a);return n.getFullYear()-r.getFullYear()}function o2(e,a){const n=Ce(e),r=Ce(a),o=$i(n,r),i=Math.abs(r2(n,r));n.setFullYear(1584),r.setFullYear(1584);const l=$i(n,r)===-o,s=o*(i-+l);return s===0?0:s}function zi(e,a){const n=Ce(e.start),r=Ce(e.end);let o=+n>+r;const i=o?+n:+r,l=o?r:n;l.setHours(0,0,0,0);let s=1;const d=[];for(;+l<=i;)d.push(Ce(l)),l.setDate(l.getDate()+s),l.setHours(0,0,0,0);return o?d.reverse():d}function Sa(e){const a=Ce(e),n=a.getMonth(),r=n-n%3;return a.setMonth(r,1),a.setHours(0,0,0,0),a}function i2(e,a){const n=Ce(e.start),r=Ce(e.end);let o=+n>+r;const i=o?+Sa(n):+Sa(r);let l=Sa(o?r:n),s=1;const d=[];for(;+l<=i;)d.push(Ce(l)),l=n2(l,s);return o?d.reverse():d}function l2(e){const a=Ce(e);return a.setDate(1),a.setHours(0,0,0,0),a}function Ii(e){const a=Ce(e),n=a.getFullYear();return a.setFullYear(n+1,0,0),a.setHours(23,59,59,999),a}function on(e){const a=Ce(e),n=He(e,0);return n.setFullYear(a.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Gi(e,a){var s,d,p,u;const n=Ca(),r=(a==null?void 0:a.weekStartsOn)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.weekStartsOn)??0,o=Ce(e),i=o.getDay(),l=(i<r?-7:0)+6-(i-r);return o.setDate(o.getDate()+l),o.setHours(23,59,59,999),o}function ji(e){const a=Ce(e),n=a.getMonth(),r=n-n%3+3;return a.setMonth(r,0),a.setHours(23,59,59,999),a}const s2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},c2=(e,a,n)=>{let r;const o=s2[e];return typeof o=="string"?r=o:a===1?r=o.one:r=o.other.replace("{{count}}",a.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Vr(e){return(a={})=>{const n=a.width?String(a.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const d2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},u2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},m2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},f2={date:Vr({formats:d2,defaultWidth:"full"}),time:Vr({formats:u2,defaultWidth:"full"}),dateTime:Vr({formats:m2,defaultWidth:"full"})},h2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},p2=(e,a,n,r)=>h2[e];function ln(e){return(a,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):l;o=e.formattingValues[s]||e.formattingValues[l]}else{const l=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[l]}const i=e.argumentCallback?e.argumentCallback(a):a;return o[i]}}const g2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},y2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},k2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},x2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},b2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},w2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},v2={ordinalNumber:(e,a)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:ln({values:g2,defaultWidth:"wide"}),quarter:ln({values:y2,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ln({values:k2,defaultWidth:"wide"}),day:ln({values:x2,defaultWidth:"wide"}),dayPeriod:ln({values:b2,defaultWidth:"wide",formattingValues:w2,defaultFormattingWidth:"wide"})};function sn(e){return(a,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=a.match(o);if(!i)return null;const l=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(s)?C2(s,m=>m.test(l)):E2(s,m=>m.test(l));let p;p=e.valueCallback?e.valueCallback(d):d,p=n.valueCallback?n.valueCallback(p):p;const u=a.slice(l.length);return{value:p,rest:u}}}function E2(e,a){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&a(e[n]))return n}function C2(e,a){for(let n=0;n<e.length;n++)if(a(e[n]))return n}function S2(e){return(a,n={})=>{const r=a.match(e.matchPattern);if(!r)return null;const o=r[0],i=a.match(e.parsePattern);if(!i)return null;let l=e.valueCallback?e.valueCallback(i[0]):i[0];l=n.valueCallback?n.valueCallback(l):l;const s=a.slice(o.length);return{value:l,rest:s}}}const M2=/^(\d+)(th|st|nd|rd)?/i,B2=/\d+/i,A2={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},V2={any:[/^b/i,/^(a|c)/i]},N2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},D2={any:[/1/i,/2/i,/3/i,/4/i]},_2={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},T2={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},P2={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},O2={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},F2={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},L2={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},$2={ordinalNumber:S2({matchPattern:M2,parsePattern:B2,valueCallback:e=>parseInt(e,10)}),era:sn({matchPatterns:A2,defaultMatchWidth:"wide",parsePatterns:V2,defaultParseWidth:"any"}),quarter:sn({matchPatterns:N2,defaultMatchWidth:"wide",parsePatterns:D2,defaultParseWidth:"any",valueCallback:e=>e+1}),month:sn({matchPatterns:_2,defaultMatchWidth:"wide",parsePatterns:T2,defaultParseWidth:"any"}),day:sn({matchPatterns:P2,defaultMatchWidth:"wide",parsePatterns:O2,defaultParseWidth:"any"}),dayPeriod:sn({matchPatterns:F2,defaultMatchWidth:"any",parsePatterns:L2,defaultParseWidth:"any"})},qi={code:"en-US",formatDistance:c2,formatLong:f2,formatRelative:p2,localize:v2,match:$2,options:{weekStartsOn:0,firstWeekContainsDate:1}};function H2(e){const a=Ce(e);return Li(a,on(a))+1}function Nr(e){const a=Ce(e),n=+Oa(a)-+a2(a);return Math.round(n/Ti)+1}function Dr(e,a){var u,m,c,f;const n=Ce(e),r=n.getFullYear(),o=Ca(),i=(a==null?void 0:a.firstWeekContainsDate)??((m=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??o.firstWeekContainsDate??((f=(c=o.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??1,l=He(e,0);l.setFullYear(r+1,0,i),l.setHours(0,0,0,0);const s=Lt(l,a),d=He(e,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const p=Lt(d,a);return n.getTime()>=s.getTime()?r+1:n.getTime()>=p.getTime()?r:r-1}function R2(e,a){var s,d,p,u;const n=Ca(),r=(a==null?void 0:a.firstWeekContainsDate)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.firstWeekContainsDate)??1,o=Dr(e,a),i=He(e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Lt(i,a)}function _r(e,a){const n=Ce(e),r=+Lt(n,a)-+R2(n,a);return Math.round(r/Ti)+1}function Ie(e,a){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(a,"0");return n+r}const ra={y(e,a){const n=e.getFullYear(),r=n>0?n:1-n;return Ie(a==="yy"?r%100:r,a.length)},M(e,a){const n=e.getMonth();return a==="M"?String(n+1):Ie(n+1,2)},d(e,a){return Ie(e.getDate(),a.length)},a(e,a){const n=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,a){return Ie(e.getHours()%12||12,a.length)},H(e,a){return Ie(e.getHours(),a.length)},m(e,a){return Ie(e.getMinutes(),a.length)},s(e,a){return Ie(e.getSeconds(),a.length)},S(e,a){const n=a.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ie(o,a.length)}},Fa={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Wi={G:function(e,a,n){const r=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,a,n){if(a==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return ra.y(e,a)},Y:function(e,a,n,r){const o=Dr(e,r),i=o>0?o:1-o;if(a==="YY"){const l=i%100;return Ie(l,2)}return a==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ie(i,a.length)},R:function(e,a){const n=Oi(e);return Ie(n,a.length)},u:function(e,a){const n=e.getFullYear();return Ie(n,a.length)},Q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(r);case"QQ":return Ie(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(r);case"qq":return Ie(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,a,n){const r=e.getMonth();switch(a){case"M":case"MM":return ra.M(e,a);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,a,n){const r=e.getMonth();switch(a){case"L":return String(r+1);case"LL":return Ie(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,a,n,r){const o=_r(e,r);return a==="wo"?n.ordinalNumber(o,{unit:"week"}):Ie(o,a.length)},I:function(e,a,n){const r=Nr(e);return a==="Io"?n.ordinalNumber(r,{unit:"week"}):Ie(r,a.length)},d:function(e,a,n){return a==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):ra.d(e,a)},D:function(e,a,n){const r=H2(e);return a==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ie(r,a.length)},E:function(e,a,n){const r=e.getDay();switch(a){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"e":return String(i);case"ee":return Ie(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"c":return String(i);case"cc":return Ie(i,a.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,a,n){const r=e.getDay(),o=r===0?7:r;switch(a){case"i":return String(o);case"ii":return Ie(o,a.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,a,n){const o=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,a,n){const r=e.getHours();let o;switch(r===12?o=Fa.noon:r===0?o=Fa.midnight:o=r/12>=1?"pm":"am",a){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,a,n){const r=e.getHours();let o;switch(r>=17?o=Fa.evening:r>=12?o=Fa.afternoon:r>=4?o=Fa.morning:o=Fa.night,a){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,a,n){if(a==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return ra.h(e,a)},H:function(e,a,n){return a==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):ra.H(e,a)},K:function(e,a,n){const r=e.getHours()%12;return a==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ie(r,a.length)},k:function(e,a,n){let r=e.getHours();return r===0&&(r=24),a==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ie(r,a.length)},m:function(e,a,n){return a==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ra.m(e,a)},s:function(e,a,n){return a==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ra.s(e,a)},S:function(e,a){return ra.S(e,a)},X:function(e,a,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(a){case"X":return Ui(r);case"XXXX":case"XX":return Ma(r);case"XXXXX":case"XXX":default:return Ma(r,":")}},x:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"x":return Ui(r);case"xxxx":case"xx":return Ma(r);case"xxxxx":case"xxx":default:return Ma(r,":")}},O:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+Yi(r,":");case"OOOO":default:return"GMT"+Ma(r,":")}},z:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+Yi(r,":");case"zzzz":default:return"GMT"+Ma(r,":")}},t:function(e,a,n){const r=Math.trunc(e.getTime()/1e3);return Ie(r,a.length)},T:function(e,a,n){const r=e.getTime();return Ie(r,a.length)}};function Yi(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+a+Ie(i,2)}function Ui(e,a){return e%60===0?(e>0?"-":"+")+Ie(Math.abs(e)/60,2):Ma(e,a)}function Ma(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ie(Math.trunc(r/60),2),i=Ie(r%60,2);return n+o+a+i}const Xi=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},Zi=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},Tr={p:Zi,P:(e,a)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return Xi(e,a);let i;switch(r){case"P":i=a.dateTime({width:"short"});break;case"PP":i=a.dateTime({width:"medium"});break;case"PPP":i=a.dateTime({width:"long"});break;case"PPPP":default:i=a.dateTime({width:"full"});break}return i.replace("{{date}}",Xi(r,a)).replace("{{time}}",Zi(o,a))}},z2=/^D+$/,I2=/^Y+$/,G2=["D","DD","YY","YYYY"];function Qi(e){return z2.test(e)}function Ki(e){return I2.test(e)}function Pr(e,a,n){const r=j2(e,a,n);if(console.warn(r),G2.includes(e))throw new RangeError(r)}function j2(e,a,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const q2=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,W2=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Y2=/^'([^]*?)'?$/,U2=/''/g,X2=/[a-zA-Z]/;function Gt(e,a,n){var u,m,c,f,h,y,b,x;const r=Ca(),o=(n==null?void 0:n.locale)??r.locale??qi,i=(n==null?void 0:n.firstWeekContainsDate)??((m=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??r.firstWeekContainsDate??((f=(c=r.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??1,l=(n==null?void 0:n.weekStartsOn)??((y=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:y.weekStartsOn)??r.weekStartsOn??((x=(b=r.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??0,s=Ce(e);if(!rn(s))throw new RangeError("Invalid time value");let d=a.match(W2).map(w=>{const k=w[0];if(k==="p"||k==="P"){const B=Tr[k];return B(w,o.formatLong)}return w}).join("").match(q2).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const k=w[0];if(k==="'")return{isToken:!1,value:Z2(w)};if(Wi[k])return{isToken:!0,value:w};if(k.match(X2))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:w}});o.localize.preprocessor&&(d=o.localize.preprocessor(s,d));const p={firstWeekContainsDate:i,weekStartsOn:l,locale:o};return d.map(w=>{if(!w.isToken)return w.value;const k=w.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Ki(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Qi(k))&&Pr(k,a,String(e));const B=Wi[k[0]];return B(s,k,o.localize,p)}).join("")}function Z2(e){const a=e.match(Y2);return a?a[1].replace(U2,"'"):e}function Q2(e){return Ce(e).getDay()}function K2(e){const a=Ce(e),n=a.getFullYear(),r=a.getMonth(),o=He(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function J2(){return Object.assign({},Ca())}function Zt(e){return Ce(e).getHours()}function ed(e){let n=Ce(e).getDay();return n===0&&(n=7),n}function oa(e){return Ce(e).getMinutes()}function Oe(e){return Ce(e).getMonth()}function La(e){return Ce(e).getSeconds()}function Ve(e){return Ce(e).getFullYear()}function $a(e,a){const n=Ce(e),r=Ce(a);return n.getTime()>r.getTime()}function cn(e,a){const n=Ce(e),r=Ce(a);return+n<+r}function Ha(e,a){const n=Ce(e),r=Ce(a);return+n==+r}function td(e,a){const n=a instanceof Date?He(a,0):new a(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}const ad=10;class Ji{constructor(){ve(this,"subPriority",0)}validate(a,n){return!0}}class nd extends Ji{constructor(a,n,r,o,i){super(),this.value=a,this.validateValue=n,this.setValue=r,this.priority=o,i&&(this.subPriority=i)}validate(a,n){return this.validateValue(a,this.value,n)}set(a,n,r){return this.setValue(a,n,this.value,r)}}class rd extends Ji{constructor(){super(...arguments);ve(this,"priority",ad);ve(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:He(n,td(n,Date))}}class Re{run(a,n,r,o){const i=this.parse(a,n,r,o);return i?{setter:new nd(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(a,n,r){return!0}}class od extends Re{constructor(){super(...arguments);ve(this,"priority",140);ve(this,"incompatibleTokens",["R","u","t","T"])}parse(n,r,o){switch(r){case"G":case"GG":case"GGG":return o.era(n,{width:"abbreviated"})||o.era(n,{width:"narrow"});case"GGGGG":return o.era(n,{width:"narrow"});case"GGGG":default:return o.era(n,{width:"wide"})||o.era(n,{width:"abbreviated"})||o.era(n,{width:"narrow"})}}set(n,r,o){return r.era=o,n.setFullYear(o,0,1),n.setHours(0,0,0,0),n}}const rt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},jt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function ot(e,a){return e&&{value:a(e.value),rest:e.rest}}function Ke(e,a){const n=a.match(e);return n?{value:parseInt(n[0],10),rest:a.slice(n[0].length)}:null}function qt(e,a){const n=a.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:a.slice(1)};const r=n[1]==="+"?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,l=n[5]?parseInt(n[5],10):0;return{value:r*(o*Pi+i*Kc+l*Jc),rest:a.slice(n[0].length)}}function el(e){return Ke(rt.anyDigitsSigned,e)}function et(e,a){switch(e){case 1:return Ke(rt.singleDigit,a);case 2:return Ke(rt.twoDigits,a);case 3:return Ke(rt.threeDigits,a);case 4:return Ke(rt.fourDigits,a);default:return Ke(new RegExp("^\\d{1,"+e+"}"),a)}}function Hn(e,a){switch(e){case 1:return Ke(rt.singleDigitSigned,a);case 2:return Ke(rt.twoDigitsSigned,a);case 3:return Ke(rt.threeDigitsSigned,a);case 4:return Ke(rt.fourDigitsSigned,a);default:return Ke(new RegExp("^-?\\d{1,"+e+"}"),a)}}function Or(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function tl(e,a){const n=a>0,r=n?a:1-a;let o;if(r<=50)o=e||100;else{const i=r+50,l=Math.trunc(i/100)*100,s=e>=i%100;o=e+l-(s?100:0)}return n?o:1-o}function al(e){return e%400===0||e%4===0&&e%100!==0}class id extends Re{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,r,o){const i=l=>({year:l,isTwoDigitYear:r==="yy"});switch(r){case"y":return ot(et(4,n),i);case"yo":return ot(o.ordinalNumber(n,{unit:"year"}),i);default:return ot(et(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,o){const i=n.getFullYear();if(o.isTwoDigitYear){const s=tl(o.year,i);return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}const l=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}}class ld extends Re{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,r,o){const i=l=>({year:l,isTwoDigitYear:r==="YY"});switch(r){case"Y":return ot(et(4,n),i);case"Yo":return ot(o.ordinalNumber(n,{unit:"year"}),i);default:return ot(et(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,o,i){const l=Dr(n,i);if(o.isTwoDigitYear){const d=tl(o.year,l);return n.setFullYear(d,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Lt(n,i)}const s=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(s,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Lt(n,i)}}class sd extends Re{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,r){return Hn(r==="R"?4:r.length,n)}set(n,r,o){const i=He(n,0);return i.setFullYear(o,0,4),i.setHours(0,0,0,0),Oa(i)}}class cd extends Re{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,r){return Hn(r==="u"?4:r.length,n)}set(n,r,o){return n.setFullYear(o,0,1),n.setHours(0,0,0,0),n}}class dd extends Re{constructor(){super(...arguments);ve(this,"priority",120);ve(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"Q":case"QQ":return et(r.length,n);case"Qo":return o.ordinalNumber(n,{unit:"quarter"});case"QQQ":return o.quarter(n,{width:"abbreviated",context:"formatting"})||o.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return o.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(n,{width:"wide",context:"formatting"})||o.quarter(n,{width:"abbreviated",context:"formatting"})||o.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=1&&r<=4}set(n,r,o){return n.setMonth((o-1)*3,1),n.setHours(0,0,0,0),n}}class ud extends Re{constructor(){super(...arguments);ve(this,"priority",120);ve(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"q":case"qq":return et(r.length,n);case"qo":return o.ordinalNumber(n,{unit:"quarter"});case"qqq":return o.quarter(n,{width:"abbreviated",context:"standalone"})||o.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return o.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(n,{width:"wide",context:"standalone"})||o.quarter(n,{width:"abbreviated",context:"standalone"})||o.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=1&&r<=4}set(n,r,o){return n.setMonth((o-1)*3,1),n.setHours(0,0,0,0),n}}class md extends Re{constructor(){super(...arguments);ve(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ve(this,"priority",110)}parse(n,r,o){const i=l=>l-1;switch(r){case"M":return ot(Ke(rt.month,n),i);case"MM":return ot(et(2,n),i);case"Mo":return ot(o.ordinalNumber(n,{unit:"month"}),i);case"MMM":return o.month(n,{width:"abbreviated",context:"formatting"})||o.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return o.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(n,{width:"wide",context:"formatting"})||o.month(n,{width:"abbreviated",context:"formatting"})||o.month(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.setMonth(o,1),n.setHours(0,0,0,0),n}}class fd extends Re{constructor(){super(...arguments);ve(this,"priority",110);ve(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,r,o){const i=l=>l-1;switch(r){case"L":return ot(Ke(rt.month,n),i);case"LL":return ot(et(2,n),i);case"Lo":return ot(o.ordinalNumber(n,{unit:"month"}),i);case"LLL":return o.month(n,{width:"abbreviated",context:"standalone"})||o.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return o.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(n,{width:"wide",context:"standalone"})||o.month(n,{width:"abbreviated",context:"standalone"})||o.month(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.setMonth(o,1),n.setHours(0,0,0,0),n}}function hd(e,a,n){const r=Ce(e),o=_r(r,n)-a;return r.setDate(r.getDate()-o*7),r}class pd extends Re{constructor(){super(...arguments);ve(this,"priority",100);ve(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,r,o){switch(r){case"w":return Ke(rt.week,n);case"wo":return o.ordinalNumber(n,{unit:"week"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,o,i){return Lt(hd(n,o,i),i)}}function gd(e,a){const n=Ce(e),r=Nr(n)-a;return n.setDate(n.getDate()-r*7),n}class yd extends Re{constructor(){super(...arguments);ve(this,"priority",100);ve(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,r,o){switch(r){case"I":return Ke(rt.week,n);case"Io":return o.ordinalNumber(n,{unit:"week"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,o){return Oa(gd(n,o))}}const kd=[31,28,31,30,31,30,31,31,30,31,30,31],xd=[31,29,31,30,31,30,31,31,30,31,30,31];class bd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"subPriority",1);ve(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"d":return Ke(rt.date,n);case"do":return o.ordinalNumber(n,{unit:"date"});default:return et(r.length,n)}}validate(n,r){const o=n.getFullYear(),i=al(o),l=n.getMonth();return i?r>=1&&r<=xd[l]:r>=1&&r<=kd[l]}set(n,r,o){return n.setDate(o),n.setHours(0,0,0,0),n}}class wd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"subpriority",1);ve(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,r,o){switch(r){case"D":case"DD":return Ke(rt.dayOfYear,n);case"Do":return o.ordinalNumber(n,{unit:"date"});default:return et(r.length,n)}}validate(n,r){const o=n.getFullYear();return al(o)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,o){return n.setMonth(0,o),n.setHours(0,0,0,0),n}}function Fr(e,a,n){var m,c,f,h;const r=Ca(),o=(n==null?void 0:n.weekStartsOn)??((c=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:c.weekStartsOn)??r.weekStartsOn??((h=(f=r.locale)==null?void 0:f.options)==null?void 0:h.weekStartsOn)??0,i=Ce(e),l=i.getDay(),d=(a%7+7)%7,p=7-o,u=a<0||a>6?a-(l+p)%7:(d+p)%7-(l+p)%7;return Ot(i,u)}class vd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"E":case"EE":case"EEE":return o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return o.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Fr(n,o,i),n.setHours(0,0,0,0),n}}class Ed extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,r,o,i){const l=s=>{const d=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+d};switch(r){case"e":case"ee":return ot(et(r.length,n),l);case"eo":return ot(o.ordinalNumber(n,{unit:"day"}),l);case"eee":return o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"eeeee":return o.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Fr(n,o,i),n.setHours(0,0,0,0),n}}class Cd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,r,o,i){const l=s=>{const d=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+d};switch(r){case"c":case"cc":return ot(et(r.length,n),l);case"co":return ot(o.ordinalNumber(n,{unit:"day"}),l);case"ccc":return o.day(n,{width:"abbreviated",context:"standalone"})||o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"});case"ccccc":return o.day(n,{width:"narrow",context:"standalone"});case"cccccc":return o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return o.day(n,{width:"wide",context:"standalone"})||o.day(n,{width:"abbreviated",context:"standalone"})||o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Fr(n,o,i),n.setHours(0,0,0,0),n}}function Sd(e,a){const n=Ce(e),r=ed(n),o=a-r;return Ot(n,o)}class Md extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,r,o){const i=l=>l===0?7:l;switch(r){case"i":case"ii":return et(r.length,n);case"io":return o.ordinalNumber(n,{unit:"day"});case"iii":return ot(o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i);case"iiiii":return ot(o.day(n,{width:"narrow",context:"formatting"}),i);case"iiiiii":return ot(o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i);case"iiii":default:return ot(o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i)}}validate(n,r){return r>=1&&r<=7}set(n,r,o){return n=Sd(n,o),n.setHours(0,0,0,0),n}}class Bd extends Re{constructor(){super(...arguments);ve(this,"priority",80);ve(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,r,o){switch(r){case"a":case"aa":case"aaa":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Or(o),0,0,0),n}}class Ad extends Re{constructor(){super(...arguments);ve(this,"priority",80);ve(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,r,o){switch(r){case"b":case"bb":case"bbb":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Or(o),0,0,0),n}}class Vd extends Re{constructor(){super(...arguments);ve(this,"priority",80);ve(this,"incompatibleTokens",["a","b","t","T"])}parse(n,r,o){switch(r){case"B":case"BB":case"BBB":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Or(o),0,0,0),n}}class Nd extends Re{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,r,o){switch(r){case"h":return Ke(rt.hour12h,n);case"ho":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=12}set(n,r,o){const i=n.getHours()>=12;return i&&o<12?n.setHours(o+12,0,0,0):!i&&o===12?n.setHours(0,0,0,0):n.setHours(o,0,0,0),n}}class Dd extends Re{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,r,o){switch(r){case"H":return Ke(rt.hour23h,n);case"Ho":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,o){return n.setHours(o,0,0,0),n}}class _d extends Re{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,r,o){switch(r){case"K":return Ke(rt.hour11h,n);case"Ko":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.getHours()>=12&&o<12?n.setHours(o+12,0,0,0):n.setHours(o,0,0,0),n}}class Td extends Re{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,r,o){switch(r){case"k":return Ke(rt.hour24h,n);case"ko":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=24}set(n,r,o){const i=o<=24?o%24:o;return n.setHours(i,0,0,0),n}}class Pd extends Re{constructor(){super(...arguments);ve(this,"priority",60);ve(this,"incompatibleTokens",["t","T"])}parse(n,r,o){switch(r){case"m":return Ke(rt.minute,n);case"mo":return o.ordinalNumber(n,{unit:"minute"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,o){return n.setMinutes(o,0,0),n}}class Od extends Re{constructor(){super(...arguments);ve(this,"priority",50);ve(this,"incompatibleTokens",["t","T"])}parse(n,r,o){switch(r){case"s":return Ke(rt.second,n);case"so":return o.ordinalNumber(n,{unit:"second"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,o){return n.setSeconds(o,0),n}}class Fd extends Re{constructor(){super(...arguments);ve(this,"priority",30);ve(this,"incompatibleTokens",["t","T"])}parse(n,r){const o=i=>Math.trunc(i*Math.pow(10,-r.length+3));return ot(et(r.length,n),o)}set(n,r,o){return n.setMilliseconds(o),n}}class Ld extends Re{constructor(){super(...arguments);ve(this,"priority",10);ve(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return qt(jt.basicOptionalMinutes,n);case"XX":return qt(jt.basic,n);case"XXXX":return qt(jt.basicOptionalSeconds,n);case"XXXXX":return qt(jt.extendedOptionalSeconds,n);case"XXX":default:return qt(jt.extended,n)}}set(n,r,o){return r.timestampIsSet?n:He(n,n.getTime()-$n(n)-o)}}class $d extends Re{constructor(){super(...arguments);ve(this,"priority",10);ve(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return qt(jt.basicOptionalMinutes,n);case"xx":return qt(jt.basic,n);case"xxxx":return qt(jt.basicOptionalSeconds,n);case"xxxxx":return qt(jt.extendedOptionalSeconds,n);case"xxx":default:return qt(jt.extended,n)}}set(n,r,o){return r.timestampIsSet?n:He(n,n.getTime()-$n(n)-o)}}class Hd extends Re{constructor(){super(...arguments);ve(this,"priority",40);ve(this,"incompatibleTokens","*")}parse(n){return el(n)}set(n,r,o){return[He(n,o*1e3),{timestampIsSet:!0}]}}class Rd extends Re{constructor(){super(...arguments);ve(this,"priority",20);ve(this,"incompatibleTokens","*")}parse(n){return el(n)}set(n,r,o){return[He(n,o),{timestampIsSet:!0}]}}const zd={G:new od,y:new id,Y:new ld,R:new sd,u:new cd,Q:new dd,q:new ud,M:new md,L:new fd,w:new pd,I:new yd,d:new bd,D:new wd,E:new vd,e:new Ed,c:new Cd,i:new Md,a:new Bd,b:new Ad,B:new Vd,h:new Nd,H:new Dd,K:new _d,k:new Td,m:new Pd,s:new Od,S:new Fd,X:new Ld,x:new $d,t:new Hd,T:new Rd},Id=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Gd=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,jd=/^'([^]*?)'?$/,qd=/''/g,Wd=/\S/,Yd=/[a-zA-Z]/;function Lr(e,a,n,r){var y,b,x,w,k,B,V,M;const o=J2(),i=(r==null?void 0:r.locale)??o.locale??qi,l=(r==null?void 0:r.firstWeekContainsDate)??((b=(y=r==null?void 0:r.locale)==null?void 0:y.options)==null?void 0:b.firstWeekContainsDate)??o.firstWeekContainsDate??((w=(x=o.locale)==null?void 0:x.options)==null?void 0:w.firstWeekContainsDate)??1,s=(r==null?void 0:r.weekStartsOn)??((B=(k=r==null?void 0:r.locale)==null?void 0:k.options)==null?void 0:B.weekStartsOn)??o.weekStartsOn??((M=(V=o.locale)==null?void 0:V.options)==null?void 0:M.weekStartsOn)??0;if(a==="")return e===""?Ce(n):He(n,NaN);const d={firstWeekContainsDate:l,weekStartsOn:s,locale:i},p=[new rd],u=a.match(Gd).map(E=>{const N=E[0];if(N in Tr){const A=Tr[N];return A(E,i.formatLong)}return E}).join("").match(Id),m=[];for(let E of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&Ki(E)&&Pr(E,a,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Qi(E)&&Pr(E,a,e);const N=E[0],A=zd[N];if(A){const{incompatibleTokens:q}=A;if(Array.isArray(q)){const X=m.find(Y=>q.includes(Y.token)||Y.token===N);if(X)throw new RangeError(`The format string mustn't contain \`${X.fullToken}\` and \`${E}\` at the same time`)}else if(A.incompatibleTokens==="*"&&m.length>0)throw new RangeError(`The format string mustn't contain \`${E}\` and any other token at the same time`);m.push({token:N,fullToken:E});const U=A.run(e,E,i.match,d);if(!U)return He(n,NaN);p.push(U.setter),e=U.rest}else{if(N.match(Yd))throw new RangeError("Format string contains an unescaped latin alphabet character `"+N+"`");if(E==="''"?E="'":N==="'"&&(E=Ud(E)),e.indexOf(E)===0)e=e.slice(E.length);else return He(n,NaN)}}if(e.length>0&&Wd.test(e))return He(n,NaN);const c=p.map(E=>E.priority).sort((E,N)=>N-E).filter((E,N,A)=>A.indexOf(E)===N).map(E=>p.filter(N=>N.priority===E).sort((N,A)=>A.subPriority-N.subPriority)).map(E=>E[0]);let f=Ce(n);if(isNaN(f.getTime()))return He(n,NaN);const h={};for(const E of c){if(!E.validate(f,d))return He(n,NaN);const N=E.set(f,h,d);Array.isArray(N)?(f=N[0],Object.assign(h,N[1])):f=N}return He(n,f)}function Ud(e){return e.match(jd)[1].replace(qd,"'")}function nl(e,a){const n=Sa(e),r=Sa(a);return+n==+r}function Xd(e,a){return Ot(e,-a)}function rl(e,a){const n=Ce(e),r=n.getFullYear(),o=n.getDate(),i=He(e,0);i.setFullYear(r,a,15),i.setHours(0,0,0,0);const l=K2(i);return n.setMonth(a,Math.min(o,l)),n}function We(e,a){let n=Ce(e);return isNaN(+n)?He(e,NaN):(a.year!=null&&n.setFullYear(a.year),a.month!=null&&(n=rl(n,a.month)),a.date!=null&&n.setDate(a.date),a.hours!=null&&n.setHours(a.hours),a.minutes!=null&&n.setMinutes(a.minutes),a.seconds!=null&&n.setSeconds(a.seconds),a.milliseconds!=null&&n.setMilliseconds(a.milliseconds),n)}function Zd(e,a){const n=Ce(e);return n.setHours(a),n}function ol(e,a){const n=Ce(e);return n.setMilliseconds(a),n}function Qd(e,a){const n=Ce(e);return n.setMinutes(a),n}function il(e,a){const n=Ce(e);return n.setSeconds(a),n}function Wt(e,a){const n=Ce(e);return isNaN(+n)?He(e,NaN):(n.setFullYear(a),n)}function Ra(e,a){return Ft(e,-a)}function Kd(e,a){const{years:n=0,months:r=0,weeks:o=0,days:i=0,hours:l=0,minutes:s=0,seconds:d=0}=a,p=Ra(e,r+n*12),u=Xd(p,i+o*7),m=s+l*60,f=(d+m*60)*1e3;return He(e,u.getTime()-f)}function ll(e,a){return Ar(e,-a)}function za(){const e=t.useAttrs();return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[t.createElementVNode("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),t.createElementVNode("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),t.createElementVNode("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),t.createElementVNode("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}za.compatConfig={MODE:3};function sl(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),t.createElementVNode("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}sl.compatConfig={MODE:3};function $r(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}$r.compatConfig={MODE:3};function Hr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}Hr.compatConfig={MODE:3};function Rr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),t.createElementVNode("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Rr.compatConfig={MODE:3};function zr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}zr.compatConfig={MODE:3};function Ir(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Ir.compatConfig={MODE:3};const At=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),Gr=(e,a,n)=>jr(e,a,n)||pe(),Jd=(e,a,n)=>{const r=a.dateInTz?At(new Date(e),a.dateInTz):pe(e);return n?vt(r,!0):r},jr=(e,a,n)=>{if(!e)return null;const r=n?vt(pe(e),!0):pe(e);return a?a.exactMatch?Jd(e,a,n):At(r,a.timezone):r},e3=e=>{if(!e)return 0;const a=new Date,n=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(a.toLocaleString("en-US",{timeZone:e})),o=r.getTimezoneOffset()/60;return(+n-+r)/(1e3*60*60)-o};var $t=(e=>(e.month="month",e.year="year",e))($t||{}),Ba=(e=>(e.top="top",e.bottom="bottom",e))(Ba||{}),Aa=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(Aa||{}),yt=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(yt||{});const t3=["timestamp","date","iso"];var bt=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(bt||{}),Ue=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(Ue||{});function cl(e){return a=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${a}T00:00:00+00:00`)).slice(0,2)}function a3(e){return a=>Gt(At(new Date(`2017-01-0${a}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const n3=(e,a,n)=>{const r=[1,2,3,4,5,6,7];let o;if(e!==null)try{o=r.map(a3(e))}catch{o=r.map(cl(a))}else o=r.map(cl(a));const i=o.slice(0,n),l=o.slice(n+1,o.length);return[o[n]].concat(...l).concat(...i)},qr=(e,a,n)=>{const r=[];for(let o=+e[0];o<=+e[1];o++)r.push({value:+o,text:pl(o,a)});return n?r.reverse():r},dl=(e,a,n)=>{const r=[1,2,3,4,5,6,7,8,9,10,11,12].map(i=>{const l=i<10?`0${i}`:i;return new Date(`2017-${l}-01T00:00:00+00:00`)});if(e!==null)try{const i=n==="long"?"LLLL":"LLL";return r.map((l,s)=>{const d=Gt(At(l,"UTC"),i,{locale:e});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:s}})}catch{}const o=new Intl.DateTimeFormat(a,{month:n,timeZone:"UTC"});return r.map((i,l)=>{const s=o.format(i);return{text:s.charAt(0).toUpperCase()+s.substring(1),value:l}})},r3=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],ct=e=>{const a=t.unref(e);return a!=null&&a.$el?a==null?void 0:a.$el:a},o3=e=>({type:"dot",...e??{}}),ul=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,Wr={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},mt=e=>e,ml=e=>e===0?e:!e||isNaN(+e)?null:+e,fl=e=>e===null,hl=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},i3=e=>{const a=[],n=r=>r.filter(o=>o);for(let r=0;r<e.length;r+=3){const o=[e[r],e[r+1],e[r+2]];a.push(n(o))}return a},dn=(e,a,n)=>{const r=n!=null,o=a!=null;if(!r&&!o)return!1;const i=+n,l=+a;return r&&o?+e>i||+e<l:r?+e>i:o?+e<l:!1},Ia=(e,a)=>i3(e).map(n=>n.map(r=>{const{active:o,disabled:i,isBetween:l,highlighted:s}=a(r);return{...r,active:o,disabled:i,className:{dp__overlay_cell_active:o,dp__overlay_cell:!o,dp__overlay_cell_disabled:i,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:i&&o,dp__cell_in_between:l,"dp--highlighted":s}}})),ia=(e,a,n=!1)=>{e&&a.allowStopPropagation&&(n&&e.stopImmediatePropagation(),e.stopPropagation())},l3=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function s3(e,a){let n=[...document.querySelectorAll(l3())];n=n.filter(o=>!e.contains(o)||o.hasAttribute("data-datepicker-instance"));const r=n.indexOf(e);if(r>=0&&(a?r-1>=0:r+1<=n.length))return n[r+(a?-1:1)]}const Yr=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),pl=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),Ur=e=>Gt(e,"dd-MM-yyyy"),Xr=e=>Array.isArray(e),Rn=(e,a)=>a.get(Ur(e)),c3=(e,a)=>e?a?a instanceof Map?!!Rn(e,a):a(pe(e)):!1:!0,wt=(e,a,n=!1,r)=>{if(e.key===Ue.enter||e.key===Ue.space)return n&&e.preventDefault(),a();if(r)return r(e)},gl=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,yl=(e,a,n,r,o,i)=>{const l=Lr(e,a.slice(0,e.length),new Date,{locale:i});return rn(l)&&Hi(l)?r||o?l:We(l,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},d3=(e,a,n,r,o,i)=>{const l=Array.isArray(n)?n[0]:n;if(typeof a=="string")return yl(e,a,l,r,o,i);if(Array.isArray(a)){let s=null;for(const d of a)if(s=yl(e,d,l,r,o,i),s)break;return s}return typeof a=="function"?a(e):null},pe=e=>e?new Date(e):new Date,u3=(e,a,n)=>{if(a){const o=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getDate().toString().padStart(2,"0"),l=e.getHours().toString().padStart(2,"0"),s=e.getMinutes().toString().padStart(2,"0"),d=n?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${o}-${i}T${l}:${s}:${d}.000Z`}const r=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(r).toISOString()},vt=(e,a)=>{const n=pe(JSON.parse(JSON.stringify(e))),r=We(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return a?l2(r):r},la=(e,a,n,r)=>{let o=e?pe(e):pe();return(a||a===0)&&(o=Zd(o,+a)),(n||n===0)&&(o=Qd(o,+n)),(r||r===0)&&(o=il(o,+r)),ol(o,0)},tt=(e,a)=>!e||!a?!1:cn(vt(e),vt(a)),Fe=(e,a)=>!e||!a?!1:Ha(vt(e),vt(a)),it=(e,a)=>!e||!a?!1:$a(vt(e),vt(a)),zn=(e,a,n)=>e!=null&&e[0]&&e!=null&&e[1]?it(n,e[0])&&tt(n,e[1]):e!=null&&e[0]&&a?it(n,e[0])&&tt(n,a)||tt(n,e[0])&&it(n,a):!1,Ht=e=>{const a=We(new Date(e),{date:1});return vt(a)},Zr=(e,a,n)=>a&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(r=>r===a?[r,n]:[r,isNaN(+e[r])?void 0:+e[r]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},Va=e=>({hours:Zt(e),minutes:oa(e),seconds:La(e)}),kl=(e,a)=>{if(a){const n=Ve(pe(a));if(n>e)return 12;if(n===e)return Oe(pe(a))}},xl=(e,a)=>{if(a){const n=Ve(pe(a));return n<e?-1:n===e?Oe(pe(a)):void 0}},Ga=e=>{if(e)return Ve(pe(e))},bl=(e,a)=>{const n=it(e,a)?a:e,r=it(a,e)?a:e;return zi({start:n,end:r})},m3=e=>{const a=Ft(e,1);return{month:Oe(a),year:Ve(a)}},Qt=(e,a)=>{const n=Lt(e,{weekStartsOn:+a}),r=Gi(e,{weekStartsOn:+a});return[n,r]},wl=(e,a)=>{const n={hours:Zt(pe()),minutes:oa(pe()),seconds:a?La(pe()):0};return Object.assign(n,e)},sa=(e,a,n)=>[We(pe(e),{date:1}),We(pe(),{month:a,year:n,date:1})],Kt=(e,a,n)=>{let r=e?pe(e):pe();return(a||a===0)&&(r=rl(r,a)),n&&(r=Wt(r,n)),r},vl=(e,a,n,r,o)=>{if(!r||o&&!a||!o&&!n)return!1;const i=o?Ft(e,1):Ra(e,1),l=[Oe(i),Ve(i)];return o?!h3(...l,a):!f3(...l,n)},f3=(e,a,n)=>tt(...sa(n,e,a))||Fe(...sa(n,e,a)),h3=(e,a,n)=>it(...sa(n,e,a))||Fe(...sa(n,e,a)),El=(e,a,n,r,o,i,l)=>{if(typeof a=="function"&&!l)return a(e);const s=n?{locale:n}:void 0;return Array.isArray(e)?`${Gt(e[0],i,s)}${o&&!e[1]?"":r}${e[1]?Gt(e[1],i,s):""}`:Gt(e,i,s)},ja=e=>{if(e)return null;throw new Error(Wr.prop("partial-range"))},In=(e,a)=>{if(a)return e();throw new Error(Wr.prop("range"))},Qr=e=>Array.isArray(e)?rn(e[0])&&(e[1]?rn(e[1]):!0):e?rn(e):!1,p3=(e,a)=>We(a??pe(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),Kr=(e,a,n,r)=>{if(!e)return!0;if(r){const o=n==="max"?cn(e,a):$a(e,a),i={seconds:0,milliseconds:0};return o||Ha(We(e,i),We(a,i))}return n==="max"?e.getTime()<=a.getTime():e.getTime()>=a.getTime()},Jr=(e,a,n)=>e?p3(e,a):pe(n??a),Cl=(e,a,n,r,o)=>{if(Array.isArray(r)){const l=Jr(e,r[0],a),s=Jr(e,r[1],a);return Kr(r[0],l,n,!!a)&&Kr(r[1],s,n,!!a)&&o}const i=Jr(e,r,a);return Kr(r,i,n,!!a)&&o},eo=e=>We(pe(),Va(e)),g3=(e,a)=>e instanceof Map?Array.from(e.values()).filter(n=>Ve(pe(n))===a).map(n=>Oe(n)):[],Sl=(e,a,n)=>typeof e=="function"?e({month:a,year:n}):!!e.months.find(r=>r.month===a&&r.year===n),to=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),Ml=e=>Gt(e,"yyyy-MM-dd"),un=t.reactive({menuFocused:!1,shiftKeyInMenu:!1}),Bl=()=>{const e=n=>{un.menuFocused=n},a=n=>{un.shiftKeyInMenu!==n&&(un.shiftKeyInMenu=n)};return{control:t.computed(()=>({shiftKeyInMenu:un.shiftKeyInMenu,menuFocused:un.menuFocused})),setMenuFocused:e,setShiftKey:a}},Xe=t.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),ao=t.ref(null),Gn=t.ref(!1),no=t.ref(!1),ro=t.ref(!1),oo=t.ref(!1),kt=t.ref(0),lt=t.ref(0),ca=()=>{const e=t.computed(()=>Gn.value?[...Xe.selectionGrid,Xe.actionRow].filter(m=>m.length):no.value?[...Xe.timePicker[0],...Xe.timePicker[1],oo.value?[]:[ao.value],Xe.actionRow].filter(m=>m.length):ro.value?[...Xe.monthPicker,Xe.actionRow]:[Xe.monthYear,...Xe.calendar,Xe.time,Xe.actionRow].filter(m=>m.length)),a=m=>{kt.value=m?kt.value+1:kt.value-1;let c=null;e.value[lt.value]&&(c=e.value[lt.value][kt.value]),!c&&e.value[lt.value+(m?1:-1)]?(lt.value=lt.value+(m?1:-1),kt.value=m?0:e.value[lt.value].length-1):c||(kt.value=m?kt.value-1:kt.value+1)},n=m=>{lt.value===0&&!m||lt.value===e.value.length&&m||(lt.value=m?lt.value+1:lt.value-1,e.value[lt.value]?e.value[lt.value]&&!e.value[lt.value][kt.value]&&kt.value!==0&&(kt.value=e.value[lt.value].length-1):lt.value=m?lt.value-1:lt.value+1)},r=m=>{let c=null;e.value[lt.value]&&(c=e.value[lt.value][kt.value]),c?c.focus({preventScroll:!Gn.value}):kt.value=m?kt.value-1:kt.value+1},o=()=>{a(!0),r(!0)},i=()=>{a(!1),r(!1)},l=()=>{n(!1),r(!0)},s=()=>{n(!0),r(!0)},d=(m,c)=>{Xe[c]=m},p=(m,c)=>{Xe[c]=m},u=()=>{kt.value=0,lt.value=0};return{buildMatrix:d,buildMultiLevelMatrix:p,setTimePickerBackRef:m=>{ao.value=m},setSelectionGrid:m=>{Gn.value=m,u(),m||(Xe.selectionGrid=[])},setTimePicker:(m,c=!1)=>{no.value=m,oo.value=c,u(),m||(Xe.timePicker[0]=[],Xe.timePicker[1]=[])},setTimePickerElements:(m,c=0)=>{Xe.timePicker[c]=m},arrowRight:o,arrowLeft:i,arrowUp:l,arrowDown:s,clearArrowNav:()=>{Xe.monthYear=[],Xe.calendar=[],Xe.time=[],Xe.actionRow=[],Xe.selectionGrid=[],Xe.timePicker[0]=[],Xe.timePicker[1]=[],Gn.value=!1,no.value=!1,oo.value=!1,ro.value=!1,u(),ao.value=null},setMonthPicker:m=>{ro.value=m,u()},refSets:Xe}},Al=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),y3=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:a=>`Increment ${a}`,decrementValue:a=>`Decrement ${a}`,openTpOverlay:a=>`Open ${a} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:a=>`Month picker${a?" overlay":""}`,yearPicker:a=>`Year picker${a?" overlay":""}`,timeOverlay:a=>`${a} overlay`,...e??{}}),Vl=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,k3=e=>{const a=typeof e=="object"&&e,n={static:!0,solo:!1};if(!e)return{...n,count:Vl(!1)};const r=a?e:{},o=a?r.count??!0:e,i=Vl(o);return Object.assign(n,r,{count:i})},x3=(e,a,n)=>e||(typeof n=="string"?n:a),b3=e=>typeof e=="boolean"?e?Al({}):!1:Al(e),w3=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},v3=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),E3=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),C3=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},S3=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...e??{}}),M3=e=>{const a={dates:Array.isArray(e)?e.map(n=>pe(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...a,...e??{}}},B3=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},A3=e=>{const a={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...a,...e}:{enabled:e,...a}},V3=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},io=(e,a,n)=>new Map(e.map(r=>{const o=Gr(r,a,n);return[Ur(o),o]})),N3=(e,a)=>e.length?new Map(e.map(n=>{const r=Gr(n.date,a);return[Ur(r),n]})):null,D3=e=>{var a;return{minDate:jr(e.minDate,e.timezone,e.isSpecific),maxDate:jr(e.maxDate,e.timezone,e.isSpecific),disabledDates:Xr(e.disabledDates)?io(e.disabledDates,e.timezone,e.isSpecific):e.disabledDates,allowedDates:Xr(e.allowedDates)?io(e.allowedDates,e.timezone,e.isSpecific):null,highlight:typeof e.highlight=="object"&&Xr((a=e.highlight)==null?void 0:a.dates)?io(e.highlight.dates,e.timezone):e.highlight,markers:N3(e.markers,e.timezone)}},_3=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},T3=e=>({...Object.fromEntries(Object.keys(e).map(a=>{const n=a,r=e[n],o=typeof e[n]=="string"?{[r]:!0}:Object.fromEntries(r.map(i=>[i,!0]));return[a,o]}))}),Ze=e=>{const a=()=>{const M=e.enableSeconds?":ss":"",E=e.enableMinutes?":mm":"";return e.is24?`HH${E}${M}`:`hh${E}${M} aa`},n=()=>{var M;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((M=b.value)==null?void 0:M.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},r=M=>wl(M,e.enableSeconds),o=()=>B.value.enabled?e.startTime&&Array.isArray(e.startTime)?[r(e.startTime[0]),r(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?r(e.startTime):null,i=t.computed(()=>k3(e.multiCalendars)),l=t.computed(()=>o()),s=t.computed(()=>y3(e.ariaLabels)),d=t.computed(()=>v3(e.filters)),p=t.computed(()=>b3(e.transitions)),u=t.computed(()=>E3(e.actionRow)),m=t.computed(()=>x3(e.previewFormat,e.format,n())),c=t.computed(()=>w3(e.textInput)),f=t.computed(()=>C3(e.inline)),h=t.computed(()=>S3(e.config)),y=t.computed(()=>M3(e.highlight)),b=t.computed(()=>B3(e.weekNumbers)),x=t.computed(()=>V3(e.timezone)),w=t.computed(()=>_3(e.multiDates)),k=t.computed(()=>D3({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:y.value,markers:e.markers,timezone:x.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker})),B=t.computed(()=>A3(e.range)),V=t.computed(()=>T3(e.ui));return{defaultedTransitions:p,defaultedMultiCalendars:i,defaultedStartTime:l,defaultedAriaLabels:s,defaultedFilters:d,defaultedActionRow:u,defaultedPreviewFormat:m,defaultedTextInput:c,defaultedInline:f,defaultedConfig:h,defaultedHighlight:y,defaultedWeekNumbers:b,defaultedRange:B,propDates:k,defaultedTz:x,defaultedMultiDates:w,defaultedUI:V,getDefaultPattern:n,getDefaultStartTime:o}},P3=(e,a,n)=>{const r=t.ref(),{defaultedTextInput:o,defaultedRange:i,defaultedTz:l,defaultedMultiDates:s,getDefaultPattern:d}=Ze(a),p=t.ref(""),u=t.toRef(a,"format"),m=t.toRef(a,"formatLocale");t.watch(r,()=>{typeof a.onInternalModelChange=="function"&&e("internal-model-change",r.value,fe(!0))},{deep:!0}),t.watch(i,(H,ye)=>{H.enabled!==ye.enabled&&(r.value=null)}),t.watch(u,()=>{de()});const c=H=>l.value.timezone&&l.value.convertModel?At(H,l.value.timezone):H,f=H=>{if(l.value.timezone&&l.value.convertModel){const ye=e3(l.value.timezone);return e2(H,ye)}return H},h=(H,ye,Z=!1)=>El(H,a.format,a.formatLocale,o.value.rangeSeparator,a.modelAuto,ye??d(),Z),y=H=>H?a.modelType?D(H):{hours:Zt(H),minutes:oa(H),seconds:a.enableSeconds?La(H):0}:null,b=H=>a.modelType?D(H):{month:Oe(H),year:Ve(H)},x=H=>Array.isArray(H)?s.value.enabled?H.map(ye=>w(ye,Wt(pe(),ye))):In(()=>[Wt(pe(),H[0]),H[1]?Wt(pe(),H[1]):ja(i.value.partialRange)],i.value.enabled):Wt(pe(),+H),w=(H,ye)=>(typeof H=="string"||typeof H=="number")&&a.modelType?j(H):ye,k=H=>Array.isArray(H)?[w(H[0],la(null,+H[0].hours,+H[0].minutes,H[0].seconds)),w(H[1],la(null,+H[1].hours,+H[1].minutes,H[1].seconds))]:w(H,la(null,H.hours,H.minutes,H.seconds)),B=H=>{const ye=We(pe(),{date:1});return Array.isArray(H)?s.value.enabled?H.map(Z=>w(Z,Kt(ye,+Z.month,+Z.year))):In(()=>[w(H[0],Kt(ye,+H[0].month,+H[0].year)),w(H[1],H[1]?Kt(ye,+H[1].month,+H[1].year):ja(i.value.partialRange))],i.value.enabled):w(H,Kt(ye,+H.month,+H.year))},V=H=>{if(Array.isArray(H))return H.map(ye=>j(ye));throw new Error(Wr.dateArr("multi-dates"))},M=H=>{if(Array.isArray(H)&&i.value.enabled){const ye=H[0],Z=H[1];return[pe(Array.isArray(ye)?ye[0]:null),Array.isArray(Z)&&Z.length?pe(Z[0]):null]}return pe(H[0])},E=H=>a.modelAuto?Array.isArray(H)?[j(H[0]),j(H[1])]:a.autoApply?[j(H)]:[j(H),null]:Array.isArray(H)?In(()=>H[1]?[j(H[0]),H[1]?j(H[1]):ja(i.value.partialRange)]:[j(H[0])],i.value.enabled):j(H),N=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(ja(i.value.partialRange))},A=()=>{const H=r.value;return[D(H[0]),H[1]?D(H[1]):ja(i.value.partialRange)]},q=()=>r.value[1]?A():D(mt(r.value[0])),U=()=>(r.value||[]).map(H=>D(H)),X=(H=!1)=>(H||N(),a.modelAuto?q():s.value.enabled?U():Array.isArray(r.value)?In(()=>A(),i.value.enabled):D(mt(r.value))),Y=H=>!H||Array.isArray(H)&&!H.length?null:a.timePicker?k(mt(H)):a.monthPicker?B(mt(H)):a.yearPicker?x(mt(H)):s.value.enabled?V(mt(H)):a.weekPicker?M(mt(H)):E(mt(H)),C=H=>{const ye=Y(H);Qr(mt(ye))?(r.value=mt(ye),de()):(r.value=null,p.value="")},I=()=>{const H=ye=>Gt(ye,o.value.format);return`${H(r.value[0])} ${o.value.rangeSeparator} ${r.value[1]?H(r.value[1]):""}`},z=()=>n.value&&r.value?Array.isArray(r.value)?I():Gt(r.value,o.value.format):h(r.value),W=()=>r.value?s.value.enabled?r.value.map(H=>h(H)).join("; "):o.value.enabled&&typeof o.value.format=="string"?z():h(r.value):"",de=()=>{!a.format||typeof a.format=="string"||o.value.enabled&&typeof o.value.format=="string"?p.value=W():p.value=a.format(r.value)},j=H=>{if(a.utc){const ye=new Date(H);return a.utc==="preserve"?new Date(ye.getTime()+ye.getTimezoneOffset()*6e4):ye}return a.modelType?t3.includes(a.modelType)?c(new Date(H)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?c(Lr(H,d(),new Date,{locale:m.value})):c(Lr(H,a.modelType,new Date,{locale:m.value})):c(new Date(H))},D=H=>H?a.utc?u3(H,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+f(H):a.modelType==="iso"?f(H).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?h(f(H)):h(f(H),a.modelType,!0):f(H):"",ie=(H,ye=!1,Z=!1)=>{if(Z)return H;if(e("update:model-value",H),l.value.emitTimezone&&ye){const me=Array.isArray(H)?H.map(L=>At(mt(L),l.value.emitTimezone)):At(mt(H),l.value.emitTimezone);e("update:model-timezone-value",me)}},ne=H=>Array.isArray(r.value)?s.value.enabled?r.value.map(ye=>H(ye)):[H(r.value[0]),r.value[1]?H(r.value[1]):ja(i.value.partialRange)]:H(mt(r.value)),K=()=>{if(Array.isArray(r.value)){const H=Qt(r.value[0],a.weekStart),ye=r.value[1]?Qt(r.value[1],a.weekStart):[];return[H.map(Z=>pe(Z)),ye.map(Z=>pe(Z))]}return Qt(r.value,a.weekStart).map(H=>pe(H))},S=(H,ye)=>ie(mt(ne(H)),!1,ye),Q=H=>{const ye=K();return H?ye:e("update:model-value",K())},fe=(H=!1)=>(H||de(),a.monthPicker?S(b,H):a.timePicker?S(y,H):a.yearPicker?S(Ve,H):a.weekPicker?Q(H):ie(X(H),!0,H));return{inputValue:p,internalModelValue:r,checkBeforeEmit:()=>r.value?i.value.enabled?i.value.partialRange?r.value.length>=1:r.value.length===2:!!r.value:!1,parseExternalModelValue:C,formatInputValue:de,emitModelValue:fe}},O3=(e,a)=>{const{defaultedFilters:n,propDates:r}=Ze(e),{validateMonthYearInRange:o}=ua(e),i=(u,m)=>{let c=u;return n.value.months.includes(Oe(c))?(c=m?Ft(u,1):Ra(u,1),i(c,m)):c},l=(u,m)=>{let c=u;return n.value.years.includes(Ve(c))?(c=m?Ar(u,1):ll(u,1),l(c,m)):c},s=(u,m=!1)=>{const c=We(pe(),{month:e.month,year:e.year});let f=u?Ft(c,1):Ra(c,1);e.disableYearSelect&&(f=Wt(f,e.year));let h=Oe(f),y=Ve(f);n.value.months.includes(h)&&(f=i(f,u),h=Oe(f),y=Ve(f)),n.value.years.includes(y)&&(f=l(f,u),y=Ve(f)),o(h,y,u,e.preventMinMaxNavigation)&&d(h,y,m)},d=(u,m,c)=>{a("update-month-year",{month:u,year:m,fromNav:c})},p=t.computed(()=>u=>vl(We(pe(),{month:e.month,year:e.year}),r.value.maxDate,r.value.minDate,e.preventMinMaxNavigation,u));return{handleMonthYearChange:s,isDisabled:p,updateMonthYear:d}},jn={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},Rt={...jn,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},F3=["title"],L3=["disabled"],$3=t.defineComponent({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...Rt},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:a}){const n=a,r=e,{defaultedActionRow:o,defaultedPreviewFormat:i,defaultedMultiCalendars:l,defaultedTextInput:s,defaultedInline:d,defaultedRange:p,defaultedMultiDates:u}=Ze(r),{isTimeValid:m,isMonthValid:c}=ua(r),{buildMatrix:f}=ca(),h=t.ref(null),y=t.ref(null),b=t.ref(!1),x=t.ref({}),w=t.ref(null),k=t.ref(null);t.onMounted(()=>{r.arrowNavigation&&f([ct(h),ct(y)],"actionRow"),B(),window.addEventListener("resize",B)}),t.onUnmounted(()=>{window.removeEventListener("resize",B)});const B=()=>{b.value=!1,setTimeout(()=>{var C,I;const z=(C=w.value)==null?void 0:C.getBoundingClientRect(),W=(I=k.value)==null?void 0:I.getBoundingClientRect();z&&W&&(x.value.maxWidth=`${W.width-z.width-20}px`),b.value=!0},0)},V=t.computed(()=>p.value.enabled&&!p.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),M=t.computed(()=>!m.value(r.internalModelValue)||!c.value(r.internalModelValue)||!V.value),E=()=>{const C=i.value;return r.timePicker||r.monthPicker,C(mt(r.internalModelValue))},N=()=>{const C=r.internalModelValue;return l.value.count>0?`${A(C[0])} - ${A(C[1])}`:[A(C[0]),A(C[1])]},A=C=>El(C,i.value,r.formatLocale,s.value.rangeSeparator,r.modelAuto,i.value),q=t.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?N():u.value.enabled?r.internalModelValue.map(C=>`${A(C)}`):r.modelAuto?`${A(r.internalModelValue[0])}`:`${A(r.internalModelValue[0])} -`:A(r.internalModelValue):E()),U=()=>u.value.enabled?"; ":" - ",X=t.computed(()=>Array.isArray(q.value)?q.value.join(U()):q.value),Y=()=>{m.value(r.internalModelValue)&&c.value(r.internalModelValue)&&V.value?n("select-date"):n("invalid-select")};return(C,I)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"actionRowRef",ref:k,class:"dp__action_row"},[C.$slots["action-row"]?t.renderSlot(C.$slots,"action-row",t.normalizeProps(t.mergeProps({key:0},{internalModelValue:C.internalModelValue,disabled:M.value,selectDate:()=>C.$emit("select-date"),closePicker:()=>C.$emit("close-picker")}))):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.unref(o).showPreview?(t.openBlock(),t.createElementBlock("div",{key:0,class:"dp__selection_preview",title:X.value,style:t.normalizeStyle(x.value)},[C.$slots["action-preview"]&&b.value?t.renderSlot(C.$slots,"action-preview",{key:0,value:C.internalModelValue}):t.createCommentVNode("",!0),!C.$slots["action-preview"]&&b.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(X.value),1)],64)):t.createCommentVNode("",!0)],12,F3)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"actionBtnContainer",ref:w,class:"dp__action_buttons","data-dp-element":"action-row"},[C.$slots["action-buttons"]?t.renderSlot(C.$slots,"action-buttons",{key:0,value:C.internalModelValue}):t.createCommentVNode("",!0),C.$slots["action-buttons"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[!t.unref(d).enabled&&t.unref(o).showCancel?(t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"cancelButtonRef",ref:h,type:"button",class:"dp__action_button dp__action_cancel",onClick:I[0]||(I[0]=z=>C.$emit("close-picker")),onKeydown:I[1]||(I[1]=z=>t.unref(wt)(z,()=>C.$emit("close-picker")))},t.toDisplayString(C.cancelText),545)):t.createCommentVNode("",!0),t.unref(o).showNow?(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:I[2]||(I[2]=z=>C.$emit("select-now")),onKeydown:I[3]||(I[3]=z=>t.unref(wt)(z,()=>C.$emit("select-now")))},t.toDisplayString(C.nowButtonLabel),33)):t.createCommentVNode("",!0),t.unref(o).showSelect?(t.openBlock(),t.createElementBlock("button",{key:2,ref_key:"selectButtonRef",ref:y,type:"button",class:"dp__action_button dp__action_select",disabled:M.value,"data-test":"select-button",onKeydown:I[4]||(I[4]=z=>t.unref(wt)(z,()=>Y())),onClick:Y},t.toDisplayString(C.selectText),41,L3)):t.createCommentVNode("",!0)],64))],512)],64))],512))}}),H3=["role","aria-label","tabindex"],R3={class:"dp__selection_grid_header"},z3=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],I3=["aria-label"],mn=t.defineComponent({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:a,emit:n}){const{setSelectionGrid:r,buildMultiLevelMatrix:o,setMonthPicker:i}=ca(),l=n,s=e,{defaultedAriaLabels:d,defaultedTextInput:p,defaultedConfig:u}=Ze(s),{hideNavigationButtons:m}=Yn(),c=t.ref(!1),f=t.ref(null),h=t.ref(null),y=t.ref([]),b=t.ref(),x=t.ref(null),w=t.ref(0),k=t.ref(null);t.onBeforeUpdate(()=>{f.value=null}),t.onMounted(()=>{t.nextTick().then(()=>U()),s.noOverlayFocus||V(),B(!0)}),t.onUnmounted(()=>B(!1));const B=ne=>{var K;s.arrowNavigation&&((K=s.headerRefs)!=null&&K.length?i(ne):r(ne))},V=()=>{var ne;const K=ct(h);K&&(p.value.enabled||(f.value?(ne=f.value)==null||ne.focus({preventScroll:!0}):K.focus({preventScroll:!0})),c.value=K.clientHeight<K.scrollHeight)},M=t.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!s.useRelative,"dp--overlay-relative":s.useRelative})),E=t.computed(()=>s.useRelative?{height:`${s.height}px`,width:"var(--dp-menu-min-width)"}:void 0),N=t.computed(()=>({dp__overlay_col:!0})),A=t.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:c.value,dp__button_bottom:s.isLast})),q=t.computed(()=>{var ne,K;return{dp__overlay_container:!0,dp__container_flex:((ne=s.items)==null?void 0:ne.length)<=6,dp__container_block:((K=s.items)==null?void 0:K.length)>6}});t.watch(()=>s.items,()=>U(!1),{deep:!0});const U=(ne=!0)=>{t.nextTick().then(()=>{const K=ct(f),S=ct(h),Q=ct(x),fe=ct(k),H=Q?Q.getBoundingClientRect().height:0;S&&(S.getBoundingClientRect().height?w.value=S.getBoundingClientRect().height-H:w.value=u.value.modeHeight-H),K&&fe&&ne&&(fe.scrollTop=K.offsetTop-fe.offsetTop-(w.value/2-K.getBoundingClientRect().height)-H)})},X=ne=>{ne.disabled||l("selected",ne.value)},Y=()=>{l("toggle"),l("reset-flow")},C=()=>{s.escClose&&Y()},I=(ne,K,S,Q)=>{ne&&((K.active||K.value===s.focusValue)&&(f.value=ne),s.arrowNavigation&&(Array.isArray(y.value[S])?y.value[S][Q]=ne:y.value[S]=[ne],z()))},z=()=>{var ne,K;const S=(ne=s.headerRefs)!=null&&ne.length?[s.headerRefs].concat(y.value):y.value.concat([s.skipButtonRef?[]:[x.value]]);o(mt(S),(K=s.headerRefs)!=null&&K.length?"monthPicker":"selectionGrid")},W=ne=>{s.arrowNavigation||ia(ne,u.value,!0)},de=ne=>{b.value=ne,l("hover-value",ne)},j=()=>{if(Y(),!s.isLast){const ne=Yr(s.menuWrapRef??null,"action-row");if(ne){const K=hl(ne);K==null||K.focus()}}},D=ne=>{switch(ne.key){case Ue.esc:return C();case Ue.arrowLeft:return W(ne);case Ue.arrowRight:return W(ne);case Ue.arrowUp:return W(ne);case Ue.arrowDown:return W(ne);default:return}},ie=ne=>{if(ne.key===Ue.enter)return Y();if(ne.key===Ue.tab)return j()};return a({focusGrid:V}),(ne,K)=>{var S;return t.openBlock(),t.createElementBlock("div",{ref_key:"gridWrapRef",ref:h,class:t.normalizeClass(M.value),style:t.normalizeStyle(E.value),role:ne.useRelative?void 0:"dialog","aria-label":ne.overlayLabel,tabindex:ne.useRelative?void 0:"0",onKeydown:D,onClick:K[0]||(K[0]=t.withModifiers(()=>{},["prevent"]))},[t.createElementVNode("div",{ref_key:"containerRef",ref:k,class:t.normalizeClass(q.value),style:t.normalizeStyle({"--dp-overlay-height":`${w.value}px`}),role:"grid"},[t.createElementVNode("div",R3,[t.renderSlot(ne.$slots,"header")]),ne.$slots.overlay?t.renderSlot(ne.$slots,"overlay",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(ne.items,(Q,fe)=>(t.openBlock(),t.createElementBlock("div",{key:fe,class:t.normalizeClass(["dp__overlay_row",{dp__flex_row:ne.items.length>=3}]),role:"row"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Q,(H,ye)=>(t.openBlock(),t.createElementBlock("div",{key:H.value,ref_for:!0,ref:Z=>I(Z,H,fe,ye),role:"gridcell",class:t.normalizeClass(N.value),"aria-selected":H.active||void 0,"aria-disabled":H.disabled||void 0,tabindex:"0","data-test":H.text,onClick:t.withModifiers(Z=>X(H),["prevent"]),onKeydown:Z=>t.unref(wt)(Z,()=>X(H),!0),onMouseover:Z=>de(H.value)},[t.createElementVNode("div",{class:t.normalizeClass(H.className)},[ne.$slots.item?t.renderSlot(ne.$slots,"item",{key:0,item:H}):t.createCommentVNode("",!0),ne.$slots.item?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(H.text),1)],64))],2)],42,z3))),128))],2))),128))],6),ne.$slots["button-icon"]?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"toggleButton",ref:x,type:"button","aria-label":(S=t.unref(d))==null?void 0:S.toggleOverlay,class:t.normalizeClass(A.value),tabindex:"0",onClick:Y,onKeydown:ie},[t.renderSlot(ne.$slots,"button-icon")],42,I3)),[[t.vShow,!t.unref(m)(ne.hideNavigation,ne.type)]]):t.createCommentVNode("",!0)],46,H3)}}}),qn=t.defineComponent({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(e){const a=e,n=t.computed(()=>a.multiCalendars>0?[...Array(a.multiCalendars).keys()]:[0]),r=t.computed(()=>({dp__instance_calendar:a.multiCalendars>0}));return(o,i)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({dp__menu_inner:!o.stretch,"dp--menu--inner-stretched":o.stretch,dp__flex_display:o.multiCalendars>0,"dp--flex-display-collapsed":o.collapse})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.value,(l,s)=>(t.openBlock(),t.createElementBlock("div",{key:l,class:t.normalizeClass(r.value)},[t.renderSlot(o.$slots,"default",{instance:l,index:s})],2))),128))],2))}}),G3=["data-dp-element","aria-label","aria-disabled"],fn=t.defineComponent({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:a}){const n=a,r=t.ref(null);return t.onMounted(()=>n("set-ref",r)),(o,i)=>(t.openBlock(),t.createElementBlock("button",{ref_key:"elRef",ref:r,type:"button","data-dp-element":o.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":o.ariaLabel,"aria-disabled":o.disabled||void 0,onClick:i[0]||(i[0]=l=>o.$emit("activate")),onKeydown:i[1]||(i[1]=l=>t.unref(wt)(l,()=>o.$emit("activate"),!0))},[t.createElementVNode("span",{class:t.normalizeClass(["dp__inner_nav",{dp__inner_nav_disabled:o.disabled}])},[t.renderSlot(o.$slots,"default")],2)],40,G3))}}),j3=["aria-label","data-test"],Nl=t.defineComponent({__name:"YearModePicker",props:{...Rt,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:a}){const n=a,r=e,{showRightIcon:o,showLeftIcon:i}=Yn(),{defaultedConfig:l,defaultedMultiCalendars:s,defaultedAriaLabels:d,defaultedTransitions:p,defaultedUI:u}=Ze(r),{showTransition:m,transitionName:c}=hn(p),f=t.ref(!1),h=(x=!1,w)=>{f.value=!f.value,n("toggle-year-picker",{flow:x,show:w})},y=x=>{f.value=!1,n("year-select",x)},b=(x=!1)=>{n("handle-year",x)};return(x,w)=>{var k,B,V,M,E;return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{class:t.normalizeClass(["dp--year-mode-picker",{"dp--hidden-el":f.value}])},[t.unref(i)(t.unref(s),e.instance)?(t.openBlock(),t.createBlock(fn,{key:0,ref:"mpPrevIconRef","aria-label":(k=t.unref(d))==null?void 0:k.prevYear,disabled:e.isDisabled(!1),class:t.normalizeClass((B=t.unref(u))==null?void 0:B.navBtnPrev),onActivate:w[0]||(w[0]=N=>b(!1))},{default:t.withCtx(()=>[x.$slots["arrow-left"]?t.renderSlot(x.$slots,"arrow-left",{key:0}):t.createCommentVNode("",!0),x.$slots["arrow-left"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref($r),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.createElementVNode("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(V=t.unref(d))==null?void 0:V.openYearsOverlay}`,"data-test":`year-mode-btn-${e.instance}`,onClick:w[1]||(w[1]=()=>h(!1)),onKeydown:w[2]||(w[2]=t.withKeys(()=>h(!1),["enter"]))},[x.$slots.year?t.renderSlot(x.$slots,"year",{key:0,year:e.year}):t.createCommentVNode("",!0),x.$slots.year?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.year),1)],64))],40,j3),t.unref(o)(t.unref(s),e.instance)?(t.openBlock(),t.createBlock(fn,{key:1,ref:"mpNextIconRef","aria-label":(M=t.unref(d))==null?void 0:M.nextYear,disabled:e.isDisabled(!0),class:t.normalizeClass((E=t.unref(u))==null?void 0:E.navBtnNext),onActivate:w[3]||(w[3]=N=>b(!0))},{default:t.withCtx(()=>[x.$slots["arrow-right"]?t.renderSlot(x.$slots,"arrow-right",{key:0}):t.createCommentVNode("",!0),x.$slots["arrow-right"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Hr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0)],2),t.createVNode(t.Transition,{name:t.unref(c)(e.showYearPicker),css:t.unref(m)},{default:t.withCtx(()=>{var N,A;return[e.showYearPicker?(t.openBlock(),t.createBlock(mn,{key:0,items:e.items,"text-input":x.textInput,"esc-close":x.escClose,config:x.config,"is-last":x.autoApply&&!t.unref(l).keepActionRow,"hide-navigation":x.hideNavigation,"aria-labels":x.ariaLabels,"overlay-label":(A=(N=t.unref(d))==null?void 0:N.yearPicker)==null?void 0:A.call(N,!0),type:"year",onToggle:h,onSelected:w[4]||(w[4]=q=>y(q))},t.createSlots({"button-icon":t.withCtx(()=>[x.$slots["calendar-icon"]?t.renderSlot(x.$slots,"calendar-icon",{key:0}):t.createCommentVNode("",!0),x.$slots["calendar-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(za),{key:1}))]),_:2},[x.$slots["year-overlay-value"]?{name:"item",fn:t.withCtx(({item:q})=>[t.renderSlot(x.$slots,"year-overlay-value",{text:q.text,value:q.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):t.createCommentVNode("",!0)]}),_:3},8,["name","css"])],64)}}}),lo=(e,a,n)=>{if(a.value&&Array.isArray(a.value))if(a.value.some(r=>Fe(e,r))){const r=a.value.filter(o=>!Fe(o,e));a.value=r.length?r:null}else(n&&+n>a.value.length||!n)&&a.value.push(e);else a.value=[e]},so=(e,a,n)=>{let r=e.value?e.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?tt(a,r[0])?(r.unshift(a),n("range-start",r[0]),n("range-start",r[1])):(r[1]=a,n("range-end",a)):(r=[a],n("range-start",a)),r},Wn=(e,a,n,r)=>{e&&(e[0]&&e[1]&&n&&a("auto-apply"),e[0]&&!e[1]&&r&&n&&a("auto-apply"))},Dl=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(a=>At(pe(a),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=At(pe(e.value),e.timezone))},_l=(e,a,n,r)=>Array.isArray(a.value)&&(a.value.length===2||a.value.length===1&&r.value.partialRange)?r.value.fixedStart&&(it(e,a.value[0])||Fe(e,a.value[0]))?[a.value[0],e]:r.value.fixedEnd&&(tt(e,a.value[1])||Fe(e,a.value[1]))?[e,a.value[1]]:(n("invalid-fixed-range",e),a.value):[],Tl=({multiCalendars:e,range:a,highlight:n,propDates:r,calendars:o,modelValue:i,props:l,filters:s,year:d,month:p,emit:u})=>{const m=t.computed(()=>qr(l.yearRange,l.locale,l.reverseYears)),c=t.ref([!1]),f=t.computed(()=>(q,U)=>{const X=We(Ht(new Date),{month:p.value(q),year:d.value(q)}),Y=U?Ii(X):on(X);return vl(Y,r.value.maxDate,r.value.minDate,l.preventMinMaxNavigation,U)}),h=()=>Array.isArray(i.value)&&e.value.solo&&i.value[1],y=()=>{for(let q=0;q<e.value.count;q++)if(q===0)o.value[q]=o.value[0];else if(q===e.value.count-1&&h())o.value[q]={month:Oe(i.value[1]),year:Ve(i.value[1])};else{const U=We(pe(),o.value[q-1]);o.value[q]={month:Oe(U),year:Ve(Ar(U,1))}}},b=q=>{if(!q)return y();const U=We(pe(),o.value[q]);return o.value[0].year=Ve(ll(U,e.value.count-1)),y()},x=(q,U)=>{const X=o2(U,q);return a.value.showLastInRange&&X>1?U:q},w=q=>l.focusStartDate||e.value.solo?q[0]:q[1]?x(q[0],q[1]):q[0],k=()=>{if(i.value){const q=Array.isArray(i.value)?w(i.value):i.value;o.value[0]={month:Oe(q),year:Ve(q)}}},B=()=>{k(),e.value.count&&y()};t.watch(i,(q,U)=>{l.isTextInputDate&&JSON.stringify(q??{})!==JSON.stringify(U??{})&&B()}),t.onMounted(()=>{B()});const V=(q,U)=>{o.value[U].year=q,u("update-month-year",{instance:U,year:q,month:o.value[U].month}),e.value.count&&!e.value.solo&&b(U)},M=t.computed(()=>q=>Ia(m.value,U=>{var X;const Y=d.value(q)===U.value,C=dn(U.value,Ga(r.value.minDate),Ga(r.value.maxDate))||((X=s.value.years)==null?void 0:X.includes(d.value(q))),I=to(n.value,U.value);return{active:Y,disabled:C,highlighted:I}})),E=(q,U)=>{V(q,U),A(U)},N=(q,U=!1)=>{if(!f.value(q,U)){const X=U?d.value(q)+1:d.value(q)-1;V(X,q)}},A=(q,U=!1,X)=>{U||u("reset-flow"),X!==void 0?c.value[q]=X:c.value[q]=!c.value[q],c.value[q]?u("overlay-toggle",{open:!0,overlay:yt.year}):(u("overlay-closed"),u("overlay-toggle",{open:!1,overlay:yt.year}))};return{isDisabled:f,groupedYears:M,showYearPicker:c,selectYear:V,toggleYearPicker:A,handleYearSelect:E,handleYear:N}},q3=(e,a)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:o,defaultedConfig:i,defaultedRange:l,defaultedHighlight:s,propDates:d,defaultedTz:p,defaultedFilters:u,defaultedMultiDates:m}=Ze(e),c=()=>{e.isTextInputDate&&B(Ve(pe(e.startDate)),0)},{modelValue:f,year:h,month:y,calendars:b}=pn(e,a,c),x=t.computed(()=>dl(e.formatLocale,e.locale,e.monthNameFormat)),w=t.ref(null),{checkMinMaxRange:k}=ua(e),{selectYear:B,groupedYears:V,showYearPicker:M,toggleYearPicker:E,handleYearSelect:N,handleYear:A,isDisabled:q}=Tl({modelValue:f,multiCalendars:n,range:l,highlight:s,calendars:b,year:h,propDates:d,month:y,filters:u,props:e,emit:a});t.onMounted(()=>{e.startDate&&(f.value&&e.focusStartDate||!f.value)&&B(Ve(pe(e.startDate)),0)});const U=S=>S?{month:Oe(S),year:Ve(S)}:{month:null,year:null},X=()=>f.value?Array.isArray(f.value)?f.value.map(S=>U(S)):U(f.value):U(),Y=(S,Q)=>{const fe=b.value[S],H=X();return Array.isArray(H)?H.some(ye=>ye.year===(fe==null?void 0:fe.year)&&ye.month===Q):(fe==null?void 0:fe.year)===H.year&&Q===H.month},C=(S,Q,fe)=>{var H,ye;const Z=X();return Array.isArray(Z)?h.value(Q)===((H=Z[fe])==null?void 0:H.year)&&S===((ye=Z[fe])==null?void 0:ye.month):!1},I=(S,Q)=>{if(l.value.enabled){const fe=X();if(Array.isArray(f.value)&&Array.isArray(fe)){const H=C(S,Q,0)||C(S,Q,1),ye=Kt(Ht(pe()),S,h.value(Q));return zn(f.value,w.value,ye)&&!H}return!1}return!1},z=t.computed(()=>S=>Ia(x.value,Q=>{var fe;const H=Y(S,Q.value),ye=dn(Q.value,kl(h.value(S),d.value.minDate),xl(h.value(S),d.value.maxDate))||g3(d.value.disabledDates,h.value(S)).includes(Q.value)||((fe=u.value.months)==null?void 0:fe.includes(Q.value)),Z=I(Q.value,S),me=Sl(s.value,Q.value,h.value(S));return{active:H,disabled:ye,isBetween:Z,highlighted:me}})),W=(S,Q)=>Kt(Ht(pe()),S,h.value(Q)),de=(S,Q)=>{const fe=f.value?f.value:Ht(new Date);f.value=Kt(fe,S,h.value(Q)),a("auto-apply"),a("update-flow-step")},j=(S,Q)=>{const fe=W(S,Q);l.value.fixedEnd||l.value.fixedStart?f.value=_l(fe,f,a,l):f.value?k(fe,f.value)&&(f.value=so(f,W(S,Q),a)):f.value=[W(S,Q)],t.nextTick().then(()=>{Wn(f.value,a,e.autoApply,e.modelAuto)})},D=(S,Q)=>{lo(W(S,Q),f,m.value.limit),a("auto-apply",!0)},ie=(S,Q)=>(b.value[Q].month=S,K(Q,b.value[Q].year,S),m.value.enabled?D(S,Q):l.value.enabled?j(S,Q):de(S,Q)),ne=(S,Q)=>{B(S,Q),K(Q,S,null)},K=(S,Q,fe)=>{let H=fe;if(!H&&H!==0){const ye=X();H=Array.isArray(ye)?ye[S].month:ye.month}a("update-month-year",{instance:S,year:Q,month:H})};return{groupedMonths:z,groupedYears:V,year:h,isDisabled:q,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:o,defaultedConfig:i,showYearPicker:M,modelValue:f,presetDate:(S,Q)=>{Dl({value:S,modelValue:f,range:l.value.enabled,timezone:Q?void 0:p.value.timezone}),a("auto-apply")},setHoverDate:(S,Q)=>{w.value=W(S,Q)},selectMonth:ie,selectYear:ne,toggleYearPicker:E,handleYearSelect:N,handleYear:A,getModelMonthYear:X}},W3=t.defineComponent({compatConfig:{MODE:3},__name:"MonthPicker",props:{...Rt},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=t.useSlots(),i=Vt(o,"yearMode"),l=e;t.onMounted(()=>{l.shadow||r("mount",null)});const{groupedMonths:s,groupedYears:d,year:p,isDisabled:u,defaultedMultiCalendars:m,defaultedConfig:c,showYearPicker:f,modelValue:h,presetDate:y,setHoverDate:b,selectMonth:x,selectYear:w,toggleYearPicker:k,handleYearSelect:B,handleYear:V,getModelMonthYear:M}=q3(l,r);return a({getSidebarProps:()=>({modelValue:h,year:p,getModelMonthYear:M,selectMonth:x,selectYear:w,handleYear:V}),presetDate:y,toggleYearPicker:E=>k(0,E)}),(E,N)=>(t.openBlock(),t.createBlock(qn,{"multi-calendars":t.unref(m).count,collapse:E.collapse,stretch:""},{default:t.withCtx(({instance:A})=>[E.$slots["top-extra"]?t.renderSlot(E.$slots,"top-extra",{key:0,value:E.internalModelValue}):t.createCommentVNode("",!0),E.$slots["month-year"]?t.renderSlot(E.$slots,"month-year",t.normalizeProps(t.mergeProps({key:1},{year:t.unref(p),months:t.unref(s)(A),years:t.unref(d)(A),selectMonth:t.unref(x),selectYear:t.unref(w),instance:A}))):(t.openBlock(),t.createBlock(mn,{key:2,items:t.unref(s)(A),"arrow-navigation":E.arrowNavigation,"is-last":E.autoApply&&!t.unref(c).keepActionRow,"esc-close":E.escClose,height:t.unref(c).modeHeight,config:E.config,"no-overlay-focus":!!(E.noOverlayFocus||E.textInput),"use-relative":"",type:"month",onSelected:q=>t.unref(x)(q,A),onHoverValue:q=>t.unref(b)(q,A)},t.createSlots({header:t.withCtx(()=>[t.createVNode(Nl,t.mergeProps(E.$props,{items:t.unref(d)(A),instance:A,"show-year-picker":t.unref(f)[A],year:t.unref(p)(A),"is-disabled":q=>t.unref(u)(A,q),onHandleYear:q=>t.unref(V)(A,q),onYearSelect:q=>t.unref(B)(q,A),onToggleYearPicker:q=>t.unref(k)(A,q==null?void 0:q.flow,q==null?void 0:q.show)}),t.createSlots({_:2},[t.renderList(t.unref(i),(q,U)=>({name:q,fn:t.withCtx(X=>[t.renderSlot(E.$slots,q,t.normalizeProps(t.guardReactiveProps(X)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[E.$slots["month-overlay-value"]?{name:"item",fn:t.withCtx(({item:q})=>[t.renderSlot(E.$slots,"month-overlay-value",{text:q.text,value:q.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),Y3=(e,a)=>{const n=()=>{e.isTextInputDate&&(u.value=Ve(pe(e.startDate)))},{modelValue:r}=pn(e,a,n),o=t.ref(null),{defaultedHighlight:i,defaultedMultiDates:l,defaultedFilters:s,defaultedRange:d,propDates:p}=Ze(e),u=t.ref();t.onMounted(()=>{e.startDate&&(r.value&&e.focusStartDate||!r.value)&&(u.value=Ve(pe(e.startDate)))});const m=y=>Array.isArray(r.value)?r.value.some(b=>Ve(b)===y):r.value?Ve(r.value)===y:!1,c=y=>d.value.enabled&&Array.isArray(r.value)?zn(r.value,o.value,h(y)):!1,f=t.computed(()=>Ia(qr(e.yearRange,e.locale,e.reverseYears),y=>{const b=m(y.value),x=dn(y.value,Ga(p.value.minDate),Ga(p.value.maxDate))||s.value.years.includes(y.value),w=c(y.value)&&!b,k=to(i.value,y.value);return{active:b,disabled:x,isBetween:w,highlighted:k}})),h=y=>Wt(Ht(on(new Date)),y);return{groupedYears:f,modelValue:r,focusYear:u,setHoverValue:y=>{o.value=Wt(Ht(new Date),y)},selectYear:y=>{var b;if(a("update-month-year",{instance:0,year:y}),l.value.enabled)return r.value?Array.isArray(r.value)&&(((b=r.value)==null?void 0:b.map(x=>Ve(x))).includes(y)?r.value=r.value.filter(x=>Ve(x)!==y):r.value.push(Wt(vt(pe()),y))):r.value=[Wt(vt(on(pe())),y)],a("auto-apply",!0);d.value.enabled?(r.value=so(r,h(y),a),t.nextTick().then(()=>{Wn(r.value,a,e.autoApply,e.modelAuto)})):(r.value=h(y),a("auto-apply"))}}},U3=t.defineComponent({compatConfig:{MODE:3},__name:"YearPicker",props:{...Rt},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:a,emit:n}){const r=n,o=e,{groupedYears:i,modelValue:l,focusYear:s,selectYear:d,setHoverValue:p}=Y3(o,r),{defaultedConfig:u}=Ze(o);return a({getSidebarProps:()=>({modelValue:l,selectYear:d})}),(m,c)=>(t.openBlock(),t.createElementBlock("div",null,[m.$slots["top-extra"]?t.renderSlot(m.$slots,"top-extra",{key:0,value:m.internalModelValue}):t.createCommentVNode("",!0),m.$slots["month-year"]?t.renderSlot(m.$slots,"month-year",t.normalizeProps(t.mergeProps({key:1},{years:t.unref(i),selectYear:t.unref(d)}))):(t.openBlock(),t.createBlock(mn,{key:2,items:t.unref(i),"is-last":m.autoApply&&!t.unref(u).keepActionRow,height:t.unref(u).modeHeight,config:m.config,"no-overlay-focus":!!(m.noOverlayFocus||m.textInput),"focus-value":t.unref(s),type:"year","use-relative":"",onSelected:t.unref(d),onHoverValue:t.unref(p)},t.createSlots({_:2},[m.$slots["year-overlay-value"]?{name:"item",fn:t.withCtx(({item:f})=>[t.renderSlot(m.$slots,"year-overlay-value",{text:f.text,value:f.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),X3={key:0,class:"dp__time_input"},Z3=["data-test","aria-label","onKeydown","onClick","onMousedown"],Q3=["aria-label","disabled","data-test","onKeydown","onClick"],K3=["data-test","aria-label","onKeydown","onClick","onMousedown"],J3={key:0},e4=["aria-label"],t4=t.defineComponent({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Rt},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:a,emit:n}){const r=n,o=e,{setTimePickerElements:i,setTimePickerBackRef:l}=ca(),{defaultedAriaLabels:s,defaultedTransitions:d,defaultedFilters:p,defaultedConfig:u,defaultedRange:m}=Ze(o),{transitionName:c,showTransition:f}=hn(d),h=t.reactive({hours:!1,minutes:!1,seconds:!1}),y=t.ref("AM"),b=t.ref(null),x=t.ref([]),w=t.ref(),k=t.ref(!1);t.onMounted(()=>{r("mounted")});const B=g=>We(new Date,{hours:g.hours,minutes:g.minutes,seconds:o.enableSeconds?g.seconds:0,milliseconds:0}),V=t.computed(()=>g=>W(g,o[g])||E(g,o[g])),M=t.computed(()=>({hours:o.hours,minutes:o.minutes,seconds:o.seconds})),E=(g,_)=>m.value.enabled&&!m.value.disableTimeRangeValidation?!o.validateTime(g,_):!1,N=(g,_)=>{if(m.value.enabled&&!m.value.disableTimeRangeValidation){const F=_?+o[`${g}Increment`]:-+o[`${g}Increment`],O=o[g]+F;return!o.validateTime(g,O)}return!1},A=t.computed(()=>g=>!ne(+o[g]+ +o[`${g}Increment`],g)||N(g,!0)),q=t.computed(()=>g=>!ne(+o[g]-+o[`${g}Increment`],g)||N(g,!1)),U=(g,_)=>_i(We(pe(),g),_),X=(g,_)=>Kd(We(pe(),g),_),Y=t.computed(()=>({dp__time_col:!0,dp__time_col_block:!o.timePickerInline,dp__time_col_reg_block:!o.enableSeconds&&o.is24&&!o.timePickerInline,dp__time_col_reg_inline:!o.enableSeconds&&o.is24&&o.timePickerInline,dp__time_col_reg_with_button:!o.enableSeconds&&!o.is24,dp__time_col_sec:o.enableSeconds&&o.is24,dp__time_col_sec_with_button:o.enableSeconds&&!o.is24})),C=t.computed(()=>{const g=[{type:"hours"}];return o.enableMinutes&&g.push({type:"",separator:!0},{type:"minutes"}),o.enableSeconds&&g.push({type:"",separator:!0},{type:"seconds"}),g}),I=t.computed(()=>C.value.filter(g=>!g.separator)),z=t.computed(()=>g=>{if(g==="hours"){const _=ye(+o.hours);return{text:_<10?`0${_}`:`${_}`,value:_}}return{text:o[g]<10?`0${o[g]}`:`${o[g]}`,value:o[g]}}),W=(g,_)=>{var F;if(!o.disabledTimesConfig)return!1;const O=o.disabledTimesConfig(o.order,g==="hours"?_:void 0);return O[g]?!!((F=O[g])!=null&&F.includes(_)):!0},de=(g,_)=>_!=="hours"||y.value==="AM"?g:g+12,j=g=>{const _=o.is24?24:12,F=g==="hours"?_:60,O=+o[`${g}GridIncrement`],J=g==="hours"&&!o.is24?O:0,$=[];for(let te=J;te<F;te+=O)$.push({value:o.is24?te:de(te,g),text:te<10?`0${te}`:`${te}`});return g==="hours"&&!o.is24&&$.unshift({value:y.value==="PM"?12:0,text:"12"}),Ia($,te=>({active:!1,disabled:p.value.times[g].includes(te.value)||!ne(te.value,g)||W(g,te.value)||E(g,te.value)}))},D=g=>g>=0?g:59,ie=g=>g>=0?g:23,ne=(g,_)=>{const F=o.minTime?B(Zr(o.minTime)):null,O=o.maxTime?B(Zr(o.maxTime)):null,J=B(Zr(M.value,_,_==="minutes"||_==="seconds"?D(g):ie(g)));return F&&O?(cn(J,O)||Ha(J,O))&&($a(J,F)||Ha(J,F)):F?$a(J,F)||Ha(J,F):O?cn(J,O)||Ha(J,O):!0},K=g=>o[`no${g[0].toUpperCase()+g.slice(1)}Overlay`],S=g=>{K(g)||(h[g]=!h[g],h[g]?(k.value=!0,r("overlay-opened",g)):(k.value=!1,r("overlay-closed",g)))},Q=g=>g==="hours"?Zt:g==="minutes"?oa:La,fe=()=>{w.value&&clearTimeout(w.value)},H=(g,_=!0,F)=>{const O=_?U:X,J=_?+o[`${g}Increment`]:-+o[`${g}Increment`];ne(+o[g]+J,g)&&r(`update:${g}`,Q(g)(O({[g]:+o[g]},{[g]:+o[`${g}Increment`]}))),!(F!=null&&F.keyboard)&&u.value.timeArrowHoldThreshold&&(w.value=setTimeout(()=>{H(g,_)},u.value.timeArrowHoldThreshold))},ye=g=>o.is24?g:(g>=12?y.value="PM":y.value="AM",r3(g)),Z=()=>{y.value==="PM"?(y.value="AM",r("update:hours",o.hours-12)):(y.value="PM",r("update:hours",o.hours+12)),r("am-pm-change",y.value)},me=g=>{h[g]=!0},L=(g,_,F)=>{if(g&&o.arrowNavigation){Array.isArray(x.value[_])?x.value[_][F]=g:x.value[_]=[g];const O=x.value.reduce((J,$)=>$.map((te,ce)=>[...J[ce]||[],$[ce]]),[]);l(o.closeTimePickerBtn),b.value&&(O[1]=O[1].concat(b.value)),i(O,o.order)}},v=(g,_)=>(S(g),r(`update:${g}`,_));return a({openChildCmp:me}),(g,_)=>{var F;return g.disabled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",X3,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C.value,(O,J)=>{var $,te,ce;return t.openBlock(),t.createElementBlock("div",{key:J,class:t.normalizeClass(Y.value)},[O.separator?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[k.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(":")],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{ref_for:!0,ref:ge=>L(ge,J,0),type:"button",class:t.normalizeClass({dp__btn:!0,dp__inc_dec_button:!g.timePickerInline,dp__inc_dec_button_inline:g.timePickerInline,dp__tp_inline_btn_top:g.timePickerInline,dp__inc_dec_button_disabled:A.value(O.type),"dp--hidden-el":k.value}),"data-test":`${O.type}-time-inc-btn-${o.order}`,"aria-label":($=t.unref(s))==null?void 0:$.incrementValue(O.type),tabindex:"0",onKeydown:ge=>t.unref(wt)(ge,()=>H(O.type,!0,{keyboard:!0}),!0),onClick:ge=>t.unref(u).timeArrowHoldThreshold?void 0:H(O.type,!0),onMousedown:ge=>t.unref(u).timeArrowHoldThreshold?H(O.type,!0):void 0,onMouseup:fe},[o.timePickerInline?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[g.$slots["tp-inline-arrow-up"]?t.renderSlot(g.$slots,"tp-inline-arrow-up",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_[2]||(_[2]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),_[3]||(_[3]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[g.$slots["arrow-up"]?t.renderSlot(g.$slots,"arrow-up",{key:0}):t.createCommentVNode("",!0),g.$slots["arrow-up"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(zr),{key:1}))],64))],42,Z3),t.createElementVNode("button",{ref_for:!0,ref:ge=>L(ge,J,1),type:"button","aria-label":`${z.value(O.type).text}-${(te=t.unref(s))==null?void 0:te.openTpOverlay(O.type)}`,class:t.normalizeClass({dp__time_display:!0,dp__time_display_block:!g.timePickerInline,dp__time_display_inline:g.timePickerInline,"dp--time-invalid":V.value(O.type),"dp--time-overlay-btn":!V.value(O.type),"dp--hidden-el":k.value}),disabled:K(O.type),tabindex:"0","data-test":`${O.type}-toggle-overlay-btn-${o.order}`,onKeydown:ge=>t.unref(wt)(ge,()=>S(O.type),!0),onClick:ge=>S(O.type)},[g.$slots[O.type]?t.renderSlot(g.$slots,O.type,{key:0,text:z.value(O.type).text,value:z.value(O.type).value}):t.createCommentVNode("",!0),g.$slots[O.type]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(z.value(O.type).text),1)],64))],42,Q3),t.createElementVNode("button",{ref_for:!0,ref:ge=>L(ge,J,2),type:"button",class:t.normalizeClass({dp__btn:!0,dp__inc_dec_button:!g.timePickerInline,dp__inc_dec_button_inline:g.timePickerInline,dp__tp_inline_btn_bottom:g.timePickerInline,dp__inc_dec_button_disabled:q.value(O.type),"dp--hidden-el":k.value}),"data-test":`${O.type}-time-dec-btn-${o.order}`,"aria-label":(ce=t.unref(s))==null?void 0:ce.decrementValue(O.type),tabindex:"0",onKeydown:ge=>t.unref(wt)(ge,()=>H(O.type,!1,{keyboard:!0}),!0),onClick:ge=>t.unref(u).timeArrowHoldThreshold?void 0:H(O.type,!1),onMousedown:ge=>t.unref(u).timeArrowHoldThreshold?H(O.type,!1):void 0,onMouseup:fe},[o.timePickerInline?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[g.$slots["tp-inline-arrow-down"]?t.renderSlot(g.$slots,"tp-inline-arrow-down",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_[4]||(_[4]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),_[5]||(_[5]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[g.$slots["arrow-down"]?t.renderSlot(g.$slots,"arrow-down",{key:0}):t.createCommentVNode("",!0),g.$slots["arrow-down"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Ir),{key:1}))],64))],42,K3)],64))],2)}),128)),g.is24?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",J3,[g.$slots["am-pm-button"]?t.renderSlot(g.$slots,"am-pm-button",{key:0,toggle:Z,value:y.value}):t.createCommentVNode("",!0),g.$slots["am-pm-button"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("button",{key:1,ref_key:"amPmButton",ref:b,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(F=t.unref(s))==null?void 0:F.amPmButton,tabindex:"0",onClick:Z,onKeydown:_[0]||(_[0]=O=>t.unref(wt)(O,()=>Z(),!0))},t.toDisplayString(y.value),41,e4))])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(I.value,(O,J)=>(t.openBlock(),t.createBlock(t.Transition,{key:J,name:t.unref(c)(h[O.type]),css:t.unref(f)},{default:t.withCtx(()=>{var $,te;return[h[O.type]?(t.openBlock(),t.createBlock(mn,{key:0,items:j(O.type),"is-last":g.autoApply&&!t.unref(u).keepActionRow,"esc-close":g.escClose,type:O.type,"text-input":g.textInput,config:g.config,"arrow-navigation":g.arrowNavigation,"aria-labels":g.ariaLabels,"overlay-label":(te=($=t.unref(s)).timeOverlay)==null?void 0:te.call($,O.type),onSelected:ce=>v(O.type,ce),onToggle:ce=>S(O.type),onResetFlow:_[1]||(_[1]=ce=>g.$emit("reset-flow"))},t.createSlots({"button-icon":t.withCtx(()=>[g.$slots["clock-icon"]?t.renderSlot(g.$slots,"clock-icon",{key:0}):t.createCommentVNode("",!0),g.$slots["clock-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(g.timePickerInline?t.unref(za):t.unref(Rr)),{key:1}))]),_:2},[g.$slots[`${O.type}-overlay-value`]?{name:"item",fn:t.withCtx(({item:ce})=>[t.renderSlot(g.$slots,`${O.type}-overlay-value`,{text:ce.text,value:ce.value})]),key:"0"}:void 0,g.$slots[`${O.type}-overlay-header`]?{name:"header",fn:t.withCtx(()=>[t.renderSlot(g.$slots,`${O.type}-overlay-header`,{toggle:()=>S(O.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):t.createCommentVNode("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),a4={class:"dp--tp-wrap"},n4=["aria-label","tabindex"],r4=["role","aria-label","tabindex"],o4=["aria-label"],Pl=t.defineComponent({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Rt},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:a,emit:n}){const r=n,o=e,{buildMatrix:i,setTimePicker:l}=ca(),s=t.useSlots(),{defaultedTransitions:d,defaultedAriaLabels:p,defaultedTextInput:u,defaultedConfig:m,defaultedRange:c}=Ze(o),{transitionName:f,showTransition:h}=hn(d),{hideNavigationButtons:y}=Yn(),b=t.ref(null),x=t.ref(null),w=t.ref([]),k=t.ref(null),B=t.ref(!1);t.onMounted(()=>{r("mount"),!o.timePicker&&o.arrowNavigation?i([ct(b.value)],"time"):l(!0,o.timePicker)});const V=t.computed(()=>c.value.enabled&&o.modelAuto?ul(o.internalModelValue):!0),M=t.ref(!1),E=j=>({hours:Array.isArray(o.hours)?o.hours[j]:o.hours,minutes:Array.isArray(o.minutes)?o.minutes[j]:o.minutes,seconds:Array.isArray(o.seconds)?o.seconds[j]:o.seconds}),N=t.computed(()=>{const j=[];if(c.value.enabled)for(let D=0;D<2;D++)j.push(E(D));else j.push(E(0));return j}),A=(j,D=!1,ie="")=>{D||r("reset-flow"),M.value=j,r(j?"overlay-opened":"overlay-closed",yt.time),o.arrowNavigation&&l(j),t.nextTick(()=>{ie!==""&&w.value[0]&&w.value[0].openChildCmp(ie)})},q=t.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:o.autoApply&&!m.value.keepActionRow})),U=Vt(s,"timePicker"),X=(j,D,ie)=>c.value.enabled?D===0?[j,N.value[1][ie]]:[N.value[0][ie],j]:j,Y=j=>{r("update:hours",j)},C=j=>{r("update:minutes",j)},I=j=>{r("update:seconds",j)},z=()=>{if(k.value&&!u.value.enabled&&!o.noOverlayFocus){const j=hl(k.value);j&&j.focus({preventScroll:!0})}},W=j=>{B.value=!1,r("overlay-closed",j)},de=j=>{B.value=!0,r("overlay-opened",j)};return a({toggleTimePicker:A}),(j,D)=>{var ie;return t.openBlock(),t.createElementBlock("div",a4,[!j.timePicker&&!j.timePickerInline?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:b,type:"button",class:t.normalizeClass({...q.value,"dp--hidden-el":M.value}),"aria-label":(ie=t.unref(p))==null?void 0:ie.openTimePicker,tabindex:j.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:D[0]||(D[0]=ne=>t.unref(wt)(ne,()=>A(!0))),onClick:D[1]||(D[1]=ne=>A(!0))},[j.$slots["clock-icon"]?t.renderSlot(j.$slots,"clock-icon",{key:0}):t.createCommentVNode("",!0),j.$slots["clock-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Rr),{key:1}))],42,n4)),[[t.vShow,!t.unref(y)(j.hideNavigation,"time")]]):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:t.unref(f)(M.value),css:t.unref(h)&&!j.timePickerInline},{default:t.withCtx(()=>{var ne,K;return[M.value||j.timePicker||j.timePickerInline?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:k,role:j.timePickerInline?void 0:"dialog",class:t.normalizeClass({dp__overlay:!j.timePickerInline,"dp--overlay-absolute":!o.timePicker&&!j.timePickerInline,"dp--overlay-relative":o.timePicker}),style:t.normalizeStyle(j.timePicker?{height:`${t.unref(m).modeHeight}px`}:void 0),"aria-label":(ne=t.unref(p))==null?void 0:ne.timePicker,tabindex:j.timePickerInline?void 0:0},[t.createElementVNode("div",{class:t.normalizeClass(j.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[j.$slots["time-picker-overlay"]?t.renderSlot(j.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:Y,setMinutes:C,setSeconds:I}):t.createCommentVNode("",!0),j.$slots["time-picker-overlay"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(j.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(N.value,(S,Q)=>t.withDirectives((t.openBlock(),t.createBlock(t4,t.mergeProps({key:Q,ref_for:!0},{...j.$props,order:Q,hours:S.hours,minutes:S.minutes,seconds:S.seconds,closeTimePickerBtn:x.value,disabledTimesConfig:e.disabledTimesConfig,disabled:Q===0?t.unref(c).fixedStart:t.unref(c).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:w,"validate-time":(fe,H)=>e.validateTime(fe,X(H,Q,fe)),"onUpdate:hours":fe=>Y(X(fe,Q,"hours")),"onUpdate:minutes":fe=>C(X(fe,Q,"minutes")),"onUpdate:seconds":fe=>I(X(fe,Q,"seconds")),onMounted:z,onOverlayClosed:W,onOverlayOpened:de,onAmPmChange:D[2]||(D[2]=fe=>j.$emit("am-pm-change",fe))}),t.createSlots({_:2},[t.renderList(t.unref(U),(fe,H)=>({name:fe,fn:t.withCtx(ye=>[t.renderSlot(j.$slots,fe,t.mergeProps({ref_for:!0},ye))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[t.vShow,Q===0?!0:V.value]])),128))],2)),!j.timePicker&&!j.timePickerInline?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:2,ref_key:"closeTimePickerBtn",ref:x,type:"button",class:t.normalizeClass({...q.value,"dp--hidden-el":B.value}),"aria-label":(K=t.unref(p))==null?void 0:K.closeTimePicker,tabindex:"0",onKeydown:D[3]||(D[3]=S=>t.unref(wt)(S,()=>A(!1))),onClick:D[4]||(D[4]=S=>A(!1))},[j.$slots["calendar-icon"]?t.renderSlot(j.$slots,"calendar-icon",{key:0}):t.createCommentVNode("",!0),j.$slots["calendar-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(za),{key:1}))],42,o4)),[[t.vShow,!t.unref(y)(j.hideNavigation,"time")]]):t.createCommentVNode("",!0)],2)],14,r4)):t.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),Ol=(e,a,n,r)=>{const{defaultedRange:o}=Ze(e),i=(k,B)=>Array.isArray(a[k])?a[k][B]:a[k],l=k=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[k]:a.seconds:0,s=(k,B)=>k?B!==void 0?la(k,i("hours",B),i("minutes",B),l(B)):la(k,a.hours,a.minutes,l()):il(pe(),l(B)),d=(k,B)=>{a[k]=B},p=t.computed(()=>e.modelAuto&&o.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:o.value.enabled),u=(k,B)=>{const V=Object.fromEntries(Object.keys(a).map(M=>M===k?[M,B]:[M,a[M]].slice()));if(p.value&&!o.value.disableTimeRangeValidation){const M=N=>n.value?la(n.value[N],V.hours[N],V.minutes[N],V.seconds[N]):null,E=N=>ol(n.value[N],0);return!(Fe(M(0),M(1))&&($a(M(0),E(1))||cn(M(1),E(0))))}return!0},m=(k,B)=>{u(k,B)&&(d(k,B),r&&r())},c=k=>{m("hours",k)},f=k=>{m("minutes",k)},h=k=>{m("seconds",k)},y=(k,B,V,M)=>{B&&c(k),!B&&!V&&f(k),V&&h(k),n.value&&M(n.value)},b=k=>{if(k){const B=Array.isArray(k),V=B?[+k[0].hours,+k[1].hours]:+k.hours,M=B?[+k[0].minutes,+k[1].minutes]:+k.minutes,E=B?[+k[0].seconds,+k[1].seconds]:+k.seconds;d("hours",V),d("minutes",M),e.enableSeconds&&d("seconds",E)}},x=(k,B)=>{const V={hours:Array.isArray(a.hours)?a.hours[k]:a.hours,disabledArr:[]};return(B||B===0)&&(V.hours=B),Array.isArray(e.disabledTimes)&&(V.disabledArr=o.value.enabled&&Array.isArray(e.disabledTimes[k])?e.disabledTimes[k]:e.disabledTimes),V},w=t.computed(()=>(k,B)=>{var V;if(Array.isArray(e.disabledTimes)){const{disabledArr:M,hours:E}=x(k,B),N=M.filter(A=>+A.hours===E);return((V=N[0])==null?void 0:V.minutes)==="*"?{hours:[E],minutes:void 0,seconds:void 0}:{hours:[],minutes:(N==null?void 0:N.map(A=>+A.minutes))??[],seconds:(N==null?void 0:N.map(A=>A.seconds?+A.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:d,updateHours:c,updateMinutes:f,updateSeconds:h,getSetDateTime:s,updateTimeValues:y,getSecondsValue:l,assignStartTime:b,validateTime:u,disabledTimesConfig:w}},i4=(e,a)=>{const n=()=>{e.isTextInputDate&&B()},{modelValue:r,time:o}=pn(e,a,n),{defaultedStartTime:i,defaultedRange:l,defaultedTz:s}=Ze(e),{updateTimeValues:d,getSetDateTime:p,setTime:u,assignStartTime:m,disabledTimesConfig:c,validateTime:f}=Ol(e,o,r,h);function h(){a("update-flow-step")}const y=M=>{const{hours:E,minutes:N,seconds:A}=M;return{hours:+E,minutes:+N,seconds:A?+A:0}},b=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const E=y(e.startTime[0]),N=y(e.startTime[1]);return[We(pe(),E),We(pe(),N)]}const M=y(e.startTime);return We(pe(),M)}return l.value.enabled?[null,null]:null},x=()=>{if(l.value.enabled){const[M,E]=b();r.value=[At(p(M,0),s.value.timezone),At(p(E,1),s.value.timezone)]}else r.value=At(p(b()),s.value.timezone)},w=M=>Array.isArray(M)?[Va(pe(M[0])),Va(pe(M[1]))]:[Va(M??pe())],k=(M,E,N)=>{u("hours",M),u("minutes",E),u("seconds",e.enableSeconds?N:0)},B=()=>{const[M,E]=w(r.value);return l.value.enabled?k([M.hours,E.hours],[M.minutes,E.minutes],[M.seconds,E.seconds]):k(M.hours,M.minutes,M.seconds)};t.onMounted(()=>{if(!e.shadow)return m(i.value),r.value?B():x()});const V=()=>{Array.isArray(r.value)?r.value=r.value.map((M,E)=>M&&p(M,E)):r.value=p(r.value),a("time-update")};return{modelValue:r,time:o,disabledTimesConfig:c,updateTime:(M,E=!0,N=!1)=>{d(M,E,N,V)},validateTime:f}},l4=t.defineComponent({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...Rt},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.useSlots(),l=Vt(i,"timePicker"),s=t.ref(null),{time:d,modelValue:p,disabledTimesConfig:u,updateTime:m,validateTime:c}=i4(o,r);return t.onMounted(()=>{o.shadow||r("mount",null)}),a({getSidebarProps:()=>({modelValue:p,time:d,updateTime:m}),toggleTimePicker:(f,h=!1,y="")=>{var b;(b=s.value)==null||b.toggleTimePicker(f,h,y)}}),(f,h)=>(t.openBlock(),t.createBlock(qn,{"multi-calendars":0,stretch:""},{default:t.withCtx(()=>[t.createVNode(Pl,t.mergeProps({ref_key:"tpRef",ref:s},f.$props,{hours:t.unref(d).hours,minutes:t.unref(d).minutes,seconds:t.unref(d).seconds,"internal-model-value":f.internalModelValue,"disabled-times-config":t.unref(u),"validate-time":t.unref(c),"onUpdate:hours":h[0]||(h[0]=y=>t.unref(m)(y)),"onUpdate:minutes":h[1]||(h[1]=y=>t.unref(m)(y,!1)),"onUpdate:seconds":h[2]||(h[2]=y=>t.unref(m)(y,!1,!0)),onAmPmChange:h[3]||(h[3]=y=>f.$emit("am-pm-change",y)),onResetFlow:h[4]||(h[4]=y=>f.$emit("reset-flow")),onOverlayClosed:h[5]||(h[5]=y=>f.$emit("overlay-toggle",{open:!1,overlay:y})),onOverlayOpened:h[6]||(h[6]=y=>f.$emit("overlay-toggle",{open:!0,overlay:y}))}),t.createSlots({_:2},[t.renderList(t.unref(l),(y,b)=>({name:y,fn:t.withCtx(x=>[t.renderSlot(f.$slots,y,t.normalizeProps(t.guardReactiveProps(x)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),s4={class:"dp--header-wrap"},c4={key:0,class:"dp__month_year_wrap"},d4={key:0},u4={class:"dp__month_year_wrap"},m4=["data-dp-element","aria-label","data-test","onClick","onKeydown"],f4=t.defineComponent({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...Rt},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:a,emit:n}){const r=n,o=e,{defaultedTransitions:i,defaultedAriaLabels:l,defaultedMultiCalendars:s,defaultedFilters:d,defaultedConfig:p,defaultedHighlight:u,propDates:m,defaultedUI:c}=Ze(o),{transitionName:f,showTransition:h}=hn(i),{buildMatrix:y}=ca(),{handleMonthYearChange:b,isDisabled:x,updateMonthYear:w}=O3(o,r),{showLeftIcon:k,showRightIcon:B}=Yn(),V=t.ref(!1),M=t.ref(!1),E=t.ref(!1),N=t.ref([null,null,null,null]);t.onMounted(()=>{r("mount")});const A=K=>({get:()=>o[K],set:S=>{const Q=K===$t.month?$t.year:$t.month;r("update-month-year",{[K]:S,[Q]:o[Q]}),K===$t.month?W(!0):de(!0)}}),q=t.computed(A($t.month)),U=t.computed(A($t.year)),X=t.computed(()=>K=>({month:o.month,year:o.year,items:K===$t.month?o.months:o.years,instance:o.instance,updateMonthYear:w,toggle:K===$t.month?W:de})),Y=t.computed(()=>o.months.find(S=>S.value===o.month)||{text:"",value:0}),C=t.computed(()=>Ia(o.months,K=>{const S=o.month===K.value,Q=dn(K.value,kl(o.year,m.value.minDate),xl(o.year,m.value.maxDate))||d.value.months.includes(K.value),fe=Sl(u.value,K.value,o.year);return{active:S,disabled:Q,highlighted:fe}})),I=t.computed(()=>Ia(o.years,K=>{const S=o.year===K.value,Q=dn(K.value,Ga(m.value.minDate),Ga(m.value.maxDate))||d.value.years.includes(K.value),fe=to(u.value,K.value);return{active:S,disabled:Q,highlighted:fe}})),z=(K,S,Q)=>{Q!==void 0?K.value=Q:K.value=!K.value,K.value?(E.value=!0,r("overlay-opened",S)):(E.value=!1,r("overlay-closed",S))},W=(K=!1,S)=>{j(K),z(V,yt.month,S)},de=(K=!1,S)=>{j(K),z(M,yt.year,S)},j=K=>{K||r("reset-flow")},D=(K,S)=>{o.arrowNavigation&&(N.value[S]=ct(K),y(N.value,"monthYear"))},ie=t.computed(()=>{var K,S,Q,fe,H,ye;return[{type:$t.month,index:1,toggle:W,modelValue:q.value,updateModelValue:Z=>q.value=Z,text:Y.value.text,showSelectionGrid:V.value,items:C.value,ariaLabel:(K=l.value)==null?void 0:K.openMonthsOverlay,overlayLabel:((Q=(S=l.value).monthPicker)==null?void 0:Q.call(S,!0))??void 0},{type:$t.year,index:2,toggle:de,modelValue:U.value,updateModelValue:Z=>U.value=Z,text:pl(o.year,o.locale),showSelectionGrid:M.value,items:I.value,ariaLabel:(fe=l.value)==null?void 0:fe.openYearsOverlay,overlayLabel:((ye=(H=l.value).yearPicker)==null?void 0:ye.call(H,!0))??void 0}]}),ne=t.computed(()=>o.disableYearSelect?[ie.value[0]]:o.yearFirst?[...ie.value].reverse():ie.value);return a({toggleMonthPicker:W,toggleYearPicker:de,handleMonthYearChange:b}),(K,S)=>{var Q,fe,H,ye,Z,me;return t.openBlock(),t.createElementBlock("div",s4,[K.$slots["month-year"]?(t.openBlock(),t.createElementBlock("div",c4,[t.renderSlot(K.$slots,"month-year",t.normalizeProps(t.guardReactiveProps({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:t.unref(w),handleMonthYearChange:t.unref(b),instance:e.instance})))])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[K.$slots["top-extra"]?(t.openBlock(),t.createElementBlock("div",d4,[t.renderSlot(K.$slots,"top-extra",{value:K.internalModelValue})])):t.createCommentVNode("",!0),t.createElementVNode("div",u4,[t.unref(k)(t.unref(s),e.instance)&&!K.vertical?(t.openBlock(),t.createBlock(fn,{key:0,"aria-label":(Q=t.unref(l))==null?void 0:Q.prevMonth,disabled:t.unref(x)(!1),class:t.normalizeClass((fe=t.unref(c))==null?void 0:fe.navBtnPrev),"el-name":"action-prev",onActivate:S[0]||(S[0]=L=>t.unref(b)(!1,!0)),onSetRef:S[1]||(S[1]=L=>D(L,0))},{default:t.withCtx(()=>[K.$slots["arrow-left"]?t.renderSlot(K.$slots,"arrow-left",{key:0}):t.createCommentVNode("",!0),K.$slots["arrow-left"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref($r),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["dp__month_year_wrap",{dp__year_disable_select:K.disableYearSelect}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ne.value,(L,v)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:L.type},[t.createElementVNode("button",{ref_for:!0,ref:g=>D(g,v+1),type:"button","data-dp-element":`overlay-${L.type}`,class:t.normalizeClass(["dp__btn dp__month_year_select",{"dp--hidden-el":E.value}]),"aria-label":`${L.text}-${L.ariaLabel}`,"data-test":`${L.type}-toggle-overlay-${e.instance}`,onClick:L.toggle,onKeydown:g=>t.unref(wt)(g,()=>L.toggle(),!0)},[K.$slots[L.type]?t.renderSlot(K.$slots,L.type,{key:0,text:L.text,value:o[L.type]}):t.createCommentVNode("",!0),K.$slots[L.type]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(L.text),1)],64))],42,m4),t.createVNode(t.Transition,{name:t.unref(f)(L.showSelectionGrid),css:t.unref(h)},{default:t.withCtx(()=>[L.showSelectionGrid?(t.openBlock(),t.createBlock(mn,{key:0,items:L.items,"arrow-navigation":K.arrowNavigation,"hide-navigation":K.hideNavigation,"is-last":K.autoApply&&!t.unref(p).keepActionRow,"skip-button-ref":!1,config:K.config,type:L.type,"header-refs":[],"esc-close":K.escClose,"menu-wrap-ref":K.menuWrapRef,"text-input":K.textInput,"aria-labels":K.ariaLabels,"overlay-label":L.overlayLabel,onSelected:L.updateModelValue,onToggle:L.toggle},t.createSlots({"button-icon":t.withCtx(()=>[K.$slots["calendar-icon"]?t.renderSlot(K.$slots,"calendar-icon",{key:0}):t.createCommentVNode("",!0),K.$slots["calendar-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(za),{key:1}))]),_:2},[K.$slots[`${L.type}-overlay-value`]?{name:"item",fn:t.withCtx(({item:g})=>[t.renderSlot(K.$slots,`${L.type}-overlay-value`,{text:g.text,value:g.value})]),key:"0"}:void 0,K.$slots[`${L.type}-overlay`]?{name:"overlay",fn:t.withCtx(()=>[t.renderSlot(K.$slots,`${L.type}-overlay`,t.mergeProps({ref_for:!0},X.value(L.type)))]),key:"1"}:void 0,K.$slots[`${L.type}-overlay-header`]?{name:"header",fn:t.withCtx(()=>[t.renderSlot(K.$slots,`${L.type}-overlay-header`,{toggle:L.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):t.createCommentVNode("",!0)]),_:2},1032,["name","css"])],64))),128))],2),t.unref(k)(t.unref(s),e.instance)&&K.vertical?(t.openBlock(),t.createBlock(fn,{key:1,"aria-label":(H=t.unref(l))==null?void 0:H.prevMonth,"el-name":"action-prev",disabled:t.unref(x)(!1),class:t.normalizeClass((ye=t.unref(c))==null?void 0:ye.navBtnPrev),onActivate:S[2]||(S[2]=L=>t.unref(b)(!1,!0))},{default:t.withCtx(()=>[K.$slots["arrow-up"]?t.renderSlot(K.$slots,"arrow-up",{key:0}):t.createCommentVNode("",!0),K.$slots["arrow-up"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(zr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.unref(B)(t.unref(s),e.instance)?(t.openBlock(),t.createBlock(fn,{key:2,ref:"rightIcon","el-name":"action-next",disabled:t.unref(x)(!0),"aria-label":(Z=t.unref(l))==null?void 0:Z.nextMonth,class:t.normalizeClass((me=t.unref(c))==null?void 0:me.navBtnNext),onActivate:S[3]||(S[3]=L=>t.unref(b)(!0,!0)),onSetRef:S[4]||(S[4]=L=>D(L,K.disableYearSelect?2:3))},{default:t.withCtx(()=>[K.$slots[K.vertical?"arrow-down":"arrow-right"]?t.renderSlot(K.$slots,K.vertical?"arrow-down":"arrow-right",{key:0}):t.createCommentVNode("",!0),K.$slots[K.vertical?"arrow-down":"arrow-right"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(K.vertical?t.unref(Ir):t.unref(Hr)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):t.createCommentVNode("",!0)])],64))])}}}),h4={class:"dp__calendar_header",role:"row"},p4={key:0,class:"dp__calendar_header_item",role:"gridcell"},g4=["aria-label"],y4={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},k4={class:"dp__cell_inner"},x4=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],b4=t.defineComponent({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...Rt},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:a,emit:n}){const r=n,o=e,{buildMultiLevelMatrix:i}=ca(),{defaultedTransitions:l,defaultedConfig:s,defaultedAriaLabels:d,defaultedMultiCalendars:p,defaultedWeekNumbers:u,defaultedMultiDates:m,defaultedUI:c}=Ze(o),f=t.ref(null),h=t.ref({bottom:"",left:"",transform:""}),y=t.ref([]),b=t.ref(null),x=t.ref(!0),w=t.ref(""),k=t.ref({startX:0,endX:0,startY:0,endY:0}),B=t.ref([]),V=t.ref({left:"50%"}),M=t.ref(!1),E=t.computed(()=>o.calendar?o.calendar(o.mappedDates):o.mappedDates),N=t.computed(()=>o.dayNames?Array.isArray(o.dayNames)?o.dayNames:o.dayNames(o.locale,+o.weekStart):n3(o.formatLocale,o.locale,+o.weekStart));t.onMounted(()=>{r("mount",{cmp:"calendar",refs:y}),s.value.noSwipe||b.value&&(b.value.addEventListener("touchstart",D,{passive:!1}),b.value.addEventListener("touchend",ie,{passive:!1}),b.value.addEventListener("touchmove",ne,{passive:!1})),o.monthChangeOnScroll&&b.value&&b.value.addEventListener("wheel",Q,{passive:!1})});const A=L=>L?o.vertical?"vNext":"next":o.vertical?"vPrevious":"previous",q=(L,v)=>{if(o.transitions){const g=vt(Kt(pe(),o.month,o.year));w.value=it(vt(Kt(pe(),L,v)),g)?l.value[A(!0)]:l.value[A(!1)],x.value=!1,t.nextTick(()=>{x.value=!0})}},U=t.computed(()=>({...c.value.calendar??{}})),X=t.computed(()=>L=>{const v=o3(L);return{dp__marker_dot:v.type==="dot",dp__marker_line:v.type==="line"}}),Y=t.computed(()=>L=>Fe(L,f.value)),C=t.computed(()=>({dp__calendar:!0,dp__calendar_next:p.value.count>0&&o.instance!==0})),I=t.computed(()=>L=>o.hideOffsetDates?L.current:!0),z=async(L,v)=>{const{width:g,height:_}=L.getBoundingClientRect();f.value=v.value;let F={left:`${g/2}px`},O=-50;if(await t.nextTick(),B.value[0]){const{left:J,width:$}=B.value[0].getBoundingClientRect();J<0&&(F={left:"0"},O=0,V.value.left=`${g/2}px`),window.innerWidth<J+$&&(F={right:"0"},O=0,V.value.left=`${$-g/2}px`)}h.value={bottom:`${_}px`,...F,transform:`translateX(${O}%)`}},W=async(L,v,g)=>{var _,F,O;const J=ct(y.value[v][g]);J&&((_=L.marker)!=null&&_.customPosition&&(O=(F=L.marker)==null?void 0:F.tooltip)!=null&&O.length?h.value=L.marker.customPosition(J):await z(J,L),r("tooltip-open",L.marker))},de=async(L,v,g)=>{var _,F;if(M.value&&m.value.enabled&&m.value.dragSelect)return r("select-date",L);r("set-hover-date",L),(F=(_=L.marker)==null?void 0:_.tooltip)!=null&&F.length&&await W(L,v,g)},j=L=>{f.value&&(f.value=null,h.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",L.marker))},D=L=>{k.value.startX=L.changedTouches[0].screenX,k.value.startY=L.changedTouches[0].screenY},ie=L=>{k.value.endX=L.changedTouches[0].screenX,k.value.endY=L.changedTouches[0].screenY,K()},ne=L=>{o.vertical&&!o.inline&&L.preventDefault()},K=()=>{const L=o.vertical?"Y":"X";Math.abs(k.value[`start${L}`]-k.value[`end${L}`])>10&&r("handle-swipe",k.value[`start${L}`]>k.value[`end${L}`]?"right":"left")},S=(L,v,g)=>{L&&(Array.isArray(y.value[v])?y.value[v][g]=L:y.value[v]=[L]),o.arrowNavigation&&i(y.value,"calendar")},Q=L=>{o.monthChangeOnScroll&&(L.preventDefault(),r("handle-scroll",L))},fe=L=>u.value.type==="local"?_r(L.value,{weekStartsOn:+o.weekStart}):u.value.type==="iso"?Nr(L.value):typeof u.value.type=="function"?u.value.type(L.value):"",H=L=>{const v=L[0];return u.value.hideOnOffsetDates?L.some(g=>g.current)?fe(v):"":fe(v)},ye=(L,v,g=!0)=>{g&&gl()||!g&&!gl()||m.value.enabled||(ia(L,s.value),r("select-date",v))},Z=L=>{ia(L,s.value)},me=L=>{m.value.enabled&&m.value.dragSelect?(M.value=!0,r("select-date",L)):m.value.enabled&&r("select-date",L)};return a({triggerTransition:q}),(L,v)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(C.value)},[t.createElementVNode("div",{ref_key:"calendarWrapRef",ref:b,class:t.normalizeClass(U.value),role:"grid"},[t.createElementVNode("div",h4,[L.weekNumbers?(t.openBlock(),t.createElementBlock("div",p4,t.toDisplayString(L.weekNumName),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(N.value,(g,_)=>{var F,O;return t.openBlock(),t.createElementBlock("div",{key:_,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(O=(F=t.unref(d))==null?void 0:F.weekDay)==null?void 0:O.call(F,_)},[L.$slots["calendar-header"]?t.renderSlot(L.$slots,"calendar-header",{key:0,day:g,index:_}):t.createCommentVNode("",!0),L.$slots["calendar-header"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(g),1)],64))],8,g4)}),128))]),v[2]||(v[2]=t.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1)),t.createVNode(t.Transition,{name:w.value,css:!!L.transitions},{default:t.withCtx(()=>[x.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:v[1]||(v[1]=g=>M.value=!1)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(E.value,(g,_)=>(t.openBlock(),t.createElementBlock("div",{key:_,class:"dp__calendar_row",role:"row"},[L.weekNumbers?(t.openBlock(),t.createElementBlock("div",y4,[t.createElementVNode("div",k4,t.toDisplayString(H(g.days)),1)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.days,(F,O)=>{var J,$,te;return t.openBlock(),t.createElementBlock("div",{id:t.unref(Ml)(F.value),ref_for:!0,ref:ce=>S(ce,_,O),key:O+_,role:"gridcell",class:"dp__calendar_item","aria-pressed":(F.classData.dp__active_date||F.classData.dp__range_start||F.classData.dp__range_start)??void 0,"aria-disabled":F.classData.dp__cell_disabled||void 0,"aria-label":($=(J=t.unref(d))==null?void 0:J.day)==null?void 0:$.call(J,F),tabindex:!F.current&&L.hideOffsetDates?void 0:0,"data-test":F.value,onClick:t.withModifiers(ce=>ye(ce,F),["prevent"]),onTouchend:ce=>ye(ce,F,!1),onKeydown:ce=>t.unref(wt)(ce,()=>L.$emit("select-date",F)),onMouseenter:ce=>de(F,_,O),onMouseleave:ce=>j(F),onMousedown:ce=>me(F),onMouseup:v[0]||(v[0]=ce=>M.value=!1)},[t.createElementVNode("div",{class:t.normalizeClass(["dp__cell_inner",F.classData])},[L.$slots.day&&I.value(F)?t.renderSlot(L.$slots,"day",{key:0,day:+F.text,date:F.value}):t.createCommentVNode("",!0),L.$slots.day?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(F.text),1)],64)),F.marker&&I.value(F)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[L.$slots.marker?t.renderSlot(L.$slots,"marker",{key:0,marker:F.marker,day:+F.text,date:F.value}):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(X.value(F.marker)),style:t.normalizeStyle(F.marker.color?{backgroundColor:F.marker.color}:{})},null,6))],64)):t.createCommentVNode("",!0),Y.value(F.value)?(t.openBlock(),t.createElementBlock("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:B,class:"dp__marker_tooltip",style:t.normalizeStyle(h.value)},[(te=F.marker)!=null&&te.tooltip?(t.openBlock(),t.createElementBlock("div",{key:0,class:"dp__tooltip_content",onClick:Z},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.marker.tooltip,(ce,ge)=>(t.openBlock(),t.createElementBlock("div",{key:ge,class:"dp__tooltip_text"},[L.$slots["marker-tooltip"]?t.renderSlot(L.$slots,"marker-tooltip",{key:0,tooltip:ce,day:F.value}):t.createCommentVNode("",!0),L.$slots["marker-tooltip"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",{class:"dp__tooltip_mark",style:t.normalizeStyle(ce.color?{backgroundColor:ce.color}:{})},null,4),t.createElementVNode("div",null,t.toDisplayString(ce.text),1)],64))]))),128)),t.createElementVNode("div",{class:"dp__arrow_bottom_tp",style:t.normalizeStyle(V.value)},null,4)])):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0)],2)],40,x4)}),128))]))),128))],32)):t.createCommentVNode("",!0)]),_:3},8,["name","css"])],2)],2))}}),Fl=e=>Array.isArray(e),w4=(e,a,n,r)=>{const o=t.ref([]),i=t.ref(new Date),l=t.ref(),s=()=>D(e.isTextInputDate),{modelValue:d,calendars:p,time:u,today:m}=pn(e,a,s),{defaultedMultiCalendars:c,defaultedStartTime:f,defaultedRange:h,defaultedConfig:y,defaultedTz:b,propDates:x,defaultedMultiDates:w}=Ze(e),{validateMonthYearInRange:k,isDisabled:B,isDateRangeAllowed:V,checkMinMaxRange:M}=ua(e),{updateTimeValues:E,getSetDateTime:N,setTime:A,assignStartTime:q,validateTime:U,disabledTimesConfig:X}=Ol(e,u,d,r),Y=t.computed(()=>R=>p.value[R]?p.value[R].month:0),C=t.computed(()=>R=>p.value[R]?p.value[R].year:0),I=R=>!y.value.keepViewOnOffsetClick||R?!0:!l.value,z=(R,P,T,ee=!1)=>{var le,be;I(ee)&&(p.value[R]||(p.value[R]={month:0,year:0}),p.value[R].month=fl(P)?(le=p.value[R])==null?void 0:le.month:P,p.value[R].year=fl(T)?(be=p.value[R])==null?void 0:be.year:T)},W=()=>{e.autoApply&&a("select-date")};t.onMounted(()=>{e.shadow||(d.value||(L(),f.value&&q(f.value)),D(!0),e.focusStartDate&&e.startDate&&L())});const de=t.computed(()=>{var R;return(R=e.flow)!=null&&R.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),j=()=>{e.autoApply&&de.value&&a("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},D=(R=!1)=>{if(d.value)return Array.isArray(d.value)?(o.value=d.value,H(R)):K(d.value,R);if(c.value.count&&R&&!e.startDate)return ne(pe(),R)},ie=()=>Array.isArray(d.value)&&h.value.enabled?Oe(d.value[0])===Oe(d.value[1]??d.value[0]):!1,ne=(R=new Date,P=!1)=>{if((!c.value.count||!c.value.static||P)&&z(0,Oe(R),Ve(R)),c.value.count&&(!c.value.solo||!d.value||ie()))for(let T=1;T<c.value.count;T++){const ee=We(pe(),{month:Y.value(T-1),year:C.value(T-1)}),le=_i(ee,{months:1});p.value[T]={month:Oe(le),year:Ve(le)}}},K=(R,P)=>{ne(R),A("hours",Zt(R)),A("minutes",oa(R)),A("seconds",La(R)),c.value.count&&P&&me()},S=R=>{if(c.value.count){if(c.value.solo)return 0;const P=Oe(R[0]),T=Oe(R[1]);return Math.abs(T-P)<c.value.count?0:1}return 1},Q=(R,P)=>{R[1]&&h.value.showLastInRange?ne(R[S(R)],P):ne(R[0],P);const T=(ee,le)=>[ee(R[0]),R[1]?ee(R[1]):u[le][1]];A("hours",T(Zt,"hours")),A("minutes",T(oa,"minutes")),A("seconds",T(La,"seconds"))},fe=(R,P)=>{if((h.value.enabled||e.weekPicker)&&!w.value.enabled)return Q(R,P);if(w.value.enabled&&P){const T=R[R.length-1];return K(T,P)}},H=R=>{const P=d.value;fe(P,R),c.value.count&&c.value.solo&&me()},ye=(R,P)=>{const T=We(pe(),{month:Y.value(P),year:C.value(P)}),ee=R<0?Ft(T,1):Ra(T,1);k(Oe(ee),Ve(ee),R<0,e.preventMinMaxNavigation)&&(z(P,Oe(ee),Ve(ee)),a("update-month-year",{instance:P,month:Oe(ee),year:Ve(ee)}),c.value.count&&!c.value.solo&&Z(P),n())},Z=R=>{for(let P=R-1;P>=0;P--){const T=Ra(We(pe(),{month:Y.value(P+1),year:C.value(P+1)}),1);z(P,Oe(T),Ve(T))}for(let P=R+1;P<=c.value.count-1;P++){const T=Ft(We(pe(),{month:Y.value(P-1),year:C.value(P-1)}),1);z(P,Oe(T),Ve(T))}},me=()=>{if(Array.isArray(d.value)&&d.value.length===2){const R=pe(pe(d.value[1]?d.value[1]:Ft(d.value[0],1))),[P,T]=[Oe(d.value[0]),Ve(d.value[0])],[ee,le]=[Oe(d.value[1]),Ve(d.value[1])];(P!==ee||P===ee&&T!==le)&&c.value.solo&&z(1,Oe(R),Ve(R))}else d.value&&!Array.isArray(d.value)&&(z(0,Oe(d.value),Ve(d.value)),ne(pe()))},L=()=>{e.startDate&&(z(0,Oe(pe(e.startDate)),Ve(pe(e.startDate))),c.value.count&&Z(0))},v=(R,P)=>{if(e.monthChangeOnScroll){const T=new Date().getTime()-i.value.getTime(),ee=Math.abs(R.deltaY);let le=500;ee>1&&(le=100),ee>100&&(le=0),T>le&&(i.value=new Date,ye(e.monthChangeOnScroll!=="inverse"?-R.deltaY:R.deltaY,P))}},g=(R,P,T=!1)=>{e.monthChangeOnArrows&&e.vertical===T&&_(R,P)},_=(R,P)=>{ye(R==="right"?-1:1,P)},F=R=>{if(x.value.markers)return Rn(R.value,x.value.markers)},O=(R,P)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[R==0,!0];case"fair":return[R==0||P>R,!0];case"append":return[!1,!1];default:return[!1,!1]}},J=(R,P,T,ee)=>{if(e.sixWeeks&&R.length<6){const le=6-R.length,be=(P.getDay()+7-ee)%7,Ae=6-(T.getDay()+7-ee)%7,[_e,Pe]=O(be,Ae);for(let je=1;je<=le;je++)if(Pe?!!(je%2)==_e:_e){const nt=R[0].days[0],xt=$(Ot(nt.value,-7),Oe(P));R.unshift({days:xt})}else{const nt=R[R.length-1],xt=nt.days[nt.days.length-1],st=$(Ot(xt.value,1),Oe(P));R.push({days:st})}}return R},$=(R,P)=>{const T=pe(R),ee=[];for(let le=0;le<7;le++){const be=Ot(T,le),Ae=Oe(be)!==P;ee.push({text:e.hideOffsetDates&&Ae?"":be.getDate(),value:be,current:!Ae,classData:{}})}return ee},te=(R,P)=>{const T=[],ee=new Date(P,R),le=new Date(P,R+1,0),be=e.weekStart,Ae=Lt(ee,{weekStartsOn:be}),_e=Pe=>{const je=$(Pe,R);if(T.push({days:je}),!T[T.length-1].days.some(nt=>Fe(vt(nt.value),vt(le)))){const nt=Ot(Pe,7);_e(nt)}};return _e(Ae),J(T,ee,le,be)},ce=R=>{const P=la(pe(R.value),u.hours,u.minutes,Se());a("date-update",P),w.value.enabled?lo(P,d,w.value.limit):d.value=P,r(),t.nextTick().then(()=>{j()})},ge=R=>h.value.noDisabledRange?bl(o.value[0],R).some(P=>B(P)):!1,xe=()=>{o.value=d.value?d.value.slice():[],o.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(o.value=[])},ue=(R,P)=>{const T=[pe(R.value),Ot(pe(R.value),+h.value.autoRange)];V(T)?(P&&Me(R.value),o.value=T):a("invalid-date",R.value)},Me=R=>{const P=Oe(pe(R)),T=Ve(pe(R));if(z(0,P,T),c.value.count>0)for(let ee=1;ee<c.value.count;ee++){const le=m3(We(pe(R),{year:C.value(ee-1),month:Y.value(ee-1)}));z(ee,le.month,le.year)}},Ne=R=>{if(ge(R.value)||!M(R.value,d.value,h.value.fixedStart?0:1))return a("invalid-date",R.value);o.value=_l(pe(R.value),d,a,h)},De=(R,P)=>{if(xe(),h.value.autoRange)return ue(R,P);if(h.value.fixedStart||h.value.fixedEnd)return Ne(R);o.value[0]?M(pe(R.value),d.value)&&!ge(R.value)?tt(pe(R.value),pe(o.value[0]))?(o.value.unshift(pe(R.value)),a("range-end",o.value[0])):(o.value[1]=pe(R.value),a("range-end",o.value[1])):(e.autoApply&&a("auto-apply-invalid",R.value),a("invalid-date",R.value)):(o.value[0]=pe(R.value),a("range-start",o.value[0]))},Se=(R=!0)=>e.enableSeconds?Array.isArray(u.seconds)?R?u.seconds[0]:u.seconds[1]:u.seconds:0,Le=R=>{o.value[R]=la(o.value[R],u.hours[R],u.minutes[R],Se(R!==1))},Be=()=>{var R,P;o.value[0]&&o.value[1]&&+((R=o.value)==null?void 0:R[0])>+((P=o.value)==null?void 0:P[1])&&(o.value.reverse(),a("range-start",o.value[0]),a("range-end",o.value[1]))},G=()=>{o.value.length&&(o.value[0]&&!o.value[1]?Le(0):(Le(0),Le(1),r()),Be(),d.value=o.value.slice(),Wn(o.value,a,e.autoApply,e.modelAuto))},ae=(R,P=!1)=>{if(B(R.value)||!R.current&&e.hideOffsetDates)return a("invalid-date",R.value);if(l.value=JSON.parse(JSON.stringify(R)),!h.value.enabled)return ce(R);Fl(u.hours)&&Fl(u.minutes)&&!w.value.enabled&&(De(R,P),G())},re=(R,P)=>{var T;z(R,P.month,P.year,!0),c.value.count&&!c.value.solo&&Z(R),a("update-month-year",{instance:R,month:P.month,year:P.year}),n(c.value.solo?R:void 0);const ee=(T=e.flow)!=null&&T.length?e.flow[e.flowStep]:void 0;!P.fromNav&&(ee===yt.month||ee===yt.year)&&r()},se=(R,P)=>{Dl({value:R,modelValue:d,range:h.value.enabled,timezone:P?void 0:b.value.timezone}),W(),e.multiCalendars&&t.nextTick().then(()=>D(!0))},Ee=()=>{const R=Gr(pe(),b.value);h.value.enabled?d.value&&Array.isArray(d.value)&&d.value[0]?d.value=tt(R,d.value[0])?[R,d.value[0]]:[d.value[0],R]:d.value=[R]:d.value=R,W()},he=()=>{if(Array.isArray(d.value))if(w.value.enabled){const R=ke();d.value[d.value.length-1]=N(R)}else d.value=d.value.map((R,P)=>R&&N(R,P));else d.value=N(d.value);a("time-update")},ke=()=>Array.isArray(d.value)&&d.value.length?d.value[d.value.length-1]:null;return{calendars:p,modelValue:d,month:Y,year:C,time:u,disabledTimesConfig:X,today:m,validateTime:U,getCalendarDays:te,getMarker:F,handleScroll:v,handleSwipe:_,handleArrow:g,selectDate:ae,updateMonthYear:re,presetDate:se,selectCurrentDate:Ee,updateTime:(R,P=!0,T=!1)=>{E(R,P,T,he)},assignMonthAndYear:ne}},v4={key:0},E4=t.defineComponent({__name:"DatePicker",props:{...Rt},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=e,{calendars:i,month:l,year:s,modelValue:d,time:p,disabledTimesConfig:u,today:m,validateTime:c,getCalendarDays:f,getMarker:h,handleArrow:y,handleScroll:b,handleSwipe:x,selectDate:w,updateMonthYear:k,presetDate:B,selectCurrentDate:V,updateTime:M,assignMonthAndYear:E}=w4(o,r,ie,ne),N=t.useSlots(),{setHoverDate:A,getDayClassData:q,clearHoverDate:U}=$4(d,o),{defaultedMultiCalendars:X}=Ze(o),Y=t.ref([]),C=t.ref([]),I=t.ref(null),z=Vt(N,"calendar"),W=Vt(N,"monthYear"),de=Vt(N,"timePicker"),j=v=>{o.shadow||r("mount",v)};t.watch(i,()=>{o.shadow||setTimeout(()=>{r("recalculate-position")},0)},{deep:!0}),t.watch(X,(v,g)=>{v.count-g.count>0&&E()},{deep:!0});const D=t.computed(()=>v=>f(l.value(v),s.value(v)).map(g=>({...g,days:g.days.map(_=>(_.marker=h(_),_.classData=q(_),_))})));function ie(v){var g;v||v===0?(g=C.value[v])==null||g.triggerTransition(l.value(v),s.value(v)):C.value.forEach((_,F)=>_.triggerTransition(l.value(F),s.value(F)))}function ne(){r("update-flow-step")}const K=(v,g=!1)=>{w(v,g),o.spaceConfirm&&r("select-date")},S=(v,g,_=0)=>{var F;(F=Y.value[_])==null||F.toggleMonthPicker(v,g)},Q=(v,g,_=0)=>{var F;(F=Y.value[_])==null||F.toggleYearPicker(v,g)},fe=(v,g,_)=>{var F;(F=I.value)==null||F.toggleTimePicker(v,g,_)},H=(v,g)=>{var _;if(!o.range){const F=d.value?d.value:m,O=g?new Date(g):F,J=v?Lt(O,{weekStartsOn:1}):Gi(O,{weekStartsOn:1});w({value:J,current:Oe(O)===l.value(0),text:"",classData:{}}),(_=document.getElementById(Ml(J)))==null||_.focus()}},ye=v=>{var g;(g=Y.value[0])==null||g.handleMonthYearChange(v,!0)},Z=v=>{k(0,{month:l.value(0),year:s.value(0)+(v?1:-1),fromNav:!0})},me=(v,g)=>{v===yt.time&&r(`time-picker-${g?"open":"close"}`),r("overlay-toggle",{open:g,overlay:v})},L=v=>{r("overlay-toggle",{open:!1,overlay:v}),r("focus-menu")};return a({clearHoverDate:U,presetDate:B,selectCurrentDate:V,toggleMonthPicker:S,toggleYearPicker:Q,toggleTimePicker:fe,handleArrow:y,updateMonthYear:k,getSidebarProps:()=>({modelValue:d,month:l,year:s,time:p,updateTime:M,updateMonthYear:k,selectDate:w,presetDate:B}),changeMonth:ye,changeYear:Z,selectWeekDate:H}),(v,g)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(qn,{"multi-calendars":t.unref(X).count,collapse:v.collapse},{default:t.withCtx(({instance:_,index:F})=>[v.disableMonthYearSelect?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(f4,t.mergeProps({key:0,ref:O=>{O&&(Y.value[F]=O)},months:t.unref(dl)(v.formatLocale,v.locale,v.monthNameFormat),years:t.unref(qr)(v.yearRange,v.locale,v.reverseYears),month:t.unref(l)(_),year:t.unref(s)(_),instance:_},v.$props,{onMount:g[0]||(g[0]=O=>j(t.unref(Aa).header)),onResetFlow:g[1]||(g[1]=O=>v.$emit("reset-flow")),onUpdateMonthYear:O=>t.unref(k)(_,O),onOverlayClosed:L,onOverlayOpened:g[2]||(g[2]=O=>v.$emit("overlay-toggle",{open:!0,overlay:O}))}),t.createSlots({_:2},[t.renderList(t.unref(W),(O,J)=>({name:O,fn:t.withCtx($=>[t.renderSlot(v.$slots,O,t.normalizeProps(t.guardReactiveProps($)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),t.createVNode(b4,t.mergeProps({ref:O=>{O&&(C.value[F]=O)},"mapped-dates":D.value(_),month:t.unref(l)(_),year:t.unref(s)(_),instance:_},v.$props,{onSelectDate:O=>t.unref(w)(O,_!==1),onHandleSpace:O=>K(O,_!==1),onSetHoverDate:g[3]||(g[3]=O=>t.unref(A)(O)),onHandleScroll:O=>t.unref(b)(O,_),onHandleSwipe:O=>t.unref(x)(O,_),onMount:g[4]||(g[4]=O=>j(t.unref(Aa).calendar)),onResetFlow:g[5]||(g[5]=O=>v.$emit("reset-flow")),onTooltipOpen:g[6]||(g[6]=O=>v.$emit("tooltip-open",O)),onTooltipClose:g[7]||(g[7]=O=>v.$emit("tooltip-close",O))}),t.createSlots({_:2},[t.renderList(t.unref(z),(O,J)=>({name:O,fn:t.withCtx($=>[t.renderSlot(v.$slots,O,t.normalizeProps(t.guardReactiveProps({...$})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),v.enableTimePicker?(t.openBlock(),t.createElementBlock("div",v4,[v.$slots["time-picker"]?t.renderSlot(v.$slots,"time-picker",t.normalizeProps(t.mergeProps({key:0},{time:t.unref(p),updateTime:t.unref(M)}))):(t.openBlock(),t.createBlock(Pl,t.mergeProps({key:1,ref_key:"timePickerRef",ref:I},v.$props,{hours:t.unref(p).hours,minutes:t.unref(p).minutes,seconds:t.unref(p).seconds,"internal-model-value":v.internalModelValue,"disabled-times-config":t.unref(u),"validate-time":t.unref(c),onMount:g[8]||(g[8]=_=>j(t.unref(Aa).timePicker)),"onUpdate:hours":g[9]||(g[9]=_=>t.unref(M)(_)),"onUpdate:minutes":g[10]||(g[10]=_=>t.unref(M)(_,!1)),"onUpdate:seconds":g[11]||(g[11]=_=>t.unref(M)(_,!1,!0)),onResetFlow:g[12]||(g[12]=_=>v.$emit("reset-flow")),onOverlayClosed:g[13]||(g[13]=_=>me(_,!1)),onOverlayOpened:g[14]||(g[14]=_=>me(_,!0)),onAmPmChange:g[15]||(g[15]=_=>v.$emit("am-pm-change",_))}),t.createSlots({_:2},[t.renderList(t.unref(de),(_,F)=>({name:_,fn:t.withCtx(O=>[t.renderSlot(v.$slots,_,t.normalizeProps(t.guardReactiveProps(O)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):t.createCommentVNode("",!0)],64))}}),C4=(e,a)=>{const n=t.ref(),{defaultedMultiCalendars:r,defaultedConfig:o,defaultedHighlight:i,defaultedRange:l,propDates:s,defaultedFilters:d,defaultedMultiDates:p}=Ze(e),{modelValue:u,year:m,month:c,calendars:f}=pn(e,a),{isDisabled:h}=ua(e),{selectYear:y,groupedYears:b,showYearPicker:x,isDisabled:w,toggleYearPicker:k,handleYearSelect:B,handleYear:V}=Tl({modelValue:u,multiCalendars:r,range:l,highlight:i,calendars:f,propDates:s,month:c,year:m,filters:d,props:e,emit:a}),M=(I,z)=>[I,z].map(W=>Gt(W,"MMMM",{locale:e.formatLocale})).join("-"),E=t.computed(()=>I=>u.value?Array.isArray(u.value)?u.value.some(z=>nl(I,z)):nl(u.value,I):!1),N=I=>{if(l.value.enabled){if(Array.isArray(u.value)){const z=Fe(I,u.value[0])||Fe(I,u.value[1]);return zn(u.value,n.value,I)&&!z}return!1}return!1},A=(I,z)=>I.quarter===Ri(z)&&I.year===Ve(z),q=I=>typeof i.value=="function"?i.value({quarter:Ri(I),year:Ve(I)}):!!i.value.quarters.find(z=>A(z,I)),U=t.computed(()=>I=>{const z=We(new Date,{year:m.value(I)});return i2({start:on(z),end:Ii(z)}).map(W=>{const de=Sa(W),j=ji(W),D=h(W),ie=N(de),ne=q(de);return{text:M(de,j),value:de,active:E.value(de),highlighted:ne,disabled:D,isBetween:ie}})}),X=I=>{lo(I,u,p.value.limit),a("auto-apply",!0)},Y=I=>{u.value=so(u,I,a),Wn(u.value,a,e.autoApply,e.modelAuto)},C=I=>{u.value=I,a("auto-apply")};return{defaultedConfig:o,defaultedMultiCalendars:r,groupedYears:b,year:m,isDisabled:w,quarters:U,showYearPicker:x,modelValue:u,setHoverDate:I=>{n.value=I},selectYear:y,selectQuarter:(I,z,W)=>{if(!W)return f.value[z].month=Oe(ji(I)),p.value.enabled?X(I):l.value.enabled?Y(I):C(I)},toggleYearPicker:k,handleYearSelect:B,handleYear:V}},S4={class:"dp--quarter-items"},M4=["data-test","disabled","onClick","onMouseover"],B4=t.defineComponent({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...Rt},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.useSlots(),l=Vt(i,"yearMode"),{defaultedMultiCalendars:s,defaultedConfig:d,groupedYears:p,year:u,isDisabled:m,quarters:c,modelValue:f,showYearPicker:h,setHoverDate:y,selectQuarter:b,toggleYearPicker:x,handleYearSelect:w,handleYear:k}=C4(o,r);return a({getSidebarProps:()=>({modelValue:f,year:u,selectQuarter:b,handleYearSelect:w,handleYear:k})}),(B,V)=>(t.openBlock(),t.createBlock(qn,{"multi-calendars":t.unref(s).count,collapse:B.collapse,stretch:""},{default:t.withCtx(({instance:M})=>[t.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:t.normalizeStyle({minHeight:`${t.unref(d).modeHeight}px`})},[B.$slots["top-extra"]?t.renderSlot(B.$slots,"top-extra",{key:0,value:B.internalModelValue}):t.createCommentVNode("",!0),t.createElementVNode("div",null,[t.createVNode(Nl,t.mergeProps(B.$props,{items:t.unref(p)(M),instance:M,"show-year-picker":t.unref(h)[M],year:t.unref(u)(M),"is-disabled":E=>t.unref(m)(M,E),onHandleYear:E=>t.unref(k)(M,E),onYearSelect:E=>t.unref(w)(E,M),onToggleYearPicker:E=>t.unref(x)(M,E==null?void 0:E.flow,E==null?void 0:E.show)}),t.createSlots({_:2},[t.renderList(t.unref(l),(E,N)=>({name:E,fn:t.withCtx(A=>[t.renderSlot(B.$slots,E,t.normalizeProps(t.guardReactiveProps(A)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),t.createElementVNode("div",S4,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(c)(M),(E,N)=>(t.openBlock(),t.createElementBlock("div",{key:N},[t.createElementVNode("button",{type:"button",class:t.normalizeClass(["dp--qr-btn",{"dp--qr-btn-active":E.active,"dp--qr-btn-between":E.isBetween,"dp--qr-btn-disabled":E.disabled,"dp--highlighted":E.highlighted}]),"data-test":E.value,disabled:E.disabled,onClick:A=>t.unref(b)(E.value,M,E.disabled),onMouseover:A=>t.unref(y)(E.value)},[B.$slots.quarter?t.renderSlot(B.$slots,"quarter",{key:0,value:E.value,text:E.text}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(E.text),1)],64))],42,M4)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),A4=["id","tabindex","role","aria-label"],V4={key:0,class:"dp--menu-load-container"},N4={key:1,class:"dp--menu-header"},D4={key:0,class:"dp__sidebar_left"},_4=["data-test","onClick","onKeydown"],T4={key:2,class:"dp__sidebar_right"},P4={key:3,class:"dp__action_extra"},Ll=t.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...jn,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.ref(null),l=t.computed(()=>{const{openOnTop:$,...te}=o;return{...te,flowStep:A.value,collapse:o.collapse,noOverlayFocus:o.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:s,setShiftKey:d,control:p}=Bl(),u=t.useSlots(),{defaultedTextInput:m,defaultedInline:c,defaultedConfig:f,defaultedUI:h}=Ze(o),y=t.ref(null),b=t.ref(0),x=t.ref(null),w=t.ref(!1),k=t.ref(null);t.onMounted(()=>{if(!o.shadow){w.value=!0,B(),window.addEventListener("resize",B);const $=ct(i);if($&&!m.value.enabled&&!c.value.enabled&&(s(!0),z()),$){const te=ce=>{f.value.allowPreventDefault&&ce.preventDefault(),ia(ce,f.value,!0)};$.addEventListener("pointerdown",te),$.addEventListener("mousedown",te)}}}),t.onUnmounted(()=>{window.removeEventListener("resize",B)});const B=()=>{const $=ct(x);$&&(b.value=$.getBoundingClientRect().width)},{arrowRight:V,arrowLeft:M,arrowDown:E,arrowUp:N}=ca(),{flowStep:A,updateFlowStep:q,childMount:U,resetFlow:X,handleFlow:Y}=H4(o,r,k),C=t.computed(()=>o.monthPicker?W3:o.yearPicker?U3:o.timePicker?l4:o.quarterPicker?B4:E4),I=t.computed(()=>{var $;if(f.value.arrowLeft)return f.value.arrowLeft;const te=($=i.value)==null?void 0:$.getBoundingClientRect(),ce=o.getInputRect();return(ce==null?void 0:ce.width)<(b==null?void 0:b.value)&&(ce==null?void 0:ce.left)<=((te==null?void 0:te.left)??0)?`${(ce==null?void 0:ce.width)/2}px`:(ce==null?void 0:ce.right)>=((te==null?void 0:te.right)??0)&&(ce==null?void 0:ce.width)<(b==null?void 0:b.value)?`${(b==null?void 0:b.value)-(ce==null?void 0:ce.width)/2}px`:"50%"}),z=()=>{const $=ct(i);$&&$.focus({preventScroll:!0})},W=t.computed(()=>{var $;return(($=k.value)==null?void 0:$.getSidebarProps())||{}}),de=()=>{o.openOnTop&&r("recalculate-position")},j=Vt(u,"action"),D=t.computed(()=>o.monthPicker||o.yearPicker?Vt(u,"monthYear"):o.timePicker?Vt(u,"timePicker"):Vt(u,"shared")),ie=t.computed(()=>o.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),ne=t.computed(()=>({dp__menu_disabled:o.disabled,dp__menu_readonly:o.readonly,"dp-menu-loading":o.loading})),K=t.computed(()=>({dp__menu:!0,dp__menu_index:!c.value.enabled,dp__relative:c.value.enabled,...h.value.menu??{}})),S=$=>{ia($,f.value,!0)},Q=()=>{o.escClose&&r("close-picker")},fe=$=>{if(o.arrowNavigation){if($===bt.up)return N();if($===bt.down)return E();if($===bt.left)return M();if($===bt.right)return V()}else $===bt.left||$===bt.up?L("handleArrow",bt.left,0,$===bt.up):L("handleArrow",bt.right,0,$===bt.down)},H=$=>{d($.shiftKey),!o.disableMonthYearSelect&&$.code===Ue.tab&&$.target.classList.contains("dp__menu")&&p.value.shiftKeyInMenu&&($.preventDefault(),ia($,f.value,!0),r("close-picker"))},ye=()=>{z(),r("time-picker-close")},Z=$=>{var te,ce,ge;(te=k.value)==null||te.toggleTimePicker(!1,!1),(ce=k.value)==null||ce.toggleMonthPicker(!1,!1,$),(ge=k.value)==null||ge.toggleYearPicker(!1,!1,$)},me=($,te=0)=>{var ce,ge,xe;return $==="month"?(ce=k.value)==null?void 0:ce.toggleMonthPicker(!1,!0,te):$==="year"?(ge=k.value)==null?void 0:ge.toggleYearPicker(!1,!0,te):$==="time"?(xe=k.value)==null?void 0:xe.toggleTimePicker(!0,!1):Z(te)},L=($,...te)=>{var ce,ge;(ce=k.value)!=null&&ce[$]&&((ge=k.value)==null||ge[$](...te))},v=()=>{L("selectCurrentDate")},g=($,te)=>{L("presetDate",$,te)},_=()=>{L("clearHoverDate")},F=($,te)=>{L("updateMonthYear",$,te)},O=($,te)=>{$.preventDefault(),fe(te)},J=$=>{var te,ce,ge;if(H($),$.key===Ue.home||$.key===Ue.end)return L("selectWeekDate",$.key===Ue.home,$.target.getAttribute("id"));switch(($.key===Ue.pageUp||$.key===Ue.pageDown)&&($.shiftKey?(L("changeYear",$.key===Ue.pageUp),(te=Yr(i.value,"overlay-year"))==null||te.focus()):(L("changeMonth",$.key===Ue.pageUp),(ce=Yr(i.value,$.key===Ue.pageUp?"action-prev":"action-next"))==null||ce.focus()),$.target.getAttribute("id")&&((ge=i.value)==null||ge.focus({preventScroll:!0}))),$.key){case Ue.esc:return Q();case Ue.arrowLeft:return O($,bt.left);case Ue.arrowRight:return O($,bt.right);case Ue.arrowUp:return O($,bt.up);case Ue.arrowDown:return O($,bt.down);default:return}};return a({updateMonthYear:F,switchView:me,handleFlow:Y}),($,te)=>{var ce,ge,xe;return t.openBlock(),t.createElementBlock("div",{id:$.uid?`dp-menu-${$.uid}`:void 0,ref_key:"dpMenuRef",ref:i,tabindex:t.unref(c).enabled?void 0:"0",role:t.unref(c).enabled?void 0:"dialog","aria-label":(ce=$.ariaLabels)==null?void 0:ce.menu,class:t.normalizeClass(K.value),style:t.normalizeStyle({"--dp-arrow-left":I.value}),onMouseleave:_,onClick:S,onKeydown:J},[($.disabled||$.readonly)&&t.unref(c).enabled||$.loading?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(ne.value)},[$.loading?(t.openBlock(),t.createElementBlock("div",V4,te[19]||(te[19]=[t.createElementVNode("span",{class:"dp--menu-loader"},null,-1)]))):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),$.$slots["menu-header"]?(t.openBlock(),t.createElementBlock("div",N4,[t.renderSlot($.$slots,"menu-header")])):t.createCommentVNode("",!0),!t.unref(c).enabled&&!$.teleportCenter?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(ie.value)},null,2)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"innerMenuRef",ref:x,class:t.normalizeClass({dp__menu_content_wrapper:((ge=$.presetDates)==null?void 0:ge.length)||!!$.$slots["left-sidebar"]||!!$.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((xe=$.presetDates)==null?void 0:xe.length)||!!$.$slots["left-sidebar"]||!!$.$slots["right-sidebar"])}),style:t.normalizeStyle({"--dp-menu-width":`${b.value}px`})},[$.$slots["left-sidebar"]?(t.openBlock(),t.createElementBlock("div",D4,[t.renderSlot($.$slots,"left-sidebar",t.normalizeProps(t.guardReactiveProps(W.value)))])):t.createCommentVNode("",!0),$.presetDates.length?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList($.presetDates,(ue,Me)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:Me},[ue.slot?t.renderSlot($.$slots,ue.slot,{key:0,presetDate:g,label:ue.label,value:ue.value}):(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",style:t.normalizeStyle(ue.style||{}),class:t.normalizeClass(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test":ue.testId??void 0,onClick:t.withModifiers(Ne=>g(ue.value,ue.noTz),["prevent"]),onKeydown:Ne=>t.unref(wt)(Ne,()=>g(ue.value,ue.noTz),!0)},t.toDisplayString(ue.label),47,_4))],64))),128))],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"calendarWrapperRef",ref:y,class:"dp__instance_calendar",role:"document"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(C.value),t.mergeProps({ref_key:"dynCmpRef",ref:k},l.value,{"flow-step":t.unref(A),onMount:t.unref(U),onUpdateFlowStep:t.unref(q),onResetFlow:t.unref(X),onFocusMenu:z,onSelectDate:te[0]||(te[0]=ue=>$.$emit("select-date")),onDateUpdate:te[1]||(te[1]=ue=>$.$emit("date-update",ue)),onTooltipOpen:te[2]||(te[2]=ue=>$.$emit("tooltip-open",ue)),onTooltipClose:te[3]||(te[3]=ue=>$.$emit("tooltip-close",ue)),onAutoApply:te[4]||(te[4]=ue=>$.$emit("auto-apply",ue)),onRangeStart:te[5]||(te[5]=ue=>$.$emit("range-start",ue)),onRangeEnd:te[6]||(te[6]=ue=>$.$emit("range-end",ue)),onInvalidFixedRange:te[7]||(te[7]=ue=>$.$emit("invalid-fixed-range",ue)),onTimeUpdate:te[8]||(te[8]=ue=>$.$emit("time-update")),onAmPmChange:te[9]||(te[9]=ue=>$.$emit("am-pm-change",ue)),onTimePickerOpen:te[10]||(te[10]=ue=>$.$emit("time-picker-open",ue)),onTimePickerClose:ye,onRecalculatePosition:de,onUpdateMonthYear:te[11]||(te[11]=ue=>$.$emit("update-month-year",ue)),onAutoApplyInvalid:te[12]||(te[12]=ue=>$.$emit("auto-apply-invalid",ue)),onInvalidDate:te[13]||(te[13]=ue=>$.$emit("invalid-date",ue)),onOverlayToggle:te[14]||(te[14]=ue=>$.$emit("overlay-toggle",ue)),"onUpdate:internalModelValue":te[15]||(te[15]=ue=>$.$emit("update:internal-model-value",ue))}),t.createSlots({_:2},[t.renderList(D.value,(ue,Me)=>({name:ue,fn:t.withCtx(Ne=>[t.renderSlot($.$slots,ue,t.normalizeProps(t.guardReactiveProps({...Ne})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),$.$slots["right-sidebar"]?(t.openBlock(),t.createElementBlock("div",T4,[t.renderSlot($.$slots,"right-sidebar",t.normalizeProps(t.guardReactiveProps(W.value)))])):t.createCommentVNode("",!0),$.$slots["action-extra"]?(t.openBlock(),t.createElementBlock("div",P4,[$.$slots["action-extra"]?t.renderSlot($.$slots,"action-extra",{key:0,selectCurrentDate:v}):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],6),!$.autoApply||t.unref(f).keepActionRow?(t.openBlock(),t.createBlock($3,t.mergeProps({key:3,"menu-mount":w.value},l.value,{"calendar-width":b.value,onClosePicker:te[16]||(te[16]=ue=>$.$emit("close-picker")),onSelectDate:te[17]||(te[17]=ue=>$.$emit("select-date")),onInvalidSelect:te[18]||(te[18]=ue=>$.$emit("invalid-select")),onSelectNow:v}),t.createSlots({_:2},[t.renderList(t.unref(j),(ue,Me)=>({name:ue,fn:t.withCtx(Ne=>[t.renderSlot($.$slots,ue,t.normalizeProps(t.guardReactiveProps({...Ne})))])}))]),1040,["menu-mount","calendar-width"])):t.createCommentVNode("",!0)],46,A4)}}});var qa=(e=>(e.center="center",e.left="left",e.right="right",e))(qa||{});const O4=({menuRef:e,menuRefInner:a,inputRef:n,pickerWrapperRef:r,inline:o,emit:i,props:l,slots:s})=>{const{defaultedConfig:d}=Ze(l),p=t.ref({}),u=t.ref(!1),m=t.ref({top:"0",left:"0"}),c=t.ref(!1),f=t.toRef(l,"teleportCenter");t.watch(f,()=>{m.value=JSON.parse(JSON.stringify({})),V()});const h=z=>{if(l.teleport){const W=z.getBoundingClientRect();return{left:W.left+window.scrollX,top:W.top+window.scrollY}}return{top:0,left:0}},y=(z,W)=>{m.value.left=`${z+W-p.value.width}px`},b=z=>{m.value.left=`${z}px`},x=(z,W)=>{l.position===qa.left&&b(z),l.position===qa.right&&y(z,W),l.position===qa.center&&(m.value.left=`${z+W/2-p.value.width/2}px`)},w=z=>{const{width:W,height:de}=z.getBoundingClientRect(),{top:j,left:D}=l.altPosition?l.altPosition(z):h(z);return{top:+j,left:+D,width:W,height:de}},k=()=>{m.value.left="50%",m.value.top="50%",m.value.transform="translate(-50%, -50%)",m.value.position="fixed",delete m.value.opacity},B=()=>{const z=ct(n),{top:W,left:de,transform:j}=l.altPosition(z);m.value={top:`${W}px`,left:`${de}px`,transform:j??""}},V=(z=!0)=>{var W;if(!o.value.enabled){if(f.value)return k();if(l.altPosition!==null)return B();if(z){const de=l.teleport?(W=a.value)==null?void 0:W.$el:e.value;de&&(p.value=de.getBoundingClientRect()),i("recalculate-position")}return X()}},M=({inputEl:z,left:W,width:de})=>{window.screen.width>768&&!u.value&&x(W,de),A(z)},E=z=>{const{top:W,left:de,height:j,width:D}=w(z);m.value.top=`${j+W+ +l.offset}px`,c.value=!1,u.value||(m.value.left=`${de+D/2-p.value.width/2}px`),M({inputEl:z,left:de,width:D})},N=z=>{const{top:W,left:de,width:j}=w(z);m.value.top=`${W-+l.offset-p.value.height}px`,c.value=!0,M({inputEl:z,left:de,width:j})},A=z=>{if(l.autoPosition){const{left:W,width:de}=w(z),{left:j,right:D}=p.value;if(!u.value){if(Math.abs(j)!==Math.abs(D)){if(j<=0)return u.value=!0,b(W);if(D>=document.documentElement.clientWidth)return u.value=!0,y(W,de)}return x(W,de)}}},q=()=>{const z=ct(n);if(z){const{height:W}=p.value,{top:de,height:j}=z.getBoundingClientRect(),D=window.innerHeight-de-j,ie=de;return W<=D?Ba.bottom:W>D&&W<=ie?Ba.top:D>=ie?Ba.bottom:Ba.top}return Ba.bottom},U=z=>q()===Ba.bottom?E(z):N(z),X=()=>{const z=ct(n);if(z)return l.autoPosition?U(z):E(z)},Y=function(z){if(z){const W=z.scrollHeight>z.clientHeight,de=window.getComputedStyle(z).overflowY.indexOf("hidden")!==-1;return W&&!de}return!0},C=function(z){return!z||z===document.body||z.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:Y(z)?z:C(z.assignedSlot&&d.value.shadowDom?z.assignedSlot.parentNode:z.parentNode)},I=z=>{if(z)switch(l.position){case qa.left:return{left:0,transform:"translateX(0)"};case qa.right:return{left:`${z.width}px`,transform:"translateX(-100%)"};default:return{left:`${z.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:c,menuStyle:m,xCorrect:u,setMenuPosition:V,getScrollableParent:C,shadowRender:(z,W)=>{var de,j,D;const ie=document.createElement("div"),ne=(de=ct(n))==null?void 0:de.getBoundingClientRect();ie.setAttribute("id","dp--temp-container");const K=(j=r.value)!=null&&j.clientWidth?r.value:document.body;K.append(ie);const S=I(ne),Q=d.value.shadowDom?Object.keys(s).filter(H=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(H)):Object.keys(s),fe=t.h(z,{...W,shadow:!0,style:{opacity:0,position:"absolute",...S}},Object.fromEntries(Q.map(H=>[H,s[H]])));t.render(fe,ie),p.value=(D=fe.el)==null?void 0:D.getBoundingClientRect(),t.render(null,ie),K.removeChild(ie)}}},da=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],F4=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],L4={all:()=>da,monthYear:()=>da.filter(e=>e.use.includes("month-year")),input:()=>F4,timePicker:()=>da.filter(e=>e.use.includes("time")),action:()=>da.filter(e=>e.use.includes("action")),calendar:()=>da.filter(e=>e.use.includes("calendar")),menu:()=>da.filter(e=>e.use.includes("menu")),shared:()=>da.filter(e=>e.use.includes("shared")),yearMode:()=>da.filter(e=>e.use.includes("year-mode"))},Vt=(e,a,n)=>{const r=[];return L4[a]().forEach(o=>{e[o.name]&&r.push(o.name)}),n!=null&&n.length&&n.forEach(o=>{o.slot&&r.push(o.slot)}),r},hn=e=>{const a=t.computed(()=>r=>e.value?r?e.value.open:e.value.close:""),n=t.computed(()=>r=>e.value?r?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:a,showTransition:!!e.value,menuTransition:n}},pn=(e,a,n)=>{const{defaultedRange:r,defaultedTz:o}=Ze(e),i=pe(At(pe(),o.value.timezone)),l=t.ref([{month:Oe(i),year:Ve(i)}]),s=c=>{const f={hours:Zt(i),minutes:oa(i),seconds:0};return r.value.enabled?[f[c],f[c]]:f[c]},d=t.reactive({hours:s("hours"),minutes:s("minutes"),seconds:s("seconds")});t.watch(r,(c,f)=>{c.enabled!==f.enabled&&(d.hours=s("hours"),d.minutes=s("minutes"),d.seconds=s("seconds"))},{deep:!0});const p=t.computed({get:()=>e.internalModelValue,set:c=>{!e.readonly&&!e.disabled&&a("update:internal-model-value",c)}}),u=t.computed(()=>c=>l.value[c]?l.value[c].month:0),m=t.computed(()=>c=>l.value[c]?l.value[c].year:0);return t.watch(p,(c,f)=>{n&&JSON.stringify(c??{})!==JSON.stringify(f??{})&&n()},{deep:!0}),{calendars:l,time:d,modelValue:p,month:u,year:m,today:i}},$4=(e,a)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedUI:o,defaultedHighlight:i,defaultedTz:l,propDates:s,defaultedRange:d}=Ze(a),{isDisabled:p}=ua(a),u=t.ref(null),m=t.ref(At(new Date,l.value.timezone)),c=S=>{!S.current&&a.hideOffsetDates||(u.value=S.value)},f=()=>{u.value=null},h=S=>Array.isArray(e.value)&&d.value.enabled&&e.value[0]&&u.value?S?it(u.value,e.value[0]):tt(u.value,e.value[0]):!0,y=(S,Q)=>{const fe=()=>e.value?Q?e.value[0]||null:e.value[1]:null,H=e.value&&Array.isArray(e.value)?fe():null;return Fe(pe(S.value),H)},b=S=>{const Q=Array.isArray(e.value)?e.value[0]:null;return S?!tt(u.value??null,Q):!0},x=(S,Q=!0)=>(d.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!S.current?!1:Fe(pe(S.value),e.value[Q?0:1]):d.value.enabled?y(S,Q)&&b(Q)||Fe(S.value,Array.isArray(e.value)?e.value[0]:null)&&h(Q):!1,w=(S,Q)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const fe=Fe(S.value,u.value);return Q?it(e.value[0],S.value)&&fe:tt(e.value[0],S.value)&&fe}return!1},k=S=>!e.value||a.hideOffsetDates&&!S.current?!1:d.value.enabled?a.modelAuto&&Array.isArray(e.value)?Fe(S.value,e.value[0]?e.value[0]:m.value):!1:r.value.enabled&&Array.isArray(e.value)?e.value.some(Q=>Fe(Q,S.value)):Fe(S.value,e.value?e.value:m.value),B=S=>{if(d.value.autoRange||a.weekPicker){if(u.value){if(a.hideOffsetDates&&!S.current)return!1;const Q=Ot(u.value,+d.value.autoRange),fe=Qt(pe(u.value),a.weekStart);return a.weekPicker?Fe(fe[1],pe(S.value)):Fe(Q,pe(S.value))}return!1}return!1},V=S=>{if(d.value.autoRange||a.weekPicker){if(u.value){const Q=Ot(u.value,+d.value.autoRange);if(a.hideOffsetDates&&!S.current)return!1;const fe=Qt(pe(u.value),a.weekStart);return a.weekPicker?it(S.value,fe[0])&&tt(S.value,fe[1]):it(S.value,u.value)&&tt(S.value,Q)}return!1}return!1},M=S=>{if(d.value.autoRange||a.weekPicker){if(u.value){if(a.hideOffsetDates&&!S.current)return!1;const Q=Qt(pe(u.value),a.weekStart);return a.weekPicker?Fe(Q[0],S.value):Fe(u.value,S.value)}return!1}return!1},E=S=>zn(e.value,u.value,S.value),N=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,A=()=>a.modelAuto?ul(a.internalModelValue):!0,q=S=>{if(a.weekPicker)return!1;const Q=d.value.enabled?!x(S)&&!x(S,!1):!0;return!p(S.value)&&!k(S)&&!(!S.current&&a.hideOffsetDates)&&Q},U=S=>d.value.enabled?a.modelAuto?N()&&k(S):!1:k(S),X=S=>i.value?c3(S.value,s.value.highlight):!1,Y=S=>{const Q=p(S.value);return Q&&(typeof i.value=="function"?!i.value(S.value,Q):!i.value.options.highlightDisabled)},C=S=>{var Q;return typeof i.value=="function"?i.value(S.value):(Q=i.value.weekdays)==null?void 0:Q.includes(S.value.getDay())},I=S=>(d.value.enabled||a.weekPicker)&&(!(n.value.count>0)||S.current)&&A()&&!(!S.current&&a.hideOffsetDates)&&!k(S)?E(S):!1,z=S=>{const{isRangeStart:Q,isRangeEnd:fe}=D(S),H=d.value.enabled?Q||fe:!1;return{dp__cell_offset:!S.current,dp__pointer:!a.disabled&&!(!S.current&&a.hideOffsetDates)&&!p(S.value),dp__cell_disabled:p(S.value),dp__cell_highlight:!Y(S)&&(X(S)||C(S))&&!U(S)&&!H&&!M(S)&&!(I(S)&&a.weekPicker)&&!fe,dp__cell_highlight_active:!Y(S)&&(X(S)||C(S))&&U(S),dp__today:!a.noToday&&Fe(S.value,m.value)&&S.current,"dp--past":tt(S.value,m.value),"dp--future":it(S.value,m.value)}},W=S=>({dp__active_date:U(S),dp__date_hover:q(S)}),de=S=>{if(e.value&&!Array.isArray(e.value)){const Q=Qt(e.value,a.weekStart);return{...ne(S),dp__range_start:Fe(Q[0],S.value),dp__range_end:Fe(Q[1],S.value),dp__range_between_week:it(S.value,Q[0])&&tt(S.value,Q[1])}}return{...ne(S)}},j=S=>{if(e.value&&Array.isArray(e.value)){const Q=Qt(e.value[0],a.weekStart),fe=e.value[1]?Qt(e.value[1],a.weekStart):[];return{...ne(S),dp__range_start:Fe(Q[0],S.value)||Fe(fe[0],S.value),dp__range_end:Fe(Q[1],S.value)||Fe(fe[1],S.value),dp__range_between_week:it(S.value,Q[0])&&tt(S.value,Q[1])||it(S.value,fe[0])&&tt(S.value,fe[1]),dp__range_between:it(S.value,Q[1])&&tt(S.value,fe[0])}}return{...ne(S)}},D=S=>{const Q=n.value.count>0?S.current&&x(S)&&A():x(S)&&A(),fe=n.value.count>0?S.current&&x(S,!1)&&A():x(S,!1)&&A();return{isRangeStart:Q,isRangeEnd:fe}},ie=S=>{const{isRangeStart:Q,isRangeEnd:fe}=D(S);return{dp__range_start:Q,dp__range_end:fe,dp__range_between:I(S),dp__date_hover:Fe(S.value,u.value)&&!Q&&!fe&&!a.weekPicker,dp__date_hover_start:w(S,!0),dp__date_hover_end:w(S,!1)}},ne=S=>({...ie(S),dp__cell_auto_range:V(S),dp__cell_auto_range_start:M(S),dp__cell_auto_range_end:B(S)}),K=S=>d.value.enabled?d.value.autoRange?ne(S):a.modelAuto?{...W(S),...ie(S)}:a.weekPicker?j(S):ie(S):a.weekPicker?de(S):W(S);return{setHoverDate:c,clearHoverDate:f,getDayClassData:S=>a.hideOffsetDates&&!S.current?{}:{...z(S),...K(S),[a.dayClass?a.dayClass(S.value,a.internalModelValue):""]:!0,...o.value.calendarCell??{}}}},ua=e=>{const{defaultedFilters:a,defaultedRange:n,propDates:r,defaultedMultiDates:o}=Ze(e),i=C=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(pe(C)):!!Rn(C,r.value.disabledDates):!1,l=C=>r.value.maxDate?e.yearPicker?Ve(C)>Ve(r.value.maxDate):it(C,r.value.maxDate):!1,s=C=>r.value.minDate?e.yearPicker?Ve(C)<Ve(r.value.minDate):tt(C,r.value.minDate):!1,d=C=>{const I=l(C),z=s(C),W=i(C),de=a.value.months.map(K=>+K).includes(Oe(C)),j=e.disabledWeekDays.length?e.disabledWeekDays.some(K=>+K===Q2(C)):!1,D=f(C),ie=Ve(C),ne=ie<+e.yearRange[0]||ie>+e.yearRange[1];return!(I||z||W||de||ne||j||D)},p=(C,I)=>tt(...sa(r.value.minDate,C,I))||Fe(...sa(r.value.minDate,C,I)),u=(C,I)=>it(...sa(r.value.maxDate,C,I))||Fe(...sa(r.value.maxDate,C,I)),m=(C,I,z)=>{let W=!1;return r.value.maxDate&&z&&u(C,I)&&(W=!0),r.value.minDate&&!z&&p(C,I)&&(W=!0),W},c=(C,I,z,W)=>{let de=!1;return W&&(r.value.minDate||r.value.maxDate)?r.value.minDate&&r.value.maxDate?de=m(C,I,z):(r.value.minDate&&p(C,I)||r.value.maxDate&&u(C,I))&&(de=!0):de=!0,de},f=C=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!Rn(C,r.value.allowedDates):!1,h=C=>!d(C),y=C=>n.value.noDisabledRange?!zi({start:C[0],end:C[1]}).some(I=>h(I)):!0,b=C=>{if(C){const I=Ve(C);return I>=+e.yearRange[0]&&I<=e.yearRange[1]}return!0},x=(C,I)=>!!(Array.isArray(C)&&C[I]&&(n.value.maxRange||n.value.minRange)&&b(C[I])),w=(C,I,z=0)=>{if(x(I,z)&&b(C)){const W=Li(C,I[z]),de=bl(I[z],C),j=de.length===1?0:de.filter(ie=>h(ie)).length,D=Math.abs(W)-(n.value.minMaxRawRange?0:j);if(n.value.minRange&&n.value.maxRange)return D>=+n.value.minRange&&D<=+n.value.maxRange;if(n.value.minRange)return D>=+n.value.minRange;if(n.value.maxRange)return D<=+n.value.maxRange}return!0},k=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,B=C=>Array.isArray(C)?[C[0]?eo(C[0]):null,C[1]?eo(C[1]):null]:eo(C),V=(C,I,z)=>C.find(W=>+W.hours===Zt(I)&&W.minutes==="*"?!0:+W.minutes===oa(I)&&+W.hours===Zt(I))&&z,M=(C,I,z)=>{const[W,de]=C,[j,D]=I;return!V(W,j,z)&&!V(de,D,z)&&z},E=(C,I)=>{const z=Array.isArray(I)?I:[I];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?M(e.disabledTimes,z,C):!z.some(W=>V(e.disabledTimes,W,C)):C},N=(C,I)=>{const z=Array.isArray(I)?[Va(I[0]),I[1]?Va(I[1]):void 0]:Va(I),W=!e.disabledTimes(z);return C&&W},A=(C,I)=>e.disabledTimes?Array.isArray(e.disabledTimes)?E(I,C):N(I,C):I,q=C=>{let I=!0;if(!C||k())return!0;const z=!r.value.minDate&&!r.value.maxDate?B(C):C;return(e.maxTime||r.value.maxDate)&&(I=Cl(e.maxTime,r.value.maxDate,"max",mt(z),I)),(e.minTime||r.value.minDate)&&(I=Cl(e.minTime,r.value.minDate,"min",mt(z),I)),A(C,I)},U=C=>{if(!e.monthPicker)return!0;let I=!0;const z=pe(Ht(C));if(r.value.minDate&&r.value.maxDate){const W=pe(Ht(r.value.minDate)),de=pe(Ht(r.value.maxDate));return it(z,W)&&tt(z,de)||Fe(z,W)||Fe(z,de)}if(r.value.minDate){const W=pe(Ht(r.value.minDate));I=it(z,W)||Fe(z,W)}if(r.value.maxDate){const W=pe(Ht(r.value.maxDate));I=tt(z,W)||Fe(z,W)}return I},X=t.computed(()=>C=>!e.enableTimePicker||e.ignoreTimeValidation?!0:q(C)),Y=t.computed(()=>C=>e.monthPicker?Array.isArray(C)&&(n.value.enabled||o.value.enabled)?!C.filter(I=>!U(I)).length:U(C):!0);return{isDisabled:h,validateDate:d,validateMonthYearInRange:c,isDateRangeAllowed:y,checkMinMaxRange:w,isValidTime:q,isTimeValid:X,isMonthValid:Y}},Yn=()=>{const e=t.computed(()=>(r,o)=>r==null?void 0:r.includes(o)),a=t.computed(()=>(r,o)=>r.count?r.solo?!0:o===0:!0),n=t.computed(()=>(r,o)=>r.count?r.solo?!0:o===r.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:a,showRightIcon:n}},H4=(e,a,n)=>{const r=t.ref(0),o=t.reactive({[Aa.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[Aa.calendar]:!1,[Aa.header]:!1}),i=t.computed(()=>e.monthPicker||e.timePicker),l=m=>{var c;if((c=e.flow)!=null&&c.length){if(!m&&i.value)return u();o[m]=!0,Object.keys(o).filter(f=>!o[f]).length||u()}},s=()=>{var m,c;(m=e.flow)!=null&&m.length&&r.value!==-1&&(r.value+=1,a("flow-step",r.value),u()),((c=e.flow)==null?void 0:c.length)===r.value&&t.nextTick().then(()=>d())},d=()=>{r.value=-1},p=(m,c,...f)=>{var h,y;e.flow[r.value]===m&&n.value&&((y=(h=n.value)[c])==null||y.call(h,...f))},u=(m=0)=>{m&&(r.value+=m),p(yt.month,"toggleMonthPicker",!0),p(yt.year,"toggleYearPicker",!0),p(yt.calendar,"toggleTimePicker",!1,!0),p(yt.time,"toggleTimePicker",!0,!0);const c=e.flow[r.value];(c===yt.hours||c===yt.minutes||c===yt.seconds)&&p(c,"toggleTimePicker",!0,!0,c)};return{childMount:l,updateFlowStep:s,resetFlow:d,handleFlow:u,flowStep:r}},R4={key:1,class:"dp__input_wrap"},z4=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],I4={key:2,class:"dp--clear-btn"},G4=["aria-label"],j4=t.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...jn},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:a,emit:n}){const r=n,o=e,{defaultedTextInput:i,defaultedAriaLabels:l,defaultedInline:s,defaultedConfig:d,defaultedRange:p,defaultedMultiDates:u,defaultedUI:m,getDefaultPattern:c,getDefaultStartTime:f}=Ze(o),{checkMinMaxRange:h}=ua(o),y=t.ref(),b=t.ref(null),x=t.ref(!1),w=t.ref(!1),k=t.computed(()=>({dp__pointer:!o.disabled&&!o.readonly&&!i.value.enabled,dp__disabled:o.disabled,dp__input_readonly:!i.value.enabled,dp__input:!0,dp__input_icon_pad:!o.hideInputIcon,dp__input_valid:typeof o.state=="boolean"?o.state:!1,dp__input_invalid:typeof o.state=="boolean"?!o.state:!1,dp__input_focus:x.value||o.isMenuOpen,dp__input_reg:!i.value.enabled,...m.value.input??{}})),B=()=>{r("set-input-date",null),o.clearable&&o.autoApply&&(r("set-empty-date"),y.value=null)},V=D=>{const ie=f();return d3(D,i.value.format??c(),ie??wl({},o.enableSeconds),o.inputValue,w.value,o.formatLocale)},M=D=>{const{rangeSeparator:ie}=i.value,[ne,K]=D.split(`${ie}`);if(ne){const S=V(ne.trim()),Q=K?V(K.trim()):null;if($a(S,Q))return;const fe=S&&Q?[S,Q]:[S];h(Q,fe,0)&&(y.value=S?fe:null)}},E=()=>{w.value=!0},N=D=>{if(p.value.enabled)M(D);else if(u.value.enabled){const ie=D.split(";");y.value=ie.map(ne=>V(ne.trim())).filter(ne=>ne)}else y.value=V(D)},A=D=>{var ie;const ne=typeof D=="string"?D:(ie=D.target)==null?void 0:ie.value;ne!==""?(i.value.openMenu&&!o.isMenuOpen&&r("open"),N(ne),r("set-input-date",y.value)):B(),w.value=!1,r("update:input-value",ne),r("text-input",D,y.value)},q=D=>{i.value.enabled?(N(D.target.value),i.value.enterSubmit&&Qr(y.value)&&o.inputValue!==""?(r("set-input-date",y.value,!0),y.value=null):i.value.enterSubmit&&o.inputValue===""&&(y.value=null,r("clear"))):Y(D)},U=(D,ie)=>{i.value.enabled&&i.value.tabSubmit&&!ie&&N(D.target.value),i.value.tabSubmit&&Qr(y.value)&&o.inputValue!==""?(r("set-input-date",y.value,!0,!0),y.value=null):i.value.tabSubmit&&o.inputValue===""&&(y.value=null,r("clear",!0))},X=()=>{x.value=!0,r("focus"),t.nextTick().then(()=>{var D;i.value.enabled&&i.value.selectOnFocus&&((D=b.value)==null||D.select())})},Y=D=>{if(ia(D,d.value,!0),i.value.enabled&&i.value.openMenu&&!s.value.input){if(i.value.openMenu==="open"&&!o.isMenuOpen)return r("open");if(i.value.openMenu==="toggle")return r("toggle")}else i.value.enabled||r("toggle")},C=()=>{r("real-blur"),x.value=!1,(!o.isMenuOpen||s.value.enabled&&s.value.input)&&r("blur"),o.autoApply&&i.value.enabled&&y.value&&!o.isMenuOpen&&(r("set-input-date",y.value),r("select-date"),y.value=null)},I=D=>{ia(D,d.value,!0),r("clear")},z=D=>{if(D.key==="Tab"&&U(D),D.key==="Enter"&&q(D),!i.value.enabled){if(D.code==="Tab")return;D.preventDefault()}},W=()=>{var D;(D=b.value)==null||D.focus({preventScroll:!0})},de=D=>{y.value=D},j=D=>{D.key===Ue.tab&&U(D,!0)};return a({focusInput:W,setParsedDate:de}),(D,ie)=>{var ne,K,S;return t.openBlock(),t.createElementBlock("div",{onClick:Y},[D.$slots.trigger&&!D.$slots["dp-input"]&&!t.unref(s).enabled?t.renderSlot(D.$slots,"trigger",{key:0}):t.createCommentVNode("",!0),!D.$slots.trigger&&(!t.unref(s).enabled||t.unref(s).input)?(t.openBlock(),t.createElementBlock("div",R4,[D.$slots["dp-input"]&&!D.$slots.trigger&&(!t.unref(s).enabled||t.unref(s).enabled&&t.unref(s).input)?t.renderSlot(D.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:A,onEnter:q,onTab:U,onClear:I,onBlur:C,onKeypress:z,onPaste:E,onFocus:X,openMenu:()=>D.$emit("open"),closeMenu:()=>D.$emit("close"),toggleMenu:()=>D.$emit("toggle")}):t.createCommentVNode("",!0),D.$slots["dp-input"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("input",{key:1,id:D.uid?`dp-input-${D.uid}`:void 0,ref_key:"inputRef",ref:b,"data-test":"dp-input",name:D.name,class:t.normalizeClass(k.value),inputmode:t.unref(i).enabled?"text":"none",placeholder:D.placeholder,disabled:D.disabled,readonly:D.readonly,required:D.required,value:e.inputValue,autocomplete:D.autocomplete,"aria-label":(ne=t.unref(l))==null?void 0:ne.input,"aria-disabled":D.disabled||void 0,"aria-invalid":D.state===!1?!0:void 0,onInput:A,onBlur:C,onFocus:X,onKeypress:z,onKeydown:ie[0]||(ie[0]=Q=>z(Q)),onPaste:E},null,42,z4)),t.createElementVNode("div",{onClick:ie[3]||(ie[3]=Q=>r("toggle"))},[D.$slots["input-icon"]&&!D.hideInputIcon?(t.openBlock(),t.createElementBlock("span",{key:0,class:"dp__input_icon",onClick:ie[1]||(ie[1]=Q=>r("toggle"))},[t.renderSlot(D.$slots,"input-icon")])):t.createCommentVNode("",!0),!D.$slots["input-icon"]&&!D.hideInputIcon&&!D.$slots["dp-input"]?(t.openBlock(),t.createBlock(t.unref(za),{key:1,"aria-label":(K=t.unref(l))==null?void 0:K.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:ie[2]||(ie[2]=Q=>r("toggle"))},null,8,["aria-label"])):t.createCommentVNode("",!0)]),D.$slots["clear-icon"]&&e.inputValue&&D.clearable&&!D.disabled&&!D.readonly?(t.openBlock(),t.createElementBlock("span",I4,[t.renderSlot(D.$slots,"clear-icon",{clear:I})])):t.createCommentVNode("",!0),D.clearable&&!D.$slots["clear-icon"]&&e.inputValue&&!D.disabled&&!D.readonly?(t.openBlock(),t.createElementBlock("button",{key:3,"aria-label":(S=t.unref(l))==null?void 0:S.clearInput,class:"dp--clear-btn",type:"button",onKeydown:ie[4]||(ie[4]=Q=>t.unref(wt)(Q,()=>I(Q),!0,j)),onClick:ie[5]||(ie[5]=t.withModifiers(Q=>I(Q),["prevent"]))},[t.createVNode(t.unref(sl),{class:"dp__input_icons","data-test":"clear-icon"})],40,G4)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])}}}),q4=typeof window<"u"?window:void 0,co=()=>{},W4=e=>t.getCurrentScope()?(t.onScopeDispose(e),!0):!1,Y4=(e,a,n,r)=>{if(!e)return co;let o=co;const i=t.watch(()=>t.unref(e),s=>{o(),s&&(s.addEventListener(a,n,r),o=()=>{s.removeEventListener(a,n,r),o=co})},{immediate:!0,flush:"post"}),l=()=>{i(),o()};return W4(l),l},U4=(e,a,n,r={})=>{const{window:o=q4,event:i="pointerdown"}=r;return o?Y4(o,i,l=>{const s=ct(e),d=ct(a);!s||!d||s===l.target||l.composedPath().includes(s)||l.composedPath().includes(d)||n(l)},{passive:!0}):void 0},X4=t.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...jn},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.useSlots(),l=t.ref(!1),s=t.toRef(o,"modelValue"),d=t.toRef(o,"timezone"),p=t.ref(null),u=t.ref(null),m=t.ref(null),c=t.ref(!1),f=t.ref(null),h=t.ref(!1),y=t.ref(!1),b=t.ref(!1),x=t.ref(!1),{setMenuFocused:w,setShiftKey:k}=Bl(),{clearArrowNav:B}=ca(),{validateDate:V,isValidTime:M}=ua(o),{defaultedTransitions:E,defaultedTextInput:N,defaultedInline:A,defaultedConfig:q,defaultedRange:U,defaultedMultiDates:X}=Ze(o),{menuTransition:Y,showTransition:C}=hn(E);t.onMounted(()=>{Q(o.modelValue),t.nextTick().then(()=>{if(!A.value.enabled){const T=ie(f.value);T==null||T.addEventListener("scroll",F),window==null||window.addEventListener("resize",O)}}),A.value.enabled&&(l.value=!0),window==null||window.addEventListener("keyup",J),window==null||window.addEventListener("keydown",$)}),t.onUnmounted(()=>{if(!A.value.enabled){const T=ie(f.value);T==null||T.removeEventListener("scroll",F),window==null||window.removeEventListener("resize",O)}window==null||window.removeEventListener("keyup",J),window==null||window.removeEventListener("keydown",$)});const I=Vt(i,"all",o.presetDates),z=Vt(i,"input");t.watch([s,d],()=>{Q(s.value)},{deep:!0});const{openOnTop:W,menuStyle:de,xCorrect:j,setMenuPosition:D,getScrollableParent:ie,shadowRender:ne}=O4({menuRef:p,menuRefInner:u,inputRef:m,pickerWrapperRef:f,inline:A,emit:r,props:o,slots:i}),{inputValue:K,internalModelValue:S,parseExternalModelValue:Q,emitModelValue:fe,formatInputValue:H,checkBeforeEmit:ye}=P3(r,o,c),Z=t.computed(()=>({dp__main:!0,dp__theme_dark:o.dark,dp__theme_light:!o.dark,dp__flex_display:A.value.enabled,"dp--flex-display-collapsed":b.value,dp__flex_display_with_input:A.value.input})),me=t.computed(()=>o.dark?"dp__theme_dark":"dp__theme_light"),L=t.computed(()=>o.teleport?{to:typeof o.teleport=="boolean"?"body":o.teleport,disabled:!o.teleport||A.value.enabled}:{}),v=t.computed(()=>({class:"dp__outer_menu_wrap"})),g=t.computed(()=>A.value.enabled&&(o.timePicker||o.monthPicker||o.yearPicker||o.quarterPicker)),_=()=>{var T,ee;return(ee=(T=m.value)==null?void 0:T.$el)==null?void 0:ee.getBoundingClientRect()},F=()=>{l.value&&(q.value.closeOnScroll?Se():D())},O=()=>{var T;l.value&&D();const ee=(T=u.value)==null?void 0:T.$el.getBoundingClientRect().width;b.value=document.body.offsetWidth<=ee},J=T=>{T.key==="Tab"&&!A.value.enabled&&!o.teleport&&q.value.tabOutClosesMenu&&(f.value.contains(document.activeElement)||Se()),y.value=T.shiftKey},$=T=>{y.value=T.shiftKey},te=()=>{!o.disabled&&!o.readonly&&(ne(Ll,o),D(!1),l.value=!0,l.value&&r("open"),l.value||De(),Q(o.modelValue))},ce=()=>{var T;K.value="",De(),(T=m.value)==null||T.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),q.value.closeOnClearValue&&Se()},ge=()=>{const T=S.value;return!T||!Array.isArray(T)&&V(T)?!0:Array.isArray(T)?X.value.enabled||T.length===2&&V(T[0])&&V(T[1])?!0:U.value.partialRange&&!o.timePicker?V(T[0]):!1:!1},xe=()=>{ye()&&ge()?(fe(),Se()):r("invalid-select",S.value)},ue=T=>{Me(),fe(),q.value.closeOnAutoApply&&!T&&Se()},Me=()=>{m.value&&N.value.enabled&&m.value.setParsedDate(S.value)},Ne=(T=!1)=>{o.autoApply&&M(S.value)&&ge()&&(U.value.enabled&&Array.isArray(S.value)?(U.value.partialRange||S.value.length===2)&&ue(T):ue(T))},De=()=>{N.value.enabled||(S.value=null)},Se=()=>{A.value.enabled||(l.value&&(l.value=!1,j.value=!1,w(!1),k(!1),B(),r("closed"),K.value&&Q(s.value)),De(),r("blur"))},Le=(T,ee,le=!1)=>{if(!T){S.value=null;return}const be=Array.isArray(T)?!T.some(_e=>!V(_e)):V(T),Ae=M(T);be&&Ae?(x.value=!0,S.value=T,ee&&(h.value=le,xe(),r("text-submit")),t.nextTick().then(()=>{x.value=!1})):r("invalid-date",T)},Be=()=>{o.autoApply&&M(S.value)&&fe(),Me()},G=()=>l.value?Se():te(),ae=T=>{S.value=T},re=()=>{N.value.enabled&&(c.value=!0,H()),r("focus")},se=()=>{if(N.value.enabled&&(c.value=!1,Q(o.modelValue),h.value)){const T=s3(f.value,y.value);T==null||T.focus()}r("blur")},Ee=T=>{u.value&&u.value.updateMonthYear(0,{month:ml(T.month),year:ml(T.year)})},he=T=>{Q(T??o.modelValue)},ke=(T,ee)=>{var le;(le=u.value)==null||le.switchView(T,ee)},R=T=>q.value.onClickOutside?q.value.onClickOutside(T):Se(),P=(T=0)=>{var ee;(ee=u.value)==null||ee.handleFlow(T)};return U4(p,m,()=>R(ge)),a({closeMenu:Se,selectDate:xe,clearValue:ce,openMenu:te,onScroll:F,formatInputValue:H,updateInternalModelValue:ae,setMonthYear:Ee,parseModel:he,switchView:ke,toggleMenu:G,handleFlow:P,dpWrapMenuRef:p}),(T,ee)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:f,class:t.normalizeClass(Z.value),"data-datepicker-instance":""},[t.createVNode(j4,t.mergeProps({ref_key:"inputRef",ref:m,"input-value":t.unref(K),"onUpdate:inputValue":ee[0]||(ee[0]=le=>t.isRef(K)?K.value=le:null),"is-menu-open":l.value},T.$props,{onClear:ce,onOpen:te,onSetInputDate:Le,onSetEmptyDate:t.unref(fe),onSelectDate:xe,onToggle:G,onClose:Se,onFocus:re,onBlur:se,onRealBlur:ee[1]||(ee[1]=le=>c.value=!1),onTextInput:ee[2]||(ee[2]=le=>T.$emit("text-input",le))}),t.createSlots({_:2},[t.renderList(t.unref(z),(le,be)=>({name:le,fn:t.withCtx(Ae=>[t.renderSlot(T.$slots,le,t.normalizeProps(t.guardReactiveProps(Ae)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(T.teleport?t.Teleport:"div"),t.normalizeProps(t.guardReactiveProps(L.value)),{default:t.withCtx(()=>[t.createVNode(t.Transition,{name:t.unref(Y)(t.unref(W)),css:t.unref(C)&&!t.unref(A).enabled},{default:t.withCtx(()=>[l.value?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:p},v.value,{class:{"dp--menu-wrapper":!t.unref(A).enabled},style:t.unref(A).enabled?void 0:t.unref(de)}),[t.createVNode(Ll,t.mergeProps({ref_key:"dpMenuRef",ref:u},T.$props,{"internal-model-value":t.unref(S),"onUpdate:internalModelValue":ee[3]||(ee[3]=le=>t.isRef(S)?S.value=le:null),class:{[me.value]:!0,"dp--menu-wrapper":T.teleport},"open-on-top":t.unref(W),"no-overlay-focus":g.value,collapse:b.value,"get-input-rect":_,"is-text-input-date":x.value,onClosePicker:Se,onSelectDate:xe,onAutoApply:Ne,onTimeUpdate:Be,onFlowStep:ee[4]||(ee[4]=le=>T.$emit("flow-step",le)),onUpdateMonthYear:ee[5]||(ee[5]=le=>T.$emit("update-month-year",le)),onInvalidSelect:ee[6]||(ee[6]=le=>T.$emit("invalid-select",t.unref(S))),onAutoApplyInvalid:ee[7]||(ee[7]=le=>T.$emit("invalid-select",le)),onInvalidFixedRange:ee[8]||(ee[8]=le=>T.$emit("invalid-fixed-range",le)),onRecalculatePosition:t.unref(D),onTooltipOpen:ee[9]||(ee[9]=le=>T.$emit("tooltip-open",le)),onTooltipClose:ee[10]||(ee[10]=le=>T.$emit("tooltip-close",le)),onTimePickerOpen:ee[11]||(ee[11]=le=>T.$emit("time-picker-open",le)),onTimePickerClose:ee[12]||(ee[12]=le=>T.$emit("time-picker-close",le)),onAmPmChange:ee[13]||(ee[13]=le=>T.$emit("am-pm-change",le)),onRangeStart:ee[14]||(ee[14]=le=>T.$emit("range-start",le)),onRangeEnd:ee[15]||(ee[15]=le=>T.$emit("range-end",le)),onDateUpdate:ee[16]||(ee[16]=le=>T.$emit("date-update",le)),onInvalidDate:ee[17]||(ee[17]=le=>T.$emit("invalid-date",le)),onOverlayToggle:ee[18]||(ee[18]=le=>T.$emit("overlay-toggle",le))}),t.createSlots({_:2},[t.renderList(t.unref(I),(le,be)=>({name:le,fn:t.withCtx(Ae=>[t.renderSlot(T.$slots,le,t.normalizeProps(t.guardReactiveProps({...Ae})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):t.createCommentVNode("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),gn=(()=>{const e=X4;return e.install=a=>{a.component("Vue3DatePicker",e)},e})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:gn},Symbol.toStringTag,{value:"Module"}))).forEach(([e,a])=>{e!=="default"&&(gn[e]=a)});const Z4={name:"ModalComponent",props:{modelValue:{type:Boolean,required:!0}},methods:{closeModal(){this.$emit("update:modelValue",!1)}}},Q4={key:0,class:"modal-head text-white"},K4={class:"modal_responsive"},J4={class:"flex min-h-full items-center justify-center text-center"},eu={class:"modal-size w-full"},tu={class:"modal-background bg-base-200"},au={class:"modal-title"},nu={class:"modal-body bg-base-300"},ru={class:"modal-footer"};function ou(e,a,n,r,o,i){return n.modelValue?(t.openBlock(),t.createElementBlock("div",Q4,[a[2]||(a[2]=t.createElementVNode("div",{class:"modal-overlay"},null,-1)),t.createElementVNode("div",K4,[t.createElementVNode("div",J4,[t.createElementVNode("div",eu,[t.createElementVNode("div",tu,[t.createElementVNode("header",au,[t.renderSlot(e.$slots,"title",{},void 0,!0),t.createElementVNode("button",{class:"close-button",onClick:a[0]||(a[0]=(...l)=>i.closeModal&&i.closeModal(...l))},a[1]||(a[1]=[t.createElementVNode("svg",{class:"w-6 h-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18 17.94 6M18 18 6.06 6"})],-1)]))]),t.createElementVNode("div",nu,[t.renderSlot(e.$slots,"body",{},void 0,!0)]),t.createElementVNode("footer",ru,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])])])])])])):t.createCommentVNode("",!0)}const $l=qe(Z4,[["render",ou],["__scopeId","data-v-e2c896dc"]]),iu={class:"container"},lu={class:"form-group"},su={class:"form-group"},cu={class:"form-group"},du=qe({__name:"reminder",props:{currentChat:{type:Object,default:{id:null,contact:{segmentation_fields:[]}}},theme:{type:Boolean,default:!0},date:Date,token:String},setup(e){const a=e,n=t.ref({schedule:{time:a.date,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,type:"unique"},title:"",content:"",type:"reminders"});return(r,o)=>(t.openBlock(),t.createElementBlock("div",iu,[t.createElementVNode("div",lu,[o[4]||(o[4]=t.createElementVNode("label",{for:"contentInput"},"Horário",-1)),t.createVNode(t.unref(gn),{format:"HH:mm","auto-apply":"true","time-picker":!0,locale:"pt-BR","cancel-text":"Cancelar","select-text":"Confirmar","enable-time-picker":!0,"min-date":new Date,"text-input":"",dark:e.theme,modelValue:n.value.schedule.time,"onUpdate:modelValue":o[0]||(o[0]=i=>n.value.schedule.time=i)},{"clear-icon":t.withCtx(({clear:i})=>o[3]||(o[3]=[])),_:1},8,["min-date","dark","modelValue"])]),t.createElementVNode("div",su,[o[5]||(o[5]=t.createElementVNode("label",{for:"titleInput"},"Título",-1)),t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":o[1]||(o[1]=i=>n.value.title=i),id:"titleInput",placeholder:"Remédio",class:"input bg-base-200"},null,512),[[t.vModelText,n.value.title]])]),t.createElementVNode("div",cu,[o[6]||(o[6]=t.createElementVNode("label",{for:"contentInput"},"Conteúdo",-1)),t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":o[2]||(o[2]=i=>n.value.content=i),id:"contentInput",placeholder:"Não esquecer do remédio de alzheimer",class:"areaInput bg-base-200"},null,512),[[t.vModelText,n.value.content]])]),o[7]||(o[7]=t.createElementVNode("div",{class:"button-container"},[t.createElementVNode("button",{class:"save-button"},"Salvar")],-1))]))}},[["__scopeId","data-v-2727b591"]]);function uu(e){return{all:e=e||new Map,on:function(a,n){var r=e.get(a);r?r.push(n):e.set(a,[n])},off:function(a,n){var r=e.get(a);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(a,[]))},emit:function(a,n){var r=e.get(a);r&&r.slice().map(function(o){o(n)}),(r=e.get("*"))&&r.slice().map(function(o){o(a,n)})}}}const Hl=uu();let Rl=0;const mu=()=>{const e=Rl;return Rl+=1,e},zl=(e,a)=>{const n={...e,id:mu(),group:e.group||""};return Hl.emit("notify",{notification:n,timeout:a}),()=>Hl.emit("close",n.id)},fu={class:"container"},hu={class:"form-group"},pu={class:"form-group"},gu={key:0,class:"custom-fields-container border border-base-100"},yu={class:"custom-fields-header bg-base-300"},ku={class:"custom-fields-list"},xu=["onClick"],bu={key:1,class:"file-container bg-base-100"},wu={class:"file-actions"},vu={class:"button-container"},Eu=["disabled"],Cu={key:0,class:"inline-block h-4 w-4 animate-spin rounded-full border-2 border-solid border-current border-e-transparent motion-reduce:animate-[spin_1.5s_linear_infinite]"},Su=qe({__name:"sheduledMessage",props:{currentChat:{type:Object,default:{id:null,contact:{segmentation_fields:[]}}},theme:{type:Boolean,default:!0},date:{type:Date,required:!0},token:String,event:Object||null},emits:["close"],setup(e,{emit:a}){const n=e,r=t.ref(!1),o=a,i=t.ref("post"),l=t.ref({message:[{type:"text",content:""}],schedule:{time:n.date,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,type:"unique"},chat_id:n.currentChat.id||null});t.onMounted(()=>{n.event?(l.value=n.event.params,i.value="patch"):l.value.schedule.time=u(n.date,l.value.schedule.time)});const s=t.ref(null);function d(c){l.value.message[0].content+=` {${c.name}} `,t.nextTick(()=>{s.value.focus()})}t.ref(null);function p(c){const f=c.getFullYear(),h=String(c.getMonth()+1).padStart(2,"0"),y=String(c.getDate()).padStart(2,"0"),b=String(c.getHours()).padStart(2,"0"),x=String(c.getMinutes()).padStart(2,"0");return`${f}-${h}-${y} ${b}:${x}`}function u(c,f){const h=new Date(c);return h.setHours(f.hours),h.setMinutes(f.minutes),h.setSeconds(f.seconds||0),p(h)}async function m(){r.value=!0;try{const c=JSON.parse(JSON.stringify(l.value));c.schedule.time=u(n.date,c.schedule.time);const f=await Qe[i.value](`http://localhost:8000/v1/api/crm/event/scheduled_message/${l.value.event_id?`${l.value.event_id}/`:""}`,{...c},{headers:{Authorization:`Bearer ${n.token}`}});zl({group:"success",title:"Sucesso",text:f.data.message},2e3),o("close",!1)}catch(c){zl({group:"error",title:"Erro",text:c.response.data.message},2e3)}finally{r.value=!1}}return(c,f)=>{const h=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("div",fu,[t.createTextVNode(t.toDisplayString(l.value.schedule.time)+" ",1),t.createElementVNode("div",hu,[f[4]||(f[4]=t.createElementVNode("label",{for:"contentInput"},"Horário",-1)),t.createVNode(t.unref(gn),{"auto-apply":"true","time-picker":!0,locale:"pt-BR","cancel-text":"Cancelar","select-text":"Confirmar","enable-time-picker":!0,"min-date":new Date,"text-input":"",dark:e.theme,modelValue:l.value.schedule.time,"onUpdate:modelValue":f[0]||(f[0]=y=>l.value.schedule.time=y)},{"clear-icon":t.withCtx(({clear:y})=>f[3]||(f[3]=[])),_:1},8,["min-date","dark","modelValue"])]),t.createElementVNode("div",pu,[f[5]||(f[5]=t.createElementVNode("label",{for:"contentInput"},"Conteúdo",-1)),t.withDirectives(t.createElementVNode("textarea",{id:"sheduleMessageArea",ref_key:"textareaRef",ref:s,autofocus:"","onUpdate:modelValue":f[1]||(f[1]=y=>l.value.message[0].content=y),placeholder:"Olá cliente, tudo bem?",class:"input bg-base-200"},null,512),[[t.vModelText,l.value.message[0].content]])]),e.currentChat.contact&&e.currentChat.contact.segmentation_fields.length>0?(t.openBlock(),t.createElementBlock("div",gu,[t.createElementVNode("div",yu,[f[8]||(f[8]=t.createTextVNode(" Campos personalizáveis disponíveis ")),t.createVNode(h,{placement:"top",arrow:!0,hover:!0,class:"info",content:""},{content:t.withCtx(()=>f[6]||(f[6]=[t.createElementVNode("p",{class:"info-content"}," Ao enviar a mensagem para o cliente o valor deste campo será substituído pelo valor correspondente no momento do envio ",-1)])),default:t.withCtx(()=>[f[7]||(f[7]=t.createElementVNode("svg",{class:"info-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm9.4-5.5a1 1 0 1 0 0 2 1 1 0 1 0 0-2ZM10 10a1 1 0 1 0 0 2h1v3h-1a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2h-1v-4c0-.6-.4-1-1-1h-2Z","clip-rule":"evenodd"})],-1))]),_:1,__:[7]})]),t.createElementVNode("div",ku,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.globalStore.messageStore.currentChat.contact.segmentation_fields,y=>(t.openBlock(),t.createElementBlock("div",{onClick:b=>d(y),key:y,class:"custom-field bg-primary"},t.toDisplayString(y.name),9,xu))),128))])])):t.createCommentVNode("",!0),l.value.file?(t.openBlock(),t.createElementBlock("div",bu,[t.createElementVNode("p",null,t.toDisplayString(l.value.fileName),1),t.createElementVNode("div",wu,[t.createElementVNode("button",{onClick:f[2]||(f[2]=y=>l.value.file=""),class:"file-remove-button"},f[9]||(f[9]=[t.createElementVNode("svg",{class:"file-remove-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z","clip-rule":"evenodd"})],-1)]))])])):t.createCommentVNode("",!0),t.createElementVNode("div",vu,[t.createElementVNode("button",{disabled:r.value,onClick:m,class:"save-button text-white"},[r.value?(t.openBlock(),t.createElementBlock("div",Cu)):t.createCommentVNode("",!0),f[10]||(f[10]=t.createTextVNode(" Salvar "))],8,Eu)])])}}},[["__scopeId","data-v-1d2f0f94"]]),Mu={key:0},Bu={key:1},Au={class:"main-container"},Vu={key:0,class:"select-container"},Nu=["value"],Du=qe({__name:"createEvents",props:{modal:Boolean,date:Date,token:String,currentChat:Object,currentEvent:Object||null},emits:["close"],setup(e,{emit:a}){const n=[{type:"scheduled_messages",name:"Mensagens programadas"},{type:"reminders",name:"Lembrete"}],r=t.ref("reminders"),o=t.ref(null),i=e;t.onMounted(()=>{i.currentEvent&&(r.value=i.currentEvent.function)});const l=a;function s(u){const m={day:"numeric",month:"long",year:"numeric"};return u.toLocaleDateString("pt-BR",m)}const d=t.ref(i.modal);t.watch(()=>i.modal,u=>{d.value=u}),t.watch(d,u=>{u||l("close")});function p(u){o.value=u}return(u,m)=>(t.openBlock(),t.createBlock($l,{modelValue:d.value,"onUpdate:modelValue":m[3]||(m[3]=c=>d.value=c)},{title:t.withCtx(()=>[e.currentEvent===null?(t.openBlock(),t.createElementBlock("div",Mu," Novo evento "+t.toDisplayString(s(e.date)),1)):(t.openBlock(),t.createElementBlock("div",Bu,t.toDisplayString(e.currentEvent.title)+" - "+t.toDisplayString(e.currentEvent.date.split("-").reverse().join("/"))+" "+t.toDisplayString(e.currentEvent.hours),1))]),body:t.withCtx(()=>[t.createElementVNode("main",Au,[e.currentEvent===null?(t.openBlock(),t.createElementBlock("div",Vu,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":m[0]||(m[0]=c=>r.value=c),class:"custom-select bg-base-100"},[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(n,c=>t.createElementVNode("option",{value:c.type,key:c.type},t.toDisplayString(c.name),9,Nu)),64))],512),[[t.vModelSelect,r.value]]),m[4]||(m[4]=t.createElementVNode("svg",{class:"select-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.425 10.271C19.499 8.967 18.57 7 16.88 7H7.12c-1.69 0-2.618 1.967-1.544 3.271l4.881 5.927a2 2 0 0 0 3.088 0l4.88-5.927Z","clip-rule":"evenodd"})],-1))])):t.createCommentVNode("",!0),r.value==="reminders"?(t.openBlock(),t.createBlock(du,{key:1,onClose:m[1]||(m[1]=c=>d.value=!1),token:e.token,date:e.date,onConfig:p},null,8,["token","date"])):r.value==="scheduled_messages"?(t.openBlock(),t.createBlock(Su,{key:2,event:e.currentEvent,currentChat:e.currentChat,onClose:m[2]||(m[2]=c=>d.value=!1),token:e.token,date:e.date},null,8,["event","currentChat","token","date"])):t.createCommentVNode("",!0)])]),_:1},8,["modelValue"]))}},[["__scopeId","data-v-5dd1aceb"]]),_u={class:"calendar-container text-white"},Tu={class:"calendar-header bg-base-300"},Pu={class:"calendar"},Ou={class:"date-container"},Fu={class:"date"},Lu=["disabled","onClick"],$u=["onClick"],Hu={class:"event-main"},Ru={class:"event-title"},zu={class:"text-center w-full"},Iu={class:"flex flex-col gap- text-sm items-center align-middle overflow-y-scroll w-full",style:{height:"50vh"}},Gu={class:"w-[40%]"},ju={class:"p- w-1/4"},qu={class:"p- w-1/4"},Wu={class:"p- w-1/4"},Yu=["onClick"],Il=qe({__name:"calendar",props:{theme:{type:Boolean,default:!0},token:{type:String,default:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzI1MTEwNzY3LCJpYXQiOjE3MjUwMjQzNjcsImp0aSI6ImRiY2E3MjIzZTE2NzRmODJiZjQzOWQyNjYwZDIyYTRhIiwidXNlcl9pZCI6IjYyNGRmZTIzLTkyZDAtNDNmMS04MDYxLWEyMzIxZjJiNWViYiJ9.MMlinTjeEFJcIqzYkM3SgPzJrLafE-GLiZn1wQi4ggs"},currentChat:Object},setup(e){const a=t.ref({seeEvents:!1,events:null,date:new Date}),n=t.ref({date:new Date,modal:!1}),r=t.ref(null);function o(N){r.value=N,n.value={date:N.date,modal:!0},a.value.seeEvents=!1}function i(N){n.value.modal=N,r.value=null}function l(N){a.value.events=N.events,a.value.seeEvents=!0;const A={day:"numeric",month:"long",year:"numeric"};a.value.date=N.date.toLocaleDateString("pt-BR",A)}const s=e,d=new Date,p=t.ref(d.getMonth()),u=t.ref(d.getFullYear()),m=t.ref(new Date(u.value,p.value)),c=t.ref([]),f=N=>{N&&typeof N.year=="number"&&typeof N.month=="number"?(p.value=N.month,u.value=N.year,V()):console.error("Data inválida selecionada:",N)},h=new Array(7).fill(null).map((N,A)=>{const q=new Date(2021,0,A+3);return new Intl.DateTimeFormat("pt-BR",{weekday:"short"}).format(q)}),y=N=>{if(N instanceof Date){const A={month:"long",year:"numeric"};return new Intl.DateTimeFormat("pt-BR",A).format(N)}else return console.error("Data inválida fornecida ao formatador:",N),""},b=N=>{const A={scheduled_messages:"Mensagens Programadas",another_function:"Outro Título",default:"Evento Desconhecido"};return A[N]||A.default},x=async(N="http://localhost:8000/v1/api/crm/event/")=>{try{const q=(await Qe.get(N,{headers:{Authorization:`Bearer ${s.token}`}})).data,U=q.results.map(X=>({...X,title:b(X.function),date:X.params.schedule.time.split(" ")[0],hours:X.params.schedule.time.split(" ")[1],color:"#cce5ff",tag:"blue"}));c.value.push(...U),q.next&&await x(q.next)}catch(A){console.error("Erro ao buscar eventos:",A)}},w=N=>c.value.filter(A=>{const q=new Date(A.date+"T00:00:00"),U=new Date(N.getFullYear(),N.getMonth(),N.getDate());return q.getTime()===U.getTime()}),k=(N,A)=>{const q=[],U=new Date(N,A,1),X=new Date(N,A+1,0),Y=U.getDay(),I=new Date(N,A,0).getDate();for(let W=Y-1;W>=0;W--){const de=new Date(N,A-1,I-W);q.push({date:de,events:w(de),isPrevMonth:!0})}for(let W=U;W<=X;W.setDate(W.getDate()+1))q.push({date:new Date(W),events:w(new Date(W)),isPrevMonth:!1,isNextMonth:!1});const z=42-q.length;for(let W=1;W<=z;W++){const de=new Date(N,A+1,W);q.push({date:de,events:w(de),isNextMonth:!0})}return q},B=t.ref([]),V=()=>{B.value=k(u.value,p.value)};t.onMounted(async()=>{await x(),V()});const M=()=>{p.value===0?(p.value=11,u.value--):p.value--,m.value={year:u.value,month:p.value},V()},E=()=>{p.value===11?(p.value=0,u.value++):p.value++,m.value={year:u.value,month:p.value},V()};return(N,A)=>{const q=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",_u,[t.createElementVNode("div",Tu,[t.renderSlot(N.$slots,"backButton",{},void 0,!0),t.createElementVNode("button",{onClick:M,class:"calendar-button"},A[2]||(A[2]=[t.createElementVNode("svg",{class:"icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14M5 12l4-4m-4 4 4 4"})],-1)])),t.createElementVNode("div",null,[t.createVNode(t.unref(gn),{dark:e.theme,"cancel-text":"Cancelar","select-text":"Selecionar",locale:"pt-BR",modelValue:m.value,"onUpdate:modelValue":[A[0]||(A[0]=U=>m.value=U),f],format:y,"only-month-picker":!0,"month-picker":!0},{"clear-icon":t.withCtx(({clear:U})=>A[3]||(A[3]=[])),_:1},8,["dark","modelValue"])]),t.createElementVNode("button",{onClick:E,class:"calendar-button"},A[4]||(A[4]=[t.createElementVNode("svg",{class:"icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 12H5m14 0-4 4m4-4-4-4"})],-1)]))]),t.createElementVNode("div",Pu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(h),(U,X)=>(t.openBlock(),t.createElementBlock("div",{key:X,class:"day-name shadow shadow-black/90 dark:shadow-gray-400 bg-base-200 border border-base-100"},t.toDisplayString(U),1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(B.value,(U,X)=>(t.openBlock(),t.createElementBlock("div",{key:X,class:t.normalizeClass([{"empty-day":!U.date,"prev-month-day":U.isPrevMonth,"next-month-day":U.isNextMonth},"day group h-full shadow shadow-black/90 dark:shadow-gray-400 bg-base-300 hover:bg-base-200 border border-base-200"])},[t.createElementVNode("div",Ou,[t.createElementVNode("div",Fu,t.toDisplayString(U.date.getDate()),1),t.createElementVNode("button",{disabled:U.date<new Date(new Date().setHours(0,0,0,0)),onClick:Y=>(n.value.modal=!0,n.value.date=U.date),class:"add-event-button hidden group-hover:inline-block"},A[5]||(A[5]=[t.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14m-7 7V5"})],-1)]),8,Lu)]),U.events.length>0?(t.openBlock(),t.createElementBlock("footer",{key:0,onClick:Y=>l(U),class:"events-container cursor-pointer"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(U.events,Y=>(t.openBlock(),t.createElementBlock("div",{key:Y.title,class:"event"},[t.createElementVNode("main",Hu,[t.createVNode(q,{placement:"top",class:"dark:popper-light popper-dark",hover:!0,content:Y.hours},{default:t.withCtx(()=>A[6]||(A[6]=[t.createElementVNode("svg",{class:"event-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z","clip-rule":"evenodd"})],-1)])),_:2,__:[6]},1032,["content"]),t.createElementVNode("p",Ru,t.toDisplayString(Y.title),1)])]))),128))],8,$u)):t.createCommentVNode("",!0)],2))),128))])]),t.createVNode($l,{modelValue:a.value.seeEvents,"onUpdate:modelValue":A[1]||(A[1]=U=>a.value.seeEvents=U)},{title:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.value.date),1)]),body:t.withCtx(()=>[t.createElementVNode("table",zu,[A[8]||(A[8]=t.createElementVNode("thead",{class:"bg-base-200 rounded-md flex text-white w-full"},[t.createElementVNode("tr",{class:"flex font-normal w-full"},[t.createElementVNode("th",{class:"p-2 w-[40%]"},"Evento"),t.createElementVNode("th",{class:"p-2 w-1/4"},"Horário"),t.createElementVNode("th",{class:"p-2 w-1/4"},"Paramêtros"),t.createElementVNode("th",{class:"p-2 w-1/4"},"Ações")])],-1)),t.createElementVNode("tbody",Iu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value.events,U=>(t.openBlock(),t.createElementBlock("tr",{key:U.title,class:"flex mt-1 hover:bg-base-200 align-middle items-center rounded-xl py-2 w-full"},[t.createElementVNode("td",Gu,t.toDisplayString(U.title),1),t.createElementVNode("td",ju,t.toDisplayString(U.hours),1),t.createElementVNode("td",qu,t.toDisplayString(U.date),1),t.createElementVNode("td",Wu,[t.createElementVNode("button",{onClick:X=>o(U),class:"bg-green-500 hover:bg-green-400 rounded-md p-1"},A[7]||(A[7]=[t.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule":"evenodd"})],-1)]),8,Yu)])]))),128))])])]),_:1},8,["modelValue"]),n.value.modal?(t.openBlock(),t.createBlock(Du,{key:0,currentEvent:r.value,currentChat:e.currentChat,token:e.token,onClose:i,modal:n.value.modal,date:n.value.date},null,8,["currentEvent","currentChat","token","modal","date"])):t.createCommentVNode("",!0)],64)}}},[["__scopeId","data-v-972e6756"]]),Uu={class:"flex flex-col text-center"},Xu={class:"flex flex-col space-y-3 justify-center"},Zu={class:"space-x-4 flex-col text-black justify-center"},Qu=["onUpdate:modelValue","onInput","onKeydown"],Gl={__name:"mfa",props:{eventHandling:{type:String,default:null}},emits:["filled","reset"],setup(e,{emit:a}){t.onMounted(()=>{o.value[0].focus()});const n=a,r=t.ref(Array(6).fill("")),o=t.ref([]);t.ref(!1);const i=p=>{const u=r.value[p];r.value[0]<1&&n("reset"),/^\d$/.test(u)?l(p):r.value[p]="",p===r.value.length-1&&r.value.every(m=>m!=="")&&d()},l=p=>{p<r.value.length-1&&r.value[p]&&o.value[p+1].focus()},s=(p,u)=>{u.key==="Backspace"&&!r.value[p]&&p>0&&o.value[p-1].focus()},d=()=>{const p=r.value.join("");n("filled",p)};return(p,u)=>(t.openBlock(),t.createElementBlock("section",Uu,[t.createElementVNode("div",Xu,[t.createElementVNode("div",Zu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,(m,c)=>t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:c,"onUpdate:modelValue":f=>r.value[c]=f,class:t.normalizeClass([e.eventHandling==="check"?"checked_mfa":e.eventHandling==="err"?"err_mfa":"reset_input","inline-block w-10 h-10 rounded-md text-center"]),type:"text",maxlength:"1",onInput:f=>i(c),onKeydown:t.withKeys(f=>s(c,f),["backspace"]),ref_for:!0,ref_key:"inputs",ref:o},null,42,Qu)),[[t.vModelText,r.value[c]]])),128))])])]))}},Ku={class:"text-center flex gap-3"},Ju={class:"flex justify-center gap-2 relative bg-base-200 p-2 rounded-lg shadow-md shadow-black"},e5={key:0,class:"items-center justify-center inline-flex"},t5=["src"],a5={__name:"mfaQrCode",props:{base64:{type:String,default:""},dimensions:{type:Array,default:null},loading:{type:Boolean,default:!1},generated:{type:Boolean,default:!1}},emits:["generateQR"],setup(e,{emit:a}){const n=a;t.ref(!1);const r=e,o=()=>{n("generateQR")},i=t.computed(()=>r.base64?r.base64:s.value),l=t.computed(()=>`w-${r.dimensions[0]} h-${r.dimensions[1]}`),s=t.ref("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABgAAAAYADwa0LPAAARGUlEQVR42u3dsZLbxhKFYejGpAOp9Jb7ACo9gMqx9JYbKOA6pwNfuly2yJ5lz5nuA/xfFSILwGAwanuxxz0frtfrdQMAA/+rHgAAjKJgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2GhTsD59+rR9+PBht0fkx48f2/l8/s955/N5+/HjR/XruTu+6Bgdv/r51dc/+vpd5cP1er1WD2Lb/nrhP3/+rB6GTDTN5/N5++OPP375z06n0/b29lY6/kfji4yMX/386usfff2uQsFaJJrm6N9i1a8p+2/Z6udXX//o63eVNj8SAkCEggXABgULgA0KFkIzPvhH1zidTk/9s07PCD0KFh56e3vbvnz5kr7O169fHxaFb9++/bIwnU6n7ffff5c/ZzQ+NHFt4uPHj9dt2+4er6+v1UNMjT/y6NwZr+n79+/X0+kU3mf1cTqdrt+/f396/KPnq8d39PW7ik2s4fX1dfv8+XP1MJ8efzTN6l+7Z3JUaityWplYxsj1j75+V+FHwoPoWqxGx/boz6ifrfPcHQ0FC4ANChYAGxQsADYoWCayv3JfkWVSjq06p4UeKFgmsjmhezmnaqM5q+qcFpqozlXcZHMsmyAjtL0jh6LOYd07RnNC91wul+vLy0t4n5eXl+vlcpl+/irV73/v63eV3eSw1E3GomlS57AeyfZzent723777beHf+ZyuWzn81ly/grq9jhHX7+r8CPhDmRzQiOF5NGfyZ4PjKJgAbBBwQJgg4IFwAYFayeqW6N0z0l1GAPyKFg7Ud3PqXtOqmsODe9Unau4OXqORTXuWf2i1FT9uqLnH82RZd//3tfvKuSwBkXTVJnDiszoF6VeJsp+XdHzj+TIsu9/7+t3FX4kPACHfk7KMUbXJiPmg4IFwAYFC4ANChYAGxSsJo7+K/fq5++eI8NfKFhNHD0nVP383XNk+L/qXMUNOZZfG80JZcefPb/KrBxVFut3Df4Lq7nz+bx9+/atehhtMT/HQsEyQE7oMebnOChYAGxQsADYoGABsEHBMrCibYx7Dsl9/BhDwWru7e1t+/Lli/w+7jkk9/FjUHWu4iabY6mWzbGo+kGN3r+7e/OT3Zdx1vWPvn5X2U0/rGrZfkLKflAj9+/u0fxk92Wccf2jr99V+JGwCYeeVZUezc+MuVNfH3NQsADYoGABsEHBAmCDggUL5KywbRQsmCBnhW3b+gQsohyI+xGJzn95ebleLpf/nDerH1Q2h+R+fnb+jr5+V7HJYbmLpjnal+5yudxtozJjX71sDsn9/Oy+jEdfv6tQsBbJFizO733+0dfvKnzDAmCDggXABgULgA0KVhPqnFH00Tl7/8z5M/p9VY4f61CwmlDnjL5+/fqwMGTv/+z5s/p9VY0fi1XnKjDH9mS+pjonNXpkqftpYY02sQbkRL+Wf6Q6JzUiu0zV/bSwBgVrJzIFa9vqc07Z8UWy40cPfMMCYIOCBcAGBQuADQoWynNSanxQ3w8K1sFV56TUVu3riEWqcxU3z+Z01PvSZY9VOZ9oHPf6ac16/mep+3mpxz+qOsfWff2OahNryOR01PvSZa3I+WT6ac14/swyUvfzUo9/RHWOLaNTTq1Nweqe08lST/PRc1LV4+/+fFlNygTfsAD4oGABsEHBAmBjFwUr++ty9QfFFb/OV/aDGpGdw+rxqzk/X6e5tS9Y2X5F6pzOqn5Kqn5Qo6J+W93Hr+b6fO36gVXnKm624hxR9ojGF+nar2k0J3XvcBl/xP39ZNdnFzaxBnWOKCsaX6Rzv6aRnNQjDuOP/hq4v5/s+uzCpmBFw3TPqXTv19Q955Qdf3Z9uT+fC/tvWACOg4IFwAYFC4ANCtYk1TkktcwYqsffYd/D7s/ngoI1SXUOSe3ZHFD1+Lvse9j9+WxU5yputmROJjq/66Huh1SdE1o1/up+WNU5wOzzdc2Z/RuxhgbU/ZCqc0Irxl/dD6s6B5h9vs45s3+iYDWhfr7q11y9b2L2+urnU8vOX/X6ueEbFgAbFCwANihYAGy0KVjO/YK66zA36hxX535e1bLz1+nZ2hQs135B3VXnhG7UOa6u/byqZeevy/r5W3WuYtSzOZFsP6fR416/oVn9mJ69v3p+Z53f9f1X55CO1u8q0ibWEMnkRLL9nEY86jc0ox9Ttl9YRLlvnnrfSPX7r84hHanfVcSmYHXPaWXvrz4/cvTxRar/mrjkpNTafMMCgAgFC4ANChYAGxYFq8v/eHnPipyLOieTuf6K91M5vo5xhdnP6KJ9were72dVzkWdk3n2+qveT9X42uWQ7sjmyGxU5ypu1P2Mnr3uNphz2WuOadX7UT3fXt5vdv3eO6pzZu/VJtag7meU/bV2Zl9E9xxTdP4I9TLLjq/7+1XGcqpzZu/RpmC590six/SYepnt/f1W5wi7aP8NCwBuKFgAbFCwANhoU7Dc+yWpc1LV+x5235ewcv2seL/KOXTImd20KVju/ZLUOanqfQ+770tYtX5WvV9Vvy2XnNnfqnMVs7j3S3r2/rPG1z0H5k71/o7WL6tNrCHLvV9Sdc6mew7MXeb9zli/e+mXtZuCVZ1zyU5jdc6mew7MXfecmIs237AAIELBAmCDggXAxmEKVvTRMqN6T7zs+Ebunxnj3j+oj1CuEfX76+QwBetezqW6X5K6n9SsflHP5sC69zNbRZUDVL+/dqpzFbNsohzTNphjyfZjyt4/oh5f9sh69vmqc2ar9s1UP/8qh4k1ZGX6Ja24f0Q9vqzsMsw8X3XObMW+mernX4WCNSiapur7R9Tjc38+9f2r14/6+Vc5zDcsAP4oWABsULAA2NhNwaruF9S5p1D3D6odcmzO/caOZDcFq7pfkOr+Wd1zUF1ybK79xg6nOldxo+qX1L1f0Oj4np2/0ePe83eZv6ocmVtO6d9mra8u2sQalP2SuvcLGhlf9JqU+/J1mL/KHJlTTulXZqyvLtoUrKP3Y6rO8WSvr54/cko51e9vlt18wwKwfxQsADYoWABstClY6n3f1NfPmPFBV7kvX/UH5+r7V6+PrOr5m6lNwVLv+6a+/rNm5YhU+/JV57iq71+9PrKq52+66lzFqOp+R6rxjR7dx199/+zxbL8zdT+tVYeLNrGGSHW/I+X4RqhfU3b82fFV9+vK9DtT99NawaQM9MlhhQMt7nekHp/7+LPj656zqs4JVj9/F22+YQFAhIIFwAYFC4ANi4LVod9RpLofV/U9qvd2VN9bmePbU05KrX3B6tLvKFLdj6t6/Kp+UmrZflVd+nkdRnWu4qY6h3Lv6NKPqyqHlt03z6WfVPecVbZfWXS4aBNrqM6hPNKhH1dlDi27b55DP6nuOatsv7JIkzIQalOwqnMokew0de93lR2/+v5q3XNW3dfHKu2/YQHADQULgA0KFgAbbQpW955D2Y/W2T9TPT/KflsdVPZjG/FofTjkFGdpU7C678v2bM5oNGcTXb96flT9trqo6sc26t76cMkpTlOdq8jK5pxm5VhUR5QD2su+c9kclDpHpbq/+/pbrU2sISObc5qRY1GKckB72Hcum4NS56iU43dffyvtomBtW33OSS07/u6vWf3+1M9/9PW3SptvWAAQoWABsEHBAmBjNwUrm6PpHKk4AuX7q+4n5r7+Oo1tNwUrm6Opzjkdner9VfcTc19/7XJ01bmKVdQ5mep+Rdnz3XNQz44ve3R5vntm9WPrYjexhog6J1Pdryj7a3X3HFRE2W+tw/M9MqMfWxeHKVjVOZ/qfkjdz1dz3zdS/fzdx3+zm29YAPaPggXABgULgI3DFCx1TkfZrygan7rf1oz77133OajOqc1ymIKlzumo+hVF41P325p1/73r3k+qOqc2TXWu4qZq371R7x3Xew/VvoSz5i97/+r3r35/qqN7zmu1NrGGyn33Rqh/La7clzCSzVmNiJaZ+v13b9+Sfb6jaFOwuu+rVp3jcb+/+/WrNflrWu4w37AA+KNgAbBBwQJgo03B6r7vnfIe1f2S1PdXv58j5MT28AwztClY3fe9U/Urqu6XpL6/+v0cJSfWPee1THWuAn+p7idVff8tyCNV5dRG7/8s9b6Ee8txtYk1HF11P6nq+0exg8qc2sj9M9T7Eu4px0XBaqK6X5H7/atzaurn7z7+Vdp8wwKACAULgA0KFgAbFKwmKvsVzeinpb4/sG0UrDaq+hXN6qelvj+wbVufHNbHjx/Lew8pjyzVvoEuR6T6/tn34z7+VdrEGj59+rT9/Pmzehgy2WlW7hvoIJq/6lhA9v24j38VCtYi2WnunlNSq36+7P33Pv5V+IYFwAYFC4ANChYAGxQsA10+eFap7heWHWP12LZNuy/lShSs5o6eU6ruFzaq+75/qn0pl6vOVdxEOazX19fqIabGH1Hv+xedf6/f02i/JlW/qKxZ/abU1O/n3tEtZxWxiTW8vr5unz9/rh7m0+OPplm971+m39RIvyZlv6isGf2m1H9N1O/nkU45qwg/EjZRHeqMmuNlzq/WeWwzniH7fNVr7z0oWABsULAA2KBgAbBBwdqBbE7pCPv6ZSMP1f3AMjmqSKecVYSCZS6bUzrKvn7ZnFZ1P7Bnc1SRdjmrSHWu4iabw9qSOZvoyI4/Et1fnXNS58BU98/miNT7AqqPWTkq+mG9UzaHVd2eI5vDyu7Ll6XOgSnvn80RqfcFVJuRo3Lph8WPhCbUWaLqLE7m/tmxu+e0Zry7R9eoXhv/RMECYIOCBcAGBQuADQpWE9X9iDrnlNRjn3WNStn5r15/oyhYTVT3I+qaU4rMmp/qflpZ2fmvXn/DqnMVN0fPYUWqcjKr+i1F18nm0J6dv2w/sFXnq99PF+SwBkXTlM1hRSpzMiv6LalzaJn5y/YDW3F+RqecVYSCNai6YFXvG5ed32h86udT7xtYfX5WkzIQ4hsWABsULAA2KFgAbFCwMETdb0mdA8pev/P5M7h8dKdgYYi635I6B5S9ftfzZ6nK0b1bda7ihhzWY9nxVVPnyKr7OWXvr86JPXt0y2kRaxgUTdPeYw1Z6hxZdT+n7P3VObGMTjktfiTEEup+S9X9nLL3z5y/915p/0TBAmCDggXABgULgA0KloEuHzwzuues1KKP5urzMzrM3w0Fq7m97wvYJWeldi/nlN2XUL0+uszf36pzFTfZHFa1bA6r676A6hzRqvGpr//se1t1qPe1XGU3Oaxq2RxW530B1TmiFeNTX1+dA8xS72u5Cj8SNlGddanMEa0YX/X1q+2hWG0bBQuAEQoWABsULAA2KFg7UJ1jUueAOly/MgeV1SlHlUXBMledY1LngLpcvyoHldUuR5VVnau4iXJM7kckOj/K0Tyb48rmrGY9f/frZw/VvoWjqvuFzWKTw3IXTXN2X75Mjiubs5rx/N2vn6Xct3BEdb+wWShYi2QLVvZ89fj2fv0s9fuPuDeAvOEbFgAbFCwANihYAGxQsJqo3LeO62vtYV/GLihYTVTtW8f1tfayL2MXbX5LCAAR/gsLgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgI0/AXRl5K/bYs25AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAyLTExVDIwOjQzOjIzKzAwOjAwj4NP3QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMi0xMVQyMDo0MzoyMyswMDowMP7e92EAAAAASUVORK5CYII=");return(d,p)=>(t.openBlock(),t.createElementBlock("div",Ku,[t.createElementVNode("section",Ju,[e.generated?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([l.value,"btnQrCode"])},[e.loading?(t.openBlock(),t.createElementBlock("div",e5,p[0]||(p[0]=[t.createElementVNode("div",{class:"loaderMFA"},null,-1)]))):(t.openBlock(),t.createElementBlock("button",{key:1,class:"uppercase bg-base-300 p-2 z-40",onClick:o}," Gerar QR "))],2)),t.createElementVNode("img",{class:t.normalizeClass([[l.value,e.generated?"rounded-md":"rounded-none"],""]),src:i.value,alt:"QRCode"},null,10,t5)])]))}},Un=zt.defineStore("attendant",{state:()=>({attendants:[],count:null,loaded:!1}),actions:{async fetchAttendants(){try{this.attendants=[];let e=`${xc}`;const a=await na.get(e);this.attendants=a.data,this.count=this.attendants.length}catch(e){console.log("Erro ao buscar atendentes:",e)}},removeAttendants(e){this.attendants=this.attendants.filter(a=>a.id!==e)},addAttendants(e){const a=this.attendants.findIndex(n=>n.id===e.id);a!==-1?this.attendants[a]=e:this.attendants.push(e)}}});for(var ht=[],uo=0;uo<256;++uo)ht.push((uo+256).toString(16).slice(1));function n5(e,a=0){return(ht[e[a+0]]+ht[e[a+1]]+ht[e[a+2]]+ht[e[a+3]]+"-"+ht[e[a+4]]+ht[e[a+5]]+"-"+ht[e[a+6]]+ht[e[a+7]]+"-"+ht[e[a+8]]+ht[e[a+9]]+"-"+ht[e[a+10]]+ht[e[a+11]]+ht[e[a+12]]+ht[e[a+13]]+ht[e[a+14]]+ht[e[a+15]]).toLowerCase()}var Xn,r5=new Uint8Array(16);function o5(){if(!Xn&&(Xn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Xn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Xn(r5)}var i5=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const jl={randomUUID:i5};function l5(e,a,n){if(jl.randomUUID&&!e)return jl.randomUUID();e=e||{};var r=e.random||(e.rng||o5)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,n5(r)}function ql(){const e=Un(),a=async s=>{const d=e.attendants.find(p=>p.id===s);if(d)try{const p=await na.get(`${Mr}?attendant=${s}&page=1`);d.messages=p.data.results.reverse(),d.hasNextPage=p.data.next!==null,d.currentPage=2,d.internal_chat={channel_id:p.data.channel_id,unread:0}}catch(p){console.error("Erro ao buscar mensagens:",p)}},n=async s=>{const d=e.attendants.find(p=>p.id===s);if(!(!d||!d.hasNextPage))try{const p=await na.get(`${Mr}?attendant=${s}&page=${d.currentPage}`);d.messages=[...p.data.results.reverse(),...d.messages],d.hasNextPage=p.data.next!==null,d.currentPage++}catch(p){console.error("Erro ao carregar mais mensagens:",p)}},r=(s,d,p)=>{const u=s==null?void 0:s.message;if(!u)return;const m=e.attendants.find(c=>{var f;return((f=c.internal_chat)==null?void 0:f.channel_id)===u.channel_id});m?(m.messages=m.messages||[],m.messages.find(f=>f.id===u.id)||(m.messages.push(u),(!d||m.id!==p)&&(m.internal_chat.unread=(m.internal_chat.unread||0)+1))):console.error("Atendente não encontrado para o canal especificado.")},o=s=>{const d=e.attendants.find(p=>p.id===s);d&&(d.internal_chat.unread=0)},i=async(s,d,p,u=!1)=>{var h;const m=e.attendants.find(y=>y.id===s);if(!m||!((h=m.internal_chat)!=null&&h.channel_id))return;let c;u?c=d:c={type:"text",content:d};const f={id:l5(),content:c,created_at:new Date().toISOString(),sender:p};m.messages.push(f);try{await na.post(`${Mr}${m.internal_chat.channel_id}/message/`,{id:f.id,content:f.content})}catch(y){console.error("Erro ao enviar mensagem:",y)}},l=s=>{const d=e.attendants.find(p=>p.id===s);return d?d.hasNextPage:!1};return{attendants:t.computed(()=>e.attendants),count:t.computed(()=>e.count),fetchMessagesForAtendente:a,loadMessagesForAtendente:n,addMessageToAtendente:r,sendMessageToAtendente:i,hasNextPageForAtendente:l,resetUnreadMessages:o}}const s5={class:"avatar bg-[#404857] shadow shadow-gray-900 dark:shadow-gray-700 dark:bg-gray-300 text-gray-100 dark:text-gray-500"},c5={key:0,style:{"padding-top":"0.5rem"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},d5=["src"],mo=qe({__name:"Avatar",props:{url:{type:String}},setup(e){return(a,n)=>(t.openBlock(),t.createElementBlock("div",s5,[e.url?(t.openBlock(),t.createElementBlock("img",{key:1,style:{"object-fit":"scale-down"},src:e.url},null,8,d5)):(t.openBlock(),t.createElementBlock("svg",c5,n[0]||(n[0]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"},null,-1)])))]))}},[["__scopeId","data-v-7d8b2820"]]),u5={class:"attendants-container"},m5={class:"atendentes-list bg-base-300"},f5={key:0,class:"empty-message bg-base-200"},h5=["onClick"],p5={class:"atendente-main"},g5={class:"atendente-name"},y5={class:"flex items-center gap-4"},k5={key:0,class:"message-indicator"},x5={key:0,class:"chat-footer bg-base-200"},Wl=qe({__name:"ChatList",props:{atendentes:{type:Array,required:!0},attendant:{required:!0},mobile:{type:Boolean,default:!1}},emits:["atendenteSelecionado"],setup(e,{emit:a}){const n=e,r=a,o=t.ref(""),i=d=>{r("atendenteSelecionado",d)},l=d=>{switch(d){case"Busy":return"bg-red-500";case"Online":return"bg-green-500";case"Away":return"bg-yellow-500";case"Offline":return"bg-gray-500";default:return"bg-purple-500"}},s=t.computed(()=>o.value?n.atendentes.filter(d=>d.name.toLowerCase().includes(o.value.toLowerCase())&&d.id!==n.attendant.id):n.atendentes.filter(d=>d.id!==n.attendant.id));return(d,p)=>(t.openBlock(),t.createElementBlock("div",u5,[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":p[0]||(p[0]=u=>o.value=u),class:t.normalizeClass(e.mobile?"search-input-mobile bg-base-300 border-b border-base-200":"search-input bg-base-300 border-b border-base-200"),placeholder:"Pesquise entre os atendentes..."},null,2),[[t.vModelText,o.value]]),t.createElementVNode("ul",m5,[s.value.length===0?(t.openBlock(),t.createElementBlock("li",f5,t.toDisplayString(e.atendentes.length===0?"Não há atendentes disponíveis":"Não há atendentes com esse nome"),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,u=>(t.openBlock(),t.createElementBlock("li",{key:u.id,onClick:m=>i(u),class:t.normalizeClass([["atendente-item",u.isMoved?"moved":""],"border-b even:bg-base-300 bg-blue-400/10 border-base-200 hover:bg-base-200 relative"])},[t.createElementVNode("main",p5,[t.createVNode(mo,{url:u.photo},null,8,["url"]),t.createElementVNode("span",g5,t.toDisplayString(u.name),1)]),t.createElementVNode("footer",y5,[u.internal_chat.unread>0?(t.openBlock(),t.createElementBlock("span",k5,t.toDisplayString(u.internal_chat.unread),1)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["status-indicator",l(u.login_status)])},null,2)]),p[1]||(p[1]=t.createElementVNode("div",{class:"hover-action"},"Conversar",-1))],10,h5))),128))]),e.mobile?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("footer",x5))]))}},[["__scopeId","data-v-dc8950e9"]]);function b5(e,a=null){if(!e)return!1;const n=e.getBoundingClientRect(),r=a?a.getBoundingClientRect():{top:0,left:0,bottom:window.innerHeight,right:window.innerWidth};return n.bottom>=r.top&&n.top<=r.bottom&&n.right>=r.left&&n.left<=r.right}async function w5(e){return e?(await t.nextTick(),e.value instanceof HTMLElement?e.value:e.value?document.querySelector(e.value):null):null}function v5(e){let a=`0px 0px ${e.distance}px 0px`;e.top&&(a=`${e.distance}px 0px 0px 0px`);const n=new IntersectionObserver(r=>{r[0].isIntersecting&&(e.firstload&&e.emit(),e.firstload=!0)},{root:e.parentEl,rootMargin:a});return e.infiniteLoading.value&&n.observe(e.infiniteLoading.value),n}async function Yl(e,a){if(await t.nextTick(),!e.top)return;const n=e.parentEl||document.documentElement;n.scrollTop=n.scrollHeight-a}const Ul=(e,a)=>{const n=e.__vccOpts||e;for(const[r,o]of a)n[r]=o;return n},E5={},C5=e=>(t.pushScopeId("data-v-d3e37633"),e=e(),t.popScopeId(),e),S5={class:"container"},M5=C5(()=>t.createElementVNode("div",{class:"spinner"},null,-1)),B5=[M5];function A5(e,a){return t.openBlock(),t.createElementBlock("div",S5,B5)}const V5=Ul(E5,[["render",A5],["__scopeId","data-v-d3e37633"]]),N5={class:"state-error"},fo=Ul(t.defineComponent({__name:"InfiniteLoading",props:{top:{type:Boolean,default:!1},target:{},distance:{default:0},identifier:{},firstload:{type:Boolean,default:!0},slots:{}},emits:["infinite"],setup(e,{emit:a}){const n=e;let r=null,o=0;const i=t.ref(null),l=t.ref(""),{top:s,firstload:d,distance:p}=n,{identifier:u,target:m}=t.toRefs(n),c={infiniteLoading:i,top:s,firstload:d,distance:p,parentEl:null,emit(){o=(c.parentEl||document.documentElement).scrollHeight,f.loading(),a("infinite",f)}},f={loading(){l.value="loading"},async loaded(){l.value="loaded",await Yl(c,o),b5(i.value,c.parentEl)&&c.emit()},async complete(){l.value="complete",await Yl(c,o),r==null||r.disconnect()},error(){l.value="error"}};function h(){r==null||r.disconnect(),r=v5(c)}return t.watch(u,h),t.onMounted(async()=>{c.parentEl=await w5(m),h()}),t.onUnmounted(()=>r==null?void 0:r.disconnect()),(y,b)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"infiniteLoading",ref:i,class:"v3-infinite-loading"},[t.withDirectives(t.createElementVNode("div",null,[t.renderSlot(y.$slots,"spinner",{},()=>[t.createVNode(V5)],!0)],512),[[t.vShow,l.value=="loading"]]),l.value=="complete"?t.renderSlot(y.$slots,"complete",{key:0},()=>{var x;return[t.createElementVNode("span",null,t.toDisplayString(((x=y.slots)==null?void 0:x.complete)||"No more results!"),1)]},!0):t.createCommentVNode("",!0),l.value=="error"?t.renderSlot(y.$slots,"error",{key:1,retry:c.emit},()=>{var x;return[t.createElementVNode("span",N5,[t.createElementVNode("span",null,t.toDisplayString(((x=y.slots)==null?void 0:x.error)||"Oops something went wrong!"),1),t.createElementVNode("button",{class:"retry",onClick:b[0]||(b[0]=(...w)=>c.emit&&c.emit(...w))},"retry")])]},!0):t.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-4bdee133"]]),Xl=6048e5,D5=864e5,Zl=Symbol.for("constructDateFrom");function Nt(e,a){return typeof e=="function"?e(a):e&&typeof e=="object"&&Zl in e?e[Zl](a):e instanceof Date?new e.constructor(a):new Date(a)}function Dt(e,a){return Nt(a||e,e)}function _5(e,a,n){const r=Dt(e,n==null?void 0:n.in);return isNaN(a)?Nt(e,NaN):(r.setDate(r.getDate()+a),r)}let T5={};function Zn(){return T5}function Na(e,a){var s,d,p,u;const n=Zn(),r=(a==null?void 0:a.weekStartsOn)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.weekStartsOn)??0,o=Dt(e,a==null?void 0:a.in),i=o.getDay(),l=(i<r?7:0)+i-r;return o.setDate(o.getDate()-l),o.setHours(0,0,0,0),o}function Qn(e,a){return Na(e,{...a,weekStartsOn:1})}function Ql(e,a){const n=Dt(e,a==null?void 0:a.in),r=n.getFullYear(),o=Nt(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const i=Qn(o),l=Nt(n,0);l.setFullYear(r,0,4),l.setHours(0,0,0,0);const s=Qn(l);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Kl(e){const a=Dt(e),n=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return n.setUTCFullYear(a.getFullYear()),+e-+n}function ho(e,...a){const n=Nt.bind(null,a.find(r=>typeof r=="object"));return a.map(n)}function Kn(e,a){const n=Dt(e,a==null?void 0:a.in);return n.setHours(0,0,0,0),n}function P5(e,a,n){const[r,o]=ho(n==null?void 0:n.in,e,a),i=Kn(r),l=Kn(o),s=+i-Kl(i),d=+l-Kl(l);return Math.round((s-d)/D5)}function O5(e,a){const n=Ql(e,a),r=Nt(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Qn(r)}function po(e){return Nt(e,Date.now())}function Jl(e,a,n){const[r,o]=ho(n==null?void 0:n.in,e,a);return+Kn(r)==+Kn(o)}function F5(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function L5(e){return!(!F5(e)&&typeof e!="number"||isNaN(+Dt(e)))}function $5(e,a){const n=Dt(e,a==null?void 0:a.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const H5={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},R5=(e,a,n)=>{let r;const o=H5[e];return typeof o=="string"?r=o:a===1?r=o.one:r=o.other.replace("{{count}}",a.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Wa(e){return(a={})=>{const n=a.width?String(a.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const z5={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},I5={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},G5={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},j5={date:Wa({formats:z5,defaultWidth:"full"}),time:Wa({formats:I5,defaultWidth:"full"}),dateTime:Wa({formats:G5,defaultWidth:"full"})},q5={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},W5=(e,a,n,r)=>q5[e];function Yt(e){return(a,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):l;o=e.formattingValues[s]||e.formattingValues[l]}else{const l=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[l]}const i=e.argumentCallback?e.argumentCallback(a):a;return o[i]}}const Y5={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},U5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},X5={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Z5={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Q5={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},K5={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},J5={ordinalNumber:(e,a)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Yt({values:Y5,defaultWidth:"wide"}),quarter:Yt({values:U5,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Yt({values:X5,defaultWidth:"wide"}),day:Yt({values:Z5,defaultWidth:"wide"}),dayPeriod:Yt({values:Q5,defaultWidth:"wide",formattingValues:K5,defaultFormattingWidth:"wide"})};function Ut(e){return(a,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=a.match(o);if(!i)return null;const l=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(s)?t6(s,m=>m.test(l)):e6(s,m=>m.test(l));let p;p=e.valueCallback?e.valueCallback(d):d,p=n.valueCallback?n.valueCallback(p):p;const u=a.slice(l.length);return{value:p,rest:u}}}function e6(e,a){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&a(e[n]))return n}function t6(e,a){for(let n=0;n<e.length;n++)if(a(e[n]))return n}function e1(e){return(a,n={})=>{const r=a.match(e.matchPattern);if(!r)return null;const o=r[0],i=a.match(e.parsePattern);if(!i)return null;let l=e.valueCallback?e.valueCallback(i[0]):i[0];l=n.valueCallback?n.valueCallback(l):l;const s=a.slice(o.length);return{value:l,rest:s}}}const a6=/^(\d+)(th|st|nd|rd)?/i,n6=/\d+/i,r6={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},o6={any:[/^b/i,/^(a|c)/i]},i6={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},l6={any:[/1/i,/2/i,/3/i,/4/i]},s6={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},c6={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},d6={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},u6={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},m6={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},f6={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},h6={ordinalNumber:e1({matchPattern:a6,parsePattern:n6,valueCallback:e=>parseInt(e,10)}),era:Ut({matchPatterns:r6,defaultMatchWidth:"wide",parsePatterns:o6,defaultParseWidth:"any"}),quarter:Ut({matchPatterns:i6,defaultMatchWidth:"wide",parsePatterns:l6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ut({matchPatterns:s6,defaultMatchWidth:"wide",parsePatterns:c6,defaultParseWidth:"any"}),day:Ut({matchPatterns:d6,defaultMatchWidth:"wide",parsePatterns:u6,defaultParseWidth:"any"}),dayPeriod:Ut({matchPatterns:m6,defaultMatchWidth:"any",parsePatterns:f6,defaultParseWidth:"any"})},p6={code:"en-US",formatDistance:R5,formatLong:j5,formatRelative:W5,localize:J5,match:h6,options:{weekStartsOn:0,firstWeekContainsDate:1}};function g6(e,a){const n=Dt(e,a==null?void 0:a.in);return P5(n,$5(n))+1}function y6(e,a){const n=Dt(e,a==null?void 0:a.in),r=+Qn(n)-+O5(n);return Math.round(r/Xl)+1}function t1(e,a){var u,m,c,f;const n=Dt(e,a==null?void 0:a.in),r=n.getFullYear(),o=Zn(),i=(a==null?void 0:a.firstWeekContainsDate)??((m=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??o.firstWeekContainsDate??((f=(c=o.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??1,l=Nt((a==null?void 0:a.in)||e,0);l.setFullYear(r+1,0,i),l.setHours(0,0,0,0);const s=Na(l,a),d=Nt((a==null?void 0:a.in)||e,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const p=Na(d,a);return+n>=+s?r+1:+n>=+p?r:r-1}function k6(e,a){var s,d,p,u;const n=Zn(),r=(a==null?void 0:a.firstWeekContainsDate)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.firstWeekContainsDate)??1,o=t1(e,a),i=Nt((a==null?void 0:a.in)||e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Na(i,a)}function x6(e,a){const n=Dt(e,a==null?void 0:a.in),r=+Na(n,a)-+k6(n,a);return Math.round(r/Xl)+1}function Ge(e,a){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(a,"0");return n+r}const ma={y(e,a){const n=e.getFullYear(),r=n>0?n:1-n;return Ge(a==="yy"?r%100:r,a.length)},M(e,a){const n=e.getMonth();return a==="M"?String(n+1):Ge(n+1,2)},d(e,a){return Ge(e.getDate(),a.length)},a(e,a){const n=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,a){return Ge(e.getHours()%12||12,a.length)},H(e,a){return Ge(e.getHours(),a.length)},m(e,a){return Ge(e.getMinutes(),a.length)},s(e,a){return Ge(e.getSeconds(),a.length)},S(e,a){const n=a.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ge(o,a.length)}},Ya={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},a1={G:function(e,a,n){const r=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,a,n){if(a==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return ma.y(e,a)},Y:function(e,a,n,r){const o=t1(e,r),i=o>0?o:1-o;if(a==="YY"){const l=i%100;return Ge(l,2)}return a==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ge(i,a.length)},R:function(e,a){const n=Ql(e);return Ge(n,a.length)},u:function(e,a){const n=e.getFullYear();return Ge(n,a.length)},Q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(r);case"QQ":return Ge(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(r);case"qq":return Ge(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,a,n){const r=e.getMonth();switch(a){case"M":case"MM":return ma.M(e,a);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,a,n){const r=e.getMonth();switch(a){case"L":return String(r+1);case"LL":return Ge(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,a,n,r){const o=x6(e,r);return a==="wo"?n.ordinalNumber(o,{unit:"week"}):Ge(o,a.length)},I:function(e,a,n){const r=y6(e);return a==="Io"?n.ordinalNumber(r,{unit:"week"}):Ge(r,a.length)},d:function(e,a,n){return a==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):ma.d(e,a)},D:function(e,a,n){const r=g6(e);return a==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ge(r,a.length)},E:function(e,a,n){const r=e.getDay();switch(a){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"e":return String(i);case"ee":return Ge(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"c":return String(i);case"cc":return Ge(i,a.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,a,n){const r=e.getDay(),o=r===0?7:r;switch(a){case"i":return String(o);case"ii":return Ge(o,a.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,a,n){const o=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,a,n){const r=e.getHours();let o;switch(r===12?o=Ya.noon:r===0?o=Ya.midnight:o=r/12>=1?"pm":"am",a){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,a,n){const r=e.getHours();let o;switch(r>=17?o=Ya.evening:r>=12?o=Ya.afternoon:r>=4?o=Ya.morning:o=Ya.night,a){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,a,n){if(a==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return ma.h(e,a)},H:function(e,a,n){return a==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):ma.H(e,a)},K:function(e,a,n){const r=e.getHours()%12;return a==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ge(r,a.length)},k:function(e,a,n){let r=e.getHours();return r===0&&(r=24),a==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ge(r,a.length)},m:function(e,a,n){return a==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ma.m(e,a)},s:function(e,a,n){return a==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ma.s(e,a)},S:function(e,a){return ma.S(e,a)},X:function(e,a,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(a){case"X":return r1(r);case"XXXX":case"XX":return Da(r);case"XXXXX":case"XXX":default:return Da(r,":")}},x:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"x":return r1(r);case"xxxx":case"xx":return Da(r);case"xxxxx":case"xxx":default:return Da(r,":")}},O:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+n1(r,":");case"OOOO":default:return"GMT"+Da(r,":")}},z:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+n1(r,":");case"zzzz":default:return"GMT"+Da(r,":")}},t:function(e,a,n){const r=Math.trunc(+e/1e3);return Ge(r,a.length)},T:function(e,a,n){return Ge(+e,a.length)}};function n1(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+a+Ge(i,2)}function r1(e,a){return e%60===0?(e>0?"-":"+")+Ge(Math.abs(e)/60,2):Da(e,a)}function Da(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ge(Math.trunc(r/60),2),i=Ge(r%60,2);return n+o+a+i}const o1=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},i1=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},b6={p:i1,P:(e,a)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return o1(e,a);let i;switch(r){case"P":i=a.dateTime({width:"short"});break;case"PP":i=a.dateTime({width:"medium"});break;case"PPP":i=a.dateTime({width:"long"});break;case"PPPP":default:i=a.dateTime({width:"full"});break}return i.replace("{{date}}",o1(r,a)).replace("{{time}}",i1(o,a))}},w6=/^D+$/,v6=/^Y+$/,E6=["D","DD","YY","YYYY"];function C6(e){return w6.test(e)}function S6(e){return v6.test(e)}function M6(e,a,n){const r=B6(e,a,n);if(console.warn(r),E6.includes(e))throw new RangeError(r)}function B6(e,a,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const A6=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,V6=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,N6=/^'([^]*?)'?$/,D6=/''/g,_6=/[a-zA-Z]/;function l1(e,a,n){var u,m,c,f,h,y,b,x;const r=Zn(),o=(n==null?void 0:n.locale)??r.locale??p6,i=(n==null?void 0:n.firstWeekContainsDate)??((m=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??r.firstWeekContainsDate??((f=(c=r.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??1,l=(n==null?void 0:n.weekStartsOn)??((y=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:y.weekStartsOn)??r.weekStartsOn??((x=(b=r.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??0,s=Dt(e,n==null?void 0:n.in);if(!L5(s))throw new RangeError("Invalid time value");let d=a.match(V6).map(w=>{const k=w[0];if(k==="p"||k==="P"){const B=b6[k];return B(w,o.formatLong)}return w}).join("").match(A6).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const k=w[0];if(k==="'")return{isToken:!1,value:T6(w)};if(a1[k])return{isToken:!0,value:w};if(k.match(_6))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:w}});o.localize.preprocessor&&(d=o.localize.preprocessor(s,d));const p={firstWeekContainsDate:i,weekStartsOn:l,locale:o};return d.map(w=>{if(!w.isToken)return w.value;const k=w.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&S6(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&C6(k))&&M6(k,a,String(e));const B=a1[k[0]];return B(s,k,o.localize,p)}).join("")}function T6(e){const a=e.match(N6);return a?a[1].replace(D6,"'"):e}function P6(e,a,n){const[r,o]=ho(n==null?void 0:n.in,e,a);return+Na(r,n)==+Na(o,n)}function O6(e,a){return P6(Nt(e,e),po(e),a)}function F6(e,a){return Jl(Nt(e,e),po(e))}function L6(e,a,n){return _5(e,-1,n)}function $6(e,a){return Jl(Nt(e,e),L6(po(e)))}const H6={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},R6=(e,a,n)=>{let r;const o=H6[e];return typeof o=="string"?r=o:a===1?r=o.one:r=o.other.replace("{{count}}",String(a)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"em "+r:"há "+r:r},z6={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},I6={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},G6={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},j6={date:Wa({formats:z6,defaultWidth:"full"}),time:Wa({formats:I6,defaultWidth:"full"}),dateTime:Wa({formats:G6,defaultWidth:"full"})},q6={lastWeek:e=>{const a=e.getDay();return"'"+(a===0||a===6?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},W6=(e,a,n,r)=>{const o=q6[e];return typeof o=="function"?o(a):o},Y6={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},U6={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},X6={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},Z6={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},Q6={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},K6={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},J6={ordinalNumber:(e,a)=>{const n=Number(e);return(a==null?void 0:a.unit)==="week"?n+"ª":n+"º"},era:Yt({values:Y6,defaultWidth:"wide"}),quarter:Yt({values:U6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Yt({values:X6,defaultWidth:"wide"}),day:Yt({values:Z6,defaultWidth:"wide"}),dayPeriod:Yt({values:Q6,defaultWidth:"wide",formattingValues:K6,defaultFormattingWidth:"wide"})},e7=/^(\d+)[ºªo]?/i,t7=/\d+/i,a7={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},n7={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},r7={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},o7={any:[/1/i,/2/i,/3/i,/4/i]},i7={narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},l7={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},s7={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},c7={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},d7={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},u7={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},m7={ordinalNumber:e1({matchPattern:e7,parsePattern:t7,valueCallback:e=>parseInt(e,10)}),era:Ut({matchPatterns:a7,defaultMatchWidth:"wide",parsePatterns:n7,defaultParseWidth:"any"}),quarter:Ut({matchPatterns:r7,defaultMatchWidth:"wide",parsePatterns:o7,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ut({matchPatterns:i7,defaultMatchWidth:"wide",parsePatterns:l7,defaultParseWidth:"any"}),day:Ut({matchPatterns:s7,defaultMatchWidth:"wide",parsePatterns:c7,defaultParseWidth:"any"}),dayPeriod:Ut({matchPatterns:d7,defaultMatchWidth:"any",parsePatterns:u7,defaultParseWidth:"any"})},s1={code:"pt-BR",formatDistance:R6,formatLong:j6,formatRelative:W6,localize:J6,match:m7,options:{weekStartsOn:0,firstWeekContainsDate:1}};/*! License details at fancyapps.com/license */const ft=e=>typeof e=="string";/*! License details at fancyapps.com/license */const Ua=e=>e&&e!==null&&e instanceof Element&&"nodeType"in e;/*! License details at fancyapps.com/license */const f7=function(e){if(!(e&&e instanceof Element&&e.offsetParent))return!1;const a=e.scrollHeight>e.clientHeight,n=window.getComputedStyle(e).overflowY,r=n.indexOf("hidden")!==-1,o=n.indexOf("visible")!==-1;return a&&!r&&!o},yn=function(e,a=void 0){return!e||e===document.body||a&&e===a?null:f7(e)?e:yn(e.parentElement,a)};/*! License details at fancyapps.com/license */const fa=function(e){var a=new DOMParser().parseFromString(e,"text/html").body;if(a.childElementCount>1){for(var n=document.createElement("div");a.firstChild;)n.appendChild(a.firstChild);return n}let r=a.firstChild;return!r||r instanceof HTMLElement?r:((n=document.createElement("div")).appendChild(r),n)};/*! License details at fancyapps.com/license */const $e=function(e=0,a=0,n=0){return Math.max(Math.min(a,n),e)};/*! License details at fancyapps.com/license */const Et=e=>typeof e=="object"&&e!==null&&e.constructor===Object&&Object.prototype.toString.call(e)==="[object Object]";/*! License details at fancyapps.com/license */function c1(e){return Et(e)||Array.isArray(e)}function go(e,a){const n=Object.keys(e),r=Object.keys(a);return n.length===r.length&&n.every(o=>{const i=e[o],l=a[o];return typeof i=="function"?`${i}`==`${l}`:c1(i)&&c1(l)?go(i,l):i===l})}/*! License details at fancyapps.com/license */const d1=function(e){for(const a of Jn)a.getState()===Ct.Running&&a.tick(yo?e-yo:0);yo=e,Za=window.requestAnimationFrame(d1)};var Ct,ha,Xa;(function(e){e[e.Initializing=0]="Initializing",e[e.Running=1]="Running",e[e.Paused=2]="Paused",e[e.Completed=3]="Completed",e[e.Destroyed=4]="Destroyed"})(Ct||(Ct={})),function(e){e[e.Spring=0]="Spring",e[e.Ease=1]="Ease"}(ha||(ha={})),function(e){e[e.Loop=0]="Loop",e[e.Reverse=1]="Reverse"}(Xa||(Xa={}));const Jn=new Set;let Za=null,yo=0;function pa(){let e=Ct.Initializing,a=ha.Ease,n=0,r=0,o=pa.Easings.Linear,i=500,l=0,s=0,d=0,p=0,u=1/0,m=.01,c=.01,f=!1,h={},y=null,b={},x={},w={},k=0,B=0,V=Xa.Loop,M=pa.Easings.Linear;const E=new Map;function N(Y,...C){for(const I of E.get(Y)||[])I(...C)}function A(Y){return r=0,Y?y=setTimeout(()=>{q()},Y):q(),X}function q(){e=Ct.Running,N("start",b,x)}function U(){if(e=Ct.Completed,w={},N("end",b),e===Ct.Completed)if(n<k){if(n++,V===Xa.Reverse){const Y=Object.assign({},h);h=Object.assign({},x),x=Y}A(B)}else n=0;return X}const X={getState:function(){return e},easing:function(Y){return o=Y,a=ha.Ease,w={},X},duration:function(Y){return i=Y,X},spring:function(Y={}){a=ha.Spring;const C={velocity:0,mass:1,tension:170,friction:26,restDelta:.1,restSpeed:.1,maxSpeed:1/0,clamp:!0},{velocity:I,mass:z,tension:W,friction:de,restDelta:j,restSpeed:D,maxSpeed:ie,clamp:ne}=Object.assign(Object.assign({},C),Y);return l=I,s=z,d=W,p=de,c=j,m=D,u=ie,f=ne,w={},X},isRunning:function(){return e===Ct.Running},isSpring:function(){return a===ha.Spring},from:function(Y){return b=Object.assign({},Y),X},to:function(Y){return x=Y,X},repeat:function(Y,C=0,I=Xa.Loop,z){return k=Y,B=C,V=I,M=z||o,X},on:function(Y,C){var I,z;return I=Y,z=C,E.set(I,[...E.get(I)||[],z]),X},off:function(Y,C){var I,z;return I=Y,z=C,E.has(I)&&E.set(I,E.get(I).filter(W=>W!==z)),X},start:function(Y){return e=Ct.Initializing,h=Object.assign({},b),go(h,x)||(Jn.add(this),Za||(Za=window.requestAnimationFrame(d1)),A(Y)),X},pause:function(){return y&&(clearTimeout(y),y=null),e===Ct.Running&&(e=Ct.Paused,N("pause",b)),X},end:U,tick:function(Y){Y>50&&(Y=50),r+=Y;let C=0,I=!1;if(e!==Ct.Running)return X;if(a===ha.Ease){C=$e(0,r/i,1),I=C===1;const W=V===Xa.Reverse?M:o;for(const de in b)b[de]=h[de]+(x[de]-h[de])*W(C)}if(a===ha.Spring){const W=.001*Y;let de=0;for(const j in b){const D=x[j];let ie=b[j];if(typeof D!="number"||isNaN(D)||typeof ie!="number"||isNaN(ie))continue;if(Math.abs(D-ie)<=c){b[j]=D,w[j]=0;continue}w[j]||(typeof l=="object"&&typeof l[j]=="number"?w[j]=l[j]:w[j]=typeof l=="number"?l:0);let ne=w[j];ne=$e(-1*Math.abs(u),ne,Math.abs(u));const K=ne*s*p;ne+=((ie>D?-1:1)*(Math.abs(D-ie)*d)-K)/s*W,ie+=ne*W;const S=b[j]>D?ie<D:ie>D;let Q=Math.abs(ne)<m&&Math.abs(D-ie)<=c;f&&S&&(Q=!0),Q?(ie=D,ne=0):de++,b[j]=ie,w[j]=ne}I=!de}const z=Object.assign({},x);return N("step",b,h,x,C),I&&e===Ct.Running&&go(x,z)&&(e=Ct.Completed,U()),X},getStartValues:function(){return h},getCurrentValues:function(){return b},getCurrentVelocities:function(){return w},getEndValues:function(){return x},destroy:function(){e=Ct.Destroyed,y&&(clearTimeout(y),y=null),h=b=x={},Jn.delete(this)}};return X}pa.destroy=()=>{for(const e of Jn)e.destroy();Za&&(cancelAnimationFrame(Za),Za=null)},pa.Easings={Linear:function(e){return e},EaseIn:function(e){return e===0?0:Math.pow(2,10*e-10)},EaseOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},EaseInOut:function(e){return e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2}};/*! License details at fancyapps.com/license */function ko(e){const a=[],n=typeof TouchEvent<"u"&&e instanceof TouchEvent?e.touches:e instanceof MouseEvent&&e.type!=="mouseup"?[e]:[];for(const r of n)a.push({x:r.clientX,y:r.clientY,ts:Date.now()});return a}function u1(e){const a=[],n=typeof TouchEvent<"u"&&e instanceof TouchEvent?e.changedTouches:e instanceof MouseEvent?[e]:[];for(const r of n)a.push({x:r.clientX,y:r.clientY,ts:Date.now()});return a}function ga(e){const a=e[0],n=e[1]||a;return{x:(a.x+n.x)/2,y:(a.y+n.y)/2,ts:n.ts}}function er(e){const a=e[0],n=e[1]||e[0];return a&&n?-1*Math.sqrt((n.x-a.x)*(n.x-a.x)+(n.y-a.y)*(n.y-a.y)):0}const m1=e=>{e.cancelable&&e.preventDefault()},ya={passive:!1},h7={panThreshold:5,swipeThreshold:3,ignore:["textarea","input","select","[contenteditable]","[data-selectable]","[data-draggable]"]};let xo=!1,kn=!0;const xn=(e,a)=>{let n,r,o,i=Object.assign(Object.assign({},h7),a),l=[],s=[],d=[],p=!1,u=!1,m=!1,c=0,f=0,h=0,y=0,b=0,x=0,w=0,k=0,B=0,V=[],M=0,E=0;const N=new Map;function A(j){const D=er(s),ie=er(d),ne=D&&ie?D/ie:0,K=Math.abs(w)>Math.abs(k)?w:k,S={srcEvent:n,isPanRecognized:p,isSwipeRecognized:u,firstTouch:l,previousTouch:d,currentTouch:s,deltaX:h,deltaY:y,offsetX:b,offsetY:x,velocityX:w,velocityY:k,velocity:K,angle:B,axis:o,scale:ne,center:r};for(const Q of N.get(j)||[])Q(S)}function q(j){const D=Date.now();V=V.filter(ie=>!ie.ts||ie.ts>D-100),j&&V.push(j)}function U(){if(w=0,k=0,V.length>3){const j=V[0],D=V[V.length-1];if(j&&D){const ie=D.x-j.x,ne=D.y-j.y,K=j.ts&&D.ts?D.ts-j.ts:0;K>0&&(w=Math.abs(ie)>3?ie/(K/30):0,k=Math.abs(ne)>3?ne/(K/30):0)}}}function X(j){if(j instanceof MouseEvent){if(xo)return}else xo=!0;const D=j.composedPath()[0],ie=i.ignore.join(",");if(D.matches(ie)||D.closest(ie)||typeof MouseEvent<"u"&&j instanceof MouseEvent&&(!j.buttons||j.button!==0))return;j instanceof MouseEvent&&m1(j);const ne=Date.now(),K=ne-(c||ne);m=K>0&&K<=250,c=ne,clearTimeout(M),n=j,j instanceof MouseEvent&&(window.addEventListener("mousemove",Y),window.addEventListener("mouseup",C)),window.addEventListener("blur",I),s=ko(j),l=[...s],d=[],f=s.length,r=ga(s),f===1&&(p=!1,u=!1),f&&q(ga(s)),A("start")}function Y(j){var D;if(!l.length||j.defaultPrevented)return;n=j,d=[...s],s=ko(j),f=s.length,r=ga(s);const ie=r,ne=ga(d);if(h=ie.x-ne.x,y=ie.y-ne.y,q(ie),U(),A("move"),s.length>1){const K=er(s),S=er(d);Math.abs(K-S)>=.1&&A("pinch")}if(!p&&l.length){const K=ga(l);b=ie.x-K.x,x=ie.y-K.y,p=Math.abs(b)>i.panThreshold||Math.abs(x)>i.panThreshold,p&&(kn=!1,clearTimeout(E),E=0,B=Math.abs(180*Math.atan2(x,b)/Math.PI),o=B>45&&B<135?"y":"x",l=[...s],d=[...s],(D=window.getSelection())===null||D===void 0||D.removeAllRanges(),A("panstart"))}p&&(h||y)&&A("pan")}function C(j){if(n=j,!l.length)return;const D=ko(j),ie=u1(j);if(f=D.length,r=ga(ie),ie.length&&q(ga(ie)),U(),d=[...s],s=[...D],l=[...D],D.length>0)A("end"),p=!1,u=!1,V=[];else{const ne=i.swipeThreshold;(Math.abs(w)>ne||Math.abs(k)>ne)&&(u=!0),p&&A("panend"),u&&A("swipe"),p||u||(A("tap"),m?A("doubleTap"):M=setTimeout(function(){A("singleTap")},250)),A("end"),z()}}function I(){clearTimeout(M),z(),p&&A("panend"),A("end")}function z(){p=!1,u=!1,m=!1,f=0,V=[],s=[],d=[],l=[],h=0,y=0,b=0,x=0,w=0,k=0,B=0,o=void 0,window.removeEventListener("mousemove",Y),window.removeEventListener("mouseup",C),window.removeEventListener("blur",I),kn||E||(E=setTimeout(()=>{kn=!0,E=0},100))}function W(j){const D=j.target;xo=!1,D&&!j.defaultPrevented&&(kn||(m1(j),j.stopPropagation()))}const de={init:function(){if(e)return e.addEventListener("click",W,ya),e.addEventListener("mousedown",X,ya),e.addEventListener("touchstart",X,ya),e.addEventListener("touchmove",Y,ya),e.addEventListener("touchend",C),e.addEventListener("touchcancel",C),de},on:function(j,D){return function(ie,ne){N.set(ie,[...N.get(ie)||[],ne])}(j,D),de},off:function(j,D){return N.has(j)&&N.set(j,N.get(j).filter(ie=>ie!==D)),de},isPointerDown:()=>f>0,destroy:function(){clearTimeout(M),clearTimeout(E),E=0,e&&(e.removeEventListener("click",W,ya),e.removeEventListener("mousedown",X,ya),e.removeEventListener("touchstart",X,ya),e.removeEventListener("touchmove",Y,ya),e.removeEventListener("touchend",C),e.removeEventListener("touchcancel",C)),e=null,z()}};return de};xn.isClickAllowed=()=>kn;/*! License details at fancyapps.com/license */const bo={IMAGE_ERROR:"This image couldn't be loaded. <br /> Please try again later.",MOVE_UP:"Move up",MOVE_DOWN:"Move down",MOVE_LEFT:"Move left",MOVE_RIGHT:"Move right",ZOOM_IN:"Zoom in",ZOOM_OUT:"Zoom out",TOGGLE_FULL:"Toggle zoom level",TOGGLE_1TO1:"Toggle zoom level",ITERATE_ZOOM:"Toggle zoom level",ROTATE_CCW:"Rotate counterclockwise",ROTATE_CW:"Rotate clockwise",FLIP_X:"Flip horizontally",FLIP_Y:"Flip vertically",RESET:"Reset"};/*! License details at fancyapps.com/license */const ze=(e,a="")=>{e&&e.classList&&a.split(" ").forEach(n=>{n&&e.classList.add(n)})};/*! License details at fancyapps.com/license */const tr=e=>{e.cancelable&&e.preventDefault()},St=(e,a=1e4)=>(e=parseFloat(e+"")||0,Math.round((e+Number.EPSILON)*a)/a);var we,f1;(function(e){e.Reset="reset",e.Zoom="zoom",e.ZoomIn="zoomIn",e.ZoomOut="zoomOut",e.ZoomTo="zoomTo",e.ToggleCover="toggleCover",e.ToggleFull="toggleFull",e.ToggleMax="toggleMax",e.IterateZoom="iterateZoom",e.Pan="pan",e.Swipe="swipe",e.Move="move",e.MoveLeft="moveLeft",e.MoveRight="moveRight",e.MoveUp="moveUp",e.MoveDown="moveDown",e.RotateCCW="rotateCCW",e.RotateCW="rotateCW",e.FlipX="flipX",e.FlipY="flipY"})(we||(we={})),function(e){e.Cover="cover",e.Full="full",e.Max="max"}(f1||(f1={}));const _t={x:0,y:0,scale:1,angle:0,flipX:1,flipY:1},wo={bounds:!0,classes:{container:"f-panzoom",wrapper:"f-panzoom__wrapper",content:"f-panzoom__content",viewport:"f-panzoom__viewport"},clickAction:we.ToggleFull,dblClickAction:!1,gestures:{},height:"auto",l10n:bo,maxScale:4,minScale:1,mouseMoveFactor:1,panMode:"drag",protected:!1,singleClickAction:!1,spinnerTpl:'<div class="f-spinner"></div>',wheelAction:we.Zoom,width:"auto"};let ar,h1=0,p1=0,nr=0;const vo=(e,a={},n={})=>{let r,o,i,l,s,d,p,u=0,m=Object.assign(Object.assign({},wo),a),c={},f=Object.assign({},_t),h=Object.assign({},_t);const y=[];function b(v){let g=m[v];return g&&typeof g=="function"?g(L):g}const x=new Map;function w(v,...g){const _=x.get(v)||[];m.on&&_.push(m.on[v]);for(const F of _)F&&F instanceof Function&&F(L,...g);v!=="*"&&w("*",v,...g)}function k(v){if(u!==3)return;const g=v.target;if(yn(g))return;const _=Date.now(),F=[-v.deltaX||0,-v.deltaY||0,-v.detail||0].reduce(function(ce,ge){return Math.abs(ge)>Math.abs(ce)?ge:ce}),O=$e(-1,F,1);w("wheel",v,O);const J=b("wheelAction");if(!J||v.defaultPrevented)return;const $=h.scale;let te=$*(O>0?1.5:.5);if(J===we.Zoom){const ce=Math.abs(v.deltaY)<100&&Math.abs(v.deltaX)<100;if(_-p1<(ce?200:45))return void tr(v);p1=_;const ge=X(),xe=z();if(St(te)<St(ge)&&St($)<=St(ge)?(nr+=Math.abs(O),te=ge):St(te)>St(xe)&&St($)>=St(xe)?(nr+=Math.abs(O),te=xe):(nr=0,te=$e(ge,te,xe)),nr>7)return}switch(tr(v),J){case we.Pan:D(J,{srcEvent:v,deltaX:2*-v.deltaX,deltaY:2*-v.deltaY});break;case we.Zoom:D(we.ZoomTo,{srcEvent:v,scale:te,center:{x:v.clientX,y:v.clientY}});break;default:D(J,{srcEvent:v})}}function B(v){var g,_;const F=v.composedPath()[0];if(!xn.isClickAllowed()||!Ua(F)||v.defaultPrevented||!(e!=null&&e.contains(F))||F.hasAttribute("disabled")||F.hasAttribute("aria-disabled"))return;const O=F.closest("[data-panzoom-action]"),J=(g=O==null?void 0:O.dataset)===null||g===void 0?void 0:g.panzoomAction,$=((_=O==null?void 0:O.dataset)===null||_===void 0?void 0:_.panzoomValue)||"";if(J){switch(J){case we.ZoomTo:case we.ZoomIn:case we.ZoomOut:D(J,{scale:parseFloat($||"")||void 0});break;case we.MoveLeft:case we.MoveRight:D(J,{deltaX:parseFloat($||"")||void 0});break;case we.MoveUp:case we.MoveDown:D(J,{deltaY:parseFloat($||"")||void 0});break;default:D(J)}return}if(!(r!=null&&r.contains(F)))return;const te={srcEvent:v};if(D(b("clickAction"),te),b("dblClickAction")){const ce=Date.now(),ge=ce-(h1||ce);h1=ce,ge>0&&ge<=250?(ar&&(clearTimeout(ar),ar=void 0),D(b("dblClickAction"),te)):ar=setTimeout(()=>{D(b("singleClickAction"),te)},250)}}function V(v){if(p=v,!A()||u!==3||f.scale<=1||h.scale<=1||((r==null?void 0:r.dataset.animationName)||"").indexOf("zoom")>-1)return;const g=q(h.scale);if(!g)return;const{x:_,y:F}=g;D(we.Pan,{deltaX:_-h.x,deltaY:F-h.y})}function M(){var v;if(e&&((v=e.querySelector(".f-spinner"))===null||v===void 0||v.remove(),e.classList.remove("is-loading")),!e||!r)return;if(o instanceof HTMLImageElement&&(!o.complete||!o.naturalWidth))return u=2,r==null||r.classList.add("has-error"),void w("error");w("loaded");const{width:g,height:_}=N();o&&(o.setAttribute("width",g+""),o.setAttribute("height",_+"")),r&&(r.classList.remove("has-error"),r.setAttribute("width",g+""),r.setAttribute("height",_+""),r.style.aspectRatio=`${g/_||""}`),s=pa().on("start",(O,J)=>{h=Object.assign(Object.assign({},_t),J),J.angle!==void 0&&(J.angle=90*Math.round(J.angle/90)),J.flipX!==void 0&&(J.flipX=J.flipX>0?1:-1),J.flipY!==void 0&&(J.flipY=J.flipY>0?1:-1),j(),w("animationStart")}).on("pause",O=>{h=Object.assign(Object.assign({},_t),O)}).on("step",O=>{if(u!==3||!s)return;if(!e||!e.parentElement)return void s.end();if(f=Object.assign(Object.assign({},_t),O),A()||!b("bounds")||(l==null?void 0:l.isPointerDown())||h.scale>f.scale||h.scale<Y())return void ie();const J=W(h.scale);let $=!1,te=!1,ce=!1,ge=!1;f.x<J.x[0]&&($=!0),f.x>J.x[1]&&(te=!0),f.y<J.y[0]&&(ge=!0),f.y>J.y[1]&&(ce=!0);let xe=!1,ue=!1,Me=!1,Ne=!1;h.x<J.x[0]&&(xe=!0),h.x>J.x[1]&&(ue=!0),h.y<J.y[0]&&(Ne=!0),h.y>J.y[1]&&(Me=!0);let De=!1;(te&&ue||$&&xe)&&(h.x=$e(J.x[0],h.x,J.x[1]),De=!0),(ce&&Me||ge&&Ne)&&(h.y=$e(J.y[0],h.y,J.y[1]),De=!0),De&&s.spring({tension:94,friction:17,maxSpeed:555*h.scale,restDelta:.1,restSpeed:.1,velocity:s.getCurrentVelocities()}).from(f).to(h).start(),ie()}).on("end",()=>{de(),s!=null&&s.isRunning()||(j(),w("animationEnd"))}),function(){const O=b("gestures");O&&i&&o&&(l=xn(i,O).on("start",J=>{if(!s)return;const $=J.srcEvent;A()||((f.scale>1||J.currentTouch.length>1)&&($==null||$.stopPropagation(),s.pause()),J.currentTouch.length===1&&w("touchStart"))}).on("move",J=>{A()||(h.scale!==1||J.currentTouch.length>1)&&(J.srcEvent.preventDefault(),J.srcEvent.stopPropagation())}).on("pan",J=>{if(A())return;const $=J.srcEvent;(h.scale!==1||J.currentTouch.length>1)&&(tr($),D(we.Pan,J))}).on("swipe",J=>{A()||h.scale>1&&D(we.Swipe,J)}).on("tap",J=>{w("click",J)}).on("singleTap",J=>{w("singleClick",J)}).on("doubleTap",J=>{w("dblClick",J)}).on("pinch",J=>{A()||(J.scale>Y()?D(we.ZoomIn,J):J.scale<Y()?D(we.ZoomOut,J):D(we.Pan,J))}).on("end",J=>{A()||(J.currentTouch.length?(J.srcEvent.stopPropagation(),tr(J.srcEvent),s==null||s.end()):(j(),de(),w("touchEnd")))}).init())}(),i&&(i.addEventListener("wheel",k,{passive:!1}),y.push(()=>{i==null||i.removeEventListener("wheel",k,{passive:!1})})),e==null||e.addEventListener("click",B),document==null||document.addEventListener("mousemove",V),y.push(()=>{e==null||e.removeEventListener("click",B),document==null||document.removeEventListener("mousemove",V)});const F=Object.assign(Object.assign({},b("startPos")||{}),{scale:Y()});if(f=Object.assign(Object.assign({},_t),F),h=Object.assign(Object.assign({},_t),F),A()){const O=q(h.scale);if(O){const{x:J,y:$}=O;f.x=J,f.y=$,h.x=J,h.y=$}}u=3,ie(),j(),w("ready"),requestAnimationFrame(()=>{i&&(i.style.visibility="")})}function E(){const v={top:0,left:0,width:0,height:0};if(r){const g=r.getBoundingClientRect();h.angle%180==90?(v.top=g.top+.5*g.height-.5*g.width,v.left=g.left+.5*g.width-.5*g.height,v.width=g.height,v.height=g.width):(v.top=g.top,v.left=g.left,v.width=g.width,v.height=g.height)}return v}function N(){let v=b("width"),g=b("height");if(o&&v==="auto"){const _=o.getAttribute("width");v=_?parseFloat(_+""):o.dataset.width!==void 0?parseFloat(o.dataset.width+""):i instanceof HTMLImageElement?i.naturalWidth:o instanceof HTMLImageElement?o.naturalWidth:o.getBoundingClientRect().width}else v=ft(v)?parseFloat(v):v;if(o&&g==="auto"){const _=o.getAttribute("height");g=_?parseFloat(_+""):o.dataset.height!==void 0?parseFloat(o.dataset.height+""):i instanceof HTMLImageElement?i.naturalHeight:o instanceof HTMLImageElement?o.naturalHeight:o.getBoundingClientRect().height}else g=ft(g)?parseFloat(g):g;return{width:v,height:g}}function A(){return b("panMode")==="mousemove"&&matchMedia("(hover: hover)").matches}function q(v){const g=p||b("event"),_=r==null?void 0:r.getBoundingClientRect();if(!g||!_||v<=1)return{x:0,y:0};const F=(g.clientX||0)-_.left,O=(g.clientY||0)-_.top,J=_.width,$=_.height,te=W(v);if(v>1){const Me=b("mouseMoveFactor");Me>1&&(v*=Me)}let ce=J*v,ge=$*v,xe=.5*(ce-J)-F/J*100/100*(ce-J),ue=.5*(ge-$)-O/$*100/100*(ge-$);return xe=$e(te.x[0],xe,te.x[1]),ue=$e(te.y[0],ue,te.y[1]),{x:xe,y:ue}}function U(v="base"){if(!e)return 1;const g=e.getBoundingClientRect(),_=E(),{width:F,height:O}=N(),J=xe=>{if(typeof xe=="number")return xe;switch(xe){case"min":case"base":return 1;case"cover":return Math.max(g.height/_.height,g.width/_.width)||1;case"full":case"max":{const ue=h.angle%180==90?O:F;return ue&&_.width?ue/_.width:1}}},$=b("minScale"),te=b("maxScale"),ce=Math.min(J("full"),J($)),ge=typeof te=="number"?J("full")*te:Math.min(J("full"),J(te));switch(v){case"min":return ce;case"base":return $e(ce,1,ge);case"cover":return J("cover");case"full":return Math.min(ge,J("full"));case"max":return ge}}function X(){return U("min")}function Y(){return U("base")}function C(){return U("cover")}function I(){return U("full")}function z(){return U("max")}function W(v){const g={x:[0,0],y:[0,0]},_=e==null?void 0:e.getBoundingClientRect();if(!_)return g;const F=E(),O=_.width,J=_.height;let $=F.width,te=F.height,ce=v=v===void 0?h.scale:v,ge=v;if(A()&&v>1){const xe=b("mouseMoveFactor");xe>1&&($*v>O+.01&&(ce*=xe),te*v>J+.01&&(ge*=xe))}return $*=ce,te*=ge,v>1&&($>O&&(g.x[0]=.5*(O-$),g.x[1]=.5*($-O)),g.x[0]-=.5*(F.left-_.left),g.x[1]-=.5*(F.left-_.left),g.x[0]-=.5*(F.left+F.width-_.right),g.x[1]-=.5*(F.left+F.width-_.right),te>J&&(g.y[0]=.5*(J-te),g.y[1]=.5*(te-J)),g.y[0]-=.5*(F.top-_.top),g.y[1]-=.5*(F.top-_.top),g.y[0]-=.5*(F.top+F.height-_.bottom),g.y[1]-=.5*(F.top+F.height-_.bottom)),g}function de(){if(!b("bounds")||u!==3||!(e!=null&&e.parentElement)||!s)return;const v=X(),g=z(),_=$e(v,h.scale,g);if(h.scale<v-.01||h.scale>g+.01)return void D(we.ZoomTo,{scale:_});if(s.isRunning()||l!=null&&l.isPointerDown())return;const F=W(_);h.x<F.x[0]||h.x>F.x[1]||h.y<F.y[0]||h.y>F.y[1]?(h.x=$e(F.x[0],h.x,F.x[1]),h.y=$e(F.y[0],h.y,F.y[1]),s.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:s.getCurrentVelocities()}),s.from(f).to(h).start()):ie()}function j(){if(!e||!e.parentElement||!r)return;const v=H(),g=ye(),_=Z(),F=me(),O=K(),J=S();r.classList.toggle("is-fullsize",F),r.classList.toggle("is-expanded",_),r.classList.toggle("is-dragging",g),r.classList.toggle("can-drag",v),r.classList.toggle("will-zoom-in",O),r.classList.toggle("will-zoom-out",J);const $=Q(),te=fe(),ce=u!==3;for(const ge of(e==null?void 0:e.querySelectorAll("[data-panzoom-action]"))||[]){const xe=ge.dataset.panzoomAction;let ue=!1;if(ce)ue=!0;else switch(xe){case we.ZoomIn:$||(ue=!0);break;case we.ZoomOut:te||(ue=!0);break;case we.ToggleFull:$||te||(ue=!0);const Me=ge.querySelector("g");Me&&(Me.style.display=F?"none":"");break;case we.ToggleCover:case we.ToggleMax:$||te||(ue=!0)}ue?(ge.setAttribute("aria-disabled",""),ge.setAttribute("tabindex","-1")):(ge.removeAttribute("aria-disabled"),ge.removeAttribute("tabindex"))}}function D(v,g){var _;if(!e||!o||!s||v===we.Swipe&&Math.abs(s.getCurrentVelocities().scale)>.01)return;let F=Object.assign({},h),O=W(A()?h.scale:f.scale);const J=s.getCurrentVelocities(),$=E(),te=(((_=(g=g||{}).currentTouch)===null||_===void 0?void 0:_.length)||0)>1,ce=g.velocityX||0,ge=g.velocityY||0;let xe=g.center;!xe&&g.srcEvent&&(xe=ga(u1(g.srcEvent)));let ue=g.deltaX||0,Me=g.deltaY||0;switch(v){case we.MoveRight:ue=g.deltaX||100;break;case we.MoveLeft:ue=g.deltaX||-100;break;case we.MoveUp:Me=g.deltaY||-100;break;case we.MoveDown:Me=g.deltaY||100}let Ne=[];switch(v){case we.Reset:h=Object.assign({},_t),h.scale=Y();break;case we.Pan:case we.Move:case we.MoveLeft:case we.MoveRight:case we.MoveUp:case we.MoveDown:if(l!=null&&l.isPointerDown()){let Le=1,Be=1;h.x<=O.x[0]&&ce<=0&&(Le=Math.max(.01,1-Math.abs(1/$.width*Math.abs(h.x-O.x[0]))),Le*=.2),h.x>=O.x[1]&&ce>=0&&(Le=Math.max(.01,1-Math.abs(1/$.width*Math.abs(h.x-O.x[1]))),Le*=.2),h.y<=O.y[0]&&ge<=0&&(Be=Math.max(.01,1-Math.abs(1/$.height*Math.abs(h.y-O.y[0]))),Be*=.2),h.y>=O.y[1]&&ge>=0&&(Be=Math.max(.01,1-Math.abs(1/$.height*Math.abs(h.y-O.y[1]))),Be*=.2),h.x+=ue*Le,h.y+=Me*Be}else h.x=$e(O.x[0],h.x+ue,O.x[1]),h.y=$e(O.y[0],h.y+Me,O.y[1]);break;case we.Swipe:const De=(Le=0)=>Math.sign(Le)*Math.pow(Math.abs(Le),1.5);h.x+=$e(-1e3,De(ce),1e3),h.y+=$e(-1e3,De(ge),1e3),ge&&!ce&&(h.x=$e(O.x[0],h.x,O.x[1])),!ge&&ce&&(h.y=$e(O.y[0],h.y,O.y[1])),J.x=ce,J.y=ge;break;case we.ZoomTo:h.scale=g.scale||1;break;case we.ZoomIn:h.scale=h.scale*(g.scale||2),te||(h.scale=Math.min(h.scale,z()));break;case we.ZoomOut:h.scale=h.scale*(g.scale||.5),te||(h.scale=Math.max(h.scale,X()));break;case we.ToggleCover:Ne=[Y(),C()];break;case we.ToggleFull:Ne=[Y(),I()];break;case we.ToggleMax:Ne=[Y(),z()];break;case we.IterateZoom:Ne=[Y(),I(),z()];break;case we.Zoom:const Se=I();h.scale>=Se-.05?h.scale=Y():h.scale=Math.min(Se,h.scale*(g.scale||2));break;case we.RotateCW:h.angle+=90;break;case we.RotateCCW:h.angle-=90;break;case we.FlipX:h.flipX*=-1;break;case we.FlipY:h.flipY*=-1}if(f.angle!==void 0&&Math.abs(f.angle)>=360&&(h.angle-=360*Math.floor(f.angle/360),f.angle-=360*Math.floor(f.angle/360)),Ne.length){const De=Ne.findIndex(Se=>Se>h.scale+1e-4);h.scale=Ne[De]||Ne[0]}if(te&&(h.scale=$e(X()*(te?.8:1),h.scale,z()*(te?1.6:1))),A()){const De=q(h.scale);if(De){const{x:Se,y:Le}=De;h.x=Se,h.y=Le}}else if(h.scale!==F.scale){let De=0,Se=0;if(xe)De=xe.x,Se=xe.y;else{const re=e.getBoundingClientRect();De=re.x+.5*re.width,Se=re.y+.5*re.height}let Le=De-$.left,Be=Se-$.top;Le-=.5*$.width,Be-=.5*$.height;const G=(Le-F.x)/F.scale,ae=(Be-F.y)/F.scale;h.x=Le-G*h.scale,h.y=Be-ae*h.scale,!te&&b("bounds")&&(O=W(h.scale),h.x=$e(O.x[0],h.x,O.x[1]),h.y=$e(O.y[0],h.y,O.y[1]))}if(v===we.Swipe){let De=94,Se=17,Le=500*h.scale,Be=J;s.spring({tension:De,friction:Se,maxSpeed:Le,restDelta:.1,restSpeed:.1,velocity:Be})}else v===we.Pan||te?s.spring({tension:750,friction:17,restDelta:.01,restSpeed:.01,maxSpeed:1}):s.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:J});v===we.Reset&&g.velocity===0?f=Object.assign({},h):s.from(f).to(h).start(),w("action",v)}function ie(){if(!r||!o)return;if(o instanceof HTMLImageElement){const{width:te,height:ce}=N();r.style.maxWidth=`min(${te}px, 100%)`,r.style.maxHeight=`min(${ce}px, 100%)`}let{x:v,y:g,scale:_,angle:F,flipX:O,flipY:J}=f;const $=function(){const te=E(),ce=te.width,ge=te.height,{width:xe,height:ue}=N();if(!e)return{x:0,y:0,width:0,height:0,scale:0,flipX:0,flipY:0,angle:0,fitWidth:ce,fitHeight:ge,fullWidth:xe,fullHeight:ue};let{x:Me,y:Ne,scale:De,angle:Se,flipX:Le,flipY:Be}=f,G=1/I(),ae=xe,re=ue,se=f.scale*G,Ee=h.scale*G;const he=Math.max(ce,ge),ke=Math.min(ce,ge);xe>ue?(ae=he,re=ke):(ae=ke,re=he),se=xe>ue?he*De/xe||1:he*De/ue||1;let R=ae?xe*Ee:0,P=re?ue*Ee:0;return Me=Me+.5*ae-.5*R,Ne=Ne+.5*re-.5*P,{x:Me,y:Ne,width:R,height:P,scale:ae&&re?xe*se/R:0,flipX:Le,flipY:Be,angle:Se,fitWidth:ce,fitHeight:ge,fullWidth:xe,fullHeight:ue}}();if(r&&$){const{x:te,y:ce,width:ge,height:xe,scale:ue,flipX:Me,flipY:Ne}=$;let De=`translate(${St(te)}px, ${St(ce)}px)`;De+=Me!==1||Ne!==1?` scaleX(${St(ue*Me)}) scaleY(${St(ue*Ne)})`:` scale(${St(ue)})`,F!==0&&(De+=` rotate(${F}deg)`),i&&(i.style.width=`${St(ge)}px`,i.style.height=`${St(xe)}px`,i.style.transform=`${De}`)}w("render")}function ne(){let v=h.scale;const g=b("clickAction");let _=Y();if(g){let F=[];switch(g){case we.ZoomIn:_=2*v;break;case we.ZoomOut:_=.5*v;break;case we.ToggleCover:F=[Y(),C()];break;case we.ToggleFull:F=[Y(),I()];break;case we.ToggleMax:F=[Y(),z()];break;case we.IterateZoom:F=[Y(),I(),z()];break;case we.Zoom:const O=I();_=v>=O-.05?Y():Math.min(O,2*v)}if(F.length){const O=F.findIndex(J=>J>v+1e-4);_=F[O]||Y()}}return _=$e(X(),_,z()),_}function K(){return u===3&&ne()>h.scale}function S(){return u===3&&ne()<h.scale}function Q(){return u===3&&h.scale<z()}function fe(){return u===3&&h.scale>X()}function H(){return u===3&&Z()&&!!l&&!A()}function ye(){return u===3&&(l==null?void 0:l.isPointerDown())&&!A()}function Z(){return u===3&&h.scale>Y()}function me(){return u===3&&h.scale>=I()}const L={canDrag:H,canZoomIn:Q,canZoomOut:fe,destroy:function(){w("destroy");for(const v of Object.values(c))v==null||v.destroy(L);for(const v of y)v();return r&&(r.style.aspectRatio="",r.style.maxWidth="",r.style.maxHeight=""),i&&(i.style.width="",i.style.height="",i.style.transform=""),r=void 0,o=void 0,i=void 0,f=Object.assign({},_t),h=Object.assign({},_t),s==null||s.destroy(),s=void 0,l==null||l.destroy(),l=void 0,u=4,L},emit:w,execute:D,getBoundaries:W,getContainer:function(){return e},getFullDim:N,getGestures:function(){return l},getMousemovePos:q,getOptions:function(){return m},getScale:U,getState:function(){return u},getTransform:function(v){return v===!0?h:f},getTween:function(){return s},getViewport:function(){return i},getWrapper:function(){return r},init:function(){return u=0,w("init"),function(){for(const[v,g]of Object.entries(Object.assign(Object.assign({},n),m.plugins||{})))if(v&&!c[v]&&g instanceof Function){const _=g();_.init(L),c[v]=_}w("initPlugins")}(),function(){if(!e)return;const v=Object.assign(Object.assign({},wo.classes),b("classes"));if(ze(e,v.container),o=e.querySelector("."+v.content),!!o&&(o.setAttribute("draggable","false"),r=e.querySelector("."+v.wrapper),r||(r=document.createElement("div"),ze(r,v.wrapper),o.insertAdjacentElement("beforebegin",r),r.insertAdjacentElement("afterbegin",o)),o instanceof HTMLImageElement||o instanceof HTMLPictureElement)){if(i=e.querySelector("."+v.viewport),!i){i=document.createElement("div"),ze(i,v.viewport);const g=o.cloneNode(!0);g.classList.remove("is-lazyloading"),g.classList.remove("is-lazyloaded"),i.insertAdjacentElement("afterbegin",g),r.insertAdjacentElement("beforeend",i)}if(o instanceof HTMLPictureElement&&(o=o.querySelector("img")),i instanceof HTMLPictureElement&&(i=i.querySelector("img")),i.style.visibility="hidden",b("protected")){i.addEventListener("contextmenu",_=>{_.preventDefault()});const g=document.createElement("div");ze(g,"f-panzoom__protected"),i.appendChild(g)}w("initLayout")}}(),function(){if(!(o&&o instanceof HTMLImageElement))return;u=1,w("loading");const v=()=>{o&&o instanceof HTMLImageElement&&o.decode().then(()=>{requestAnimationFrame(()=>{M()})}).catch(()=>{M()})};if(o.src&&o.complete)return void v();(function(){const g=e==null?void 0:e.querySelector(".f-spinner");if(!e||g)return;const _=b("spinnerTpl"),F=fa(_);F&&(F.classList.add("f-spinner"),e.classList.add("is-loading"),r==null||r.insertAdjacentElement("afterbegin",F))})(),o.addEventListener("load",v,!1),o.addEventListener("error",v,!1),y.push(()=>{o==null||o.removeEventListener("load",v,!1),o==null||o.removeEventListener("error",v,!1)})}(),function(){if(e&&r&&!d){let v=null;d=new ResizeObserver(()=>{v||(v=requestAnimationFrame(()=>{e&&e.parentElement&&u===3&&(j(),de(),w("refresh")),v=null}))}),d.observe(r),y.push(()=>{d==null||d.disconnect(),d=void 0,v&&(cancelAnimationFrame(v),v=null)})}}(),L},isDragging:ye,isExpanded:Z,isFullsize:me,localize:function(v,g=[]){const _=b("l10n")||{};v=String(v).replace(/\{\{(\w+)\}\}/g,(F,O)=>_[O]||F);for(let F=0;F<g.length;F++)v=v.split(g[F][0]).join(g[F][1]);return v=v.replace(/\{\{(.*?)\}\}/g,(F,O)=>O)},off:function(v,g){for(const _ of v instanceof Array?v:[v])x.has(_)&&x.set(_,x.get(_).filter(F=>F!==g));return L},on:function(v,g){for(const _ of v instanceof Array?v:[v])x.set(_,[...x.get(_)||[],g]);return L},version:"6.0.16",willZoomIn:K,willZoomOut:S};return L};vo.l10n={en_EN:bo},vo.getDefaults=()=>wo;/*! License details at fancyapps.com/license */const Eo=(e,a)=>{let n=[];return e.childNodes.forEach(r=>{r.nodeType!==Node.ELEMENT_NODE||a&&!r.matches(a)||n.push(r)}),n};/*! License details at fancyapps.com/license */const Tt=(e,...a)=>{const n=a.length;for(let r=0;r<n;r++){const o=a[r]||{};Object.entries(o).forEach(([i,l])=>{const s=Array.isArray(l)?[]:{};e[i]||Object.assign(e,{[i]:s}),Et(l)?Object.assign(e[i],Tt(s,l)):Array.isArray(l)?Object.assign(e,{[i]:[...l]}):Object.assign(e,{[i]:l})})}return e};/*! License details at fancyapps.com/license */const Co=function(e=0,a=0,n=0,r=0,o=0,i=!1){const l=(e-a)/(n-a)*(o-r)+r;return i?r<o?$e(r,l,o):$e(o,l,r):l};/*! License details at fancyapps.com/license */const Jt=(e,a="")=>{e&&e.classList&&a.split(" ").forEach(n=>{n&&e.classList.remove(n)})};/*! License details at fancyapps.com/license */const ka=(e,a="",n)=>{e&&e.classList&&a.split(" ").forEach(r=>{r&&e.classList.toggle(r,n||!1)})};/*! License details at fancyapps.com/license */const So=Object.assign(Object.assign({},bo),{ERROR:"Something went wrong. <br /> Please try again later.",NEXT:"Next page",PREV:"Previous page",GOTO:"Go to page #%d",DOWNLOAD:"Download",TOGGLE_FULLSCREEN:"Toggle full-screen mode",TOGGLE_EXPAND:"Toggle full-size mode",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_AUTOPLAY:"Toggle slideshow"});/*! License details at fancyapps.com/license */const Qa=e=>{e.cancelable&&e.preventDefault()},Ka={adaptiveHeight:!1,center:!0,classes:{container:"f-carousel",isEnabled:"is-enabled",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",hasAdaptiveHeight:"has-adaptive-height",viewport:"f-carousel__viewport",slide:"f-carousel__slide",isSelected:"is-selected"},dragFree:!1,enabled:!0,errorTpl:'<div class="f-html">{{ERROR}}</div>',fill:!1,infinite:!0,initialPage:0,l10n:So,rtl:!1,slides:[],slidesPerPage:"auto",spinnerTpl:'<div class="f-spinner"></div>',transition:"fade",tween:{clamp:!0,mass:1,tension:200,friction:25,restDelta:1,restSpeed:1,velocity:0},vertical:!1};let g1,y1=0;const rr=(e,a={},n={})=>{y1++;let r,o,i,l,s,d=0,p=Object.assign({},Ka),u=Object.assign({},Ka),m={},c=null,f=null,h=!1,y=!1,b=!1,x=!1,w="height",k=0,B=!0,V=0,M=0,E=0,N=0,A="*",q=[],U=[];const X=new Set;let Y=[],C=[],I=0,z=0;function W(G,...ae){let re=u[G];return re&&re instanceof Function?re(Be,...ae):re}function de(G,ae=[]){const re=W("l10n")||{};G=String(G).replace(/\{\{(\w+)\}\}/g,(se,Ee)=>re[Ee]||se);for(let se=0;se<ae.length;se++)G=G.split(ae[se][0]).join(ae[se][1]);return G=G.replace(/\{\{(.*?)\}\}/g,(se,Ee)=>Ee)}const j=new Map;function D(G,...ae){const re=j.get(G)||[];u.on&&re.push(u.on[G]);for(const se of re)se&&se instanceof Function&&se(Be,...ae);G!=="*"&&D("*",G,...ae)}function ie(){var G,ae;const re=Tt({},Ka,p);Tt(re,Ka,p);let se="";const Ee=p.breakpoints||{};if(Ee)for(const[he,ke]of Object.entries(Ee))window.matchMedia(he).matches&&(se+=he,Tt(re,ke));if(s===void 0||se!==s){if(s=se,d!==0){let he=(ae=(G=C[V])===null||G===void 0?void 0:G.slides[0])===null||ae===void 0?void 0:ae.index;he===void 0&&(he=u.initialSlide),re.initialSlide=he,re.slides=[];for(const ke of q)ke.isVirtual&&re.slides.push(ke)}Le(),u=re,u.enabled!==!1&&(d=0,D("init"),function(){for(const[he,ke]of Object.entries(Object.assign(Object.assign({},n),u.plugins||{})))if(he&&!m[he]&&ke instanceof Function){const R=ke();R.init(Be,rr),m[he]=R}D("initPlugins")}(),function(){if(!c)return;const he=W("classes")||{};ze(c,he.container),ze(c,he.isEnabled);const ke=W("style");if(ke&&Et(ke))for(const[R,P]of Object.entries(ke))c.style.setProperty(R,P);f=c.querySelector(`.${he.viewport}`),f||(f=document.createElement("div"),ze(f,he.viewport),f.append(...Eo(c,`.${he.slide}`)),c.insertAdjacentElement("afterbegin",f)),h=window.getComputedStyle(f).getPropertyValue("overflow")==="visible",c.carousel=Be,D("initLayout")}(),function(){if(!f)return;const he=W("classes")||{};q=[],[...Eo(f,`.${he.slide}`)].forEach(ke=>{ke.parentElement&&(q.push(g(Object.assign({el:ke,isVirtual:!1},ke.dataset||{}))),ke.parentElement.removeChild(ke))}),v(W("slides"));for(const ke of q)D("addSlide",ke);D("initSlides")}(),o=pa().on("start",()=>{B=!1,r&&r.isPointerDown()||(S(),Se())}).on("step",he=>{k=he.pos,Se()}).on("end",he=>{r!=null&&r.isPointerDown()||(k=he.pos,o&&!y&&(k<E||k>N)?o.spring({clamp:!0,mass:1,tension:200,friction:25,velocity:0,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:$e(E,k,N)}).start():B||(B=!0,D("settle")))}),function(){const he=W("gestures");f&&he!==!1&&(r=xn(f,he).on("start",ke=>{var R,P;if(!o)return;const{srcEvent:T}=ke;function ee(be){const Ae=window.getComputedStyle(be),_e=new DOMMatrixReadOnly(Ae.transform);return{width:_e.m41||0,height:_e.m42||0}}x&&Qa(T),o.pause(),o.getCurrentVelocities().pos=0;const le=(R=C[V])===null||R===void 0?void 0:R.slides[0];le&&X.has(le.index)&&le.el&&(k=le.offset||0,k+=(ee(le.el)[w]||0)*(b&&!x?1:-1)),ce(),y||(k<E||k>N)&&o.spring({clamp:!0,mass:1,tension:500,friction:25,velocity:((P=o.getCurrentVelocities())===null||P===void 0?void 0:P.pos)||0,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:$e(E,k,N)}).start()}).on("move",ke=>{const{srcEvent:R,axis:P}=ke,T=ke.srcEvent.target;T&&yn(T)||(P||(R.stopPropagation(),R.stopImmediatePropagation()),(P==="y"&&x||P==="x"&&!x)&&(Qa(R),R.stopPropagation()))}).on("panstart",ke=>{(ke==null?void 0:ke.axis)===(x?"y":"x")&&ze(f,"is-dragging")}).on("panend",()=>{Jt(f,"is-dragging")}).on("pan",ke=>{var R;const{deltaX:P,deltaY:T,currentTouch:ee,axis:le}=ke;if(!o||ee.length>1||le==="y"&&!x||le==="x"&&x)return;const be=b&&!x?1:-1;let Ae=x?T:P,_e=o!=null&&o.isRunning()?o.getEndValues().pos:k,Pe=1;y||(_e<=E&&Ae*be<0?(Pe=Math.max(.01,1-Math.abs(1/Z()*Math.abs(_e-E))),Pe*=.2):_e>=N&&Ae*be>0&&(Pe=Math.max(.01,1-Math.abs(1/Z()*Math.abs(_e-N))),Pe*=.2)),_e+=Ae*Pe*be,o.spring({clamp:!0,mass:1,tension:700,friction:25,velocity:((R=o.getCurrentVelocities())===null||R===void 0?void 0:R.pos)||0,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:_e}).start()}).on("end",ke=>{var R,P;const{axis:T,velocityX:ee,velocityY:le,currentTouch:be}=ke,Ae=C.length,_e=W("dragFree");if(be.length>0||!o||!Ae)return;const Pe=W("vertical")?le:ee;let je=o!=null&&o.isRunning()?o.getEndValues().pos:k;const nt=b&&!x?1:-1;if(je+=Pe*(_e?5:1)*nt,!y&&(Pe*nt<=0&&je<E||Pe*nt>=0&&je>N)){let st=0;return Math.abs(Pe)>0&&(st=2*Math.abs(Pe),st=Math.min(.3*Z(),st)),je=$e(E+-1*st,je,N+st),void o.spring({clamp:!0,mass:1,tension:380,friction:25,velocity:-1*Pe,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:je}).start()}if(_e||!((R=m.Autoscroll)===null||R===void 0)&&R.isEnabled())return void(Math.abs(Pe)>10?o.spring({clamp:!0,mass:1,tension:150,friction:25,velocity:-1*Pe,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:je}).start():o.isRunning()||B||(B=!0,D("settle")));if(!_e&&!(!((P=m.Autoscroll)===null||P===void 0)&&P.isEnabled())&&(!ke.offsetX&&!ke.offsetY||T==="y"&&!x||T==="x"&&x))return void De(V,{transition:"tween"});let xt=H(je);Math.abs(Pe)>10&&xt===V&&(xt+=Pe>0?b&&!x?1:-1:b&&!x?-1:1),De(xt,{transition:"tween",tween:{tension:160,friction:25,velocity:-1*Pe}})}).init())}(),$(),function(){if(c&&(c.addEventListener("click",xe,{passive:!1}),document.addEventListener("mousemove",ne),!i)){let he=null;i=new ResizeObserver(ke=>{he||(he=requestAnimationFrame(()=>{(function(R){if(!c)return;let P=R[0].contentBoxSize[0].blockSize,T=R[0].contentBoxSize[0].inlineSize;if(d===0)return I=P,z=T,d=1,Se(),Q(),void D("ready");if(d!==1)return;const ee=C.length;$();const le=c.getBoundingClientRect();P=le.height,T=le.width,ee>1&&(x&&Math.abs(P-I)<.5||!x&&Math.abs(T-z)<.5)||(I=P,z=T,x&&!P||!x&&!T||c&&f&&(ee===C.length&&(r!=null&&r.isPointerDown())||(W("dragFree")&&(y||k>E&&k<N)?(S(),Se()):De(V,{transition:!1}))))})(ke),he=null}))}),i.observe(c)}}())}}function ne(G){g1=G}function K(G="*"){var ae;const re=[];for(const se of q)(G==="*"||se.class&&se.class.includes(G)||se.el&&(!((ae=se.el)===null||ae===void 0)&&ae.classList.contains(G)))&&re.push(se);l=void 0,A=G,U=[...re]}function S(){if(!o)return;const G=H(o!=null&&o.isRunning()?o.getEndValues().pos:k);G!==V&&(l=V,V=G,Ne(),Q(),fe(),D("change",V,l))}function Q(){var G;if(!c)return;ka(f,"is-draggable",!!r&&C.length>0);for(const se of c.querySelectorAll("[data-carousel-index]"))se.innerHTML=V+"";for(const se of c.querySelectorAll("[data-carousel-page]"))se.innerHTML=V+1+"";for(const se of c.querySelectorAll("[data-carousel-pages]"))se.innerHTML=C.length+"";let ae=!1;const re=(G=C[V])===null||G===void 0?void 0:G.slides[0];re&&(re.downloadSrc||re.type==="image"&&re.src)&&(ae=!0);for(const se of c.querySelectorAll("[data-carousel-download]"))se.toggleAttribute("aria-disabled",!ae)}function fe(G){var ae;if(!c)return;G||(G=(ae=C[V])===null||ae===void 0?void 0:ae.slides[0]);const re=G.el;if(re)for(const se of re.querySelectorAll("[data-slide-index]"))se.innerHTML=G.index+1+""}function H(G){if(!C.length||!o)return 0;const ae=me();let re=G;y?re-=Math.floor((G-C[0].pos)/ae)*ae:re=$e(C[0].pos,G,C[C.length-1].pos);const se=new Map;let Ee=0;for(const ke of C){const R=Math.abs(ke.pos-re),P=Math.abs(ke.pos-re-ae),T=Math.abs(ke.pos-re+ae),ee=Math.min(R,P,T);se.set(Ee,ee),Ee++}const he=se.size>0?[...se.entries()].reduce((ke,R)=>R[1]<ke[1]?R:ke):[V,0];return parseInt(he[0])}function ye(){return f&&parseFloat(getComputedStyle(f).getPropertyValue("--f-carousel-gap"))||0}function Z(){return f&&f.getBoundingClientRect()[w]||0}function me(G=!0){const ae=ye();return U.reduce((re,se)=>re+se.dim,0)+(U.length-(y&&G?0:1))*ae}function L(G){const ae=ye(),re=me();let se=Z();if(!f)return[];const Ee=[];if(!re||!se)return[];G=G===void 0?k:G,y&&(G-=Math.floor(G/re)*re);let he=0,ke=0;if(h){const P=f.getBoundingClientRect();he=P.left,ke=P.right-P.width}let R=0;for(let P of U){const T=(ee=0)=>{Ee.indexOf(P)>-1||(P.pos=R-G+ee||0,P.offset+ee>G-P.dim-he+.51&&P.offset+ee<G+se+ke-.51&&Ee.push(P))};if(P.offset=R,y)for(let ee=-1;ee<=1;ee++)T(re*ee);else T();R+=P.dim+ae}return Ee}function v(G,ae){const re=[];for(const se of Array.isArray(G)?G:[G]){const Ee=g(Object.assign(Object.assign({},se),{isVirtual:!0}));re.push(Ee)}q.splice(ae===void 0?q.length:ae,0,...re),J();for(const se of re)_(se);return K(A),re}function g(G){return(ft(G)||G instanceof HTMLElement)&&(G={html:G}),Object.assign({index:-1,el:void 0,class:"",isVirtual:!0,dim:0,pos:0,offset:0,html:"",src:""},G)}function _(G){if(!G)return;let ae=G.el;ae||(ae=document.createElement("div"),G.el=ae);const re=G.html?G.html instanceof HTMLElement?G.html:fa(G.html):void 0;re&&(ze(re,"f-html"),G.htmlEl=re,ze(ae,"has-html"),ae.append(re),D("contentReady",G))}function F(G){if(!f||!G)return;let ae=G.el;if(ae){if(ae.setAttribute("index",G.index+""),ae.parentElement!==f){let re;ze(ae,u.classes.slide),ze(ae,G.class),Ne(G);for(const se of q)if(se.index>G.index){re=se.el;break}f.insertBefore(ae,re&&f.contains(re)?re:null),D("attachSlideEl",G)}return ae}}function O(G){const ae=G==null?void 0:G.el;ae&&(ae.remove(),te(ae),D("detachSlideEl",G))}function J(){for(let G=0;G<q.length;G++){const ae=q[G],re=ae.el;re&&(ae.index!==G&&te(re),re.setAttribute("index",`${G}`)),ae.index=G}}function $(){var G,ae,re,se;if(!c||!f)return;b=W("rtl"),x=W("vertical"),w=x?"height":"width";const Ee=W("classes");ka(c,Ee.isLTR,!b),ka(c,Ee.isRTL,b),ka(c,Ee.isHorizontal,!x),ka(c,Ee.isVertical,x),ka(c,Ee.hasAdaptiveHeight,W("adaptiveHeight"));const he=f.getBoundingClientRect();if(!he.width&&!he.height)return;const ke=function(){let P=0;if(f){let T=document.createElement("div");ze(T,u.classes.slide),f.appendChild(T),P=T.getBoundingClientRect()[w],T.remove(),T=void 0}return P}();for(const P of U){const T=P.el;let ee=0;if(!P.isVirtual&&T&&Ua(T)){let le=!1;T.parentElement&&T.parentElement===f||(f.appendChild(T),le=!0),ee=T.getBoundingClientRect()[w],le&&((G=T.parentElement)===null||G===void 0||G.removeChild(T))}else ee=ke;P.dim=ee}(function(){if(!c)return;J();const P=Z(),T=ye(),ee=me(!1);let le=W("slidesPerPage");le=le==="auto"?1/0:parseFloat(le+""),C=[];let be=0,Ae=0;for(const Je of U)(!C.length||be+Je.dim-P>.05||Ae>=le)&&(C.push({index:C.length,slides:[],dim:0,offset:0,pos:0}),be=0,Ae=0),C[C.length-1].slides.push(Je),be+=Je.dim+T,Ae++;const _e=W("center"),Pe=W("fill"),je=W("infinite");let nt=0;for(const Je of C){Je.dim=(Je.slides.length-1)*T;for(const ba of Je.slides)Je.dim+=ba.dim;Je.offset=nt,Je.pos=nt,_e!==!1&&(Je.pos-=.5*(P-Je.dim)),Pe&&!je&&ee>P&&(Je.pos=$e(0,Je.pos,ee-P)),nt+=Je.dim+T}const xt=[];let st;for(const Je of C){const ba=Object.assign({},Je);st&&ba.pos===st.pos?(st.dim+=ba.dim,st.slides=[...st.slides,...ba.slides]):(st=ba,ba.index=xt.length,xt.push(ba))}C=xt,Q()})();let R=Z();if(h){const P=f.getBoundingClientRect();R+=P.left,R+=P.right-P.width}if(y=W("infinite")&&C.length>1&&me()-(R+(((ae=U[0])===null||ae===void 0?void 0:ae.dim)||0))>-.5,E=((re=C[0])===null||re===void 0?void 0:re.pos)||0,N=((se=C[C.length-1])===null||se===void 0?void 0:se.pos)||0,d===0)(function(){var P;l=void 0,V=W("initialPage");const T=W("initialSlide")||void 0;T!==void 0&&(V=Be.getPageIndex(T)||0),V=$e(0,V,C.length-1),k=((P=C[V])===null||P===void 0?void 0:P.pos)||0,M=k})();else{const P=o!=null&&o.isRunning()?o.getEndValues().pos:k;(P<E||P>N)&&(V=$e(0,V,C.length-1),M=C[V||0].pos||0)}D("refresh")}function te(G){if(!G||!Ua(G))return;const ae=parseInt(G.getAttribute("index")||"-1");let re="";for(const Ee of Array.from(G.classList)){const he=Ee.match(/^f-(\w+)(Out|In)$/);he&&he[1]&&(re=he[1]+"")}if(!G||!re)return;const se=[`f-${re}Out`,`f-${re}In`,"to-prev","to-next","from-prev","from-next"];G.removeEventListener("animationend",ge),Jt(G,se.join(" ")),X.delete(ae)}function ce(){if(!f)return;const G=X.size;for(const ae of U)te(ae.el);X.clear(),G&&Se()}function ge(G){G.animationName.substring(0,2)==="f-"&&(te(G.target),X.size||(Jt(c,"in-transition"),!B&&Math.abs(Be.getPosition(!0)-M)<.5&&(B=!0,D("settle"))),Se())}function xe(G){if(G.defaultPrevented)return;const ae=G.composedPath()[0];if(ae.closest("[data-carousel-go-prev]"))return Qa(G),void Be.prev();if(ae.closest("[data-carousel-go-next]"))return Qa(G),void Be.next();const re=ae.closest("[data-carousel-go-to]");if(re)return Qa(G),void Be.goTo(parseFloat(re.dataset.carouselGoTo||"")||0);if(ae.closest("[data-carousel-download]")){Qa(G);const se=C[V].slides[0];if(se.downloadSrc||se.type==="image"&&se.src){const Ee=se.downloadFilename,he=document.createElement("a"),ke=se.downloadSrc||se.src||"";he.href=ke,he.target="_blank",he.download=Ee||ke,he.click()}}else D("click",G)}function ue(G){var ae;const re=G.el;re&&((ae=re.querySelector(".f-spinner"))===null||ae===void 0||ae.remove(),Jt(re,"is-loading"))}function Me(G){var ae;const re=G.el;re&&((ae=re.querySelector(".f-html.is-error"))===null||ae===void 0||ae.remove(),Jt(re,"has-error"))}function Ne(G){var ae;G||(G=(ae=C[V])===null||ae===void 0?void 0:ae.slides[0]);const re=G==null?void 0:G.el;if(!re)return;let se=W("formatCaption",G);se===void 0&&(se=G.caption),se=se||"";const Ee=W("captionEl");if(Ee&&Ee instanceof HTMLElement){if(G.index!==V)return;if(ft(se)&&(Ee.innerHTML=de(se+"")),se instanceof HTMLElement){if(se.parentElement===Ee)return;Ee.innerHTML="",se.parentElement&&(se=se.cloneNode(!0)),Ee.append(se)}return}if(!se)return;let he=G.captionEl||re.querySelector(".f-caption");!he&&se instanceof HTMLElement&&se.classList.contains("f-caption")&&(he=se),he||(he=document.createElement("div"),ze(he,"f-caption"),ft(se)?he.innerHTML=de(se+""):se instanceof HTMLElement&&(se.parentElement&&(se=se.cloneNode(!0)),he.append(se)));const ke=`f-caption-${y1}_${G.index}`;he.setAttribute("id",ke),he.dataset.selectable="true",ze(re,"has-caption"),re.setAttribute("aria-labelledby",ke),G.captionEl=he,re.insertAdjacentElement("beforeend",he)}function De(G,ae){let{transition:re,tween:se}=Object.assign({transition:u.transition,tween:u.tween},ae||{});if(!c||!o)return;const Ee=C.length;if(!Ee||function(ke,R){var P,T,ee,le;if(!(c&&o&&R&&ft(R)&&R!=="tween")||((P=C[V])===null||P===void 0?void 0:P.slides.length)>1)return!1;const be=C.length;let Ae=ke>V?1:-1;ke=y?(ke%be+be)%be:$e(0,ke,be-1),b&&(Ae*=-1);const _e=(T=C[V])===null||T===void 0?void 0:T.slides[0],Pe=_e==null?void 0:_e.index,je=(ee=C[ke])===null||ee===void 0?void 0:ee.slides[0],nt=je==null?void 0:je.index,xt=(le=C[ke])===null||le===void 0?void 0:le.pos;if(nt===void 0||Pe===void 0||Pe===nt||k===xt||Math.abs(Z()-((je==null?void 0:je.dim)||0))>1)return!1;B=!1,o.pause(),ce(),ze(c,"in-transition"),k=M=xt;const st=F(_e),Je=F(je);return S(),st&&(X.add(Pe),st.style.transform="",st.addEventListener("animationend",ge),Jt(st,u.classes.isSelected),ze(st,`f-${R}Out to-${Ae>0?"next":"prev"}`)),Je&&(X.add(nt),Je.style.transform="",Je.addEventListener("animationend",ge),ze(Je,u.classes.isSelected),ze(Je,`f-${R}In from-${Ae>0?"prev":"next"}`)),Se(),!0}(G,re))return;G=y?(G%Ee+Ee)%Ee:$e(0,G,Ee-1),M=C[G||0].pos||0;const he=o.isRunning()?o.getEndValues().pos:k;if(Math.abs(M-he)<1)return k=M,V!==G&&(Ne(),Q(),fe(),l=V,V=G,D("change",V,l)),Se(),void(B||(B=!0,D("settle")));if(o.pause(),ce(),y){const ke=me(),R=Math.floor((he-C[0].pos)/ke),P=M+R*ke;M=[P+ke,P,P-ke].reduce(function(T,ee){return Math.abs(ee-he)<Math.abs(T-he)?ee:T})}re!==!1&&Et(se)?o.spring(se).from({pos:k}).to({pos:M}).start():(k=M,S(),Se(),B||(B=!0,D("settle")))}function Se(){var G;if(!c||!f)return;const ae=C[V];Y=L();const re=new Set;let se;const Ee=[];for(const he of U){if(he.isVirtual&&!X.has(he.index)&&Y.indexOf(he)<0)continue;let ke=F(he);if(!ke)continue;Ee.push(he);const R=((G=ae==null?void 0:ae.slides)===null||G===void 0?void 0:G.indexOf(he))>-1;if(R&&re.add(ke),!X.has(he.index)){const P=he.pos?Math.round(1e4*he.pos)/1e4:0,T=x?0:b?-1*P:P,ee=x?P:0,le=Co(T,0,he.dim,0,100),be=Co(ee,0,he.dim,0,100),Ae=u.setTransform||void 0;Ae instanceof Function?Ae(Be,he,{x:T,y:ee,xPercent:le,yPercent:be}):ke.style.transform=T||ee?`translate3d(${le}%, ${be}%,0)`:""}if(W("adaptiveHeight")&&R){const P=(ke.firstElementChild||ke).getBoundingClientRect().height;se=se==null?P:Math.max(se,P)}}[...Eo(f,`.${u.classes.slide}`)].forEach(he=>{const ke=parseInt(he.getAttribute("index")||"-1"),R=q[ke];R||he.remove(),ka(he,u.classes.isSelected,re.has(he)),R.isVirtual&&!X.has(R.index)&&Y.indexOf(R)<0&&O(R)}),f&&se&&(f.style.height=`${se}px`),D("render",Ee)}function Le(){var G;c==null||c.removeEventListener("click",xe),ce(),document.removeEventListener("mousemove",ne),i==null||i.disconnect(),i=void 0;for(const ae of q)ae.el&&Ua(ae.el)&&(ae.state=void 0,ue(ae),Me(ae),O(ae),ae.isVirtual?((G=ae.el)===null||G===void 0||G.remove(),ae.el=void 0):(ae.el.style.transform="",f==null||f.appendChild(ae.el)));for(const ae of Object.values(m))ae==null||ae.destroy();m={},r==null||r.destroy(),r=void 0,o==null||o.destroy(),o=void 0;for(const ae of Object.values(u.classes||{}))Jt(c,ae);Jt(f,"is-draggable")}const Be={add:function(G,ae){const re=k,se=M,Ee=v(G,ae);for(const he of Ee)D("addSlide",he);return K(A),$(),o&&se!==M&&o.spring({clamp:!0,mass:1,tension:300,friction:25,restDelta:1,restSpeed:1}).from({pos:re}).to({pos:M}).start(),Se(),Be},canGoPrev:function(){return y||V>0},canGoNext:function(){return y||V<C.length-1},destroy:function(){return D("destroy"),window.removeEventListener("resize",ie),Le(),j.clear(),c=null,C=[],q=[],u=Object.assign({},Ka),m={},U=[],s="",A="*",d=2,Be},emit:D,filter:function(G="*"){return K(G),$(),Se(),D("filter",G),Be},getContainer:function(){return c},getGapDim:ye,getGestures:function(){return r},getLastMouseMove:function(){return g1},getOptions:function(){return u},getPage:function(){return C[V]},getPageIndex:function(G){if(G!==void 0){for(const ae of C||[])for(const re of ae.slides)if(re.index===G)return ae.index;return-1}return V},getPageProgress:function(G,ae){G===void 0&&(G=V);const re=C[G];if(!re)return G>V?-1:1;const se=me(),Ee=ye();let he=re.pos,ke=Be.getPosition();if(y&&ae!==!0){const R=Math.floor((ke-C[0].pos)/se);ke-=R*se,he=[he+se,he,he-se].reduce(function(P,T){return Math.abs(T-ke)<Math.abs(P-ke)?T:P})}return(ke-he)/(re.dim+Ee)},getPageVisibility:function(G){G===void 0&&(G=V);const ae=C[G];if(!ae)return G>V?-1:1;const re=Be.getPosition(),se=Z();let Ee=ae.pos;if(y){const he=Be.getPosition(),ke=me(),R=Ee+Math.floor((he-C[0].pos)/ke)*ke;Ee=[R+ke,R,R-ke].reduce(function(P,T){return Math.abs(T-he)<Math.abs(P-he)?T:P})}return Ee>re&&Ee+ae.dim<re+se?1:Ee<re?(Ee+ae.dim-re)/ae.dim:Ee+ae.dim>re+se?(re+se-Ee)/ae.dim:0},getPages:function(){return C},getPlugins:function(){return m},getPosition:function(G){var ae;let re=k;if(y&&G!==!0){const se=me();re-=Math.floor((k-((ae=C[0])===null||ae===void 0?void 0:ae.pos)||0)/se)*se}return re},getSlides:function(){return q},getState:function(){return d},getTotalSlideDim:me,getTween:function(){return o},getViewport:function(){return f},getViewportDim:Z,getVisibleSlides:function(G){return G===void 0?Y:L(G)},goTo:De,hasNavigated:function(){return l!==void 0},hideError:Me,hideLoading:ue,init:function(){if(!e||!Ua(e))throw new Error("No Element found");return d!==0&&(Le(),d=0),c=e,p=a,window.removeEventListener("resize",ie),p.breakpoints&&window.addEventListener("resize",ie),ie(),Be},isInfinite:function(){return y},isInTransition:function(){return X.size>0},isRTL:function(){return b},isSettled:function(){return B},localize:function(G,ae=[]){return de(G,ae)},next:function(G={}){return De(V+1,G),Be},off:function(G,ae){for(const re of G instanceof Array?G:[G])j.has(re)&&j.set(re,j.get(re).filter(se=>se!==ae));return Be},on:function(G,ae){for(const re of G instanceof Array?G:[G])j.set(re,[...j.get(re)||[],ae]);return Be},prev:function(G={}){return De(V-1,G),Be},remove:function(G){G===void 0&&(G=q.length-1);const ae=q[G];return ae&&(D("removeSlide",ae),ae.el&&(te(ae.el),ae.el.remove(),ae.el=void 0),q.splice(G,1),K(A),$(),Se()),Be},setPosition:function(G){k=G,S(),Se()},showError:function(G,ae){ue(G),Me(G);const re=G.el;if(re){const se=document.createElement("div");ze(se,"f-html"),ze(se,"is-error"),se.innerHTML=de(ae||"<p>{{ERROR}}</p>"),G.htmlEl=se,ze(re,"has-html"),ze(re,"has-error"),re.insertAdjacentElement("afterbegin",se),D("contentReady",G)}return Be},showLoading:function(G){const ae=G.el,re=ae==null?void 0:ae.querySelector(".f-spinner");if(!ae||re)return Be;const se=W("spinnerTpl"),Ee=fa(se);return Ee&&(ze(Ee,"f-spinner"),ze(ae,"is-loading"),ae.insertAdjacentElement("beforeend",Ee)),Be},version:"6.0.16"};return Be};rr.l10n={en_EN:So},rr.getDefaults=()=>Ka;/*! License details at fancyapps.com/license */const k1=(e=!0,a="--f-scrollbar-compensate",n="--f-body-margin",r="hide-scrollbar")=>{const o=document,i=o.body,l=o.documentElement;if(e){if(i.classList.contains(r))return;let s=window.innerWidth-l.getBoundingClientRect().width;s<0&&(s=0),l.style.setProperty(a,`${s}px`);const d=parseFloat(window.getComputedStyle(i).marginRight);d&&i.style.setProperty(n,`${d}px`),i.classList.add(r)}else i.classList.remove(r),i.style.setProperty(n,""),o.documentElement.style.setProperty(a,"")};/*! License details at fancyapps.com/license */function x1(){return!(typeof window>"u"||!window.document||!window.document.createElement)}/*! License details at fancyapps.com/license */const xa=function(e="",a="",n=""){return e.split(a).join(n)};/*! License details at fancyapps.com/license */const b1={tpl:e=>`<img class="f-panzoom__content"
7
7
  ${e.srcset?'data-lazy-srcset="{{srcset}}"':""}
8
8
  ${e.sizes?'data-lazy-sizes="{{sizes}}"':""}
9
- data-lazy-src="{{src}}" alt="{{alt}}" />`},p7=()=>{let e;function a(u,m){const c=e==null?void 0:e.getOptions().Zoomable;let f=(Et(c)?Object.assign(Object.assign({},b1),c):b1)[u];return f&&typeof f=="function"&&m?f(m):f}function n(){e&&(e.on("addSlide",i),e.on("removeSlide",l),e.on("attachSlideEl",s),e.on("click",o),e.on("change",r))}function r(){d()}function o(u,m){const c=m.target;c&&!m.defaultPrevented&&c.dataset.panzoomAction&&p(c.dataset.panzoomAction)}function i(u,m){if(!e)return;const c=m.el;if(!c)return;const f=m.src||m.lazySrc||"",h=m.alt||m.caption||`Image #${m.index}`,y=m.srcset||m.lazySrcset||"",b=m.sizes||m.lazySizes||"";if(f&&ft(f)&&!m.html&&(!m.type||m.type==="image")){m.type="image";let B=a("tpl",m);B=xa(B,"{{src}}",f+""),B=xa(B,"{{alt}}",h+""),B=xa(B,"{{srcset}}",y+""),B=xa(B,"{{sizes}}",b+""),c.insertAdjacentHTML("afterbegin",B)}if(!c.querySelector(".f-panzoom__content"))return;const x=m.width&&m.width!=="auto"?parseFloat(m.width+""):"auto",w=m.height&&m.height!=="auto"?parseFloat(m.height+""):"auto",k=vo(c,Object.assign({width:x,height:w,event:()=>e==null?void 0:e.getLastMouseMove(),classes:{container:"f-zoomable"}},a("Panzoom")));k.on("*",(B,V,...M)=>{e&&(V==="loading"&&(m.state=0),V==="loaded"&&(m.state=1),V==="error"&&(m.state=2,e==null||e.showError(m,"{{IMAGE_ERROR}}")),e.emit(`panzoom:${V}`,m,...M),V==="ready"&&e.emit("contentReady",m),m.index===e.getPageIndex()&&d())}),m.panzoomRef=k}function l(u,m){m.panzoomRef&&(m.panzoomRef.destroy(),m.panzoomRef=void 0)}function s(u,m){const c=m.panzoomRef;if(c)switch(c.getState()){case 0:c.init();break;case 3:c.execute(we.Reset,{velocity:0})}}function d(){var u;const m=e==null?void 0:e.getContainer();if(!m)return;const c=(u=e==null?void 0:e.getPage())===null||u===void 0?void 0:u.slides[0].panzoomRef,f=(c==null?void 0:c.canZoomIn())||!1,h=(c==null?void 0:c.canZoomOut())||!1,y=(c==null?void 0:c.isFullsize())||!1,b=!c||(c==null?void 0:c.getState())!==3;for(const x of(m==null?void 0:m.querySelectorAll("[data-panzoom-action]"))||[]){const w=x.dataset.panzoomAction;let k=!1;if(b)k=!0;else switch(w){case we.ZoomIn:f||(k=!0);break;case we.ZoomOut:h||(k=!0);break;case we.ToggleFull:f||h||(k=!0);const B=x.querySelector("g");B&&(B.style.display=y?"none":"");break;case we.ToggleCover:case we.ToggleMax:f||h||(k=!0)}k?(x.setAttribute("aria-disabled",""),x.setAttribute("tabindex","-1")):(x.removeAttribute("aria-disabled"),x.removeAttribute("tabindex"))}}function p(u,...m){var c;(c=e==null?void 0:e.getPage().slides[0].panzoomRef)===null||c===void 0||c.execute(u,...m)}return{init:function(u){e=u,e.getOptions().Zoomable!==!1&&e.on("initPlugins",n)},destroy:function(){if(e){e.off("addSlide",i),e.off("removeSlide",l),e.off("attachSlideEl",s),e.off("change",r);for(const u of e.getSlides())l(0,u)}e=void 0},execute:p}};/*! License details at fancyapps.com/license */const w1={syncOnChange:!1,syncOnClick:!0,syncOnHover:!1},v1=()=>{let e,a;function n(){const f=e==null?void 0:e.getOptions().Sync;return Et(f)?Object.assign(Object.assign({},w1),f):w1}function r(f){var h,y,b;e&&f&&(a=f,e.getOptions().classes=Object.assign(Object.assign({},e.getOptions().classes),{isSelected:""}),e.getOptions().initialSlide=((y=(h=a.getPage())===null||h===void 0?void 0:h.slides[0])===null||y===void 0?void 0:y.index)||0,n().syncOnChange&&e.on("change",l),n().syncOnClick&&e.on("click",d),n().syncOnHover&&((b=e.getViewport())===null||b===void 0||b.addEventListener("mouseover",p)),function(){!e||!a||(e.on("ready",i),e.on("refresh",u),a.on("change",s),a.on("filter",m))}())}function o(){const f=n().target;e&&f&&r(f)}function i(){c()}function l(){var f;if(e&&a){const h=((f=e.getPage())===null||f===void 0?void 0:f.slides)||[],y=a.getPageIndex(h[0].index||0);y>-1&&a.goTo(y,e.hasNavigated()?void 0:{tween:!1,transition:!1}),c()}}function s(){var f;if(e&&a){const h=e.getPageIndex(((f=a.getPage())===null||f===void 0?void 0:f.slides[0].index)||0);h>-1&&e.goTo(h,a.hasNavigated()?void 0:{tween:!1,transition:!1}),c()}}function d(f,h){var y;if(!e||!a||!((y=e.getTween())===null||y===void 0)&&y.isRunning())return;const b=e==null?void 0:e.getOptions().classes.slide;if(!b)return;const x=b?h.target.closest(`.${b}`):null;if(x){const w=parseInt(x.getAttribute("index")||"")||0,k=a.getPageIndex(w);a.goTo(k)}}function p(f){e&&d(0,f)}function u(){var f;if(e&&a){const h=e.getPageIndex(((f=a.getPage())===null||f===void 0?void 0:f.slides[0].index)||0);h>-1&&e.goTo(h,{tween:!1,transition:!1}),c()}}function m(f,h){e&&a&&(e.filter(h),s())}function c(){var f,h,y;if(!a)return;const b=((h=(f=a.getPage())===null||f===void 0?void 0:f.slides[0])===null||h===void 0?void 0:h.index)||0;for(const x of(e==null?void 0:e.getSlides())||[])(y=x.el)===null||y===void 0||y.classList.toggle("is-selected",x.index===b)}return{init:function(f){e=f,e.on("initSlides",o)},destroy:function(){var f;e==null||e.off("ready",i),e==null||e.off("refresh",u),e==null||e.off("change",l),e==null||e.off("click",d),(f=e==null?void 0:e.getViewport())===null||f===void 0||f.removeEventListener("mouseover",p),a==null||a.off("change",s),a==null||a.off("filter",m),a=void 0,e==null||e.off("initSlides",o),e=void 0},getTarget:function(){return a}}};/*! License details at fancyapps.com/license */const E1={showLoading:!0,preload:1},or="is-lazyloading",C1="is-lazyloaded",S1=()=>{let e;function a(){const o=e==null?void 0:e.getOptions().Lazyload;return Et(o)?Object.assign(Object.assign({},E1),o):E1}function n(o){const i=o.el;if(!i)return;const l="[data-lazy-src],[data-lazy-srcset],[data-lazy-bg]",s=Array.from(i.querySelectorAll(l));i.matches(l)&&s.push(i);for(const d of s){const p=d.dataset.lazySrc,u=d.dataset.lazySrcset,m=d.dataset.lazySizes,c=d.dataset.lazyBg,f=(d instanceof HTMLImageElement||d instanceof HTMLSourceElement)&&(p||u),h=d instanceof HTMLElement&&c;if(!f&&!h)continue;const y=p||u||c;y&&(f&&y?(a().showLoading&&(e==null||e.showLoading(o)),d.addEventListener("load",()=>{e==null||e.hideLoading(o),d instanceof HTMLImageElement?d.decode().then(()=>{d.classList.remove(or),d.classList.add(C1)}):(d.classList.remove(or),d.classList.add(C1)),e==null||e.emit("lazyLoad:loaded",o,d,y)}),d.addEventListener("error",()=>{e==null||e.hideLoading(o),d.classList.remove(or),d.classList.add("has-lazyerror"),e==null||e.emit("lazyLoad:error",o,d,y)}),d.classList.add("f-lazyload"),d.classList.add(or),e==null||e.emit("lazyLoad:load",o,d,y),p&&(d.src=p),u&&(d.srcset=u),m&&(d.sizes=m)):h&&(document.body.contains(d)||(document.createElement("img").src=c),d.style.backgroundImage=`url('${c}')`),delete d.dataset.lazySrc,delete d.dataset.lazySrcset,delete d.dataset.lazySizes)}}function r(){if(!e)return;const o=a().preload,i=[...e.getVisibleSlides()],l=e.getPosition(),s=e.getViewportDim();i.push(...e.getVisibleSlides(l+s*o),...e.getVisibleSlides(l-s*o));for(const d of i||[])n(d)}return{init:function(o){e=o,e.on("render",r)},destroy:function(){e==null||e.off("render",r),e=void 0}}};/*! License details at fancyapps.com/license */const M1={prevTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M15 3l-9 9 9 9"></path></svg>',nextTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M9 3l9 9-9 9"></path></svg>'},g7=()=>{let e,a,n;function r(l){if(!e)return;const s=`<button data-carousel-go-${l} tabindex="0" class="f-button is-arrow is-${l}" title="{{${l.toUpperCase()}}}">`+function(){const d=e==null?void 0:e.getOptions().Arrows;return Et(d)?Object.assign(Object.assign({},M1),d):M1}()[`${l}Tpl`]+"</button";return fa(e.localize(s))||void 0}function o(){var l;a==null||a.remove(),a=void 0,n==null||n.remove(),n=void 0,(l=e==null?void 0:e.getContainer())===null||l===void 0||l.classList.remove("has-arrows")}function i(){e&&e.getOptions().Arrows!==!1&&e.getPages().length>1?(function(){if(!e)return;const l=e.getViewport();l&&(a||(a=r("prev"),a&&l.insertAdjacentElement("beforebegin",a)),n||(n=r("next"),n&&l.insertAdjacentElement("afterend",n)),ka(e.getContainer(),"has-arrows",!(!a&&!n)))}(),e&&(a==null||a.toggleAttribute("aria-disabled",!e.canGoPrev()),n==null||n.toggleAttribute("aria-disabled",!e.canGoNext()))):o()}return{init:function(l){e=l.on(["change","refresh"],i)},destroy:function(){o(),e==null||e.off(["change","refresh"],i),e=void 0}}};/*! License details at fancyapps.com/license */const B1={moveLeft:{tpl:'<button data-panzoom-action="moveLeft" class="f-button" title="{{MOVE_LEFT}}"><svg><path d="M5 12h14M5 12l6 6M5 12l6-6"/></svg></button>'},moveRight:{tpl:'<button data-panzoom-action="moveRight" class="f-button" title="{{MOVE_RIGHT}}"><svg><path d="M5 12h14M13 18l6-6M13 6l6 6"/></svg></button>'},moveUp:{tpl:'<button data-panzoom-action="moveUp" class="f-button" title="{{MOVE_UP}}"><svg><path d="M12 5v14M18 11l-6-6M6 11l6-6"/></svg></button>'},moveDown:{tpl:'<button data-panzoom-action="moveDown" class="f-button" title="{{MOVE_DOWN}}"><svg><path d="M12 5v14M18 13l-6 6M6 13l6 6"/></svg></button>'},zoomIn:{tpl:'<button data-panzoom-action="zoomIn" class="f-button" title="{{ZOOM_IN}}"><svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M11 8v6M8 11h6"/></svg></button>'},zoomOut:{tpl:'<button data-panzoom-action="zoomOut" class="f-button" title="{{ZOOM_OUT}}"><svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg></button>'},toggle1to1:{tpl:'<button data-panzoom-action="toggleFull" class="f-button" title="{{TOGGLE_FULL}}"><svg><path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/></svg></button>'},toggleFull:{tpl:'<button data-panzoom-action="toggleFull" class="f-button" title="{{TOGGLE_FULL}}"><svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg></button>'},rotateCCW:{tpl:'<button data-panzoom-action="rotateCCW" class="f-button" title="{{ROTATE_CCW}}"><svg><path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/></svg></button>'},rotateCW:{tpl:'<button data-panzoom-action="rotateCW" class="f-button" title="{{ROTATE_CW}}"><svg><path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/></svg></button>'},flipX:{tpl:'<button data-panzoom-action="flipX" class="f-button" title="{{FLIP_X}}"><svg><path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/></svg></button>'},flipY:{tpl:'<button data-panzoom-action="flipY" class="f-button" title="{{FLIP_Y}}"><svg><path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/></svg></button>'},reset:{tpl:'<button data-panzoom-action="reset" class="f-button" title="{{RESET}}"><svg><path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/></svg></button>'}};/*! License details at fancyapps.com/license */var A1;(function(e){e.Left="left",e.middle="middle",e.right="right"})(A1||(A1={}));const V1=Object.assign({counter:{tpl:'<div class="f-carousel__counter"><span data-carousel-page></span>/<span data-carousel-pages></span></div>'},download:{tpl:'<button data-carousel-download class="f-button" title="{{DOWNLOAD}}"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></button>'},autoplay:{tpl:'<button data-autoplay-action="toggle" class="f-button" title="{{TOGGLE_AUTOPLAY}}"><svg><g><path d="M5 3.5 19 12 5 20.5Z"/></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>'},thumbs:{tpl:'<button data-thumbs-action="toggle" class="f-button" title="{{TOGGLE_THUMBS}}"><svg><rect width="18" height="14" x="3" y="3" rx="2"/><path d="M4 21h1M9 21h1M14 21h1M19 21h1"/></svg></button>'}},B1),N1={absolute:!1,display:{left:[],middle:["zoomIn","zoomOut","toggle1to1","rotateCCW","rotateCW","flipX","flipY","reset"],right:[]},enabled:"auto",items:{}},_1=()=>{let e,a;function n(){const o=e==null?void 0:e.getOptions().Toolbar;return Et(o)?Object.assign(Object.assign({},N1),o):N1}function r(){var o,i,l;if(!(e!=null&&e.getOptions().Toolbar)||!e||a)return;let s=n().enabled;if(!s)return;let d=n().absolute;const p=e.getSlides().length>1;let u=!1,m=!1;for(const x of e.getSlides())x.panzoomRef&&(u=!0),(x.downloadSrc||x.type==="image"&&x.src)&&(m=!0);let c=((o=e.getPlugins().Thumbs)===null||o===void 0?void 0:o.isEnabled())||!1,f=p&&e.getPlugins().Autoplay||!1,h=e.getPlugins().Fullscreen&&(document.fullscreenEnabled||document.webkitFullscreenEnabled);if(s==="auto"&&(s=u),!s)return;a=document.createElement("div"),a.classList.add("f-carousel__toolbar");const y=n().display,b=Tt({},V1,n().items);for(const x of["left","middle","right"]){const w=y[x]||[],k=document.createElement("div");k.classList.add("f-carousel__toolbar__column"),k.classList.add(`is-${x}`);for(const B of w){let V;if(ft(B)){if(B==="counter"&&!p||B==="autoplay"&&!f||B1[B]&&!u||B==="fullscreen"&&!h||B==="thumbs"&&!c||B==="download"&&!m)continue;V=b[B]}if(typeof B=="object"&&(V=B),V&&V.tpl){let M=e.localize(V.tpl);M=M.split("<svg>").join('<svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24">');const E=fa(M);E&&(typeof V.click=="function"&&e&&E.addEventListener("click",N=>{N.preventDefault(),N.stopPropagation(),typeof V.click=="function"&&e&&V.click(e,N)}),k.append(E))}}a.append(k)}a.childElementCount&&(d===!0&&a.classList.add("is-absolute"),(i=e.getContainer())===null||i===void 0||i.classList.add("has-toolbar"),(l=e.getViewport())===null||l===void 0||l.insertAdjacentElement("beforebegin",a))}return{init:function(o){e=o,e.on("initSlides",r)},destroy:function(){var o;e==null||e.off("initSlides",r),(o=e==null?void 0:e.getContainer())===null||o===void 0||o.classList.remove("has-toolbar"),a==null||a.remove(),a=void 0},add:function(o,i){V1[o]=i},isEnabled:function(){return!!a}}};/*! License details at fancyapps.com/license */const D1={autoStart:!0,pauseOnHover:!0,showProgressbar:!0,timeout:2e3},y7=()=>{let e,a,n=!1,r=!1,o=!1,i=null;function l(M){const E=e==null?void 0:e.getOptions().Autoplay;let N=(Et(E)?Object.assign(Object.assign({},D1),E):D1)[M];return N&&typeof N=="function"&&e?N(e):N}function s(){var M;const E=((M=e==null?void 0:e.getPage())===null||M===void 0?void 0:M.slides)||[];for(const N of E)if(N.state===0)return!0;return!1}function d(){clearTimeout(a),a=void 0}function p(){if(a||o||s()||!(e!=null&&e.isSettled()))return;(function(){var E,N,A,L;if(!e||(c(),!l("showProgressbar")))return;let H=l("progressbarParentEl");if(!H&&(!((E=e.getPlugins().Toolbar)===null||E===void 0)&&E.isEnabled())&&(H=e.getContainer()),!H&&((N=e.getPlugins().Toolbar)===null||N===void 0?void 0:N.isEnabled())!==!0){const J=((A=e.getPages()[0])===null||A===void 0?void 0:A.slides)||[],S=((L=e.getPage())===null||L===void 0?void 0:L.slides)||[];J.length===1&&S.length===1&&(H=S[0].el)}if(H||(H=e.getViewport()),!H)return;i=document.createElement("div"),i.classList.add("f-progressbar"),H.prepend(i);const Q=l("timeout")||1e3;i.style.animationDuration=`${Q}ms`})();const M=l("timeout");a=setTimeout(()=>{e&&n&&!r&&(e.isInfinite()||e.getPageIndex()!==e.getPages().length-1?e.next():e.goTo(0))},M)}function u(){var M,E;if(!e||e.getPages().length<2||e.getOptions().Autoplay===!1||n)return;n=!0,e.emit("autoplay:start",l("timeout")),(M=e.getContainer())===null||M===void 0||M.classList.add("has-autoplay"),(E=e.getTween())===null||E===void 0||E.on("start",w);const N=e==null?void 0:e.getContainer();N&&l("pauseOnHover")&&matchMedia("(hover: hover)").matches&&(N.addEventListener("mouseenter",k,!1),N.addEventListener("mouseleave",B,!1)),e.on("change",b),e.on("settle",x),e.on("contentReady",h),e.on("panzoom:animationStart",m),e.isSettled()&&p()}function m(){var M,E;if(d(),c(),n&&e){e.emit("autoplay:end"),(M=e.getContainer())===null||M===void 0||M.classList.remove("has-autoplay"),(E=e.getTween())===null||E===void 0||E.off("start",w);const N=e==null?void 0:e.getContainer();N&&(N.removeEventListener("mouseenter",k,!1),N.removeEventListener("mouseleave",B,!1))}e&&(e.off("change",b),e.off("settle",x),e.off("contentReady",h),e.off("panzoom:animationStart",m)),n=!1,r=!1}function c(){i&&(i.remove(),i=null)}function f(){e&&e.getPages().length>1&&l("autoStart")&&u()}function h(M){e&&e.getPageIndex(M.index)===e.getPageIndex()&&(!n||o||s()||p())}function y(M,E){const N=E.target;N&&!E.defaultPrevented&&N.dataset.autoplayAction==="toggle"&&V.toggle()}function b(){!e||!(e!=null&&e.isInfinite())&&e.getPageIndex()===e.getPages().length-1?m():(c(),d())}function x(){!n||o||r||p()}function w(){d(),c()}function k(){o=!0,n&&(c(),d())}function B(){o=!1,n&&!r&&(e!=null&&e.isSettled())&&p()}const V={init:function(M){e=M,e.on("ready",f),e.on("click",y)},destroy:function(){m(),e==null||e.off("ready",f),e==null||e.off("click",y),e=void 0},isEnabled:()=>n,pause:function(){r=!0,d()},resume:function(){r=!1,n&&!o&&p()},start(){u()},stop(){m()},toggle(){n?m():u()}};return V};/*! License details at fancyapps.com/license */const Mo={Carousel:{Lazyload:{showLoading:!1}},minCount:2,showOnStart:!0,thumbTpl:'<button aria-label="Slide to #{{page}}"><img draggable="false" alt="{{alt}}" data-lazy-src="{{src}}" /></button>',type:"modern"};let Bo;const k7=()=>{let e,a,n,r=0,o=0,i=!0;function l(k){const B=e==null?void 0:e.getOptions().Thumbs;let V=(Et(B)?Object.assign(Object.assign({},Mo),B):Mo)[k];return V&&typeof V=="function"?V():V}function s(){if(!e||(e==null?void 0:e.getOptions().Thumbs)===!1)return!1;let k=0;for(const B of e.getSlides())B.thumbSrc&&k++;return k>=l("minCount")}function d(){return l("type")==="modern"}function p(k=!1){const B=e==null?void 0:e.getContainer();if(e&&B&&!n&&s()){if(!n){const V=B.nextElementSibling;V!=null&&V.classList.contains("f-thumbs")&&(n=V)}if(!n){n=document.createElement("div"),n.classList.add("f-thumbs");const V=l("parentEl");V?V.insertAdjacentElement("beforeend",n):B.insertAdjacentElement("afterend",n)}n.classList.add(`is-${l("type")}`),n.classList.add("is-syncing"),k&&(n.style.maxHeight="0px")}}function u(k){let B=k.thumb?k.thumb instanceof HTMLImageElement?k.thumb.src:k.thumb:k.thumbSrc||void 0,V=l("thumbTpl");return V=xa(V,"{{alt}}",`Thumbnail #${k.index}`),V=xa(V,"{{src}}",B+""),V=xa(V,"{{index}}",`${k.index}`),V=xa(V,"{{page}}",`${k.index||1}`),{html:V,class:k.thumbClass}}function m(){var k,B;if(!Bo||!e||!n||a)return;const V=[];for(const M of e.getSlides())V.push(u(M));V.length&&(a=Bo(n,Tt({},{Sync:{target:e},Lazyload:{preload:1},slides:V,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",slide:"f-thumbs__slide"},initialSlide:e.getOptions().initialPage,center:!0,fill:!d(),infinite:!1,dragFree:!0,rtl:e.getOptions().rtl||!1,slidesPerPage:M=>{let E=0;return d()&&(function(){if(!d()||!n)return;const N=A=>n&&parseFloat(getComputedStyle(n).getPropertyValue("--f-thumb-"+A))||0;r=N("width"),o=N("clip-width")}(),E=4*(r-o)),M&&M.getTotalSlideDim()<=M.getViewportDim()-E?1/0:1}},Mo.Carousel||{},l("Carousel")||{}),{Sync:v1,Lazyload:S1}).init(),(k=a.getGestures())===null||k===void 0||k.on("start",()=>{i=!1}),a.on("click",(M,E)=>{const N=E.target;if(N){const A=N.matches("button")?N:N.firstElementChild;A&&A.matches("button")&&A.focus({})}}),(B=e.getContainer())===null||B===void 0||B.classList.add("has-thumbs"),w())}function c(){var k;s()&&(l("showOnStart")&&(p(),m()),(k=e==null?void 0:e.getGestures())===null||k===void 0||k.on("start",f),e==null||e.on("addSlide",b),e==null||e.on("click",x))}function f(){var k,B;i=!0,!((k=document.activeElement)===null||k===void 0)&&k.closest(".f-thumbs")&&((B=document.activeElement)===null||B===void 0||B.blur())}function h(){var k,B;n==null||n.classList.toggle("is-syncing",(e==null?void 0:e.hasNavigated())===!1||((k=e==null?void 0:e.getTween())===null||k===void 0?void 0:k.isRunning())),w(),!((B=e==null?void 0:e.getGestures())===null||B===void 0)&&B.isPointerDown()&&function(){if(!d()||!e||!a||!i)return;const V=a.getTween(),M=a.getPages(),E=e.getPageIndex()||0,N=e.getPageProgress()||0;if(!(e&&M&&M[E]&&V))return;const A=V.isRunning()?V.getCurrentValues().pos:a.getPosition();if(A===void 0)return;let L=M[E].pos+N*(r-o);L=$e(M[0].pos,L,M[M.length-1].pos),V.from({pos:A}).to({pos:L}).start()}()}function y(){i=!0}function b(k,B){a==null||a.add(u(B),B.index)}function x(k,B){const V=B.target;V&&!B.defaultPrevented&&V.dataset.thumbsAction==="toggle"&&function(){if(n||(p(!0),m()),!n)return;const M=n.style.maxHeight;n.style.maxHeight=M?"":"0px"}()}function w(){if(!d()||!e||!a)return;const k=(a==null?void 0:a.getSlides())||[];let B=-.5*r;for(const V of k){const M=V.el;if(!M)continue;let E=e.getPageProgress(V.index)||0;E=Math.max(-1,Math.min(1,E)),E>-1&&E<1&&(B+=.5*r*(1-Math.abs(E))),E=Math.round(1e4*E)/1e4,B=Math.round(1e4*B)/1e4,M.style.setProperty("--progress",`${Math.abs(E)}`),M.style.setProperty("--shift",`${e!=null&&e.isRTL()?-1*B:B}px`),E>-1&&E<1&&(B+=.5*r*(1-Math.abs(E)))}}return{init:function(k,B){Bo=B,e=k,e.on("ready",c),e.on("render",h),e.on("change",y)},destroy:function(){var k,B;e==null||e.off("ready",c),e==null||e.off("render",h),e==null||e.off("change",y),e==null||e.off("addSlide",b),e==null||e.off("click",x),(k=e==null?void 0:e.getGestures())===null||k===void 0||k.off("start",f),(B=e==null?void 0:e.getContainer())===null||B===void 0||B.classList.remove("has-thumbs"),e=void 0,a==null||a.destroy(),a=void 0,n==null||n.remove(),n=void 0},getContainer:function(){return n},isEnabled:function(){return s()}}};/*! License details at fancyapps.com/license */const T1={iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"}},x7=()=>{let e;function a(o,i){let l=i.src;if(!ft(l))return;let s=i.type;if(!s){if(s||(l.charAt(0)==="#"?s="inline":l.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.((a)?png|avif|gif|jp(g|eg)|pjp(eg)?|jfif|svg|webp|bmp|ico|tif(f)?)((\?|#).*)?$)/i)?s="image":l.match(/\.(pdf)((\?|#).*)?$/i)?s="pdf":l.match(/\.(html|php)((\?|#).*)?$/i)&&(s="iframe")),!s){const d=l.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i);d&&(l=`https://maps.google.${d[1]}/?ll=${(d[2]?d[2]+"&z="+Math.floor(parseFloat(d[3]))+(d[4]?d[4].replace(/^\//,"&"):""):d[4]+"").replace(/\?/,"&")}&output=${d[4]&&d[4].indexOf("layer=c")>0?"svembed":"embed"}`,s="gmap")}if(!s){const d=l.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i);d&&(l=`https://maps.google.${d[1]}/maps?q=${d[2].replace("query=","q=").replace("api=1","")}&output=embed`,s="gmap")}i.src=l,i.type=s}}function n(o,i){i.type!=="iframe"&&i.type!=="pdf"&&i.type!=="gmap"||function(l){if(!e||!l.el||!l.src)return;const s=document.createElement("iframe");s.classList.add("f-iframe");for(const[p,u]of Object.entries(function(){const m=e==null?void 0:e.getOptions().Html;return Et(m)?Object.assign(Object.assign({},T1),m):T1}().iframeAttr||{}))s.setAttribute(p,u);s.onerror=()=>{e&&e.getState()===1&&e.showError(l,"{{IFRAME_ERROR}}")},s.src=l.src;const d=document.createElement("div");if(d.classList.add("f-html"),d.append(s),l.width){let p=`${l.width}`;p.match(/^\d+$/)&&(p+="px"),d.style.maxWidth=`${p}`}if(l.height){let p=`${l.height}`;p.match(/^\d+$/)&&(p+="px"),d.style.maxHeight=`${p}`}if(l.aspectRatio){const p=l.el.getBoundingClientRect();d.style.aspectRatio=`${l.aspectRatio}`,d.style[p.width>p.height?"width":"height"]="auto",d.style[p.width>p.height?"maxWidth":"maxHeight"]="none"}l.contentEl=s,l.htmlEl=d,l.el.classList.add("has-html"),l.el.classList.add("has-iframe"),l.el.classList.add(`has-${l.type}`),l.el.prepend(d),e.emit("contentReady",l)}(i)}function r(o,i){var l,s;i.type!=="iframe"&&i.type!=="pdf"&&i.type!=="gmap"||(e==null||e.hideError(i),(l=i.contentEl)===null||l===void 0||l.remove(),i.contentEl=void 0,(s=i.htmlEl)===null||s===void 0||s.remove(),i.htmlEl=void 0)}return{init:function(o){e=o,e.on("addSlide",a),e.on("attachSlideEl",n),e.on("detachSlideEl",r)},destroy:function(){e==null||e.off("addSlide",a),e==null||e.off("attachSlideEl",n),e==null||e.off("detachSlideEl",r),e=void 0}}};/*! License details at fancyapps.com/license */const P1=(e,a={})=>{const n=new URL(e),r=new URLSearchParams(n.search),o=new URLSearchParams;for(const[s,d]of[...r,...Object.entries(a)]){let p=d+"";if(s==="t"){let u=p.match(/((\d*)m)?(\d*)s?/);u&&o.set("start",60*parseInt(u[2]||"0")+parseInt(u[3]||"0")+"")}else o.set(s,p)}let i=o+"",l=e.match(/#t=((.*)?\d+s)/);return l&&(i+=`#t=${l[1]}`),i},O1={autoplay:!1,html5videoTpl:`<video class="f-html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">
10
- <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn't support embedded videos.</video>`,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto",credentialless:""},vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}},b7=()=>{let e,a=!1;function n(){const c=e==null?void 0:e.getOptions().Video;return Et(c)?Object.assign(Object.assign({},O1),c):O1}function r(){var c;return(c=e==null?void 0:e.getPage())===null||c===void 0?void 0:c.slides[0]}const o=c=>{var f;try{let h=JSON.parse(c.data);if(c.origin==="https://player.vimeo.com"){if(h.event==="ready")for(let y of Array.from(((f=e==null?void 0:e.getContainer())===null||f===void 0?void 0:f.getElementsByClassName("f-iframe"))||[]))y instanceof HTMLIFrameElement&&y.contentWindow===c.source&&(y.dataset.ready="true")}else if(c.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&h.event==="onReady"){const y=document.getElementById(h.id);y&&(y.dataset.ready="true")}}catch{}};function i(c,f){const h=f.src;if(!ft(h))return;let y=f.type;if(!y||y==="html5video"){const b=h.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i);b&&(y="html5video",f.html5videoFormat=f.html5videoFormat||"video/"+(b[1]==="ogv"?"ogg":b[1]))}if(!y||y==="youtube"){const b=h.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i);if(b){const x=Object.assign(Object.assign({},n().youtube),f.youtube||{}),w=`www.youtube${x.nocookie?"-nocookie":""}.com`,k=P1(h,x),B=encodeURIComponent(b[2]);f.videoId=B,f.src=`https://${w}/embed/${B}?${k}`,f.thumb=f.thumb||`https://i.ytimg.com/vi/${B}/mqdefault.jpg`,y="youtube"}}if(!y||y==="vimeo"){const b=h.match(/^.+vimeo.com\/(?:\/)?(video\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/);if(b){const x=Object.assign(Object.assign({},n().vimeo),f.vimeo||{}),w=P1(h,x),k=encodeURIComponent(b[2]),B=b[5]||"";f.videoId=k,f.src=`https://player.vimeo.com/video/${k}?${B?`h=${B}${w?"&":""}`:""}${w}`,y="vimeo"}}f.type=y}function l(c,f){f.type==="html5video"&&function(h){if(!e||!h.el||!h.src)return;const{el:y,src:b}=h;if(!y||!b)return;const x=h.html5videoTpl||n().html5videoTpl,w=h.html5videoFormat||n().html5videoFormat;if(!x)return;const k=h.poster||(h.thumb&&ft(h.thumb)?h.thumb:""),B=fa(x.replace(/\{\{src\}\}/gi,b+"").replace(/\{\{format\}\}/gi,w||"").replace(/\{\{poster\}\}/gi,k+""));if(!B)return;const V=document.createElement("div");V.classList.add("f-html"),V.append(B),h.contentEl=B,h.htmlEl=V,y.classList.add(`has-${h.type}`),y.prepend(V),u(h),e.emit("contentReady",h)}(f),f.type!=="youtube"&&f.type!=="vimeo"||function(h){if(!e||!h.el||!h.src)return;const y=document.createElement("iframe");y.classList.add("f-iframe"),y.setAttribute("id",`f-iframe_${h.videoId}`);for(const[x,w]of Object.entries(n().iframeAttr||{}))y.setAttribute(x,w);y.onload=()=>{var x;e&&e.getState()===1&&h.type==="youtube"&&((x=y.contentWindow)===null||x===void 0||x.postMessage(JSON.stringify({event:"listening",id:y.getAttribute("id")}),"*"))},y.onerror=()=>{e&&e.getState()===1&&(e==null||e.showError(h,"{{IFRAME_ERROR}}"))},y.src=h.src;const b=document.createElement("div");b.classList.add("f-html"),b.append(y),h.contentEl=y,h.htmlEl=b,h.el.classList.add("has-html"),h.el.classList.add("has-iframe"),h.el.classList.add(`has-${h.type}`),h.el.prepend(b),u(h),e.emit("contentReady",h)}(f)}function s(c,f){var h,y;f.type!=="html5video"&&f.type!=="youtube"&&f.type!=="vimeo"||((h=f.contentEl)===null||h===void 0||h.remove(),f.contentEl=void 0,(y=f.htmlEl)===null||y===void 0||y.remove(),f.htmlEl=void 0),f.poller&&clearTimeout(f.poller)}function d(){a=!1}function p(){if(a)return;a=!0;const c=r();(c&&c.autoplay!==void 0?c.autoplay:n().autoplay)&&(function(){var f;const h=r(),y=h==null?void 0:h.el;if(y&&(h==null?void 0:h.type)==="html5video")try{const x=y.querySelector("video");if(x){const w=x.play();w!==void 0&&w.then(()=>{}).catch(k=>{x.muted=!0,x.play()})}}catch{}const b=h==null?void 0:h.htmlEl;b instanceof HTMLIFrameElement&&((f=b.contentWindow)===null||f===void 0||f.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"))}(),function(){const f=r(),h=f==null?void 0:f.type;if(!(f!=null&&f.el)||h!=="youtube"&&h!=="vimeo")return;const y=()=>{if(f.contentEl&&f.contentEl instanceof HTMLIFrameElement&&f.contentEl.contentWindow){let b;if(f.contentEl.dataset.ready==="true")return b=f.type==="youtube"?{event:"command",func:"playVideo"}:{method:"play",value:"true"},b&&f.contentEl.contentWindow.postMessage(JSON.stringify(b),"*"),void(f.poller=void 0);f.type==="youtube"&&(b={event:"listening",id:f.contentEl.getAttribute("id")},f.contentEl.contentWindow.postMessage(JSON.stringify(b),"*"))}f.poller=setTimeout(y,250)};y()}())}function u(c){const f=c==null?void 0:c.htmlEl;if(c&&f&&(c.type==="html5video"||c.type==="youtube"||c.type==="vimeo")){if(f.style.aspectRatio="",f.style.width="",f.style.height="",f.style.maxWidth="",f.style.maxHeight="",c.width){let h=`${c.width}`;h.match(/^\d+$/)&&(h+="px"),f.style.maxWidth=`${h}`}if(c.height){let h=`${c.height}`;h.match(/^\d+$/)&&(h+="px"),f.style.maxHeight=`${h}`}if(c.aspectRatio){const h=c.aspectRatio.split("/"),y=parseFloat(h[0].trim()),b=h[1]?parseFloat(h[1].trim()):0,x=y&&b?y/b:y;f.offsetHeight;const w=f.getBoundingClientRect(),k=x<(w.width||1)/(w.height||1);f.style.aspectRatio=`${c.aspectRatio}`,f.style.width=k?"auto":"",f.style.height=k?"":"auto"}}}function m(){u(r())}return{init:function(c){e=c,e.on("addSlide",i),e.on("attachSlideEl",l),e.on("detachSlideEl",s),e.on("ready",p),e.on("change",d),e.on("settle",p),e.on("refresh",m),window.addEventListener("message",o)},destroy:function(){e==null||e.off("addSlide",i),e==null||e.off("attachSlideEl",l),e==null||e.off("detachSlideEl",s),e==null||e.off("ready",p),e==null||e.off("change",d),e==null||e.off("settle",p),e==null||e.off("refresh",m),window.removeEventListener("message",o),e=void 0}}};/*! License details at fancyapps.com/license */const F1={autoStart:!1,btnTpl:'<button data-fullscreen-action="toggle" class="f-button" title="{{TOGGLE_FULLSCREEN}}"><svg><g><path d="M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},L1="in-fullscreen-mode",w7=()=>{let e;function a(m){const c=e==null?void 0:e.getOptions().Fullscreen;let f=(Et(c)?Object.assign(Object.assign({},F1),c):F1)[m];return f&&typeof f=="function"&&e?f(e):f}function n(){var m;(m=e==null?void 0:e.getPlugins().Toolbar)===null||m===void 0||m.add("fullscreen",{tpl:a("btnTpl")})}function r(){if(a("autoStart")){const m=l();m&&d(m)}}function o(m,c){const f=c.target;f&&!c.defaultPrevented&&f.dataset.fullscreenAction==="toggle"&&u()}function i(m){l()&&m.key==="Escape"&&!m.defaultPrevented&&u()}function l(){return a("el")||(e==null?void 0:e.getContainer())||void 0}function s(){const m=document;return m.fullscreenEnabled?!!m.fullscreenElement:!!m.webkitFullscreenEnabled&&!!m.webkitFullscreenElement}function d(m){const c=document;let f;return m||(m=c.documentElement),c.fullscreenEnabled?f=m.requestFullscreen():c.webkitFullscreenEnabled&&(f=m.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)),f&&f.then(()=>{m.classList.add(L1)}),f}function p(){const m=document;let c;return m.fullscreenEnabled?c=m.fullscreenElement&&m.exitFullscreen():m.webkitFullscreenEnabled&&(c=m.webkitFullscreenElement&&m.webkitExitFullscreen()),c&&c.then(()=>{var f;(f=l())===null||f===void 0||f.classList.remove(L1)}),c}function u(){const m=l();m&&(s()?p():d(m))}return{init:function(m){e=m,e.on("initPlugins",n),e.on("ready",r),e.on("click",o)},destroy:function(){e==null||e.off("initPlugins",n),e==null||e.off("ready",r),e==null||e.off("click",o),document.removeEventListener("keydown",i,!0)},exit:p,inFullscreen:s,request:d,toggle:u}};/*! License details at fancyapps.com/license */let Xt,ir=!1,$1=!1,bn=!1,Ao=!1;const lr=()=>{const e=new URL(document.URL).hash,a=e.slice(1).split("-"),n=a[a.length-1],r=n&&/^\+?\d+$/.test(n)&&parseInt(a.pop()||"1",10)||1;return{hash:e,slug:a.join("-"),index:r}},Vo=()=>{if(!Xt||Xt.getInstance())return;const{slug:e,index:a}=lr();if(!e)return;let n=document.querySelector(`[data-slug="${e}"]`);if(n&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),!Xt||Xt.getInstance())return;const r=document.querySelectorAll(`[data-fancybox="${e}"]`);r.length&&(n=r[a-1],n&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})))},v7=()=>{var e,a,n;if(!Xt||bn)return;const r=Xt==null?void 0:Xt.getInstance();if((r==null?void 0:r.getOptions().Hash)===!1)return;const{slug:o,index:i}=lr(),l=((e=r==null?void 0:r.getSlide())===null||e===void 0?void 0:e.fancybox)||((a=r==null?void 0:r.getSlide())===null||a===void 0?void 0:a.slug)||void 0;r&&l&&(o===l?(n=r.getCarousel())===null||n===void 0||n.goTo(i-1):(Ao=!0,r.close(),Ao=!1)),Vo()},H1=()=>{Xt&&setTimeout(()=>{ir=!0,Vo(),ir=!1,window.addEventListener("hashchange",v7,!1)},300)},No=()=>{let e,a="auto",n="";function r(){if(!e||!e.isTopMost()||e.getOptions().Hash===!1)return;const l=e.getCarousel();if(!l)return;const{hash:s,slug:d}=lr(),p=e.getSlide();if(!p)return;let u=p.fancybox||"",m=parseInt(p.index+"",10)+1;if(!u)return;let c=`#${u}-${m}`;if(s!==c&&(n=s),history.scrollRestoration&&(a=history.scrollRestoration,history.scrollRestoration="manual"),l.on("change",o),!ir)if(u===d)try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+c)}catch{}else try{window.history.pushState({},document.title,window.location.pathname+window.location.search+c),$1=!0}catch{}}function o(){if(!e||!e.isTopMost()||e.getOptions().Hash===!1)return;const{slug:l}=lr(),s=e.getSlide();if(!s)return;let d=s.fancybox||"",p=`#${d}-${s.index+1}`;if(d===l){bn=!0;try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+p)}catch{}bn=!1}}function i(){if(Ao||!e||!e.isTopMost()||e.getOptions().Hash===!1)return;const l=e.getSlide();if(l&&l.fancybox){bn=!0;try{!$1||ir||function(){if(window.parent===window)return!1;try{var s=window.frameElement}catch{s=null}return s===null?location.protocol==="data:":s.hasAttribute("sandbox")}()?window.history.replaceState({},document.title,window.location.pathname+window.location.search+n):window.history.back()}catch{}bn=!1}}return{init:function(l){e=l,e.on("ready",r),e.on("close",i)},destroy:function(){e==null||e.off("ready",r),e==null||e.off("close",i);const l=e==null?void 0:e.getCarousel();l&&l.off("change",o),e=void 0,history.scrollRestoration&&a&&(history.scrollRestoration=a)}}};No.startFromUrl=Vo,No.setup=function(e){Xt||(Xt=e,x1()&&(/complete|interactive|loaded/.test(document.readyState)?H1():document.addEventListener("DOMContentLoaded",H1)))};/*! License details at fancyapps.com/license */const E7=Object.assign(Object.assign({},So),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ELEMENT_NOT_FOUND:"HTML Element Not Found",IFRAME_ERROR:"Error Loading Page"});/*! License details at fancyapps.com/license */const R1='<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg><path d="M19.286 4.714 4.714 19.286M4.714 4.714l14.572 14.572" /></svg></button>';_1().add("close",{tpl:R1});const z1=e=>{e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))},I1=(e=null,a="",n)=>{if(!e||!e.parentElement||!a)return void(n&&n());z1(e);const r=o=>{o.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",r),delete e.dataset.animationName,n&&n(),e.classList.remove(a))};e.dataset.animationName=a,e.addEventListener("animationend",r),ze(e,a)};var dt;(function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Closing=2]="Closing",e[e.Destroyed=3]="Destroyed"})(dt||(dt={}));const wn={ajax:null,backdropClick:"close",Carousel:{},closeButton:"auto",closeExisting:!1,delegateEl:void 0,dragToClose:!0,fadeEffect:!0,groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,id:void 0,idle:!1,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:E7,mainClass:"",mainStyle:{},mainTpl:`<dialog class="fancybox__dialog">
9
+ data-lazy-src="{{src}}" alt="{{alt}}" />`},p7=()=>{let e;function a(u,m){const c=e==null?void 0:e.getOptions().Zoomable;let f=(Et(c)?Object.assign(Object.assign({},b1),c):b1)[u];return f&&typeof f=="function"&&m?f(m):f}function n(){e&&(e.on("addSlide",i),e.on("removeSlide",l),e.on("attachSlideEl",s),e.on("click",o),e.on("change",r))}function r(){d()}function o(u,m){const c=m.target;c&&!m.defaultPrevented&&c.dataset.panzoomAction&&p(c.dataset.panzoomAction)}function i(u,m){if(!e)return;const c=m.el;if(!c)return;const f=m.src||m.lazySrc||"",h=m.alt||m.caption||`Image #${m.index}`,y=m.srcset||m.lazySrcset||"",b=m.sizes||m.lazySizes||"";if(f&&ft(f)&&!m.html&&(!m.type||m.type==="image")){m.type="image";let B=a("tpl",m);B=xa(B,"{{src}}",f+""),B=xa(B,"{{alt}}",h+""),B=xa(B,"{{srcset}}",y+""),B=xa(B,"{{sizes}}",b+""),c.insertAdjacentHTML("afterbegin",B)}if(!c.querySelector(".f-panzoom__content"))return;const x=m.width&&m.width!=="auto"?parseFloat(m.width+""):"auto",w=m.height&&m.height!=="auto"?parseFloat(m.height+""):"auto",k=vo(c,Object.assign({width:x,height:w,event:()=>e==null?void 0:e.getLastMouseMove(),classes:{container:"f-zoomable"}},a("Panzoom")));k.on("*",(B,V,...M)=>{e&&(V==="loading"&&(m.state=0),V==="loaded"&&(m.state=1),V==="error"&&(m.state=2,e==null||e.showError(m,"{{IMAGE_ERROR}}")),e.emit(`panzoom:${V}`,m,...M),V==="ready"&&e.emit("contentReady",m),m.index===e.getPageIndex()&&d())}),m.panzoomRef=k}function l(u,m){m.panzoomRef&&(m.panzoomRef.destroy(),m.panzoomRef=void 0)}function s(u,m){const c=m.panzoomRef;if(c)switch(c.getState()){case 0:c.init();break;case 3:c.execute(we.Reset,{velocity:0})}}function d(){var u;const m=e==null?void 0:e.getContainer();if(!m)return;const c=(u=e==null?void 0:e.getPage())===null||u===void 0?void 0:u.slides[0].panzoomRef,f=(c==null?void 0:c.canZoomIn())||!1,h=(c==null?void 0:c.canZoomOut())||!1,y=(c==null?void 0:c.isFullsize())||!1,b=!c||(c==null?void 0:c.getState())!==3;for(const x of(m==null?void 0:m.querySelectorAll("[data-panzoom-action]"))||[]){const w=x.dataset.panzoomAction;let k=!1;if(b)k=!0;else switch(w){case we.ZoomIn:f||(k=!0);break;case we.ZoomOut:h||(k=!0);break;case we.ToggleFull:f||h||(k=!0);const B=x.querySelector("g");B&&(B.style.display=y?"none":"");break;case we.ToggleCover:case we.ToggleMax:f||h||(k=!0)}k?(x.setAttribute("aria-disabled",""),x.setAttribute("tabindex","-1")):(x.removeAttribute("aria-disabled"),x.removeAttribute("tabindex"))}}function p(u,...m){var c;(c=e==null?void 0:e.getPage().slides[0].panzoomRef)===null||c===void 0||c.execute(u,...m)}return{init:function(u){e=u,e.getOptions().Zoomable!==!1&&e.on("initPlugins",n)},destroy:function(){if(e){e.off("addSlide",i),e.off("removeSlide",l),e.off("attachSlideEl",s),e.off("change",r);for(const u of e.getSlides())l(0,u)}e=void 0},execute:p}};/*! License details at fancyapps.com/license */const w1={syncOnChange:!1,syncOnClick:!0,syncOnHover:!1},v1=()=>{let e,a;function n(){const f=e==null?void 0:e.getOptions().Sync;return Et(f)?Object.assign(Object.assign({},w1),f):w1}function r(f){var h,y,b;e&&f&&(a=f,e.getOptions().classes=Object.assign(Object.assign({},e.getOptions().classes),{isSelected:""}),e.getOptions().initialSlide=((y=(h=a.getPage())===null||h===void 0?void 0:h.slides[0])===null||y===void 0?void 0:y.index)||0,n().syncOnChange&&e.on("change",l),n().syncOnClick&&e.on("click",d),n().syncOnHover&&((b=e.getViewport())===null||b===void 0||b.addEventListener("mouseover",p)),function(){!e||!a||(e.on("ready",i),e.on("refresh",u),a.on("change",s),a.on("filter",m))}())}function o(){const f=n().target;e&&f&&r(f)}function i(){c()}function l(){var f;if(e&&a){const h=((f=e.getPage())===null||f===void 0?void 0:f.slides)||[],y=a.getPageIndex(h[0].index||0);y>-1&&a.goTo(y,e.hasNavigated()?void 0:{tween:!1,transition:!1}),c()}}function s(){var f;if(e&&a){const h=e.getPageIndex(((f=a.getPage())===null||f===void 0?void 0:f.slides[0].index)||0);h>-1&&e.goTo(h,a.hasNavigated()?void 0:{tween:!1,transition:!1}),c()}}function d(f,h){var y;if(!e||!a||!((y=e.getTween())===null||y===void 0)&&y.isRunning())return;const b=e==null?void 0:e.getOptions().classes.slide;if(!b)return;const x=b?h.target.closest(`.${b}`):null;if(x){const w=parseInt(x.getAttribute("index")||"")||0,k=a.getPageIndex(w);a.goTo(k)}}function p(f){e&&d(0,f)}function u(){var f;if(e&&a){const h=e.getPageIndex(((f=a.getPage())===null||f===void 0?void 0:f.slides[0].index)||0);h>-1&&e.goTo(h,{tween:!1,transition:!1}),c()}}function m(f,h){e&&a&&(e.filter(h),s())}function c(){var f,h,y;if(!a)return;const b=((h=(f=a.getPage())===null||f===void 0?void 0:f.slides[0])===null||h===void 0?void 0:h.index)||0;for(const x of(e==null?void 0:e.getSlides())||[])(y=x.el)===null||y===void 0||y.classList.toggle("is-selected",x.index===b)}return{init:function(f){e=f,e.on("initSlides",o)},destroy:function(){var f;e==null||e.off("ready",i),e==null||e.off("refresh",u),e==null||e.off("change",l),e==null||e.off("click",d),(f=e==null?void 0:e.getViewport())===null||f===void 0||f.removeEventListener("mouseover",p),a==null||a.off("change",s),a==null||a.off("filter",m),a=void 0,e==null||e.off("initSlides",o),e=void 0},getTarget:function(){return a}}};/*! License details at fancyapps.com/license */const E1={showLoading:!0,preload:1},or="is-lazyloading",C1="is-lazyloaded",S1=()=>{let e;function a(){const o=e==null?void 0:e.getOptions().Lazyload;return Et(o)?Object.assign(Object.assign({},E1),o):E1}function n(o){const i=o.el;if(!i)return;const l="[data-lazy-src],[data-lazy-srcset],[data-lazy-bg]",s=Array.from(i.querySelectorAll(l));i.matches(l)&&s.push(i);for(const d of s){const p=d.dataset.lazySrc,u=d.dataset.lazySrcset,m=d.dataset.lazySizes,c=d.dataset.lazyBg,f=(d instanceof HTMLImageElement||d instanceof HTMLSourceElement)&&(p||u),h=d instanceof HTMLElement&&c;if(!f&&!h)continue;const y=p||u||c;y&&(f&&y?(a().showLoading&&(e==null||e.showLoading(o)),d.addEventListener("load",()=>{e==null||e.hideLoading(o),d instanceof HTMLImageElement?d.decode().then(()=>{d.classList.remove(or),d.classList.add(C1)}):(d.classList.remove(or),d.classList.add(C1)),e==null||e.emit("lazyLoad:loaded",o,d,y)}),d.addEventListener("error",()=>{e==null||e.hideLoading(o),d.classList.remove(or),d.classList.add("has-lazyerror"),e==null||e.emit("lazyLoad:error",o,d,y)}),d.classList.add("f-lazyload"),d.classList.add(or),e==null||e.emit("lazyLoad:load",o,d,y),p&&(d.src=p),u&&(d.srcset=u),m&&(d.sizes=m)):h&&(document.body.contains(d)||(document.createElement("img").src=c),d.style.backgroundImage=`url('${c}')`),delete d.dataset.lazySrc,delete d.dataset.lazySrcset,delete d.dataset.lazySizes)}}function r(){if(!e)return;const o=a().preload,i=[...e.getVisibleSlides()],l=e.getPosition(),s=e.getViewportDim();i.push(...e.getVisibleSlides(l+s*o),...e.getVisibleSlides(l-s*o));for(const d of i||[])n(d)}return{init:function(o){e=o,e.on("render",r)},destroy:function(){e==null||e.off("render",r),e=void 0}}};/*! License details at fancyapps.com/license */const M1={prevTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M15 3l-9 9 9 9"></path></svg>',nextTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M9 3l9 9-9 9"></path></svg>'},g7=()=>{let e,a,n;function r(l){if(!e)return;const s=`<button data-carousel-go-${l} tabindex="0" class="f-button is-arrow is-${l}" title="{{${l.toUpperCase()}}}">`+function(){const d=e==null?void 0:e.getOptions().Arrows;return Et(d)?Object.assign(Object.assign({},M1),d):M1}()[`${l}Tpl`]+"</button";return fa(e.localize(s))||void 0}function o(){var l;a==null||a.remove(),a=void 0,n==null||n.remove(),n=void 0,(l=e==null?void 0:e.getContainer())===null||l===void 0||l.classList.remove("has-arrows")}function i(){e&&e.getOptions().Arrows!==!1&&e.getPages().length>1?(function(){if(!e)return;const l=e.getViewport();l&&(a||(a=r("prev"),a&&l.insertAdjacentElement("beforebegin",a)),n||(n=r("next"),n&&l.insertAdjacentElement("afterend",n)),ka(e.getContainer(),"has-arrows",!(!a&&!n)))}(),e&&(a==null||a.toggleAttribute("aria-disabled",!e.canGoPrev()),n==null||n.toggleAttribute("aria-disabled",!e.canGoNext()))):o()}return{init:function(l){e=l.on(["change","refresh"],i)},destroy:function(){o(),e==null||e.off(["change","refresh"],i),e=void 0}}};/*! License details at fancyapps.com/license */const B1={moveLeft:{tpl:'<button data-panzoom-action="moveLeft" class="f-button" title="{{MOVE_LEFT}}"><svg><path d="M5 12h14M5 12l6 6M5 12l6-6"/></svg></button>'},moveRight:{tpl:'<button data-panzoom-action="moveRight" class="f-button" title="{{MOVE_RIGHT}}"><svg><path d="M5 12h14M13 18l6-6M13 6l6 6"/></svg></button>'},moveUp:{tpl:'<button data-panzoom-action="moveUp" class="f-button" title="{{MOVE_UP}}"><svg><path d="M12 5v14M18 11l-6-6M6 11l6-6"/></svg></button>'},moveDown:{tpl:'<button data-panzoom-action="moveDown" class="f-button" title="{{MOVE_DOWN}}"><svg><path d="M12 5v14M18 13l-6 6M6 13l6 6"/></svg></button>'},zoomIn:{tpl:'<button data-panzoom-action="zoomIn" class="f-button" title="{{ZOOM_IN}}"><svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M11 8v6M8 11h6"/></svg></button>'},zoomOut:{tpl:'<button data-panzoom-action="zoomOut" class="f-button" title="{{ZOOM_OUT}}"><svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg></button>'},toggle1to1:{tpl:'<button data-panzoom-action="toggleFull" class="f-button" title="{{TOGGLE_FULL}}"><svg><path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/></svg></button>'},toggleFull:{tpl:'<button data-panzoom-action="toggleFull" class="f-button" title="{{TOGGLE_FULL}}"><svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg></button>'},rotateCCW:{tpl:'<button data-panzoom-action="rotateCCW" class="f-button" title="{{ROTATE_CCW}}"><svg><path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/></svg></button>'},rotateCW:{tpl:'<button data-panzoom-action="rotateCW" class="f-button" title="{{ROTATE_CW}}"><svg><path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/></svg></button>'},flipX:{tpl:'<button data-panzoom-action="flipX" class="f-button" title="{{FLIP_X}}"><svg><path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/></svg></button>'},flipY:{tpl:'<button data-panzoom-action="flipY" class="f-button" title="{{FLIP_Y}}"><svg><path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/></svg></button>'},reset:{tpl:'<button data-panzoom-action="reset" class="f-button" title="{{RESET}}"><svg><path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/></svg></button>'}};/*! License details at fancyapps.com/license */var A1;(function(e){e.Left="left",e.middle="middle",e.right="right"})(A1||(A1={}));const V1=Object.assign({counter:{tpl:'<div class="f-carousel__counter"><span data-carousel-page></span>/<span data-carousel-pages></span></div>'},download:{tpl:'<button data-carousel-download class="f-button" title="{{DOWNLOAD}}"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></button>'},autoplay:{tpl:'<button data-autoplay-action="toggle" class="f-button" title="{{TOGGLE_AUTOPLAY}}"><svg><g><path d="M5 3.5 19 12 5 20.5Z"/></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>'},thumbs:{tpl:'<button data-thumbs-action="toggle" class="f-button" title="{{TOGGLE_THUMBS}}"><svg><rect width="18" height="14" x="3" y="3" rx="2"/><path d="M4 21h1M9 21h1M14 21h1M19 21h1"/></svg></button>'}},B1),N1={absolute:!1,display:{left:[],middle:["zoomIn","zoomOut","toggle1to1","rotateCCW","rotateCW","flipX","flipY","reset"],right:[]},enabled:"auto",items:{}},D1=()=>{let e,a;function n(){const o=e==null?void 0:e.getOptions().Toolbar;return Et(o)?Object.assign(Object.assign({},N1),o):N1}function r(){var o,i,l;if(!(e!=null&&e.getOptions().Toolbar)||!e||a)return;let s=n().enabled;if(!s)return;let d=n().absolute;const p=e.getSlides().length>1;let u=!1,m=!1;for(const x of e.getSlides())x.panzoomRef&&(u=!0),(x.downloadSrc||x.type==="image"&&x.src)&&(m=!0);let c=((o=e.getPlugins().Thumbs)===null||o===void 0?void 0:o.isEnabled())||!1,f=p&&e.getPlugins().Autoplay||!1,h=e.getPlugins().Fullscreen&&(document.fullscreenEnabled||document.webkitFullscreenEnabled);if(s==="auto"&&(s=u),!s)return;a=document.createElement("div"),a.classList.add("f-carousel__toolbar");const y=n().display,b=Tt({},V1,n().items);for(const x of["left","middle","right"]){const w=y[x]||[],k=document.createElement("div");k.classList.add("f-carousel__toolbar__column"),k.classList.add(`is-${x}`);for(const B of w){let V;if(ft(B)){if(B==="counter"&&!p||B==="autoplay"&&!f||B1[B]&&!u||B==="fullscreen"&&!h||B==="thumbs"&&!c||B==="download"&&!m)continue;V=b[B]}if(typeof B=="object"&&(V=B),V&&V.tpl){let M=e.localize(V.tpl);M=M.split("<svg>").join('<svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24">');const E=fa(M);E&&(typeof V.click=="function"&&e&&E.addEventListener("click",N=>{N.preventDefault(),N.stopPropagation(),typeof V.click=="function"&&e&&V.click(e,N)}),k.append(E))}}a.append(k)}a.childElementCount&&(d===!0&&a.classList.add("is-absolute"),(i=e.getContainer())===null||i===void 0||i.classList.add("has-toolbar"),(l=e.getViewport())===null||l===void 0||l.insertAdjacentElement("beforebegin",a))}return{init:function(o){e=o,e.on("initSlides",r)},destroy:function(){var o;e==null||e.off("initSlides",r),(o=e==null?void 0:e.getContainer())===null||o===void 0||o.classList.remove("has-toolbar"),a==null||a.remove(),a=void 0},add:function(o,i){V1[o]=i},isEnabled:function(){return!!a}}};/*! License details at fancyapps.com/license */const _1={autoStart:!0,pauseOnHover:!0,showProgressbar:!0,timeout:2e3},y7=()=>{let e,a,n=!1,r=!1,o=!1,i=null;function l(M){const E=e==null?void 0:e.getOptions().Autoplay;let N=(Et(E)?Object.assign(Object.assign({},_1),E):_1)[M];return N&&typeof N=="function"&&e?N(e):N}function s(){var M;const E=((M=e==null?void 0:e.getPage())===null||M===void 0?void 0:M.slides)||[];for(const N of E)if(N.state===0)return!0;return!1}function d(){clearTimeout(a),a=void 0}function p(){if(a||o||s()||!(e!=null&&e.isSettled()))return;(function(){var E,N,A,q;if(!e||(c(),!l("showProgressbar")))return;let U=l("progressbarParentEl");if(!U&&(!((E=e.getPlugins().Toolbar)===null||E===void 0)&&E.isEnabled())&&(U=e.getContainer()),!U&&((N=e.getPlugins().Toolbar)===null||N===void 0?void 0:N.isEnabled())!==!0){const Y=((A=e.getPages()[0])===null||A===void 0?void 0:A.slides)||[],C=((q=e.getPage())===null||q===void 0?void 0:q.slides)||[];Y.length===1&&C.length===1&&(U=C[0].el)}if(U||(U=e.getViewport()),!U)return;i=document.createElement("div"),i.classList.add("f-progressbar"),U.prepend(i);const X=l("timeout")||1e3;i.style.animationDuration=`${X}ms`})();const M=l("timeout");a=setTimeout(()=>{e&&n&&!r&&(e.isInfinite()||e.getPageIndex()!==e.getPages().length-1?e.next():e.goTo(0))},M)}function u(){var M,E;if(!e||e.getPages().length<2||e.getOptions().Autoplay===!1||n)return;n=!0,e.emit("autoplay:start",l("timeout")),(M=e.getContainer())===null||M===void 0||M.classList.add("has-autoplay"),(E=e.getTween())===null||E===void 0||E.on("start",w);const N=e==null?void 0:e.getContainer();N&&l("pauseOnHover")&&matchMedia("(hover: hover)").matches&&(N.addEventListener("mouseenter",k,!1),N.addEventListener("mouseleave",B,!1)),e.on("change",b),e.on("settle",x),e.on("contentReady",h),e.on("panzoom:animationStart",m),e.isSettled()&&p()}function m(){var M,E;if(d(),c(),n&&e){e.emit("autoplay:end"),(M=e.getContainer())===null||M===void 0||M.classList.remove("has-autoplay"),(E=e.getTween())===null||E===void 0||E.off("start",w);const N=e==null?void 0:e.getContainer();N&&(N.removeEventListener("mouseenter",k,!1),N.removeEventListener("mouseleave",B,!1))}e&&(e.off("change",b),e.off("settle",x),e.off("contentReady",h),e.off("panzoom:animationStart",m)),n=!1,r=!1}function c(){i&&(i.remove(),i=null)}function f(){e&&e.getPages().length>1&&l("autoStart")&&u()}function h(M){e&&e.getPageIndex(M.index)===e.getPageIndex()&&(!n||o||s()||p())}function y(M,E){const N=E.target;N&&!E.defaultPrevented&&N.dataset.autoplayAction==="toggle"&&V.toggle()}function b(){!e||!(e!=null&&e.isInfinite())&&e.getPageIndex()===e.getPages().length-1?m():(c(),d())}function x(){!n||o||r||p()}function w(){d(),c()}function k(){o=!0,n&&(c(),d())}function B(){o=!1,n&&!r&&(e!=null&&e.isSettled())&&p()}const V={init:function(M){e=M,e.on("ready",f),e.on("click",y)},destroy:function(){m(),e==null||e.off("ready",f),e==null||e.off("click",y),e=void 0},isEnabled:()=>n,pause:function(){r=!0,d()},resume:function(){r=!1,n&&!o&&p()},start(){u()},stop(){m()},toggle(){n?m():u()}};return V};/*! License details at fancyapps.com/license */const Mo={Carousel:{Lazyload:{showLoading:!1}},minCount:2,showOnStart:!0,thumbTpl:'<button aria-label="Slide to #{{page}}"><img draggable="false" alt="{{alt}}" data-lazy-src="{{src}}" /></button>',type:"modern"};let Bo;const k7=()=>{let e,a,n,r=0,o=0,i=!0;function l(k){const B=e==null?void 0:e.getOptions().Thumbs;let V=(Et(B)?Object.assign(Object.assign({},Mo),B):Mo)[k];return V&&typeof V=="function"?V():V}function s(){if(!e||(e==null?void 0:e.getOptions().Thumbs)===!1)return!1;let k=0;for(const B of e.getSlides())B.thumbSrc&&k++;return k>=l("minCount")}function d(){return l("type")==="modern"}function p(k=!1){const B=e==null?void 0:e.getContainer();if(e&&B&&!n&&s()){if(!n){const V=B.nextElementSibling;V!=null&&V.classList.contains("f-thumbs")&&(n=V)}if(!n){n=document.createElement("div"),n.classList.add("f-thumbs");const V=l("parentEl");V?V.insertAdjacentElement("beforeend",n):B.insertAdjacentElement("afterend",n)}n.classList.add(`is-${l("type")}`),n.classList.add("is-syncing"),k&&(n.style.maxHeight="0px")}}function u(k){let B=k.thumb?k.thumb instanceof HTMLImageElement?k.thumb.src:k.thumb:k.thumbSrc||void 0,V=l("thumbTpl");return V=xa(V,"{{alt}}",`Thumbnail #${k.index}`),V=xa(V,"{{src}}",B+""),V=xa(V,"{{index}}",`${k.index}`),V=xa(V,"{{page}}",`${k.index||1}`),{html:V,class:k.thumbClass}}function m(){var k,B;if(!Bo||!e||!n||a)return;const V=[];for(const M of e.getSlides())V.push(u(M));V.length&&(a=Bo(n,Tt({},{Sync:{target:e},Lazyload:{preload:1},slides:V,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",slide:"f-thumbs__slide"},initialSlide:e.getOptions().initialPage,center:!0,fill:!d(),infinite:!1,dragFree:!0,rtl:e.getOptions().rtl||!1,slidesPerPage:M=>{let E=0;return d()&&(function(){if(!d()||!n)return;const N=A=>n&&parseFloat(getComputedStyle(n).getPropertyValue("--f-thumb-"+A))||0;r=N("width"),o=N("clip-width")}(),E=4*(r-o)),M&&M.getTotalSlideDim()<=M.getViewportDim()-E?1/0:1}},Mo.Carousel||{},l("Carousel")||{}),{Sync:v1,Lazyload:S1}).init(),(k=a.getGestures())===null||k===void 0||k.on("start",()=>{i=!1}),a.on("click",(M,E)=>{const N=E.target;if(N){const A=N.matches("button")?N:N.firstElementChild;A&&A.matches("button")&&A.focus({})}}),(B=e.getContainer())===null||B===void 0||B.classList.add("has-thumbs"),w())}function c(){var k;s()&&(l("showOnStart")&&(p(),m()),(k=e==null?void 0:e.getGestures())===null||k===void 0||k.on("start",f),e==null||e.on("addSlide",b),e==null||e.on("click",x))}function f(){var k,B;i=!0,!((k=document.activeElement)===null||k===void 0)&&k.closest(".f-thumbs")&&((B=document.activeElement)===null||B===void 0||B.blur())}function h(){var k,B;n==null||n.classList.toggle("is-syncing",(e==null?void 0:e.hasNavigated())===!1||((k=e==null?void 0:e.getTween())===null||k===void 0?void 0:k.isRunning())),w(),!((B=e==null?void 0:e.getGestures())===null||B===void 0)&&B.isPointerDown()&&function(){if(!d()||!e||!a||!i)return;const V=a.getTween(),M=a.getPages(),E=e.getPageIndex()||0,N=e.getPageProgress()||0;if(!(e&&M&&M[E]&&V))return;const A=V.isRunning()?V.getCurrentValues().pos:a.getPosition();if(A===void 0)return;let q=M[E].pos+N*(r-o);q=$e(M[0].pos,q,M[M.length-1].pos),V.from({pos:A}).to({pos:q}).start()}()}function y(){i=!0}function b(k,B){a==null||a.add(u(B),B.index)}function x(k,B){const V=B.target;V&&!B.defaultPrevented&&V.dataset.thumbsAction==="toggle"&&function(){if(n||(p(!0),m()),!n)return;const M=n.style.maxHeight;n.style.maxHeight=M?"":"0px"}()}function w(){if(!d()||!e||!a)return;const k=(a==null?void 0:a.getSlides())||[];let B=-.5*r;for(const V of k){const M=V.el;if(!M)continue;let E=e.getPageProgress(V.index)||0;E=Math.max(-1,Math.min(1,E)),E>-1&&E<1&&(B+=.5*r*(1-Math.abs(E))),E=Math.round(1e4*E)/1e4,B=Math.round(1e4*B)/1e4,M.style.setProperty("--progress",`${Math.abs(E)}`),M.style.setProperty("--shift",`${e!=null&&e.isRTL()?-1*B:B}px`),E>-1&&E<1&&(B+=.5*r*(1-Math.abs(E)))}}return{init:function(k,B){Bo=B,e=k,e.on("ready",c),e.on("render",h),e.on("change",y)},destroy:function(){var k,B;e==null||e.off("ready",c),e==null||e.off("render",h),e==null||e.off("change",y),e==null||e.off("addSlide",b),e==null||e.off("click",x),(k=e==null?void 0:e.getGestures())===null||k===void 0||k.off("start",f),(B=e==null?void 0:e.getContainer())===null||B===void 0||B.classList.remove("has-thumbs"),e=void 0,a==null||a.destroy(),a=void 0,n==null||n.remove(),n=void 0},getContainer:function(){return n},isEnabled:function(){return s()}}};/*! License details at fancyapps.com/license */const T1={iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"}},x7=()=>{let e;function a(o,i){let l=i.src;if(!ft(l))return;let s=i.type;if(!s){if(s||(l.charAt(0)==="#"?s="inline":l.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.((a)?png|avif|gif|jp(g|eg)|pjp(eg)?|jfif|svg|webp|bmp|ico|tif(f)?)((\?|#).*)?$)/i)?s="image":l.match(/\.(pdf)((\?|#).*)?$/i)?s="pdf":l.match(/\.(html|php)((\?|#).*)?$/i)&&(s="iframe")),!s){const d=l.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i);d&&(l=`https://maps.google.${d[1]}/?ll=${(d[2]?d[2]+"&z="+Math.floor(parseFloat(d[3]))+(d[4]?d[4].replace(/^\//,"&"):""):d[4]+"").replace(/\?/,"&")}&output=${d[4]&&d[4].indexOf("layer=c")>0?"svembed":"embed"}`,s="gmap")}if(!s){const d=l.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i);d&&(l=`https://maps.google.${d[1]}/maps?q=${d[2].replace("query=","q=").replace("api=1","")}&output=embed`,s="gmap")}i.src=l,i.type=s}}function n(o,i){i.type!=="iframe"&&i.type!=="pdf"&&i.type!=="gmap"||function(l){if(!e||!l.el||!l.src)return;const s=document.createElement("iframe");s.classList.add("f-iframe");for(const[p,u]of Object.entries(function(){const m=e==null?void 0:e.getOptions().Html;return Et(m)?Object.assign(Object.assign({},T1),m):T1}().iframeAttr||{}))s.setAttribute(p,u);s.onerror=()=>{e&&e.getState()===1&&e.showError(l,"{{IFRAME_ERROR}}")},s.src=l.src;const d=document.createElement("div");if(d.classList.add("f-html"),d.append(s),l.width){let p=`${l.width}`;p.match(/^\d+$/)&&(p+="px"),d.style.maxWidth=`${p}`}if(l.height){let p=`${l.height}`;p.match(/^\d+$/)&&(p+="px"),d.style.maxHeight=`${p}`}if(l.aspectRatio){const p=l.el.getBoundingClientRect();d.style.aspectRatio=`${l.aspectRatio}`,d.style[p.width>p.height?"width":"height"]="auto",d.style[p.width>p.height?"maxWidth":"maxHeight"]="none"}l.contentEl=s,l.htmlEl=d,l.el.classList.add("has-html"),l.el.classList.add("has-iframe"),l.el.classList.add(`has-${l.type}`),l.el.prepend(d),e.emit("contentReady",l)}(i)}function r(o,i){var l,s;i.type!=="iframe"&&i.type!=="pdf"&&i.type!=="gmap"||(e==null||e.hideError(i),(l=i.contentEl)===null||l===void 0||l.remove(),i.contentEl=void 0,(s=i.htmlEl)===null||s===void 0||s.remove(),i.htmlEl=void 0)}return{init:function(o){e=o,e.on("addSlide",a),e.on("attachSlideEl",n),e.on("detachSlideEl",r)},destroy:function(){e==null||e.off("addSlide",a),e==null||e.off("attachSlideEl",n),e==null||e.off("detachSlideEl",r),e=void 0}}};/*! License details at fancyapps.com/license */const P1=(e,a={})=>{const n=new URL(e),r=new URLSearchParams(n.search),o=new URLSearchParams;for(const[s,d]of[...r,...Object.entries(a)]){let p=d+"";if(s==="t"){let u=p.match(/((\d*)m)?(\d*)s?/);u&&o.set("start",60*parseInt(u[2]||"0")+parseInt(u[3]||"0")+"")}else o.set(s,p)}let i=o+"",l=e.match(/#t=((.*)?\d+s)/);return l&&(i+=`#t=${l[1]}`),i},O1={autoplay:!1,html5videoTpl:`<video class="f-html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">
10
+ <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn't support embedded videos.</video>`,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto",credentialless:""},vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}},b7=()=>{let e,a=!1;function n(){const c=e==null?void 0:e.getOptions().Video;return Et(c)?Object.assign(Object.assign({},O1),c):O1}function r(){var c;return(c=e==null?void 0:e.getPage())===null||c===void 0?void 0:c.slides[0]}const o=c=>{var f;try{let h=JSON.parse(c.data);if(c.origin==="https://player.vimeo.com"){if(h.event==="ready")for(let y of Array.from(((f=e==null?void 0:e.getContainer())===null||f===void 0?void 0:f.getElementsByClassName("f-iframe"))||[]))y instanceof HTMLIFrameElement&&y.contentWindow===c.source&&(y.dataset.ready="true")}else if(c.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&h.event==="onReady"){const y=document.getElementById(h.id);y&&(y.dataset.ready="true")}}catch{}};function i(c,f){const h=f.src;if(!ft(h))return;let y=f.type;if(!y||y==="html5video"){const b=h.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i);b&&(y="html5video",f.html5videoFormat=f.html5videoFormat||"video/"+(b[1]==="ogv"?"ogg":b[1]))}if(!y||y==="youtube"){const b=h.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i);if(b){const x=Object.assign(Object.assign({},n().youtube),f.youtube||{}),w=`www.youtube${x.nocookie?"-nocookie":""}.com`,k=P1(h,x),B=encodeURIComponent(b[2]);f.videoId=B,f.src=`https://${w}/embed/${B}?${k}`,f.thumb=f.thumb||`https://i.ytimg.com/vi/${B}/mqdefault.jpg`,y="youtube"}}if(!y||y==="vimeo"){const b=h.match(/^.+vimeo.com\/(?:\/)?(video\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/);if(b){const x=Object.assign(Object.assign({},n().vimeo),f.vimeo||{}),w=P1(h,x),k=encodeURIComponent(b[2]),B=b[5]||"";f.videoId=k,f.src=`https://player.vimeo.com/video/${k}?${B?`h=${B}${w?"&":""}`:""}${w}`,y="vimeo"}}f.type=y}function l(c,f){f.type==="html5video"&&function(h){if(!e||!h.el||!h.src)return;const{el:y,src:b}=h;if(!y||!b)return;const x=h.html5videoTpl||n().html5videoTpl,w=h.html5videoFormat||n().html5videoFormat;if(!x)return;const k=h.poster||(h.thumb&&ft(h.thumb)?h.thumb:""),B=fa(x.replace(/\{\{src\}\}/gi,b+"").replace(/\{\{format\}\}/gi,w||"").replace(/\{\{poster\}\}/gi,k+""));if(!B)return;const V=document.createElement("div");V.classList.add("f-html"),V.append(B),h.contentEl=B,h.htmlEl=V,y.classList.add(`has-${h.type}`),y.prepend(V),u(h),e.emit("contentReady",h)}(f),f.type!=="youtube"&&f.type!=="vimeo"||function(h){if(!e||!h.el||!h.src)return;const y=document.createElement("iframe");y.classList.add("f-iframe"),y.setAttribute("id",`f-iframe_${h.videoId}`);for(const[x,w]of Object.entries(n().iframeAttr||{}))y.setAttribute(x,w);y.onload=()=>{var x;e&&e.getState()===1&&h.type==="youtube"&&((x=y.contentWindow)===null||x===void 0||x.postMessage(JSON.stringify({event:"listening",id:y.getAttribute("id")}),"*"))},y.onerror=()=>{e&&e.getState()===1&&(e==null||e.showError(h,"{{IFRAME_ERROR}}"))},y.src=h.src;const b=document.createElement("div");b.classList.add("f-html"),b.append(y),h.contentEl=y,h.htmlEl=b,h.el.classList.add("has-html"),h.el.classList.add("has-iframe"),h.el.classList.add(`has-${h.type}`),h.el.prepend(b),u(h),e.emit("contentReady",h)}(f)}function s(c,f){var h,y;f.type!=="html5video"&&f.type!=="youtube"&&f.type!=="vimeo"||((h=f.contentEl)===null||h===void 0||h.remove(),f.contentEl=void 0,(y=f.htmlEl)===null||y===void 0||y.remove(),f.htmlEl=void 0),f.poller&&clearTimeout(f.poller)}function d(){a=!1}function p(){if(a)return;a=!0;const c=r();(c&&c.autoplay!==void 0?c.autoplay:n().autoplay)&&(function(){var f;const h=r(),y=h==null?void 0:h.el;if(y&&(h==null?void 0:h.type)==="html5video")try{const x=y.querySelector("video");if(x){const w=x.play();w!==void 0&&w.then(()=>{}).catch(k=>{x.muted=!0,x.play()})}}catch{}const b=h==null?void 0:h.htmlEl;b instanceof HTMLIFrameElement&&((f=b.contentWindow)===null||f===void 0||f.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"))}(),function(){const f=r(),h=f==null?void 0:f.type;if(!(f!=null&&f.el)||h!=="youtube"&&h!=="vimeo")return;const y=()=>{if(f.contentEl&&f.contentEl instanceof HTMLIFrameElement&&f.contentEl.contentWindow){let b;if(f.contentEl.dataset.ready==="true")return b=f.type==="youtube"?{event:"command",func:"playVideo"}:{method:"play",value:"true"},b&&f.contentEl.contentWindow.postMessage(JSON.stringify(b),"*"),void(f.poller=void 0);f.type==="youtube"&&(b={event:"listening",id:f.contentEl.getAttribute("id")},f.contentEl.contentWindow.postMessage(JSON.stringify(b),"*"))}f.poller=setTimeout(y,250)};y()}())}function u(c){const f=c==null?void 0:c.htmlEl;if(c&&f&&(c.type==="html5video"||c.type==="youtube"||c.type==="vimeo")){if(f.style.aspectRatio="",f.style.width="",f.style.height="",f.style.maxWidth="",f.style.maxHeight="",c.width){let h=`${c.width}`;h.match(/^\d+$/)&&(h+="px"),f.style.maxWidth=`${h}`}if(c.height){let h=`${c.height}`;h.match(/^\d+$/)&&(h+="px"),f.style.maxHeight=`${h}`}if(c.aspectRatio){const h=c.aspectRatio.split("/"),y=parseFloat(h[0].trim()),b=h[1]?parseFloat(h[1].trim()):0,x=y&&b?y/b:y;f.offsetHeight;const w=f.getBoundingClientRect(),k=x<(w.width||1)/(w.height||1);f.style.aspectRatio=`${c.aspectRatio}`,f.style.width=k?"auto":"",f.style.height=k?"":"auto"}}}function m(){u(r())}return{init:function(c){e=c,e.on("addSlide",i),e.on("attachSlideEl",l),e.on("detachSlideEl",s),e.on("ready",p),e.on("change",d),e.on("settle",p),e.on("refresh",m),window.addEventListener("message",o)},destroy:function(){e==null||e.off("addSlide",i),e==null||e.off("attachSlideEl",l),e==null||e.off("detachSlideEl",s),e==null||e.off("ready",p),e==null||e.off("change",d),e==null||e.off("settle",p),e==null||e.off("refresh",m),window.removeEventListener("message",o),e=void 0}}};/*! License details at fancyapps.com/license */const F1={autoStart:!1,btnTpl:'<button data-fullscreen-action="toggle" class="f-button" title="{{TOGGLE_FULLSCREEN}}"><svg><g><path d="M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},L1="in-fullscreen-mode",w7=()=>{let e;function a(m){const c=e==null?void 0:e.getOptions().Fullscreen;let f=(Et(c)?Object.assign(Object.assign({},F1),c):F1)[m];return f&&typeof f=="function"&&e?f(e):f}function n(){var m;(m=e==null?void 0:e.getPlugins().Toolbar)===null||m===void 0||m.add("fullscreen",{tpl:a("btnTpl")})}function r(){if(a("autoStart")){const m=l();m&&d(m)}}function o(m,c){const f=c.target;f&&!c.defaultPrevented&&f.dataset.fullscreenAction==="toggle"&&u()}function i(m){l()&&m.key==="Escape"&&!m.defaultPrevented&&u()}function l(){return a("el")||(e==null?void 0:e.getContainer())||void 0}function s(){const m=document;return m.fullscreenEnabled?!!m.fullscreenElement:!!m.webkitFullscreenEnabled&&!!m.webkitFullscreenElement}function d(m){const c=document;let f;return m||(m=c.documentElement),c.fullscreenEnabled?f=m.requestFullscreen():c.webkitFullscreenEnabled&&(f=m.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)),f&&f.then(()=>{m.classList.add(L1)}),f}function p(){const m=document;let c;return m.fullscreenEnabled?c=m.fullscreenElement&&m.exitFullscreen():m.webkitFullscreenEnabled&&(c=m.webkitFullscreenElement&&m.webkitExitFullscreen()),c&&c.then(()=>{var f;(f=l())===null||f===void 0||f.classList.remove(L1)}),c}function u(){const m=l();m&&(s()?p():d(m))}return{init:function(m){e=m,e.on("initPlugins",n),e.on("ready",r),e.on("click",o)},destroy:function(){e==null||e.off("initPlugins",n),e==null||e.off("ready",r),e==null||e.off("click",o),document.removeEventListener("keydown",i,!0)},exit:p,inFullscreen:s,request:d,toggle:u}};/*! License details at fancyapps.com/license */let Xt,ir=!1,$1=!1,bn=!1,Ao=!1;const lr=()=>{const e=new URL(document.URL).hash,a=e.slice(1).split("-"),n=a[a.length-1],r=n&&/^\+?\d+$/.test(n)&&parseInt(a.pop()||"1",10)||1;return{hash:e,slug:a.join("-"),index:r}},Vo=()=>{if(!Xt||Xt.getInstance())return;const{slug:e,index:a}=lr();if(!e)return;let n=document.querySelector(`[data-slug="${e}"]`);if(n&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),!Xt||Xt.getInstance())return;const r=document.querySelectorAll(`[data-fancybox="${e}"]`);r.length&&(n=r[a-1],n&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})))},v7=()=>{var e,a,n;if(!Xt||bn)return;const r=Xt==null?void 0:Xt.getInstance();if((r==null?void 0:r.getOptions().Hash)===!1)return;const{slug:o,index:i}=lr(),l=((e=r==null?void 0:r.getSlide())===null||e===void 0?void 0:e.fancybox)||((a=r==null?void 0:r.getSlide())===null||a===void 0?void 0:a.slug)||void 0;r&&l&&(o===l?(n=r.getCarousel())===null||n===void 0||n.goTo(i-1):(Ao=!0,r.close(),Ao=!1)),Vo()},H1=()=>{Xt&&setTimeout(()=>{ir=!0,Vo(),ir=!1,window.addEventListener("hashchange",v7,!1)},300)},No=()=>{let e,a="auto",n="";function r(){if(!e||!e.isTopMost()||e.getOptions().Hash===!1)return;const l=e.getCarousel();if(!l)return;const{hash:s,slug:d}=lr(),p=e.getSlide();if(!p)return;let u=p.fancybox||"",m=parseInt(p.index+"",10)+1;if(!u)return;let c=`#${u}-${m}`;if(s!==c&&(n=s),history.scrollRestoration&&(a=history.scrollRestoration,history.scrollRestoration="manual"),l.on("change",o),!ir)if(u===d)try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+c)}catch{}else try{window.history.pushState({},document.title,window.location.pathname+window.location.search+c),$1=!0}catch{}}function o(){if(!e||!e.isTopMost()||e.getOptions().Hash===!1)return;const{slug:l}=lr(),s=e.getSlide();if(!s)return;let d=s.fancybox||"",p=`#${d}-${s.index+1}`;if(d===l){bn=!0;try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+p)}catch{}bn=!1}}function i(){if(Ao||!e||!e.isTopMost()||e.getOptions().Hash===!1)return;const l=e.getSlide();if(l&&l.fancybox){bn=!0;try{!$1||ir||function(){if(window.parent===window)return!1;try{var s=window.frameElement}catch{s=null}return s===null?location.protocol==="data:":s.hasAttribute("sandbox")}()?window.history.replaceState({},document.title,window.location.pathname+window.location.search+n):window.history.back()}catch{}bn=!1}}return{init:function(l){e=l,e.on("ready",r),e.on("close",i)},destroy:function(){e==null||e.off("ready",r),e==null||e.off("close",i);const l=e==null?void 0:e.getCarousel();l&&l.off("change",o),e=void 0,history.scrollRestoration&&a&&(history.scrollRestoration=a)}}};No.startFromUrl=Vo,No.setup=function(e){Xt||(Xt=e,x1()&&(/complete|interactive|loaded/.test(document.readyState)?H1():document.addEventListener("DOMContentLoaded",H1)))};/*! License details at fancyapps.com/license */const E7=Object.assign(Object.assign({},So),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ELEMENT_NOT_FOUND:"HTML Element Not Found",IFRAME_ERROR:"Error Loading Page"});/*! License details at fancyapps.com/license */const R1='<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg><path d="M19.286 4.714 4.714 19.286M4.714 4.714l14.572 14.572" /></svg></button>';D1().add("close",{tpl:R1});const z1=e=>{e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))},I1=(e=null,a="",n)=>{if(!e||!e.parentElement||!a)return void(n&&n());z1(e);const r=o=>{o.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",r),delete e.dataset.animationName,n&&n(),e.classList.remove(a))};e.dataset.animationName=a,e.addEventListener("animationend",r),ze(e,a)};var dt;(function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Closing=2]="Closing",e[e.Destroyed=3]="Destroyed"})(dt||(dt={}));const wn={ajax:null,backdropClick:"close",Carousel:{},closeButton:"auto",closeExisting:!1,delegateEl:void 0,dragToClose:!0,fadeEffect:!0,groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,id:void 0,idle:!1,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:E7,mainClass:"",mainStyle:{},mainTpl:`<dialog class="fancybox__dialog">
11
11
  <div class="fancybox__container" tabindex="0" aria-label="{{MODAL}}">
12
12
  <div class="fancybox__backdrop"></div>
13
13
  <div class="fancybox__carousel"></div>
14
14
  </div>
15
- </dialog>`,on:{},parentEl:void 0,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,sync:void 0,theme:"dark",triggerEl:void 0,triggerEvent:void 0,zoomEffect:!0},ea=new Map;let C7=0;const G1="with-fancybox",S7=()=>{let e,a,n,r,o,i=dt.Init,l=Object.assign({},wn),s=-1,d={},p=[],u=!1,m=!0;function c(U,...ue){let $=l[U];return $&&typeof $=="function"?$(ye,...ue):$}function f(U,ue=[]){const $=c("l10n")||{};U=String(U).replace(/\{\{(\w+)\}\}/g,(v,g)=>$[g]||v);for(let v=0;v<ue.length;v++)U=U.split(ue[v][0]).join(ue[v][1]);return U=U.replace(/\{\{(.*?)\}\}/g,(v,g)=>g)}const h=new Map;function y(U,...ue){const $=h.get(U)||[];for(const[v,g]of Object.entries(l.on||{}))(v===U||v.split(" ").indexOf(U)>-1)&&$.push(g);for(const v of $)v&&typeof v=="function"&&v(ye,...ue);U!=="*"&&y("*",U,...ue)}function b(U=[],ue={}){i!==dt.Init&&(ye.destroy(),i=dt.Init),l=Tt({},wn,ue),s=c("id")||"fancybox-"+ ++C7;const $=ea.get(s);if($&&$.destroy(),ea.set(s,ye),y("init"),function(){for(const[v,g]of Object.entries(Object.assign(Object.assign({},Ye.Plugins),l.plugins||{})))if(v&&!d[v]&&g instanceof Function){const D=g();D.init(ye),d[v]=D}y("initPlugins")}(),function(v=[]){y("initSlides",v),p=[...v]}(U),function(){const v=c("parentEl")||document.body;if(!(v&&v instanceof HTMLElement))return;const g=f(c("mainTpl")||"");if(e=fa(g)||void 0,!(e&&e instanceof HTMLDialogElement)||(a=e.querySelector(".fancybox__container"),!(a&&a instanceof HTMLElement)))return;const D=c("mainClass");D&&ze(a,D);const F=c("mainStyle");if(F&&Et(F))for(const[R,te]of Object.entries(F))a.style.setProperty(R,te);const O=c("theme"),K=O==="auto"?window.matchMedia("(prefers-color-scheme:light)").matches:O==="light";a.setAttribute("theme",K?"light":"dark"),e.setAttribute("id",`${s}`),e.addEventListener("keydown",R=>{R.key==="Escape"&&R.preventDefault()}),e.addEventListener("cancel",R=>{X(R)}),v.append(e),ea.size===1&&(c("hideScrollbar")&&k1(!0),document.documentElement.classList.add(G1)),e.showModal(),y("initLayout")}(),function(){if(n=(e==null?void 0:e.querySelector(".fancybox__carousel"))||void 0,!n)return;const v=Tt({Autoplay:{autoStart:!1,pauseOnHover:!1,progressbarParentEl:g=>{const D=g.getContainer();return(D==null?void 0:D.querySelector(".f-carousel__toolbar [data-autoplay-action]"))||D}},Fullscreen:{el:a},Toolbar:{absolute:!0,display:{left:["counter"],right:["toggleFull","autoplay","fullscreen","thumbs","close"]}},Video:{autoplay:!0},Zoomable:{Panzoom:{event:c("triggerEvent")}},classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",slide:"fancybox__slide"},spinnerTpl:'<div class="f-spinner" data-fancybox-close></div>',dragFree:!1,slidesPerPage:1,plugins:{Sync:v1,Arrows:g7,Lazyload:S1,Zoomable:p7,Html:x7,Video:b7,Autoplay:y7,Fullscreen:w7,Thumbs:k7,Toolbar:_1}},c("Carousel")||{},{slides:p,enabled:!0,initialPage:c("startIndex")||0,l10n:c("l10n")});r=rr(n,v),y("initCarousel",r),r.on("*",(g,D,...F)=>{y(`Carousel.${D}`,g,...F)}),r==null||r.on("addSlide",V),r.on("attachSlideEl",M),r.on("detachSlideEl",E),r.on("contentReady",J),r.on("ready",L),r.on("change",A),r.on("settle",H),r.init()}(),e&&a){if(c("closeExisting"))for(const[v,g]of ea.entries())v!==s&&g.close();c("fadeEffect")?(setTimeout(()=>{x()},500),ze(a,"is-revealing")):x(),a.classList.add("is-ready"),i=dt.Ready,y("ready")}}function x(){Jt(a,"is-revealing");try{document.activeElement===e&&((a==null?void 0:a.querySelector("[autofocus]"))||a).focus()}catch{}}function w(U){if(!j())return;if(i!==dt.Ready)return U.preventDefault(),void U.stopPropagation();if(U.defaultPrevented||!xn.isClickAllowed())return;const ue=U.composedPath()[0];ue.closest(".fancybox__carousel")&&ue.classList.contains("fancybox__slide")&&k(U)}function k(U){if(U.composedPath()[0].closest("[data-fancybox-close]"))return void X(U);y("backdropClick",U),!U.defaultPrevented&&c("backdropClick")&&X(U)}function B(U){if(!j()||i!==dt.Ready||(Z(),U.defaultPrevented))return;const ue=U.composedPath()[0],$=!!ue.closest("[data-fancybox-close]"),v=ue.classList.contains("fancybox__backdrop");($||v)&&k(U)}function V(U,ue){var $;($=ue.el)===null||$===void 0||$.addEventListener("click",w)}function M(U,ue){N(ue),ue.type!=="inline"&&ue.type!=="clone"||function($){if(!r||!$||!$.el)return;let v=null;if(ft($.src)){const g=$.src.split("#",2).pop();v=g?document.getElementById(g):null}if(v){if(ze(v,"f-html"),$.type==="clone"||v.closest(".fancybox__carousel")){v=v.cloneNode(!0);const g=v.dataset.animationName;g&&(v.classList.remove(g),delete v.dataset.animationName);let D=v.getAttribute("id");D=D?`${D}--clone`:`clone-${s}-${$.index}`,v.setAttribute("id",D)}else if(v.parentNode){const g=document.createElement("div");g.inert=!0,v.parentNode.insertBefore(g,v),$.placeholderEl=g}$.htmlEl=v,ze($.el,"has-html"),$.el.prepend(v),v.classList.remove("hidden"),v.style.display==="none"&&(v.style.display=""),getComputedStyle(v).getPropertyValue("display")==="none"&&(v.style.display=v.dataset.display||"flex"),r==null||r.emit("contentReady",$)}else r==null||r.showError($,"{{ELEMENT_NOT_FOUND}}")}(ue),ue.type==="ajax"&&function($){const v=$.el;if(!v||$.htmlEl||$.xhr)return;r==null||r.showLoading($),$.state=0;const g=new XMLHttpRequest;g.onreadystatechange=function(){if(g.readyState===XMLHttpRequest.DONE&&i===dt.Ready)if(r==null||r.hideLoading($),$.state=1,g.status===200){let F=g.responseText+"",O=null,K=null;if($.filter){const R=document.createElement("div");R.innerHTML=F,K=R.querySelector($.filter+"")}K&&K instanceof HTMLElement?O=K:(O=document.createElement("div"),O.innerHTML=F),O.classList.add("f-html"),$.htmlEl=O,v.classList.add("has-html"),v.classList.add("has-ajax"),v.prepend(O),r==null||r.emit("contentReady",$)}else r==null||r.showError($)};const D=c("ajax")||null;g.open(D?"POST":"GET",$.src+""),g.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),g.setRequestHeader("X-Requested-With","XMLHttpRequest"),g.send(D),$.xhr=g}(ue)}function E(U,ue){(function($){$.closeButtonEl&&($.closeButtonEl.remove(),$.closeButtonEl=void 0)})(ue),ue.type!=="inline"&&ue.type!=="clone"||function($){const v=$.htmlEl,g=$.placeholderEl;v&&(getComputedStyle(v).getPropertyValue("display")!=="none"&&(v.style.display="none"),v.offsetHeight),g&&(v&&g.parentNode&&g.parentNode.insertBefore(v,g),g.remove()),$.htmlEl=void 0,$.placeholderEl=void 0}(ue),ue.xhr&&(ue.xhr.abort(),ue.xhr=void 0)}function N(U){var ue;const{el:$,htmlEl:v,closeButtonEl:g}=U;if(!$||!v||g)return;let D=c("closeButton");if(D==="auto"&&(D=((ue=r==null?void 0:r.getPlugins().Toolbar)===null||ue===void 0?void 0:ue.isEnabled())!==!0),D){const F=fa(f(R1));F&&(U.closeButtonEl=v.insertAdjacentElement("afterbegin",F),$.classList.add("has-close-btn"))}}function A(){m=!1,a&&r&&a.classList.remove("is-revealing");const U=c("sync");if(r&&U){const ue=U.getPageIndex(r.getPageIndex())||0;U.goTo(ue,{transition:!1})}}function L(){var U;if(i!==dt.Ready)return;Q(Y()),function(){if(!c("dragToClose")||!r||!r.getViewport())return;const $=r.getGestures();if(!$)return;let v=0,g=0,D=pa().on("step",F=>{v=F.y;const O=r==null?void 0:r.getViewport();if(a&&O){const K=Co(Math.abs(v),0,.5*O.getBoundingClientRect().height,1,.5);a.style.setProperty("--f-drag-opacity",K+""),a.style.setProperty("--f-drag-offset",v+"px")}}).on("end",()=>{if(!v){a&&a.style.removeProperty("--f-opacity");const F=r==null?void 0:r.getViewport();F&&(F.style.transform="")}});$.on("start",function(){D.pause()}).on("panstart",F=>{var O;const K=F.srcEvent.target;K&&!yn(K)&&((O=r==null?void 0:r.getViewport())===null||O===void 0||O.classList.add("is-dragging"))}).on("pan",function(F){const O=F.srcEvent.target;O&&yn(O)||r!=null&&r.getViewport()&&F.axis==="y"&&(g+=F.deltaY,D.spring({clamp:!0,mass:1,tension:860,friction:17,restDelta:.01,restSpeed:.01}).from({y:v}).to({y:g}).start())}).on("end",function(F){D.pause(),F.axis==="y"&&Math.abs(F.velocityY)>5&&Math.abs(g)>0?X(F.srcEvent,"f-throwOut"+(F.velocityY>0?"Down":"Up")):g!==0&&(g=0,D.spring({clamp:!0,mass:1,tension:140,friction:25,restDelta:.1,restSpeed:.1,maxSpeed:1/0}).from({y:v}).to({y:g}).start())})}(),document.body.addEventListener("click",B),document.body.addEventListener("keydown",G,{passive:!1,capture:!0}),ie();const ue=c("sync");ue&&((U=ue.getTween())===null||U===void 0||U.start())}function H(){r!=null&&r.canGoNext()?ie():C()}function Q(U){if(!(m&&r&&r.getState()===1&&U&&U.index===r.getOptions().initialPage&&U.el&&U.el.parentElement)||U.state!==void 0&&U.state!==1)return;m=!1;const ue=U.panzoomRef,$=ue==null?void 0:ue.getTween(),v=c("zoomEffect")?W(U):void 0;if(ue&&$&&v){const D=ue.getScale("base")||1,{x:F,y:O}=ue.getMousemovePos(D)||{x:0,y:0};return void $.spring({tension:225,friction:25,restDelta:.001,restSpeed:.001,maxSpeed:1/0}).from(v).to({x:F,y:O,scale:D}).start()}const g=(ue==null?void 0:ue.getWrapper())||U.htmlEl;g&&I1(g,c("showClass",U))}function J(U,ue){N(ue),Q(ue)}function S(){Z()}function G(U){if(!j()||i!==dt.Ready)return;const ue=U.key,$=c("keyboard");if(!$||U.ctrlKey||U.altKey||U.shiftKey)return;const v=U.composedPath()[0];if(!Ua(v)||ue!=="Escape"&&(D=>{const F=["input","textarea","select","option","video","iframe","[contenteditable]","[data-selectable]","[data-draggable]"].join(",");return D.matches(F)||D.closest(F)})(v)||(y("keydown",U),U.defaultPrevented))return;const g=$[ue];if(g)switch(g){case"close":X(U);break;case"next":U.preventDefault(),r==null||r.next();break;case"prev":U.preventDefault(),r==null||r.prev()}}function j(){var U;return((U=Ye.getInstance())===null||U===void 0?void 0:U.getId())===s}function Y(){var U;return(U=r==null?void 0:r.getPage())===null||U===void 0?void 0:U.slides[0]}function me(){const U=Y();return U?U.triggerEl||c("triggerEl"):void 0}function W(U){var ue,$;const v=($=(ue=U.panzoomRef)===null||ue===void 0?void 0:ue.getWrapper())===null||$===void 0?void 0:$.getBoundingClientRect(),g=v==null?void 0:v.width,D=v==null?void 0:v.height;if(!g||!D)return;const F=U.thumbEl;if(!F)return;const O=F.getBoundingClientRect();let K=O.width,R=O.height,te=O.left,ce=O.top;if(!(!O||!K||!R)&&(ge=>{const xe=ge.getBoundingClientRect(),de=ge.closest("[style]"),Me=de==null?void 0:de.parentElement;if(de&&de.style.transform&&Me){const Se=Me.getBoundingClientRect();if(xe.left<Se.left||xe.left>Se.left+Se.width-xe.width||xe.top<Se.top||xe.top>Se.top+Se.height-xe.height)return!1}const Ne=Math.max(document.documentElement.clientHeight,window.innerHeight),_e=Math.max(document.documentElement.clientWidth,window.innerWidth);return!(xe.bottom<0||xe.top-Ne>=0||xe.right<0||xe.left-_e>=0)})(F)){if(F instanceof HTMLImageElement){const ge=window.getComputedStyle(F).getPropertyValue("object-fit");if(ge==="contain"||ge==="scale-down"){const{width:xe,height:de}=((Me,Ne,_e,Se,Le="contain")=>{if(Le==="contain"||Me>_e||Ne>Se){const Be=_e/Me,q=Se/Ne,ae=Math.min(Be,q);Me*=ae,Ne*=ae}return{width:Me,height:Ne}})(F.naturalWidth,F.naturalHeight,K,R,ge);te+=.5*(K-xe),ce+=.5*(R-de),K=xe,R=de}}if(!(Math.abs(g/D-K/R)>.1))return{x:te+.5*K-(v.left+.5*g),y:ce+.5*R-(v.top+.5*D),scale:K/g}}}function _(){o&&clearTimeout(o),o=void 0,document.removeEventListener("mousemove",S)}function ie(){if(u||o)return;const U=c("idle");U&&(o=setTimeout(ne,U))}function ne(){a&&(_(),ze(a,"is-idle"),document.addEventListener("mousemove",S),u=!0)}function Z(){u&&(C(),ie())}function C(){_(),a==null||a.classList.remove("is-idle"),u=!1}function X(U,ue){var $,v,g,D,F,O;if(i===dt.Closing||i===dt.Destroyed)return;if(i=dt.Closing,_(),U){if(U.defaultPrevented)return;U.cancelable&&U.preventDefault(),U.stopPropagation(),U.stopImmediatePropagation()}if(r){($=r.getGestures())===null||$===void 0||$.destroy(),(v=r.getTween())===null||v===void 0||v.pause();const R=Y(),te=R==null?void 0:R.panzoomRef;R&&te&&Tt(te.getOptions(),{clickAction:!1,wheelAction:!1,bounds:!1,minScale:0,maxScale:1/0});for(const ce of r.getSlides())(D=(g=ce.panzoomRef)===null||g===void 0?void 0:g.getGestures())===null||D===void 0||D.destroy(),(O=(F=ce.panzoomRef)===null||F===void 0?void 0:F.getTween())===null||O===void 0||O.pause()}const K=r==null?void 0:r.getPlugins().fullscreen;K&&K.inFullscreen()?Promise.resolve(K.exit()).then(()=>{setTimeout(()=>{fe(U,ue)},150)}):fe(U,ue)}function fe(U,ue){var $,v,g,D,F;if(i!==dt.Closing)return;if(y("close",U),c("placeFocusBack")){const de=me();!de||(F=de.getBoundingClientRect()).bottom>0&&F.right>0&&F.left<(window.innerWidth||document.documentElement.clientWidth)&&F.top<(window.innerHeight||document.documentElement.clientHeight)||de.scrollIntoView({behavior:"instant",block:"center",inline:"center"})}c("fadeEffect")&&(a==null||a.classList.remove("is-ready"),a==null||a.classList.add("is-hiding")),a==null||a.classList.add("is-closing");const O=Y(),K=O==null?void 0:O.panzoomRef,R=($=O==null?void 0:O.panzoomRef)===null||$===void 0?void 0:$.getTween(),te=ue||c("hideClass");let ce=!1,ge=!1;if(r&&O&&K&&R){let de;c("zoomEffect")&&(((g=(v=r.getTween())===null||v===void 0?void 0:v.getCurrentVelocities())===null||g===void 0?void 0:g.pos)||0)<700&&O.state===1&&(de=W(O)),de&&(ce=!0,r.on("refresh",()=>{const Me=W(O);Me&&R.to(Object.assign(Object.assign({},Dt),Me))}),R.easing(pa.Easings.EaseOut).duration(350).from(Object.assign({},K.getTransform())).to(Object.assign(Object.assign({},Dt),de)).start())}const xe=(O==null?void 0:O.htmlEl)||((D=O==null?void 0:O.panzoomRef)===null||D===void 0?void 0:D.getWrapper());xe&&z1(xe),!ce&&te&&xe&&(ge=!0,I1(xe,te,()=>{z()})),ce||ge?setTimeout(()=>{z()},350):z()}function z(){var U,ue,$,v,g;if(i===dt.Destroyed)return;i=dt.Destroyed,document.body.removeEventListener("click",B),document.body.removeEventListener("keydown",G,{passive:!1,capture:!0});const D=me();y("destroy"),(ue=(U=c("sync"))===null||U===void 0?void 0:U.getPlugins().Autoplay)===null||ue===void 0||ue.resume(),(v=($=c("sync"))===null||$===void 0?void 0:$.getPlugins().Autoscroll)===null||v===void 0||v.resume(),e instanceof HTMLDialogElement&&e.close(),(g=r==null?void 0:r.getContainer())===null||g===void 0||g.classList.remove("is-idle"),r==null||r.destroy();for(const F of Object.values(d))F==null||F.destroy();if(d={},e==null||e.remove(),e=void 0,a=void 0,r=void 0,ea.delete(s),!ea.size&&(k1(!1),document.documentElement.classList.remove(G1),c("placeFocusBack")))try{D==null||D.focus({preventScroll:!0})}catch{}}const ye={close:X,destroy:z,getCarousel:function(){return r},getContainer:function(){return a},getId:function(){return s},getOptions:function(){return l},getPlugins:function(){return d},getSlide:function(){return Y()},getState:function(){return i},init:function(U=[],ue={}){return b(U,ue),ye},isCurrentSlide:function(U){const ue=Y();return!(!U||!ue)&&ue.index===U.index},isTopMost:function(){return j()},off:function(U,ue){return h.has(U)&&h.set(U,h.get(U).filter($=>$!==ue)),ye},on:function(U,ue){return h.set(U,[...h.get(U)||[],ue]),ye},toggleIdle(U){(u||U===!0)&&ne(),u&&U!==!1||C()}};return ye},Ye={Plugins:{Hash:No},version:"6.0.16",openers:new Map,bind:function(e,a,n){if(!x1())return;let r=document.body,o="[data-fancybox]",i={};if(ft(e)?(r=document.body,o=e,typeof a=="object"&&(i=a||{})):e instanceof Element&&(r=e,ft(a)&&(o=a),typeof n=="object"&&(i=n||{})),!(r&&r instanceof Element&&o))return!1;const l=Ye.openers.get(r)||new Map;if(l.set(o,i),Ye.openers.set(r,l),l.size===1){r.addEventListener("click",Ye.fromEvent);for(const s of Object.values(Ye.Plugins)){const d=s.setup;typeof d=="function"&&d(Ye)}}return!0},close:function(e=!0,...a){if(e)for(const n of ea.values())n.close(...a);else{const n=Ye.getInstance();n&&n.close(...a)}},destroy:function(){let e;for(;e=Ye.getInstance();)e.destroy();for(const a of Ye.openers.keys())a.removeEventListener("click",Ye.fromEvent);Ye.openers.clear()},fromEvent:function(e){var a,n,r;if(e.defaultPrevented||e.button&&e.button!==0||e.ctrlKey||e.metaKey||e.shiftKey)return;let o=e.composedPath()[0];if(o.closest(".fancybox__container.is-hiding"))return e.preventDefault(),void e.stopPropagation();const i=o.closest("[data-fancybox-delegate]")||void 0;if(i){const b=i.dataset.fancyboxDelegate||"",x=document.querySelectorAll(`[data-fancybox="${b}"]`);o=x[parseInt(i.dataset.fancyboxIndex||"",10)||0]||x[0]}if(!(o&&o instanceof Element))return;let l,s,d;for(const b of Array.from(Ye.openers.keys()).reverse()){const x=Ye.openers.get(b);if(x&&b.contains(o))for(const w of Array.from(x.keys()).reverse()){let k=null;try{k=o.closest(w)}catch{}if(k){o=k,l=b,s=w,d=x.get(w);break}}}if(!(l&&s&&d))return;e.preventDefault();const p=Tt({},wn,{triggerEvent:e,triggerEl:o,delegateEl:i},d),u=p.groupAll,m=p.groupAttr,c=m&&o?o.getAttribute(`${m}`):"";let f=[];const h=(a=o.closest(".f-carousel"))===null||a===void 0?void 0:a.carousel;if(h){const b=[];for(const x of h==null?void 0:h.getSlides()){const w=x.el;w&&(w.matches(s)?b.push(w):b.push(...[].slice.call(w.querySelectorAll(s))))}b.length&&(f=[...b],(n=h.getPlugins().Autoplay)===null||n===void 0||n.pause(),(r=h.getPlugins().Autoscroll)===null||r===void 0||r.pause(),p.sync=h)}else(!o||c||u)&&(f=[].slice.call(l.querySelectorAll(s)));if(o&&!u&&(f=c?f.filter(b=>b.getAttribute(`${m}`)===c):[o]),!f.length)return;const y=Ye.getInstance();if(y){const b=y.getOptions().triggerEl;if(b&&f.indexOf(b)>-1)return}return Object.assign({},p.Carousel||{}).rtl&&(f=f.reverse()),o&&(p.startIndex=f.indexOf(o)),Ye.fromNodes(f,p)},fromNodes:function(e,a){a=Tt({},wn,a||{});const n=[],r=o=>o instanceof HTMLImageElement?o:o instanceof HTMLElement?o.querySelector("img:not([aria-hidden])"):void 0;for(const o of e){const i=o.dataset||{},l=a.delegateEl&&e.indexOf(o)===a.startIndex?a.delegateEl:void 0,s=r(l)||r(o)||void 0,d=i.src||o.getAttribute("href")||o.getAttribute("currentSrc")||o.getAttribute("src")||void 0,p=i.thumb||i.thumbSrc||(s==null?void 0:s.getAttribute("currentSrc"))||(s==null?void 0:s.getAttribute("src"))||(s==null?void 0:s.dataset.lazySrc)||void 0,u={src:d,alt:i.alt||(s==null?void 0:s.getAttribute("alt"))||void 0,thumbSrc:p,thumbEl:s,triggerEl:o,delegateEl:l};for(const m in i){let c=i[m]+"";c=c!=="false"&&(c==="true"||c),u[m]=c}n.push(u)}return Ye.show(n,a)},fromSelector:function(e,a,n){let r=document.body,o="",i={};if(ft(e)?o=e:e instanceof Element&&(r=e,ft(a)&&(o=a),typeof n=="object"&&(i=n||{})),!(r&&r instanceof Element&&o))return;const l=Ye.openers.get(r);return l?(i=Tt({},l.get(o)||{},i),i?Ye.fromNodes(Array.from(r.querySelectorAll(o)),i):void 0):void 0},getCarousel:function(){var e;return((e=Ye.getInstance())===null||e===void 0?void 0:e.getCarousel())||void 0},getDefaults:function(){return wn},getInstance:function(e){if(e){const a=ea.get(e);return a&&a.getState()!==dt.Destroyed?a:void 0}return Array.from(ea.values()).reverse().find(a=>{if(a.getState()!==dt.Destroyed)return a})||void 0},getSlide:function(){var e;return((e=Ye.getInstance())===null||e===void 0?void 0:e.getSlide())||void 0},show:function(e=[],a={}){return S7().init(e,a)},unbind:function(e,a){let n=document.body,r="";if(ft(e)?r=e:e instanceof Element&&(n=e,ft(a)&&(r=a)),n){const o=Ye.openers.get(n);o&&r&&o.delete(r),o!=null&&o.size&&r||Ye.openers.delete(n),n.removeEventListener("click",Ye.fromEvent)}}};function pt(e,a,n,r){return new(n||(n=Promise))(function(o,i){function l(p){try{d(r.next(p))}catch(u){i(u)}}function s(p){try{d(r.throw(p))}catch(u){i(u)}}function d(p){var u;p.done?o(p.value):(u=p.value,u instanceof n?u:new n(function(m){m(u)})).then(l,s)}d((r=r.apply(e,a||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;class vn{constructor(){this.listeners={}}on(a,n,r){if(this.listeners[a]||(this.listeners[a]=new Set),this.listeners[a].add(n),r==null?void 0:r.once){const o=()=>{this.un(a,o),this.un(a,n)};return this.on(a,o),o}return()=>this.un(a,n)}un(a,n){var r;(r=this.listeners[a])===null||r===void 0||r.delete(n)}once(a,n){return this.on(a,n,{once:!0})}unAll(){this.listeners={}}emit(a,...n){this.listeners[a]&&this.listeners[a].forEach(r=>r(...n))}}const sr={decode:function(e,a){return pt(this,void 0,void 0,function*(){const n=new AudioContext({sampleRate:a});return n.decodeAudioData(e).finally(()=>n.close())})},createBuffer:function(e,a){return typeof e[0]=="number"&&(e=[e]),function(n){const r=n[0];if(r.some(o=>o>1||o<-1)){const o=r.length;let i=0;for(let l=0;l<o;l++){const s=Math.abs(r[l]);s>i&&(i=s)}for(const l of n)for(let s=0;s<o;s++)l[s]/=i}}(e),{duration:a,length:e[0].length,sampleRate:e[0].length/a,numberOfChannels:e.length,getChannelData:n=>e==null?void 0:e[n],copyFromChannel:AudioBuffer.prototype.copyFromChannel,copyToChannel:AudioBuffer.prototype.copyToChannel}}};function j1(e,a){const n=a.xmlns?document.createElementNS(a.xmlns,e):document.createElement(e);for(const[r,o]of Object.entries(a))if(r==="children"&&o)for(const[i,l]of Object.entries(o))l instanceof Node?n.appendChild(l):typeof l=="string"?n.appendChild(document.createTextNode(l)):n.appendChild(j1(i,l));else r==="style"?Object.assign(n.style,o):r==="textContent"?n.textContent=o:n.setAttribute(r,o.toString());return n}function q1(e,a,n){const r=j1(e,a||{});return n==null||n.appendChild(r),r}var M7=Object.freeze({__proto__:null,createElement:q1,default:q1});const B7={fetchBlob:function(e,a,n){return pt(this,void 0,void 0,function*(){const r=yield fetch(e,n);if(r.status>=400)throw new Error(`Failed to fetch ${e}: ${r.status} (${r.statusText})`);return function(o,i){pt(this,void 0,void 0,function*(){if(!o.body||!o.headers)return;const l=o.body.getReader(),s=Number(o.headers.get("Content-Length"))||0;let d=0;const p=m=>pt(this,void 0,void 0,function*(){d+=(m==null?void 0:m.length)||0;const c=Math.round(d/s*100);i(c)}),u=()=>pt(this,void 0,void 0,function*(){let m;try{m=yield l.read()}catch{return}m.done||(p(m.value),yield u())});u()})}(r.clone(),a),r.blob()})}};class A7 extends vn{constructor(a){super(),this.isExternalMedia=!1,a.media?(this.media=a.media,this.isExternalMedia=!0):this.media=document.createElement("audio"),a.mediaControls&&(this.media.controls=!0),a.autoplay&&(this.media.autoplay=!0),a.playbackRate!=null&&this.onMediaEvent("canplay",()=>{a.playbackRate!=null&&(this.media.playbackRate=a.playbackRate)},{once:!0})}onMediaEvent(a,n,r){return this.media.addEventListener(a,n,r),()=>this.media.removeEventListener(a,n,r)}getSrc(){return this.media.currentSrc||this.media.src||""}revokeSrc(){const a=this.getSrc();a.startsWith("blob:")&&URL.revokeObjectURL(a)}canPlayType(a){return this.media.canPlayType(a)!==""}setSrc(a,n){const r=this.getSrc();if(a&&r===a)return;this.revokeSrc();const o=n instanceof Blob&&(this.canPlayType(n.type)||!a)?URL.createObjectURL(n):a;if(r&&this.media.removeAttribute("src"),o||a)try{this.media.src=o}catch{this.media.src=a}}destroy(){this.isExternalMedia||(this.media.pause(),this.media.remove(),this.revokeSrc(),this.media.removeAttribute("src"),this.media.load())}setMediaElement(a){this.media=a}play(){return pt(this,void 0,void 0,function*(){try{return yield this.media.play()}catch(a){if(a instanceof DOMException&&a.name==="AbortError")return;throw a}})}pause(){this.media.pause()}isPlaying(){return!this.media.paused&&!this.media.ended}setTime(a){this.media.currentTime=Math.max(0,Math.min(a,this.getDuration()))}getDuration(){return this.media.duration}getCurrentTime(){return this.media.currentTime}getVolume(){return this.media.volume}setVolume(a){this.media.volume=a}getMuted(){return this.media.muted}setMuted(a){this.media.muted=a}getPlaybackRate(){return this.media.playbackRate}isSeeking(){return this.media.seeking}setPlaybackRate(a,n){n!=null&&(this.media.preservesPitch=n),this.media.playbackRate=a}getMediaElement(){return this.media}setSinkId(a){return this.media.setSinkId(a)}}let _o=class $o extends vn{constructor(a,n){super(),this.timeouts=[],this.isScrollable=!1,this.audioData=null,this.resizeObserver=null,this.lastContainerWidth=0,this.isDragging=!1,this.subscriptions=[],this.unsubscribeOnScroll=[],this.subscriptions=[],this.options=a;const r=this.parentFromOptionsContainer(a.container);this.parent=r;const[o,i]=this.initHtml();r.appendChild(o),this.container=o,this.scrollContainer=i.querySelector(".scroll"),this.wrapper=i.querySelector(".wrapper"),this.canvasWrapper=i.querySelector(".canvases"),this.progressWrapper=i.querySelector(".progress"),this.cursor=i.querySelector(".cursor"),n&&i.appendChild(n),this.initEvents()}parentFromOptionsContainer(a){let n;if(typeof a=="string"?n=document.querySelector(a):a instanceof HTMLElement&&(n=a),!n)throw new Error("Container not found");return n}initEvents(){const a=n=>{const r=this.wrapper.getBoundingClientRect(),o=n.clientX-r.left,i=n.clientY-r.top;return[o/r.width,i/r.height]};if(this.wrapper.addEventListener("click",n=>{const[r,o]=a(n);this.emit("click",r,o)}),this.wrapper.addEventListener("dblclick",n=>{const[r,o]=a(n);this.emit("dblclick",r,o)}),this.options.dragToSeek!==!0&&typeof this.options.dragToSeek!="object"||this.initDrag(),this.scrollContainer.addEventListener("scroll",()=>{const{scrollLeft:n,scrollWidth:r,clientWidth:o}=this.scrollContainer,i=n/r,l=(n+o)/r;this.emit("scroll",i,l,n,n+o)}),typeof ResizeObserver=="function"){const n=this.createDelay(100);this.resizeObserver=new ResizeObserver(()=>{n().then(()=>this.onContainerResize()).catch(()=>{})}),this.resizeObserver.observe(this.scrollContainer)}}onContainerResize(){const a=this.parent.clientWidth;a===this.lastContainerWidth&&this.options.height!=="auto"||(this.lastContainerWidth=a,this.reRender())}initDrag(){this.subscriptions.push(function(a,n,r,o,i=3,l=0,s=100){if(!a)return()=>{};const d=matchMedia("(pointer: coarse)").matches;let p=()=>{};const u=m=>{if(m.button!==l)return;m.preventDefault(),m.stopPropagation();let c=m.clientX,f=m.clientY,h=!1;const y=Date.now(),b=V=>{if(V.preventDefault(),V.stopPropagation(),d&&Date.now()-y<s)return;const M=V.clientX,E=V.clientY,N=M-c,A=E-f;if(h||Math.abs(N)>i||Math.abs(A)>i){const L=a.getBoundingClientRect(),{left:H,top:Q}=L;h||(r==null||r(c-H,f-Q),h=!0),n(N,A,M-H,E-Q),c=M,f=E}},x=V=>{if(h){const M=V.clientX,E=V.clientY,N=a.getBoundingClientRect(),{left:A,top:L}=N;o==null||o(M-A,E-L)}p()},w=V=>{V.relatedTarget&&V.relatedTarget!==document.documentElement||x(V)},k=V=>{h&&(V.stopPropagation(),V.preventDefault())},B=V=>{h&&V.preventDefault()};document.addEventListener("pointermove",b),document.addEventListener("pointerup",x),document.addEventListener("pointerout",w),document.addEventListener("pointercancel",w),document.addEventListener("touchmove",B,{passive:!1}),document.addEventListener("click",k,{capture:!0}),p=()=>{document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",x),document.removeEventListener("pointerout",w),document.removeEventListener("pointercancel",w),document.removeEventListener("touchmove",B),setTimeout(()=>{document.removeEventListener("click",k,{capture:!0})},10)}};return a.addEventListener("pointerdown",u),()=>{p(),a.removeEventListener("pointerdown",u)}}(this.wrapper,(a,n,r)=>{this.emit("drag",Math.max(0,Math.min(1,r/this.wrapper.getBoundingClientRect().width)))},a=>{this.isDragging=!0,this.emit("dragstart",Math.max(0,Math.min(1,a/this.wrapper.getBoundingClientRect().width)))},a=>{this.isDragging=!1,this.emit("dragend",Math.max(0,Math.min(1,a/this.wrapper.getBoundingClientRect().width)))}))}getHeight(a,n){var r;const o=((r=this.audioData)===null||r===void 0?void 0:r.numberOfChannels)||1;if(a==null)return 128;if(!isNaN(Number(a)))return Number(a);if(a==="auto"){const i=this.parent.clientHeight||128;return n!=null&&n.every(l=>!l.overlay)?i/o:i}return 128}initHtml(){const a=document.createElement("div"),n=a.attachShadow({mode:"open"}),r=this.options.cspNonce&&typeof this.options.cspNonce=="string"?this.options.cspNonce.replace(/"/g,""):"";return n.innerHTML=`
15
+ </dialog>`,on:{},parentEl:void 0,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,sync:void 0,theme:"dark",triggerEl:void 0,triggerEvent:void 0,zoomEffect:!0},ea=new Map;let C7=0;const G1="with-fancybox",S7=()=>{let e,a,n,r,o,i=dt.Init,l=Object.assign({},wn),s=-1,d={},p=[],u=!1,m=!0;function c(Z,...me){let L=l[Z];return L&&typeof L=="function"?L(ye,...me):L}function f(Z,me=[]){const L=c("l10n")||{};Z=String(Z).replace(/\{\{(\w+)\}\}/g,(v,g)=>L[g]||v);for(let v=0;v<me.length;v++)Z=Z.split(me[v][0]).join(me[v][1]);return Z=Z.replace(/\{\{(.*?)\}\}/g,(v,g)=>g)}const h=new Map;function y(Z,...me){const L=h.get(Z)||[];for(const[v,g]of Object.entries(l.on||{}))(v===Z||v.split(" ").indexOf(Z)>-1)&&L.push(g);for(const v of L)v&&typeof v=="function"&&v(ye,...me);Z!=="*"&&y("*",Z,...me)}function b(Z=[],me={}){i!==dt.Init&&(ye.destroy(),i=dt.Init),l=Tt({},wn,me),s=c("id")||"fancybox-"+ ++C7;const L=ea.get(s);if(L&&L.destroy(),ea.set(s,ye),y("init"),function(){for(const[v,g]of Object.entries(Object.assign(Object.assign({},Ye.Plugins),l.plugins||{})))if(v&&!d[v]&&g instanceof Function){const _=g();_.init(ye),d[v]=_}y("initPlugins")}(),function(v=[]){y("initSlides",v),p=[...v]}(Z),function(){const v=c("parentEl")||document.body;if(!(v&&v instanceof HTMLElement))return;const g=f(c("mainTpl")||"");if(e=fa(g)||void 0,!(e&&e instanceof HTMLDialogElement)||(a=e.querySelector(".fancybox__container"),!(a&&a instanceof HTMLElement)))return;const _=c("mainClass");_&&ze(a,_);const F=c("mainStyle");if(F&&Et(F))for(const[$,te]of Object.entries(F))a.style.setProperty($,te);const O=c("theme"),J=O==="auto"?window.matchMedia("(prefers-color-scheme:light)").matches:O==="light";a.setAttribute("theme",J?"light":"dark"),e.setAttribute("id",`${s}`),e.addEventListener("keydown",$=>{$.key==="Escape"&&$.preventDefault()}),e.addEventListener("cancel",$=>{Q($)}),v.append(e),ea.size===1&&(c("hideScrollbar")&&k1(!0),document.documentElement.classList.add(G1)),e.showModal(),y("initLayout")}(),function(){if(n=(e==null?void 0:e.querySelector(".fancybox__carousel"))||void 0,!n)return;const v=Tt({Autoplay:{autoStart:!1,pauseOnHover:!1,progressbarParentEl:g=>{const _=g.getContainer();return(_==null?void 0:_.querySelector(".f-carousel__toolbar [data-autoplay-action]"))||_}},Fullscreen:{el:a},Toolbar:{absolute:!0,display:{left:["counter"],right:["toggleFull","autoplay","fullscreen","thumbs","close"]}},Video:{autoplay:!0},Zoomable:{Panzoom:{event:c("triggerEvent")}},classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",slide:"fancybox__slide"},spinnerTpl:'<div class="f-spinner" data-fancybox-close></div>',dragFree:!1,slidesPerPage:1,plugins:{Sync:v1,Arrows:g7,Lazyload:S1,Zoomable:p7,Html:x7,Video:b7,Autoplay:y7,Fullscreen:w7,Thumbs:k7,Toolbar:D1}},c("Carousel")||{},{slides:p,enabled:!0,initialPage:c("startIndex")||0,l10n:c("l10n")});r=rr(n,v),y("initCarousel",r),r.on("*",(g,_,...F)=>{y(`Carousel.${_}`,g,...F)}),r==null||r.on("addSlide",V),r.on("attachSlideEl",M),r.on("detachSlideEl",E),r.on("contentReady",Y),r.on("ready",q),r.on("change",A),r.on("settle",U),r.init()}(),e&&a){if(c("closeExisting"))for(const[v,g]of ea.entries())v!==s&&g.close();c("fadeEffect")?(setTimeout(()=>{x()},500),ze(a,"is-revealing")):x(),a.classList.add("is-ready"),i=dt.Ready,y("ready")}}function x(){Jt(a,"is-revealing");try{document.activeElement===e&&((a==null?void 0:a.querySelector("[autofocus]"))||a).focus()}catch{}}function w(Z){if(!z())return;if(i!==dt.Ready)return Z.preventDefault(),void Z.stopPropagation();if(Z.defaultPrevented||!xn.isClickAllowed())return;const me=Z.composedPath()[0];me.closest(".fancybox__carousel")&&me.classList.contains("fancybox__slide")&&k(Z)}function k(Z){if(Z.composedPath()[0].closest("[data-fancybox-close]"))return void Q(Z);y("backdropClick",Z),!Z.defaultPrevented&&c("backdropClick")&&Q(Z)}function B(Z){if(!z()||i!==dt.Ready||(K(),Z.defaultPrevented))return;const me=Z.composedPath()[0],L=!!me.closest("[data-fancybox-close]"),v=me.classList.contains("fancybox__backdrop");(L||v)&&k(Z)}function V(Z,me){var L;(L=me.el)===null||L===void 0||L.addEventListener("click",w)}function M(Z,me){N(me),me.type!=="inline"&&me.type!=="clone"||function(L){if(!r||!L||!L.el)return;let v=null;if(ft(L.src)){const g=L.src.split("#",2).pop();v=g?document.getElementById(g):null}if(v){if(ze(v,"f-html"),L.type==="clone"||v.closest(".fancybox__carousel")){v=v.cloneNode(!0);const g=v.dataset.animationName;g&&(v.classList.remove(g),delete v.dataset.animationName);let _=v.getAttribute("id");_=_?`${_}--clone`:`clone-${s}-${L.index}`,v.setAttribute("id",_)}else if(v.parentNode){const g=document.createElement("div");g.inert=!0,v.parentNode.insertBefore(g,v),L.placeholderEl=g}L.htmlEl=v,ze(L.el,"has-html"),L.el.prepend(v),v.classList.remove("hidden"),v.style.display==="none"&&(v.style.display=""),getComputedStyle(v).getPropertyValue("display")==="none"&&(v.style.display=v.dataset.display||"flex"),r==null||r.emit("contentReady",L)}else r==null||r.showError(L,"{{ELEMENT_NOT_FOUND}}")}(me),me.type==="ajax"&&function(L){const v=L.el;if(!v||L.htmlEl||L.xhr)return;r==null||r.showLoading(L),L.state=0;const g=new XMLHttpRequest;g.onreadystatechange=function(){if(g.readyState===XMLHttpRequest.DONE&&i===dt.Ready)if(r==null||r.hideLoading(L),L.state=1,g.status===200){let F=g.responseText+"",O=null,J=null;if(L.filter){const $=document.createElement("div");$.innerHTML=F,J=$.querySelector(L.filter+"")}J&&J instanceof HTMLElement?O=J:(O=document.createElement("div"),O.innerHTML=F),O.classList.add("f-html"),L.htmlEl=O,v.classList.add("has-html"),v.classList.add("has-ajax"),v.prepend(O),r==null||r.emit("contentReady",L)}else r==null||r.showError(L)};const _=c("ajax")||null;g.open(_?"POST":"GET",L.src+""),g.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),g.setRequestHeader("X-Requested-With","XMLHttpRequest"),g.send(_),L.xhr=g}(me)}function E(Z,me){(function(L){L.closeButtonEl&&(L.closeButtonEl.remove(),L.closeButtonEl=void 0)})(me),me.type!=="inline"&&me.type!=="clone"||function(L){const v=L.htmlEl,g=L.placeholderEl;v&&(getComputedStyle(v).getPropertyValue("display")!=="none"&&(v.style.display="none"),v.offsetHeight),g&&(v&&g.parentNode&&g.parentNode.insertBefore(v,g),g.remove()),L.htmlEl=void 0,L.placeholderEl=void 0}(me),me.xhr&&(me.xhr.abort(),me.xhr=void 0)}function N(Z){var me;const{el:L,htmlEl:v,closeButtonEl:g}=Z;if(!L||!v||g)return;let _=c("closeButton");if(_==="auto"&&(_=((me=r==null?void 0:r.getPlugins().Toolbar)===null||me===void 0?void 0:me.isEnabled())!==!0),_){const F=fa(f(R1));F&&(Z.closeButtonEl=v.insertAdjacentElement("afterbegin",F),L.classList.add("has-close-btn"))}}function A(){m=!1,a&&r&&a.classList.remove("is-revealing");const Z=c("sync");if(r&&Z){const me=Z.getPageIndex(r.getPageIndex())||0;Z.goTo(me,{transition:!1})}}function q(){var Z;if(i!==dt.Ready)return;X(W()),function(){if(!c("dragToClose")||!r||!r.getViewport())return;const L=r.getGestures();if(!L)return;let v=0,g=0,_=pa().on("step",F=>{v=F.y;const O=r==null?void 0:r.getViewport();if(a&&O){const J=Co(Math.abs(v),0,.5*O.getBoundingClientRect().height,1,.5);a.style.setProperty("--f-drag-opacity",J+""),a.style.setProperty("--f-drag-offset",v+"px")}}).on("end",()=>{if(!v){a&&a.style.removeProperty("--f-opacity");const F=r==null?void 0:r.getViewport();F&&(F.style.transform="")}});L.on("start",function(){_.pause()}).on("panstart",F=>{var O;const J=F.srcEvent.target;J&&!yn(J)&&((O=r==null?void 0:r.getViewport())===null||O===void 0||O.classList.add("is-dragging"))}).on("pan",function(F){const O=F.srcEvent.target;O&&yn(O)||r!=null&&r.getViewport()&&F.axis==="y"&&(g+=F.deltaY,_.spring({clamp:!0,mass:1,tension:860,friction:17,restDelta:.01,restSpeed:.01}).from({y:v}).to({y:g}).start())}).on("end",function(F){_.pause(),F.axis==="y"&&Math.abs(F.velocityY)>5&&Math.abs(g)>0?Q(F.srcEvent,"f-throwOut"+(F.velocityY>0?"Down":"Up")):g!==0&&(g=0,_.spring({clamp:!0,mass:1,tension:140,friction:25,restDelta:.1,restSpeed:.1,maxSpeed:1/0}).from({y:v}).to({y:g}).start())})}(),document.body.addEventListener("click",B),document.body.addEventListener("keydown",I,{passive:!1,capture:!0}),ie();const me=c("sync");me&&((Z=me.getTween())===null||Z===void 0||Z.start())}function U(){r!=null&&r.canGoNext()?ie():S()}function X(Z){if(!(m&&r&&r.getState()===1&&Z&&Z.index===r.getOptions().initialPage&&Z.el&&Z.el.parentElement)||Z.state!==void 0&&Z.state!==1)return;m=!1;const me=Z.panzoomRef,L=me==null?void 0:me.getTween(),v=c("zoomEffect")?j(Z):void 0;if(me&&L&&v){const _=me.getScale("base")||1,{x:F,y:O}=me.getMousemovePos(_)||{x:0,y:0};return void L.spring({tension:225,friction:25,restDelta:.001,restSpeed:.001,maxSpeed:1/0}).from(v).to({x:F,y:O,scale:_}).start()}const g=(me==null?void 0:me.getWrapper())||Z.htmlEl;g&&I1(g,c("showClass",Z))}function Y(Z,me){N(me),X(me)}function C(){K()}function I(Z){if(!z()||i!==dt.Ready)return;const me=Z.key,L=c("keyboard");if(!L||Z.ctrlKey||Z.altKey||Z.shiftKey)return;const v=Z.composedPath()[0];if(!Ua(v)||me!=="Escape"&&(_=>{const F=["input","textarea","select","option","video","iframe","[contenteditable]","[data-selectable]","[data-draggable]"].join(",");return _.matches(F)||_.closest(F)})(v)||(y("keydown",Z),Z.defaultPrevented))return;const g=L[me];if(g)switch(g){case"close":Q(Z);break;case"next":Z.preventDefault(),r==null||r.next();break;case"prev":Z.preventDefault(),r==null||r.prev()}}function z(){var Z;return((Z=Ye.getInstance())===null||Z===void 0?void 0:Z.getId())===s}function W(){var Z;return(Z=r==null?void 0:r.getPage())===null||Z===void 0?void 0:Z.slides[0]}function de(){const Z=W();return Z?Z.triggerEl||c("triggerEl"):void 0}function j(Z){var me,L;const v=(L=(me=Z.panzoomRef)===null||me===void 0?void 0:me.getWrapper())===null||L===void 0?void 0:L.getBoundingClientRect(),g=v==null?void 0:v.width,_=v==null?void 0:v.height;if(!g||!_)return;const F=Z.thumbEl;if(!F)return;const O=F.getBoundingClientRect();let J=O.width,$=O.height,te=O.left,ce=O.top;if(!(!O||!J||!$)&&(ge=>{const xe=ge.getBoundingClientRect(),ue=ge.closest("[style]"),Me=ue==null?void 0:ue.parentElement;if(ue&&ue.style.transform&&Me){const Se=Me.getBoundingClientRect();if(xe.left<Se.left||xe.left>Se.left+Se.width-xe.width||xe.top<Se.top||xe.top>Se.top+Se.height-xe.height)return!1}const Ne=Math.max(document.documentElement.clientHeight,window.innerHeight),De=Math.max(document.documentElement.clientWidth,window.innerWidth);return!(xe.bottom<0||xe.top-Ne>=0||xe.right<0||xe.left-De>=0)})(F)){if(F instanceof HTMLImageElement){const ge=window.getComputedStyle(F).getPropertyValue("object-fit");if(ge==="contain"||ge==="scale-down"){const{width:xe,height:ue}=((Me,Ne,De,Se,Le="contain")=>{if(Le==="contain"||Me>De||Ne>Se){const Be=De/Me,G=Se/Ne,ae=Math.min(Be,G);Me*=ae,Ne*=ae}return{width:Me,height:Ne}})(F.naturalWidth,F.naturalHeight,J,$,ge);te+=.5*(J-xe),ce+=.5*($-ue),J=xe,$=ue}}if(!(Math.abs(g/_-J/$)>.1))return{x:te+.5*J-(v.left+.5*g),y:ce+.5*$-(v.top+.5*_),scale:J/g}}}function D(){o&&clearTimeout(o),o=void 0,document.removeEventListener("mousemove",C)}function ie(){if(u||o)return;const Z=c("idle");Z&&(o=setTimeout(ne,Z))}function ne(){a&&(D(),ze(a,"is-idle"),document.addEventListener("mousemove",C),u=!0)}function K(){u&&(S(),ie())}function S(){D(),a==null||a.classList.remove("is-idle"),u=!1}function Q(Z,me){var L,v,g,_,F,O;if(i===dt.Closing||i===dt.Destroyed)return;if(i=dt.Closing,D(),Z){if(Z.defaultPrevented)return;Z.cancelable&&Z.preventDefault(),Z.stopPropagation(),Z.stopImmediatePropagation()}if(r){(L=r.getGestures())===null||L===void 0||L.destroy(),(v=r.getTween())===null||v===void 0||v.pause();const $=W(),te=$==null?void 0:$.panzoomRef;$&&te&&Tt(te.getOptions(),{clickAction:!1,wheelAction:!1,bounds:!1,minScale:0,maxScale:1/0});for(const ce of r.getSlides())(_=(g=ce.panzoomRef)===null||g===void 0?void 0:g.getGestures())===null||_===void 0||_.destroy(),(O=(F=ce.panzoomRef)===null||F===void 0?void 0:F.getTween())===null||O===void 0||O.pause()}const J=r==null?void 0:r.getPlugins().fullscreen;J&&J.inFullscreen()?Promise.resolve(J.exit()).then(()=>{setTimeout(()=>{fe(Z,me)},150)}):fe(Z,me)}function fe(Z,me){var L,v,g,_,F;if(i!==dt.Closing)return;if(y("close",Z),c("placeFocusBack")){const ue=de();!ue||(F=ue.getBoundingClientRect()).bottom>0&&F.right>0&&F.left<(window.innerWidth||document.documentElement.clientWidth)&&F.top<(window.innerHeight||document.documentElement.clientHeight)||ue.scrollIntoView({behavior:"instant",block:"center",inline:"center"})}c("fadeEffect")&&(a==null||a.classList.remove("is-ready"),a==null||a.classList.add("is-hiding")),a==null||a.classList.add("is-closing");const O=W(),J=O==null?void 0:O.panzoomRef,$=(L=O==null?void 0:O.panzoomRef)===null||L===void 0?void 0:L.getTween(),te=me||c("hideClass");let ce=!1,ge=!1;if(r&&O&&J&&$){let ue;c("zoomEffect")&&(((g=(v=r.getTween())===null||v===void 0?void 0:v.getCurrentVelocities())===null||g===void 0?void 0:g.pos)||0)<700&&O.state===1&&(ue=j(O)),ue&&(ce=!0,r.on("refresh",()=>{const Me=j(O);Me&&$.to(Object.assign(Object.assign({},_t),Me))}),$.easing(pa.Easings.EaseOut).duration(350).from(Object.assign({},J.getTransform())).to(Object.assign(Object.assign({},_t),ue)).start())}const xe=(O==null?void 0:O.htmlEl)||((_=O==null?void 0:O.panzoomRef)===null||_===void 0?void 0:_.getWrapper());xe&&z1(xe),!ce&&te&&xe&&(ge=!0,I1(xe,te,()=>{H()})),ce||ge?setTimeout(()=>{H()},350):H()}function H(){var Z,me,L,v,g;if(i===dt.Destroyed)return;i=dt.Destroyed,document.body.removeEventListener("click",B),document.body.removeEventListener("keydown",I,{passive:!1,capture:!0});const _=de();y("destroy"),(me=(Z=c("sync"))===null||Z===void 0?void 0:Z.getPlugins().Autoplay)===null||me===void 0||me.resume(),(v=(L=c("sync"))===null||L===void 0?void 0:L.getPlugins().Autoscroll)===null||v===void 0||v.resume(),e instanceof HTMLDialogElement&&e.close(),(g=r==null?void 0:r.getContainer())===null||g===void 0||g.classList.remove("is-idle"),r==null||r.destroy();for(const F of Object.values(d))F==null||F.destroy();if(d={},e==null||e.remove(),e=void 0,a=void 0,r=void 0,ea.delete(s),!ea.size&&(k1(!1),document.documentElement.classList.remove(G1),c("placeFocusBack")))try{_==null||_.focus({preventScroll:!0})}catch{}}const ye={close:Q,destroy:H,getCarousel:function(){return r},getContainer:function(){return a},getId:function(){return s},getOptions:function(){return l},getPlugins:function(){return d},getSlide:function(){return W()},getState:function(){return i},init:function(Z=[],me={}){return b(Z,me),ye},isCurrentSlide:function(Z){const me=W();return!(!Z||!me)&&me.index===Z.index},isTopMost:function(){return z()},off:function(Z,me){return h.has(Z)&&h.set(Z,h.get(Z).filter(L=>L!==me)),ye},on:function(Z,me){return h.set(Z,[...h.get(Z)||[],me]),ye},toggleIdle(Z){(u||Z===!0)&&ne(),u&&Z!==!1||S()}};return ye},Ye={Plugins:{Hash:No},version:"6.0.16",openers:new Map,bind:function(e,a,n){if(!x1())return;let r=document.body,o="[data-fancybox]",i={};if(ft(e)?(r=document.body,o=e,typeof a=="object"&&(i=a||{})):e instanceof Element&&(r=e,ft(a)&&(o=a),typeof n=="object"&&(i=n||{})),!(r&&r instanceof Element&&o))return!1;const l=Ye.openers.get(r)||new Map;if(l.set(o,i),Ye.openers.set(r,l),l.size===1){r.addEventListener("click",Ye.fromEvent);for(const s of Object.values(Ye.Plugins)){const d=s.setup;typeof d=="function"&&d(Ye)}}return!0},close:function(e=!0,...a){if(e)for(const n of ea.values())n.close(...a);else{const n=Ye.getInstance();n&&n.close(...a)}},destroy:function(){let e;for(;e=Ye.getInstance();)e.destroy();for(const a of Ye.openers.keys())a.removeEventListener("click",Ye.fromEvent);Ye.openers.clear()},fromEvent:function(e){var a,n,r;if(e.defaultPrevented||e.button&&e.button!==0||e.ctrlKey||e.metaKey||e.shiftKey)return;let o=e.composedPath()[0];if(o.closest(".fancybox__container.is-hiding"))return e.preventDefault(),void e.stopPropagation();const i=o.closest("[data-fancybox-delegate]")||void 0;if(i){const b=i.dataset.fancyboxDelegate||"",x=document.querySelectorAll(`[data-fancybox="${b}"]`);o=x[parseInt(i.dataset.fancyboxIndex||"",10)||0]||x[0]}if(!(o&&o instanceof Element))return;let l,s,d;for(const b of Array.from(Ye.openers.keys()).reverse()){const x=Ye.openers.get(b);if(x&&b.contains(o))for(const w of Array.from(x.keys()).reverse()){let k=null;try{k=o.closest(w)}catch{}if(k){o=k,l=b,s=w,d=x.get(w);break}}}if(!(l&&s&&d))return;e.preventDefault();const p=Tt({},wn,{triggerEvent:e,triggerEl:o,delegateEl:i},d),u=p.groupAll,m=p.groupAttr,c=m&&o?o.getAttribute(`${m}`):"";let f=[];const h=(a=o.closest(".f-carousel"))===null||a===void 0?void 0:a.carousel;if(h){const b=[];for(const x of h==null?void 0:h.getSlides()){const w=x.el;w&&(w.matches(s)?b.push(w):b.push(...[].slice.call(w.querySelectorAll(s))))}b.length&&(f=[...b],(n=h.getPlugins().Autoplay)===null||n===void 0||n.pause(),(r=h.getPlugins().Autoscroll)===null||r===void 0||r.pause(),p.sync=h)}else(!o||c||u)&&(f=[].slice.call(l.querySelectorAll(s)));if(o&&!u&&(f=c?f.filter(b=>b.getAttribute(`${m}`)===c):[o]),!f.length)return;const y=Ye.getInstance();if(y){const b=y.getOptions().triggerEl;if(b&&f.indexOf(b)>-1)return}return Object.assign({},p.Carousel||{}).rtl&&(f=f.reverse()),o&&(p.startIndex=f.indexOf(o)),Ye.fromNodes(f,p)},fromNodes:function(e,a){a=Tt({},wn,a||{});const n=[],r=o=>o instanceof HTMLImageElement?o:o instanceof HTMLElement?o.querySelector("img:not([aria-hidden])"):void 0;for(const o of e){const i=o.dataset||{},l=a.delegateEl&&e.indexOf(o)===a.startIndex?a.delegateEl:void 0,s=r(l)||r(o)||void 0,d=i.src||o.getAttribute("href")||o.getAttribute("currentSrc")||o.getAttribute("src")||void 0,p=i.thumb||i.thumbSrc||(s==null?void 0:s.getAttribute("currentSrc"))||(s==null?void 0:s.getAttribute("src"))||(s==null?void 0:s.dataset.lazySrc)||void 0,u={src:d,alt:i.alt||(s==null?void 0:s.getAttribute("alt"))||void 0,thumbSrc:p,thumbEl:s,triggerEl:o,delegateEl:l};for(const m in i){let c=i[m]+"";c=c!=="false"&&(c==="true"||c),u[m]=c}n.push(u)}return Ye.show(n,a)},fromSelector:function(e,a,n){let r=document.body,o="",i={};if(ft(e)?o=e:e instanceof Element&&(r=e,ft(a)&&(o=a),typeof n=="object"&&(i=n||{})),!(r&&r instanceof Element&&o))return;const l=Ye.openers.get(r);return l?(i=Tt({},l.get(o)||{},i),i?Ye.fromNodes(Array.from(r.querySelectorAll(o)),i):void 0):void 0},getCarousel:function(){var e;return((e=Ye.getInstance())===null||e===void 0?void 0:e.getCarousel())||void 0},getDefaults:function(){return wn},getInstance:function(e){if(e){const a=ea.get(e);return a&&a.getState()!==dt.Destroyed?a:void 0}return Array.from(ea.values()).reverse().find(a=>{if(a.getState()!==dt.Destroyed)return a})||void 0},getSlide:function(){var e;return((e=Ye.getInstance())===null||e===void 0?void 0:e.getSlide())||void 0},show:function(e=[],a={}){return S7().init(e,a)},unbind:function(e,a){let n=document.body,r="";if(ft(e)?r=e:e instanceof Element&&(n=e,ft(a)&&(r=a)),n){const o=Ye.openers.get(n);o&&r&&o.delete(r),o!=null&&o.size&&r||Ye.openers.delete(n),n.removeEventListener("click",Ye.fromEvent)}}};function pt(e,a,n,r){return new(n||(n=Promise))(function(o,i){function l(p){try{d(r.next(p))}catch(u){i(u)}}function s(p){try{d(r.throw(p))}catch(u){i(u)}}function d(p){var u;p.done?o(p.value):(u=p.value,u instanceof n?u:new n(function(m){m(u)})).then(l,s)}d((r=r.apply(e,a||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;class vn{constructor(){this.listeners={}}on(a,n,r){if(this.listeners[a]||(this.listeners[a]=new Set),this.listeners[a].add(n),r==null?void 0:r.once){const o=()=>{this.un(a,o),this.un(a,n)};return this.on(a,o),o}return()=>this.un(a,n)}un(a,n){var r;(r=this.listeners[a])===null||r===void 0||r.delete(n)}once(a,n){return this.on(a,n,{once:!0})}unAll(){this.listeners={}}emit(a,...n){this.listeners[a]&&this.listeners[a].forEach(r=>r(...n))}}const sr={decode:function(e,a){return pt(this,void 0,void 0,function*(){const n=new AudioContext({sampleRate:a});return n.decodeAudioData(e).finally(()=>n.close())})},createBuffer:function(e,a){return typeof e[0]=="number"&&(e=[e]),function(n){const r=n[0];if(r.some(o=>o>1||o<-1)){const o=r.length;let i=0;for(let l=0;l<o;l++){const s=Math.abs(r[l]);s>i&&(i=s)}for(const l of n)for(let s=0;s<o;s++)l[s]/=i}}(e),{duration:a,length:e[0].length,sampleRate:e[0].length/a,numberOfChannels:e.length,getChannelData:n=>e==null?void 0:e[n],copyFromChannel:AudioBuffer.prototype.copyFromChannel,copyToChannel:AudioBuffer.prototype.copyToChannel}}};function j1(e,a){const n=a.xmlns?document.createElementNS(a.xmlns,e):document.createElement(e);for(const[r,o]of Object.entries(a))if(r==="children"&&o)for(const[i,l]of Object.entries(o))l instanceof Node?n.appendChild(l):typeof l=="string"?n.appendChild(document.createTextNode(l)):n.appendChild(j1(i,l));else r==="style"?Object.assign(n.style,o):r==="textContent"?n.textContent=o:n.setAttribute(r,o.toString());return n}function q1(e,a,n){const r=j1(e,a||{});return n==null||n.appendChild(r),r}var M7=Object.freeze({__proto__:null,createElement:q1,default:q1});const B7={fetchBlob:function(e,a,n){return pt(this,void 0,void 0,function*(){const r=yield fetch(e,n);if(r.status>=400)throw new Error(`Failed to fetch ${e}: ${r.status} (${r.statusText})`);return function(o,i){pt(this,void 0,void 0,function*(){if(!o.body||!o.headers)return;const l=o.body.getReader(),s=Number(o.headers.get("Content-Length"))||0;let d=0;const p=m=>pt(this,void 0,void 0,function*(){d+=(m==null?void 0:m.length)||0;const c=Math.round(d/s*100);i(c)}),u=()=>pt(this,void 0,void 0,function*(){let m;try{m=yield l.read()}catch{return}m.done||(p(m.value),yield u())});u()})}(r.clone(),a),r.blob()})}};class A7 extends vn{constructor(a){super(),this.isExternalMedia=!1,a.media?(this.media=a.media,this.isExternalMedia=!0):this.media=document.createElement("audio"),a.mediaControls&&(this.media.controls=!0),a.autoplay&&(this.media.autoplay=!0),a.playbackRate!=null&&this.onMediaEvent("canplay",()=>{a.playbackRate!=null&&(this.media.playbackRate=a.playbackRate)},{once:!0})}onMediaEvent(a,n,r){return this.media.addEventListener(a,n,r),()=>this.media.removeEventListener(a,n,r)}getSrc(){return this.media.currentSrc||this.media.src||""}revokeSrc(){const a=this.getSrc();a.startsWith("blob:")&&URL.revokeObjectURL(a)}canPlayType(a){return this.media.canPlayType(a)!==""}setSrc(a,n){const r=this.getSrc();if(a&&r===a)return;this.revokeSrc();const o=n instanceof Blob&&(this.canPlayType(n.type)||!a)?URL.createObjectURL(n):a;if(r&&this.media.removeAttribute("src"),o||a)try{this.media.src=o}catch{this.media.src=a}}destroy(){this.isExternalMedia||(this.media.pause(),this.media.remove(),this.revokeSrc(),this.media.removeAttribute("src"),this.media.load())}setMediaElement(a){this.media=a}play(){return pt(this,void 0,void 0,function*(){try{return yield this.media.play()}catch(a){if(a instanceof DOMException&&a.name==="AbortError")return;throw a}})}pause(){this.media.pause()}isPlaying(){return!this.media.paused&&!this.media.ended}setTime(a){this.media.currentTime=Math.max(0,Math.min(a,this.getDuration()))}getDuration(){return this.media.duration}getCurrentTime(){return this.media.currentTime}getVolume(){return this.media.volume}setVolume(a){this.media.volume=a}getMuted(){return this.media.muted}setMuted(a){this.media.muted=a}getPlaybackRate(){return this.media.playbackRate}isSeeking(){return this.media.seeking}setPlaybackRate(a,n){n!=null&&(this.media.preservesPitch=n),this.media.playbackRate=a}getMediaElement(){return this.media}setSinkId(a){return this.media.setSinkId(a)}}let Do=class $o extends vn{constructor(a,n){super(),this.timeouts=[],this.isScrollable=!1,this.audioData=null,this.resizeObserver=null,this.lastContainerWidth=0,this.isDragging=!1,this.subscriptions=[],this.unsubscribeOnScroll=[],this.subscriptions=[],this.options=a;const r=this.parentFromOptionsContainer(a.container);this.parent=r;const[o,i]=this.initHtml();r.appendChild(o),this.container=o,this.scrollContainer=i.querySelector(".scroll"),this.wrapper=i.querySelector(".wrapper"),this.canvasWrapper=i.querySelector(".canvases"),this.progressWrapper=i.querySelector(".progress"),this.cursor=i.querySelector(".cursor"),n&&i.appendChild(n),this.initEvents()}parentFromOptionsContainer(a){let n;if(typeof a=="string"?n=document.querySelector(a):a instanceof HTMLElement&&(n=a),!n)throw new Error("Container not found");return n}initEvents(){const a=n=>{const r=this.wrapper.getBoundingClientRect(),o=n.clientX-r.left,i=n.clientY-r.top;return[o/r.width,i/r.height]};if(this.wrapper.addEventListener("click",n=>{const[r,o]=a(n);this.emit("click",r,o)}),this.wrapper.addEventListener("dblclick",n=>{const[r,o]=a(n);this.emit("dblclick",r,o)}),this.options.dragToSeek!==!0&&typeof this.options.dragToSeek!="object"||this.initDrag(),this.scrollContainer.addEventListener("scroll",()=>{const{scrollLeft:n,scrollWidth:r,clientWidth:o}=this.scrollContainer,i=n/r,l=(n+o)/r;this.emit("scroll",i,l,n,n+o)}),typeof ResizeObserver=="function"){const n=this.createDelay(100);this.resizeObserver=new ResizeObserver(()=>{n().then(()=>this.onContainerResize()).catch(()=>{})}),this.resizeObserver.observe(this.scrollContainer)}}onContainerResize(){const a=this.parent.clientWidth;a===this.lastContainerWidth&&this.options.height!=="auto"||(this.lastContainerWidth=a,this.reRender())}initDrag(){this.subscriptions.push(function(a,n,r,o,i=3,l=0,s=100){if(!a)return()=>{};const d=matchMedia("(pointer: coarse)").matches;let p=()=>{};const u=m=>{if(m.button!==l)return;m.preventDefault(),m.stopPropagation();let c=m.clientX,f=m.clientY,h=!1;const y=Date.now(),b=V=>{if(V.preventDefault(),V.stopPropagation(),d&&Date.now()-y<s)return;const M=V.clientX,E=V.clientY,N=M-c,A=E-f;if(h||Math.abs(N)>i||Math.abs(A)>i){const q=a.getBoundingClientRect(),{left:U,top:X}=q;h||(r==null||r(c-U,f-X),h=!0),n(N,A,M-U,E-X),c=M,f=E}},x=V=>{if(h){const M=V.clientX,E=V.clientY,N=a.getBoundingClientRect(),{left:A,top:q}=N;o==null||o(M-A,E-q)}p()},w=V=>{V.relatedTarget&&V.relatedTarget!==document.documentElement||x(V)},k=V=>{h&&(V.stopPropagation(),V.preventDefault())},B=V=>{h&&V.preventDefault()};document.addEventListener("pointermove",b),document.addEventListener("pointerup",x),document.addEventListener("pointerout",w),document.addEventListener("pointercancel",w),document.addEventListener("touchmove",B,{passive:!1}),document.addEventListener("click",k,{capture:!0}),p=()=>{document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",x),document.removeEventListener("pointerout",w),document.removeEventListener("pointercancel",w),document.removeEventListener("touchmove",B),setTimeout(()=>{document.removeEventListener("click",k,{capture:!0})},10)}};return a.addEventListener("pointerdown",u),()=>{p(),a.removeEventListener("pointerdown",u)}}(this.wrapper,(a,n,r)=>{this.emit("drag",Math.max(0,Math.min(1,r/this.wrapper.getBoundingClientRect().width)))},a=>{this.isDragging=!0,this.emit("dragstart",Math.max(0,Math.min(1,a/this.wrapper.getBoundingClientRect().width)))},a=>{this.isDragging=!1,this.emit("dragend",Math.max(0,Math.min(1,a/this.wrapper.getBoundingClientRect().width)))}))}getHeight(a,n){var r;const o=((r=this.audioData)===null||r===void 0?void 0:r.numberOfChannels)||1;if(a==null)return 128;if(!isNaN(Number(a)))return Number(a);if(a==="auto"){const i=this.parent.clientHeight||128;return n!=null&&n.every(l=>!l.overlay)?i/o:i}return 128}initHtml(){const a=document.createElement("div"),n=a.attachShadow({mode:"open"}),r=this.options.cspNonce&&typeof this.options.cspNonce=="string"?this.options.cspNonce.replace(/"/g,""):"";return n.innerHTML=`
16
16
  <style${r?` nonce="${r}"`:""}>
17
17
  :host {
18
18
  user-select: none;
@@ -84,16 +84,16 @@
84
84
  <div class="cursor" part="cursor"></div>
85
85
  </div>
86
86
  </div>
87
- `,[a,n]}setOptions(a){if(this.options.container!==a.container){const n=this.parentFromOptionsContainer(a.container);n.appendChild(this.container),this.parent=n}a.dragToSeek!==!0&&typeof this.options.dragToSeek!="object"||this.initDrag(),this.options=a,this.reRender()}getWrapper(){return this.wrapper}getWidth(){return this.scrollContainer.clientWidth}getScroll(){return this.scrollContainer.scrollLeft}setScroll(a){this.scrollContainer.scrollLeft=a}setScrollPercentage(a){const{scrollWidth:n}=this.scrollContainer,r=n*a;this.setScroll(r)}destroy(){var a,n;this.subscriptions.forEach(r=>r()),this.container.remove(),(a=this.resizeObserver)===null||a===void 0||a.disconnect(),(n=this.unsubscribeOnScroll)===null||n===void 0||n.forEach(r=>r()),this.unsubscribeOnScroll=[]}createDelay(a=10){let n,r;const o=()=>{n&&clearTimeout(n),r&&r()};return this.timeouts.push(o),()=>new Promise((i,l)=>{o(),r=l,n=setTimeout(()=>{n=void 0,r=void 0,i()},a)})}convertColorValues(a){if(!Array.isArray(a))return a||"";if(a.length<2)return a[0]||"";const n=document.createElement("canvas"),r=n.getContext("2d"),o=n.height*(window.devicePixelRatio||1),i=r.createLinearGradient(0,0,0,o),l=1/(a.length-1);return a.forEach((s,d)=>{const p=d*l;i.addColorStop(p,s)}),i}getPixelRatio(){return Math.max(1,window.devicePixelRatio||1)}renderBarWaveform(a,n,r,o){const i=a[0],l=a[1]||a[0],s=i.length,{width:d,height:p}=r.canvas,u=p/2,m=this.getPixelRatio(),c=n.barWidth?n.barWidth*m:1,f=n.barGap?n.barGap*m:n.barWidth?c/2:0,h=n.barRadius||0,y=d/(c+f)/s,b=h&&"roundRect"in r?"roundRect":"rect";r.beginPath();let x=0,w=0,k=0;for(let B=0;B<=s;B++){const V=Math.round(B*y);if(V>x){const N=Math.round(w*u*o),A=N+Math.round(k*u*o)||1;let L=u-N;n.barAlign==="top"?L=0:n.barAlign==="bottom"&&(L=p-A),r[b](x*(c+f),L,c,A,h),x=V,w=0,k=0}const M=Math.abs(i[B]||0),E=Math.abs(l[B]||0);M>w&&(w=M),E>k&&(k=E)}r.fill(),r.closePath()}renderLineWaveform(a,n,r,o){const i=l=>{const s=a[l]||a[0],d=s.length,{height:p}=r.canvas,u=p/2,m=r.canvas.width/d;r.moveTo(0,u);let c=0,f=0;for(let h=0;h<=d;h++){const y=Math.round(h*m);if(y>c){const x=u+(Math.round(f*u*o)||1)*(l===0?-1:1);r.lineTo(c,x),c=y,f=0}const b=Math.abs(s[h]||0);b>f&&(f=b)}r.lineTo(c,u)};r.beginPath(),i(0),i(1),r.fill(),r.closePath()}renderWaveform(a,n,r){if(r.fillStyle=this.convertColorValues(n.waveColor),n.renderFunction)return void n.renderFunction(a,r);let o=n.barHeight||1;if(n.normalize){const i=Array.from(a[0]).reduce((l,s)=>Math.max(l,Math.abs(s)),0);o=i?1/i:1}n.barWidth||n.barGap||n.barAlign?this.renderBarWaveform(a,n,r,o):this.renderLineWaveform(a,n,r,o)}renderSingleCanvas(a,n,r,o,i,l,s){const d=this.getPixelRatio(),p=document.createElement("canvas");p.width=Math.round(r*d),p.height=Math.round(o*d),p.style.width=`${r}px`,p.style.height=`${o}px`,p.style.left=`${Math.round(i)}px`,l.appendChild(p);const u=p.getContext("2d");if(this.renderWaveform(a,n,u),p.width>0&&p.height>0){const m=p.cloneNode(),c=m.getContext("2d");c.drawImage(p,0,0),c.globalCompositeOperation="source-in",c.fillStyle=this.convertColorValues(n.progressColor),c.fillRect(0,0,p.width,p.height),s.appendChild(m)}}renderMultiCanvas(a,n,r,o,i,l){const s=this.getPixelRatio(),{clientWidth:d}=this.scrollContainer,p=r/s;let u=Math.min($o.MAX_CANVAS_WIDTH,d,p),m={};if(n.barWidth||n.barGap){const b=n.barWidth||.5,x=b+(n.barGap||b/2);u%x!=0&&(u=Math.floor(u/x)*x)}if(u===0)return;const c=b=>{if(b<0||b>=f||m[b])return;m[b]=!0;const x=b*u;let w=Math.min(p-x,u);if(n.barWidth||n.barGap){const B=n.barWidth||.5,V=B+(n.barGap||B/2);w=Math.floor(w/V)*V}if(w<=0)return;const k=a.map(B=>{const V=Math.floor(x/p*B.length),M=Math.floor((x+w)/p*B.length);return B.slice(V,M)});this.renderSingleCanvas(k,n,w,o,x,i,l)},f=Math.ceil(p/u);if(!this.isScrollable){for(let b=0;b<f;b++)c(b);return}const h=this.scrollContainer.scrollLeft/p,y=Math.floor(h*f);if(c(y-1),c(y),c(y+1),f>1){const b=this.on("scroll",()=>{const{scrollLeft:x}=this.scrollContainer,w=Math.floor(x/p*f);Object.keys(m).length>$o.MAX_NODES&&(i.innerHTML="",l.innerHTML="",m={}),c(w-1),c(w),c(w+1)});this.unsubscribeOnScroll.push(b)}}renderChannel(a,n,r,o){var{overlay:i}=n,l=function(u,m){var c={};for(var f in u)Object.prototype.hasOwnProperty.call(u,f)&&m.indexOf(f)<0&&(c[f]=u[f]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function"){var h=0;for(f=Object.getOwnPropertySymbols(u);h<f.length;h++)m.indexOf(f[h])<0&&Object.prototype.propertyIsEnumerable.call(u,f[h])&&(c[f[h]]=u[f[h]])}return c}(n,["overlay"]);const s=document.createElement("div"),d=this.getHeight(l.height,l.splitChannels);s.style.height=`${d}px`,i&&o>0&&(s.style.marginTop=`-${d}px`),this.canvasWrapper.style.minHeight=`${d}px`,this.canvasWrapper.appendChild(s);const p=s.cloneNode();this.progressWrapper.appendChild(p),this.renderMultiCanvas(a,l,r,d,s,p)}render(a){return pt(this,void 0,void 0,function*(){var n;this.timeouts.forEach(d=>d()),this.timeouts=[],this.canvasWrapper.innerHTML="",this.progressWrapper.innerHTML="",this.options.width!=null&&(this.scrollContainer.style.width=typeof this.options.width=="number"?`${this.options.width}px`:this.options.width);const r=this.getPixelRatio(),o=this.scrollContainer.clientWidth,i=Math.ceil(a.duration*(this.options.minPxPerSec||0));this.isScrollable=i>o;const l=this.options.fillParent&&!this.isScrollable,s=(l?o:i)*r;if(this.wrapper.style.width=l?"100%":`${i}px`,this.scrollContainer.style.overflowX=this.isScrollable?"auto":"hidden",this.scrollContainer.classList.toggle("noScrollbar",!!this.options.hideScrollbar),this.cursor.style.backgroundColor=`${this.options.cursorColor||this.options.progressColor}`,this.cursor.style.width=`${this.options.cursorWidth}px`,this.audioData=a,this.emit("render"),this.options.splitChannels)for(let d=0;d<a.numberOfChannels;d++){const p=Object.assign(Object.assign({},this.options),(n=this.options.splitChannels)===null||n===void 0?void 0:n[d]);this.renderChannel([a.getChannelData(d)],p,s,d)}else{const d=[a.getChannelData(0)];a.numberOfChannels>1&&d.push(a.getChannelData(1)),this.renderChannel(d,this.options,s,0)}Promise.resolve().then(()=>this.emit("rendered"))})}reRender(){if(this.unsubscribeOnScroll.forEach(r=>r()),this.unsubscribeOnScroll=[],!this.audioData)return;const{scrollWidth:a}=this.scrollContainer,{right:n}=this.progressWrapper.getBoundingClientRect();if(this.render(this.audioData),this.isScrollable&&a!==this.scrollContainer.scrollWidth){const{right:r}=this.progressWrapper.getBoundingClientRect();let o=r-n;o*=2,o=o<0?Math.floor(o):Math.ceil(o),o/=2,this.scrollContainer.scrollLeft+=o}}zoom(a){this.options.minPxPerSec=a,this.reRender()}scrollIntoView(a,n=!1){const{scrollLeft:r,scrollWidth:o,clientWidth:i}=this.scrollContainer,l=a*o,s=r,d=r+i,p=i/2;if(this.isDragging)l+30>d?this.scrollContainer.scrollLeft+=30:l-30<s&&(this.scrollContainer.scrollLeft-=30);else{(l<s||l>d)&&(this.scrollContainer.scrollLeft=l-(this.options.autoCenter?p:0));const u=l-r-p;n&&this.options.autoCenter&&u>0&&(this.scrollContainer.scrollLeft+=Math.min(u,10))}{const u=this.scrollContainer.scrollLeft,m=u/o,c=(u+i)/o;this.emit("scroll",m,c,u,u+i)}}renderProgress(a,n){if(isNaN(a))return;const r=100*a;this.canvasWrapper.style.clipPath=`polygon(${r}% 0%, 100% 0%, 100% 100%, ${r}% 100%)`,this.progressWrapper.style.width=`${r}%`,this.cursor.style.left=`${r}%`,this.cursor.style.transform=this.options.cursorWidth?`translateX(-${a*this.options.cursorWidth}px)`:"",this.isScrollable&&this.options.autoScroll&&this.scrollIntoView(a,n)}exportImage(a,n,r){return pt(this,void 0,void 0,function*(){const o=this.canvasWrapper.querySelectorAll("canvas");if(!o.length)throw new Error("No waveform data");if(r==="dataURL"){const i=Array.from(o).map(l=>l.toDataURL(a,n));return Promise.resolve(i)}return Promise.all(Array.from(o).map(i=>new Promise((l,s)=>{i.toBlob(d=>{d?l(d):s(new Error("Could not export image"))},a,n)})))})}};_o.MAX_CANVAS_WIDTH=8e3,_o.MAX_NODES=10;class V7 extends vn{constructor(){super(...arguments),this.unsubscribe=()=>{}}start(){this.unsubscribe=this.on("tick",()=>{requestAnimationFrame(()=>{this.emit("tick")})}),this.emit("tick")}stop(){this.unsubscribe()}destroy(){this.unsubscribe()}}class Do extends vn{constructor(a=new AudioContext){super(),this.bufferNode=null,this.playStartTime=0,this.playedDuration=0,this._muted=!1,this._playbackRate=1,this._duration=void 0,this.buffer=null,this.currentSrc="",this.paused=!0,this.crossOrigin=null,this.seeking=!1,this.autoplay=!1,this.addEventListener=this.on,this.removeEventListener=this.un,this.audioContext=a,this.gainNode=this.audioContext.createGain(),this.gainNode.connect(this.audioContext.destination)}load(){return pt(this,void 0,void 0,function*(){})}get src(){return this.currentSrc}set src(a){if(this.currentSrc=a,this._duration=void 0,!a)return this.buffer=null,void this.emit("emptied");fetch(a).then(n=>{if(n.status>=400)throw new Error(`Failed to fetch ${a}: ${n.status} (${n.statusText})`);return n.arrayBuffer()}).then(n=>this.currentSrc!==a?null:this.audioContext.decodeAudioData(n)).then(n=>{this.currentSrc===a&&(this.buffer=n,this.emit("loadedmetadata"),this.emit("canplay"),this.autoplay&&this.play())})}_play(){var a;if(!this.paused)return;this.paused=!1,(a=this.bufferNode)===null||a===void 0||a.disconnect(),this.bufferNode=this.audioContext.createBufferSource(),this.buffer&&(this.bufferNode.buffer=this.buffer),this.bufferNode.playbackRate.value=this._playbackRate,this.bufferNode.connect(this.gainNode);let n=this.playedDuration*this._playbackRate;(n>=this.duration||n<0)&&(n=0,this.playedDuration=0),this.bufferNode.start(this.audioContext.currentTime,n),this.playStartTime=this.audioContext.currentTime,this.bufferNode.onended=()=>{this.currentTime>=this.duration&&(this.pause(),this.emit("ended"))}}_pause(){var a;this.paused=!0,(a=this.bufferNode)===null||a===void 0||a.stop(),this.playedDuration+=this.audioContext.currentTime-this.playStartTime}play(){return pt(this,void 0,void 0,function*(){this.paused&&(this._play(),this.emit("play"))})}pause(){this.paused||(this._pause(),this.emit("pause"))}stopAt(a){const n=a-this.currentTime,r=this.bufferNode;r==null||r.stop(this.audioContext.currentTime+n),r==null||r.addEventListener("ended",()=>{r===this.bufferNode&&(this.bufferNode=null,this.pause())},{once:!0})}setSinkId(a){return pt(this,void 0,void 0,function*(){return this.audioContext.setSinkId(a)})}get playbackRate(){return this._playbackRate}set playbackRate(a){this._playbackRate=a,this.bufferNode&&(this.bufferNode.playbackRate.value=a)}get currentTime(){return(this.paused?this.playedDuration:this.playedDuration+(this.audioContext.currentTime-this.playStartTime))*this._playbackRate}set currentTime(a){const n=!this.paused;n&&this._pause(),this.playedDuration=a/this._playbackRate,n&&this._play(),this.emit("seeking"),this.emit("timeupdate")}get duration(){var a,n;return(a=this._duration)!==null&&a!==void 0?a:((n=this.buffer)===null||n===void 0?void 0:n.duration)||0}set duration(a){this._duration=a}get volume(){return this.gainNode.gain.value}set volume(a){this.gainNode.gain.value=a,this.emit("volumechange")}get muted(){return this._muted}set muted(a){this._muted!==a&&(this._muted=a,this._muted?this.gainNode.disconnect():this.gainNode.connect(this.audioContext.destination))}canPlayType(a){return/^(audio|video)\//.test(a)}getGainNode(){return this.gainNode}getChannelData(){const a=[];if(!this.buffer)return a;const n=this.buffer.numberOfChannels;for(let r=0;r<n;r++)a.push(this.buffer.getChannelData(r));return a}removeAttribute(a){switch(a){case"src":this.src="";break;case"playbackRate":this.playbackRate=0;break;case"currentTime":this.currentTime=0;break;case"duration":this.duration=0;break;case"volume":this.volume=0;break;case"muted":this.muted=!1}}}const N7={waveColor:"#999",progressColor:"#555",cursorWidth:1,minPxPerSec:0,fillParent:!0,interact:!0,dragToSeek:!1,autoScroll:!0,autoCenter:!0,sampleRate:8e3};class En extends A7{static create(a){return new En(a)}constructor(a){const n=a.media||(a.backend==="WebAudio"?new Do:void 0);super({media:n,mediaControls:a.mediaControls,autoplay:a.autoplay,playbackRate:a.audioRate}),this.plugins=[],this.decodedData=null,this.stopAtPosition=null,this.subscriptions=[],this.mediaSubscriptions=[],this.abortController=null,this.options=Object.assign({},N7,a),this.timer=new V7;const r=n?void 0:this.getMediaElement();this.renderer=new _o(this.options,r),this.initPlayerEvents(),this.initRendererEvents(),this.initTimerEvents(),this.initPlugins();const o=this.options.url||this.getSrc()||"";Promise.resolve().then(()=>{this.emit("init");const{peaks:i,duration:l}=this.options;(o||i&&l)&&this.load(o,i,l).catch(()=>null)})}updateProgress(a=this.getCurrentTime()){return this.renderer.renderProgress(a/this.getDuration(),this.isPlaying()),a}initTimerEvents(){this.subscriptions.push(this.timer.on("tick",()=>{if(!this.isSeeking()){const a=this.updateProgress();this.emit("timeupdate",a),this.emit("audioprocess",a),this.stopAtPosition!=null&&this.isPlaying()&&a>=this.stopAtPosition&&this.pause()}}))}initPlayerEvents(){this.isPlaying()&&(this.emit("play"),this.timer.start()),this.mediaSubscriptions.push(this.onMediaEvent("timeupdate",()=>{const a=this.updateProgress();this.emit("timeupdate",a)}),this.onMediaEvent("play",()=>{this.emit("play"),this.timer.start()}),this.onMediaEvent("pause",()=>{this.emit("pause"),this.timer.stop(),this.stopAtPosition=null}),this.onMediaEvent("emptied",()=>{this.timer.stop(),this.stopAtPosition=null}),this.onMediaEvent("ended",()=>{this.emit("timeupdate",this.getDuration()),this.emit("finish"),this.stopAtPosition=null}),this.onMediaEvent("seeking",()=>{this.emit("seeking",this.getCurrentTime())}),this.onMediaEvent("error",()=>{var a;this.emit("error",(a=this.getMediaElement().error)!==null&&a!==void 0?a:new Error("Media error")),this.stopAtPosition=null}))}initRendererEvents(){this.subscriptions.push(this.renderer.on("click",(a,n)=>{this.options.interact&&(this.seekTo(a),this.emit("interaction",a*this.getDuration()),this.emit("click",a,n))}),this.renderer.on("dblclick",(a,n)=>{this.emit("dblclick",a,n)}),this.renderer.on("scroll",(a,n,r,o)=>{const i=this.getDuration();this.emit("scroll",a*i,n*i,r,o)}),this.renderer.on("render",()=>{this.emit("redraw")}),this.renderer.on("rendered",()=>{this.emit("redrawcomplete")}),this.renderer.on("dragstart",a=>{this.emit("dragstart",a)}),this.renderer.on("dragend",a=>{this.emit("dragend",a)}));{let a;this.subscriptions.push(this.renderer.on("drag",n=>{if(!this.options.interact)return;let r;this.renderer.renderProgress(n),clearTimeout(a),this.isPlaying()?r=0:this.options.dragToSeek===!0?r=200:typeof this.options.dragToSeek=="object"&&this.options.dragToSeek!==void 0&&(r=this.options.dragToSeek.debounceTime),a=setTimeout(()=>{this.seekTo(n)},r),this.emit("interaction",n*this.getDuration()),this.emit("drag",n)}))}}initPlugins(){var a;!((a=this.options.plugins)===null||a===void 0)&&a.length&&this.options.plugins.forEach(n=>{this.registerPlugin(n)})}unsubscribePlayerEvents(){this.mediaSubscriptions.forEach(a=>a()),this.mediaSubscriptions=[]}setOptions(a){this.options=Object.assign({},this.options,a),a.duration&&!a.peaks&&(this.decodedData=sr.createBuffer(this.exportPeaks(),a.duration)),a.peaks&&a.duration&&(this.decodedData=sr.createBuffer(a.peaks,a.duration)),this.renderer.setOptions(this.options),a.audioRate&&this.setPlaybackRate(a.audioRate),a.mediaControls!=null&&(this.getMediaElement().controls=a.mediaControls)}registerPlugin(a){if(this.plugins.includes(a))return a;a._init(this),this.plugins.push(a);const n=a.once("destroy",()=>{this.plugins=this.plugins.filter(r=>r!==a),this.subscriptions=this.subscriptions.filter(r=>r!==n)});return this.subscriptions.push(n),a}unregisterPlugin(a){this.plugins=this.plugins.filter(n=>n!==a),a.destroy()}getWrapper(){return this.renderer.getWrapper()}getWidth(){return this.renderer.getWidth()}getScroll(){return this.renderer.getScroll()}setScroll(a){return this.renderer.setScroll(a)}setScrollTime(a){const n=a/this.getDuration();this.renderer.setScrollPercentage(n)}getActivePlugins(){return this.plugins}loadAudio(a,n,r,o){return pt(this,void 0,void 0,function*(){var i;if(this.emit("load",a),!this.options.media&&this.isPlaying()&&this.pause(),this.decodedData=null,this.stopAtPosition=null,!n&&!r){const s=this.options.fetchParams||{};window.AbortController&&!s.signal&&(this.abortController=new AbortController,s.signal=(i=this.abortController)===null||i===void 0?void 0:i.signal);const d=u=>this.emit("loading",u);n=yield B7.fetchBlob(a,d,s);const p=this.options.blobMimeType;p&&(n=new Blob([n],{type:p}))}this.setSrc(a,n);const l=yield new Promise(s=>{const d=o||this.getDuration();d?s(d):this.mediaSubscriptions.push(this.onMediaEvent("loadedmetadata",()=>s(this.getDuration()),{once:!0}))});if(!a&&!n){const s=this.getMediaElement();s instanceof Do&&(s.duration=l)}if(r)this.decodedData=sr.createBuffer(r,l||0);else if(n){const s=yield n.arrayBuffer();this.decodedData=yield sr.decode(s,this.options.sampleRate)}this.decodedData&&(this.emit("decode",this.getDuration()),this.renderer.render(this.decodedData)),this.emit("ready",this.getDuration())})}load(a,n,r){return pt(this,void 0,void 0,function*(){try{return yield this.loadAudio(a,void 0,n,r)}catch(o){throw this.emit("error",o),o}})}loadBlob(a,n,r){return pt(this,void 0,void 0,function*(){try{return yield this.loadAudio("",a,n,r)}catch(o){throw this.emit("error",o),o}})}zoom(a){if(!this.decodedData)throw new Error("No audio loaded");this.renderer.zoom(a),this.emit("zoom",a)}getDecodedData(){return this.decodedData}exportPeaks({channels:a=2,maxLength:n=8e3,precision:r=1e4}={}){if(!this.decodedData)throw new Error("The audio has not been decoded yet");const o=Math.min(a,this.decodedData.numberOfChannels),i=[];for(let l=0;l<o;l++){const s=this.decodedData.getChannelData(l),d=[],p=s.length/n;for(let u=0;u<n;u++){const m=s.slice(Math.floor(u*p),Math.ceil((u+1)*p));let c=0;for(let f=0;f<m.length;f++){const h=m[f];Math.abs(h)>Math.abs(c)&&(c=h)}d.push(Math.round(c*r)/r)}i.push(d)}return i}getDuration(){let a=super.getDuration()||0;return a!==0&&a!==1/0||!this.decodedData||(a=this.decodedData.duration),a}toggleInteraction(a){this.options.interact=a}setTime(a){this.stopAtPosition=null,super.setTime(a),this.updateProgress(a),this.emit("timeupdate",a)}seekTo(a){const n=this.getDuration()*a;this.setTime(n)}play(a,n){const r=Object.create(null,{play:{get:()=>super.play}});return pt(this,void 0,void 0,function*(){a!=null&&this.setTime(a);const o=yield r.play.call(this);return n!=null&&(this.media instanceof Do?this.media.stopAt(n):this.stopAtPosition=n),o})}playPause(){return pt(this,void 0,void 0,function*(){return this.isPlaying()?this.pause():this.play()})}stop(){this.pause(),this.setTime(0)}skip(a){this.setTime(this.getCurrentTime()+a)}empty(){this.load("",[[0]],.001)}setMediaElement(a){this.unsubscribePlayerEvents(),super.setMediaElement(a),this.initPlayerEvents()}exportImage(){return pt(this,arguments,void 0,function*(a="image/png",n=1,r="dataURL"){return this.renderer.exportImage(a,n,r)})}destroy(){var a;this.emit("destroy"),(a=this.abortController)===null||a===void 0||a.abort(),this.plugins.forEach(n=>n.destroy()),this.subscriptions.forEach(n=>n()),this.unsubscribePlayerEvents(),this.timer.destroy(),this.renderer.destroy(),super.destroy()}}En.BasePlugin=class extends vn{constructor(e){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=e}onInit(){}_init(e){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=e,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach(e=>e()),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}},En.dom=M7;const _7={components:{Avatar:mo},props:{audio:{type:String,required:!0},avatar:{type:[String,null],required:!0},isOwner:{type:Boolean}},emits:["duration","currentTime"],data(){return{wavesurfer:null,audioData:null,isPlaying:!1,duration:0,currentTime:0,isLoading:!0,playbackRate:1}},watch:{audio(e){this.loadAudio(e)}},mounted(){this.wavesurfer=En.create({container:this.$refs.waveform,progressColor:"#AFAFAF",height:70,cursorWidth:14,cursorColor:"#fff",barWidth:4,barRadius:30,barHeight:.7,barGap:3,hideScrollbar:!0}),this.wavesurfer.on("ready",()=>{this.duration=this.wavesurfer.getDuration(),this.$emit("duration",this.duration),this.isLoading=!1}),this.wavesurfer.on("play",()=>{this.isPlaying=!0}),this.wavesurfer.on("pause",()=>{this.isPlaying=!1}),this.wavesurfer.on("finish",()=>{this.isPlaying=!1}),this.wavesurfer.on("audioprocess",()=>{this.currentTime=this.wavesurfer.getCurrentTime(),this.$emit("currentTime",this.currentTime)}),this.loadAudio(this.audio)},methods:{changeValue(){this.playbackRate===2?this.playbackRate=1:this.playbackRate+=.5,this.changePlaybackRate()},changePlaybackRate(){this.wavesurfer.setPlaybackRate(this.playbackRate)},loadAudio(e){if(this.isBase64(e)){const a=this.base64ToBlob(e);this.wavesurfer.loadBlob(a)}else this.wavesurfer.load(e)},isBase64(e){try{return btoa(atob(e))==e}catch{return!1}},base64ToBlob(e){const a=atob(e),n=new Array(a.length);for(let o=0;o<a.length;o++)n[o]=a.charCodeAt(o);const r=new Uint8Array(n);return new Blob([r],{type:"audio/mp3"})},playPause(){this.wavesurfer.playPause()}}},D7={class:"flex size-full min-w-[220px] select-none items-center justify-center space-x-2 pr-2 text-gray-200 dark:text-gray-700"},T7={key:0,class:"w-20"},P7={class:"fade relative"},O7={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-8 fill-current"},F7={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-10"},L7={class:"flex h-20 w-full items-center justify-center text-center"},$7={key:0,class:"loader-dots relative mx-auto flex h-5 w-full items-center justify-center"},H7={id:"waveform",ref:"waveform",style:{display:"block"},class:"w-full"},R7={key:1,class:"w-24 pl-3"},z7={class:"fade relative"};function I7(e,a,n,r,o,i){const l=t.resolveComponent("Avatar");return t.openBlock(),t.createElementBlock("div",D7,[n.isOwner?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("section",T7,[t.withDirectives(t.createElementVNode("main",P7,[t.createVNode(l,{url:n.avatar,class:"xl:size-[50px]"},null,8,["url"]),a[3]||(a[3]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"absolute -bottom-1 -right-1 w-5 rounded-full bg-emerald-500 p-1 text-white"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z"})],-1))],512),[[t.vShow,!o.isPlaying]]),t.withDirectives(t.createElementVNode("div",{class:"fade header relative flex size-12 cursor-pointer items-center justify-center rounded-full border-2 border-light dark:border-light",onClick:a[0]||(a[0]=(...s)=>i.changeValue&&i.changeValue(...s))},[t.createTextVNode(t.toDisplayString(o.playbackRate.toFixed(1))+"x ",1),a[4]||(a[4]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"absolute bottom-[-11px] left-[28px] w-5 rounded-full bg-emerald-500 p-[4px] text-white",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M12.5 4a.5.5 0 0 0-1 0v3.248L5.233 3.612C4.693 3.3 4 3.678 4 4.308v7.384c0 .63.692 1.01 1.233.697L11.5 8.753V12a.5.5 0 0 0 1 0V4z"})],-1))],512),[[t.vShow,o.isPlaying]])])),t.createElementVNode("button",{class:"",onClick:a[1]||(a[1]=(...s)=>i.playPause&&i.playPause(...s))},[o.isPlaying?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("svg",O7,a[5]||(a[5]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.348a1.125 1.125 0 010 1.971l-11.54 6.347a1.125 1.125 0 01-1.667-.985V5.653z"},null,-1)]))),o.isPlaying?(t.openBlock(),t.createElementBlock("svg",F7,a[6]||(a[6]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25v13.5m-7.5-13.5v13.5"},null,-1)]))):t.createCommentVNode("",!0)]),t.createElementVNode("section",L7,[o.isLoading?(t.openBlock(),t.createElementBlock("div",$7,a[7]||(a[7]=[t.createElementVNode("div",{class:"absolute ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1),t.createElementVNode("div",{class:"absolute top-0 ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1),t.createElementVNode("div",{class:"absolute top-0 ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1),t.createElementVNode("div",{class:"absolute top-0 ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1)]))):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",H7,null,512),[[t.vShow,!o.isLoading]])]),n.isOwner?(t.openBlock(),t.createElementBlock("section",R7,[t.withDirectives(t.createElementVNode("main",z7,[t.createVNode(l,{url:n.avatar,class:"xl:size-[50px]"},null,8,["url"]),a[8]||(a[8]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"absolute -bottom-2 -left-2 w-7 rounded-full bg-emerald-500 p-1 text-white"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z"})],-1))],512),[[t.vShow,!o.isPlaying]]),t.withDirectives(t.createElementVNode("div",{class:"fade header relative flex size-12 cursor-pointer items-center justify-center rounded-full border-2 border-light dark:border-light",onClick:a[2]||(a[2]=(...s)=>i.changeValue&&i.changeValue(...s))},[t.createTextVNode(t.toDisplayString(o.playbackRate.toFixed(1))+"x ",1),a[9]||(a[9]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"absolute bottom-[-10px] right-[26px] w-7 rounded-full bg-emerald-500 p-[4px] text-white",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M12.5 4a.5.5 0 0 0-1 0v3.248L5.233 3.612C4.693 3.3 4 3.678 4 4.308v7.384c0 .63.692 1.01 1.233.697L11.5 8.753V12a.5.5 0 0 0 1 0V4z"})],-1))],512),[[t.vShow,o.isPlaying]])])):t.createCommentVNode("",!0)])}const W1=qe(_7,[["render",I7]]),G7=["src"],j7={key:1,class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},q7=["src"],W7=["src"],Y7=["src"],U7=["src","type"],X7={key:0},Z7={class:"video_message_preview"},Q7={class:"label_video_hover"},K7={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute left-2 top-2 size-6",style:{transform:"rotate(135deg)"}},J7={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute right-2 top-2 size-6",style:{transform:"rotate(-135deg)"}},e8={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute bottom-2 left-2 size-6",style:{transform:"rotate(45deg)"}},t8={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute bottom-2 right-2 size-6",style:{transform:"rotate(-45deg)"}},a8=["src"],n8={key:1},r8={key:6,class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},o8={key:7,class:"w-full px-4"},i8={key:8,class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},l8={key:0,class:"span_generic_files"},s8={class:"truncate"},c8={key:10,class:"flex flex-col w-full"},d8={key:0,class:"preview_audio_time"},To=qe({__name:"previewFiles",props:{base64:{type:String},mimetype:{type:String},mode:{type:String,default:"message"},fileName:{type:String},avatar:{type:[String,null],required:!0}},setup(e){const a=e,n=t.ref(null),r=t.ref(null),o=t.ref(0),i=async(u,m,c="")=>{a.mode!=="miniature"&&(d(m)?Ye.show([{type:"html",src:u,html:`
87
+ `,[a,n]}setOptions(a){if(this.options.container!==a.container){const n=this.parentFromOptionsContainer(a.container);n.appendChild(this.container),this.parent=n}a.dragToSeek!==!0&&typeof this.options.dragToSeek!="object"||this.initDrag(),this.options=a,this.reRender()}getWrapper(){return this.wrapper}getWidth(){return this.scrollContainer.clientWidth}getScroll(){return this.scrollContainer.scrollLeft}setScroll(a){this.scrollContainer.scrollLeft=a}setScrollPercentage(a){const{scrollWidth:n}=this.scrollContainer,r=n*a;this.setScroll(r)}destroy(){var a,n;this.subscriptions.forEach(r=>r()),this.container.remove(),(a=this.resizeObserver)===null||a===void 0||a.disconnect(),(n=this.unsubscribeOnScroll)===null||n===void 0||n.forEach(r=>r()),this.unsubscribeOnScroll=[]}createDelay(a=10){let n,r;const o=()=>{n&&clearTimeout(n),r&&r()};return this.timeouts.push(o),()=>new Promise((i,l)=>{o(),r=l,n=setTimeout(()=>{n=void 0,r=void 0,i()},a)})}convertColorValues(a){if(!Array.isArray(a))return a||"";if(a.length<2)return a[0]||"";const n=document.createElement("canvas"),r=n.getContext("2d"),o=n.height*(window.devicePixelRatio||1),i=r.createLinearGradient(0,0,0,o),l=1/(a.length-1);return a.forEach((s,d)=>{const p=d*l;i.addColorStop(p,s)}),i}getPixelRatio(){return Math.max(1,window.devicePixelRatio||1)}renderBarWaveform(a,n,r,o){const i=a[0],l=a[1]||a[0],s=i.length,{width:d,height:p}=r.canvas,u=p/2,m=this.getPixelRatio(),c=n.barWidth?n.barWidth*m:1,f=n.barGap?n.barGap*m:n.barWidth?c/2:0,h=n.barRadius||0,y=d/(c+f)/s,b=h&&"roundRect"in r?"roundRect":"rect";r.beginPath();let x=0,w=0,k=0;for(let B=0;B<=s;B++){const V=Math.round(B*y);if(V>x){const N=Math.round(w*u*o),A=N+Math.round(k*u*o)||1;let q=u-N;n.barAlign==="top"?q=0:n.barAlign==="bottom"&&(q=p-A),r[b](x*(c+f),q,c,A,h),x=V,w=0,k=0}const M=Math.abs(i[B]||0),E=Math.abs(l[B]||0);M>w&&(w=M),E>k&&(k=E)}r.fill(),r.closePath()}renderLineWaveform(a,n,r,o){const i=l=>{const s=a[l]||a[0],d=s.length,{height:p}=r.canvas,u=p/2,m=r.canvas.width/d;r.moveTo(0,u);let c=0,f=0;for(let h=0;h<=d;h++){const y=Math.round(h*m);if(y>c){const x=u+(Math.round(f*u*o)||1)*(l===0?-1:1);r.lineTo(c,x),c=y,f=0}const b=Math.abs(s[h]||0);b>f&&(f=b)}r.lineTo(c,u)};r.beginPath(),i(0),i(1),r.fill(),r.closePath()}renderWaveform(a,n,r){if(r.fillStyle=this.convertColorValues(n.waveColor),n.renderFunction)return void n.renderFunction(a,r);let o=n.barHeight||1;if(n.normalize){const i=Array.from(a[0]).reduce((l,s)=>Math.max(l,Math.abs(s)),0);o=i?1/i:1}n.barWidth||n.barGap||n.barAlign?this.renderBarWaveform(a,n,r,o):this.renderLineWaveform(a,n,r,o)}renderSingleCanvas(a,n,r,o,i,l,s){const d=this.getPixelRatio(),p=document.createElement("canvas");p.width=Math.round(r*d),p.height=Math.round(o*d),p.style.width=`${r}px`,p.style.height=`${o}px`,p.style.left=`${Math.round(i)}px`,l.appendChild(p);const u=p.getContext("2d");if(this.renderWaveform(a,n,u),p.width>0&&p.height>0){const m=p.cloneNode(),c=m.getContext("2d");c.drawImage(p,0,0),c.globalCompositeOperation="source-in",c.fillStyle=this.convertColorValues(n.progressColor),c.fillRect(0,0,p.width,p.height),s.appendChild(m)}}renderMultiCanvas(a,n,r,o,i,l){const s=this.getPixelRatio(),{clientWidth:d}=this.scrollContainer,p=r/s;let u=Math.min($o.MAX_CANVAS_WIDTH,d,p),m={};if(n.barWidth||n.barGap){const b=n.barWidth||.5,x=b+(n.barGap||b/2);u%x!=0&&(u=Math.floor(u/x)*x)}if(u===0)return;const c=b=>{if(b<0||b>=f||m[b])return;m[b]=!0;const x=b*u;let w=Math.min(p-x,u);if(n.barWidth||n.barGap){const B=n.barWidth||.5,V=B+(n.barGap||B/2);w=Math.floor(w/V)*V}if(w<=0)return;const k=a.map(B=>{const V=Math.floor(x/p*B.length),M=Math.floor((x+w)/p*B.length);return B.slice(V,M)});this.renderSingleCanvas(k,n,w,o,x,i,l)},f=Math.ceil(p/u);if(!this.isScrollable){for(let b=0;b<f;b++)c(b);return}const h=this.scrollContainer.scrollLeft/p,y=Math.floor(h*f);if(c(y-1),c(y),c(y+1),f>1){const b=this.on("scroll",()=>{const{scrollLeft:x}=this.scrollContainer,w=Math.floor(x/p*f);Object.keys(m).length>$o.MAX_NODES&&(i.innerHTML="",l.innerHTML="",m={}),c(w-1),c(w),c(w+1)});this.unsubscribeOnScroll.push(b)}}renderChannel(a,n,r,o){var{overlay:i}=n,l=function(u,m){var c={};for(var f in u)Object.prototype.hasOwnProperty.call(u,f)&&m.indexOf(f)<0&&(c[f]=u[f]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function"){var h=0;for(f=Object.getOwnPropertySymbols(u);h<f.length;h++)m.indexOf(f[h])<0&&Object.prototype.propertyIsEnumerable.call(u,f[h])&&(c[f[h]]=u[f[h]])}return c}(n,["overlay"]);const s=document.createElement("div"),d=this.getHeight(l.height,l.splitChannels);s.style.height=`${d}px`,i&&o>0&&(s.style.marginTop=`-${d}px`),this.canvasWrapper.style.minHeight=`${d}px`,this.canvasWrapper.appendChild(s);const p=s.cloneNode();this.progressWrapper.appendChild(p),this.renderMultiCanvas(a,l,r,d,s,p)}render(a){return pt(this,void 0,void 0,function*(){var n;this.timeouts.forEach(d=>d()),this.timeouts=[],this.canvasWrapper.innerHTML="",this.progressWrapper.innerHTML="",this.options.width!=null&&(this.scrollContainer.style.width=typeof this.options.width=="number"?`${this.options.width}px`:this.options.width);const r=this.getPixelRatio(),o=this.scrollContainer.clientWidth,i=Math.ceil(a.duration*(this.options.minPxPerSec||0));this.isScrollable=i>o;const l=this.options.fillParent&&!this.isScrollable,s=(l?o:i)*r;if(this.wrapper.style.width=l?"100%":`${i}px`,this.scrollContainer.style.overflowX=this.isScrollable?"auto":"hidden",this.scrollContainer.classList.toggle("noScrollbar",!!this.options.hideScrollbar),this.cursor.style.backgroundColor=`${this.options.cursorColor||this.options.progressColor}`,this.cursor.style.width=`${this.options.cursorWidth}px`,this.audioData=a,this.emit("render"),this.options.splitChannels)for(let d=0;d<a.numberOfChannels;d++){const p=Object.assign(Object.assign({},this.options),(n=this.options.splitChannels)===null||n===void 0?void 0:n[d]);this.renderChannel([a.getChannelData(d)],p,s,d)}else{const d=[a.getChannelData(0)];a.numberOfChannels>1&&d.push(a.getChannelData(1)),this.renderChannel(d,this.options,s,0)}Promise.resolve().then(()=>this.emit("rendered"))})}reRender(){if(this.unsubscribeOnScroll.forEach(r=>r()),this.unsubscribeOnScroll=[],!this.audioData)return;const{scrollWidth:a}=this.scrollContainer,{right:n}=this.progressWrapper.getBoundingClientRect();if(this.render(this.audioData),this.isScrollable&&a!==this.scrollContainer.scrollWidth){const{right:r}=this.progressWrapper.getBoundingClientRect();let o=r-n;o*=2,o=o<0?Math.floor(o):Math.ceil(o),o/=2,this.scrollContainer.scrollLeft+=o}}zoom(a){this.options.minPxPerSec=a,this.reRender()}scrollIntoView(a,n=!1){const{scrollLeft:r,scrollWidth:o,clientWidth:i}=this.scrollContainer,l=a*o,s=r,d=r+i,p=i/2;if(this.isDragging)l+30>d?this.scrollContainer.scrollLeft+=30:l-30<s&&(this.scrollContainer.scrollLeft-=30);else{(l<s||l>d)&&(this.scrollContainer.scrollLeft=l-(this.options.autoCenter?p:0));const u=l-r-p;n&&this.options.autoCenter&&u>0&&(this.scrollContainer.scrollLeft+=Math.min(u,10))}{const u=this.scrollContainer.scrollLeft,m=u/o,c=(u+i)/o;this.emit("scroll",m,c,u,u+i)}}renderProgress(a,n){if(isNaN(a))return;const r=100*a;this.canvasWrapper.style.clipPath=`polygon(${r}% 0%, 100% 0%, 100% 100%, ${r}% 100%)`,this.progressWrapper.style.width=`${r}%`,this.cursor.style.left=`${r}%`,this.cursor.style.transform=this.options.cursorWidth?`translateX(-${a*this.options.cursorWidth}px)`:"",this.isScrollable&&this.options.autoScroll&&this.scrollIntoView(a,n)}exportImage(a,n,r){return pt(this,void 0,void 0,function*(){const o=this.canvasWrapper.querySelectorAll("canvas");if(!o.length)throw new Error("No waveform data");if(r==="dataURL"){const i=Array.from(o).map(l=>l.toDataURL(a,n));return Promise.resolve(i)}return Promise.all(Array.from(o).map(i=>new Promise((l,s)=>{i.toBlob(d=>{d?l(d):s(new Error("Could not export image"))},a,n)})))})}};Do.MAX_CANVAS_WIDTH=8e3,Do.MAX_NODES=10;class V7 extends vn{constructor(){super(...arguments),this.unsubscribe=()=>{}}start(){this.unsubscribe=this.on("tick",()=>{requestAnimationFrame(()=>{this.emit("tick")})}),this.emit("tick")}stop(){this.unsubscribe()}destroy(){this.unsubscribe()}}class _o extends vn{constructor(a=new AudioContext){super(),this.bufferNode=null,this.playStartTime=0,this.playedDuration=0,this._muted=!1,this._playbackRate=1,this._duration=void 0,this.buffer=null,this.currentSrc="",this.paused=!0,this.crossOrigin=null,this.seeking=!1,this.autoplay=!1,this.addEventListener=this.on,this.removeEventListener=this.un,this.audioContext=a,this.gainNode=this.audioContext.createGain(),this.gainNode.connect(this.audioContext.destination)}load(){return pt(this,void 0,void 0,function*(){})}get src(){return this.currentSrc}set src(a){if(this.currentSrc=a,this._duration=void 0,!a)return this.buffer=null,void this.emit("emptied");fetch(a).then(n=>{if(n.status>=400)throw new Error(`Failed to fetch ${a}: ${n.status} (${n.statusText})`);return n.arrayBuffer()}).then(n=>this.currentSrc!==a?null:this.audioContext.decodeAudioData(n)).then(n=>{this.currentSrc===a&&(this.buffer=n,this.emit("loadedmetadata"),this.emit("canplay"),this.autoplay&&this.play())})}_play(){var a;if(!this.paused)return;this.paused=!1,(a=this.bufferNode)===null||a===void 0||a.disconnect(),this.bufferNode=this.audioContext.createBufferSource(),this.buffer&&(this.bufferNode.buffer=this.buffer),this.bufferNode.playbackRate.value=this._playbackRate,this.bufferNode.connect(this.gainNode);let n=this.playedDuration*this._playbackRate;(n>=this.duration||n<0)&&(n=0,this.playedDuration=0),this.bufferNode.start(this.audioContext.currentTime,n),this.playStartTime=this.audioContext.currentTime,this.bufferNode.onended=()=>{this.currentTime>=this.duration&&(this.pause(),this.emit("ended"))}}_pause(){var a;this.paused=!0,(a=this.bufferNode)===null||a===void 0||a.stop(),this.playedDuration+=this.audioContext.currentTime-this.playStartTime}play(){return pt(this,void 0,void 0,function*(){this.paused&&(this._play(),this.emit("play"))})}pause(){this.paused||(this._pause(),this.emit("pause"))}stopAt(a){const n=a-this.currentTime,r=this.bufferNode;r==null||r.stop(this.audioContext.currentTime+n),r==null||r.addEventListener("ended",()=>{r===this.bufferNode&&(this.bufferNode=null,this.pause())},{once:!0})}setSinkId(a){return pt(this,void 0,void 0,function*(){return this.audioContext.setSinkId(a)})}get playbackRate(){return this._playbackRate}set playbackRate(a){this._playbackRate=a,this.bufferNode&&(this.bufferNode.playbackRate.value=a)}get currentTime(){return(this.paused?this.playedDuration:this.playedDuration+(this.audioContext.currentTime-this.playStartTime))*this._playbackRate}set currentTime(a){const n=!this.paused;n&&this._pause(),this.playedDuration=a/this._playbackRate,n&&this._play(),this.emit("seeking"),this.emit("timeupdate")}get duration(){var a,n;return(a=this._duration)!==null&&a!==void 0?a:((n=this.buffer)===null||n===void 0?void 0:n.duration)||0}set duration(a){this._duration=a}get volume(){return this.gainNode.gain.value}set volume(a){this.gainNode.gain.value=a,this.emit("volumechange")}get muted(){return this._muted}set muted(a){this._muted!==a&&(this._muted=a,this._muted?this.gainNode.disconnect():this.gainNode.connect(this.audioContext.destination))}canPlayType(a){return/^(audio|video)\//.test(a)}getGainNode(){return this.gainNode}getChannelData(){const a=[];if(!this.buffer)return a;const n=this.buffer.numberOfChannels;for(let r=0;r<n;r++)a.push(this.buffer.getChannelData(r));return a}removeAttribute(a){switch(a){case"src":this.src="";break;case"playbackRate":this.playbackRate=0;break;case"currentTime":this.currentTime=0;break;case"duration":this.duration=0;break;case"volume":this.volume=0;break;case"muted":this.muted=!1}}}const N7={waveColor:"#999",progressColor:"#555",cursorWidth:1,minPxPerSec:0,fillParent:!0,interact:!0,dragToSeek:!1,autoScroll:!0,autoCenter:!0,sampleRate:8e3};class En extends A7{static create(a){return new En(a)}constructor(a){const n=a.media||(a.backend==="WebAudio"?new _o:void 0);super({media:n,mediaControls:a.mediaControls,autoplay:a.autoplay,playbackRate:a.audioRate}),this.plugins=[],this.decodedData=null,this.stopAtPosition=null,this.subscriptions=[],this.mediaSubscriptions=[],this.abortController=null,this.options=Object.assign({},N7,a),this.timer=new V7;const r=n?void 0:this.getMediaElement();this.renderer=new Do(this.options,r),this.initPlayerEvents(),this.initRendererEvents(),this.initTimerEvents(),this.initPlugins();const o=this.options.url||this.getSrc()||"";Promise.resolve().then(()=>{this.emit("init");const{peaks:i,duration:l}=this.options;(o||i&&l)&&this.load(o,i,l).catch(()=>null)})}updateProgress(a=this.getCurrentTime()){return this.renderer.renderProgress(a/this.getDuration(),this.isPlaying()),a}initTimerEvents(){this.subscriptions.push(this.timer.on("tick",()=>{if(!this.isSeeking()){const a=this.updateProgress();this.emit("timeupdate",a),this.emit("audioprocess",a),this.stopAtPosition!=null&&this.isPlaying()&&a>=this.stopAtPosition&&this.pause()}}))}initPlayerEvents(){this.isPlaying()&&(this.emit("play"),this.timer.start()),this.mediaSubscriptions.push(this.onMediaEvent("timeupdate",()=>{const a=this.updateProgress();this.emit("timeupdate",a)}),this.onMediaEvent("play",()=>{this.emit("play"),this.timer.start()}),this.onMediaEvent("pause",()=>{this.emit("pause"),this.timer.stop(),this.stopAtPosition=null}),this.onMediaEvent("emptied",()=>{this.timer.stop(),this.stopAtPosition=null}),this.onMediaEvent("ended",()=>{this.emit("timeupdate",this.getDuration()),this.emit("finish"),this.stopAtPosition=null}),this.onMediaEvent("seeking",()=>{this.emit("seeking",this.getCurrentTime())}),this.onMediaEvent("error",()=>{var a;this.emit("error",(a=this.getMediaElement().error)!==null&&a!==void 0?a:new Error("Media error")),this.stopAtPosition=null}))}initRendererEvents(){this.subscriptions.push(this.renderer.on("click",(a,n)=>{this.options.interact&&(this.seekTo(a),this.emit("interaction",a*this.getDuration()),this.emit("click",a,n))}),this.renderer.on("dblclick",(a,n)=>{this.emit("dblclick",a,n)}),this.renderer.on("scroll",(a,n,r,o)=>{const i=this.getDuration();this.emit("scroll",a*i,n*i,r,o)}),this.renderer.on("render",()=>{this.emit("redraw")}),this.renderer.on("rendered",()=>{this.emit("redrawcomplete")}),this.renderer.on("dragstart",a=>{this.emit("dragstart",a)}),this.renderer.on("dragend",a=>{this.emit("dragend",a)}));{let a;this.subscriptions.push(this.renderer.on("drag",n=>{if(!this.options.interact)return;let r;this.renderer.renderProgress(n),clearTimeout(a),this.isPlaying()?r=0:this.options.dragToSeek===!0?r=200:typeof this.options.dragToSeek=="object"&&this.options.dragToSeek!==void 0&&(r=this.options.dragToSeek.debounceTime),a=setTimeout(()=>{this.seekTo(n)},r),this.emit("interaction",n*this.getDuration()),this.emit("drag",n)}))}}initPlugins(){var a;!((a=this.options.plugins)===null||a===void 0)&&a.length&&this.options.plugins.forEach(n=>{this.registerPlugin(n)})}unsubscribePlayerEvents(){this.mediaSubscriptions.forEach(a=>a()),this.mediaSubscriptions=[]}setOptions(a){this.options=Object.assign({},this.options,a),a.duration&&!a.peaks&&(this.decodedData=sr.createBuffer(this.exportPeaks(),a.duration)),a.peaks&&a.duration&&(this.decodedData=sr.createBuffer(a.peaks,a.duration)),this.renderer.setOptions(this.options),a.audioRate&&this.setPlaybackRate(a.audioRate),a.mediaControls!=null&&(this.getMediaElement().controls=a.mediaControls)}registerPlugin(a){if(this.plugins.includes(a))return a;a._init(this),this.plugins.push(a);const n=a.once("destroy",()=>{this.plugins=this.plugins.filter(r=>r!==a),this.subscriptions=this.subscriptions.filter(r=>r!==n)});return this.subscriptions.push(n),a}unregisterPlugin(a){this.plugins=this.plugins.filter(n=>n!==a),a.destroy()}getWrapper(){return this.renderer.getWrapper()}getWidth(){return this.renderer.getWidth()}getScroll(){return this.renderer.getScroll()}setScroll(a){return this.renderer.setScroll(a)}setScrollTime(a){const n=a/this.getDuration();this.renderer.setScrollPercentage(n)}getActivePlugins(){return this.plugins}loadAudio(a,n,r,o){return pt(this,void 0,void 0,function*(){var i;if(this.emit("load",a),!this.options.media&&this.isPlaying()&&this.pause(),this.decodedData=null,this.stopAtPosition=null,!n&&!r){const s=this.options.fetchParams||{};window.AbortController&&!s.signal&&(this.abortController=new AbortController,s.signal=(i=this.abortController)===null||i===void 0?void 0:i.signal);const d=u=>this.emit("loading",u);n=yield B7.fetchBlob(a,d,s);const p=this.options.blobMimeType;p&&(n=new Blob([n],{type:p}))}this.setSrc(a,n);const l=yield new Promise(s=>{const d=o||this.getDuration();d?s(d):this.mediaSubscriptions.push(this.onMediaEvent("loadedmetadata",()=>s(this.getDuration()),{once:!0}))});if(!a&&!n){const s=this.getMediaElement();s instanceof _o&&(s.duration=l)}if(r)this.decodedData=sr.createBuffer(r,l||0);else if(n){const s=yield n.arrayBuffer();this.decodedData=yield sr.decode(s,this.options.sampleRate)}this.decodedData&&(this.emit("decode",this.getDuration()),this.renderer.render(this.decodedData)),this.emit("ready",this.getDuration())})}load(a,n,r){return pt(this,void 0,void 0,function*(){try{return yield this.loadAudio(a,void 0,n,r)}catch(o){throw this.emit("error",o),o}})}loadBlob(a,n,r){return pt(this,void 0,void 0,function*(){try{return yield this.loadAudio("",a,n,r)}catch(o){throw this.emit("error",o),o}})}zoom(a){if(!this.decodedData)throw new Error("No audio loaded");this.renderer.zoom(a),this.emit("zoom",a)}getDecodedData(){return this.decodedData}exportPeaks({channels:a=2,maxLength:n=8e3,precision:r=1e4}={}){if(!this.decodedData)throw new Error("The audio has not been decoded yet");const o=Math.min(a,this.decodedData.numberOfChannels),i=[];for(let l=0;l<o;l++){const s=this.decodedData.getChannelData(l),d=[],p=s.length/n;for(let u=0;u<n;u++){const m=s.slice(Math.floor(u*p),Math.ceil((u+1)*p));let c=0;for(let f=0;f<m.length;f++){const h=m[f];Math.abs(h)>Math.abs(c)&&(c=h)}d.push(Math.round(c*r)/r)}i.push(d)}return i}getDuration(){let a=super.getDuration()||0;return a!==0&&a!==1/0||!this.decodedData||(a=this.decodedData.duration),a}toggleInteraction(a){this.options.interact=a}setTime(a){this.stopAtPosition=null,super.setTime(a),this.updateProgress(a),this.emit("timeupdate",a)}seekTo(a){const n=this.getDuration()*a;this.setTime(n)}play(a,n){const r=Object.create(null,{play:{get:()=>super.play}});return pt(this,void 0,void 0,function*(){a!=null&&this.setTime(a);const o=yield r.play.call(this);return n!=null&&(this.media instanceof _o?this.media.stopAt(n):this.stopAtPosition=n),o})}playPause(){return pt(this,void 0,void 0,function*(){return this.isPlaying()?this.pause():this.play()})}stop(){this.pause(),this.setTime(0)}skip(a){this.setTime(this.getCurrentTime()+a)}empty(){this.load("",[[0]],.001)}setMediaElement(a){this.unsubscribePlayerEvents(),super.setMediaElement(a),this.initPlayerEvents()}exportImage(){return pt(this,arguments,void 0,function*(a="image/png",n=1,r="dataURL"){return this.renderer.exportImage(a,n,r)})}destroy(){var a;this.emit("destroy"),(a=this.abortController)===null||a===void 0||a.abort(),this.plugins.forEach(n=>n.destroy()),this.subscriptions.forEach(n=>n()),this.unsubscribePlayerEvents(),this.timer.destroy(),this.renderer.destroy(),super.destroy()}}En.BasePlugin=class extends vn{constructor(e){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=e}onInit(){}_init(e){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=e,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach(e=>e()),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}},En.dom=M7;const D7={components:{Avatar:mo},props:{audio:{type:String,required:!0},avatar:{type:[String,null],required:!0},isOwner:{type:Boolean}},emits:["duration","currentTime"],data(){return{wavesurfer:null,audioData:null,isPlaying:!1,duration:0,currentTime:0,isLoading:!0,playbackRate:1}},watch:{audio(e){this.loadAudio(e)}},mounted(){this.wavesurfer=En.create({container:this.$refs.waveform,progressColor:"#AFAFAF",height:70,cursorWidth:14,cursorColor:"#fff",barWidth:4,barRadius:30,barHeight:.7,barGap:3,hideScrollbar:!0}),this.wavesurfer.on("ready",()=>{this.duration=this.wavesurfer.getDuration(),this.$emit("duration",this.duration),this.isLoading=!1}),this.wavesurfer.on("play",()=>{this.isPlaying=!0}),this.wavesurfer.on("pause",()=>{this.isPlaying=!1}),this.wavesurfer.on("finish",()=>{this.isPlaying=!1}),this.wavesurfer.on("audioprocess",()=>{this.currentTime=this.wavesurfer.getCurrentTime(),this.$emit("currentTime",this.currentTime)}),this.loadAudio(this.audio)},methods:{changeValue(){this.playbackRate===2?this.playbackRate=1:this.playbackRate+=.5,this.changePlaybackRate()},changePlaybackRate(){this.wavesurfer.setPlaybackRate(this.playbackRate)},loadAudio(e){if(this.isBase64(e)){const a=this.base64ToBlob(e);this.wavesurfer.loadBlob(a)}else this.wavesurfer.load(e)},isBase64(e){try{return btoa(atob(e))==e}catch{return!1}},base64ToBlob(e){const a=atob(e),n=new Array(a.length);for(let o=0;o<a.length;o++)n[o]=a.charCodeAt(o);const r=new Uint8Array(n);return new Blob([r],{type:"audio/mp3"})},playPause(){this.wavesurfer.playPause()}}},_7={class:"flex size-full min-w-[220px] select-none items-center justify-center space-x-2 pr-2 text-gray-200 dark:text-gray-700"},T7={key:0,class:"w-20"},P7={class:"fade relative"},O7={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-8 fill-current"},F7={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-10"},L7={class:"flex h-20 w-full items-center justify-center text-center"},$7={key:0,class:"loader-dots relative mx-auto flex h-5 w-full items-center justify-center"},H7={id:"waveform",ref:"waveform",style:{display:"block"},class:"w-full"},R7={key:1,class:"w-24 pl-3"},z7={class:"fade relative"};function I7(e,a,n,r,o,i){const l=t.resolveComponent("Avatar");return t.openBlock(),t.createElementBlock("div",_7,[n.isOwner?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("section",T7,[t.withDirectives(t.createElementVNode("main",P7,[t.createVNode(l,{url:n.avatar,class:"xl:size-[50px]"},null,8,["url"]),a[3]||(a[3]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"absolute -bottom-1 -right-1 w-5 rounded-full bg-emerald-500 p-1 text-white"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z"})],-1))],512),[[t.vShow,!o.isPlaying]]),t.withDirectives(t.createElementVNode("div",{class:"fade header relative flex size-12 cursor-pointer items-center justify-center rounded-full border-2 border-light dark:border-light",onClick:a[0]||(a[0]=(...s)=>i.changeValue&&i.changeValue(...s))},[t.createTextVNode(t.toDisplayString(o.playbackRate.toFixed(1))+"x ",1),a[4]||(a[4]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"absolute bottom-[-11px] left-[28px] w-5 rounded-full bg-emerald-500 p-[4px] text-white",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M12.5 4a.5.5 0 0 0-1 0v3.248L5.233 3.612C4.693 3.3 4 3.678 4 4.308v7.384c0 .63.692 1.01 1.233.697L11.5 8.753V12a.5.5 0 0 0 1 0V4z"})],-1))],512),[[t.vShow,o.isPlaying]])])),t.createElementVNode("button",{class:"",onClick:a[1]||(a[1]=(...s)=>i.playPause&&i.playPause(...s))},[o.isPlaying?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("svg",O7,a[5]||(a[5]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.348a1.125 1.125 0 010 1.971l-11.54 6.347a1.125 1.125 0 01-1.667-.985V5.653z"},null,-1)]))),o.isPlaying?(t.openBlock(),t.createElementBlock("svg",F7,a[6]||(a[6]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25v13.5m-7.5-13.5v13.5"},null,-1)]))):t.createCommentVNode("",!0)]),t.createElementVNode("section",L7,[o.isLoading?(t.openBlock(),t.createElementBlock("div",$7,a[7]||(a[7]=[t.createElementVNode("div",{class:"absolute ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1),t.createElementVNode("div",{class:"absolute top-0 ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1),t.createElementVNode("div",{class:"absolute top-0 ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1),t.createElementVNode("div",{class:"absolute top-0 ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1)]))):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",H7,null,512),[[t.vShow,!o.isLoading]])]),n.isOwner?(t.openBlock(),t.createElementBlock("section",R7,[t.withDirectives(t.createElementVNode("main",z7,[t.createVNode(l,{url:n.avatar,class:"xl:size-[50px]"},null,8,["url"]),a[8]||(a[8]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"absolute -bottom-2 -left-2 w-7 rounded-full bg-emerald-500 p-1 text-white"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z"})],-1))],512),[[t.vShow,!o.isPlaying]]),t.withDirectives(t.createElementVNode("div",{class:"fade header relative flex size-12 cursor-pointer items-center justify-center rounded-full border-2 border-light dark:border-light",onClick:a[2]||(a[2]=(...s)=>i.changeValue&&i.changeValue(...s))},[t.createTextVNode(t.toDisplayString(o.playbackRate.toFixed(1))+"x ",1),a[9]||(a[9]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"absolute bottom-[-10px] right-[26px] w-7 rounded-full bg-emerald-500 p-[4px] text-white",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M12.5 4a.5.5 0 0 0-1 0v3.248L5.233 3.612C4.693 3.3 4 3.678 4 4.308v7.384c0 .63.692 1.01 1.233.697L11.5 8.753V12a.5.5 0 0 0 1 0V4z"})],-1))],512),[[t.vShow,o.isPlaying]])])):t.createCommentVNode("",!0)])}const W1=qe(D7,[["render",I7]]),G7=["src"],j7={key:1,class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},q7=["src"],W7=["src"],Y7=["src"],U7=["src","type"],X7={key:0},Z7={class:"video_message_preview"},Q7={class:"label_video_hover"},K7={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute left-2 top-2 size-6",style:{transform:"rotate(135deg)"}},J7={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute right-2 top-2 size-6",style:{transform:"rotate(-135deg)"}},e8={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute bottom-2 left-2 size-6",style:{transform:"rotate(45deg)"}},t8={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute bottom-2 right-2 size-6",style:{transform:"rotate(-45deg)"}},a8=["src"],n8={key:1},r8={key:6,class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},o8={key:7,class:"w-full px-4"},i8={key:8,class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},l8={key:0,class:"span_generic_files"},s8={class:"truncate"},c8={key:10,class:"flex flex-col w-full"},d8={key:0,class:"preview_audio_time"},To=qe({__name:"previewFiles",props:{base64:{type:String},mimetype:{type:String},mode:{type:String,default:"message"},fileName:{type:String},avatar:{type:[String,null],required:!0}},setup(e){const a=e,n=t.ref(null),r=t.ref(null),o=t.ref(0),i=async(u,m,c="")=>{a.mode!=="miniature"&&(d(m)?Ye.show([{type:"html",src:u,html:`
88
88
  <video controls autoplay style="width:100%;height:auto;max-height:80vh">
89
89
  <source src="${u}" type="${m}" />
90
90
  Seu navegador não suporta vídeo.
91
91
  </video>
92
- `,caption:c}]):Ye.show([{src:u,type:"image",caption:c}]))};function l(u,m=1){return new Promise((c,f)=>{const h=document.createElement("video");h.src=u,h.crossOrigin="anonymous",h.muted=!0,h.playsInline=!0,h.preload="auto",h.addEventListener("loadeddata",()=>{h.readyState>=2&&(h.currentTime=m)}),h.addEventListener("seeked",()=>{const y=document.createElement("canvas");y.width=h.videoWidth,y.height=h.videoHeight,y.getContext("2d").drawImage(h,0,0,y.width,y.height);const x=y.toDataURL("image/png");c(x)}),h.addEventListener("error",y=>{f("Erro ao carregar vídeo para thumbnail.")})})}const s=u=>typeof u=="string"&&u.startsWith("data:")&&u.includes(";base64,"),d=u=>u?u.startsWith("video/"):void 0,p=u=>{const m=Math.floor(u/60),c=(u%60).toFixed(0),f=m.toString().padStart(2,"0"),h=c.toString().padStart(2,"0");return`${f}:${h}`};return t.onMounted(async()=>{try{n.value=await l(a.base64)}catch(u){console.error(u)}}),(u,m)=>(t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass({main_preview_files_container_message:e.mode==="message",main_preview_files_container_miniature:e.mode==="miniature",main_preview_files_container_preview:e.mode==="preview"})},[e.mimetype==="application/pdf"&&e.mode!=="miniature"?(t.openBlock(),t.createElementBlock("iframe",{key:0,class:"iframe_preview_files",src:e.base64,frameborder:"0"},null,8,G7)):e.mimetype==="application/pdf"&&e.mode==="miniature"?(t.openBlock(),t.createElementBlock("svg",j7,m[6]||(m[6]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2 2 2 0 0 0 2 2h12a2 2 0 0 0 2-2 2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2V4a2 2 0 0 0-2-2h-7Zm-6 9a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-1h.5a2.5 2.5 0 0 0 0-5H5Zm1.5 3H6v-1h.5a.5.5 0 0 1 0 1Zm4.5-3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1.376A2.626 2.626 0 0 0 15 15.375v-1.75A2.626 2.626 0 0 0 12.375 11H11Zm1 5v-3h.375a.626.626 0 0 1 .625.626v1.748a.625.625 0 0 1-.626.626H12Zm5-5a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-1h1a1 1 0 1 0 0-2h-1v-1h1a1 1 0 1 0 0-2h-2Z","clip-rule":"evenodd"},null,-1)]))):e.mimetype==="image/png"||e.mimetype==="image/jpeg"?(t.openBlock(),t.createElementBlock("img",{key:2,onClick:m[0]||(m[0]=c=>i(e.base64,e.mimetype)),class:t.normalizeClass(["preview_img",e.mode]),src:e.base64},null,10,q7)):e.mimetype==="image/svg+xml"?(t.openBlock(),t.createElementBlock("img",{key:3,onClick:m[1]||(m[1]=c=>i(e.base64,e.mimetype)),class:t.normalizeClass(["preview_img",e.mode]),src:s(e.base64)?e.base64:e.base64.replace("+","%2B")},null,10,W7)):d(e.mimetype)&&e.mode==="preview"?(t.openBlock(),t.createElementBlock("video",{key:4,width:"300",height:"150",controls:"",src:e.base64},[t.createElementVNode("source",{src:e.base64,type:e.mimetype},null,8,U7)],8,Y7)):d(e.mimetype)&&e.mode==="message"?(t.openBlock(),t.createElementBlock("button",{key:5,onClick:m[2]||(m[2]=c=>i(e.base64,e.mimetype)),class:"video_message_preview_container"},[n.value?(t.openBlock(),t.createElementBlock("section",X7,[t.createElementVNode("div",Z7,[m[11]||(m[11]=t.createElementVNode("svg",{class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.6 5.2A1 1 0 0 0 7 6v12a1 1 0 0 0 1.6.8l8-6a1 1 0 0 0 0-1.6l-8-6Z","clip-rule":"evenodd"})],-1)),t.createElementVNode("div",Q7,[(t.openBlock(),t.createElementBlock("svg",K7,m[7]||(m[7]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",J7,m[8]||(m[8]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",e8,m[9]||(m[9]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",t8,m[10]||(m[10]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)])))])]),t.createElementVNode("img",{class:t.normalizeClass(["preview_img",e.mode]),src:n.value},null,10,a8)])):(t.openBlock(),t.createElementBlock("span",n8,"Carregando..."))])):d(e.mimetype)&&e.mode==="miniature"?(t.openBlock(),t.createElementBlock("svg",r8,m[12]||(m[12]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M14 7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7Zm2 9.387 4.684 1.562A1 1 0 0 0 22 17V7a1 1 0 0 0-1.316-.949L16 7.613v8.774Z","clip-rule":"evenodd"},null,-1)]))):e.mimetype==="audio/mpeg"&&e.mode!=="miniature"||e.mimetype==="application/octet-stream"&&e.mode!=="miniature"?(t.openBlock(),t.createElementBlock("section",o8,[t.createVNode(W1,{avatar:e.avatar,audio:e.base64,onDuration:m[3]||(m[3]=c=>r.value=c),onCurrentTime:m[4]||(m[4]=c=>o.value=c)},null,8,["avatar","audio"])])):e.mimetype==="audio/mpeg"&&e.mode==="miniature"?(t.openBlock(),t.createElementBlock("svg",i8,m[13]||(m[13]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M5 8a1 1 0 0 1 1 1v3a4.006 4.006 0 0 0 4 4h4a4.006 4.006 0 0 0 4-4V9a1 1 0 1 1 2 0v3.001A6.006 6.006 0 0 1 14.001 18H13v2h2a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h2v-2H9.999A6.006 6.006 0 0 1 4 12.001V9a1 1 0 0 1 1-1Z","clip-rule":"evenodd"},null,-1),t.createElementVNode("path",{d:"M7 6a4 4 0 0 1 4-4h2a4 4 0 0 1 4 4v5a4 4 0 0 1-4 4h-2a4 4 0 0 1-4-4V6Z"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",{key:9,class:t.normalizeClass(e.mode==="message"?"generic_files":"")},[m[14]||(m[14]=t.createElementVNode("div",null,[t.createElementVNode("svg",{class:"size-8 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-7Z","clip-rule":"evenodd"})])],-1)),e.mode==="message"?(t.openBlock(),t.createElementBlock("span",l8,[t.createElementVNode("p",s8,t.toDisplayString(e.fileName),1),t.createElementVNode("button",{class:"download_btn_generic_files",onClick:m[5]||(m[5]=c=>u.$emit("download"))}," Baixar arquivo ")])):t.createCommentVNode("",!0)],2)),e.mode==="message"?(t.openBlock(),t.createElementBlock("div",c8,[t.renderSlot(u.$slots,"content-message",{},void 0,!0),t.createElementVNode("div",{class:t.normalizeClass([r.value?"justify-between":" justify-end","flex w-full"])},[r.value?(t.openBlock(),t.createElementBlock("p",d8,t.toDisplayString(p(r.value))+" - "+t.toDisplayString(o.value?p(o.value):"00:00"),1)):t.createCommentVNode("",!0),t.renderSlot(u.$slots,"time-message",{},void 0,!0)],2)])):t.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-c4865e51"]]),u8={props:{audioStream:MediaStream},data(){return{audioContext:null,analyser:null}},mounted(){this.initializeAudio()},methods:{initializeAudio(){this.audioContext=new(window.AudioContext||window.webkitAudioContext),this.analyser=this.audioContext.createAnalyser();const e=this.$refs.canvas,a=e.getContext("2d");this.audioContext.createMediaStreamSource(this.audioStream).connect(this.analyser),this.analyser.fftSize=256;const r=this.analyser.frequencyBinCount,o=new Uint8Array(r),i=()=>{this.analyser.getByteFrequencyData(o),a.clearRect(0,0,e.width,e.height);const l=e.width/r*2.5,s=e.height/2;let d=0;a.strokeStyle="green",a.lineWidth=2,a.beginPath(),a.moveTo(0,s),a.lineTo(e.width,s),a.stroke(),o.forEach(p=>{const u=p;a.fillStyle=`rgb(50, ${u+100}, 50)`,a.fillRect(d,s-u/2,l,u),d+=l+1}),this.audioStream.active&&requestAnimationFrame(i)};i()}}},m8={ref:"canvas",width:"200",height:"40",class:"mx-auto flex items-center rounded"};function f8(e,a,n,r,o,i){return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("canvas",m8,null,512)])}const h8=qe(u8,[["render",f8],["__scopeId","data-v-d91f4ade"]]),p8={key:0,class:"flex w-full items-center space-x-3 text-white dark:text-black"},g8=["disabled"],y8=["disabled"],k8={key:0,class:"size-4 hover:text-red-500","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 10 16"},x8={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-5 hover:text-emerald-500"},b8={key:5,class:"flex w-full items-center space-x-2"},w8={class:"text-xs"},v8={key:0},E8={key:1,class:"flex items-center px-2 pr-[21px]"},C8=qe({__name:"audioRecorder",props:{canSendMessage:Boolean,sendAudioToAttendant:{type:Function,required:!0},selectedAttendant:{type:Object,required:!0},attendant:{required:!0}},emits:["audio-sent","recording","b64Audio"],setup(e,{emit:a}){const n=e,r=a,o=t.ref(null),i=t.ref(!1),l=t.ref(!1),s=t.ref(0),d=t.ref(0),p=t.ref(null),u=t.ref(null),m=t.ref(null),c=t.ref(null),f=t.ref(0),h=t.ref(0),y=t.ref(null),b=t.ref(!1),x=t.ref(!1),w=J=>{f.value=J},k=J=>{h.value=J},B=J=>{const S=Math.floor(J/60),G=(J%60).toFixed(0),j=S.toString().padStart(2,"0"),Y=G.toString().padStart(2,"0");return`${j}:${Y}`},V=async()=>{try{u.value=null,c.value=await navigator.mediaDevices.getUserMedia({audio:!0}),o.value=new MediaRecorder(c.value),o.value.ondataavailable=M,o.value.start(),E(),i.value=!0,r("recording",!0)}catch(J){console.error("Erro ao iniciar a gravação:",J)}},M=J=>{J.data.size>0&&!b.value&&(p.value=new Blob([J.data]),y.value=URL.createObjectURL(p.value),L())},E=()=>{let J=Date.now();m.value=setInterval(()=>{s.value=d.value+Math.floor((Date.now()-J)/1e3)},1e3)},N=async()=>{u.value=null,o.value&&i.value&&(l.value?(o.value.resume(),E()):(o.value.pause(),clearInterval(m.value),d.value=s.value),l.value=!l.value)},A=async()=>{o.value&&i.value&&(await o.value.stop(),clearInterval(m.value),i.value=!1,l.value=!1,L()),c.value&&c.value.getTracks().forEach(J=>J.stop()),console.log(u.value)},L=async()=>{if(p.value){const J=new Blob([p.value],{type:"audio/mpeg"}),S=new FileReader;S.onload=()=>{u.value=S.result},S.readAsDataURL(J)}},H=async()=>{x.value=!0,r("b64Audio",u.value);const S={type:"file",media:{name:"audio",mimetype:(G=>G?G.split(";")[0].split(":")[1]:null)(u.value),data:u.value}};await n.sendAudioToAttendant(n.selectedAttendant.id,S,n.attendant,!0),r("recording",!1),x.value=!1,c.value=null,u.value=null,p.value=null,i.value=!1,l.value=!1,s.value=0},Q=async()=>{b.value=!0,i.value=!1,r("recording",!1),await o.value.stop(),c.value&&(c.value.getTracks().forEach(J=>J.stop()),c.value=null),p.value=null,clearInterval(m.value),u.value=null,l.value=!1,s.value=0};return(J,S)=>{var G;return x.value?(t.openBlock(),t.createElementBlock("div",E8," loading ")):(t.openBlock(),t.createElementBlock("div",p8,[!i.value&&!u.value?(t.openBlock(),t.createElementBlock("button",{key:0,class:t.normalizeClass(["send-audio-button",{recording:i.value}]),disabled:i.value||!e.canSendMessage,onClick:S[0]||(S[0]=j=>(V(),d.value=0,b.value=!1))},S[3]||(S[3]=[t.createElementVNode("svg",{class:"start-recording-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 19"},[t.createElementVNode("path",{d:"M15 5a1 1 0 0 0-1 1v3a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V6a1 1 0 0 0-2 0v3a6.006 6.006 0 0 0 6 6h1v2H5a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H9v-2h1a6.006 6.006 0 0 0 6-6V6a1 1 0 0 0-1-1Z"}),t.createElementVNode("path",{d:"M9 0H7a3 3 0 0 0-3 3v5a3 3 0 0 0 3 3h2a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3Z"})],-1)]),10,g8)):t.createCommentVNode("",!0),c.value?(t.openBlock(),t.createElementBlock("button",{key:1,class:"rounded-full bg-red-500 p-1.5 hover:bg-red-600",onClick:S[1]||(S[1]=j=>Q())},S[4]||(S[4]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-4"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})],-1)]))):t.createCommentVNode("",!0),i.value?(t.openBlock(),t.createElementBlock("button",{key:2,disabled:!i.value&&!l.value,onClick:N},[l.value?(t.openBlock(),t.createElementBlock("svg",x8,S[6]||(S[6]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 7.5V18M15 7.5V18M3 16.811V8.69c0-.864.933-1.406 1.683-.977l7.108 4.061a1.125 1.125 0 010 1.954l-7.108 4.061A1.125 1.125 0 013 16.811z"},null,-1)]))):(t.openBlock(),t.createElementBlock("svg",k8,S[5]||(S[5]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M0 .8C0 .358.32 0 .714 0h1.429c.394 0 .714.358.714.8v14.4c0 .442-.32.8-.714.8H.714a.678.678 0 0 1-.505-.234A.851.851 0 0 1 0 15.2V.8Zm7.143 0c0-.442.32-.8.714-.8h1.429c.19 0 .37.084.505.234.134.15.209.354.209.566v14.4c0 .442-.32.8-.714.8H7.857c-.394 0-.714-.358-.714-.8V.8Z","clip-rule":"evenodd"},null,-1)])))],8,y8)):t.createCommentVNode("",!0),(i.value||p.value)&&!u.value?(t.openBlock(),t.createElementBlock("button",{key:3,class:"rounded-full p-1.5 hover:bg-gray-100 hover:text-light",onClick:A},S[7]||(S[7]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-4"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 7.5A2.25 2.25 0 017.5 5.25h9a2.25 2.25 0 012.25 2.25v9a2.25 2.25 0 01-2.25 2.25h-9a2.25 2.25 0 01-2.25-2.25v-9z"})],-1)]))):t.createCommentVNode("",!0),c.value&&i.value&&!l.value?(t.openBlock(),t.createBlock(h8,{key:4,"audio-stream":c.value},null,8,["audio-stream"])):t.createCommentVNode("",!0),u.value?(t.openBlock(),t.createElementBlock("div",b8,[t.createVNode(W1,{avatar:((G=e.attendant)==null?void 0:G.photo)||null,audio:u.value,onDuration:w,onCurrentTime:k},null,8,["avatar","audio"]),t.createElementVNode("main",w8,[t.createElementVNode("div",null,t.toDisplayString(B(h.value)),1),i.value||p.value?(t.openBlock(),t.createElementBlock("div",v8,t.toDisplayString(B(s.value)),1)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),u.value?(t.openBlock(),t.createElementBlock("button",{key:6,class:"rounded-full p-2 hover:bg-gray-100 hover:text-light",onClick:S[2]||(S[2]=j=>H())},S[8]||(S[8]=[t.createElementVNode("svg",{class:"size-5 text-white rotate-90","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2a1 1 0 0 1 .932.638l7 18a1 1 0 0 1-1.326 1.281L13 19.517V13a1 1 0 1 0-2 0v6.517l-5.606 2.402a1 1 0 0 1-1.326-1.281l7-18A1 1 0 0 1 12 2Z","clip-rule":"evenodd"})],-1)]))):t.createCommentVNode("",!0)]))}}},[["__scopeId","data-v-c93ae063"]]),S8={class:"messages-container bg-base-300"},M8={class:"header-intern bg-base-300"},B8={class:"atendente-name"},A8={key:0,class:"date-separator bg-base-100/50"},V8={class:"date-separator-text"},N8={key:0,class:"dropdown-container-internal-messages"},_8=["onClick"],D8={key:0},T8={class:"message-time"},P8={key:1},O8={class:"message-time"},F8={class:"input-area"},Y1=qe({__name:"ChatMessages",props:{selectedAtendente:{type:Object,required:!0},attendant:{required:!0},loadMessagesForAtendente:{type:Function,required:!0},sendMessageToAtendente:{type:Function,required:!0},hasNextPageForAtendente:{type:Function,required:!0}},emits:["send-files","voltar"],setup(e,{emit:a}){const n=e,r=a,o=t.ref(""),i=t.ref(null),l=t.ref(!1),s=t.ref(!1),d=t.ref(!1),p=t.computed(()=>{var M;return((M=n.selectedAtendente)==null?void 0:M.messages)||[]}),u=t.computed(()=>n.hasNextPageForAtendente(n.selectedAtendente.id)),m=M=>{const E=new Date(M),N=E.getHours(),A=E.getMinutes();return`${N.toString().padStart(2,"0")}:${A.toString().padStart(2,"0")}`},c=M=>{const E=new Date(M);return F6(E)?"Hoje":$6(E)?"Ontem":O6(E)?l1(E,"EEEE",{locale:s1}):l1(E,"dd 'de' MMMM 'de' yyyy",{locale:s1})},f=M=>{if(M===0)return!0;const E=new Date(p.value[M].created_at),N=new Date(p.value[M-1].created_at);return E.toDateString()!==N.toDateString()},h=M=>{M.key==="Enter"&&!M.shiftKey&&(M.preventDefault(),x())},y=()=>{i.value&&i.value.scrollTo({top:i.value.scrollHeight,behavior:"instant"})},b=async M=>{try{if(!u.value){M.complete();return}const E=i.value.scrollHeight,N=i.value.scrollTop;await n.loadMessagesForAtendente(n.selectedAtendente.id),await t.nextTick(),i.value.scrollTop=i.value.scrollHeight-E+N-32,M.loaded()}catch(E){console.error(E),M.complete()}},x=async()=>{if(o.value.trim()!=="")try{const M=JSON.parse(JSON.stringify(o.value));o.value="",await n.sendMessageToAtendente(n.selectedAtendente.id,M,n.attendant),await t.nextTick(),y()}catch(M){console.error("Erro ao enviar mensagem:",M)}},w=()=>{x();const M=document.querySelector(".send-button");M.classList.add("clicked"),setTimeout(()=>{M.classList.remove("clicked")},200)},k=()=>{r("send-files");const M=document.querySelector(".send-files-button");M.classList.add("clicked"),setTimeout(()=>{M.classList.remove("clicked")},200)};t.onMounted(async()=>{await t.nextTick(()=>{y(),l.value=!0})}),t.watch(()=>{var M;return(M=p.value)==null?void 0:M.length},(M,E)=>{p.value&&B()&&setTimeout(()=>{i.value.scrollTo({top:i.value.scrollHeight,behavior:"instant"})},100)});function B(){const E=i.value.scrollTop+i.value.clientHeight;return i.value.scrollHeight-E<=80}const V=async(M,E="undefined")=>{console.log(M);const N=M.endsWith("svg+xml");try{const A=await fetch(N?M.replace("+","%2B"):M);if(!A.ok)throw new Error("Erro ao baixar o arquivo",console.log(A));const L=await A.blob(),H=window.URL.createObjectURL(L),Q=document.createElement("a");Q.href=H,Q.download=E,document.body.appendChild(Q),Q.click(),document.body.removeChild(Q),window.URL.revokeObjectURL(H)}catch(A){console.error("Erro no download:",A)}};return(M,E)=>{const N=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("div",S8,[t.createElementVNode("div",M8,[t.createElementVNode("button",{onClick:E[0]||(E[0]=A=>r("voltar")),class:"back-button"},E[3]||(E[3]=[t.createElementVNode("svg",{class:"w-6 h-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{d:"M14.502 7.046h-2.5v-.928a2.122 2.122 0 0 0-1.199-1.954 1.827 1.827 0 0 0-1.984.311L3.71 8.965a2.2 2.2 0 0 0 0 3.24L8.82 16.7a1.829 1.829 0 0 0 1.985.31 2.121 2.121 0 0 0 1.199-1.959v-.928h1a2.025 2.025 0 0 1 1.999 2.047V19a1 1 0 0 0 1.275.961 6.59 6.59 0 0 0 4.662-7.22 6.593 6.593 0 0 0-6.437-5.695Z"})],-1)])),t.createVNode(mo,{url:e.selectedAtendente.photo},null,8,["url"]),t.createElementVNode("h3",B8,t.toDisplayString(e.selectedAtendente.name),1)]),t.createElementVNode("div",{class:"message-area",ref_key:"chatArea",ref:i},[!d.value&&u.value&&l.value?(t.openBlock(),t.createBlock(t.unref(fo),{key:0,onInfinite:b,distance:30,top:!0,direction:"top",class:"p-3"},{complete:t.withCtx(()=>E[4]||(E[4]=[t.createElementVNode("span",null,null,-1)])),spinner:t.withCtx(()=>E[5]||(E[5]=[t.createElementVNode("div",{class:"loading"},[t.createElementVNode("svg",{class:"spinner",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})])],-1)])),_:1})):t.createCommentVNode("",!0),t.createElementVNode("div",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(p.value,(A,L)=>(t.openBlock(),t.createElementBlock("div",{key:L},[f(L)?(t.openBlock(),t.createElementBlock("div",A8,[E[6]||(E[6]=t.createElementVNode("div",{class:"date-separator-line"},null,-1)),t.createElementVNode("div",V8,t.toDisplayString(c(A.created_at)),1),E[7]||(E[7]=t.createElementVNode("div",{class:"date-separator-line"},null,-1))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["message",{me:A.sender.id===e.attendant.id,"not-me":A.sender.id!==e.attendant.id,"new-message":L===p.value.length-1}])},[t.createElementVNode("div",{class:t.normalizeClass(["relative",A.sender.id===e.attendant.id?"text-right":"text-left"])},[A.content&&A.content.media&&A.content.media.data?(t.openBlock(),t.createElementBlock("div",N8,[t.createVNode(N,{hover:"",class:"label-popper-internal-messages",placement:"left"},{content:t.withCtx(()=>[t.createElementVNode("button",{class:"download-button-internal-messages",onClick:H=>V(A.content.media.data,A.content.media.name)}," Baixar ",8,_8)]),default:t.withCtx(()=>[E[8]||(E[8]=t.createElementVNode("button",{class:"dropdown-toggle-internal-messages"},[t.createElementVNode("svg",{class:"dropdown-icon-internal-messages","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 9-7 7-7-7"})])],-1))]),_:2,__:[8]},1024)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["shadow shadow-gray-900 dark:shadow-gray-500",["message-content",{me:A.sender.id===e.attendant.id,"not-me":A.sender.id!==e.attendant.id}]])},[A.content&&A.content.media&&A.content.media.data?(t.openBlock(),t.createElementBlock("section",D8,[t.createVNode(To,{mode:"message",onDownload:H=>V(A.content.media.data,A.content.media.name),avatar:A.sender.id===e.attendant.id?e.attendant.photo:A.sender.photo,fileName:A.content.media.name,base64:A.content.media.data,mimetype:A.content.media.mimetype},{"content-message":t.withCtx(()=>[t.createElementVNode("p",null,t.toDisplayString(A.content.content),1)]),"time-message":t.withCtx(()=>[t.createElementVNode("div",T8,t.toDisplayString(m(A.created_at)),1)]),_:2},1032,["onDownload","avatar","fileName","base64","mimetype"])])):(t.openBlock(),t.createElementBlock("section",P8,[t.createElementVNode("p",null,t.toDisplayString(A.content.content),1),t.createElementVNode("div",O8,t.toDisplayString(m(A.created_at)),1)]))],2)],2)],2)]))),128))])],512),t.createElementVNode("div",F8,[t.withDirectives(t.createElementVNode("textarea",{type:"text","onUpdate:modelValue":E[1]||(E[1]=A=>o.value=A),class:"message-input bg-base-300 focus:ring-0",placeholder:"Digite sua mensagem...",onKeydown:h},null,544),[[t.vModelText,o.value]]),t.createElementVNode("button",{onClick:k,class:"send-files-button"},E[9]||(E[9]=[t.createElementVNode("svg",{class:"size-5 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M7 8v8a5 5 0 1 0 10 0V6.5a3.5 3.5 0 1 0-7 0V15a2 2 0 0 0 4 0V8"})],-1)])),o.value.length>0?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:w,class:"send-button"},E[10]||(E[10]=[t.createElementVNode("svg",{class:"size-5 text-white rotate-90","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2a1 1 0 0 1 .932.638l7 18a1 1 0 0 1-1.326 1.281L13 19.517V13a1 1 0 1 0-2 0v6.517l-5.606 2.402a1 1 0 0 1-1.326-1.281l7-18A1 1 0 0 1 12 2Z","clip-rule":"evenodd"})],-1)]))):(t.openBlock(),t.createElementBlock("section",{key:1,class:t.normalizeClass(["send-audio-button",{recording:s.value}])},[t.createVNode(C8,{"can-send-message":!0,attendant:e.attendant,selectedAttendant:e.selectedAtendente,sendAudioToAttendant:e.sendMessageToAtendente,onRecording:E[2]||(E[2]=A=>s.value=A)},null,8,["attendant","selectedAttendant","sendAudioToAttendant"])],2))])])}}},[["__scopeId","data-v-fc3a8873"]]),L8={},$8={class:"loading"};function H8(e,a){return t.openBlock(),t.createElementBlock("div",$8,a[0]||(a[0]=[t.createElementVNode("svg",{class:"spinner",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("circle",{class:"opacity-30",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t.createElementVNode("path",{class:"opacity-90",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})],-1)]))}const U1=qe(L8,[["render",H8],["__scopeId","data-v-bd52ddea"]]);/**
92
+ `,caption:c}]):Ye.show([{src:u,type:"image",caption:c}]))};function l(u,m=1){return new Promise((c,f)=>{const h=document.createElement("video");h.src=u,h.crossOrigin="anonymous",h.muted=!0,h.playsInline=!0,h.preload="auto",h.addEventListener("loadeddata",()=>{h.readyState>=2&&(h.currentTime=m)}),h.addEventListener("seeked",()=>{const y=document.createElement("canvas");y.width=h.videoWidth,y.height=h.videoHeight,y.getContext("2d").drawImage(h,0,0,y.width,y.height);const x=y.toDataURL("image/png");c(x)}),h.addEventListener("error",y=>{f("Erro ao carregar vídeo para thumbnail.")})})}const s=u=>typeof u=="string"&&u.startsWith("data:")&&u.includes(";base64,"),d=u=>u?u.startsWith("video/"):void 0,p=u=>{const m=Math.floor(u/60),c=(u%60).toFixed(0),f=m.toString().padStart(2,"0"),h=c.toString().padStart(2,"0");return`${f}:${h}`};return t.onMounted(async()=>{try{n.value=await l(a.base64)}catch(u){console.error(u)}}),(u,m)=>(t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass({main_preview_files_container_message:e.mode==="message",main_preview_files_container_miniature:e.mode==="miniature","main_preview_files_container_preview bg-base-200":e.mode==="preview"})},[e.mimetype==="application/pdf"&&e.mode!=="miniature"?(t.openBlock(),t.createElementBlock("iframe",{key:0,class:"iframe_preview_files",src:e.base64,frameborder:"0"},null,8,G7)):e.mimetype==="application/pdf"&&e.mode==="miniature"?(t.openBlock(),t.createElementBlock("svg",j7,m[6]||(m[6]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2 2 2 0 0 0 2 2h12a2 2 0 0 0 2-2 2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2V4a2 2 0 0 0-2-2h-7Zm-6 9a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-1h.5a2.5 2.5 0 0 0 0-5H5Zm1.5 3H6v-1h.5a.5.5 0 0 1 0 1Zm4.5-3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1.376A2.626 2.626 0 0 0 15 15.375v-1.75A2.626 2.626 0 0 0 12.375 11H11Zm1 5v-3h.375a.626.626 0 0 1 .625.626v1.748a.625.625 0 0 1-.626.626H12Zm5-5a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-1h1a1 1 0 1 0 0-2h-1v-1h1a1 1 0 1 0 0-2h-2Z","clip-rule":"evenodd"},null,-1)]))):e.mimetype==="image/png"||e.mimetype==="image/jpeg"?(t.openBlock(),t.createElementBlock("img",{key:2,onClick:m[0]||(m[0]=c=>i(e.base64,e.mimetype)),class:t.normalizeClass(["preview_img",e.mode]),src:e.base64},null,10,q7)):e.mimetype==="image/svg+xml"?(t.openBlock(),t.createElementBlock("img",{key:3,onClick:m[1]||(m[1]=c=>i(e.base64,e.mimetype)),class:t.normalizeClass(["preview_img",e.mode]),src:s(e.base64)?e.base64:e.base64.replace("+","%2B")},null,10,W7)):d(e.mimetype)&&e.mode==="preview"?(t.openBlock(),t.createElementBlock("video",{key:4,width:"300",height:"150",controls:"",src:e.base64},[t.createElementVNode("source",{src:e.base64,type:e.mimetype},null,8,U7)],8,Y7)):d(e.mimetype)&&e.mode==="message"?(t.openBlock(),t.createElementBlock("button",{key:5,onClick:m[2]||(m[2]=c=>i(e.base64,e.mimetype)),class:"video_message_preview_container"},[n.value?(t.openBlock(),t.createElementBlock("section",X7,[t.createElementVNode("div",Z7,[m[11]||(m[11]=t.createElementVNode("svg",{class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.6 5.2A1 1 0 0 0 7 6v12a1 1 0 0 0 1.6.8l8-6a1 1 0 0 0 0-1.6l-8-6Z","clip-rule":"evenodd"})],-1)),t.createElementVNode("div",Q7,[(t.openBlock(),t.createElementBlock("svg",K7,m[7]||(m[7]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",J7,m[8]||(m[8]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",e8,m[9]||(m[9]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",t8,m[10]||(m[10]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)])))])]),t.createElementVNode("img",{class:t.normalizeClass(["preview_img",e.mode]),src:n.value},null,10,a8)])):(t.openBlock(),t.createElementBlock("span",n8,"Carregando..."))])):d(e.mimetype)&&e.mode==="miniature"?(t.openBlock(),t.createElementBlock("svg",r8,m[12]||(m[12]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M14 7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7Zm2 9.387 4.684 1.562A1 1 0 0 0 22 17V7a1 1 0 0 0-1.316-.949L16 7.613v8.774Z","clip-rule":"evenodd"},null,-1)]))):e.mimetype==="audio/mpeg"&&e.mode!=="miniature"||e.mimetype==="application/octet-stream"&&e.mode!=="miniature"?(t.openBlock(),t.createElementBlock("section",o8,[t.createVNode(W1,{avatar:e.avatar,audio:e.base64,onDuration:m[3]||(m[3]=c=>r.value=c),onCurrentTime:m[4]||(m[4]=c=>o.value=c)},null,8,["avatar","audio"])])):e.mimetype==="audio/mpeg"&&e.mode==="miniature"?(t.openBlock(),t.createElementBlock("svg",i8,m[13]||(m[13]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M5 8a1 1 0 0 1 1 1v3a4.006 4.006 0 0 0 4 4h4a4.006 4.006 0 0 0 4-4V9a1 1 0 1 1 2 0v3.001A6.006 6.006 0 0 1 14.001 18H13v2h2a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h2v-2H9.999A6.006 6.006 0 0 1 4 12.001V9a1 1 0 0 1 1-1Z","clip-rule":"evenodd"},null,-1),t.createElementVNode("path",{d:"M7 6a4 4 0 0 1 4-4h2a4 4 0 0 1 4 4v5a4 4 0 0 1-4 4h-2a4 4 0 0 1-4-4V6Z"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",{key:9,class:t.normalizeClass(e.mode==="message"?"generic_files":"")},[m[14]||(m[14]=t.createElementVNode("div",null,[t.createElementVNode("svg",{class:"size-8 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-7Z","clip-rule":"evenodd"})])],-1)),e.mode==="message"?(t.openBlock(),t.createElementBlock("span",l8,[t.createElementVNode("p",s8,t.toDisplayString(e.fileName),1),t.createElementVNode("button",{class:"download_btn_generic_files",onClick:m[5]||(m[5]=c=>u.$emit("download"))}," Baixar arquivo ")])):t.createCommentVNode("",!0)],2)),e.mode==="message"?(t.openBlock(),t.createElementBlock("div",c8,[t.renderSlot(u.$slots,"content-message",{},void 0,!0),t.createElementVNode("div",{class:t.normalizeClass([r.value?"justify-between":" justify-end","flex w-full"])},[r.value?(t.openBlock(),t.createElementBlock("p",d8,t.toDisplayString(p(r.value))+" - "+t.toDisplayString(o.value?p(o.value):"00:00"),1)):t.createCommentVNode("",!0),t.renderSlot(u.$slots,"time-message",{},void 0,!0)],2)])):t.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-f8ed200a"]]),u8={props:{audioStream:MediaStream},data(){return{audioContext:null,analyser:null}},mounted(){this.initializeAudio()},methods:{initializeAudio(){this.audioContext=new(window.AudioContext||window.webkitAudioContext),this.analyser=this.audioContext.createAnalyser();const e=this.$refs.canvas,a=e.getContext("2d");this.audioContext.createMediaStreamSource(this.audioStream).connect(this.analyser),this.analyser.fftSize=256;const r=this.analyser.frequencyBinCount,o=new Uint8Array(r),i=()=>{this.analyser.getByteFrequencyData(o),a.clearRect(0,0,e.width,e.height);const l=e.width/r*2.5,s=e.height/2;let d=0;a.strokeStyle="green",a.lineWidth=2,a.beginPath(),a.moveTo(0,s),a.lineTo(e.width,s),a.stroke(),o.forEach(p=>{const u=p;a.fillStyle=`rgb(50, ${u+100}, 50)`,a.fillRect(d,s-u/2,l,u),d+=l+1}),this.audioStream.active&&requestAnimationFrame(i)};i()}}},m8={ref:"canvas",width:"200",height:"40",class:"mx-auto flex items-center rounded"};function f8(e,a,n,r,o,i){return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("canvas",m8,null,512)])}const h8=qe(u8,[["render",f8],["__scopeId","data-v-d91f4ade"]]),p8={key:0,class:"flex w-full items-center space-x-3 text-white dark:text-black"},g8=["disabled"],y8=["disabled"],k8={key:0,class:"size-4 hover:text-red-500","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 10 16"},x8={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-5 hover:text-emerald-500"},b8={key:5,class:"flex w-full items-center space-x-2"},w8={class:"text-xs"},v8={key:0},E8={key:1,class:"flex items-center px-2 pr-[21px]"},C8=qe({__name:"audioRecorder",props:{canSendMessage:Boolean,sendAudioToAttendant:{type:Function,required:!0},selectedAttendant:{type:Object,required:!0},attendant:{required:!0}},emits:["audio-sent","recording","b64Audio"],setup(e,{emit:a}){const n=e,r=a,o=t.ref(null),i=t.ref(!1),l=t.ref(!1),s=t.ref(0),d=t.ref(0),p=t.ref(null),u=t.ref(null),m=t.ref(null),c=t.ref(null),f=t.ref(0),h=t.ref(0),y=t.ref(null),b=t.ref(!1),x=t.ref(!1),w=Y=>{f.value=Y},k=Y=>{h.value=Y},B=Y=>{const C=Math.floor(Y/60),I=(Y%60).toFixed(0),z=C.toString().padStart(2,"0"),W=I.toString().padStart(2,"0");return`${z}:${W}`},V=async()=>{try{u.value=null,c.value=await navigator.mediaDevices.getUserMedia({audio:!0}),o.value=new MediaRecorder(c.value),o.value.ondataavailable=M,o.value.start(),E(),i.value=!0,r("recording",!0)}catch(Y){console.error("Erro ao iniciar a gravação:",Y)}},M=Y=>{Y.data.size>0&&!b.value&&(p.value=new Blob([Y.data]),y.value=URL.createObjectURL(p.value),q())},E=()=>{let Y=Date.now();m.value=setInterval(()=>{s.value=d.value+Math.floor((Date.now()-Y)/1e3)},1e3)},N=async()=>{u.value=null,o.value&&i.value&&(l.value?(o.value.resume(),E()):(o.value.pause(),clearInterval(m.value),d.value=s.value),l.value=!l.value)},A=async()=>{o.value&&i.value&&(await o.value.stop(),clearInterval(m.value),i.value=!1,l.value=!1,q()),c.value&&c.value.getTracks().forEach(Y=>Y.stop()),console.log(u.value)},q=async()=>{if(p.value){const Y=new Blob([p.value],{type:"audio/mpeg"}),C=new FileReader;C.onload=()=>{u.value=C.result},C.readAsDataURL(Y)}},U=async()=>{x.value=!0,r("b64Audio",u.value);const C={type:"file",media:{name:"audio",mimetype:(I=>I?I.split(";")[0].split(":")[1]:null)(u.value),data:u.value}};await n.sendAudioToAttendant(n.selectedAttendant.id,C,n.attendant,!0),r("recording",!1),x.value=!1,c.value=null,u.value=null,p.value=null,i.value=!1,l.value=!1,s.value=0},X=async()=>{b.value=!0,i.value=!1,r("recording",!1),await o.value.stop(),c.value&&(c.value.getTracks().forEach(Y=>Y.stop()),c.value=null),p.value=null,clearInterval(m.value),u.value=null,l.value=!1,s.value=0};return(Y,C)=>{var I;return x.value?(t.openBlock(),t.createElementBlock("div",E8,C[9]||(C[9]=[t.createElementVNode("span",{class:"loader-audio-recorder"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",p8,[!i.value&&!u.value?(t.openBlock(),t.createElementBlock("button",{key:0,class:t.normalizeClass(["send-audio-button",{recording:i.value}]),disabled:i.value||!e.canSendMessage,onClick:C[0]||(C[0]=z=>(V(),d.value=0,b.value=!1))},C[3]||(C[3]=[t.createElementVNode("svg",{class:"start-recording-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 19"},[t.createElementVNode("path",{d:"M15 5a1 1 0 0 0-1 1v3a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V6a1 1 0 0 0-2 0v3a6.006 6.006 0 0 0 6 6h1v2H5a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H9v-2h1a6.006 6.006 0 0 0 6-6V6a1 1 0 0 0-1-1Z"}),t.createElementVNode("path",{d:"M9 0H7a3 3 0 0 0-3 3v5a3 3 0 0 0 3 3h2a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3Z"})],-1)]),10,g8)):t.createCommentVNode("",!0),c.value?(t.openBlock(),t.createElementBlock("button",{key:1,class:"rounded-full bg-red-500 p-1.5 hover:bg-red-600",onClick:C[1]||(C[1]=z=>X())},C[4]||(C[4]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-4"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})],-1)]))):t.createCommentVNode("",!0),i.value?(t.openBlock(),t.createElementBlock("button",{key:2,disabled:!i.value&&!l.value,onClick:N},[l.value?(t.openBlock(),t.createElementBlock("svg",x8,C[6]||(C[6]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 7.5V18M15 7.5V18M3 16.811V8.69c0-.864.933-1.406 1.683-.977l7.108 4.061a1.125 1.125 0 010 1.954l-7.108 4.061A1.125 1.125 0 013 16.811z"},null,-1)]))):(t.openBlock(),t.createElementBlock("svg",k8,C[5]||(C[5]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M0 .8C0 .358.32 0 .714 0h1.429c.394 0 .714.358.714.8v14.4c0 .442-.32.8-.714.8H.714a.678.678 0 0 1-.505-.234A.851.851 0 0 1 0 15.2V.8Zm7.143 0c0-.442.32-.8.714-.8h1.429c.19 0 .37.084.505.234.134.15.209.354.209.566v14.4c0 .442-.32.8-.714.8H7.857c-.394 0-.714-.358-.714-.8V.8Z","clip-rule":"evenodd"},null,-1)])))],8,y8)):t.createCommentVNode("",!0),(i.value||p.value)&&!u.value?(t.openBlock(),t.createElementBlock("button",{key:3,class:"rounded-full p-1.5 hover:bg-gray-100 hover:text-light",onClick:A},C[7]||(C[7]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-4"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 7.5A2.25 2.25 0 017.5 5.25h9a2.25 2.25 0 012.25 2.25v9a2.25 2.25 0 01-2.25 2.25h-9a2.25 2.25 0 01-2.25-2.25v-9z"})],-1)]))):t.createCommentVNode("",!0),c.value&&i.value&&!l.value?(t.openBlock(),t.createBlock(h8,{key:4,"audio-stream":c.value},null,8,["audio-stream"])):t.createCommentVNode("",!0),u.value?(t.openBlock(),t.createElementBlock("div",b8,[t.createVNode(W1,{avatar:((I=e.attendant)==null?void 0:I.photo)||null,audio:u.value,onDuration:w,onCurrentTime:k},null,8,["avatar","audio"]),t.createElementVNode("main",w8,[t.createElementVNode("div",null,t.toDisplayString(B(h.value)),1),i.value||p.value?(t.openBlock(),t.createElementBlock("div",v8,t.toDisplayString(B(s.value)),1)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),u.value?(t.openBlock(),t.createElementBlock("button",{key:6,class:"rounded-full p-2 hover:bg-base-100",onClick:C[2]||(C[2]=z=>U())},C[8]||(C[8]=[t.createElementVNode("svg",{class:"size-5 text-base-200 rotate-90","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2a1 1 0 0 1 .932.638l7 18a1 1 0 0 1-1.326 1.281L13 19.517V13a1 1 0 1 0-2 0v6.517l-5.606 2.402a1 1 0 0 1-1.326-1.281l7-18A1 1 0 0 1 12 2Z","clip-rule":"evenodd"})],-1)]))):t.createCommentVNode("",!0)]))}}},[["__scopeId","data-v-db980715"]]),S8={class:"messages-container bg-base-300"},M8={class:"header-intern bg-base-300"},B8={class:"atendente-name"},A8={key:0,class:"date-separator bg-base-100/50"},V8={class:"date-separator-text"},N8={key:0,class:"dropdown-container-internal-messages"},D8=["onClick"],_8={key:0},T8={class:"message-time"},P8={key:1},O8={class:"message-time"},F8={class:"input-area"},Y1=qe({__name:"ChatMessages",props:{selectedAtendente:{type:Object,required:!0},attendant:{required:!0},loadMessagesForAtendente:{type:Function,required:!0},sendMessageToAtendente:{type:Function,required:!0},hasNextPageForAtendente:{type:Function,required:!0}},emits:["send-files","voltar"],setup(e,{emit:a}){const n=e,r=a,o=t.ref(""),i=t.ref(null),l=t.ref(!1),s=t.ref(!1),d=t.ref(!1),p=t.computed(()=>{var M;return((M=n.selectedAtendente)==null?void 0:M.messages)||[]}),u=t.computed(()=>n.hasNextPageForAtendente(n.selectedAtendente.id)),m=M=>{const E=new Date(M),N=E.getHours(),A=E.getMinutes();return`${N.toString().padStart(2,"0")}:${A.toString().padStart(2,"0")}`},c=M=>{const E=new Date(M);return F6(E)?"Hoje":$6(E)?"Ontem":O6(E)?l1(E,"EEEE",{locale:s1}):l1(E,"dd 'de' MMMM 'de' yyyy",{locale:s1})},f=M=>{if(M===0)return!0;const E=new Date(p.value[M].created_at),N=new Date(p.value[M-1].created_at);return E.toDateString()!==N.toDateString()},h=M=>{M.key==="Enter"&&!M.shiftKey&&(M.preventDefault(),x())},y=()=>{i.value&&i.value.scrollTo({top:i.value.scrollHeight,behavior:"instant"})},b=async M=>{try{if(!u.value){M.complete();return}const E=i.value.scrollHeight,N=i.value.scrollTop;await n.loadMessagesForAtendente(n.selectedAtendente.id),await t.nextTick(),i.value.scrollTop=i.value.scrollHeight-E+N-32,M.loaded()}catch(E){console.error(E),M.complete()}},x=async()=>{if(o.value.trim()!=="")try{const M=JSON.parse(JSON.stringify(o.value));o.value="",await n.sendMessageToAtendente(n.selectedAtendente.id,M,n.attendant),await t.nextTick(),y()}catch(M){console.error("Erro ao enviar mensagem:",M)}},w=()=>{x();const M=document.querySelector(".send-button");M.classList.add("clicked"),setTimeout(()=>{M.classList.remove("clicked")},200)},k=()=>{r("send-files");const M=document.querySelector(".send-files-button");M.classList.add("clicked"),setTimeout(()=>{M.classList.remove("clicked")},200)};t.onMounted(async()=>{await t.nextTick(()=>{y(),l.value=!0})}),t.watch(()=>{var M;return(M=p.value)==null?void 0:M.length},(M,E)=>{p.value&&B()&&setTimeout(()=>{i.value.scrollTo({top:i.value.scrollHeight,behavior:"instant"})},100)});function B(){const E=i.value.scrollTop+i.value.clientHeight;return i.value.scrollHeight-E<=80}const V=async(M,E="undefined")=>{console.log(M);const N=M.endsWith("svg+xml");try{const A=await fetch(N?M.replace("+","%2B"):M);if(!A.ok)throw new Error("Erro ao baixar o arquivo",console.log(A));const q=await A.blob(),U=window.URL.createObjectURL(q),X=document.createElement("a");X.href=U,X.download=E,document.body.appendChild(X),X.click(),document.body.removeChild(X),window.URL.revokeObjectURL(U)}catch(A){console.error("Erro no download:",A)}};return(M,E)=>{const N=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("div",S8,[t.createElementVNode("div",M8,[t.createElementVNode("button",{onClick:E[0]||(E[0]=A=>r("voltar")),class:"back-button"},E[3]||(E[3]=[t.createElementVNode("svg",{class:"w-6 h-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{d:"M14.502 7.046h-2.5v-.928a2.122 2.122 0 0 0-1.199-1.954 1.827 1.827 0 0 0-1.984.311L3.71 8.965a2.2 2.2 0 0 0 0 3.24L8.82 16.7a1.829 1.829 0 0 0 1.985.31 2.121 2.121 0 0 0 1.199-1.959v-.928h1a2.025 2.025 0 0 1 1.999 2.047V19a1 1 0 0 0 1.275.961 6.59 6.59 0 0 0 4.662-7.22 6.593 6.593 0 0 0-6.437-5.695Z"})],-1)])),t.createVNode(mo,{url:e.selectedAtendente.photo},null,8,["url"]),t.createElementVNode("h3",B8,t.toDisplayString(e.selectedAtendente.name),1)]),t.createElementVNode("div",{class:"message-area",ref_key:"chatArea",ref:i},[!d.value&&u.value&&l.value?(t.openBlock(),t.createBlock(t.unref(fo),{key:0,onInfinite:b,distance:30,top:!0,direction:"top",class:"p-3"},{complete:t.withCtx(()=>E[4]||(E[4]=[t.createElementVNode("span",null,null,-1)])),spinner:t.withCtx(()=>E[5]||(E[5]=[t.createElementVNode("div",{class:"loading"},[t.createElementVNode("svg",{class:"spinner",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})])],-1)])),_:1})):t.createCommentVNode("",!0),t.createElementVNode("div",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(p.value,(A,q)=>(t.openBlock(),t.createElementBlock("div",{key:q},[f(q)?(t.openBlock(),t.createElementBlock("div",A8,[E[6]||(E[6]=t.createElementVNode("div",{class:"date-separator-line"},null,-1)),t.createElementVNode("div",V8,t.toDisplayString(c(A.created_at)),1),E[7]||(E[7]=t.createElementVNode("div",{class:"date-separator-line"},null,-1))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["message",{me:A.sender.id===e.attendant.id,"not-me":A.sender.id!==e.attendant.id,"new-message":q===p.value.length-1}])},[t.createElementVNode("div",{class:t.normalizeClass(["relative",A.sender.id===e.attendant.id?"text-right":"text-left"])},[A.content&&A.content.media&&A.content.media.data?(t.openBlock(),t.createElementBlock("div",N8,[t.createVNode(N,{hover:"",class:"label-popper-internal-messages",placement:"left"},{content:t.withCtx(()=>[t.createElementVNode("button",{class:"download-button-internal-messages",onClick:U=>V(A.content.media.data,A.content.media.name)}," Baixar ",8,D8)]),default:t.withCtx(()=>[E[8]||(E[8]=t.createElementVNode("button",{class:"dropdown-toggle-internal-messages"},[t.createElementVNode("svg",{class:"dropdown-icon-internal-messages","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 9-7 7-7-7"})])],-1))]),_:2,__:[8]},1024)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["shadow shadow-gray-900 dark:shadow-gray-500",["message-content",{me:A.sender.id===e.attendant.id,"not-me":A.sender.id!==e.attendant.id}]])},[A.content&&A.content.media&&A.content.media.data?(t.openBlock(),t.createElementBlock("section",_8,[t.createVNode(To,{mode:"message",onDownload:U=>V(A.content.media.data,A.content.media.name),avatar:A.sender.id===e.attendant.id?e.attendant.photo:A.sender.photo,fileName:A.content.media.name,base64:A.content.media.data,mimetype:A.content.media.mimetype},{"content-message":t.withCtx(()=>[t.createElementVNode("p",null,t.toDisplayString(A.content.content),1)]),"time-message":t.withCtx(()=>[t.createElementVNode("div",T8,t.toDisplayString(m(A.created_at)),1)]),_:2},1032,["onDownload","avatar","fileName","base64","mimetype"])])):(t.openBlock(),t.createElementBlock("section",P8,[t.createElementVNode("p",null,t.toDisplayString(A.content.content),1),t.createElementVNode("div",O8,t.toDisplayString(m(A.created_at)),1)]))],2)],2)],2)]))),128))])],512),t.createElementVNode("div",F8,[t.withDirectives(t.createElementVNode("textarea",{type:"text","onUpdate:modelValue":E[1]||(E[1]=A=>o.value=A),class:"message-input bg-base-300 focus:ring-0",placeholder:"Digite sua mensagem...",onKeydown:h},null,544),[[t.vModelText,o.value]]),t.createElementVNode("button",{onClick:k,class:"send-files-button"},E[9]||(E[9]=[t.createElementVNode("svg",{class:"size-5 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M7 8v8a5 5 0 1 0 10 0V6.5a3.5 3.5 0 1 0-7 0V15a2 2 0 0 0 4 0V8"})],-1)])),o.value.length>0?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:w,class:"send-button"},E[10]||(E[10]=[t.createElementVNode("svg",{class:"size-5 text-white rotate-90","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2a1 1 0 0 1 .932.638l7 18a1 1 0 0 1-1.326 1.281L13 19.517V13a1 1 0 1 0-2 0v6.517l-5.606 2.402a1 1 0 0 1-1.326-1.281l7-18A1 1 0 0 1 12 2Z","clip-rule":"evenodd"})],-1)]))):(t.openBlock(),t.createElementBlock("section",{key:1,class:t.normalizeClass(["bg-base-300",["send-audio-button",{recording:s.value}]])},[t.createVNode(C8,{"can-send-message":!0,attendant:e.attendant,selectedAttendant:e.selectedAtendente,sendAudioToAttendant:e.sendMessageToAtendente,onRecording:E[2]||(E[2]=A=>s.value=A)},null,8,["attendant","selectedAttendant","sendAudioToAttendant"])],2))])])}}},[["__scopeId","data-v-5967ecae"]]),L8={},$8={class:"loading"};function H8(e,a){return t.openBlock(),t.createElementBlock("div",$8,a[0]||(a[0]=[t.createElementVNode("svg",{class:"spinner",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("circle",{class:"opacity-30",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t.createElementVNode("path",{class:"opacity-90",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})],-1)]))}const U1=qe(L8,[["render",H8],["__scopeId","data-v-bd52ddea"]]);/**
93
93
  * Vue 3 Carousel 0.16.0
94
94
  * (c) 2025
95
95
  * @license MIT
96
- */const X1=["viewport","carousel"],cr={"bottom-to-top":"btt","left-to-right":"ltr","right-to-left":"rtl","top-to-bottom":"ttb"},Z1=["ltr","left-to-right","rtl","right-to-left","ttb","top-to-bottom","btt","bottom-to-top"],R8={ariaGallery:"Gallery",ariaNavigateToPage:"Navigate to page {slideNumber}",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",iconArrowDown:"Arrow pointing downwards",iconArrowLeft:"Arrow pointing to the left",iconArrowRight:"Arrow pointing to the right",iconArrowUp:"Arrow pointing upwards",itemXofY:"Item {currentSlide} of {slidesCount}"},Q1=["slide","fade"],K1=["center","start","end","center-even","center-odd"],J1=10,dr=.08,at={autoplay:0,breakpointMode:X1[0],breakpoints:void 0,dir:Z1[0],enabled:!0,gap:0,height:"auto",i18n:R8,ignoreAnimations:!1,itemsToScroll:1,itemsToShow:1,modelValue:0,mouseDrag:!0,mouseWheel:!1,pauseAutoplayOnHover:!1,preventExcessiveDragging:!1,slideEffect:Q1[0],snapAlign:K1[0],touchDrag:!0,transition:300,wrapAround:!1},Da=Symbol("carousel"),z8=e=>{const a=t.shallowReactive([]),n=r=>{r!==void 0?a.slice(r).forEach((o,i)=>{var l;(l=o.exposed)===null||l===void 0||l.setIndex(r+i)}):a.forEach((o,i)=>{var l;(l=o.exposed)===null||l===void 0||l.setIndex(i)})};return{cleanup:()=>{a.splice(0,a.length)},getSlides:()=>a,registerSlide:(r,o)=>{if(!r||r.props.isClone)return;const i=o??a.length;a.splice(i,0,r),n(i),e("slide-registered",{slide:r,index:i})},unregisterSlide:r=>{const o=a.indexOf(r);o!==-1&&(e("slide-unregistered",{slide:r,index:o}),a.splice(o,1),n(o))}}};function I8(e){return e.length===0?0:e.reduce((n,r)=>n+r,0)/e.length}function es({slides:e,position:a,toShow:n}){const r=[],o=a==="before",i=o?-n:0,l=o?0:n;if(e.length<=0)return r;for(let s=i;s<l;s++){const p={index:o?s:s+e.length,isClone:!0,id:void 0,key:`clone-${a}-${s}`},u=e[(s%e.length+e.length)%e.length].vnode,m=t.cloneVNode(u,p);m.el=null,r.push(m)}return r}const G8='a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])';function ts(e){if(!e.el||!(e.el instanceof Element))return;const a=e.el.querySelectorAll(G8);for(const n of a)n instanceof HTMLElement&&!n.hasAttribute("disabled")&&n.getAttribute("aria-hidden")!=="true"&&n.setAttribute("tabindex","-1")}function j8(e,a){return Object.keys(e).filter(n=>!a.includes(n)).reduce((n,r)=>(n[r]=e[r],n),{})}function q8(e){const{isVertical:a,isReversed:n,dragged:r,effectiveSlideSize:o,threshold:i}=e,l=a?r.y:r.x;if(l===0)return 0;const s=l/o,d=Math.abs(s);if(d<i)return 0;const p=d<1?Math.sign(s):Math.round(s);return n?p:-p}function ta({val:e,max:a,min:n}){return a<n?e:Math.min(Math.max(e,isNaN(n)?e:n),isNaN(a)?e:a)}function W8(e){const{transform:a}=window.getComputedStyle(e);return a.split(/[(,)]/).slice(1,-1).map(n=>parseFloat(n))}function Y8(e){let a=1,n=1;return e.forEach(r=>{const o=W8(r);o.length===6&&(a/=o[0],n/=o[3])}),{widthMultiplier:a,heightMultiplier:n}}function U8(e,a){switch(e){case"start":return 0;case"center":case"center-odd":return(a-1)/2;case"center-even":return(a-2)/2;case"end":return a-1;default:return 0}}function X8(e,a,n){switch(e){case"start":return 0;case"center":case"center-odd":return(n-a)/2;case"center-even":return n/2-a;case"end":return n-a;default:return 0}}function Po({slideSize:e,viewportSize:a,align:n,itemsToShow:r}){return r!==void 0?U8(n,r):e!==void 0&&a!==void 0?X8(n,e,a):0}function as(e="",a={}){return Object.entries(a).reduce((n,[r,o])=>n.replace(`{${r}}`,String(o)),e)}function ns({val:e,max:a,min:n=0}){const r=a-n+1;return((e-n)%r+r)%r+n}function Oo(e,a=0){let n=!1,r=0,o=null;function i(...l){if(n)return;n=!0;const s=()=>{o=requestAnimationFrame(d=>{d-r>a?(r=d,e(...l),n=!1):s()})};s()}return i.cancel=()=>{o&&(cancelAnimationFrame(o),o=null,n=!1)},i}function ur(e,a="px"){if(!(e==null||e===""))return typeof e=="number"||parseFloat(e).toString()===e?`${e}${a}`:e}const Z8=t.defineComponent({name:"CarouselAria",setup(){const e=t.inject(Da);return e?()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},as(e.config.i18n.itemXofY,{currentSlide:e.currentSlide+1,slidesCount:e.slidesCount})):()=>""}});function Q8(e){let a=!1;const n={x:0,y:0},r=t.reactive({x:0,y:0}),o=t.ref(!1),{isSliding:i}=e,l=t.computed(()=>typeof i=="boolean"?i:i.value),s=u=>{var m;const c=u.target.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(c)||l.value||(a=u.type==="touchstart",a&&u.touches.length>1))return;if(!a&&(u.preventDefault(),u.button!==0))return;n.x=a?u.touches[0].clientX:u.clientX,n.y=a?u.touches[0].clientY:u.clientY;const f=a?"touchmove":"mousemove",h=a?"touchend":"mouseup";document.addEventListener(f,d,{passive:!1}),document.addEventListener(h,p,{passive:!0}),(m=e.onDragStart)===null||m===void 0||m.call(e)},d=Oo(u=>{var m;if(a&&u.touches.length>1)return;o.value=!0;const c=a?u.touches[0].clientX:u.clientX,f=a?u.touches[0].clientY:u.clientY;r.x=c-n.x,r.y=f-n.y,(m=e.onDrag)===null||m===void 0||m.call(e,{deltaX:r.x,deltaY:r.y,isTouch:a})}),p=()=>{var u;d.cancel();const m=Math.abs(r.x)+Math.abs(r.y);!a&&m>10&&window.addEventListener("click",h=>{h.preventDefault(),h.stopPropagation()},{once:!0,capture:!0}),(u=e.onDragEnd)===null||u===void 0||u.call(e),r.x=0,r.y=0,o.value=!1;const c=a?"touchmove":"mousemove",f=a?"touchend":"mouseup";document.removeEventListener(c,d),document.removeEventListener(f,p)};return{dragged:r,isDragging:o,handleDragStart:s}}function K8(){const e=t.ref(!1);return{isHover:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function J8(e){const{isVertical:a,isSliding:n,config:r}=e,o=t.computed(()=>typeof a=="boolean"?a:a.value),i=t.computed(()=>typeof n=="boolean"?n:n.value);return{handleScroll:s=>{var d,p;if(s.preventDefault(),!r.mouseWheel||i.value)return;const u=typeof r.mouseWheel=="object"&&(d=r.mouseWheel.threshold)!==null&&d!==void 0?d:J1,m=Math.abs(s.deltaY)>u?s.deltaY:0,c=Math.abs(s.deltaX)>u?s.deltaX:0;if(m===0&&c===0)return;const f=o.value?m:c,y=(f!==0?f:o.value?c:m)>0;(p=e.onWheel)===null||p===void 0||p.call(e,{deltaX:c,deltaY:m,isScrollingForward:y})}}}const e9={autoplay:{default:at.autoplay,type:Number},breakpoints:{default:at.breakpoints,type:Object},breakpointMode:{default:at.breakpointMode,validator(e){return X1.includes(e)}},clamp:{type:Boolean},dir:{type:String,default:at.dir,validator(e,a){if(!Z1.includes(e))return!1;const n=e in cr?cr[e]:e;return["ttb","btt"].includes(n)&&(!a.height||a.height==="auto")&&console.warn(`[vue3-carousel]: The dir "${e}" is not supported with height "auto".`),!0}},enabled:{default:at.enabled,type:Boolean},gap:{default:at.gap,type:Number},height:{default:at.height,type:[Number,String]},i18n:{default:at.i18n,type:Object},ignoreAnimations:{default:!1,type:[Array,Boolean,String]},itemsToScroll:{default:at.itemsToScroll,type:Number},itemsToShow:{default:at.itemsToShow,type:[Number,String]},modelValue:{default:void 0,type:Number},mouseDrag:{default:at.mouseDrag,type:[Boolean,Object]},mouseWheel:{default:at.mouseWheel,type:[Boolean,Object]},mouseScrollThreshold:{default:at.mouseScrollThreshold,type:Number},pauseAutoplayOnHover:{default:at.pauseAutoplayOnHover,type:Boolean},preventExcessiveDragging:{default:!1,type:Boolean,validator(e,a){return e&&a.wrapAround&&console.warn('[vue3-carousel]: "preventExcessiveDragging" cannot be used with wrapAround. The setting will be ignored.'),!0}},slideEffect:{type:String,default:at.slideEffect,validator(e){return Q1.includes(e)}},snapAlign:{default:at.snapAlign,validator(e){return K1.includes(e)}},touchDrag:{default:at.touchDrag,type:[Boolean,Object]},transition:{default:at.transition,type:Number},wrapAround:{default:at.wrapAround,type:Boolean}},t9=t.defineComponent({name:"VueCarousel",props:e9,emits:["before-init","drag","init","loop","slide-end","slide-registered","slide-start","slide-unregistered","update:modelValue","wheel"],setup(e,{slots:a,emit:n,expose:r}){var o;const i=z8(n),l=i.getSlides(),s=t.computed(()=>l.length),d=t.ref(null),p=t.ref(null),u=t.ref(0),m=t.computed(()=>Object.assign(Object.assign(Object.assign({},at),j8(e,["breakpoints","modelValue"])),{i18n:Object.assign(Object.assign({},at.i18n),e.i18n)})),c=t.shallowReactive(Object.assign({},m.value)),f=t.ref((o=e.modelValue)!==null&&o!==void 0?o:0),h=t.ref(f.value);t.watch(f,P=>h.value=P);const y=t.ref(0),b=t.computed(()=>Math.ceil((s.value-1)/2)),x=t.computed(()=>s.value-1),w=t.computed(()=>0);let k=null,B=null,V=null;const M=t.computed(()=>u.value+c.gap),E=t.computed(()=>{const P=c.dir||"ltr";return P in cr?cr[P]:P}),N=t.computed(()=>["rtl","btt"].includes(E.value)),A=t.computed(()=>["ttb","btt"].includes(E.value)),L=t.computed(()=>c.itemsToShow==="auto"),H=t.computed(()=>A.value?"height":"width");function Q(){var P;if(!X.value)return;const T=(m.value.breakpointMode==="carousel"?(P=d.value)===null||P===void 0?void 0:P.getBoundingClientRect().width:typeof window<"u"?window.innerWidth:0)||0,ee=Object.keys(e.breakpoints||{}).map(be=>Number(be)).sort((be,Ae)=>+Ae-+be),le={};ee.some(be=>T>=be?(Object.assign(le,e.breakpoints[be]),le.i18n&&Object.assign(le.i18n,m.value.i18n,e.breakpoints[be].i18n),!0):!1),Object.assign(c,m.value,le),L.value||(c.itemsToShow=ta({val:Number(c.itemsToShow),max:e.clamp?s.value:1/0,min:1}))}const J=Oo(()=>{Q(),_(),W()}),S=t.shallowReactive(new Set),G=t.ref([]);function j({widthMultiplier:P,heightMultiplier:T}){G.value=l.map(ee=>{var le;const be=(le=ee.exposed)===null||le===void 0?void 0:le.getBoundingRect();return{width:be.width*P,height:be.height*T}})}const Y=t.ref({width:0,height:0});function me({widthMultiplier:P,heightMultiplier:T}){var ee;const le=((ee=p.value)===null||ee===void 0?void 0:ee.getBoundingClientRect())||{width:0,height:0};Y.value={width:le.width*P,height:le.height*T}}function W(){if(!p.value)return;const P=Y8(S);if(me(P),j(P),L.value)u.value=I8(G.value.map(T=>T[H.value]));else{const T=Number(c.itemsToShow),ee=(T-1)*c.gap;u.value=(Y.value[H.value]-ee)/T}}function _(){!c.wrapAround&&s.value>0&&(f.value=ta({val:f.value,max:x.value,min:w.value}))}const ie=t.computed(()=>typeof e.ignoreAnimations=="string"?e.ignoreAnimations.split(","):Array.isArray(e.ignoreAnimations)?e.ignoreAnimations:e.ignoreAnimations?!1:[]);t.watchEffect(()=>_()),t.watchEffect(()=>{W()});let ne;const Z=P=>{const T=P.target;if(!(!(T!=null&&T.contains(d.value))||Array.isArray(ie.value)&&ie.value.includes(P.animationName))&&(S.add(T),!ne)){const ee=()=>{ne=requestAnimationFrame(()=>{W(),ee()})};ee()}},C=P=>{const T=P.target;T&&S.delete(T),ne&&S.size===0&&(cancelAnimationFrame(ne),W())},X=t.ref(!1);typeof document<"u"&&t.watchEffect(()=>{X.value&&ie.value!==!1?(document.addEventListener("animationstart",Z),document.addEventListener("animationend",C)):(document.removeEventListener("animationstart",Z),document.removeEventListener("animationend",C))}),t.onMounted(()=>{X.value=!0,Q(),v(),d.value&&(V=new ResizeObserver(J),V.observe(d.value)),n("init")}),t.onBeforeUnmount(()=>{X.value=!1,i.cleanup(),B&&clearTimeout(B),ne&&cancelAnimationFrame(ne),k&&clearInterval(k),V&&(V.disconnect(),V=null),typeof document<"u"&&ue(),d.value&&(d.value.removeEventListener("transitionend",W),d.value.removeEventListener("animationiteration",W))});const{isHover:fe,handleMouseEnter:z,handleMouseLeave:ye}=K8(),U=Oo(P=>{if(!P.ctrlKey)switch(P.key){case"ArrowLeft":case"ArrowUp":A.value===P.key.endsWith("Up")&&(N.value?de(!0):Me(!0));break;case"ArrowRight":case"ArrowDown":A.value===P.key.endsWith("Down")&&(N.value?Me(!0):de(!0));break}},200),ue=()=>{document.removeEventListener("keydown",U)},$=()=>{document.addEventListener("keydown",U)};function v(){!c.autoplay||c.autoplay<=0||(k=setInterval(()=>{c.pauseAutoplayOnHover&&fe.value||de()},c.autoplay))}function g(){D(),v()}function D(){k&&(clearInterval(k),k=null)}const F=t.ref(!1),O=({deltaX:P,deltaY:T,isTouch:ee})=>{var le,be,Ae,De;n("drag",{deltaX:P,deltaY:T});const Pe=ee?typeof c.touchDrag=="object"&&(be=(le=c.touchDrag)===null||le===void 0?void 0:le.threshold)!==null&&be!==void 0?be:dr:typeof c.mouseDrag=="object"&&(De=(Ae=c.mouseDrag)===null||Ae===void 0?void 0:Ae.threshold)!==null&&De!==void 0?De:dr,je=q8({isVertical:A.value,isReversed:N.value,dragged:{x:P,y:T},effectiveSlideSize:M.value,threshold:Pe});je!==0&&(h.value=c.wrapAround?f.value+je:ta({val:f.value+je,max:x.value,min:w.value}))},K=()=>Ne(h.value),{dragged:R,isDragging:te,handleDragStart:ce}=Q8({isSliding:F,onDrag:O,onDragEnd:K}),ge=({deltaX:P,deltaY:T,isScrollingForward:ee})=>{n("wheel",{deltaX:P,deltaY:T}),ee?N.value?Me():de():N.value?de():Me()},{handleScroll:xe}=J8({isVertical:A,isSliding:F,config:c,onWheel:ge});function de(P=!1){Ne(f.value+c.itemsToScroll,P)}function Me(P=!1){Ne(f.value-c.itemsToScroll,P)}function Ne(P,T=!1){if(!T&&F.value)return;const ee=(c.wrapAround?ns:ta)({val:P,max:x.value,min:w.value});if(f.value===ee)return;y.value=f.value,n("slide-start",{slidingToIndex:P,currentSlideIndex:f.value,prevSlideIndex:y.value,slidesCount:s.value}),D(),F.value=!0,f.value=P,ee!==P&&Se.pause(),n("update:modelValue",ee),B=setTimeout(()=>{c.wrapAround&&ee!==P&&(Se.resume(),f.value=ee,n("loop",{currentSlideIndex:f.value,slidingToIndex:P})),n("slide-end",{currentSlideIndex:f.value,prevSlideIndex:y.value,slidesCount:s.value}),F.value=!1,g()},c.transition)}function _e(){Q(),_(),W(),g()}t.watch(()=>[m.value,e.breakpoints],()=>Q(),{deep:!0}),t.watch(()=>e.autoplay,()=>g());const Se=t.watch(()=>e.modelValue,P=>{P!==f.value&&Ne(Number(P),!0)});n("before-init");const Le=t.computed(()=>{if(!c.wrapAround)return{before:0,after:0};if(L.value)return{before:l.length,after:l.length};const P=Number(c.itemsToShow),T=Math.ceil(P+(c.itemsToScroll-1)),ee=T-h.value,le=T-(s.value-(h.value+1));return{before:Math.max(0,ee),after:Math.max(0,le)}}),Be=t.computed(()=>Le.value.before?L.value?G.value.slice(-1*Le.value.before).reduce((P,T)=>P+T[H.value]+c.gap,0)*-1:Le.value.before*M.value*-1:0),q=t.computed(()=>{var P;if(L.value){const T=(f.value%l.length+l.length)%l.length;return Po({slideSize:(P=G.value[T])===null||P===void 0?void 0:P[H.value],viewportSize:Y.value[H.value],align:c.snapAlign})}return Po({align:c.snapAlign,itemsToShow:+c.itemsToShow})}),ae=t.computed(()=>{let P=0;if(L.value){if(f.value<0?P=G.value.slice(f.value).reduce((T,ee)=>T+ee[H.value]+c.gap,0)*-1:P=G.value.slice(0,f.value).reduce((T,ee)=>T+ee[H.value]+c.gap,0),P-=q.value,!c.wrapAround){const T=G.value.reduce((ee,le)=>ee+le[H.value]+c.gap,0)-Y.value[H.value]-c.gap;P=ta({val:P,max:T,min:0})}}else{let T=f.value-q.value;c.wrapAround||(T=ta({val:T,max:s.value-+c.itemsToShow,min:0})),P=T*M.value}return P*(N.value?1:-1)}),re=t.computed(()=>{var P,T;if(!L.value){const be=f.value-q.value;return c.wrapAround?{min:Math.floor(be),max:Math.ceil(be+Number(c.itemsToShow)-1)}:{min:Math.floor(ta({val:be,max:s.value-Number(c.itemsToShow),min:0})),max:Math.ceil(ta({val:be+Number(c.itemsToShow)-1,max:s.value-1,min:0}))}}let ee=0;{let be=0,Ae=0-Le.value.before;const De=Math.abs(ae.value+Be.value);for(;be<=De;){const Pe=(Ae%l.length+l.length)%l.length;be+=((P=G.value[Pe])===null||P===void 0?void 0:P[H.value])+c.gap,Ae++}ee=Ae-1}let le=0;{let be=ee,Ae=0;for(be<0?Ae=G.value.slice(0,be).reduce((De,Pe)=>De+Pe[H.value]+c.gap,0)-Math.abs(ae.value+Be.value):Ae=G.value.slice(0,be).reduce((De,Pe)=>De+Pe[H.value]+c.gap,0)-Math.abs(ae.value);Ae<Y.value[H.value];){const De=(be%l.length+l.length)%l.length;Ae+=((T=G.value[De])===null||T===void 0?void 0:T[H.value])+c.gap,be++}le=be-1}return{min:Math.floor(ee),max:Math.ceil(le)}}),se=t.computed(()=>{if(c.slideEffect==="fade")return;const P=A.value?"Y":"X",T=A.value?R.y:R.x;let ee=ae.value+T;if(!c.wrapAround&&c.preventExcessiveDragging){let le=0;L.value?le=G.value.reduce((De,Pe)=>De+Pe[H.value],0):le=(s.value-Number(c.itemsToShow))*M.value;const be=N.value?0:-1*le,Ae=N.value?le:0;ee=ta({val:ee,min:be,max:Ae})}return`translate${P}(${ee}px)`}),Ee=t.computed(()=>({"--vc-carousel-height":ur(c.height),"--vc-cloned-offset":ur(Be.value),"--vc-slide-gap":ur(c.gap),"--vc-transition-duration":F.value?ur(c.transition,"ms"):void 0})),he={slideTo:Ne,next:de,prev:Me},ke=t.reactive({activeSlide:h,config:c,currentSlide:f,isSliding:F,isVertical:A,maxSlide:x,minSlide:w,nav:he,normalizedDir:E,slideRegistry:i,slideSize:u,slides:l,slidesCount:s,viewport:p,visibleRange:re});t.provide(Da,ke);const I=t.reactive({config:c,currentSlide:f,maxSlide:x,middleSlide:b,minSlide:w,slideSize:u,slidesCount:s});return r(t.reactive(Object.assign({data:I,next:de,prev:Me,restartCarousel:_e,slideTo:Ne,updateBreakpointsConfig:Q,updateSlideSize:W,updateSlidesData:_},t.toRefs(ke)))),()=>{var P;const T=a.default||a.slides,ee=(T==null?void 0:T(I))||[],{before:le,after:be}=Le.value,Ae=es({slides:l,position:"before",toShow:le}),De=es({slides:l,position:"after",toShow:be}),Pe=[...Ae,...ee,...De];if(!c.enabled||!Pe.length)return t.h("section",{ref:d,class:["carousel","is-disabled"]},Pe);const je=((P=a.addons)===null||P===void 0?void 0:P.call(a,I))||[],nt=t.h("ol",{class:"carousel__track",onMousedownCapture:c.mouseDrag?ce:null,onTouchstartPassiveCapture:c.touchDrag?ce:null,onWheel:c.mouseWheel?xe:null,style:{transform:se.value}},Pe),xt=t.h("div",{class:"carousel__viewport",ref:p},nt);return t.h("section",{ref:d,class:["carousel",`is-${E.value}`,`is-effect-${c.slideEffect}`,{"is-dragging":te.value,"is-hover":fe.value,"is-sliding":F.value,"is-vertical":A.value}],dir:E.value,style:Ee.value,"aria-label":c.i18n.ariaGallery,tabindex:"0",onBlur:ue,onFocus:$,onMouseenter:z,onMouseleave:ye},[xt,je,t.h(Z8)])}}});var Fo;(function(e){e.arrowDown="arrowDown",e.arrowLeft="arrowLeft",e.arrowRight="arrowRight",e.arrowUp="arrowUp"})(Fo||(Fo={}));const rs=e=>`icon${e.charAt(0).toUpperCase()+e.slice(1)}`,a9={arrowDown:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",arrowLeft:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",arrowRight:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",arrowUp:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"};function n9(e){return e in Fo}const os=e=>e&&n9(e),is=t.defineComponent({props:{name:{type:String,required:!0,validator:os},title:{type:String,default:e=>e.name?at.i18n[rs(e.name)]:""}},setup(e){const a=t.inject(Da,null);return()=>{const n=e.name;if(!n||!os(n))return;const r=a9[n],o=t.h("path",{d:r}),i=(a==null?void 0:a.config.i18n[rs(n)])||e.title,l=t.h("title",i);return t.h("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img","aria-label":i},[l,o])}}});t.defineComponent({name:"CarouselNavigation",inheritAttrs:!1,props:{carousel:{type:Object}},setup(e,{slots:a,attrs:n}){let r=t.inject(Da,null);const{next:o,prev:i}=a,l=()=>({btt:"arrowDown",ltr:"arrowLeft",rtl:"arrowRight",ttb:"arrowUp"})[r.normalizedDir],s=()=>({btt:"arrowUp",ltr:"arrowRight",rtl:"arrowLeft",ttb:"arrowDown"})[r.normalizedDir],d=t.computed(()=>!r.config.wrapAround&&r.currentSlide<=r.minSlide),p=t.computed(()=>!r.config.wrapAround&&r.currentSlide>=r.maxSlide);return()=>{if(e.carousel&&(r=e.carousel),!r)return console.warn("[vue3-carousel]: A carousel component must be provided for the navigation component to display"),"";const{i18n:u}=r.config,m=t.h("button",Object.assign(Object.assign({type:"button",disabled:d.value,"aria-label":u.ariaPreviousSlide,title:u.ariaPreviousSlide,onClick:r.nav.prev},n),{class:["carousel__prev",{"carousel__prev--disabled":d.value},n.class]}),(i==null?void 0:i())||t.h(is,{name:l()})),c=t.h("button",Object.assign(Object.assign({type:"button",disabled:p.value,"aria-label":u.ariaNextSlide,title:u.ariaNextSlide,onClick:r.nav.next},n),{class:["carousel__next",{"carousel__next--disabled":p.value},n.class]}),(o==null?void 0:o())||t.h(is,{name:s()}));return[m,c]}}}),t.defineComponent({name:"CarouselPagination",props:{disableOnClick:{type:Boolean},paginateByItemsToShow:{type:Boolean},carousel:{type:Object}},setup(e){let a=t.inject(Da,null);const n=t.computed(()=>a.config.itemsToShow),r=t.computed(()=>Po({align:a.config.snapAlign,itemsToShow:n.value})),o=t.computed(()=>e.paginateByItemsToShow&&n.value>1),i=t.computed(()=>Math.ceil((a.activeSlide-r.value)/n.value)),l=t.computed(()=>Math.ceil(a.slidesCount/n.value)),s=d=>ns(o.value?{val:i.value,max:l.value-1,min:0}:{val:a.activeSlide,max:a.maxSlide,min:a.minSlide})===d;return()=>{var d,p;if(e.carousel&&(a=e.carousel),!a)return console.warn("[vue3-carousel]: A carousel component must be provided for the pagination component to display"),"";const u=[];for(let m=o.value?0:a.minSlide;m<=(o.value?l.value-1:a.maxSlide);m++){const c=as(a.config.i18n[o.value?"ariaNavigateToPage":"ariaNavigateToSlide"],{slideNumber:m+1}),f=s(m),h=t.h("button",{type:"button",class:{"carousel__pagination-button":!0,"carousel__pagination-button--active":f},"aria-label":c,"aria-pressed":f,"aria-controls":(p=(d=a.slides[m])===null||d===void 0?void 0:d.exposed)===null||p===void 0?void 0:p.id,title:c,disabled:e.disableOnClick,onClick:()=>a.nav.slideTo(o.value?Math.floor(m*+a.config.itemsToShow+r.value):m)}),y=t.h("li",{class:"carousel__pagination-item",key:m},h);u.push(y)}return t.h("ol",{class:"carousel__pagination"},u)}}});const r9=t.defineComponent({name:"CarouselSlide",props:{id:{type:String,default:e=>e.isClone?void 0:t.useId()},index:{type:Number,default:void 0},isClone:{type:Boolean,default:!1}},setup(e,{attrs:a,slots:n,expose:r}){const o=t.inject(Da);if(t.provide(Da,void 0),!o)return()=>"";const i=t.ref(e.index),l=h=>{i.value=h},s=t.getCurrentInstance(),d=()=>{const h=s.vnode.el;return h?h.getBoundingClientRect():{width:0,height:0}};r({id:e.id,setIndex:l,getBoundingRect:d});const p=t.computed(()=>i.value===o.activeSlide),u=t.computed(()=>i.value===o.activeSlide-1),m=t.computed(()=>i.value===o.activeSlide+1),c=t.computed(()=>i.value>=o.visibleRange.min&&i.value<=o.visibleRange.max),f=t.computed(()=>{if(o.config.itemsToShow==="auto")return;const h=o.config.itemsToShow,y=o.config.gap>0&&h>1?`calc(${100/h}% - ${o.config.gap*(h-1)/h}px)`:`${100/h}%`;return o.isVertical?{height:y}:{width:y}});return o.slideRegistry.registerSlide(s,e.index),t.onUnmounted(()=>{o.slideRegistry.unregisterSlide(s)}),e.isClone&&(t.onMounted(()=>{ts(s.vnode)}),t.onUpdated(()=>{ts(s.vnode)})),()=>{var h,y;return o.config.enabled?t.h("li",{style:[a.style,Object.assign({},f.value)],class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":c.value,"carousel__slide--active":p.value,"carousel__slide--prev":u.value,"carousel__slide--next":m.value,"carousel__slide--sliding":o.isSliding},onFocusin:()=>{o.viewport&&(o.viewport.scrollLeft=0),o.nav.slideTo(i.value)},id:e.isClone?void 0:e.id,"aria-hidden":e.isClone||void 0},(y=n.default)===null||y===void 0?void 0:y.call(n,{currentIndex:i.value,isActive:p.value,isClone:e.isClone,isPrev:u.value,isNext:m.value,isSliding:o.isSliding,isVisible:c.value})):(h=n.default)===null||h===void 0?void 0:h.call(n)}}}),o9={key:0,class:"preview-overlay"},i9={class:"preview-info"},l9={class:"queue-info"},s9={class:"carousel-container"},c9={class:"carousel-item"},d9=["onClick"],u9=["onClick"],m9={class:"send-footer"},f9={key:1,class:"toast-loader-files"},h9=qe({__name:"dropFilesArea",props:{sendFilesToAttendant:{type:Function,required:!0},selectedAttendant:{type:Object,required:!0},attendant:{required:!0}},setup(e,{expose:a}){const n=e,r={itemsToShow:6,wrapAround:!1,gap:8,mouseDrag:!0,touchDrag:!0,mouseWheel:!0,snapAlign:"start",breakpoints:{1024:{itemsToShow:4},768:{itemsToShow:4},480:{itemsToShow:4}}},o=t.ref(!1),i=t.ref(""),l=t.ref(null),s=t.ref([]),d=t.ref([]),p=t.ref(null),u=t.ref(0),m=t.ref(!1),c=t.ref(0),f=t.ref(0),h=L=>new Promise((H,Q)=>{const J=new FileReader;J.readAsDataURL(L),J.onload=()=>{H(J.result)},J.onerror=S=>{Q(S)}}),y=()=>{o.value=!0},b=()=>{o.value=!1},x=()=>{d.value=[],s.value=[],i.value="",p.value=null,u.value=0},w=L=>{if(!(L<0||L>=d.value.length)){if(d.value.splice(L,1),s.value.splice(L,1),d.value.length===0){p.value=null,u.value=0;return}if(L===u.value){const H=L>0?L-1:0;p.value=d.value[H],u.value=H}else L<u.value&&(u.value-=1)}},k=()=>{l.value.click()},B=async L=>{const H=Array.from(L.target.files);s.value=H,d.value=await Promise.all(H.map(async Q=>({name:Q.name,base64:await h(Q)}))),p.value=d.value[0]},V=async L=>{o.value=!1;const H=Array.from(L.dataTransfer.files);s.value.push(...H);const Q=await Promise.all(H.map(async J=>({name:J.name,base64:await h(J)})));d.value.push(...Q),p.value||(p.value=d.value[0],u.value=0)},M=L=>L?L.split(";")[0].split(":")[1]:null,E=async()=>{try{m.value=!0,c.value=s.value.length,f.value=0;for(let L=0;L<s.value.length;L++){const H=L===s.value.length-1,Q={type:"file",media:{name:d.value[L].name,mimetype:M(d.value[L].base64),data:d.value[L].base64}};H&&(Q.content=i.value),await n.sendFilesToAttendant(n.selectedAttendant.id,Q,n.attendant,!0),f.value++}await t.nextTick()}catch(L){console.error(L)}finally{m.value=!1,x(),b()}},N=(L,H)=>{p.value=L,u.value=H},A=async L=>{var J;const H=(J=L.clipboardData)==null?void 0:J.items;if(!H)return;const Q=[];for(const S of H)if(S.kind==="file"){const G=S.getAsFile();G&&Q.push(G)}if(Q.length>0){const S=new Set(s.value.map(Y=>Y.name));if(Q.filter(Y=>!S.has(Y.name)).length===0)return;s.value.push(...Q);const j=await Promise.all(Q.map(async Y=>({name:Y.name,base64:await h(Y)})));d.value.push(...j),p.value||(p.value=j[0],u.value=0)}};return t.watch(u,(L,H)=>{p.value=d.value[L]}),t.onMounted(()=>{window.addEventListener("paste",A)}),t.onUnmounted(()=>{window.removeEventListener("paste",A)}),a({chooseFiles:k}),(L,H)=>{var Q,J,S;return t.openBlock(),t.createElementBlock("main",{onDragover:t.withModifiers(y,["prevent"]),onDragleave:b,onDrop:t.withModifiers(V,["prevent"])},[t.createElementVNode("section",{class:t.normalizeClass(["dropzone-container ",{"dropzone-active":o.value}])},[!m.value&&d.value.length>0&&!o.value?(t.openBlock(),t.createElementBlock("div",o9,[t.createElementVNode("button",{onClick:H[0]||(H[0]=G=>x()),class:"close-button"},H[5]||(H[5]=[t.createElementVNode("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)])),t.createElementVNode("section",i9,[t.createElementVNode("p",null,t.toDisplayString((Q=p.value)==null?void 0:Q.name),1),t.createVNode(To,{mode:"preview",base64:(J=p.value)==null?void 0:J.base64,mimetype:M((S=p.value)==null?void 0:S.base64)},null,8,["base64","mimetype"]),t.withDirectives(t.createElementVNode("input",{placeholder:"Digite uma mensagem para acompanhar o arquivo",class:"input-drop-files-area","onUpdate:modelValue":H[1]||(H[1]=G=>i.value=G),type:"text"},null,512),[[t.vModelText,i.value]])]),t.createElementVNode("div",l9,[H[7]||(H[7]=t.createElementVNode("p",null,"fila de envio",-1)),t.createElementVNode("section",s9,[t.createVNode(t.unref(t9),t.mergeProps({modelValue:u.value,"onUpdate:modelValue":H[3]||(H[3]=G=>u.value=G)},r),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.value,(G,j)=>(t.openBlock(),t.createBlock(t.unref(r9),{key:j},{default:t.withCtx(()=>[t.createElementVNode("section",c9,[u.value===j?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:Y=>w(j),class:"remove-file-btn"},H[6]||(H[6]=[t.createElementVNode("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z","clip-rule":"evenodd"})],-1)]),8,d9)):t.createCommentVNode("",!0),t.createElementVNode("button",{class:t.normalizeClass(["carousel-preview",{active:u.value===j}]),onDragstart:H[2]||(H[2]=t.withModifiers(()=>{},["prevent"])),onClick:Y=>N(G,j)},[t.createVNode(To,{mode:"miniature",base64:G.base64,mimetype:M(G.base64)},null,8,["base64","mimetype"])],42,u9)])]),_:2},1024))),128))]),_:1},16,["modelValue"])])]),t.createElementVNode("footer",m9,[t.createElementVNode("button",{class:"send-button",onClick:H[4]||(H[4]=G=>E())},H[8]||(H[8]=[t.createElementVNode("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2a1 1 0 0 1 .932.638l7 18a1 1 0 0 1-1.326 1.281L13 19.517V13a1 1 0 1 0-2 0v6.517l-5.606 2.402a1 1 0 0 1-1.326-1.281l7-18A1 1 0 0 1 12 2Z","clip-rule":"evenodd"})],-1)]))])])):t.createCommentVNode("",!0),m.value?(t.openBlock(),t.createElementBlock("section",f9," Enviando Arquivos... ("+t.toDisplayString(f.value)+" / "+t.toDisplayString(c.value)+") ",1)):t.createCommentVNode("",!0),t.renderSlot(L.$slots,"default",{},void 0,!0)],2),t.createElementVNode("input",{onChange:B,multiple:"",ref_key:"manualFile",ref:l,type:"file",hidden:""},null,544)],32)}}},[["__scopeId","data-v-dbb20d4b"]]),p9={key:0,class:"chat-icon"},g9={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},y9={key:0,class:"unread-count"},k9={key:0,class:"chat-content"},x9={key:1,class:"h-full"},ls=qe({__name:"chatWindow",props:{attendant:{default:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"}},socketMessage:{default:{id:"6170e5cd-a06f-4184-83a4-debd4bfaab35",channel_id:"e10b7177-3400-4457-bb43-b6c9d4a6faa1",sender:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"},content:{type:"text",content:"teste sockdet 3"},created_at:"2024-09-17T09:45:19.286087Z"}},countMessages:{type:Number,default:null},mode:{type:String,default:"dark"}},emits:["unreadMessagesEmit"],setup(e,{emit:a}){const n=e,{attendants:r,loadingMessages:o,fetchMessagesForAtendente:i,addMessageToAtendente:l,hasNextPageForAtendente:s,sendMessageToAtendente:d,loadMessagesForAtendente:p,resetUnreadMessages:u,loadingAttendants:m}=ql(),c=t.ref(!1),f=t.ref(!1),h=t.ref(null),y=t.ref(null),b=a,x=t.ref(null),w=()=>{var H;(H=x.value)==null||H.chooseFiles()},k=t.computed(()=>{if(h.value){const H=r.value.find(Q=>Q.id===h.value.id);return H?H.internal_chat.unread:0}return 0}),B=H=>{var S;const Q=(S=y.value)==null?void 0:S.contains(H.target),J=H.target.closest(".fancybox__container");!Q&&!J&&c.value&&N()};t.onMounted(()=>{document.addEventListener("click",B)}),t.onBeforeUnmount(()=>{document.removeEventListener("click",B)});const V=t.ref(!1),M=t.ref(!1),E=t.computed(()=>M.value?{position:"absolute",width:"42px",height:"42px",transition:"width 0.2s ease-in, height 0.2s ease-out"}:V.value||c.value?{position:"absolute",width:"400px",height:"65vh",transition:"width 0.2s ease-in, height 0.2s ease-out"}:{position:"relative",width:"42px",height:"42px",transition:"none"}),N=()=>{c.value?(M.value=!0,setTimeout(()=>{c.value=!1,M.value=!1},200)):(c.value=!0,V.value=!0,setTimeout(()=>{V.value=!1},200))},A=()=>{c.value||N()},L=async H=>{const Q=r.value.find(S=>S.id===H.id),J=Q?Q.internal_chat.unread:0;b("unreadMessagesEmit",J),h.value=H,u(H.id),H.hasNextPage||await i(H.id)};return t.watch(()=>n.socketMessage,(H,Q)=>{var J;H!==Q&&l(H,c.value,(J=h.value)==null?void 0:J.id)}),t.watch(c,H=>{H&&setTimeout(()=>{f.value=!0},400)}),(H,Q)=>(t.openBlock(),t.createElementBlock("div",{class:"chat-container",ref_key:"chatContainer",ref:y},[c.value?(t.openBlock(),t.createElementBlock("div",{key:0,onClick:t.withModifiers(N,["stop"]),style:{width:"42px",height:"42px","border-radius":"50%","background-color":"#02a9db",display:"flex","justify-content":"center"}},Q[1]||(Q[1]=[t.createElementVNode("span",{style:{"margin-top":"auto","margin-bottom":"auto"},class:"chat-icon my-auto"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},[t.createElementVNode("path",{fill:"currentColor",d:"M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2s0 0 0 0s0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.2-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9c0 0 0 0 0 0s0 0 0 0l-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"})])],-1)]))):t.createCommentVNode("",!0),!c.value&&e.countMessages>0?(t.openBlock(),t.createElementBlock("section",{key:1,style:t.normalizeStyle(e.countMessages>10?"padding: 0.2rem 0.500rem;":"padding: 0.2rem 0.625rem;"),class:"chat-count"},t.toDisplayString(e.countMessages),5)):t.createCommentVNode("",!0),t.createElementVNode("div",{onClick:t.withModifiers(A,["stop"]),class:t.normalizeClass(["group relative",c.value?"chat-box border-base-200 open bg-base-200":"chat-box closed"]),style:t.normalizeStyle(E.value)},[c.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",p9,[(t.openBlock(),t.createElementBlock("svg",g9,[t.createElementVNode("path",{class:t.normalizeClass(e.mode==="dark"?"dark-chat-window-icon":"chat-window-icon"),fill:"currentColor",d:"M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2s0 0 0 0s0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.2-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9c0 0 0 0 0 0s0 0 0 0l-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"},null,2)])),k.value>0?(t.openBlock(),t.createElementBlock("span",y9,t.toDisplayString(k.value),1)):t.createCommentVNode("",!0),Q[2]||(Q[2]=t.createElementVNode("div",{class:"chat-tooltip"},[t.createElementVNode("div",{class:"text-sm my-auto text-center"},"Chat interno")],-1))])),t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx(()=>[c.value&&!M.value?(t.openBlock(),t.createElementBlock("div",k9,[t.createElementVNode("button",{onClick:t.withModifiers(N,["stop"]),class:"close-button"},Q[3]||(Q[3]=[t.createElementVNode("svg",{class:"w-5 h-5",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L17.94 6M18 18L6.06 6"})],-1)])),t.unref(o)||t.unref(m)?(t.openBlock(),t.createBlock(U1,{key:0})):h.value&&!t.unref(o)?(t.openBlock(),t.createElementBlock("div",x9,[t.createVNode(h9,{ref_key:"dropFilesRef",ref:x,attendant:e.attendant,selectedAttendant:h.value,sendFilesToAttendant:t.unref(d)},{default:t.withCtx(()=>[t.createVNode(Y1,{onSendFiles:w,attendant:e.attendant,selectedAtendente:h.value,onVoltar:Q[0]||(Q[0]=J=>h.value=null),loadMessagesForAtendente:t.unref(p),sendMessageToAtendente:t.unref(d),hasNextPageForAtendente:t.unref(s)},null,8,["attendant","selectedAtendente","loadMessagesForAtendente","sendMessageToAtendente","hasNextPageForAtendente"])]),_:1},8,["attendant","selectedAttendant","sendFilesToAttendant"])])):t.createCommentVNode("",!0),!h.value&&!t.unref(m)?(t.openBlock(),t.createBlock(Wl,{key:2,attendant:e.attendant,atendentes:t.unref(r),onAtendenteSelecionado:L},null,8,["attendant","atendentes"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),_:1})],6)],512))}},[["__scopeId","data-v-87f1bbdc"]]),b9={class:"chat-content"},w9={key:1,class:"h-full"},ss=qe({__name:"mobileChatWindow",props:{attendant:{default:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"}},socketMessage:{default:{id:"6170e5cd-a06f-4184-83a4-debd4bfaab35",channel_id:"e10b7177-3400-4457-bb43-b6c9d4a6faa1",sender:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"},content:{type:"text",content:"teste sockdet 3"},created_at:"2024-09-17T09:45:19.286087Z"}},countMessages:{type:Number,default:null}},emits:["unreadMessagesEmit"],setup(e,{emit:a}){const n=e,{attendants:r,loadingMessages:o,fetchMessagesForAtendente:i,addMessageToAtendente:l,hasNextPageForAtendente:s,sendMessageToAtendente:d,loadMessagesForAtendente:p,resetUnreadMessages:u,loadingAttendants:m}=ql(),c=t.ref(!1),f=t.ref(!1),h=t.ref(null),y=t.ref(null),b=a;t.computed(()=>{if(h.value){const M=r.value.find(E=>E.id===h.value.id);return M?M.internal_chat.unread:0}return 0});const x=M=>{y.value&&!y.value.contains(M.target)&&c.value&&B()};t.onMounted(()=>{document.addEventListener("click",x)}),t.onBeforeUnmount(()=>{document.removeEventListener("click",x)});const w=t.ref(!1),k=t.ref(!1),B=()=>{c.value?(k.value=!0,setTimeout(()=>{c.value=!1,k.value=!1},200)):(c.value=!0,w.value=!0,setTimeout(()=>{w.value=!1},200))},V=async M=>{const E=r.value.find(A=>A.id===M.id),N=E?E.internal_chat.unread:0;b("unreadMessagesEmit",N),h.value=M,u(M.id),M.hasNextPage||await i(M.id)};return t.watch(()=>n.socketMessage,(M,E)=>{var N;M!==E&&l(M,c.value,(N=h.value)==null?void 0:N.id)}),t.watch(c,M=>{M&&setTimeout(()=>{f.value=!0},400)}),(M,E)=>(t.openBlock(),t.createElementBlock("div",b9,[t.unref(o)||t.unref(m)?(t.openBlock(),t.createBlock(U1,{key:0})):h.value&&!t.unref(o)?(t.openBlock(),t.createElementBlock("div",w9,[t.createVNode(Y1,{attendant:e.attendant,selectedAtendente:h.value,onVoltar:E[0]||(E[0]=N=>h.value=null),loadMessagesForAtendente:t.unref(p),sendMessageToAtendente:t.unref(d),hasNextPageForAtendente:t.unref(s)},null,8,["attendant","selectedAtendente","loadMessagesForAtendente","sendMessageToAtendente","hasNextPageForAtendente"])])):t.createCommentVNode("",!0),!h.value&&!t.unref(m)?(t.openBlock(),t.createBlock(Wl,{key:2,mobile:!0,attendant:e.attendant,atendentes:t.unref(r),onAtendenteSelecionado:V},null,8,["attendant","atendentes"])):t.createCommentVNode("",!0)]))}},[["__scopeId","data-v-8be60a54"]]),Lo=zt.defineStore("department",{state:()=>({departments:[],count:null,loaded:!1}),actions:{async fetchDepartments(e=""){try{let a=`${bc}`;const n=await na.get(a);this.departments=n.data,this.count=this.departments.length}catch(a){console.log("Erro ao buscar departamentos:",a)}},removeDepartments(e){this.departments=this.departments.filter(a=>a.id!==e)},addDepartments(e){const a=this.departments.findIndex(n=>n.id===e.id);a!==-1?this.departments[a]=e:this.departments.push(e)}}}),v9={class:"depart-select-container"},E9={class:"search-container relative shadow shadow-gray-900 dark:shadow-gray-500"},C9=["placeholder"],S9={key:0,class:"selection-container bg-base-300 border-b border-base-200"},M9=["onClick"],B9={class:"department-list"},A9=["onClick"],V9={key:0,style:{width:"150px"}},N9=["onUpdate:modelValue","onChange"],_9={key:0,class:"no-departments bg-base-300"},D9={key:1,class:"library-loading-spinner"},cs=qe({__name:"departSelect",props:{department:{type:Array,default:null},modal_filter:{type:String,default:null},multiSelect:{type:Boolean,default:!0},permissions:{type:Boolean,default:!1},externalDepartments:{type:Array,default:null},attDel:{type:String,default:null},hiddenDepartment:{type:String,default:null}},emits:["depart","component-mounted"],setup(e,{emit:a}){const n=e,r=a,o=Lo(),i=t.ref(""),l=t.ref([]),s=t.ref(!1),d=t.ref(!1),p=t.computed(()=>(n.externalDepartments||o.departments).filter(w=>!(n.hiddenDepartment&&w.id===n.hiddenDepartment)).filter(w=>!i.value||w.name.toLowerCase().includes(i.value.toLowerCase())));t.onMounted(()=>{c(),m(),r("component-mounted")}),t.watch(()=>n.modal_filter,()=>{!n.modal_filter&&n.multiSelect&&(o.departments.forEach(x=>{x.selected=!1}),l.value=[])},{immediate:!0}),t.watch(()=>o.departments.length,async(x,w)=>{Number.isInteger(w)&&Number.isInteger(x)&&(await c(),await t.nextTick(),await m())},{immediate:!0}),t.watch(()=>n.attDel,x=>{x&&u(x)},{immediate:!0});function u(x){const k=(n.externalDepartments||o.departments).findIndex(B=>B.id===x);k!==-1&&(l.value=l.value.filter(B=>B.id!==x),n.externalDepartments?n.externalDepartments.splice(k,1):o.removeDepartments(x),r("depart",l.value))}async function m(){d.value=!0;const x=n.externalDepartments||o.departments;n.permissions&&x.forEach(w=>{w.permission="normal"}),await f(),d.value=!1}async function c(){(n.externalDepartments||o.departments).forEach(w=>{w.selected=!1}),l.value=[]}async function f(){const x=n.externalDepartments||o.departments;!x||x.length===0||(n.department&&n.department.length>0&&n.department.forEach(w=>{const k=x.find(B=>B.id===w.id);k&&(k.selected=!0,w.permission&&(k.permission=w.permission),l.value.some(V=>V.id===w.id)||l.value.push(k))}),r("depart",l.value))}function h(x){const w=l.value.findIndex(k=>k.id===x.id);w!==-1?(x.selected=!1,l.value.splice(w,1)):(n.multiSelect||c(),x.selected=!0,l.value.push(x)),r("depart",l.value)}function y(x){r("depart",l.value)}function b(x,w){x.selected=!1,l.value.splice(w,1),r("depart",l.value)}return(x,w)=>(t.openBlock(),t.createElementBlock("div",v9,[t.createElementVNode("div",E9,[t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper bg-base-300 border-b border-base-200",{expanded:s.value||l.value.length>0}]),onClick:w[1]||(w[1]=k=>s.value=!s.value)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":w[0]||(w[0]=k=>i.value=k),placeholder:l.value.length>0?e.multiSelect?`Selecionados: ${l.value.length}`:`Selecionado: ${l.value[0].name}`:"Pesquise por nome.",class:"select-depart-input"},null,8,C9),[[t.vModelText,i.value]]),w[2]||(w[2]=t.createElementVNode("div",{class:"icon-container"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"search-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})])],-1))],2),l.value.length>0&&e.multiSelect&&t.unref(o).loaded?(t.openBlock(),t.createElementBlock("main",S9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(k,B)=>(t.openBlock(),t.createElementBlock("div",{key:k.id,class:"selection-item"},[t.createTextVNode(t.toDisplayString(k.name)+" ",1),t.createElementVNode("button",{onClick:V=>b(k,B),class:"close-btn"},w[3]||(w[3]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"close-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)]),8,M9)]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass([l.value.length>0&&e.multiSelect?"dropdown-depart-expanded":"dropdown-depart","dropdown-depart bg-base-300"])},[t.createElementVNode("div",B9,[t.createElementVNode("div",{class:t.normalizeClass([{"two-columns":p.value.length>4},"grid-container"])},[t.unref(o).loaded?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(p.value,k=>(t.openBlock(),t.createElementBlock("div",{key:k.id,class:t.normalizeClass([{selected:k.selected},"department-item line-clamp-1 bg-slate-500/20 hover:bg-teal-600"])},[t.createElementVNode("span",{onClick:B=>h(k),class:"department-name h-full w-full"},t.toDisplayString(k.name),9,A9),e.multiSelect&&e.permissions?(t.openBlock(),t.createElementBlock("div",V9,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":B=>k.permission=B,onChange:B=>y(),class:"select-dropdown-depart bg-base-300"},w[4]||(w[4]=[t.createElementVNode("option",{value:"normal"},"normal",-1),t.createElementVNode("option",{value:"supervisor"},"supervisor",-1)]),40,N9),[[t.vModelSelect,k.permission]])])):t.createCommentVNode("",!0)],2))),128)):t.createCommentVNode("",!0)],2)]),t.unref(o).loaded&&p.value.length===0?(t.openBlock(),t.createElementBlock("div",_9," Nenhum departamento disponível. ")):t.createCommentVNode("",!0),t.unref(o).loaded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",D9,w[5]||(w[5]=[t.createTextVNode(" Inicializando departamentos "),t.createElementVNode("div",{class:"library-loader"},null,-1)])))],2)])]))}},[["__scopeId","data-v-bc69772b"]]),T9={class:"depart-select-container"},P9={class:"search-container relative shadow shadow-gray-900 dark:shadow-gray-500"},O9=["placeholder"],F9={key:0,class:"selection-container bg-base-300 border-b border-base-200"},L9=["onClick"],$9={class:"department-list"},H9={style:{"padding-left":"5px"}},R9=["src"],z9={key:1,style:{"pointer-events":"none","border-radius":"100%",width:"24px",height:"24px"},class:"bg-base-300","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",viewBox:"0 0 24 24"},I9=["onClick"],G9={key:0,class:"no-departments bg-base-300"},j9={key:1,class:"library-loading-spinner"},ds=qe({__name:"attendantSelect",props:{attendance:{type:Array,default:null},multiSelect:{type:Boolean,default:!0},department:{type:Array,default:[]},modal_filter:{type:String,default:null},attDel:{type:Object,default:{id:null}},method:{type:String,default:null}},emits:["attend","component-mounted"],setup(e,{emit:a}){const n=e,r=a,o=Un(),i=t.ref(""),l=t.ref(!1),s=t.ref([]),d=t.computed(()=>{const b=o.attendants.filter(w=>w.status===!0),x=i.value?b.filter(w=>w.name.toLowerCase().includes(i.value.toLowerCase())):b;return u(p(x))});function p(b){return n.method==="remove"?(n.attendance||b).filter(w=>{var k;return(w==null?void 0:w.id)!==((k=n==null?void 0:n.attDel)==null?void 0:k.id)}):n.method==="transfer"?b:n.method==="addParticipant"?b.filter(x=>{var w;return(x==null?void 0:x.id)!==((w=n==null?void 0:n.attDel)==null?void 0:w.id)}):b}function u(b){return Array.isArray(n.department)&&n.department.length>0?b.filter(x=>x.department.some(w=>n.department.some(k=>k.id===w.id))):b}t.onMounted(()=>{m(),r("component-mounted")}),t.watch(()=>o.attendants.length,async(b,x)=>{Number.isInteger(x)&&Number.isInteger(b)&&(await t.nextTick(),m())},{immediate:!0}),t.watch(()=>n.modal_filter,()=>{!n.modal_filter&&n.multiSelect&&c()},{immediate:!0}),t.watch(()=>n.department,()=>{m()},{deep:!0});function m(){c(),f()}function c(){(d.value||[]).forEach(x=>{x.selected=!1}),s.value=[]}function f(){const b=o.attendants;!b||b.length===0||(n.attendance&&n.attendance.length>0&&n.attendance.forEach(x=>{const w=b.find(k=>k.id===x.id);w&&!s.value.some(k=>k.id===x.id)&&(w.selected=!0,s.value.push(w))}),r("attend",s.value))}function h(b){const x=s.value.findIndex(w=>w.id===b.id);x!==-1?(b.selected=!1,s.value.splice(x,1)):(n.multiSelect||c(),b.selected=!0,s.value.push(b)),r("attend",s.value)}function y(b,x){b.selected=!1,s.value.splice(x,1),r("attend",s.value)}return(b,x)=>(t.openBlock(),t.createElementBlock("div",T9,[t.createElementVNode("div",P9,[t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper bg-base-300 border-b border-base-200",{expanded:l.value||s.value.length>0}]),onClick:x[1]||(x[1]=w=>l.value=!l.value)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":x[0]||(x[0]=w=>i.value=w),placeholder:s.value.length>0?e.multiSelect?`Selecionados: ${s.value.length}`:`Selecionado: ${s.value[0].name}`:"Pesquise por nome.",class:"select-depart-input"},null,8,O9),[[t.vModelText,i.value]]),x[2]||(x[2]=t.createElementVNode("div",{class:"icon-container"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"search-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})])],-1))],2),s.value.length>0&&e.multiSelect&&t.unref(o).loaded?(t.openBlock(),t.createElementBlock("main",F9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,(w,k)=>(t.openBlock(),t.createElementBlock("div",{key:w,class:"selection-item"},[t.createTextVNode(t.toDisplayString(w.name)+" ",1),t.createElementVNode("button",{onClick:B=>y(w,k),class:"close-btn"},x[3]||(x[3]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"close-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)]),8,L9)]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass([s.value.length>0&&e.multiSelect?"dropdown-attendance-expanded":"dropdown-attendance","dropdown-attendance bg-base-300"])},[t.createElementVNode("div",$9,[t.createElementVNode("div",{class:t.normalizeClass([{"two-columns":d.value.length>4},"grid-container"])},[t.unref(o).loaded?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(d.value,w=>(t.openBlock(),t.createElementBlock("div",{key:w,class:t.normalizeClass([{selected:w.selected},"department-item line-clamp-1 bg-slate-500/20 hover:bg-teal-600"])},[t.createElementVNode("div",H9,[w.photo?(t.openBlock(),t.createElementBlock("img",{key:0,src:w.photo,style:{"pointer-events":"none","border-radius":"100%",width:"24px",height:"24px"}},null,8,R9)):(t.openBlock(),t.createElementBlock("svg",z9,x[4]||(x[4]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-2 9a4 4 0 0 0-4 4v1a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-1a4 4 0 0 0-4-4h-4Z","clip-rule":"evenodd"},null,-1)])))]),t.createElementVNode("span",{onClick:k=>h(w),class:"department-name h-full w-full"},t.toDisplayString(w.name),9,I9)],2))),128)):t.createCommentVNode("",!0)],2)]),t.unref(o).loaded&&d.value.length===0?(t.openBlock(),t.createElementBlock("div",G9," Nenhum atendente disponível. ")):t.createCommentVNode("",!0),t.unref(o).loaded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",j9,x[5]||(x[5]=[t.createTextVNode(" Inicializando atendentes "),t.createElementVNode("div",{class:"library-loader"},null,-1)])))],2)])]))}},[["__scopeId","data-v-d6ad7ae5"]]),q9={class:""},W9={class:"flex justify-between mb-3"},Y9={class:""},us=qe({__name:"filterSelect",props:{title:{type:String,default:"Filtros"},modelValue:{default:null}},setup(e){const a=t.ref(!0);return(n,r)=>{const o=t.resolveComponent("Popper");return t.openBlock(),t.createBlock(o,{placement:"bottom",arrow:!1,class:"dark:popper-light popper-dark"},{content:t.withCtx(({close:i})=>[t.createElementVNode("section",q9,[t.createElementVNode("div",null,[t.createElementVNode("div",W9,[t.createElementVNode("p",null,t.toDisplayString(e.title),1),r[1]||(r[1]=t.createElementVNode("svg",{class:"w-4 h-4 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{d:"M5 3a2 2 0 0 0-1.5 3.3l5.4 6v5c0 .4.3.9.6 1.1l3.1 2.3c1 .7 2.5 0 2.5-1.2v-7.1l5.4-6C21.6 5 20.7 3 19 3H5Z"})],-1))]),t.createElementVNode("div",Y9,[t.renderSlot(n.$slots,"default",{},void 0,!0)])])])]),default:t.withCtx(()=>[t.createElementVNode("button",{onClick:r[0]||(r[0]=i=>a.value=!a.value),class:"group max-w-max relative flex p-0.5 flex-col items-center justify-center cursor-pointer rounded-md text-xs font-semibold"},r[2]||(r[2]=[t.createElementVNode("svg",{class:"w-3 h-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.4 10.3A2 2 0 0 0 17 7H7a2 2 0 0 0-1.5 3.3l4.9 5.9a2 2 0 0 0 3 0l5-6Z","clip-rule":"evenodd"})],-1)]))]),_:3})}}},[["__scopeId","data-v-1dfa2696"]]);function U9(e,a){return t.openBlock(),t.createElementBlock("svg")}const X9={render:U9},Z9=t.createStaticVNode('<g id="Top/_Resources/Prescription-01" fill="none" transform="translate(62 85)"><defs><filter id="filter1" width="101.5%" height="109.8%" x="-.8%" y="-2.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Glasses" fill="#D6EAF2" filter="url(&#39;#filter1&#39;)" transform="translate(8 8)"><path id="Frame-Stuff" d="M46.25 7.275c2.37.022 3.492.417 3.896 2.89.41 2.506.011 5.322-.46 7.79-.721 3.768-1.92 7.46-4.708 10.214-1.47 1.45-3.261 2.606-5.167 3.395-1.012.42-2.081.722-3.15.952-.312.067-2.979.434-1.343.248-3.817.435-7.958.418-11.146-2.012-3.532-2.692-5.952-6.952-7.015-11.196-.623-2.483-1.93-8.422.459-10.407 2.737-2.274 28.633-1.874 28.633-1.874M22.217.491c-5.44.187-9.071 1.143-11.755 6.578-4.917 9.961 3.5 24.9 12.89 28.97 10.976 4.76 23.24-.507 29.043-10.033 3.073-5.044 4.626-12.683 4.526-18.502C56.795.077 51.607-.13 45.51.034zM79.68 7.273c-2.371.022-3.492.416-3.896 2.89-.41 2.505-.012 5.322.46 7.79.72 3.767 1.919 7.459 4.708 10.213 1.47 1.45 3.261 2.606 5.167 3.396 1.012.419 2.08.722 3.15.951.312.067 2.978.435 1.343.248 3.817.436 7.958.418 11.145-2.011 3.533-2.692 5.952-6.952 7.016-11.196.623-2.483 1.93-8.422-.46-10.407-2.737-2.275-28.632-1.874-28.632-1.874M103.713.488c5.44.187 9.071 1.144 11.754 6.579 4.918 9.96-3.5 24.9-12.889 28.97-10.977 4.76-23.24-.508-29.043-10.033C70.46 20.96 68.907 13.32 69.007 7.5 69.135.074 74.323-.132 80.42.031z"></path><path id="Frame-Stuff" d="M13.197 4.927c-3.412.191-7.31.237-10.507 1.712-3.385 1.562-3.908 5.1.36 5.587 1.92.22 3.845-.143 5.737-.481 1.55-.277 3.655-.187 5.12-.78 2.729-1.103 2.553-6.225-.71-6.038m99.538 0c3.412.191 7.31.237 10.507 1.712 3.384 1.562 3.907 5.1-.36 5.587-1.921.22-3.845-.143-5.738-.481-1.55-.277-3.654-.187-5.119-.78-2.73-1.103-2.554-6.225.71-6.038M73.11 7.013c-1.947-2.3-7.019-3.628-10.219-3.628s-8.123 1.328-10.069 3.628c-.981 1.16-1.015 2.711.686 3.438 2.118.906 4.01-.737 5.705-1.596 2.168-1.098 5.499-.978 7.506 0 1.708.833 3.586 2.502 5.704 1.596 1.701-.727 1.668-2.279.686-3.438"></path></g></g>',1),Q9=[Z9];function K9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Q9])}const J9={render:K9},em=t.createStaticVNode('<g id="Top/_Resources/Round" fill="none" transform="translate(62 85)"><defs><filter id="filter1" width="101.6%" height="108.3%" x="-.8%" y="-2.1%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix></filter><path id="Round-path1" d="M80.465 16.394C84.38 8.46 92.553 3 102 3c8.92 0 16.703 4.866 20.84 12.088q.316-.087.66-.088h8a2.5 2.5 0 1 1 0 5h-6.537A24 24 0 0 1 126 27c0 13.255-10.745 24-24 24S78 40.255 78 27c0-1.422.124-2.815.36-4.169C78.277 18.455 74.915 15 70.863 15c-3.736 0-6.887 2.94-7.42 6.83.365 1.665.558 3.395.558 5.17 0 13.255-10.745 24-24 24S16 40.255 16 27c0-2.435.363-4.785 1.037-7H10.5a2.5 2.5 0 1 1 0-5h8q.343 0 .66.088C23.297 7.866 31.08 3 40 3c9.352 0 17.455 5.35 21.416 13.155C63.493 13.039 66.949 11 70.862 11c4.013 0 7.545 2.144 9.603 5.394M40 47c11.046 0 20-8.954 20-20S51.046 7 40 7s-20 8.954-20 20 8.954 20 20 20m62 0c11.046 0 20-8.954 20-20s-8.954-20-20-20-20 8.954-20 20 8.954 20 20 20"></path></defs><g id="Lennon-Glasses"><use fill="#000" filter="url(&#39;#filter1&#39;)" href="#Round-path1"></use><use fill="#252C2F" href="#Round-path1"></use></g></g>',1),tm=[em];function am(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...tm])}const nm={render:am},rm=t.createStaticVNode('<g id="Top/_Resources/Wayfarers" fill="none" stroke-width="1" transform="translate(62 85)"><defs><path id="react-path-1157" d="M44.918 17.571c0 9.703-8.25 17.572-21.998 17.572h-2.75C6.423 35.143.923 27.27.923 17.57.923 7.866 2.207 0 21.455 0h2.931c19.248 0 20.532 7.866 20.532 17.571"></path><path id="react-path-1158" d="M106.486 17.571c0 9.703-8.247 17.572-21.997 17.572h-2.75c-13.748 0-19.248-7.872-19.248-17.572C62.491 7.866 63.775 0 83.023 0h2.932c19.244 0 20.531 7.866 20.531 17.571"></path><linearGradient id="react-linear-gradient-1160" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFF" stop-opacity=".5"></stop><stop offset="70.506%" stop-opacity=".5"></stop></linearGradient><filter id="react-filter-1159" width="101.6%" height="109.8%" x="-.8%" y="-2.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Wayfarers" filter="url(#react-filter-1159)" transform="translate(7 7)"><g id="Shades" fill-rule="evenodd" transform="translate(10.795 2.929)"><g id="Shade"><use fill="#000" fill-opacity=".7" href="#react-path-1157"></use><use fill="url(#react-linear-gradient-1160)" href="#react-path-1157" style="mix-blend-mode:screen;"></use></g><g id="Shade"><use fill="#000" fill-opacity=".7" href="#react-path-1158"></use><use fill="url(#react-linear-gradient-1160)" href="#react-path-1158" style="mix-blend-mode:screen;"></use></g></g><path id="Left" fill="#252C2F" fill-rule="nonzero" d="M33.716 41h-2.75c-13.888 0-22.18-7.664-22.18-20.5C8.787 10.127 10.6 0 32.25 0h2.932c21.651 0 23.463 10.127 23.463 20.5 0 12.069-10.25 20.5-24.93 20.5M32.25 5.854c-17.6 0-17.6 6.464-17.6 14.646 0 6.68 2.83 14.643 16.316 14.643h2.75c11.226 0 19.066-6.021 19.066-14.643 0-8.182 0-14.646-17.6-14.646z"></path><path id="Right" fill="#252C2F" fill-rule="nonzero" d="M95.284 41h-2.75c-13.888 0-22.18-7.664-22.18-20.5 0-10.373 1.813-20.5 23.464-20.5h2.932c21.651 0 23.463 10.127 23.463 20.5 0 12.069-10.25 20.5-24.929 20.5M93.818 5.854c-17.6 0-17.6 6.464-17.6 14.646 0 6.68 2.833 14.643 16.316 14.643h2.75c11.226 0 19.066-6.021 19.066-14.643 0-8.182 0-14.646-17.6-14.646z"></path><path id="Stuff" fill="#252C2F" fill-rule="nonzero" d="M2.932 5.857C3.618 5.172 11.123 0 32.25 0c17.714 0 21.464 1.88 27.14 4.72l.415.21c.395.143 2.413.844 4.773.921a16.5 16.5 0 0 0 4.528-.881C75.584 1.748 81.926 0 96.75 0c21.127 0 28.632 5.172 29.318 5.857A2.93 2.93 0 0 1 129 8.786v2.928c0 1.62-1.31 2.929-2.932 2.929 0 0-5.863 0-5.863 2.928s-2.932-4.237-2.932-5.857V8.862c-3.576-1.4-9.976-3.005-20.523-3.005-11.75 0-17.602 1.131-22.622 3.247l.056.139-2.496 1.007 2.493 1.008-2.2 5.43-2.717-1.1a13 13 0 0 0-1.493-.457c-2.024-.51-4.106-.666-5.946-.28a7.7 7.7 0 0 0-1.877.642l-2.622 1.31-2.623-5.238 2.622-1.31.006-.003-2.512-1.015.08-.198C50.57 6.976 46.58 5.857 32.25 5.857c-10.546 0-16.947 1.604-20.523 3.004v2.853c0 1.62-2.932 8.786-2.932 5.857s-5.863-2.928-5.863-2.928A2.93 2.93 0 0 1 0 11.714V8.786a2.93 2.93 0 0 1 2.932-2.929"></path></g></g>',1),om=[rm];function im(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...om])}const lm={render:im},sm=t.createStaticVNode('<g id="Top/_Resources/Kurt" fill="none" transform="translate(62 85)"><defs><filter id="filter1" width="101.5%" height="108%" x="-.8%" y="-2%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Kurts" filter="url(&#39;#filter1&#39;)" transform="translate(5 2)"><path id="It!" fill="#F4F4F4" d="M66 11.111c-11.037 0-12.63-9.084-35.33-10.37C7.987-.283.816 6.449.777 11.11c.037 4.293-1.128 15.45 13.589 28.519 14.772 15.512 29.905 10.252 35.33 5.185C55.134 42.473 61.34 21.46 66 21.48s10.865 20.992 16.306 23.334c5.424 5.067 20.557 10.327 35.33-5.185 14.716-13.069 13.55-24.226 13.588-28.519-.04-4.662-7.21-11.394-29.895-10.37C78.63 2.027 77.037 11.11 66 11.11"></path><path id="Did" fill="#2F383B" d="M55.13 21.481c.38-7.658-12.914-15.839-27.177-15.555-14.256.299-16.111 9.453-16.306 12.963-.349 8.133 8.367 26.415 24.459 25.926 16.091-.51 18.803-18.28 19.023-23.334"></path><path id="Courtney" fill="#2F383B" d="M120.353 21.481c.38-7.658-12.914-15.839-27.177-15.555-14.255.299-16.11 9.453-16.305 12.963-.35 8.133 8.367 26.415 24.458 25.926 16.092-.51 18.804-18.28 19.024-23.334" transform="matrix(-1 0 0 1 197.224 0)"></path></g></g>',1),cm=[sm];function dm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...cm])}const um={render:dm},mm=t.createStaticVNode('<g id="Top/_Resources/Prescription-02" fill="none" stroke-width="1" transform="translate(62 85)"><defs><filter id="react-filter-1166" width="101.5%" height="109.8%" x="-.8%" y="-2.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Wayfarers" fill="#252C2F" fill-rule="nonzero" filter="url(#react-filter-1166)" transform="translate(6 7)"><path id="Left" d="M34 41h-2.758C17.315 41 9 33.336 9 20.5 9 10.127 10.817 0 32.53 0h2.94C57.183 0 59 10.127 59 20.5 59 32.569 48.721 41 34 41M32.385 6C13 6 13 12.841 13 21.502 13 28.572 16.116 37 30.97 37H34c12.365 0 21-6.373 21-15.498C55 12.84 55 6 35.615 6z"></path><path id="Right" d="M96 41h-2.758C79.315 41 71 33.336 71 20.5 71 10.127 72.817 0 94.53 0h2.94C119.183 0 121 10.127 121 20.5 121 32.569 110.721 41 96 41M94.385 6C75 6 75 12.841 75 21.502 75 28.572 78.12 37 92.97 37H96c12.365 0 21-6.373 21-15.498C117 12.84 117 6 97.615 6z"></path><path id="Stuff" d="M2.955 5.772C3.645 5.096 11.21 0 32.5 0c17.851 0 21.63 1.853 27.35 4.652l.419.207c.398.14 2.431.83 4.81.907a17 17 0 0 0 4.563-.869C76.17 1.722 82.562 0 97.5 0c21.29 0 28.854 5.096 29.545 5.772 1.634 0 2.955 1.29 2.955 2.885v2.886c0 1.596-1.32 2.886-2.955 2.886 0 0-6.901 0-6.901 2.886 0 2.885-1.962-4.176-1.962-5.772v-2.81c-3.603-1.38-10.054-3.947-20.682-3.947-11.842 0-17.739 2.1-22.798 4.185l.057.137-.003 1.986-2.217 5.35L69.8 15.36c-.244-.097-.772-.27-1.504-.451-2.04-.503-4.137-.656-5.992-.276q-1.021.21-1.891.633l-2.643 1.29-2.643-5.16.117-2.295.08-.195c-4.362-2.033-8.385-4.12-22.824-4.12-10.628 0-17.078 2.565-20.682 3.944v2.812c0 1.596-2.954 8.657-2.954 5.772 0-2.886-5.91-2.886-5.91-2.886-1.63 0-2.954-1.29-2.954-2.886V8.657c0-1.595 1.324-2.885 2.955-2.885"></path></g></g>',1),fm=[mm];function hm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...fm])}const pm={render:hm},gm=t.createStaticVNode('<g id="Top/_Resources/Sunglasses" fill="none" stroke-width="1" transform="translate(62 85)"><defs><linearGradient id="react-linear-gradient-1164" x1="50%" x2="50%" y1="0%" y2="70.506%"><stop offset="0%" stop-color="#FFF" stop-opacity=".5"></stop><stop offset="100%" stop-opacity=".5"></stop></linearGradient><linearGradient id="react-linear-gradient-1165" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFF" stop-opacity=".5"></stop><stop offset="70.506%" stop-opacity=".5"></stop></linearGradient><path id="react-path-1161" d="M47.01 6.277c2.511.024 3.698.45 4.126 3.115.433 2.7.012 5.736-.488 8.395-.762 4.06-2.031 8.04-4.984 11.007-1.555 1.564-3.452 2.81-5.47 3.66-1.071.452-2.203.778-3.334 1.026-.33.072-3.154.468-1.422.267-4.041.47-8.425.45-11.8-2.168-3.74-2.901-6.301-7.493-7.427-12.066-.66-2.676-2.044-9.076.486-11.216 2.898-2.452 30.313-2.02 30.313-2.02"></path><path id="react-path-1162" d="M78.92 6.275c-2.512.024-3.699.449-4.126 3.114-.434 2.7-.012 5.736.487 8.395.763 4.061 2.032 8.04 4.984 11.008 1.556 1.563 3.453 2.809 5.47 3.66 1.072.451 2.204.778 3.335 1.025.33.072 3.153.469 1.422.267 4.04.47 8.425.45 11.8-2.167 3.74-2.902 6.3-7.493 7.427-12.066.66-2.677 2.043-9.077-.486-11.217-2.898-2.451-30.314-2.02-30.314-2.02"></path><filter id="react-filter-1163" width="101.6%" height="110.5%" x="-.8%" y="-2.6%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Sunglasses" filter="url(#react-filter-1163)" transform="translate(8 8)"><g id="shades"><use fill="#000" fill-opacity=".7" href="#react-path-1161"></use><use fill="url(#react-linear-gradient-1164)" href="#react-path-1161" style="mix-blend-mode:screen;"></use></g><g id="shades"><use fill="#000" fill-opacity=".7" href="#react-path-1162"></use><use fill="url(#react-linear-gradient-1165)" href="#react-path-1162" style="mix-blend-mode:screen;"></use></g><g id="Glasses" fill="#252C2F"><path id="Frame" d="M46.25 7.275c2.37.022 3.492.417 3.896 2.89.41 2.506.011 5.322-.46 7.79-.721 3.768-1.92 7.46-4.708 10.214-1.47 1.45-3.261 2.606-5.167 3.395-1.012.42-2.081.722-3.15.952-.312.067-2.979.434-1.343.248-3.817.435-7.958.418-11.146-2.012-3.532-2.692-5.952-6.952-7.015-11.196-.623-2.483-1.93-8.422.459-10.407 2.737-2.274 28.633-1.874 28.633-1.874M22.217.491c-5.44.187-9.071 1.143-11.755 6.578-4.917 9.961 3.5 24.9 12.89 28.97 10.976 4.76 23.24-.507 29.043-10.033 3.073-5.044 4.626-12.683 4.526-18.502C56.795.077 51.607-.13 45.51.034zM79.68 7.273c-2.371.022-3.492.416-3.896 2.89-.41 2.505-.012 5.322.46 7.79.72 3.767 1.919 7.459 4.708 10.213 1.47 1.45 3.261 2.606 5.167 3.396 1.012.419 2.08.722 3.15.951.312.067 2.978.435 1.343.248 3.817.436 7.958.418 11.145-2.011 3.533-2.692 5.952-6.952 7.016-11.196.623-2.483 1.93-8.422-.46-10.407-2.737-2.275-28.632-1.874-28.632-1.874M103.713.488c5.44.187 9.071 1.144 11.754 6.579 4.918 9.96-3.5 24.9-12.889 28.97-10.977 4.76-23.24-.508-29.043-10.033C70.46 20.96 68.907 13.32 69.007 7.5 69.135.074 74.323-.132 80.42.031z"></path><path id="Frame" d="M13.197 4.927c-3.412.191-7.31.237-10.507 1.712-3.385 1.562-3.908 5.1.36 5.587 1.92.22 3.845-.143 5.737-.481 1.55-.277 3.655-.187 5.12-.78 2.729-1.103 2.553-6.225-.71-6.038m99.538 0c3.412.191 7.31.237 10.507 1.712 3.384 1.562 3.907 5.1-.36 5.587-1.921.22-3.845-.143-5.738-.481-1.55-.277-3.654-.187-5.119-.78-2.73-1.103-2.554-6.225.71-6.038M73.11 7.013c-1.947-2.3-7.019-3.628-10.219-3.628s-8.123 1.328-10.069 3.628c-.981 1.16-1.015 2.711.686 3.438 2.118.906 4.01-.737 5.705-1.596 2.168-1.098 5.499-.978 7.506 0 1.708.833 3.586 2.502 5.704 1.596 1.701-.727 1.668-2.279.686-3.438"></path></g></g></g>',1),ym=[gm];function km(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ym])}const xm={render:km},bm={Blank:X9,Prescription01:J9,Round:nm,Wayfarers:lm,Kurt:um,Prescription02:pm,Sunglasses:xm},wm=t.createStaticVNode('<g id="Clothing/Blazer-+-Shirt" transform="translate(0 170)"><defs><path id="BlazerShirt-path1" d="M133.96.295c36.976 3.03 66.04 34 66.04 71.757V81H0v-8.948C0 33.952 29.592 2.765 67.045.22Q67 .78 67 1.348c0 11.863 14.998 21.48 33.5 21.48S134 13.211 134 1.348q0-.53-.04-1.053"></path></defs><g id="Shirt" transform="translate(32 29)"><mask id="BlazerShirt-mask1" fill="#fff"><use href="#BlazerShirt-path1"></use></mask><use fill="#E6E6E6" class="CustomColor" href="#BlazerShirt-path1"></use><g id="Color/Palette/Black" fill="#262E33" mask="url(&#39;#BlazerShirt-mask1&#39;)"><path id="Color" d="M0 0h264v110H0z" transform="translate(-32 -29)"></path></g><g id="Shadowy" fill="#000" mask="url(&#39;#BlazerShirt-mask1&#39;)" opacity=".16"><ellipse id="Hola" cx="40.5" cy="27.848" rx="39.635" ry="26.914" transform="translate(60 -25)"></ellipse></g></g><g id="Blazer" transform="translate(32 28)"><path id="Saco" fill="#3A4C5A" d="M68.785 1.122C30.512 2.804 0 34.365 0 73.052V82h69.362C65.96 69.92 64 55.709 64 40.5c0-14.327 1.74-27.769 4.785-39.378M131.638 82H200v-8.948c0-38.345-29.975-69.69-67.771-71.878C135.265 12.77 137 26.194 137 40.5c0 15.209-1.96 29.42-5.362 41.5"></path><path id="Pocket-hanky" fill="#E6E6E6" d="m149 58 9.556-7.167a4 4 0 0 1 4.856.043L170 56z"></path><path id="Wing" fill="#2F4351" d="M69 0q-6 29 5 82H58L44 46l6-9-6-6L63 1q3.042-.945 6-1"></path><path id="Wing" fill="#2F4351" d="M151 0q-6 29 5 82h-16l-14-36 6-9-6-6 19-30q3.042-.945 6-1" transform="matrix(-1 0 0 1 282 0)"></path></g></g>',1),vm=[wm];function Em(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vm])}const Cm={render:Em},Sm=t.createStaticVNode('<g id="Clothing/Blazer-+-Sweater" transform="translate(0 170)"><defs><path id="BlazerSweater-path1" d="M105.192 29.052H104c-39.765 0-72 32.235-72 72V110h200v-8.948c0-39.765-32.235-72-72-72h-1.192q.191 1.475.192 3c0 13.807-12.088 25-27 25s-27-11.193-27-25q0-1.525.192-3"></path></defs><mask id="BlazerSweater-mask1" fill="#fff"><use href="#BlazerSweater-path1"></use></mask><use fill="#E6E6E6" class="CustomColor" href="#BlazerSweater-path1"></use><g id="Color/Palette/Black" fill="#262E33" mask="url(&#39;#BlazerSweater-mask1&#39;)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Blazer" transform="translate(32 28)"><path id="Saco" fill="#3A4C5A" d="M68.785 1.122C30.512 2.804 0 34.365 0 73.052V82h69.362C65.96 69.92 64 55.709 64 40.5c0-14.327 1.74-27.769 4.785-39.378M131.638 82H200v-8.948c0-38.345-29.975-69.69-67.771-71.878C135.265 12.77 137 26.194 137 40.5c0 15.209-1.96 29.42-5.362 41.5"></path><path id="Pocket-hanky" fill="#E6E6E6" d="m149 58 9.556-7.167a4 4 0 0 1 4.856.043L170 56z"></path><path id="Wing" fill="#2F4351" d="M69 0q-6 29 5 82H58L44 46l6-9-6-6L63 1q3.042-.945 6-1"></path><path id="Wing" fill="#2F4351" d="M151 0q-6 29 5 82h-16l-14-36 6-9-6-6 19-30q3.042-.945 6-1" transform="matrix(-1 0 0 1 282 0)"></path></g><path id="Collar" fill="#F2F2F2" d="M156 21.539c6.772 4.597 11 11.117 11 18.349 0 7.4-4.428 14.057-11.48 18.668l-5.94-4.68-4.58.332 1-3.151-.078-.061C152.022 47.853 156 42.7 156 36.876zm-48 0c-6.772 4.597-11 11.117-11 18.349 0 7.4 4.428 14.057 11.48 18.668l5.94-4.68 4.58.332-1-3.151.078-.061C111.978 47.853 108 42.7 108 36.876z"></path></g>',1),Mm=[Sm];function Bm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mm])}const Am={render:Bm},Vm=t.createElementVNode("g",{id:"Clothing/Collar-+-Sweater",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"CollarSweater-path1",d:"M105.192 29.052H104c-39.765 0-72 32.235-72 72V110h200v-8.948c0-39.765-32.235-72-72-72h-1.192q.191 1.475.192 3c0 13.807-12.088 25-27 25s-27-11.193-27-25q0-1.525.192-3"})]),t.createElementVNode("use",{fill:"var(--avataaar-shirt-color)",class:"CustomColor",href:"#CollarSweater-path1"}),t.createElementVNode("path",{id:"Collar",fill:"#F2F2F2",d:"M156 22.28c6.182 4.555 10 10.826 10 17.748 0 7.205-4.137 13.705-10.771 18.3l-5.65-4.452-4.579.332 1-3.151-.078-.061C152.022 47.853 156 42.7 156 36.876zm-48-.709c-6.767 4.603-11 11.169-11 18.457 0 7.398 4.362 14.052 11.308 18.664l6.113-4.816 4.579.332-1-3.151.078-.061C111.978 47.853 108 42.7 108 36.876z"})],-1),Nm=[Vm];function _m(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Nm])}const Dm={render:_m},Tm=t.createStaticVNode('<g id="Clothing/Hoodie" transform="translate(0 170)"><defs><path id="Hoodie-path1" d="M108 13.07c-17.919 2.006-31.72 7.482-31.996 21.575C50.146 45.568 32 71.165 32 100.999V110h200v-9c0-29.835-18.146-55.432-44.004-66.355-.276-14.093-14.077-19.57-31.996-21.574V32c0 13.255-10.745 24-24 24s-24-10.745-24-24z"></path></defs><mask id="Hoodie-mask1" fill="#fff"><use href="#Hoodie-path1"></use></mask><use fill="var(--avataaar-shirt-color)" class="CustomColor" href="#Hoodie-path1"></use><path id="Straps" fill="#F4F4F4" d="M102 61.74V110h-7V58.15a65 65 0 0 0 7 3.59m67-3.59V98.5a3.5 3.5 0 1 1-7 0V61.74a65 65 0 0 0 7-3.59" mask="url(&#39;#Hoodie-mask1&#39;)"></path><path id="Shadow" fill="#000" d="M90.96 12.724C75.91 15.571 65.5 21.243 65.5 32.308 65.5 52.02 98.538 68 132 68s66.5-15.98 66.5-35.692c0-11.065-10.41-16.737-25.46-19.584 9.085 3.35 14.96 8.982 14.96 18.353C188 51.469 160.179 68 132 68S76 51.469 76 31.077c0-9.37 5.875-15.003 14.96-18.353" mask="url(&#39;#Hoodie-mask1&#39;)" opacity=".16"></path></g>',1),Pm=[Tm];function Om(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pm])}const Fm={render:Om},Lm=t.createElementVNode("g",{id:"Clothing/Graphic-Shirt",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"GraphicShirt-path1",d:"M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"})]),t.createElementVNode("use",{fill:"#E6E6E6",class:"CustomColor",href:"#GraphicShirt-path1"})],-1),$m=[Lm];function Hm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$m])}const Rm={render:Hm},zm=t.createStaticVNode('<g id="Clothing/Overall" transform="translate(0 170)"><defs><path id="Overall-path1" d="M94 29.688V74h76V29.688a71.5 71.5 0 0 1 26 8.944V110H68V38.632a71.5 71.5 0 0 1 26-8.944"></path></defs><use fill="var(--avataaar-shirt-color)" class="CustomColor" href="#Overall-path1"></use><circle id="Button" cx="81" cy="83" r="5" fill="#F4F4F4"></circle><circle id="Button" cx="183" cy="83" r="5" fill="#F4F4F4"></circle></g>',1),Im=[zm];function Gm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Im])}const jm={render:Gm},qm=t.createStaticVNode('<g id="Clothing/Shirt-Crew-Neck" transform="translate(0 170)"><defs><path id="ShirtCrewNeck-path1" d="M165.96 29.295c36.976 3.03 66.04 34 66.04 71.757V110H32v-8.948c0-38.1 29.592-69.287 67.045-71.832Q99 29.78 99 30.348c0 11.863 14.998 21.48 33.5 21.48s33.5-9.617 33.5-21.48q0-.53-.04-1.053"></path></defs><mask id="ShirtCrewNeck-mask1" fill="#fff"><use href="#ShirtCrewNeck-path1"></use></mask><use fill="var(--avataaar-shirt-color)" class="CustomColor" href="#ShirtCrewNeck-path1"></use><g id="Shadowy" fill="#000" mask="url(&#39;#ShirtCrewNeck-mask1&#39;)" opacity=".16"><ellipse id="Hola" cx="40.5" cy="27.848" rx="39.635" ry="26.914" transform="translate(92 4)"></ellipse></g></g>',1),Wm=[qm];function Ym(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wm])}const Um={render:Ym},Xm=t.createElementVNode("g",{id:"Clothing/Shirt-V-Neck",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"ShirtVNeck-path1",d:"M171.32 29.936C205.706 35.366 232 65.14 232 101.052V110H32v-8.948c0-35.914 26.294-65.686 60.682-71.116a23.9 23.9 0 0 0 7.554 13.603l29.085 26.229a4 4 0 0 0 5.358 0l29.085-26.229a24 24 0 0 0 1.234-1.196 23.9 23.9 0 0 0 6.322-12.407"})]),t.createElementVNode("use",{fill:"var(--avataaar-shirt-color)",class:"CustomColor",href:"#ShirtVNeck-path1"})],-1),Zm=[Xm];function Qm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zm])}const Km={render:Qm},Jm=t.createElementVNode("g",{id:"Clothing/Shirt-Scoop-Neck",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"ShirtScoopNeck-path1",d:"M181.544 32.33C210.784 41.488 232 68.792 232 101.052V110H32v-8.948c0-32.655 21.739-60.232 51.534-69.05A18 18 0 0 0 83 36.348c0 16.281 22.162 29.48 49.5 29.48S182 52.629 182 36.348c0-1.363-.155-2.704-.456-4.018"})]),t.createElementVNode("use",{fill:"var(--avataaar-shirt-color)",class:"CustomColor",href:"#ShirtScoopNeck-path1"})],-1),ef=[Jm];function tf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ef])}const af={render:tf},nf={BlazerShirt:Cm,CollarSweater:Dm,BlazerSweater:Am,Hoodie:Fm,GraphicShirt:Rm,Overall:jm,ShirtCrewNeck:Um,ShirtVNeck:Km,ShirtScoopNeck:af},rf=t.createStaticVNode('<g id="Top"><defs><path id="Eyepatch-path1" d="M0 0h264v280H0z"></path></defs><mask id="Eyepatch-mask1" fill="#fff"><use href="#Eyepatch-path1"></use></mask><g id="Top/Accesories/Eyepatch" mask="url(&#39;#Eyepatch-mask1&#39;)"><path fill="#28354B" d="M159.395 39.781c-3.077-3.088-6.276 3.858-7.772 5.647-3.61 4.32-7.083 8.755-10.755 13.024-7.252 8.43-14.429 16.922-21.634 25.388-1.094 1.286-.961 1.425-2.397 1.549-.951.082-2.274-.409-3.263-.463-2.75-.151-5.462.309-8.138.897-5.345 1.173-11.01 3.106-15.647 6.075-1.217.78-2.002 1.7-3.322 1.943-1.149.212-2.673-.211-3.845-.322-2.08-.195-5.084-1.046-7.127-.605-2.592.56-3.578 3.697-.935 5.086 2.01 1.056 6.01.476 8.264.645 2.573.192 1.788.06 1.423 2.52-.523 3.533.352 7.481 1.842 10.713 3.46 7.505 13.034 15.457 21.766 14.725 7.287-.61 13.672-7.19 16.664-13.503 1.532-3.231 2.436-6.908 2.731-10.472.189-2.266.084-4.67-.566-6.865-.321-1.085-.83-2.208-1.376-3.193-.442-.799-2.4-2.65-2.52-3.453-.232-1.557 4.185-5.73 5.028-6.773 3.973-4.916 7.964-9.812 11.906-14.755 3.881-4.869 7.784-9.725 11.768-14.51 1.804-2.17 10.828-10.364 7.905-13.298" class="CustomColor"></path></g></g>',1),of=[rf];function lf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...of])}const sf={render:lf},cf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairMiaWallace-path1" d="M0 0h264v280H0z"></path><path id="LongHairMiaWallace-path2" d="M148.86 69q.14 1.982.14 4v38c0 22.34-13.08 41.623-32 50.611v8.706c18.146 1.499 35.721 4.018 46 6.683 9.953-13.56 22.885-26.2 23-51 .085-18.985-27.676-95.572-40-111-8.138-10.188-28.695-13.55-53-14S48.923 6.509 41 16C30.319 28.795-.085 107.015 0 126c.116 24.8 13.048 37.44 23 51 10.279-2.665 27.854-5.184 46-6.683v-8.706C50.08 152.623 37 133.339 37 111V73q0-2.018.14-4h28.234l3.879-21.444L72.058 69h76.801Z"></path></defs><mask id="LongHairMiaWallace-mask1" fill="#fff"><use href="#LongHairMiaWallace-path1"></use></mask><g id="Top/Long-Hair/Mia-Wallace" mask="url(&#39;#LongHairMiaWallace-mask1&#39;)"><g transform="translate(-1)"><path id="Shadow" fill="#000" d="M69.033 76.213q19.407-49.626 41.025-49.626c.539 0 29.253-.238 48.055-.36C178.767 35.585 193 55.304 193 78.115V93h-82.942l-2.805-23.18-3.88 23.18H69V78.115q0-.955.033-1.902" opacity=".16"></path><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairMiaWallace-path2" transform="translate(40 19)"></use></g></g></g>',1),df=[cf];function uf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...df])}const mf={render:uf},ff=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortCurly-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortCurly-path1" d="M94.252 52.022q.185-.081-.916-.062 1.338-.003.916.062m-8.135-15.72c-.002-.02.017.15 0 0m107.648 34.464c-.264-3.317-.732-6.614-1.518-9.855-.625-2.576-1.478-5.033-2.487-7.491-.61-1.485-2.032-3.524-2.2-5.126-.165-1.577 1.067-3.325 1.33-5.162a16 16 0 0 0-.156-5.438c-.833-4.023-3.594-7.764-7.857-8.813-.952-.234-2.964.055-3.636-.5-.771-.635-1.308-2.8-2.006-3.669-1.99-2.476-5.095-4.07-8.37-3.514-2.41.409-1.026.907-2.833-.512-1.005-.788-1.756-1.993-2.732-2.847-1.467-1.283-3.15-2.38-4.892-3.282-4.557-2.358-9.754-4.072-14.844-4.908-9.285-1.524-19.195-.195-28.195 2.22-4.479 1.201-8.987 2.726-13.147 4.743-1.783.864-2.813 1.582-4.673 1.808-2.928.357-5.409.339-8.183 1.581-8.536 3.822-12.381 12.689-9.06 21.174a14.6 14.6 0 0 0 2.82 4.584c1.521 1.68 2.072 1.35.762 3.282a53 53 0 0 0-4.955 9.172c-3.529 8.402-4.12 17.864-3.89 26.824.081 3.137.216 6.313.71 9.42.214 1.344.274 3.872 1.282 4.87.512.506 1.241.788 1.969.587 1.71-.474 1.121-1.735 1.161-2.906.2-5.884-.07-11.089 1.33-16.902 1.033-4.294 2.755-8.195 4.988-12.035 2.838-4.884 5.903-9.173 9.807-13.355.917-.984 1.118-1.4 2.349-1.472.932-.054 2.295.584 3.2.805 1.999.487 4 .968 6.034 1.296 3.74.603 7.444.644 11.217.525 7.426-.232 14.885-.753 22.085-2.623 4.782-1.242 9.022-3.47 13.602-5.105.082-.029 1.23-.847 1.43-.814.282.047 1.978 1.826 2.264 2.05 2.226 1.746 4.667 2.479 7.07 3.83 2.964 1.667.094-.718 1.728 1.359.477.605.72 1.726 1.103 2.411a18.1 18.1 0 0 0 4.93 5.624c1.956 1.47 4.894 2.18 5.891 4.095.769 1.477 1.028 3.484 1.648 5.06 1.628 4.136 3.777 7.992 5.926 11.887 1.732 3.14 3.625 5.881 3.818 9.468.067 1.248-1.121 8.737 1.773 6.46.429-.338 1.353-4.156 1.543-4.804.772-2.633 1.046-5.381 1.395-8.086.694-5.38.923-10.498.47-15.916"></path></defs><mask id="ShortHairShortCurly-mask2" fill="#fff"><use href="#ShortHairShortCurly-path2"></use></mask><g id="Top/Short-Hair/Short-Curly" mask="url(&#39;#ShortHairShortCurly-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortCurly-path1" transform="translate(-1)"></use></g></g>',1),hf=[ff];function pf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...hf])}const gf={render:pf},yf=t.createStaticVNode('<g id="Top"><defs><path id="Hat-path2" d="M0 0h264v280H0z"></path><path id="Hat-path1" d="M156 180.611c17.53-8.328 30.048-25.496 31.791-45.744C193.57 134.002 198 129.02 198 123v-13c0-5.946-4.325-10.882-10-11.834V92a55.8 55.8 0 0 0-4.638-22.35C173.435 53 89.312 53.802 80.71 69.484A55.8 55.8 0 0 0 76 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V199h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4zM0 0h264v280H0z"></path></defs><mask id="Hat-mask1" fill="#fff"><use href="#Hat-path2"></use></mask><g id="Top/Accesories/Hat" mask="url(&#39;#Hat-mask1&#39;)"><g transform="translate(-1)"><g id="Hat" transform="translate(1)"><mask id="Hat-mask2" fill="#fff"><use href="#Hat-path1"></use></mask><path fill="var(--avataaar-top-color)" d="M123.182 2h18.636c18.791 0 35.049 13.08 39.072 31.436L190 75H75l9.11-41.564C88.133 15.08 104.39 2 123.182 2" mask="url(&#39;#Hat-mask2&#39;)" style="fill-opacity:.6;"></path><ellipse id="Hipster" cx="132" cy="87.5" fill="var(--avataaar-top-color)" mask="url(&#39;#Hat-mask2&#39;)" rx="122" ry="57.5"></ellipse><ellipse id="Hipster" cx="132" cy="87.5" fill="#2e2e2e" mask="url(&#39;#Hat-mask2&#39;)" rx="122" ry="57.5" style="fill-opacity:.1;"></ellipse><ellipse id="Very" cx="132" cy="82" fill="var(--avataaar-top-color)" mask="url(&#39;#Hat-mask2&#39;)" rx="62" ry="25"></ellipse><ellipse id="Very" cx="132" cy="82" fill="#2e2e2e" mask="url(&#39;#Hat-mask2&#39;)" rx="62" ry="25" style="fill-opacity:.5;"></ellipse></g></g></g></g>',1),kf=[yf];function xf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...kf])}const bf={render:xf},wf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairNotTooLong-path1" d="M0 0h264v280H0z"></path><path id="LongHairNotTooLong-path2" d="M59 102.34V182a8 8 0 0 0 8 8h42v-9.389c-17.53-8.328-30.048-25.496-31.791-45.744C71.43 134.002 67 129.02 67 123v-13c0-3.49 1.49-6.633 3.87-8.826 11.539-2.619 24.1-7.536 36.472-14.679 12.131-7.004 22.502-15.237 30.479-23.743q-5.14 11.862-12.449 20.783 19.013-8.285 25.892-26.639.565 1.383 1.18 2.762c10.256 23.035 27.874 39.36 45.762 44.745.513 2.11.794 4.08.794 5.597v13c0 6.019-4.43 11.002-10.209 11.867-1.743 20.248-14.26 37.416-31.791 45.744V190h18c17.673 0 32-14.327 32-32v-54.125q0-.1-.028-.26-.216-18.391-.612-21.39C201.577 45.977 170.556 18 133 18c-36.085 0-66.137 25.828-73 60-5.523 0-10 5.596-10 12.5 0 4.55 1.695 8.643 4.853 10.773.905.61 2.47.925 4.147 1.067"></path></defs><mask id="LongHairNotTooLong-mask1" fill="#fff"><use href="#LongHairNotTooLong-path1"></use></mask><g id="Top/Long-Hair/Long-but-not-too-long" mask="url(&#39;#LongHairNotTooLong-mask1&#39;)"><g transform="translate(-1)"><use id="Behind" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairNotTooLong-path2"></use><g id="Top" opacity=".16" transform="translate(50 18)"><path id="Combined-Shape" fill="#FFF" d="M11.899 84.775c13.812-1.76 29.78-7.237 45.443-16.28 12.131-7.004 22.502-15.237 30.479-23.743q-5.14 11.862-12.449 20.783 19.013-8.285 25.892-26.639.565 1.383 1.18 2.762C114.382 68.471 136.296 86.194 157 88.151V74c0-40.87-33.13-74-74-74-36.085 0-66.137 25.828-72.679 60.006A8 8 0 0 0 10 60C4.477 60 0 65.596 0 72.5c0 6.482 3.947 11.811 9 12.438v.155q.474-.044.953-.093a8.2 8.2 0 0 0 1.946-.225"></path></g></g></g></g>',1),vf=[wf];function Ef(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vf])}const Cf={render:Ef},Sf=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortFlat-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortFlat-path1" d="M180.15 39.92c-2.76-2.82-5.964-5.213-9.08-7.613-.688-.53-1.387-1.046-2.06-1.595-.152-.125-1.718-1.246-1.905-1.659-.451-.993-.19-.22-.128-1.404.079-1.498 3.134-5.73.854-6.7-1.003-.427-2.791.709-3.753 1.084a60 60 0 0 1-5.731 1.9c.932-1.857 2.708-5.574-.631-4.579-2.602.775-5.026 2.768-7.64 3.705.865-1.417 4.324-5.811 1.198-6.057-.972-.076-3.803 1.748-4.85 2.138-3.137 1.165-6.34 1.92-9.634 2.513-11.198 2.018-24.293 1.442-34.653 6.54-7.988 3.93-15.874 10.029-20.489 17.795-4.447 7.485-6.11 15.676-7.041 24.253-.683 6.295-.739 12.802-.42 19.119.105 2.07.338 11.61 3.345 8.721 1.498-1.44 1.487-7.253 1.864-9.22.751-3.916 1.474-7.848 2.726-11.638 2.206-6.68 4.809-13.793 10.305-18.393 3.527-2.952 6.004-6.941 9.379-9.919 1.516-1.337.36-1.198 2.797-1.022 1.638.117 3.282.162 4.923.205 3.796.099 7.598.074 11.395.087 7.647.028 15.258.136 22.898-.265 3.395-.177 6.799-.274 10.185-.588 1.891-.175 5.247-1.387 6.804-.461 1.425.847 2.905 3.615 3.928 4.748 2.418 2.679 5.3 4.724 8.126 6.92 5.895 4.58 8.87 10.332 10.66 17.488 1.784 7.13 1.284 13.745 3.491 20.762.389 1.233 1.416 3.36 2.682 1.454.235-.354.175-2.3.175-3.42 0-4.52 1.144-7.91 1.13-12.46-.056-13.832-.504-31.868-10.85-42.439"></path></defs><mask id="ShortHairShortFlat-mask2" fill="#fff"><use href="#ShortHairShortFlat-path2"></use></mask><g id="Top/Short-Hair/Short-Flat" mask="url(&#39;#ShortHairShortFlat-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortFlat-path1" transform="translate(-1)"></use></g></g>',1),Mf=[Sf];function Bf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mf])}const Af={render:Bf},Vf=t.createStaticVNode('<g id="Top"><defs><path id="Hijab-path1" d="M0 0h264v280H0z"></path><path id="Hijab-path2" d="M66.042 77.075C71.68 45.205 99.513 21 133 21c37.555 0 68 30.445 68 68v30.751q1.313 14.705 2.456 20.603c1.377 7.104 5.694 4.761 5.694 14.866s-4.328 13.5-4.347 22.485c-.019 8.986 15.397 16.131 15.397 27.538s-7.074 65.233-77.622 65.233q-22.605 0-38.51-12.862Q105.091 267.349 106 280H59c.932-23.771-7.284-37.064-7.284-63.554S65.353 151.428 65 142q.03-.873.062-2.068A69 69 0 0 1 65 137V89c0-3.976.341-7.872.996-11.661L66 77zM132.5 53C102.4 53 78 77.4 78 107.5v23c0 30.1 24.4 54.5 54.5 54.5h1c30.1 0 54.5-24.4 54.5-54.5v-23c0-30.1-24.4-54.5-54.5-54.5z"></path></defs><mask id="Hijab-mask1" fill="#fff"><use href="#Hijab-path1"></use></mask><g id="Top/Accesories/Hijab" mask="url(&#39;#Hijab-mask1&#39;)"><g transform="translate(-1)"><mask id="Hijab-mask2" fill="#fff"><use href="#Hijab-path2"></use></mask><use fill="var(--avataaar-top-color)" class="CustomColor" href="#Hijab-path2"></use><path id="Band" fill="#FFF" stroke="none" d="M72.074 104.96A61.4 61.4 0 0 1 71 93.5C71 59.534 98.758 32 133 32s62 27.534 62 61.5c0 3.916-.369 7.747-1.074 11.46C192.34 72.683 165.67 47 133 47s-59.341 25.683-60.926 57.96" mask="url(&#39;#Hijab-mask2&#39;)" opacity=".5"></path><path id="Shadows" fill="#000" stroke="none" d="M187.93 104.695A55 55 0 0 1 189 115.5v23c0 30.1-24.4 54.5-54.5 54.5h-3c-30.1 0-54.5-24.4-54.5-54.5v-23c0-3.7.369-7.312 1.07-10.805Q78 106.089 78 107.5v23c0 30.1 24.4 54.5 54.5 54.5h1c30.1 0 54.5-24.4 54.5-54.5v-23q0-1.41-.07-2.805m-73.763 102.3c6.484 4.986 21.496 6.713 38.238 3.761 16.74-2.951 30.257-9.71 34.645-16.612q.102.379.171.767c1.71 9.695-13.236 20.434-33.38 23.987-20.146 3.552-37.863-1.428-39.573-11.123a9 9 0 0 1-.101-.78m11.868 28.926c8.192 5.654 24.387 5.923 41.069-.149s28.915-16.687 31.556-26.284q.215.48.396.98c4.527 12.436-8.077 28.441-28.151 35.748s-40.017 3.147-44.544-9.29q-.181-.498-.326-1.005" mask="url(&#39;#Hijab-mask2&#39;)" opacity=".16"></path></g></g></g>',1),Nf=[Vf];function _f(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Nf])}const Df={render:_f},Tf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairShavedSides-path2" d="M0 0h264v280H0z"></path><path id="LongHairShavedSides-path3" d="M156 180.611c17.53-8.328 30.048-25.496 31.791-45.744C193.57 134.002 198 129.02 198 123v-13c0-5.946-4.325-10.882-10-11.834V92c0-30.928-25.072-56-56-56S76 61.072 76 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V199h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4zM0 0h264v280H0z"></path><path id="LongHairShavedSides-path1" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><rect id="LongHairShavedSides-path4" width="112" height="150" x="0" y="0" rx="56"></rect></defs><mask id="LongHairShavedSides-mask2" fill="#fff"><use href="#LongHairShavedSides-path2"></use></mask><g id="Top/Long-Hair/Shaved-Sides" mask="url(&#39;#LongHairShavedSides-mask2&#39;)"><g transform="translate(-1)"><g id="Behind" fill="none" transform="translate(1)"><mask id="LongHairShavedSides-mask3" fill="#fff"><use href="#LongHairShavedSides-path3"></use></mask><path fill="var(--avataaar-hair-color)" d="M116.18 40H146c25.405 0 46 20.595 46 46v68.109c0 26.541 18.759 50.24 30.61 71.943s-7.355 42.19-26.84 50.717A38.5 38.5 0 0 1 180.332 280h-45.068c-56.352 0-65.046-63.69-67.566-133.496l2.52-62.36C71.213 59.48 91.497 40 116.179 40Z" class="CustomColor" mask="url(&#39;#LongHairShavedSides-mask3&#39;)"></path></g><g id="Top" fill="none" transform="translate(77 36)"><mask id="LongHairShavedSides-mask1" fill="#fff"><use href="#LongHairShavedSides-path4"></use></mask><path id="Shadow" fill="#000" d="M98.801 19.94C107.027 29.484 112 41.91 112 55.5v10-4c0-15.74-6.672-29.92-17.342-39.87q-46.107 16.57-77.717.378C6.505 31.937 0 45.958 0 61.5v4-10c0-13.607 4.987-26.05 13.233-35.6-3.834-3.04-4.974-11.713 6.234-15.023 11.845-3.499 9.84-18.079 27.99-20.803C65.61-18.65 63.972-11.375 81.03-12.35c17.057-.974 22.607-16.763 25.82-12.724 12.74 16.01 9.572 34.414-8.048 45.014Z" mask="url(&#39;#LongHairShavedSides-mask1&#39;)" opacity=".16"></path></g><path fill="#E0C863" d="M90.878 52.361q33.225 19.299 83.366 0c14.53-7.772 25.087-23.319 8.707-43.398-2.169-2.658-10.707 6.713-27.6 7.687s-13.271-3.3-31.248-.576-15.991 17.304-27.722 20.803c-11.73 3.498-9.803 12.987-5.503 15.484" class="CustomColor"></path></g></g></g>',1),Pf=[Tf];function Of(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pf])}const Ff={render:Of},Lf=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortRound-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortRound-path1" d="M167.309 35.006c-20.188-11.7-40.18-9.784-55.272-5.976s-24.02 14.621-31.68 30.618c-3.761 7.855-5.991 17.143-6.334 25.833-.135 3.412.325 6.934 1.245 10.22.337 1.205 2.155 5.386 2.654 2.008.167-1.125-.442-2.676-.5-3.871-.078-1.569.005-3.157.112-4.723.2-2.928.722-5.8 1.65-8.59 1.328-3.988 3.017-8.312 5.603-11.677 6.401-8.327 17.482-8.802 26.28-13.384-.764 1.405-3.707 3.68-2.688 5.263.705 1.094 3.37.762 4.643.727 3.349-.092 6.713-.674 10.02-1.147 5.214-.745 10.099-2.255 15.005-4.089 4.016-1.502 8.603-2.892 11.622-6.078 4.87 5.048 11.14 9.795 17.401 13.003 5.618 2.88 14.679 4.318 18.113 10.158 4.065 6.914 2.195 15.406 3.436 22.9.472 2.85 1.545 2.786 2.132.237.997-4.33 1.468-8.828 1.151-13.279-.718-10.048-4.405-36.453-24.593-48.153"></path></defs><mask id="ShortHairShortRound-mask2" fill="#fff"><use href="#ShortHairShortRound-path2"></use></mask><g id="Top/Short-Hair/Short-Round" mask="url(&#39;#ShortHairShortRound-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortRound-path1" transform="translate(-1)"></use></g></g>',1),$f=[Lf];function Hf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$f])}const Rf={render:Hf},zf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairBigHair-path1" d="M0 0h264v280H0z"></path><path id="LongHairBigHair-path2" d="M222.385 182.806c-5.374 5.712-10.737 9.322-10.554 15.194.317 11.889 43.608 47.051 5.169 69H16.005c-38.439-21.949 4.852-57.111 5.17-69 .182-5.872-5.18-9.482-10.555-15.194C5.247 177.094-.137 169.28.003 155c.941-29.028 31.369-26.412 31.2-46 .169-19-11.39-26.84 0-63C42.84 9.54 72.917.768 116.003.016V0l.5.008.5-.008v.016c43.086.752 73.163 9.523 84.8 45.984 11.388 36.16-.17 44 0 63-.17 19.588 30.258 16.972 31.2 46 .14 14.28-5.245 22.094-10.618 27.806m-39.501-87.481c-21.52-11.588-39.994-28.18-52.038-47.023C112.764 73.924 76.53 78.535 51.224 94.68A12 12 0 0 0 51 97v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V186h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C178.57 121.002 183 116.02 183 110V97q-.001-.853-.116-1.675"></path><path id="LongHairBigHair-path3" d="M222.385 182.806c-5.374 5.712-10.737 9.322-10.554 15.194.317 11.889 43.608 47.051 5.169 69H16.005c-38.439-21.949 4.852-57.111 5.17-69 .182-5.872-5.18-9.482-10.555-15.194C5.247 177.094-.137 169.28.003 155c.941-29.028 31.369-26.412 31.2-46 .169-19-11.39-26.84 0-63C42.84 9.54 72.917.768 116.003.016V0l.5.008.5-.008v.016c43.086.752 73.163 9.523 84.8 45.984 11.388 36.16-.17 44 0 63-.17 19.588 30.258 16.972 31.2 46 .14 14.28-5.245 22.094-10.618 27.806M93 186h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4v-46H93z"></path></defs><mask id="LongHairBigHair-mask2" fill="#fff"><use href="#LongHairBigHair-path1"></use></mask><g id="Top/Long-Hair/Big-Hair" mask="url(&#39;#LongHairBigHair-mask2&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairBigHair-path2" transform="translate(16 13)"></use><g id="Shadow" fill="none" transform="translate(16 13)"><mask id="LongHairBigHair-mask1" fill="#fff"><use href="#LongHairBigHair-path3"></use></mask><path id="Shadow-Mask" fill="#000" d="M30.099 115.057c-2.374 3.026-5.57 7.471-5.737 7.137 1.873-2.383 3.013-5.182 2.979-8.758.177-18.101-11.904-25.569 0-60.017.669-1.91 1.766-3.715 3.245-5.414-10.343 34.454.783 42.35.617 60.995.02 2.295-.38 4.285-1.104 6.057m172.32-67.052c1.48 1.7 2.577 3.504 3.245 5.414 10.158 29.394 2.852 39.144.6 52.617-.3.805-.069 1.754-.384 2.567-30.673-10.458-58.29-30.043-74.385-52.991-22.784 29.424-73.14 29.761-97.821 55.324.387-.544.754-1.051 1.084-1.49 22.536-29.919 73.489-29.122 96.088-61.144 15.398 24.088 41.818 44.648 71.163 55.625.301-.854.08-1.85.367-2.694 2.108-13.833 8.84-23.926.043-53.228" mask="url(&#39;#LongHairBigHair-mask1&#39;)" opacity=".16"></path></g><path id="Light" fill="#FFF" d="M50.758 122.446c22.536-29.919 73.489-29.122 96.088-61.144 15.398 24.088 41.818 44.648 71.163 55.625.301-.854.08-1.85.367-2.694 2.155-14.144 9.144-24.378-.573-55.233-11.637-36.46-41.714-45.232-84.8-45.984l-1-.016c-43.086.768-73.163 9.54-84.8 46-11.39 36.16.169 44 0 63 .032 3.753-1.059 6.691-2.85 9.193.183.402 4.153-5.756 6.405-8.747" opacity=".1"></path></g></g></g>',1),If=[zf];function Gf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...If])}const jf={render:Gf},qf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairStraight-path1" d="M0 0h264v280H0z"></path><path id="LongHairStraight-path2" d="M133.506 81.335A12 12 0 0 1 140 92v13c0 6.019-4.43 11.002-10.209 11.867-1.743 20.248-14.26 37.416-31.791 45.744V181h4c17.49 0 33.525 6.237 46 16.608V74c0-20.435-8.283-38.935-21.674-52.326S94.435 0 74 0C33.13 0 0 33.13 0 74v183.716c13.57-1.94 24-13.61 24-27.716v-45.577A72 72 0 0 1 46 181h4v-18.389a56.23 56.23 0 0 1-26-25.365v-61.98c9.147-2.975 18.778-7.249 28.342-12.77 15.403-8.894 28.09-19.555 36.724-30.099a87 87 0 0 0 7.044 15.488c8.768 15.186 21.114 26.349 33.89 32.032v.249q.6.1 1.18.26 1.162.484 2.326.91Z"></path></defs><mask id="LongHairStraight-mask1" fill="#fff"><use href="#LongHairStraight-path1"></use></mask><g id="Top/Long-Hair/Straight" mask="url(&#39;#LongHairStraight-mask1&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairStraight-path2" transform="translate(59 18)"></use><path id="Shadow" fill="#000" d="M192.506 99.335c4.869 1.773 9.757 2.737 14.494 2.813V92c0-20.435-8.283-38.935-21.674-52.326C198.717 53.065 207 71.565 207 92v123.608C194.525 205.237 178.49 199 161 199h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C194.57 134.002 199 129.02 199 123v-13a12 12 0 0 0-6.494-10.665m-2.326-.91a12 12 0 0 0-1.18-.26v-.248q.59.262 1.18.509ZM83 155.246a56.23 56.23 0 0 0 26 25.366V199h-4c-7.673 0-15.065 1.2-22 3.423z" opacity=".24"></path></g></g></g>',1),Wf=[qf];function Yf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wf])}const Uf={render:Yf},Xf=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortWaved-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortWaved-path1" d="M183.68 38.949c5.406-4.95 6.707-14.987 3.638-21.5-3.769-7.995-11.417-8.997-18.746-5.48-6.908 3.315-13.057 4.419-20.622 2.813-7.258-1.541-14.144-4.26-21.647-4.706-12.325-.733-24.3 3.839-32.7 13.053-1.603 1.758-2.894 3.768-4.115 5.805-.976 1.63-2.077 3.38-2.493 5.258-.198.894.17 3.098-.275 3.83-.48.79-2.296 1.515-3.069 2.102-1.567 1.189-2.924 2.53-4.18 4.047-2.666 3.222-4.133 6.587-5.368 10.572-4.102 13.245-4.45 28.998.854 42.004.707 1.734 2.898 5.352 4.186 1.638.255-.734-.334-3.194-.333-3.935.005-2.72 1.506-20.729 8.047-30.817 2.13-3.284 11.973-15.58 13.984-15.68 1.065 1.693 11.88 12.51 39.942 11.242 12.662-.572 22.4-6.26 24.738-8.727 1.028 5.533 12.992 13.816 14.815 17.224 5.267 9.846 6.435 30.304 8.445 30.265s3.453-5.237 3.867-6.23c3.072-7.375 3.595-16.632 3.267-24.559-.427-10.202-4.638-21.226-12.235-28.22Z"></path></defs><mask id="ShortHairShortWaved-mask2" fill="#fff"><use href="#ShortHairShortWaved-path2"></use></mask><g id="Top/Short-Hair/Short-Waved" mask="url(&#39;#ShortHairShortWaved-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortWaved-path1" transform="translate(-1)"></use></g></g>',1),Zf=[Xf];function Qf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zf])}const Kf={render:Qf},Jf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairBob-path1" d="M0 0h264v280H0z"></path><path id="LongHairBob-path2" d="M38 79.36V111c0 22.34 13.08 41.623 32 50.611v13.135c-19.637 2.688-35.359 7.418-46.615 6.254C9.162 179.53 1.496 150.796 1 126 .383 95.164 29.319 30.795 40 18 47.923 8.509 69.695.55 94 1s46.862 5.812 55 16c12.324 15.428 37.869 74.079 38 109 .094 24.8-9.537 49.66-23 51-11.08 1.103-26.524-1.489-46-3.003v-12.386c18.92-8.988 32-28.272 32-50.611V82.988q-14.282-7.286-25.846-17.647 4.812 7.944 10.46 13.532-40.526-11.37-64.473-38.528Q58.169 65.042 38 79.36"></path></defs><mask id="LongHairBob-mask1" fill="#fff"><use href="#LongHairBob-path1"></use></mask><g id="Top/Long-Hair/Bob" mask="url(&#39;#LongHairBob-mask1&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairBob-path2" transform="translate(39 19)"></use></g></g></g>',1),eh=[Jf];function th(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...eh])}const ah={render:th},nh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairStraight2-path1" d="M0 0h264v280H0z"></path><path id="LongHairStraight2-path2" d="M21 157.54V69.047c0-3.532.398-6.971 1.152-10.275C25.205 38.731 36.775 22.811 50 13c19.905-14.76 53.442-19.018 65.047-1.478C123.698 7.681 136.52 11.182 146 20c9.565 9.415 17.2 30.197 12.657 47.204q.158 1.898.158 3.837v21.851A12.01 12.01 0 0 0 149 83.166V83c-6.036-21.536-23.77-31.42-34.57-41.223C97.535 60.673 44.823 60.74 27 98v10c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V166c2.93 43.855-6.642 98.797-69 82 13.606-7.962 20.808-58.944 21-90.46m96 8.071c17.53-8.328 30.048-25.496 31.791-45.744a12.01 12.01 0 0 0 10.024-9.76v1.363a100 100 0 0 0 10.963 45.524l26.949 52.707c6.963 13.619 4.919 29.473-3.936 40.768C189.966 213.289 158.903 184 121 184h-4z"></path><path id="LongHairStraight2-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairStraight2-mask1" fill="#fff"><use href="#LongHairStraight2-path1"></use></mask><g id="Top/Long-Hair/Straight" mask="url(&#39;#LongHairStraight2-mask1&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairStraight2-path2" transform="translate(40 15)"></use><path id="Shadow" fill="#000" d="M67 113c17.823-32.335 70.535-32.393 87.43-48.792 10.778 8.49 28.462 15.059 34.533 33.66-6.071-21.444-23.755-31.308-34.533-41.09C137.535 75.672 84.823 75.74 67 113" opacity=".16"></path></g></g></g>',1),rh=[nh];function oh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...rh])}const ih={render:oh},lh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairSides-path1" d="M0 0h264v280H0z"></path><path id="ShortHairSides-path2" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><path id="ShortHairSides-path3" d="M6 28c-5.076.071-6-1.006-6-5C0 17.344 4.04 6.778 8 2c1.176-2.17 3.619-3.432 3 1-2.66 8.477.417 24.914-5 25m114 0c-5.417-.086-2.34-16.523-5-25-.619-4.432 1.824-3.17 3-1 3.96 4.778 8 15.344 8 21 0 3.994-.924 5.071-6 5"></path></defs><mask id="ShortHairSides-mask2" fill="#fff"><use href="#ShortHairSides-path1"></use></mask><g id="Top/Short-Hair/Sides" mask="url(&#39;#ShortHairSides-mask2&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairSides-path3" transform="translate(70 74)"></use></g></g></g>',1),sh=[lh];function ch(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sh])}const dh={render:ch},uh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairBun-path2" d="M0 0h264v280H0z"></path><path id="LongHairBun-path1" d="M114.94 28.337q-1.48.334-2.903.693c-15.092 3.808-24.02 14.621-31.68 30.618-3.761 7.855-5.991 17.143-6.334 25.833-.135 3.412.325 6.934 1.245 10.22.337 1.205 2.155 5.386 2.654 2.008.167-1.125-.442-2.676-.5-3.871-.078-1.569.005-3.157.112-4.723.2-2.928.722-5.8 1.65-8.59 1.328-3.988 3.017-8.312 5.603-11.677C91.188 60.521 95.765 43.206 133 41.671s48.749 25.79 52.183 31.63c4.065 6.914 2.195 15.406 3.436 22.9.472 2.85 1.545 2.786 2.132.237.997-4.33 1.468-8.828 1.151-13.279-.718-10.048-4.405-36.453-24.593-48.153-5.443-3.154-10.87-5.319-16.192-6.723C154.177 25.31 156 21.568 156 17.5 156 7.835 145.703 0 133 0s-23 7.835-23 17.5c0 4.092 1.846 7.857 4.94 10.837"></path></defs><mask id="LongHairBun-mask2" fill="#fff"><use href="#LongHairBun-path2"></use></mask><g id="Top/Long-Hair/Bun" mask="url(&#39;#LongHairBun-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairBun-path1" transform="translate(-1)"></use></g></g>',1),mh=[uh];function fh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...mh])}const hh={render:fh},ph=t.createStaticVNode('<g id="Top"><defs><path id="LongHairStraightStrand-path1" d="M0 0h264v280H0z"></path><path id="LongHairStraightStrand-path2" d="M8.461 88.694C8.161 89.744 8 90.854 8 92v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V181h-4c-15.619 0-30.076 4.973-41.875 13.423A73.9 73.9 0 0 1 0 170V74C0 33.13 33.13 0 74 0s74 33.13 74 74v96a73.9 73.9 0 0 1-4.125 24.423C132.076 185.973 117.619 181 102 181h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C135.57 116.002 140 111.02 140 105V92c0-1.69-.349-3.297-.979-4.755-12.956-2.188-27.542-7.476-41.872-15.75-12.132-7.004-22.503-15.237-30.48-23.743q5.14 11.862 12.45 20.783-19.013-8.285-25.892-26.639a100 100 0 0 1-1.18 2.762c-9.84 22.1-26.456 38.024-43.586 44.036"></path><path id="LongHairStraightStrand-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairStraightStrand-mask1" fill="#fff"><use href="#LongHairStraightStrand-path1"></use></mask><g id="Top/Long-Hair/Straight-+-Strand" mask="url(&#39;#LongHairStraightStrand-mask1&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairStraightStrand-path2" transform="translate(59 18)"></use><path id="Shadow" fill="#000" d="M59 102.419v6.419c19.945-3.088 40.59-20.448 52.046-46.18q.615-1.38 1.18-2.762 6.008 16.029 21.27 24.378a78 78 0 0 0 4.622 6.261q-19.012-8.285-25.891-26.639a101 101 0 0 1-1.18 2.762C99.59 92.39 78.944 109.75 59 112.838zm148-1.279v9.14c-14.953-.867-33.099-6.535-50.851-16.785-10.273-5.93-19.283-12.743-26.646-19.855a99 99 0 0 1-3.833-7.888c7.976 8.506 18.347 16.74 30.479 23.743 17.752 10.25 35.898 15.918 50.851 16.786z" opacity=".16"></path></g></g></g>',1),gh=[ph];function yh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...gh])}const kh={render:yh},xh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairTheCaesar-path1" d="M0 0h264v280H0z"></path><path id="ShortHairTheCaesar-path2" d="M1 64c.347 1.488 1.673 1.223 2 0-.463-1.554 3.296-28.752 13-36 3.618-2.517 23.008-4.768 42.313-4.754C77.409 23.259 96.42 25.51 100 28c9.704 7.248 13.463 34.446 13 36 .327 1.223 1.653 1.488 2 0 .72-10.298 0-63.726-57-63S.28 53.702 1 64"></path></defs><mask id="ShortHairTheCaesar-mask1" fill="#fff"><use href="#ShortHairTheCaesar-path1"></use></mask><g id="Top/Short-Hair/The-Caesar" mask="url(&#39;#ShortHairTheCaesar-mask1&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairTheCaesar-path2" transform="translate(75 34)"></use></g></g></g>',1),bh=[xh];function wh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bh])}const vh={render:wh},Eh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairCurly-path1" d="M0 0h264v280H0z"></path><path id="LongHairCurly-path2" d="M48.725 89.219A12 12 0 0 0 42 100v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V189h-4q-2.38 0-4.721.152a72 72 0 0 1-13.689-9.103A48 48 0 0 1 48 182c-26.51 0-48-21.49-48-48 0-14.41 6.349-27.335 16.402-36.134A43.8 43.8 0 0 1 8 72c0-21.84 15.911-39.962 36.774-43.41C51.019 11.89 67.12 0 86 0a43.8 43.8 0 0 1 22 5.886A43.8 43.8 0 0 1 130 0c18.88 0 34.981 11.89 41.226 28.59C192.09 32.039 208 50.16 208 72a43.8 43.8 0 0 1-8.402 25.866C209.65 106.665 216 119.591 216 134c0 26.51-21.49 48-48 48-4.72 0-9.281-.681-13.59-1.951a72 72 0 0 1-13.689 9.103A73 73 0 0 0 136 189h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C169.57 124.002 174 119.02 174 113v-13a11.99 11.99 0 0 0-5.476-10.073 24 24 0 0 1-3.235-1.47q-.63-.18-1.289-.291v-.453c-8.68-5.303-17.235-16.538-22.55-30.914C131.312 58.835 119.547 60 107 60c-11.961 0-23.212-1.059-33.02-2.921C68.756 71.064 60.465 82.043 52 87.423v.743a12 12 0 0 0-3.275 1.053"></path></defs><mask id="LongHairCurly-mask1" fill="#fff"><use href="#LongHairCurly-path1"></use></mask><g id="Top/Long-Hair/Curly" mask="url(&#39;#LongHairCurly-mask1&#39;)"><g transform="translate(-1)"><path id="Shadow" fill="#000" d="M105.985 27.764C114.013 26.627 122.796 26 132 26c10.358 0 20.183.794 29 2.216C183.451 38.75 199 61.56 199 88v17.044c-11.538-.371-25.169-14.28-32.55-34.245C156.312 72.835 144.547 74 132 74c-11.961 0-23.212-1.059-33.02-2.921-7.304 19.548-20.597 33.223-31.98 33.943V88c0-26.825 16.004-49.913 38.985-60.236" opacity=".16"></path><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairCurly-path2" transform="translate(25 10)"></use></g></g></g>',1),Ch=[Eh];function Sh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ch])}const Mh={render:Sh};function Bh(e,a){return t.openBlock(),t.createElementBlock("svg")}const Ah={render:Bh},Vh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairTheCaesarSidePart-path1" d="M0 0h264v280H0z"></path><path id="ShortHairTheCaesarSidePart-path2" d="M82.018 24.378c-7.032-.693-15.36-1.127-23.705-1.132C39.008 23.232 19.618 25.483 16 28 6.296 35.248 2.537 62.446 3 64c-.327 1.223-1.653 1.488-2 0C.28 53.702 1 1.726 58 1s57.72 52.702 57 63c-.347 1.488-1.673 1.223-2 0 .463-1.554-3.296-28.752-13-36-1.76-1.224-7.247-2.39-14.641-3.261L89 16z"></path></defs><mask id="ShortHairTheCaesarSidePart-mask1" fill="#fff"><use href="#ShortHairTheCaesarSidePart-path1"></use></mask><g id="Top/Short-Hair/The-Caesar-+-Side-Part" mask="url(&#39;#ShortHairTheCaesarSidePart-mask1&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairTheCaesarSidePart-path2" transform="translate(75 34)"></use></g></g></g>',1),Nh=[Vh];function _h(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Nh])}const Dh={render:_h},Th=t.createStaticVNode('<g id="Top"><defs><path id="LongHairCurvy-path1" d="M0 0h264v280H0z"></path><path id="LongHairCurvy-path2" d="M162.831 71.618A57 57 0 0 1 163 76v38c0 22.34-13.08 41.623-32 50.611V183h4c1.524 0 2.038.047 3.539.14-14.913 27.356-18.715 50.434-1.067 64.403 1.698 1.203 2.924 1.786 3.135 1.885 2.373 1.118 4.837 2.34 7.467 2.955 4.623 1.08 9.933-.373 14.557-.953 2.112-.266 4.217-.43 6.346-.436 2.565-.009 5.211.084 7.142 1.697 1.884 1.574 1.644 7.198-3.875 9.833 4.1 1.855 9.012-2.453 10.688-5.177 1.466-2.385 2.594-4.968 3.214-7.605.772-3.283.822-6.725.218-10.014-1.258-6.848-4.176-13.432-6.163-20.122-.732-2.466-1.686-5.165-2.102-7.69-.113-.684-.247-3.215-.141-3.744.078-.393.059-.797 1.415-1.176 3.916-1.096 8.007-2.933 10.852-5.52 3.365-3.058 5.119-7.03 6.533-10.979 2.24-6.252 3.523-12.947 4.113-19.44.122-1.349.191-2.695.215-4.047.015-.817-.085-1.747.008-2.565.153-1.34-.054-.987 1.248-1.874 4.257-2.9 7.58-7.122 9.71-11.37 3.346-6.672 3.782-13.708 1.066-20.467-2.253-5.607-5.827-11.235-11.392-14.846-2.137-1.386-4.392-2.643-6.61-3.93-1.21-.7-4.048-1.615-4.906-2.517-.6-.63.355-3.792.476-4.858.528-4.648-.08-9.157-1.165-13.696-2.394-10.008-12.033-26.149-15.903-35.662-3.325-8.172-8.136-55.3-65.031-55.026C51.69.473 41.419 50.438 33.716 59.774c-8.365 10.138-16.809 29.402-11.113 47.262-5.504 6.922-18.058 17.008-21.218 27.09-1.982 6.325-1.897 13.37.644 19.507 1.437 3.471 3.496 6.618 5.911 9.64 2.117 2.646 4.468 5.15 6.518 7.837 1.237 1.622 1.568 2.02 1.102 4.018-.92 3.94-2.819 7.725-4.466 11.475-2.552 5.81-4.697 11.22-5.014 17.413-.302 5.896 1.324 22.673 18.261 32.56a63 63 0 0 0 6.042 3.11c-1.09-3.396.146-15.524 2.343-20.032.56 1.55 1.511 3.043 2.536 4.398 1.6 2.115 5.374 7.409 10.147 7.655-1.937-2.984-4.02-4.998-4.624-8.598 3.977 1.96 9.634 3.747 14.262 3.582 3.404-.12 8.424-1.82 10.953-3.943-8.372 1.327-16.321-1.433-19.518-7.329-.667-1.23-1.174-2.52-1.468-3.86-.417-1.9-1.076-4.944-.191-6.697.215-.426.566-.86.984-1.29l-.197-.235c5.694-4.787 12.84-12.404 16.665-17.97q.106-.183.21-.367h.04l.085-.126A72.2 72.2 0 0 1 79 183h4v-18.389C64.08 155.623 51 136.339 51 114V76c0-2.463.159-4.888.467-7.267 3.942-1.263 7.898-2.455 11.932-3.528 4.456-1.186 14.399-3.114 18.29-4.01l2.736-2.98 1.063 1.955c2.158-.166 14.078-1.957 14.078-1.957l1.33-3.223c1.717 1.763 2.939 2.679 2.939 2.679 2.556-.209 13.653-.458 16.285-.426 0 0 7.34.258 9.12.328l1.668-.638.548 1.077c1.454.591 10.243 3.59 11.978 4.128l2.547-.906c1.12 2.694 3.94 2.354 6.276 4.481 2.503 2.279 7.226 4.024 10.574 5.905"></path></defs><mask id="LongHairCurvy-mask1" fill="#fff"><use href="#LongHairCurvy-path1"></use></mask><g id="Top/Long-Hair/Curvy" mask="url(&#39;#LongHairCurvy-mask1&#39;)"><g transform="translate(-1)"><path id="Top-Shadow" fill="#000" d="M100.9 42.465c-9.798 6.007-18.514 13.862-24.313 22.895-2.762 4.303-5.034 8.84-7.15 13.398a136 136 0 0 0-2.961 6.931c-.587 1.47-1.487 3.056-.64 4.599.517-.302.713-.194.388.347 2.692.734 6.434-1.335 8.767-2.099 4.763-1.56 9.53-3.033 14.408-4.331 4.456-1.186 14.399-3.114 18.29-4.01l2.736-2.98 1.063 1.955c2.158-.166 14.078-1.957 14.078-1.957l1.33-3.223c1.717 1.763 2.939 2.679 2.939 2.679 2.556-.209 13.653-.458 16.285-.426 0 0 7.34.258 9.12.328l1.668-.638.548 1.077c1.454.591 10.243 3.59 11.978 4.128l2.547-.906c1.12 2.694 3.94 2.354 6.276 4.481 3.092 2.814 9.569 4.816 12.66 7.263 1.108.876 2.143 1.792 3.183 2.726 1.156 1.037.985 1.188 1.36 2.378.113.356 1.256 2.199 1.743 2.35 1.733.536-10.154-30.486-13.417-34.453-3.368-4.094-25.211-31.654-54.174-30.752" opacity=".16"></path><g id="Hair" fill="none" transform="translate(26 16)"><mask id="LongHairCurvy-mask2" fill="#fff"><use href="#LongHairCurvy-path2"></use></mask><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairCurvy-path2"></use><path id="Shadow" fill="#000" d="M62.68 184.462c7.075-9.707-.531-36.675-6.552-46.661q25.256-11.495 99.746 4.247-7.192 13.279-5.868 23.71-6.806 8.363-11.246 17.383l-34.871 8.606q-33.054 3.98-41.21-7.285Z" mask="url(&#39;#LongHairCurvy-mask2&#39;)" opacity=".24"></path></g><path id="Lights" fill="#FFF" d="M79.04 170.094c-.059-.201-.205-.427-.405-.665q.205.331.405.665m-22.63-49.719a88.6 88.6 0 0 0 4.456 18.002c2.062 5.721 4.42 11.46 7.813 16.69 3.161 4.876 6.924 9.425 9.956 14.362-.797-.948-2.472-2.1-3.114-2.778a50 50 0 0 1-2.984-3.458c-1.923-2.443-3.637-5-5.294-7.583-3.252-5.073-5.69-10.576-7.803-16.08-4.15-10.807-8.313-23.913-4.666-35.33-.282.735.459 2.488.575 3.297.204 1.414.386 2.837.478 4.26.185 2.883.184 5.749.583 8.618m12.445 44.666c-1.358-1.731-3.881-3.097-5.442-4.762-1.415-1.51-2.511-3.2-3.506-4.94-2.255-3.94-3.737-7.964-4.217-12.37.11.523.918 1.427 1.173 1.856a85 85 0 0 1 1.788 3.124c1.097 2.04 2.013 4.15 3.122 6.187 2.038 3.74 4.63 7.36 7.082 10.905m4.677 18.458c1.115 1.962 2.04 3.966 2.625 6.102a42 42 0 0 1 .77 3.413c.07.369.082 1.696.258 2.27-2.215-4.291-3.905-8.835-6.543-12.942-2.604-4.054-5.947-7.781-9.446-11.281-3.695-3.695-7.41-7.182-9.392-11.847-1.725-4.06-2.391-8.218-1.99-12.556.002 1.911 1.757 4.622 2.363 6.469.83 2.527 1.489 5.105 2.737 7.507 2.126 4.089 5.959 7.243 9.165 10.688 3.553 3.816 6.946 7.762 9.453 12.177m-14.303-9.32a22 22 0 0 1 2.806 3.275c.898 1.285 1.556 2.636 2.145 4.05.507 1.217.73 3.482 1.527 4.498-2.578-3.146-5.233-6.117-7.011-9.69-.607-1.222-1.548-3.023-2.243-4.495.231.593 2.253 1.86 2.776 2.362m-10.326 6.349c2.838 4.25 6.548 8.081 8.974 12.528 2.83 5.187 4.075 10.807 4.326 16.54.119 2.711.112 5.465-.253 8.168-.196 1.448-.51 2.886-.869 4.312-.136.54-.84 1.926-.977 2.77-.29-10.54 1.454-21.082-4.027-30.903-2.596-4.65-6.586-8.616-9.679-13.018-2.782-3.959-5.498-7.841-7.713-12.074 1.356 1.716 3.8 3.065 5.316 4.769 1.899 2.134 3.348 4.58 4.902 6.908m11.2 44.319c-.032.204-.033.377.014.5l-.013-.5Zm-9.543-22.353c.001.496.816 1.518 1.04 2.035.52 1.209.946 2.478 1.157 3.76.418 2.529-.13 5.14-1.067 7.561-1.9 4.907-4.874 9.253-8.613 13.3 1.335-1.748 1.867-4.589 2.806-6.538.965-2 2-3.97 2.85-6.011 1.92-4.605 1.75-9.311 1.827-14.107M41.917 221.2c.401-.548.193-3.183.405-3.872.392-1.273 1.07-2.502 1.849-3.635-.416.699.198 2.466-.005 3.373-.332 1.489-1.17 2.932-2.249 4.134m57.69-178.453a.9.9 0 0 0-.239.297zm-14.76 21.584c1.42-1.246 2.177-4.19 3.156-5.78 1.125-1.825 2.418-3.579 3.645-5.356 2.432-3.524 4.726-6.984 7.72-10.19-.622.934-1.173 3.768-1.514 4.513a34.6 34.6 0 0 1-3.221 5.605c-2.86 4.044-5.93 7.803-9.786 11.208m-.535-10.21c.75-1.327 1.894-2.448 3.18-3.414-.573.503-.831 2.575-1.225 3.275-.795 1.412-1.953 2.63-3.196 3.772.664-.582.772-2.803 1.24-3.633Zm119.194 98.006-.041.31c-.002-1.525-.68-3.2-.76-4.769-.113-2.19.202-4.315 1.082-6.392 1.74-4.101 5.003-7.207 9.164-9.638-1.145.674-2.267 3.213-3.001 4.268-1.103 1.586-2.282 3.187-3.214 4.85-1.943 3.469-2.506 7.618-3.23 11.371m-1.508-21.646a23 23 0 0 1-.989 3.626c-.474 1.279-1.093 2.523-1.783 3.728-.43.75-1.98 2.327-1.978 3.157-.083-4.898 1.728-9.335 5.172-13.257-.378.657-.283 2.03-.422 2.746m-.801 35.238c3.656-.517 7.105 1.261 9.421 3.551 1.238 1.224 2.338 2.63 3.065 4.133.547 1.13.546 2.983 1.28 3.92-1.797-2.419-4.076-4.373-6.324-6.464-1.564-1.455-4.688-5.181-7.442-5.14m-.778 10.377c-.192-.065-1.934-.558-2.337-.32.597-.267 1.33-.592 1.987-.679 4.284-.569 9.492 3.141 10.067 6.721-.478-1.226-3.025-2.24-4.176-2.85-1.823-.967-3.564-2.137-5.541-2.872m1.809 7.811c.742.182 2.32 1.176 3.047 1.165-2.929.07-5.572-.255-8.391-.914.152.041 1.759-.456 1.811-.463 1.215-.172 2.357-.076 3.533.212m-11.345 13.857c4.288-.242 9.336.384 13.431 1.417a22.3 22.3 0 0 1 5.692 2.295c1.414.814 3.93 1.932 4.876 3.137-3.74-6.452-11.85-9.803-20.16-8.14-1.107.222-2.808 1.276-3.84 1.291Zm-.96 12.433c2.688-.965 5.661-1.894 8.583-2.029 2.771-.127 5.845.29 8.41 1.173-.883-.24-2.993.332-3.92.437-1.297.147-2.596.299-3.896.418a52 52 0 0 1-4.801.222c-1.14-.002-3.32-.54-4.376-.221M179.46 227.41c.253 3.972 2.552 7.434 5.931 10.08 3.583 2.805 8.379 4.082 10.98 7.829 1.267 1.825 1.943 3.95 1.834 6.098-.056 1.106-.334 2.218-.635 3.294-.197.708-.902 1.868-.901 2.559.031-3.887.084-8.412-2.636-11.673-2.731-3.274-7.493-4.427-10.829-7.115-3.278-2.642-5.765-6.094-6.325-9.985-.452-3.144-.23-8.626 3.03-10.76-.662.39-.53 2.374-.547 2.931a74 74 0 0 0 .098 6.742m-2.453 15.262c.396.52 2.57 1.151 3.208 1.51 1.456.817 2.865 1.746 4.02 2.877 2.317 2.266 3.81 5.445 3.918 8.494 0-.72-1.646-2.457-2.109-3.073-.768-1.022-1.635-1.969-2.518-2.917-2.154-2.31-4.39-4.564-6.52-6.891Zm52.162-88.882c1.204 1.05 2.01 2.357 2.675 3.709 1.53 3.12 1.815 6.717.589 10 .203-.704-.401-2.184-.571-2.898-.373-1.563-.955-3.04-1.563-4.542-1.18-2.916-2.134-5.648-4.184-8.202.53.668 2.328 1.3 3.054 1.933M171.51 41.983c0 .332.917 1.293 1.123 1.654.517.902.924 1.849 1.064 2.855.158 1.142-.035 2.259-.381 3.369-.206.66-1.184 1.934-1.184 2.528-.16-3.498-.933-6.86-.622-10.406m7.637 6.822c.165 1.243-.24 2.644-.964 3.742.132-.31-.454-2.383-.473-2.762-.059-1.173.07-2.38.146-3.552.001.64 1.183 1.763 1.291 2.572m-60.77 1.568a35 35 0 0 1-4.15 4.243c-1.023.89-2.984 1.89-3.764 2.91 3.501-5.711 7.546-10.638 12.302-15.63-.716.92-.903 2.916-1.428 3.993-.774 1.587-1.81 3.076-2.96 4.484m5.898 2.479c.57-.336 1.104-1.993 1.538-2.55a17 17 0 0 1 2.578-2.63c-.205.22-.602 2.044-.825 2.402-.723 1.16-2 2.107-3.29 2.778Z" opacity=".6"></path></g></g></g>',1),Ph=[Th];function Oh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ph])}const Fh={render:Oh},Lh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairDreads01-path1" d="M0 0h264v280H0z"></path><path id="ShortHairDreads01-path2" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><path id="ShortHairDreads01-path3" d="M185.832 73.929c1.757.988 3.148 10.899 3.216 14.689.042 2.338.08 11.256-2.394 10.485-.753-.235-1.902-4.956-2.066-7.719s-1.733-12.164-4.141-16.49c-.55-.988-2.126-2.723-1.445-3.56.844-1.036 1.664-.434 2.695-.02 1.115.45 3.937 2.504 4.135 2.615m.805-2.972c-.746.962-5.841-1.74-7.966-2.913-17.845-9.86-21.31-12.995-49.425-12.586-28.116.409-47.379 13.582-48.462 14.93-.754.937-1.716 3.44-2.508 10.413-.791 6.972.22 19.477-2.646 19.462-2.438-.013-2.97-23.786-1.916-33.217.161-1.448.784-4.038.333-5.34-.394-1.138-2.322-1.135-2.014-3.03.35-2.159 2.525-1.087 3.473-2.119 1.795-1.954-.974-2.417-1.433-4.126-.682-2.542 1.29-3.197 3.067-4 1.966-.887 1.71-.108 3.306-1.846-2.131-1.563-2.902-3.691.016-4.833 1.24-.485 4.465.157 5.436-.572.253-.19.353-1.28.51-1.502 1.55-2.219 1.168-3.825 1.01-6.316-.129-2.038-.112-3.909 2.329-4.112 1.628-.136 2.952 1.194 4.411 1.586 1.619.435 1.01.752 2.279-.121 2.226-1.533.711-4.52 2.476-6.303 2.423-2.446 4.01 1.14 5.956 1.41 4.222.588 2.867-3.7 5.367-5.272 2.988-1.876 3.277 2.251 5.143 2.398 1.617.127 4.529-2.993 5.938-3.575 4.183-1.726 6.255 3.13 10.237 2.511 2.89-.45 3.67-.816 6.277.828 2.53 1.595 3.132.454 5.998.432 2.025-.016 3.265 1.676 4.959 1.853.844.088 1.653-.792 2.56-.737 3.237.197 3.442 4.383 6.014 5.536 2.35 1.053 5.112-.427 7.445-.7 5.69-.668 1.793 4.647 1.954 7.819 2.233.52 4.5-1.564 6.724-1.18 3.502.604 2.18 4.233 1.368 6.68 2.427-.044 8.76-2.737 10.332.707.81 1.776-1.078 4.147-1.047 5.952.043 2.542 1.91 4.645 2.571 7.05.892 3.247 2.163 11.95-.072 14.833"></path></defs><mask id="ShortHairDreads01-mask2" fill="#fff"><use href="#ShortHairDreads01-path1"></use></mask><g id="Top/Short-Hair/Dreads-01" mask="url(&#39;#ShortHairDreads01-mask2&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairDreads01-path3" transform="translate(1)"></use></g></g></g>',1),$h=[Lh];function Hh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$h])}const Rh={render:Hh},zh=t.createStaticVNode('<g id="Top"><defs><path id="Turban-path1" d="M0 0h264v280H0z"></path><path id="Turban-path2" d="M156 180.611c17.53-8.328 30.048-25.496 31.791-45.744C193.57 134.002 198 129.02 198 123v-13c0-5.946-4.325-10.882-10-11.834V92c0-30.928-25.072-56-56-56S76 61.072 76 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V199h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4zM0 0h264v280H0z"></path><path id="Turban-path3" d="M83.972 55.817C107.404 69.414 145.115 82.111 139 138q29.066-8.46 29-46.676C167.918 44.148 115.85 0 86 0q-1.012 0-2.008.088A23 23 0 0 0 82 0C52.074 0 .08 44.148 0 91.324Q-.067 130.498 29 138c-6.138-55.889 31.51-68.586 54.972-82.183"></path></defs><mask id="Turban-mask1" fill="#fff"><use href="#Turban-path1"></use></mask><g id="Top/Accesories/Turban" mask="url(&#39;#Turban-mask1&#39;)"><g id="Turban"><path id="Band" fill="#EDECE3" d="M74.53 97.5c-1-2.41-1.53-4.92-1.53-7.5 0-18.225 26.415-33 59-33s59 14.775 59 33c0 2.58-.53 5.09-1.53 7.5C183.398 82.888 159.972 72 132 72S80.602 82.888 74.53 97.5"></path><use fill="var(--avataaar-top-color)" class="CustomColor" href="#Turban-path3" transform="translate(48 3)"></use><path id="Shadow" fill="#000" d="M48.011 96.012q.555 37.65 28.99 44.988-29.068-7.066-29-43.97 0-.51.01-1.018m104.635-65.544c.744 5.727-.52 12.421-4.646 19.668-11.153 21.43-71.439 21.868-71.666 79.544-.229-61.919 60.471-62.3 71.666-85.136 2.67-4.977 4.141-9.709 4.646-14.076" opacity=".16"></path></g></g></g>',1),Ih=[zh];function Gh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ih])}const jh={render:Gh},qh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairDreads-path1" d="M0 0h264v280H0z"></path><path id="LongHairDreads-path2" d="M85.718 185.073A73 73 0 0 1 89 185h4v-18.389a56.22 56.22 0 0 1-26.789-26.99c-2.764-8.607-2.6-17.934-3.21-26.795-.805-11.68-.112-23.078 2.536-34.578 2.39-10.376 5.824-15.941 13.626-24.255 4.36-4.646 10.905-4.915 17.42-6.564 6.593-1.67 12.611-4.21 16.735-8.99 9.083 10.41 33.354 6.664 42.236 18.01 10.802 13.798 10.923 22.7 12.193 38.643.953 11.951-.528 33.564-.943 46.538A56.24 56.24 0 0 1 141 166.611V185h4c6.636 0 13.062.898 19.163 2.578-2.05 3.174-4.494 6.18-7.051 8.973-3.831 4.188-7.681 8.52-12 12.367-4.941 4.401-9.668 7.597-12.668 13.082-1.358 2.483-3.737 5.094-1.22 7.817 2.3 2.487 5.925 1.975 8.386.175 3.637-2.66 6.338-6.858 9.69-9.915-3.238 5.815-7.742 14.484-5.43 21.005.787 2.217 1.586 2.173 2.802 3.65q2.88.066 2.276 2.606l.54 1.451c1.456 2.594 4.243 4.41 7.78 3.188 11.56-3.994-1.775-21.961 10.953-27.302 2.278 2.83-1.086 10.779-1.177 14.256-.111 4.287.122 14.013 6.642 15.179 8.496 1.52 5.22-6.597 5.555-10.05.39-4.016 2.86-9.312 4.87-12.869-1.222 3.78-3.508 12.154 2.817 13.87 7.317 1.986 6.481-6.586 7.592-10.15.229 5.275 7.045 17.749 13.205 7.896 3.173-5.076 1.009-13.441.66-18.854 4.414 4.56 7.94-1.35 7.84-4.63 1.677 4.752 7.982 18.002 13.57 7.485 3.398-6.395-.226-14.985-2.483-21.16 5.944.52 4.75-5.236 3.864-8.095-1.307-4.222-.61-4.841-.34-9.206 8.25 4.805 7.997-8.234 7.542-11.432-1.146-8.051-7.409-15.261-12.243-22.052-3.466-4.871-9.935-13.352-8.038-19.226 1.957 2.468 6.507 2.442 8.316-.142 1.532-2.188-.091-5.796-.83-7.982-2.021-5.98-6.06-9.844-9.711-14.981-7.108-10.001-6.086-23.133-6.743-34.313-.82-13.949-3.814-27.68-16.48-37.827-6.787-5.437-15.058-9.914-21.37-15.682-1.722-1.573-2.45-3.521-4.066-5.038-1.813-1.701-2.66-1.298-4.158-3.72-2.668-4.315-5.802-8.355-12.25-8.558-4.22-.132-9.556 3.43-13.359 2.909-3.122-.427-5.094-4.879-7.656-6.373-3.966-2.312-6.734-1.414-10.972-.075-6.31 1.994-10.33 2.689-16.755.306C97.69 2.539 93.565-.846 88.402.357c-4.05.945-5.858 4.213-8.244 6.718-2.46 2.586-1.271 1.73-4.87 2.305-3.68.588-6.586 1.122-9.378 3.532-4.512 3.895-1.386 9.955-4.953 13.389-1.925 1.854-5.935 2.737-8.165 4.654-2.434 2.092-4.424 4.635-6.248 7.11-3.551 4.823-5.976 10.079-8.58 15.281-4.843 9.681-9.161 19.671-11.002 30.072-.945 5.347-2.538 10.577-3.512 15.912-.75 4.115-.43 8.622-1.896 12.617-1.74 4.74-5.899 9.096-8.152 13.757-2.988 6.183-4.994 12.115-5.63 18.771-.624 6.544 1.113 12.311 1.879 18.727.443 3.717-.324 4.139-2.88 7.647-1.967 2.7-3.96 5.373-5.225 8.378-2.361 5.615-2.23 11.077 1.879 16.013 2.82 3.388 12.299 6.933 11.523-.618-.36-3.508-4.772-5.095-3.93-9.12.584-2.787 3.425-4.715 6.874-5.577 2.436-.608 3.636-.582 4.735 2.09.996 2.42-.325 7.706-.63 10.25-.123 1.023-.305 1.92-.428 2.867-.868 6.674-1.028 12.815-4.682 18.944-2.244 3.766-6.636 9.073-1.628 12.703 3.959 2.87 10.79 1.121 13.877-1.882 3.256 4.027 2.532 8.423 1.314 12.869-.756 2.76-2.824 6.802.431 9.033 4.408 3.021 11.603-1.738 14.908-4.14 1.91 4.268 3.703 19.827 11.235 10.552 2.198-2.705 5.858-5.344 6.555-8.534 1.156-5.29.326-10.858.804-16.202 2.404 6.997 4.038 9.787 5.51 16.97.884 4.321 1.231 18.82 10.174 16.91 6.88-1.47 2.48-10.524 1.601-14.215-1.683-7.07-2.496-10.063-4.122-17.14 2.533 4.626 4.746 9.371 7.18 14.034 2.39 4.58 13.078 14.027 16.205 10.05 3.127-3.978-4.496-9.645-6.23-14.46-3.609-10.024-7.98-20.006-9.017-30.508-.499-5.049.436-9.712.846-14.703.28-3.41-.141-6.902-.812-10.34"></path></defs><mask id="LongHairDreads-mask2" fill="#fff"><use href="#LongHairDreads-path1"></use></mask><g id="Top/Long-Hair/Dreads" mask="url(&#39;#LongHairDreads-mask2&#39;)"><g transform="translate(-1)"><g id="Hair" transform="translate(16 14)"><mask id="LongHairDreads-mask1" fill="#fff"><use href="#LongHairDreads-path2"></use></mask><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairDreads-path2"></use><path id="Shadows" fill="#000" d="M85.718 185.073A73 73 0 0 1 89 185h4v-18.389a56.22 56.22 0 0 1-26.789-26.99 37 37 0 0 0 1.95 4.888c5.756 11.833 13.257 22.412 16.327 35.08.435 1.798.869 3.633 1.23 5.484m78.445 2.505A72 72 0 0 0 145 185h-4v-18.389a56.24 56.24 0 0 0 25.502-24.404c-.077 2.994-.01 5.972.373 8.849 1.07 8.044 4.001 15.31 2.64 23.58-.744 4.532-2.725 8.875-5.352 12.942" mask="url(&#39;#LongHairDreads-mask1&#39;)" opacity=".24"></path><path id="Highlights" fill="#FFF" d="M49.36 108.248c-.124-2.422-1.98-10.537.329-11.939 2.53-1.537 2.002 7.707 2.028 8.654.044 1.537 1.211 13.135-.927 13.084-2.132-.051-1.347-8.219-1.43-9.799m8.435 57.75c-.009 1.014-1.072.953-1.832.688-.937-.328-.363-2.484-.413-3.191-.13-1.86-1.023-7.338.34-8.873 2.726-3.069 1.916 9.948 1.905 11.376m-25.674 13.163c1.93-.054.144-37.832-2.821-37.79-2.083.03 1.361 37.827 2.821 37.79m2.232 19.355c-2.397 0-1.957 8.462-.545 9.139 2.14 1.025 3.227-9.139.545-9.139m15.237 3.539c.021 1.058-1.179 1.074-1.98.744-.908-.376-.528-3.506-.563-4.2-.114-2.188-2.017-10.672-.286-12.231 1.974-1.778 2.017.173 2.548 1.498 1.564 3.903.197 10.032.28 14.189Zm140.652-79.722c.11 1.463 1.069 11.018-.524 11.746-2.742 1.254-1.561-4.65-1.55-5.413.107-7.437-.969-14.812-1.787-22.21-.155-1.404-2.625-12.224-.816-13.12 2.707-1.342 2.303 2.245 2.458 3.41 1.129 8.468 1.628 17.078 2.22 25.587Zm-3.219 33.254c-2.532-.502-3.858 8.094-2.702 9.016 1.917 1.53 5.35-8.49 2.702-9.016m-.268 37.798c-1.139-.226-9.433 15.733-8.75 16.635 1.299 1.719 12.829-15.82 8.75-16.635m-20.422 7.374c-1.782-.803-9.334 10.75-7.406 11.619 1.748.786 9.561-10.652 7.406-11.62Zm42.092-43.312c-2.15 0-2.055 11.822-.4 12.568 1.711.77 2.942-12.568.4-12.568M178.14 48.844c-.609-.87-7.175-8.62-2.472-7.513 2.291.539 5.448 7.352 6.481 9.41.594 1.183 3.985 6.46.392 6.086-.977-.101-3.59-6.82-4.401-7.983m-23.092-15.488q-1.27.572.042 1.072 1.27-.57-.042-1.072m-84.43 8.13c-2.004 1.844-9.542 12.519-12.125 12.626-4.707.195 4.278-9.025 5.297-10.198.455-.527 2.486-3.092 3.722-3.723 1.261-.643 5.444-.859 3.107 1.295ZM43.255 69.981c-2.183-.43-5.835 10.264-4.56 11.555 1.923 1.95 7.007-11.07 4.56-11.555m24.939 119.011c.412 1.341 4.631 11.08 3.571 12.361-1.621 1.958-2.087-.817-2.617-1.967-1.178-2.555-4.238-8.846-3.746-11.536.477-2.608 2.375-.201 2.792 1.142m-8.207 22.824c-2.295 0-2.03 9.802-.663 10.385 2.116.902 3.478-10.385.663-10.385m161.805-8.37c.137.604 2.054 5.563-.663 4.845-1.562-.413-1.802-4.785-2.201-6.11-1.23-4.086-5.28-9.163-5.632-13.194-.34-3.897 1.84-2.412 3.515.889 2.236 4.407 3.913 8.87 4.981 13.57m-19.702-.495c-2.132-.01-2.235 10.773-.902 11.402 1.864.878 3.621-11.402.902-11.402m6.16-88.297c1.582-.412-3.41-13.325-5.177-13.183-2.695.217 2.776 13.803 5.178 13.183Zm-26.815 56.093q-1.27.57.043 1.071 1.27-.57-.043-1.071m-24.218 55.24c.794 0 1.121-1.223-.051-1.25-.775.006-1.184 1.25.051 1.25M58.684 170.63c.03-1.909-2.469-.51-2.453 1.101.032 3.214 2.4 1.746 2.453-1.101m-6.165-47.746c-.804 0-1.134 1.236.05 1.266.785-.006 1.198-1.266-.05-1.266m-19.132 62.51c-.078-1.941-1.7.043-1.61.046.288.007 1.67 1.417 1.61-.046M37.6 84.063c-2.368 0-2.025 5.754-.514 6.123 2.52.616 2.865-6.123.514-6.123m12.613 124.263c-2.286 0-2.44 7.814-.863 8.3 2.451.754 3.243-8.3.863-8.3m-18.756 5.606q-1.308.587.042 1.103 1.309-.585-.042-1.103m169.999 3.35c-2.32 0-2.23 9.554-.805 10.2 1.99.902 3.488-10.2.805-10.2m-23.51 8.88c-2.411-.482-3.674 7.405-2.55 8.29 1.852 1.459 5.025-7.796 2.55-8.29m-20.48 7.29c-1.998 0-1.508 3.574-.355 4.106 1.994.92 2.583-4.107.354-4.107ZM86.48 19.508c-1.672 0-12.16 4.744-8.24 6.15 2.396.859 12.497-6.15 8.24-6.15" mask="url(&#39;#LongHairDreads-mask1&#39;)" opacity=".3"></path></g></g></g></g>',1),Wh=[qh];function Yh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wh])}const Uh={render:Yh},Xh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairDreads02-path1" d="M0 0h264v280H0z"></path><path id="ShortHairDreads02-path2" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><path id="ShortHairDreads02-path3" d="M153.503 98.874C157.9 100.654 161 104.965 161 110v13c0 5.288-3.42 9.776-8.168 11.375a55.7 55.7 0 0 1-11.076 29.29c.209.807.41 1.625.556 2.503.55 3.327-.12 6.093 1.645 9.093.457.78 1.183 1.247 1.522 2.144.533 1.415-.232 4.594 1.95 4.595 3.106 0 1.374-5.966.596-7.384-1.525-2.772-2.462-3.45-2.383-7.044 1.745 1.16 7.53 3.376 9.448 2.316 4.432-2.448-6.662-4.936-7.438-5.453 1.704-1.666 3.656-2.55 5.197-4.746 1.26-1.793 2.406-4.397 4.55-4.501 1.186-.058 4.657 2.884 5.71.866.964-1.85-1.115-2.122-1.928-2.777-1.502-1.21-1.84-.006-1.474-2.134 1.085 1.165 2.789.429 3.244-1.015.49-1.559-1.127-2.024-1.097-3.014-.012.387.834-5.115.7-4.938.86-1.135 3.908-.784 5.413-.62 2.296.248 2.164.317 3.255 2.436.882 1.715 3.198 5.178 3.707.641.121-1.085-.869-3.404-1.45-4.338-.627-1.007-2.517-1.643-2.912-2.427-.944-1.87 2.165-6.034 1.639-8.854 1.093.418 3.857 6.927 5.198 1.599.707-2.8-6.505-8.945-3.514-9.894 2.289-.726 4.612 2.225 5.25 4.044.473 1.348.26 4.238 1.068 5.353 3.036 4.203 3.41-2.74 3.157-4.572-.559-4.026-1.984-6.988-5.623-8.51 1.295-1.607-.345-2.887-1.275-3.893 1.528-1.657 11.437.104 9.208-4.327-.538-1.072-2.481-1.262-3.467-1.655-2.49-.992-4.985-3.01-6.257-5.562 1.841-.46 7.28.798 6.565-2.996-.563-2.982-5.403-2.067-7.278-1.61 1.692-1.016 4.973-.174 5.434-2.941.531-3.183-3.288-3.076-5.08-2.402-.422-3.358 5.53-5.83 7.213-8.4.568-.867 1.47-1.164.746-2.633-1.306-2.643-4.68 1.086-5.792 2.09.876-1.628 3.32-8.403 2.95-10.122-.546-2.526-2.353-2.615-3.79-.568-.93 1.33-1.19 4.703-1.68 6.427-2.04-1.537-2.143.246-2.248-2.191-.068-1.58 2.002-4.701 2.532-6.248.456-1.329 1.668-3.76.943-5.046-1.776-3.143-3.473 1.172-3.94 2.652-.789-3.411 2.214-6.057 3.103-9.431.541-2.048 1.976-7.578-.51-8.561-3.394-1.341-2.2 4.956-2.678 7-.365 1.559-.922 4.077-2.139 4.845-.176.111-2.82.343-2.948.193-1.734-2.021 3.038-6.447 3.284-8.351.223-1.73-.44-2.825-2.061-2.929-.81-.051-2.12 1.2-2.495 1.119-1.48-.322.447-7.089.587-8.967.15-2.003-.094-7.172-3.483-4.785.227-2.697.364-5.236.734-7.891.195-1.4 1.398-2.645-.374-3.767-2.156-1.365-3.35 1.492-3.842 3.168-.846 2.885.9 7.375-3.158 7.466-4.665.106-1.444-4.73-1.215-7.868.128-1.74-1.012-6.421-3.262-3.263-.896 1.259-.587 5.694-1.084 7.183-1.106-.493.733-4.515-.23-5.564-2.06-2.247-3.788 1.026-5.099 1.692-.086-1.445-.187-2.891-.248-4.338-.093-2.2 1.255-6.83-.113-8.347-2.337-2.59-3.823.431-4.506 2.523-.613 1.884-.697 3.744-3.233 4 .208-2.717-2.258-8.436-1.035-10.727.553-1.035 1.679-.301 2.179-1.46.821-1.902-.524-2.71-1.986-2.771-6.792-.286-1.562 9.134-3.969 11.491-1.099-1.04.072-2.113-1.065-3.596-1.223-1.595-3.173-1.46-4.918-.738-.056-1.613 2.364-12.92-3.08-7.817-1.352 1.271-.974 3.393-1.693 4.886-.696 1.445-2.39 3.598-3.341 4.771-.51-2.067.272-4.63.82-6.666.38-1.415 2.931-5.805 2.387-7.244-1.58-4.167-6.323 2.72-7.572 3.832-1.582 1.41-7.88 6.045-9.901 4.64-.701-.487-.07-2.29-1.027-3.128-.47-.41-2.477-.6-3.05-.548.358-1.494-.346-3.427-2.055-2.91-2.149.65-1.219 3.838-2.58 5.002-2.53 2.164-5.535-2.112-8.245-1.992.414-1.755 3.485-8.062-1.399-6.144-1.246.49-2.13 3.351-2.44 4.54-.792 3.036-.222 3.593-3.509 4.45.257-1.76-.2-3.948.649-5.521.696-1.289 4.305-4.645.462-5.063-4.74-.516-4.274 7.672-4.855 10.44-4.206-2.549-6.974 1.098-9.48 4.252.447-1.419 1.553-15.557-2.965-11.237-1.292 1.237.138 3.066.05 4.478-.078 1.28-.5 2.422-.995 3.618-.796 1.921-1.72 3.887-2.974 5.524-1.573 2.059-1.015 2.22-2.82.823-2.425-1.873-3.577-6.624-3.457-9.525.09-2.16 1.196-6.548-2.384-5.531-3.507.996-1.649 7.974-1.296 10.453.381 2.687.635 5.436.183 8.173-2.984-3.05-3.42 3.302-4.017 4.385-.98 1.777-2.868 2.647-4.335 3.86-.8-2.794 2.405-5.157 1.77-7.38-1.194-4.165-4.571 1.716-5.313 2.87-.619.963-2.635 6.442-3.365 6.933-1.023.69-7.605-2.527-8.27-3.14-1.223-1.125-.778-4.272-2.316-4.99-4.72-2.197-1.932 5.735-1.005 7.375 2.419 4.284 3.516 9.456 2.949 14.504-.858-.302-1.915-1.312-2.468-2.077-1.076-1.49-.685-3.865-1.808-4.987-3.288-3.28-3.673 2.878-3.406 4.791.5 3.588 2.291 4.75 3.778 7.734 1.368 2.75-.445 6.069-.828 9.125-3.429-3.3-18.195-.543-14.396 4.502 1.978 2.633 4.318-2.377 6.598-2.25 4.083.225 6.235 5.295 5.967 8.846-.497-1.898-2.422-3.761-3.746-1.444-.897 1.573.635 4.26 1.374 5.823-.906-.444-5.372-2.52-6.246-2.161-3.44 1.414 1.3 4.151 2.537 4.698 4.224 1.868 6.887 3.92 8.2 8.992-2.367-.757-1.955-1.878-3.552-3.043-1.466-1.07-1.74-.518-3.09-.868-2.362-.611-5.441-1.427-8.11-.318-1.97.819-5.287 3.31-5.906 5.65-.757 2.874.844 3.606 2.904 2.143 2.45-1.739 2.897-5.105 6.583-4.96 1.769.068 3.52.995 4.64 2.325.835.993 1.323 2.43 2.12 3.495.703.94 2.564 2.259 2.957 3.254 1.418 3.595-1.276 6.795-3.083 9.314-.419-.554-3.477-1.758-4.11-1.878-2.94-.561-4.037.798-2.199 3.512.58.856 1.798 1.216 2.436 1.994.711.87 1.112 2.2 1.818 3.144 1.393 1.863 3.115 2.822 4.778 4.322-.613.41-.546-.624-1.102-.41-.404.156-1.107-.155-1.617.014-.828.275-.718 1.717-1.248 1.929-3.299 1.314-6.627-3.615-9.586-3.775-1.614-.088-2.975.994-2.2 3.022.538 1.412 2.87 2.178 4.036 2.767 3.246 1.644 6.478 2.868 9.948 1.607 2.797 2.438 6.159 3.64 9.674 3.675-2.011.998-4 2.235-4.702 4.721-1.189-1.23-4.108-6.952-5.633-2.462-1.045 3.087 3.723 6.871 5.92 8.262-2.555.755-4.677.907-7.277.607-1.357-.156-4.337-1.974-3.238 1.748 1.182 4.016 8.24 2.21 10.48 1.516.083-1.198-10.77 12.108-3.158 9.489 2.176-.748 2.385-5 5.418-5.373 3.503-.43 3.855 3.077 5.882 5.646 1.01 1.282 5.67 4.165 5.449 5.265-.191.952-2.75 1.496-3.293 2.828-.633 1.55-.347 2.746.532 4.078 1.538 2.333 4.36 2.691 6.592 3.604 3.164 1.295 4.31 2.867 5.73 6.217-2.502.12-9.62 7.36-5.258 8.648 1.625.48 1.372-.966 2.049-1.765l.821-1.545q.687-1.797 1.52-.22c.123-.031 1.61.388 1.947.409 1.708.105 2.85-1.192 4.266-1.893 1.023-.506 2.024-.418 2.795-1.586-.089.135.554-2.51.565-2.536.276-.637.985-.547 1.31-1.234-8.749-9.085-14.457-21.119-15.489-34.464C36.42 132.776 33 128.288 33 123v-13c0-5.035 3.1-9.345 7.497-11.126.531.374 1.27 0 1.503-.842-.463-1.506 3.296-27.854 13-34.876 3.618-2.438 23.008-2.619 42.313-2.606 19.096.014 38.108.195 41.687 2.606 9.704 7.022 13.463 33.37 13 34.876.233.843.972 1.216 1.503.842"></path></defs><mask id="ShortHairDreads02-mask2" fill="#fff"><use href="#ShortHairDreads02-path1"></use></mask><g id="Top/Short-Hair/Dreads-02" mask="url(&#39;#ShortHairDreads02-mask2&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairDreads02-path3" transform="translate(36)"></use></g></g></g>',1),Zh=[Xh];function Qh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zh])}const Kh={render:Qh},Jh=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat1-path3" d="M0 0h264v280H0z"></path><path id="WinterHat1-path1" d="M120 54H20v101c0 5.523-4.477 10-10 10s-10-4.477-10-10V44C0 19.7 19.7 0 44 0h52c24.3 0 44 19.7 44 44v111c0 5.523-4.477 10-10 10s-10-4.477-10-10z"></path><rect id="WinterHat1-path2" width="118" height="36" x="74" y="50" rx="8"></rect></defs><g id="Top/Accessories/Winter-Hat-1" transform="translate(-1)"><g id="hat" transform="translate(63 20)"><path id="inside" fill="#F4F4F4" d="M1 48h22.671v105.664c0 6.26-5.075 11.336-11.335 11.336S1 159.925 1 153.664zm115.329 0H139v105.664c0 6.26-5.075 11.336-11.336 11.336-6.26 0-11.335-5.075-11.335-11.336z"></path><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat1-path1"></use></g><g id="hat-front"><use filter="url(&#39;#WinterHat1-path2&#39;)" href="#WinterHat1-path2"></use><use fill="#F4F4F4" href="#WinterHat1-path2"></use></g></g></g>',1),ep=[Jh];function tp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ep])}const ap={render:tp},np=t.createStaticVNode('<g id="Top"><defs><filter id="filter5" width="107.7%" height="126.7%" x="-3.8%" y="-6.7%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter6" width="113.3%" height="113.8%" x="-6.7%" y="-3.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter7" width="113.3%" height="113.8%" x="-6.7%" y="-3.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter1" width="107.7%" height="115.4%" x="-3.8%" y="-3.8%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter2" width="105%" height="110%" x="-2.5%" y="-2.5%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter3" width="105.4%" height="110.8%" x="-2.7%" y="-2.7%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter4" width="103.6%" height="107.4%" x="-1.8%" y="-1.9%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><path id="LongHairFrida-path2" d="M0 0h264v280H0z"></path><path id="LongHairFrida-path1" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairFrida-mask1" fill="#fff"><use href="#LongHairFrida-path2"></use></mask><g id="Top/Long-Hair/Frida" mask="url(&#39;#LongHairFrida-mask1&#39;)"><g transform="translate(-1)"><path fill="var(--avataaar-hair-color)" d="M189 97.937v.229a12.01 12.01 0 0 1 9.893 10.227A16.44 16.44 0 0 0 203 97.5c0-2.13-.404-4.166-1.138-6.035A16.45 16.45 0 0 0 207 79.5c0-5.836-3.03-10.964-7.602-13.898A16.4 16.4 0 0 0 201 58.5c0-7.635-5.185-14.058-12.227-15.941q.226-1.499.227-3.059c0-11.322-9.178-20.5-20.5-20.5-2.63 0-5.143.495-7.453 1.397C157.317 15.306 151.295 12 144.5 12c-4.262 0-8.22 1.3-11.5 3.527A20.4 20.4 0 0 0 121.5 12c-6.795 0-12.817 3.306-16.547 8.397A20.5 20.5 0 0 0 97.5 19C86.178 19 77 28.178 77 39.5q.001 1.56.227 3.059C70.185 44.442 65 50.865 65 58.5c0 2.192.427 4.284 1.203 6.197C60.75 67.39 57 73.007 57 79.5c0 5.438 2.63 10.261 6.689 13.267A16.5 16.5 0 0 0 63 97.5c0 4.175 1.55 7.987 4.107 10.893A12.01 12.01 0 0 1 77 98.166v-.23l.083.064c2.903-47.147 48.47-30.258 55.917-56.664 7.447 26.406 53.014 9.517 55.917 56.664zm-80 82.674v4.2a16.6 16.6 0 0 1-2.5.189c-6.82 0-12.675-4.139-15.188-10.042C82.754 174.348 76 167.213 76 158.5c0-1.471.192-2.897.554-4.254C69.858 152.144 65 145.889 65 138.5c0-3.744 1.247-7.198 3.35-9.967a12.01 12.01 0 0 0 8.859 6.334c1.743 20.248 14.26 37.416 31.791 45.744m48 0v4.2q1.224.188 2.5.189c6.82 0 12.675-4.139 15.188-10.042 8.558-.61 15.312-7.745 15.312-16.458 0-1.471-.192-2.897-.554-4.254C196.142 152.144 201 145.889 201 138.5c0-3.744-1.247-7.198-3.35-9.967a12.01 12.01 0 0 1-8.859 6.334c-1.743 20.248-14.26 37.416-31.791 45.744" class="CustomColor"></path><g id="Ornamentos" transform="translate(67)"><g id="hoja" filter="url(&#39;#filter5&#39;)" opacity=".9" transform="scale(1 -1)rotate(-20 -137.666 -331.914)"><path id="leaf" fill="#5DD362" d="M3.611 10S1.95 0 13 0c7.222 0 12.278 5.714 12.278 5.714s-5.417 8.572-13.722 8.572C5.056 14.286 3.61 10 3.61 10Z"></path><path id="leaf" fill="#42BC53" d="M25.278 5.714s-5.417 8.572-13.722 8.572c-4.334 0-6.428-1.929-7.367-3.215-2.095 1.786-2.817 3.429-2.817 3.5-.072.286-.36.429-.65.429-.072 0-.216 0-.289-.071-.36-.143-.505-.572-.36-.929.071-.214 1.877-4.143 7.366-6.714 7.944-4.143 17.839-1.572 17.839-1.572"></path></g><g id="hoja" filter="url(&#39;#filter6&#39;)" transform="rotate(60 44.13 92.434)"><path id="leaf" fill="#5DD362" d="M15 12C15 5.9 9 0 9 0S1.7 4.3 1 13s5.8 10.7 5.8 10.7S15 20.8 15 12"></path><path id="leaf" fill="#42BC53" d="M8 29c.1 0 .2 0 .3-.1.5-.2.8-.8.6-1.3-.5-1.5-.9-2.9-1.1-4.4C10 22.2 15 18.9 15 12 15 5.9 9 0 9 0s-.4 1.1-1 3c-.2.5-5.2 13.6-.9 25.3.1.4.5.7.9.7"></path></g><g id="hoja" filter="url(&#39;#filter7&#39;)" transform="rotate(-120 31.465 30.827)"><path id="leaf" fill="#5DD362" d="M15 12C15 5.9 9 0 9 0S1.7 4.3 1 13s5.8 10.7 5.8 10.7S15 20.8 15 12"></path><path id="leaf" fill="#42BC53" d="M8 29c.1 0 .2 0 .3-.1.5-.2.8-.8.6-1.3-.5-1.5-.9-2.9-1.1-4.4C10 22.2 15 18.9 15 12 15 5.9 9 0 9 0s-.4 1.1-1 3c-.2.5-5.2 13.6-.9 25.3.1.4.5.7.9.7"></path></g><g id="Flor" filter="url(&#39;#filter1&#39;)" transform="matrix(-1 0 0 1 26 29)"><path fill="#4ACAD3" d="M24.424 20.956a5.17 5.17 0 0 0 .997-3.853 5.17 5.17 0 0 0-2.02-3.43c-.299-.225-.693-.41-1.141-.567.453-.141.854-.313 1.16-.527a5.206 5.206 0 0 0 1.277-7.243 5.206 5.206 0 0 0-7.242-1.277c-.306.215-.604.533-.893.911.006-.475-.033-.909-.143-1.267a5.16 5.16 0 0 0-2.532-3.07A5.17 5.17 0 0 0 9.926.25a5.207 5.207 0 0 0-3.453 6.493c.11.356.314.735.582 1.124-.448-.151-.869-.243-1.241-.25a5.206 5.206 0 0 0-5.29 5.11 5.18 5.18 0 0 0 .937 3.066 5.2 5.2 0 0 0 4.171 2.223c.373.006.796-.071 1.25-.206-.283.38-.5.75-.621 1.103a5.2 5.2 0 0 0 .662 4.68 5.17 5.17 0 0 0 2.561 1.93 5.206 5.206 0 0 0 6.61-3.225c.12-.352.178-.779.19-1.252.273.386.56.708.857.932a5.17 5.17 0 0 0 3.853.997 5.16 5.16 0 0 0 3.43-2.02Z"></path><path fill="#FFF" d="M11.178 8.64a1.444 1.444 0 1 1 2.763-.845c.233.763-.232 4.182-.232 4.182s-2.298-2.574-2.53-3.337Zm-2.242 5.797a1.444 1.444 0 1 1 .05-2.888c.798.014 3.905 1.513 3.905 1.513s-3.158 1.389-3.955 1.375m6.057-2.018s1.738-2.98 2.392-3.438a1.444 1.444 0 1 1 1.657 2.366c-.654.458-4.049 1.072-4.049 1.072m-3.073 6.838a1.444 1.444 0 0 1-.895-1.836c.26-.755 2.646-3.246 2.646-3.246s.345 3.432.086 4.187a1.445 1.445 0 0 1-1.837.895m5.32-1.96c-.638-.48-2.27-3.52-2.27-3.52s3.37.732 4.008 1.212a1.444 1.444 0 1 1-1.738 2.307Z"></path></g><g id="Flor" filter="url(&#39;#filter2&#39;)" transform="translate(20 16)"><path fill="#FDB599" d="m30.526 33.098.258-2.314 2.314-.26c2.847-.319 5.11-2.116 6.054-4.81 1.066-3.042.065-6.359-2.547-8.281l-1.874-1.38.932-2.134c1.229-2.806.645-5.895-1.52-8.061-2.167-2.166-5.256-2.75-8.063-1.522l-2.133.933-1.38-1.875C20.644.786 17.327-.218 14.284.848c-2.692.943-4.49 3.207-4.809 6.054l-.26 2.313-2.313.26c-2.847.319-5.11 2.117-6.054 4.81-.938 2.676-.298 5.56 1.669 7.528a8 8 0 0 0 .877.753l1.875 1.38-.934 2.134c-1.226 2.807-.643 5.896 1.523 8.062s5.255 2.749 8.062 1.523l2.134-.934 1.38 1.875c1.917 2.61 5.24 3.612 8.283 2.547 2.693-.945 4.49-3.208 4.809-6.055"></path><path fill="#FFF" d="M22.882 25.19a1.44 1.44 0 0 1-2.782.746C19.894 25.17 20 20 20 20s-2.492 4.529-3.055 5.091a1.44 1.44 0 0 1-2.036-2.036C15.47 22.492 20 20 20 20s-5.168.106-5.936-.1a1.44 1.44 0 0 1 .745-2.782C15.577 17.324 20 20 20 20s-2.676-4.423-2.882-5.19a1.44 1.44 0 0 1 2.782-.746c.206.768.1 5.936.1 5.936s2.492-4.529 3.055-5.091a1.44 1.44 0 0 1 2.036 2.036C24.53 17.508 20 20 20 20s5.169-.106 5.936.1a1.44 1.44 0 0 1-.745 2.782C24.423 22.676 20 20 20 20s2.675 4.422 2.882 5.19"></path></g><g id="Flor" filter="url(&#39;#filter3&#39;)" transform="translate(89 26)"><path fill="#F7D30C" d="M34.758 29.822a7.36 7.36 0 0 0 1.418-5.483 7.35 7.35 0 0 0-2.874-4.88c-.426-.321-.987-.584-1.625-.808.645-.201 1.216-.445 1.652-.75 3.342-2.34 4.158-6.964 1.817-10.307-2.34-3.342-6.964-4.157-10.306-1.817-.436.306-.86.758-1.27 1.296.008-.676-.048-1.294-.204-1.803A7.35 7.35 0 0 0 19.763.9a7.36 7.36 0 0 0-5.638-.543C10.223 1.55 8.019 5.695 9.21 9.597c.156.507.447 1.046.83 1.6-.638-.216-1.237-.346-1.768-.355-4.08-.071-7.456 3.19-7.528 7.27a7.37 7.37 0 0 0 1.334 4.363 7.4 7.4 0 0 0 5.936 3.164c.53.01 1.133-.1 1.777-.293-.4.54-.71 1.069-.883 1.57a7.4 7.4 0 0 0 .943 6.66 7.36 7.36 0 0 0 3.645 2.746c3.858 1.329 8.077-.73 9.405-4.588.173-.502.255-1.109.271-1.782.39.549.797 1.007 1.22 1.326a7.35 7.35 0 0 0 5.484 1.418 7.35 7.35 0 0 0 4.88-2.874Z"></path><path fill="#FFF" d="M15.908 12.295a2.055 2.055 0 1 1 3.93-1.202c.332 1.086-.33 5.95-.33 5.95s-3.269-3.662-3.6-4.748m-3.192 8.25a2.055 2.055 0 1 1 .072-4.11c1.135.02 5.558 2.153 5.558 2.153s-4.495 1.977-5.63 1.957m8.62-2.872s2.474-4.241 3.404-4.892a2.055 2.055 0 1 1 2.358 3.367c-.93.651-5.762 1.525-5.762 1.525m-4.373 9.731a2.055 2.055 0 0 1-1.274-2.613c.37-1.073 3.765-4.62 3.765-4.62s.492 4.886.123 5.96a2.056 2.056 0 0 1-2.614 1.273m7.57-2.79c-.907-.683-3.23-5.008-3.23-5.008s4.797 1.042 5.704 1.725a2.055 2.055 0 1 1-2.474 3.283"></path></g><g id="Flor" filter="url(&#39;#filter4&#39;)" transform="translate(48)"><path fill="#FF7398" d="M54.138 31.546c1.825-6.983-5.994-12.414-8.953-14.184.514-2.934 1.672-12.561-4.468-16.116C34.612-2.288 26.924 3.45 24.6 5.394q-.3-.189-.703-.423C20.83 3.196 13.13-.381 7.85 4.736 2.205 10.204 5.537 18.74 6.805 21.434c-2.16 2.01-8.384 8.592-5.818 15.59.706 1.929 2.011 3.456 3.882 4.538 4.03 2.334 9.607 1.958 11.723 1.707.993 1.88 3.83 6.712 7.888 9.061 1.67.967 3.375 1.413 5.07 1.325 6.905-.358 9.916-9.995 10.67-12.912 2.861-.396 12.086-2.199 13.918-9.197"></path><path fill="#FFF" d="M27.764 25.603s3.685 8.188.354 8.71c-3.334.521-1.46-8.591-1.46-8.591s-7.112 6.007-8.15 3.028c-1.04-2.979 7.7-4.048 7.7-4.048s-7.987-4.692-5.393-6.836 6.216 6.092 6.216 6.092 1.945-8.92 4.82-7.254c2.876 1.664-3.857 7.811-3.857 7.811s8.877-.99 8.37 2.352c-.505 3.342-8.6-1.264-8.6-1.264"></path></g></g><g id="Arete" transform="translate(182 129)"><rect id="Cadenita" width="2" height="39" x="9" y="0" fill="#E6E6E6" rx="1"></rect><path id="Rayo" fill="#9177FF" d="M20 37h-9.43L17 20H6L0 41h8.636L4 60z"></path></g></g></g></g>',1),rp=[np];function op(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...rp])}const ip={render:op},lp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairFrizzle-path2" d="M0 0h264v280H0z"></path><path id="ShortHairFrizzle-path1" d="M90.91 55.361h84.176c18.247-10.527 21.673-29.21 8.764-45.435-3.214-4.04-8.764 11.75-25.821 12.724s-15.42-6.3-33.571-3.576c-18.152 2.724-16.146 17.304-27.99 20.803q-11.846 3.499-5.558 15.484"></path></defs><mask id="ShortHairFrizzle-mask2" fill="#fff"><use href="#ShortHairFrizzle-path2"></use></mask><g id="Top/Short-Hair/Frizzle" mask="url(&#39;#ShortHairFrizzle-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairFrizzle-path1" transform="translate(-1)"></use></g></g>',1),sp=[lp];function cp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sp])}const dp={render:cp},up=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat2-path3" d="M0 0h264v280H0z"></path><path id="WinterHat2-path1" d="M72 21c54.773 0 72 47.803 72 82.045v73.865c0 19.495-22.633 19.537-22.633-10.921V86.535c0-6.075-3.732-9-9.816-9H32.45c-6.084 0-9.816 2.925-9.816 9v79.454C22.633 196.447 0 196.405 0 176.91v-73.865C0 68.803 17.227 21 72 21"></path><path id="WinterHat2-path2" d="M101.428 98.169c-2.513 2.294-5.19 3.325-8.575 2.604-.582-.124-2.957-4.538-8.853-4.538-5.897 0-8.27 4.414-8.853 4.538-3.385.721-6.062-.31-8.576-2.604-4.725-4.313-8.654-10.26-6.293-16.75 1.23-3.382 3.232-7.095 6.873-8.173 3.887-1.15 9.346-.002 13.264-.788 1.27-.254 2.656-.707 3.585-1.458.929.75 2.316 1.204 3.585 1.458 3.918.786 9.376-.362 13.264.788 3.64 1.078 5.642 4.79 6.873 8.173 2.361 6.49-1.568 12.437-6.294 16.75M140.081 26c-3.41 8.4-2.093 18.858-2.724 27.676-.513 7.167-2.02 17.91-8.384 22.539-3.255 2.367-9.179 6.345-13.431 5.235-2.927-.764-3.24-9.16-7.087-12.303-4.363-3.565-9.812-5.131-15.306-4.89-2.37.105-7.165.08-9.15 1.903-1.983-1.823-6.777-1.798-9.148-1.902-5.494-.242-10.943 1.324-15.306 4.889-3.847 3.143-4.16 11.54-7.087 12.303-4.252 1.11-10.176-2.868-13.431-5.235-6.365-4.63-7.87-15.372-8.384-22.54-.63-8.817.686-19.275-2.724-27.675-1.66 0-.565 16.129-.565 16.129v20.356c.032 15.288 9.581 38.17 30.754 46.908C63.286 111.53 75.015 115 84 115s20.714-3.14 25.892-5.277c21.173-8.737 30.722-31.95 30.754-47.238V42.13S141.74 26 140.081 26"></path></defs><g id="Top/Accessories/Winter-Hat-2" transform="translate(-1)"><g id="hat" transform="translate(61)"><g id="string" fill="#F4F4F4" transform="translate(0 176)"><circle id="puff" cx="9" cy="65" r="9"></circle><path d="M8 0h2v58H8z"></path></g><g id="string" fill="#F4F4F4" transform="translate(126 168)"><circle id="puff" cx="9" cy="65" r="9"></circle><path d="M8 0h2v58H8z"></path></g><circle id="puff" cx="72" cy="20" r="20" fill="#F4F4F4"></circle><mask id="WinterHat2-mask2" fill="#fff"><use href="#WinterHat2-path1"></use></mask><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat2-path1"></use><path id="color-dark" fill="#000" d="M-1 21h146v46H-1z" mask="url(&#39;#WinterHat2-mask2&#39;)" opacity=".2"></path><g id="light-triangles" fill="#FFF" opacity=".5" transform="translate(29 32)"><path id="Triangle" d="M12.5 0 25 18H0z" transform="rotate(180 12.5 9)"></path><path id="Triangle" d="M43.5 0 56 18H31z" transform="rotate(180 43.5 9)"></path><path id="Triangle" d="M74.5 0 87 18H62z" transform="rotate(180 74.5 9)"></path></g><g id="dark-triangles" fill="#000" opacity=".5" transform="translate(13 41)"><path id="Triangle" d="M12.5 0 25 18H0zm31 0L56 18H31zm31 0L87 18H62zm31 0L118 18H93z"></path></g></g></g></g>',1),mp=[up];function fp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...mp])}const hp={render:fp},pp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairFro-path1" d="M0 0h264v280H0z"></path><path id="LongHairFro-path2" d="M180.666 104.495A11.95 11.95 0 0 1 182 110v13c0 6.019-4.43 11.002-10.209 11.867-1.743 20.248-14.26 37.416-31.791 45.744v9.443c3.832 1.896 8.059 2.946 12.5 2.946 7.621 0 14.61-3.093 20.059-8.242q2.193.241 4.441.242c18.39 0 34.26-12.316 41.622-30.116C224.9 149.814 229 141.454 229 132a32 32 0 0 0-.426-5.223C230.786 120.339 232 113.33 232 106c0-12.866-3.739-24.736-10.046-34.275Q222 70.869 222 70c0-10.957-5.507-20.443-13.53-25.043-7.31-17.588-22.73-29.966-40.773-30.9C163.274 9.075 157.201 6 150.5 6q-1.427.001-2.812.182C137.91 2.196 127.211 0 116 0S94.09 2.196 84.312 6.182A22 22 0 0 0 81.5 6c-6.701 0-12.774 3.075-17.197 8.057-18.044.934-33.463 13.312-40.774 30.9C15.507 49.557 10 59.043 10 70q0 .87.046 1.725C3.739 81.265 0 93.135 0 106c0 7.331 1.214 14.34 3.426 20.777A32 32 0 0 0 3 132c0 9.454 4.1 17.814 10.378 22.884C20.74 172.684 36.61 185 55 185q2.248-.001 4.441-.242C64.889 189.907 71.879 193 79.5 193c4.441 0 8.668-1.05 12.5-2.946v-9.443c-17.53-8.328-30.048-25.496-31.791-45.744C54.43 134.002 50 129.02 50 123v-13c0-1.983.481-3.854 1.333-5.502 2.702-.802 5.677-3.053 8.658-6.33l.009-.002v-.009c6.866-7.556 13.755-20.555 17.37-33.822 11.116 1.737 24.535 2.752 38.984 2.752 14.159 0 27.33-.975 38.314-2.649 3.62 13.226 10.486 26.172 17.332 33.71v.018l.02.003c2.976 3.272 5.947 5.522 8.646 6.326"></path><path id="LongHairFro-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairFro-mask1" fill="#fff"><use href="#LongHairFro-path1"></use></mask><g id="Top/Long-Hair/Fro" mask="url(&#39;#LongHairFro-mask1&#39;)"><g transform="translate(-1)"><path id="Shadow" fill="#000" d="M67 109.778c9.038-1.06 21.922-20.447 27.37-40.443 11.116 1.737 24.535 2.752 38.984 2.752 14.159 0 27.33-.975 38.314-2.649 5.462 19.953 18.31 39.269 27.332 40.339V89c0-22.884-11.647-43.048-29.336-54.887-.528 2.482-.88 5.222-1.04 8.184-10.34-1.404-22.396-2.21-35.27-2.21-13.164 0-25.472.842-35.964 2.306-.158-3-.512-5.775-1.047-8.286C78.65 45.947 67 66.113 67 89z" opacity=".16"></path><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairFro-path2" transform="translate(17)"></use></g></g></g>',1),gp=[pp];function yp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...gp])}const kp={render:yp},xp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShaggy-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShaggy-path1" d="M198.747 37.856c-5.14-3.832-11.219-7.116-17.56-8.378-6.446-1.282-10.358-1.593-16.704-.073-1.633.392-2.184.78-3.62-.148-1.212-.783-9.663-9.49-35.421-4.657-26.035 4.885-33.77 44.075-43.427 45.566-3.48.537-7.781-.384-7.916-2.527-3.963 6.034-5.008 14.007-3.327 21.074 1.447 6.086 4.497 11.804 9.989 15.137 4.726 2.867 11.26 4.116 16.72 3.587 2.486-.24 4.746-.763 7.033-1.766 2.759-1.21 4.957-3.39 7.664-4.543a54 54 0 0 1-9.176 6.418c-1.64.907-3.304 1.532-5.113 2.024-1.236.336-3.761 1.481-4.956 1.182 7.807 1.396 15.16.18 22.32-3.163 3.23-1.508 6.338-3.332 9.19-5.476 2.833-2.13 6.095-4.307 8.31-7.11-.93 1.204.698-.586.913-.805a67 67 0 0 0 1.787-1.895c1.002-1.104 1.998-2.228 2.93-3.391 1.995-2.486 3.852-5.082 5.508-7.803 1.678-2.756 8.359-13.873 10.375-16.49-1.905 5.708-3.98 11.418-6.407 16.925 4.713-1.47 9.284-5.544 12.295-9.34 3.392-4.276 5.4-9.268 6.108-14.666 3.826 10.416 12.785 18.63 22.032 24.295-2.003-3.73-5.055-6.885-7.052-10.678 9.191 9.329 24.568 13.893 28.595 27.574 1.033-4.758 4.353-8.58 5.348-13.433 1.104-5.389 1.896-11.11 1.72-16.616-.396-12.242-8.631-23.723-18.158-30.824"></path></defs><mask id="ShortHairShaggy-mask2" fill="#fff"><use href="#ShortHairShaggy-path2"></use></mask><g id="Top/Short-Hair/Shaggy" mask="url(&#39;#ShortHairShaggy-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShaggy-path1" transform="matrix(-1 0 0 1 285.93 0)"></use></g></g>',1),bp=[xp];function wp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bp])}const vp={render:wp},Ep=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat3-path3" d="M0 0h264v280H0z"></path><path id="WinterHat3-path1" d="M66 0c36.45 0 66 29.55 66 66v5H0v-5C0 29.55 29.55 0 66 0"></path><path id="WinterHat3-path2" d="M67.285 61.451Q91.202 44 133.073 44q41.869 0 65.659 17.45A8 8 0 0 1 202 67.9v30.47a4 4 0 0 1-6.135 3.383Q170.902 85.999 133.805 86q-37.383 0-63.73 15.994A4 4 0 0 1 64 98.575V67.914a8 8 0 0 1 3.285-6.463"></path></defs><g id="Top/Accessories/Winter-Hat-3" transform="translate(-1)"><g id="hat" transform="translate(67 12)"><circle id="puff" cx="66" cy="8" r="20" fill="#F4F4F4"></circle><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat3-path1"></use></g><g id="hat-front"><use filter="url(&#39;#WinterHat3-path2&#39;)" href="#WinterHat3-path2"></use><use fill="#F4F4F4" href="#WinterHat3-path2"></use></g></g></g>',1),Cp=[Ep];function Sp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Cp])}const Mp={render:Sp},Bp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairFroBand-path1" d="M0 0h264v280H0z"></path><path id="LongHairFroBand-path2" d="M80.02 73.81A55.9 55.9 0 0 0 77 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744v10.944A36.4 36.4 0 0 1 93.5 195a36.35 36.35 0 0 1-23.19-8.312 54 54 0 0 1-5.81.312c-21.094 0-39.337-12.208-48.049-29.945C8.934 151.924 4 143.288 4 133.5c0-2.115.23-4.175.667-6.159A57.9 57.9 0 0 1 1 107c0-12.756 4.118-24.55 11.097-34.127A29 29 0 0 1 12 70.5c0-11.297 6.573-21.06 16.104-25.67 8.433-18.128 26.454-30.894 47.546-31.78A28.4 28.4 0 0 1 95.5 5c2.327 0 4.589.279 6.754.805C111.776 2.058 122.148 0 133 0c10.346 0 20.255 1.87 29.408 5.292A29 29 0 0 1 166.5 5a28.4 28.4 0 0 1 19.85 8.05c21.092.886 39.113 13.652 47.546 31.78C243.426 49.44 250 59.203 250 70.5q0 1.2-.097 2.373C256.882 82.45 261 94.243 261 107a57.9 57.9 0 0 1-3.667 20.341A28.6 28.6 0 0 1 258 133.5c0 9.788-4.934 18.424-12.451 23.555C236.837 174.792 218.594 187 197.5 187a54 54 0 0 1-5.81-.312A36.35 36.35 0 0 1 168.5 195c-4.018 0-7.884-.65-11.5-1.849v-12.54c17.53-8.328 30.048-25.496 31.791-45.744C194.57 134.002 199 129.02 199 123v-13c0-5.946-4.325-10.882-10-11.834V92c0-5.441-.776-10.702-2.224-15.676l1.377 12.87-11.34-24-45.136-19.523-30.114 10.557L80.065 76.42l-.045-2.609Z"></path></defs><mask id="LongHairFroBand-mask1" fill="#fff"><use href="#LongHairFroBand-path1"></use></mask><g id="Top/Long-Hair/Fro-+-Band" mask="url(&#39;#LongHairFroBand-mask1&#39;)"><g transform="translate(-1)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairFroBand-path2"></use><path id="Band" fill="#92D9FF" stroke="none" d="M76.631 98.975A48.6 48.6 0 0 1 76 91.152C76 62.35 101.296 39 132.5 39S189 62.35 189 91.152c0 2.659-.216 5.271-.631 7.823-4.09-25.092-27.545-44.33-55.869-44.33s-51.78 19.238-55.869 44.33"></path></g></g></g>',1),Ap=[Bp];function Vp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ap])}const Np={render:Vp},_p=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShaggyMullet-path1" d="M0 0h264v280H0z"></path><path id="ShortHairShaggyMullet-path2" d="M175.126 166.898c.715 2.24 1.749 4.333 3.43 5.788 1.62 1.404 4.512 1.06 6.543 1.117 1.672.048 3.346.053 5.016-.02.839-.036 1.213 1.015.534 1.499q-.195.139-.39.262a39 39 0 0 1-3.25 1.812c-2.524 1.258-5.188 2.244-7.982 2.734-1.916.337-3.816.4-5.654.177a9.8 9.8 0 0 0 1.699 1.94c1.73 1.501 4.816 1.133 6.983 1.194 1.784.052 3.57.057 5.353-.02.895-.039 1.295 1.084.57 1.601a8 8 0 0 1-.416.28 42 42 0 0 1-3.469 1.937c-2.693 1.345-5.536 2.398-8.518 2.922-5.5.966-10.87-.177-15.194-3.708a25 25 0 0 1-3.381-3.36v-2.442a56.2 56.2 0 0 0 18.126-13.713m-93.81-15.304a140 140 0 0 1-2.31 4.597c-4.795 9.11-10.764 20.602-22.507 21.405-1.088.075-1.519 1.347-.67 1.992 11.12 8.453 36.432 13.6 45.445 11.982a54 54 0 0 0 7.726-1.96v-8.999a56.2 56.2 0 0 1-27.685-29.017Zm114.59-82.914c.175 5.507-.617 11.227-1.721 16.616-.995 4.852-4.315 8.675-5.348 13.433-4.027-13.68-19.404-18.245-28.595-27.574 1.997 3.793 5.049 6.948 7.052 10.678-9.247-5.665-18.206-13.88-22.032-24.295-.707 5.398-2.716 10.39-6.108 14.666-3.011 3.796-7.582 7.87-12.295 9.34 2.428-5.507 4.502-11.217 6.407-16.925-2.016 2.617-8.697 13.734-10.375 16.49-1.656 2.72-3.513 5.317-5.507 7.803-.933 1.163-1.929 2.287-2.93 3.391a67 67 0 0 1-1.788 1.895c-.215.219-1.842 2.01-.912.806-2.216 2.802-5.478 4.979-8.31 7.109-2.853 2.144-5.96 3.968-9.192 5.476-7.159 3.343-14.512 4.56-22.32 3.163 1.196.299 3.721-.846 4.957-1.182 1.809-.492 3.474-1.117 5.113-2.024a54 54 0 0 0 9.176-6.418c-2.707 1.152-4.905 3.334-7.664 4.543-2.287 1.003-4.547 1.526-7.032 1.766-5.462.529-11.995-.72-16.721-3.587-5.492-3.333-8.542-9.051-9.99-15.137-1.68-7.067-.635-15.04 3.328-21.074.135 2.143 4.436 3.064 7.916 2.527 9.658-1.49 15.403-38.048 40.427-44.566 19.961-5.2 34.21 3.874 35.42 4.657 1.437.928 1.988.54 3.621.148 6.346-1.52 13.258-2.209 19.705-.927 6.34 1.262 12.418 4.546 17.559 8.378 9.527 7.101 17.762 18.582 18.159 30.824"></path><path id="ShortHairShaggyMullet-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="ShortHairShaggyMullet-mask1" fill="#fff"><use href="#ShortHairShaggyMullet-path1"></use></mask><g id="Top/Short-Hair/Shaggy-Mullet" mask="url(&#39;#ShortHairShaggyMullet-mask1&#39;)"><g transform="translate(-1)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShaggyMullet-path2"></use><path id="Shadow" fill="#000" stroke="none" d="M175.126 166.898c.715 2.24 1.749 4.333 3.43 5.788 1.62 1.404 4.512 1.06 6.543 1.117 1.672.048 3.346.053 5.016-.02.839-.036 1.213 1.015.534 1.499q-.195.139-.39.262a39 39 0 0 1-3.25 1.812c-2.524 1.258-5.188 2.244-7.982 2.734-1.916.337-3.816.4-5.654.177a9.8 9.8 0 0 0 1.699 1.94c1.73 1.501 4.816 1.133 6.983 1.194 1.784.052 3.57.057 5.353-.02.895-.039 1.295 1.084.57 1.601a8 8 0 0 1-.416.28 42 42 0 0 1-3.469 1.937c-2.693 1.345-5.536 2.398-8.518 2.922-5.5.966-10.87-.177-15.194-3.708a25 25 0 0 1-3.381-3.36v-2.442a56.2 56.2 0 0 0 18.126-13.713m-93.81-15.304a140 140 0 0 1-2.31 4.597c-4.795 9.11-10.764 20.602-22.507 21.405-1.088.075-1.519 1.347-.67 1.992 11.12 8.453 36.432 13.6 45.445 11.982a54 54 0 0 0 7.726-1.96v-8.999a56.2 56.2 0 0 1-27.685-29.017Z" opacity=".16"></path></g></g></g>',1),Dp=[_p];function Tp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Dp])}const Pp={render:Tp},Op=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat4-path5" d="M0 0h264v280H0z"></path><path id="WinterHat4-path1" d="M129.66 38.357A60.8 60.8 0 0 1 134 61v8H2v-8c0-8.025 1.55-15.688 4.366-22.707Q-3.238 18.099 2.636 5.12q11.257-3.414 26.08 5.419C38.486 3.888 50.289 0 63 0h10c12.722 0 24.535 3.895 34.31 10.557q14.84-8.856 26.11-5.437 5.883 12.999-3.76 33.237"></path><path id="WinterHat4-path2" d="M28.716 10.539c-9.957 6.778-17.804 16.426-22.35 27.754Q-3.238 18.099 2.636 5.12q11.257-3.414 26.08 5.419m100.943 27.818c-4.538-11.346-12.386-21.01-22.349-27.8q14.84-8.856 26.11-5.437 5.883 12.999-3.76 33.237Z"></path><path id="WinterHat4-path3" d="M21.862 15.96a61.3 61.3 0 0 0-11.433 14.08Q6.041 17.878 8.927 13.208q3.977-1.72 12.935 2.751Zm103.49 13.714a61.3 61.3 0 0 0-11.274-13.77q8.704-4.278 12.608-2.59 2.83 4.58-1.333 16.36Z"></path><path id="WinterHat4-path4" d="M67.285 61.451Q91.202 44 133.073 44q41.869 0 65.659 17.45A8 8 0 0 1 202 67.9v30.47a4 4 0 0 1-6.135 3.383Q170.902 85.999 133.805 86q-37.383 0-63.73 15.994A4 4 0 0 1 64 98.575V67.914a8 8 0 0 1 3.285-6.463"></path></defs><g id="Top/Accessories/Winter-Hat-4" transform="translate(-1)"><g id="hat" transform="translate(65 4)"><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat4-path1"></use><use id="shadow" fill="#000" href="#WinterHat4-path2" opacity=".24"></use><use id="light" fill="#FFF" href="#WinterHat4-path3" opacity=".3"></use></g><g id="hat-front"><use filter="url(&#39;#WinterHat4-path4&#39;)" href="#WinterHat4-path4"></use><use fill="#F4F4F4" href="#WinterHat4-path4"></use></g></g></g>',1),Fp=[Op];function Lp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Fp])}const $p={render:Lp},Hp={Eyepatch:sf,Hat:bf,Hijab:Df,LongHairBigHair:jf,LongHairBob:ah,LongHairBun:hh,LongHairCurly:Mh,LongHairCurvy:Fh,LongHairDreads:Uh,LongHairFrida:ip,LongHairFro:kp,LongHairFroBand:Np,LongHairMiaWallace:mf,LongHairNotTooLong:Cf,LongHairShavedSides:Ff,LongHairStraight:Uf,LongHairStraight2:ih,LongHairStraightStrand:kh,NoHair:Ah,ShortHairDreads01:Rh,ShortHairDreads02:Kh,ShortHairFrizzle:dp,ShortHairShaggy:vp,ShortHairShaggyMullet:Pp,ShortHairShortCurly:gf,ShortHairShortFlat:Af,ShortHairShortRound:Rf,ShortHairShortWaved:Kf,ShortHairSides:dh,ShortHairTheCaesar:vh,ShortHairTheCaesarSidePart:Dh,Turban:jh,WinterHat1:ap,WinterHat2:hp,WinterHat3:Mp,WinterHat4:$p},Rp=t.createElementVNode("g",{id:"Facial-Hair/Beard-Light",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"BeardLight-path1",d:"M101.428 98.169c-2.513 2.294-5.19 3.325-8.575 2.604-.582-.124-2.957-4.538-8.853-4.538-5.897 0-8.27 4.414-8.853 4.538-3.385.721-6.062-.31-8.576-2.604-4.725-4.313-8.654-10.26-6.293-16.75 1.23-3.382 3.232-7.095 6.873-8.173 3.887-1.15 9.346-.002 13.264-.788 1.27-.254 2.656-.707 3.585-1.458.929.75 2.316 1.204 3.585 1.458 3.918.786 9.376-.362 13.264.788 3.64 1.078 5.642 4.79 6.873 8.173 2.361 6.49-1.568 12.437-6.294 16.75M140.081 26c-3.41 8.4-2.093 18.858-2.724 27.676-.513 7.167-2.02 17.91-8.384 22.539-3.255 2.367-9.179 6.345-13.431 5.235-2.927-.764-3.24-9.16-7.087-12.303-4.363-3.565-9.812-5.131-15.306-4.89-2.37.105-7.165.08-9.15 1.903-1.983-1.823-6.777-1.798-9.148-1.902-5.494-.242-10.943 1.324-15.306 4.889-3.847 3.143-4.16 11.54-7.087 12.303-4.252 1.11-10.176-2.868-13.431-5.235-6.365-4.63-7.87-15.372-8.384-22.54-.63-8.817.686-19.275-2.724-27.675-1.66 0-.565 16.129-.565 16.129v20.356c.032 15.288 9.581 38.17 30.754 46.908C63.286 111.53 75.015 115 84 115s20.714-3.14 25.892-5.277c21.173-8.737 30.722-31.95 30.754-47.238V42.13S141.74 26 140.081 26"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#BeardLight-path1"})],-1),zp=[Rp];function Ip(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...zp])}const Gp={render:Ip},jp=t.createElementVNode("g",{id:"Facial-Hair/Beard-Majestic",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"BeardMajestic-path1",d:"M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#BeardMajestic-path1"})],-1),qp=[jp];function Wp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...qp])}const Yp={render:Wp},Up=t.createElementVNode("g",{id:"Facial-Hair/Moustache-Fancy",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"MoustacheFancy-path1",d:"M84 69.297c-6.792-3.586-16.422-4.148-21.611-2.165-5.775 2.205-10.884 8.451-19.75 5.696-.37-.114-.73.217-.619.58 1.374 4.51 9.008 7.599 11.602 7.7 11.34.442 20.473-8.278 30.378-8.947 9.906.67 19.04 9.389 30.379 8.947 2.594-.101 10.228-3.19 11.601-7.7.111-.363-.25-.694-.618-.58-8.867 2.755-13.976-3.49-19.75-5.696-5.19-1.983-14.82-1.42-21.612 2.165"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#MoustacheFancy-path1"})],-1),Xp=[Up];function Zp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Xp])}const Qp={render:Zp},Kp=t.createElementVNode("g",{id:"Facial-Hair/Beard-Medium",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"BeardMedium-path1",d:"M105.018 94.13c-3.868 5.591-6.76 1.817-10.88-1.254-2.481-1.849-6.177-4.148-9.634-4.035-3.456-.113-7.152 2.186-9.633 4.035-4.12 3.07-7.013 6.845-10.88 1.254-2.903-4.198-1.688-11.256 1.024-15.227 3.859-5.652 9.094-2.918 14.947-3.563 1.592-.175 3.19-.617 4.542-1.34 1.352.723 2.95 1.165 4.542 1.34 5.854.645 11.089-2.089 14.948 3.563 2.712 3.97 3.926 11.03 1.024 15.227M140.39 26c-3.424 14.075-4.998 28.434-7.481 42.671a319 319 0 0 1-1.685 8.879c-.127.62-.251 2.923-.862 3.214-1.851.884-5.624-3.817-6.633-4.879-2.533-2.666-5.045-5.356-8.13-7.448-6.235-4.227-13.535-6.726-21.13-7.32-3.178-.248-7.475.186-10.47 1.993-2.995-1.807-7.292-2.24-10.47-1.992-7.596.593-14.895 3.092-21.13 7.32-3.085 2.091-5.597 4.781-8.13 7.447-1.01 1.062-4.782 5.763-6.633 4.88-.61-.292-.735-2.595-.862-3.215a319 319 0 0 1-1.685-8.879C32.607 54.434 31.034 40.075 27.61 26c-.997 0-1.871 18.748-1.983 20.495-.452 7.094-.98 14.03-.305 21.131 1.164 12.249 2.377 27.608 11.71 36.962 8.434 8.451 20.678 10.218 31.24 15.553 1.36.687 3.163 1.535 5.108 2.23 2.049 1.563 6.113 2.629 10.794 2.629 4.91 0 9.142-1.173 11.08-2.862a47 47 0 0 0 4.475-1.997c10.56-5.336 22.805-7.102 31.238-15.553 9.334-9.354 10.547-24.713 11.712-36.962.674-7.1.146-14.037-.306-21.131C142.26 44.748 141.387 26 140.39 26"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#BeardMedium-path1"})],-1),Jp=[Kp];function eg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Jp])}const tg={render:eg};function ag(e,a){return t.openBlock(),t.createElementBlock("svg")}const ng={render:ag},rg=t.createElementVNode("g",{id:"Facial-Hair/Moustache-Magnum",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"MoustacheMagnum-path1",d:"M83.998 74.84a6.04 6.04 0 0 1-2.048 1.85c-8.902 4.82-18.073.642-23.074.94-2.416.144-5.535 1.785-6.66.05-1.24-1.913 2.852-12.46 12.505-14.216 7.01-1.275 16.776.138 19.277 3.474 2.5-3.336 12.267-4.749 19.276-3.474 9.654 1.757 13.745 12.303 12.506 14.215-1.125 1.736-4.244.095-6.66-.05-5.001-.297-14.172 3.881-23.074-.94a6.04 6.04 0 0 1-2.048-1.85Z"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#MoustacheMagnum-path1"})],-1),og=[rg];function ig(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...og])}const lg={render:ig},sg={BeardMajestic:Yp,BeardLight:Gp,MoustacheFancy:Qp,BeardMedium:tg,Blank:ng,MoustacheMagnum:lg},cg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Bat" fill="#FFF" fill-rule="evenodd"><path id="Batman!" d="M87.685 13.403c-1.393-6.431-6.21-10.15-12.5-11.586-2.526-.577-10.913-2.387-9.607 2.408.593 2.172.263 3.964-1.553 5.766-1.77 1.755-5.231 2.2-6.952-.011-1.474-1.895.427-4.721-.721-6.567-.446-.717-1.216-1.083-2.028-.732-1.141.494-.534 1.555-1.073 2.318-.849 1.203-1.245.826-2.01-.373-.48-.754-.008-1.575-1.246-1.897-1.433-.372-1.903.828-2.032 1.923-.082.687.322 1.792.336 2.488.027 1.364-.09 3.323-.725 4.529-1.125 2.137-2.704 1.453-4.383.096-1.98-1.602-2.561-3.385-2.178-5.817.459-2.917.292-5.709-3.28-3.884-5.02 2.564-9.68 7.135-12.588 11.919-2.445 4.02-4.37 8.893-2.203 13.473 2.21 4.675 5.862 8.69 10.966 9.883 1.321.31 5.092 1.811 6.345.552 1.947-1.957-2.548-3.783-3.435-4.975-1.258-1.69-2.337-4.915-.957-6.822 1.76-2.427 3.6-1.074 5.045.644 1.136 1.348 2.75 4.826 4.506 2.022 1.21-1.931 1.101-5.102 4.4-3.717 4.715 1.978 4.86 11.112 5.7 15.291.367 1.83 2.035 4.064 3.47 1.525.79-1.396.364-4.421.22-5.863-.296-2.985-1.08-5.92-.11-8.877.562-1.71 2.001-4.16 4.13-2.844 1.725 1.066 1.006 5.816 3.353 5.807 2.066-.007 1.502-3.791 2.603-5.039 1.68-1.904 4.916-.999 5.91 1.249 1.336 3.025-2.203 5.126-2.044 7.785.154 2.591 3.494 1.58 4.89.923 2.872-1.35 5.119-3.853 6.676-6.571 2.407-4.204 4.125-10.222 3.075-15.026" transform="translate(77 58)"></path></g></g>',1),dg=[cg];function ug(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...dg])}const mg={render:ug},fg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Cumbia" fill-rule="evenodd" stroke-width="1"><g id="Group" fill="#FFF" transform="translate(77 64)"><path id="Fill-1" d="M10.272 24.132c3.273-.559 5.73-3.554 5.18-6.788-.464-2.724-1.745-.343-2.976.853-1.335 1.298-2.45 2.574-4.536 2.054-3.607-.9-4.858-5.4-3.84-8.48a5.94 5.94 0 0 1 3.478-3.696c1.852-.746 3.204.09 4.748 1.094.289.187 1.73 1.37 1.994 1.25.462-.211.115-2.43.045-2.725-.338-1.421-1.266-2.575-2.617-3.238-3.333-1.635-7.514.489-9.64 3.055-4.884 5.897-.92 18.164 8.164 16.62"></path><path id="Fill-5" d="M20.283 5.038q0 .003 0 0m-1.594 12.865c.503 3.474 2.977 6.5 6.952 6.357 4.278-.155 6.056-4.098 7.008-7.486.957-3.399 2.052-7.683.664-11.093-.42-1.032-.685-2.38-1.716-1.53-1.252 1.033-1.409 4.039-1.515 5.442-.2 2.647-.781 9.97-4.108 10.944-4.179 1.222-4.048-5.847-4-7.977.04-1.896.246-3.734-.342-5.584-.313-.985-.59-2.44-1.528-1.634-1.29 1.108-1.453 3.828-1.544 5.327-.144 2.405-.214 4.842.129 7.234"></path><path id="Fill-7" d="M37.783 20.746c.188.412.624 1.402 1.02 1.679.944.66-.055.708.8-.059.813-.729 1.13-2.717 1.254-3.67.385-2.96-.12-6.108-.087-9.093 1.024 2.218 1.584 4.584 2.386 6.874.554 1.582 1.396 4.804 3.654 4.753 2.443-.055 2.57-3.145 2.894-4.819.461-2.37.97-4.721 1.676-7.037.092 3.91-1.427 10.995 2.108 13.92.014.013 1.432-4.15 1.467-4.406.223-1.691.083-3.444.107-5.148.051-3.597.718-8.003-.3-11.506C54.435 1.1 53.788-.03 52.354.001c-1.825.04-2.233 1.985-2.698 3.298-1.28 3.614-2.445 7.224-3.357 10.94-.548-1.68-5.339-16.421-8.789-10.901-.555.888-.315 2.218-.338 3.196-.044 1.879-.155 3.756-.196 5.635-.061 2.843-.41 5.907.808 8.577"></path><path id="Fill-9" d="M62.02 7.71c.72-.135 5.735-1.727 5.523-.136-.223 1.675-4.633 3.309-5.816 3.876a10.6 10.6 0 0 0-.643-3.567zm5.717-.64s-.027-.035 0 0m.122 8.341c2.272 1.22 1.287 3.417-.426 4.608-.649.45-6.53 1.802-6.513 1.663q.001.005-.004.005c.18-1.694-.257-5.018 1-6.02 1.304-1.04 4.5-.808 5.943-.256m.062-7.995c.009.022.001.002 0 0M57.944 24.26c.224.551.86 1.912 1.566 1.945.86.04.794-1.043.929-1.71 3.441 1.721 8.498-.047 10.907-3.03 2.787-3.45 1.348-8.27-2.579-9.745 2.113-1.688 4.026-5.399 1.255-7.49-2.196-1.655-5.828-1.747-8.123-.302-2.735 1.723-3.85 5.833-4.09 9.006-.255 3.382-1.158 8.125.135 11.326"></path><path id="Fill-11" d="M76.05 15.871c.074 2.07-.15 4.287.332 6.306.171.717.433 1.511.76 2.162.611 1.215.31 1.05 1.032.36 2.172-2.083 1.209-8.575 1.157-11.249-.041-2.078.064-4.28-.513-6.283-.162-.562-1.123-3.348-1.655-3.284-.816.098-1.376 3.93-1.423 4.693-.148 2.396.226 4.895.31 7.295"></path><path id="Fill-13" d="M94.748 16.43c-1.582-.137-3.622.075-5.117.557.697-1.916 1.475-4.054 2.238-5.79q.711-1.635 1.494-3.24c1.278 2.686 1.992 5.828 2.832 8.666q-.72-.13-1.447-.193m5.44.725c-.727-2.78-1.579-5.532-2.426-8.28-.538-1.743-1.13-3.911-2.6-5.168C91 .146 88.635 9.557 87.614 11.94c-.985 2.296-2.216 4.634-2.85 7.049a9.5 9.5 0 0 0-.244 3.652c.205 1.519-.004 1.741 1.294.914 1-.636 1.414-1.792 2.227-2.562.144-.136.218-.668.39-.755.188-.096 1.504.253 1.815.274 2.17.151 4.712-.218 6.715-1.054.205.842 1.627 5.962 2.977 5.773.597-.083.965-3.064.992-3.537.087-1.553-.352-3.049-.742-4.538"></path><path id="Fill-15" d="M109.302 3.432c-.264-1.203-.814-3.292-1.842-2.112-1.39 1.596-1.09 5.173-1.111 7.177-.015 1.451-1.552 12.062.556 11.883-.09 0 .845-1.668.98-1.922.815-1.524 1.131-2.97 1.329-4.722.365-3.237.783-7.111.088-10.304"></path><path id="Fill-17" d="M108.164 24.301c-2.24-2.728-6.311.658-5.041 3.374 1.729 3.7 7.331-.56 5.041-3.374"></path><path id="Fill-19" d="M94.898 28.545c-2.891-.738-6.297-.24-9.249-.152-3.081.092-6.16.264-9.24.357-6.568.198-13.124.092-19.692.038-12.454-.103-24.935.69-37.383.168-2.672-.112-5.545-.713-8.198-.209-.727.139-3.009.543-3.329 1.266-.336.76 1.402 1.555 2.331 1.955 2.422 1.044 5.329.858 7.9.964 2.93.12 5.887.058 8.819-.014 12.075-.297 24.089-1.343 36.18-1.165 6.976.103 13.937.038 20.912.001 3.32-.017 7 .526 10.273-.062.552-.1 3.763-.854 3.807-1.836.02-.453-2.806-1.228-3.13-1.311"></path></g></g></g>',1),hg=[fg];function pg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...hg])}const gg={render:pg},yg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Diamond" fill-rule="evenodd" stroke-width="1"><g id="Diamond" fill="#FFF" transform="translate(106 60)"><path id="Fill-21" d="M34.78 27.737c-2.389 2.656-4.857 5.243-7.335 7.82.985-3.553 1.74-7.578 3.204-10.958.417-.962.1-1.084.927-1.493.609-.301 2.078.043 2.807.062 1.557.039 3.15.192 4.696-.05a222 222 0 0 0-4.299 4.619m-15.264 4.061c-2.699-3.282-5.384-6.568-8.658-9.317 1.289.137 2.696-.043 3.958.206 1.944.384 1.837.99 2.82 2.959 1.45 2.906 2.889 5.789 4.05 8.823-.711-.9-1.441-1.785-2.17-2.67m-9.098-12.532c.963-1.575 1.144-2.972 2.92-3.78 2.06-.939 5.3-.742 7.488-.916-1.37 1.523-3.037 3.103-3.604 5.122-.874-1.718-1.962-3.174-3.67-4.17-.215-.107 1.158 4.55 1.338 4.87-1.716-.096-3.522-.408-5.225-.092zm16.406-5.008c1.591.036 3.17.16 4.74.42-1.267 1.674-1.649 3.631-2.099 5.63-.478-2.258-2.209-4.362-3.734-6.048zm-3.498 1.074c.234-.158 4.457 5.086 5.066 5.556-3.312-.008-6.618-.17-9.926-.315 1.907-1.487 3.023-3.688 4.86-5.24m2.686 17.095c-.401 1.349-.777 2.708-1.214 4.047-1.555-4.732-3.862-9.188-6.008-13.674 3.34.088 6.676.209 10.016.256-.82 3.158-1.862 6.245-2.794 9.37m7.23-17.462c1.277 1.128 3.097 3.44 3.686 4.217a10 10 0 0 0 .179.23c.21.261.966 1.255 1.263 1.644-2.227-.226-4.545-.13-6.78-.15.498-2.054 1.104-4.012.584-6.128q.536.086 1.068.187m7.648 5.617c-2.158-2.676-4.37-7.258-7.864-8.077-3.472-.814-7.548-.454-11.074-.23-3.075.194-8.083-.204-10.795 1.593-1.393.923-2.425 3.005-2.908 4.551-.434 1.393.266 2.285-1.246 2.285-.096 0 2.504 3.673 2.81 3.962 2.272 2.14 4.444 4.202 6.457 6.597 2.835 3.374 5.405 8.338 9.145 9.736-.686-.339 2.792-2.967 3.21-3.419 2.11-2.288 4.246-4.554 6.372-6.83 1.938-2.073 4.05-4.03 5.93-6.15 1.435-1.619 1.439-2.175-.037-4.018"></path><path id="Fill-23" d="M6.999 12c.043.014-.909-2.045-.825-1.919-.475-.719-1.046-1.24-1.738-1.727C3.708 7.843.127 7.254 0 7c1.494 2.652 4.167 4.128 6.999 5"></path><path id="Fill-25" d="M22.355 7.196A6.2 6.2 0 0 0 23.15 9c.07.078.859-4.184.85-4.547C23.988 3.832 23.613 0 22.815 0c-1.337 0-.674 6.47-.459 7.196"></path><path id="Fill-27" d="M48.97 5c-2.992 0-9.68 5.854-8.908 9 .005.01.447-.35.35-.283l.057-.043c1.272-1.025 2.718-2.02 3.992-3.206.911-.85 1.987-1.612 2.816-2.54C47.362 7.832 49.263 5 48.97 5"></path></g></g></g>',1),kg=[yg];function xg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...kg])}const bg={render:xg},wg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Pizza" fill-rule="evenodd" stroke-width="1"><g id="Group-2" fill="#FFF" transform="translate(112 59)"><path id="Fill-29" d="M30.933 24.391c-4.082 1.38-8.55 3.324-10.905 7.074-1.847 2.942-1.971-.455-4.55.593-2.508 1.019-1.822 5.223-2.733 7.301-.708-1.191-1.043-2.516-1.935-3.604a6.6 6.6 0 0 0 1.814-1.724c.156-.32-4.792.348-5.076.43-1.411.401-2.74.77-4.088 1.429a79 79 0 0 0 1.965-2.989q.31-1.02 1.108-.006c.748.036 1.178.357 1.962.177 2.915-.667 3.843-6.223.25-5.987a93 93 0 0 0 4.253-8.802c.502 4.291 6.08 2.813 7.719.525 2.14-2.989-.604-8.662-4.484-8.112.581-1.375 1.17-2.762 1.65-4.178 1.092 1.61 3.001 2.39 4.538 3.457a18.2 18.2 0 0 1 4.163 4.006c2.386 3.14 3.793 7.007 6.215 10.052a7 7 0 0 0-1.866.358m9.006-4.388c-.632-5.757-5.15-11.601-9.44-15.176-2.55-2.125-10.24-7.385-13.306-3.34 2.472 1.071 5.2 1.33 7.65 2.489 3.32 1.572 5.922 4.16 8.168 7.055 3.137 4.045 7.97 12.283.474 14.386.518-.338.819-.709 1.228-1.308-1.007-.233-.6-1.878-.954-2.952-.412-1.25-1.21-2.467-1.884-3.582a57 57 0 0 0-3.504-5.171c-1.678-2.186-3.686-3.907-5.977-5.396-.907-.589-1.775-1.11-2.817-1.415-1.349-.394-.907.086-1.276-1.146-.232-.773-.024-1.763-.246-2.592-1.973 1.658-2.615 4.055-3.5 6.381-1.02 2.684-2.122 5.335-3.196 7.997-2.635 6.535-6.034 12.395-9.891 18.247-.672 1.02-2.165 2.95-1.09 4.174.96 1.095 2.33.306 3.386-.139 1.436-.604 3.385-2.164 4.935-1.347 1.998 1.054 1.054 4.984 4.214 4.827 3.114-.154 2.527-5.28 3.527-7.317 2.311 1.685 4.175.64 5.579-1.611 1.626-2.61 3.775-3.657 6.513-4.938 1.12-.524 3.034-1.94 4.2-2.115.966-.145 1.893.883 3.184.837 3.098-.113 4.392-4.253 4.023-6.848"></path><path id="Fill-31" d="M18.537 22.834c-2.425-.445-5.807-.074-6.029 3.153-.136 1.978 1.41 3.848 3.082 4.664 5.122 2.5 9.109-6.688 2.947-7.817"></path><path id="Fill-33" d="M28.336 19.158c-.65-.706-1.703-1.24-2.675-.993.31-.214.568-.6.864-.839-3.156-2.286-5.14 3.479-3.346 5.748 2.717 3.44 8.037-.766 5.157-3.916"></path></g></g></g>',1),vg=[wg];function Eg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vg])}const Cg={render:Eg},Sg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Selena" fill-rule="evenodd" stroke-width="1"><g id="Selena" fill="#FFF" transform="translate(94 58)"><path id="Bom-Bom" d="M65.303 7.568c-.156.93-1.922 5.089-3.229 2.95-.509-.832.402-3.46.685-4.209.558-1.472.974-1.638 2.263-2.33.109 1.188.411 2.398.281 3.589m-2.984 3.319c.03.012.158.132 0 0m-.008-.007c-.006-.004 0 0 0 0M55.03 6.205c.01.008.053.042 0 0M42.555 11.16c-.207 1.22-.475 2.439-.904 3.6-.17-1.732.103-3.456 1-4.95q-.015.676-.096 1.35m-.01-2.502c-.004-.016-.159-.24 0 0M25.908 18.803c.153-1.533.768-3.017 1.906-4.044-.277 1.625-1.072 2.67-1.906 4.044m49.93-13.506c0 .637-2.06 2.335-2.574 2.803-.879.799-1.815 1.44-3.077 1.254-3.462-.51-2.09-4.206-2.641-6.481-.434-1.788-.879-1.114-2.082-1.227-1.118-.104-1.518-.656-2.682.187-2.096 1.519-3.766 3.496-4.659 5.98-.324-1.695-1.245-4.503-3.452-4.093-1.632.303-2.984 2.926-3.663 4.243-.052-1.198-.668-3.076-2.175-2.218-1.036.589-.991 3.381-1.218 4.41-.465 2.111-1.379 7.617-4.644 6.901 1.029-1.918 3.28-7.97 1.35-9.937-2.712-2.762-4.775 4.156-4.886 5.84-.08 1.205.806 3.944.329 4.692-.585.918-2.428 1.313-3.303.641-1.405-1.078-.85-2.83-.53-4.199.422-1.794.62-3.597.734-5.437.085-1.38 1.286-7.548-1.028-7.632-2.095-.075-2.309 5.138-2.458 6.563-.185 1.751-.296 3.525-.235 5.288.062 1.782.394 2.97-.297 4.643-.74 1.793-4.264 7.17-6.373 3.6 2.24-.983 4.911-5.518 3.71-8.067-1.667-3.534-5.416 1.85-5.96 3.656-.877 2.915-.491 6.722 2.864 7.671 3.493.989 6.19-2.286 7.421-5.18 1.002 1.588 2.845 1.986 4.55 1.505a5.8 5.8 0 0 0 1.89-.947c1.07-.81.444-.509 1.58-.542 3.297-.094 5.096-1.153 6.332-4.545-.015.934.343 2.36 1.598 1.849.974-.397.968-2.01 1.148-2.87.57-2.713 1.466-5.541 3.599-7.422 1.84 2.002.48 5.427 1.69 7.56 1.868 3.288 2.808-2.532 3.1-3.654.057 4.882 5.861 3.084 7.118-.157 3.3 3.515 10.234.349 8.923-4.678"></path><path id="Bidi" d="M69.434 15.349c-3.63 0-7.605 1.026-11.127 1.817a98 98 0 0 0-10.502 2.97c-3.871 1.339-7.812 2.554-11.59 4.122-3.276 1.36-7.508 2.353-9.512 5.416-.004.008 2.102-.088 2.272-.117 1.05-.174 1.952-.543 2.917-.956 1.747-.746 3.482-1.519 5.224-2.276 3.904-1.698 7.98-3.095 11.988-4.554 3.996-1.453 8.095-2.685 12.255-3.625 3.39-.767 7.182-.914 10.303-2.273q-.176.066.23-.091c-.079.038-2.221-.433-2.458-.433m-47.317 5.476c-2.27-.998-5.477-.558-7.835-.239-2.143.29-5.496.935-6.833 1.108-1.106.14-4.406 1.04-5.01-.197-.649-1.331 2.72-5.403 3.456-6.363 3.315-4.32 7.3-9.12 12.08-11.923-.44 1.95-.825 3.918-1.227 5.876-.166.808-.95 5.164.486 5.508.59.14 1.772-2.783 1.87-3.044.823-2.19 1.012-4.71 1.391-7.002.217-1.311 1.2-4.05-.694-4.502-1.629-.389-3.836 1.727-4.923 2.619-3.282 2.692-6.127 5.947-8.787 9.22-1.31 1.613-2.615 3.234-3.714 4.997-.904 1.45-3.09 4.49-2.145 6.282 1.698 3.221 9.84.398 12.432-.032 2.045-.339 4.152-.66 6.227-.376 2.162.295 2.057 1.27 1.339 3.196-1.478 3.96-4.776 7.36-7.724 10.32-1.299 1.303-6.38 7.419-7.66 4.091-.87-2.26-.1-5.035.9-7.114.468-.973 1.089-1.861 1.577-2.824.133-.263.802-2.425.947-2.473-3.87 1.35-6.117 6.585-6.332 10.287-.102 1.741.136 4.324 1.8 5.368s3.226-.227 4.549-1.185c3.642-2.64 6.891-5.998 9.865-9.335 1.626-1.824 8.453-10.287 3.965-12.263"></path></g></g></g>',1),Mg=[Sg];function Bg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mg])}const Ag={render:Bg},Vg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Skull-Outline" fill-rule="evenodd" stroke-width="1"><g id="Skull" fill="#FFF" transform="translate(113 59)"><path id="Boo!" d="M36.335 17.04c-.18 1.038-.442 2.069-.988 2.989-.72 1.211-2.026 1.707-2.783 2.818-1.193 1.752.392 4.276-.786 5.837-1.266 1.68-4.142.663-5.262 2.892-1.18 2.35.538 5.492-.943 7.83-1.47-.37-1.922-5.886-4.189-2.367-1.452 2.254-.471 3.475-2.649.235-.756-1.125-1.61-2.136-3.096-1.393-1.043.521-1.258 2.837-2.21 3.086-2.333.612-2.418-5.617-3.212-6.796-.436-.648-.842-1.032-1.617-1.277-.672-.213-1.869.215-2.425-.1-1.045-.592-1.186-2.556-1.225-3.598-.074-1.939.575-3.919.04-5.838-.451-1.612-1.887-2.603-2.357-4.183C.1 8.64 11.683 3.895 18.3 3.63c7.74-.31 19.037 4.222 18.036 13.41m1.838-5.316c-1.456-3.441-4.655-6.177-7.915-8.013a18.5 18.5 0 0 0-5.085-1.94c-1.641-.36-3.558-.123-5.125-.576C18.728.812 17.91-.048 16.356.002c-2.118.068-4.319 1.172-6.168 2.086-3.66 1.807-6.771 4.148-8.726 7.743-2.098 3.859-1.9 7.356.349 10.952 2.145 3.434-.974 8.262 2.167 11.526C5.3 33.68 6.6 32.68 7.85 33.34c.962.508.921 3.462 1.188 4.328 1.2 3.893 5.514 5.4 7.506 1.191.94 2.353 4.655 4.764 6.385 1.686 1.082 1.4 2.954 1.995 4.383.795 1.344-1.128 1.492-3.755 1.56-5.343.054-1.238-.497-2.764.454-3.658 1.047-.984 3.194-.57 4.37-1.839 1.34-1.45.789-3.146.892-4.872.104-1.746.416-1.301 1.71-2.562 2.885-2.81 3.374-7.807 1.875-11.343"></path><path id="Boo!" d="M14.42 28.121c2.02-1.822 1.591-7.397 1.424-9.959-.316-4.86-3.355-3.408-5.206-.38-1.4 2.29-4.766 5.994-3.257 8.876 1.202 2.296 5.18 3.136 7.039 1.463m13.37-8.847c-1.034-1.92-1.42-2.212-2.65-3.785-.791-1.011-1.9-2.802-3.404-2.442-2.582.62-1.528 6.612-1.498 8.402.024 1.358-.277 2.765.851 3.728 1.155.986 3.053.897 4.44.69 4.259-.633 4.062-3.253 2.262-6.593M19.24 31.83c-.284-.036.077-.362.12-.587.187.614.326.643-.12.587m1.045-4.31c-2.617-2.77-7.574 6.397-4.08 7.425.805.237 1.4-.363 2.155-.468 1.1-.153 2.024.487 2.973-.522 1.491-1.584.187-5.098-1.048-6.436"></path></g></g></g>',1),Ng=[Vg];function _g(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ng])}const Dg={render:_g},Tg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Bear" fill-rule="evenodd" stroke-width="1"><defs><path id="poly-1" d="M47.892.43v41.49H.453V.43z"></path></defs><g id="Group-76" transform="translate(108 59)"><path id="Fill-74" fill="#FFF" d="M34.447 31.586c-.479 2.816-4.08 7.345-7.147 4.384-3.467-3.344 4.225-4.81 1.481-7.594-1.184-1.2-4.412-.537-6.002-.41-1.49.117-3.866.454-3.296 2.624.433 1.65 1.71.944 2.389 1.892.535.748.308 3.507-.49 4.267-1.002.956-2.189.663-3.584.05-3.192-1.4-4.677-5.312-2.575-8.216 4.155-5.741 20.067-7.059 19.224 3.003M14.985 14.724c.985-.443 2.148-.203 2.732.787.802 1.356-.357 3.173-1.975 2.956-1.707-.23-2.57-2.919-.757-3.743m17.962 1.655c-.856 3.006-5.636-.378-2.936-2.29 1.552-1.099 3.447.491 2.936 2.29m14.88 6.79c-.236-2.38-.9-4.646-2.088-6.73-.623-1.093-1.393-2.111-2.19-3.081-.3-.365-.906-1.008-1.023-1.213-.709-1.24-.638-.362-.247-1.785.616-2.243 1.947-4.08.884-6.49-.99-2.24-3.655-3.293-5.984-3.426a8.2 8.2 0 0 0-3.207.449c-1.035.368-2.001 1.64-2.9 1.9-.698.204-2.685-.46-3.441-.508-1.395-.089-2.798-.05-4.192.034-1.63.096-5.376 1.263-6.913.877-1.015-.255-2.209-1.781-3.381-2.164C11.853.61 10.467.468 9.178.954c-2.285.864-4 3.552-4.053 5.942-.028 1.255.655 2.115.79 3.25.203 1.716.437.357-.487 1.726-.47.697-1.295 1.31-1.824 1.982C.779 17.44-.28 22.732.974 27.074c3.159 10.94 13.668 15.394 24.44 14.793 9.25-.516 23.564-7.718 22.413-18.698"></path></g></g></g>',1),Pg=[Tg];function Og(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pg])}const Fg={render:Og},Lg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Deer" fill="#FFF" fill-rule="evenodd"><path id="oh,-deer!" d="M76.96 16.235c.395 1.425-2.228 2.67-3.106 3.419-1.507 1.283-3.065 2.634-4.825 3.547-.748.388-1.553.703-2.362.935-1.247.357-1.104.107-1.58 1.165-.838 1.86-1.055 4.334-1.812 6.312-1.704 4.454-5.767 14.8-12.267 10.259-2.068-1.445-3.197-4.247-4.36-6.436-1.335-2.512-2.613-5.508-3.381-8.25-.375-1.336-.137-1.79-1.13-2.415-.622-.392-1.679-.493-2.383-.78-1.5-.61-2.813-1.436-4.088-2.43-1.238-.966-6.11-4.951-2.132-5.691 1.825-.34 4.217-.214 6.067-.12 2.027.102 4.073.57 5.876 1.535 1.841.987 1.301.701 3.21.15-3.322-1.126-6.649-2.998-8.884-5.781-1.207-1.503-4-7.654-1.9-9.065 2.52-1.696 2.73 5.346 3.439 6.567 1.592 2.744 4.508 3.78 7.042 5.299-1.74-1.668-3.04-3.505-3.673-5.868-.275-1.025-1.026-3.489-.519-4.486.529-1.04 1.772-1.106 2.458-.22.618.797.462 2.63.674 3.591.35 1.589.921 2.81 1.982 4.04 1.505 1.747 3.417 3.175 5.669 3.728 5.127 1.258 6.92-4.108 7.608-8.245.168-1.013-.08-2.693 1.05-3.18 1.367-.588 1.896.747 1.936 1.782.087 2.314-1.056 5.857-2.166 7.845 2.79-1.732 5.003-4.478 5.899-7.688.33-1.188.062-3.836 1.174-4.503 1.54-.924 2.029.917 1.975 2.022-.319 6.515-5.298 12.44-11.488 14.069 1.518.759 1.318.93 2.848.023.885-.525 1.845-.93 2.827-1.23 1.47-.452 3.055-.682 4.58-.817 1.22-.107 5.274-.817 5.742.917m-18.1 8.386c.86-2.138-2.496-2.216-2.822.095-.416 2.945 2.755 3.176 2.822-.095m-1.93 9.016c.659-2.196-3.526-2.112-3.896-.17-.436 2.291 3.406 1.73 3.896.17M51.702 27c2.324 0 3.272-3.065.997-3.861-2.89-1.013-3.815 3.861-.997 3.861" transform="translate(77 58)"></path></g></g>',1),$g=[Lg];function Hg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$g])}const Rg={render:Hg},zg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Hola" fill="#FFF" fill-rule="evenodd"><path id="Hola" d="M74.637 16.948c1.28 5.762-.904 11.244-5.33 15.004-2.08 1.768-4.434 3.074-7.056 3.835a25 25 0 0 1-4.497.87c-1.136.111-2.784-.4-3.79-.111-1.12.321-2.559 1.865-3.757 2.362a20 20 0 0 1-2.068.727c-1.506.438-3.065.734-4.613.977-1.602.25-8.283 1.302-7.455-1.637.284-1.01 3.11-2.504 3.724-3.184.454-.502 3.145-3.364 3.019-4.295-.04-.294-1.747-1.63-2.148-2.08-.909-1.019-1.762-2.058-2.245-3.351-.829-2.216-.786-4.998-.51-7.32.688-5.804 3.566-9.659 8.602-12.55 2.855-1.637 5.96-2.538 9.205-2.934 3.956-.483 7.11-.498 10.467 1.75 4.42 2.96 7.275 6.668 8.452 11.937m-5.131 6.988c1.086-.3-.308-3.053-1.079-1.72-.277.48.463 1.889 1.079 1.72m-1.821-5.322c.088.36.434.47.748.427.75-.104.28-.981.301-1.373.04-.749.107-2.639-.172-3.32-.513-1.254-.975-1.014-1.274.214-.267 1.1.123 2.947.397 4.052m-1.048 4.279c.843-.498-1.38-6.176-1.868-6.988-1.892-3.145-2.504 2.431-2.794 3.81-.125.596-1.518 6.781.339 4.787.99-1.064-.558-4.602 2.243-3.78.984.29.272.207.874 1.11.22.33.458 1.5 1.206 1.06Zm-6.342-1.294c.786-1.35-2.665-.721-3.062-.697.094-1.8.445-3.623.44-5.422 0-.475.165-2.191-.958-1.381-.454.327-.298 1.83-.336 2.28-.09 1.057-.948 4.707-.108 5.56.595.603 3.693.22 4.024-.34m-4.799-2.44c.338-1.344-.084-4.253-1.845-4.28-.613-.008-.335.831-.487.92-1.065.621-1.528.542-2.16 1.646-2.486 4.35 3.067 7.445 4.492 1.714m-6.027 3.83c.761-.21.546-9.977-.331-9.983-1.51-.008-.063 4.84-.635 5.49-.17.196-1.026.015-1.25.056-1.14.212-1.89.092-2.24-.606-.312-.62.36-4.88-1.258-2.79q.023 1.107.035 2.213.504 1.072-.376 1.306c-.03.47.392.864.397 1.017.025.771-.484 4.231.9 4.064.885-.107.32-3.481.317-4.03 1.143.027 2.34.155 3.475.008.006.427-.288 3.603.966 3.256ZM63.837 17A19 19 0 0 1 65 18.842q-.999.086-2 .158c.272-.668.544-1.335.837-2m-9.914 0c.145.423.256 3.288-1.355 2.976-.92-.177-.507-1.764-.246-2.091.55-.69.873-.448 1.601-.885" transform="translate(77 58)"></path></g></g>',1),Ig=[zg];function Gg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ig])}const jg={render:Gg},qg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Resist" fill-rule="evenodd" stroke-width="1"><g id="Resist" fill="#FFF" transform="translate(80 67)"><path id="!" d="M102.565 21.071c-3.082-.666-5.192 3.535-1.912 4.784 2.815 1.072 4.845-4.145 1.912-4.784"></path><path id="H" d="M101.191 18c3.657 0 2.308-5.981 2.321-7.965.014-2.137 1.545-8.596-.89-9.734-4.216-1.971-3.06 6.325-3.034 7.968.028 1.816.167 3.72-.229 5.508-.35 1.58-1.129 4.223 1.832 4.223"></path><path id="C" d="M96.058 1.974c-1.082-.622-2.801-.32-3.987-.374-1.349-.06-2.69-.195-4.035-.293-2.177-.16-4.956-.563-7.118-.068-1.226.28-2.338 1.225-1.761 2.608.62 1.49 2.303 1.105 3.58 1.03.585-.035 2.033-.29 2.605-.089.997.35.573-.108.801 1.067.349 1.807.14 4 .125 5.838-.026 3.174-.036 6.364-.103 9.536-.026 1.236-.44 2.632.757 3.448.998.68 2.216.225 2.733-.793.514-1.013.026-3.067-.029-4.196-.066-1.347-.136-2.676-.097-4.025.104-3.585.282-7.167.368-10.754.943.046 1.922.018 2.856.15.683.095 1.665.535 2.322.5 1.9-.1 2.694-2.587.983-3.585"></path><path id="A" d="M67.722 8.813c-.012-.053-.082-.644 0 0m-.037-.276c.004.025 0 .008 0 0m1.432-3.11c3.416-3.981 4.583 4.347 7.246 3.995 4.26-.564-.941-6.953-2.669-7.776-3.515-1.675-6.605.08-8.277 3.267-2.098 4-.77 6.708 3.258 8.444 1.471.635 7.04 2.528 5.53 4.959-.76 1.224-3.526 1.329-4.7 1.086-2.356-.486-1.989-2.086-3.135-3.573-1.033-1.34-3.03-.947-3.342.781-.245 1.358 1.17 3.425 2.115 4.38 2.233 2.256 6.04 2.437 8.887 1.41 4.386-1.583 4.917-5.71 1.806-8.905-1.749-1.795-3.933-2.34-6.113-3.418-2.645-1.306-2.15-2.39-.606-4.65"></path><path id="E" d="M58.75 20.568c-.564-4.825-.696-9.717-.78-14.563-.027-1.554.706-5.206-1.453-5.865-2.915-.89-2.528 2.692-2.467 4.164.205 4.913.842 9.789 1.071 14.696.073 1.557-.429 4.574 1.831 4.946 2.75.454 2.008-2.081 1.798-3.378"></path><path id="P" d="M49.472 4.68c-2.36-3.159-7.154-3.669-10.09-.758-2.072 2.054-3.377 6.92-1.416 9.403 2.124 2.691 7.355.332 8.725 3.383 1.682 3.743-2.73 5.148-5.074 2.663-.843-.894-.659-2.454-1.9-3.007-1.763-.785-2.864.928-2.517 2.359.848 3.5 4.652 5.39 8.101 5.272 3.768-.13 5.402-2.977 5.163-6.4-.33-4.735-3.985-5.476-7.99-5.998-1.698-.22-1.92-.2-1.816-1.952.128-2.118 1.37-4.567 3.991-4.063 2.106.405 2.294 3.571 4.455 3.718 3.496.239 1.256-3.433.368-4.62"></path><path id="M" d="M31.721 20.438c-1.337.32-2.963.098-4.327.073-1.053-.019-4.574.427-5.261-.296-.76-.8-.513-3.247-.545-4.286-.046-1.454-.404-1.67.872-2 .749-.193 1.907-.096 2.682-.131 1.515-.07 3.465.21 4.93-.088 1.37-.28 2.502-1.751 1.25-3.004-.886-.888-2.542-.411-3.631-.386-2.034.046-4.069.036-6.103.072.008-1.568-.043-3.147.079-4.71 2.847.14 5.812.881 8.659.745 1.44-.07 3.04-.992 2.31-2.73-.624-1.49-2.521-1.287-3.843-1.346-1.653-.075-3.308-.113-4.962-.17-1.224-.042-3.005-.445-4.159.107-2.362 1.13-1.55 5.01-1.485 7.112.084 2.666.085 5.268.177 7.956.084 2.433-.037 5.641 2.852 6.325 2.89.684 6.245.033 9.192.176 1.209.058 2.861.41 3.455-.996.569-1.349-.73-2.774-2.142-2.423"></path><path id="I" d="M8.41 5.88c2.321.5 2.942 3.014 3.02 5.149.054 1.46.183 1.373-1.003 1.74-1.19.368-2.92.169-4.139.116-2.543-.11-2.235-.278-2.284-2.945-.012-.625-.475-3.504-.108-3.91.476-.528 3.839-.203 4.514-.15m5.077 14.838c-1.29-1.504-2.586-2.94-4.034-4.286 2.158-.06 4.503-.473 5.27-2.819.648-1.982.085-5-.668-6.872-.994-2.47-3.062-4.119-5.635-4.478-1.796-.251-6.278-.673-7.62.71C-.665 4.482.352 8.623.442 10.47c.16 3.271.044 6.518-.157 9.785-.064 1.055-.582 2.787-.041 3.737.6 1.054 2.059 1.317 2.969.537.984-.844.529-1.878.468-2.961-.093-1.676.075-3.404.174-5.074 1.608 1.312 3.25 2.591 4.762 4.022 1.493 1.414 2.564 3.202 3.99 4.627 1.011 1.01 2.82 1.425 3.331-.448.44-1.608-1.571-2.951-2.451-3.977"></path></g></g></g>',1),Wg=[qg];function Yg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wg])}const Ug={render:Yg},Xg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Skull" fill="#FFF" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Fill-49" d="M65.282 19.929c-.298 2.777-5.693 4.274-7.672 2.448-.912-.842-.927-2.574-1.128-3.702-.38-2.133-.656-4.258-.751-6.423-.058-1.325-.406-2.385 1.044-2.582.883-.12 1.793.468 2.515.933 2.447 1.573 6.33 6.138 5.992 9.326m-12.4-5.853c.284 2.825 1.32 7.739-.936 10.105-2.016 2.115-6.16.018-6.783-2.473-.773-3.09 2.275-6.78 4.145-8.87.574-.641 1.844-2.412 2.836-1.82.382.228.693 2.612.737 3.058m1.44 11.03c.647-1.523 6.913 3.019 3.953 5.18-.482.352-4.16 1.465-4.864.941-1.485-1.103.43-4.964.911-6.12m19.004-7.58c-.443-15.476-20.26-19.84-30.85-11.023-4.048 3.372-6.362 7.5-6.468 12.779-.09 4.471.619 8.689 4.034 11.764 1.481 1.333 2.46 2.149 3.245 3.97.824 1.906 1.2 4.335 2.742 5.833.85.825 2.09 1.492 3.266.96 2.162-.98 1.47-3.978 2.125-5.65 2.037 4.97 7.211 6.554 8.15.25 1.031 1.819 3.726 4.2 5.7 2.21.812-.82.934-2.15 1.072-3.227.245-1.912-.18-2.664 1.355-3.975 4.039-3.45 5.773-8.672 5.63-13.891" transform="translate(77 58)"></path></g></g>',1),Zg=[Xg];function Qg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zg])}const Kg={render:Qg},Jg={Bat:mg,Cumbia:gg,Diamond:bg,Pizza:Cg,Selena:Ag,SkullOutline:Dg,Bear:Fg,Deer:Rg,Hola:jg,Resist:Ug,Skull:Kg},ey=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Closed",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("path",{id:"Closed-Eye",d:"M16.16 32.447C18.007 28.65 22.164 26 26.998 26c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125m58 0C76.007 28.65 80.164 26 84.998 26c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125",transform:"matrix(1 0 0 -1 0 60)"})])],-1),ty=[ey];function ay(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ty])}const ny={render:ay},ry=t.createElementVNode("g",{class:"CustomColor",opacity:".6",transform:"translate(76 90)"},[t.createElementVNode("circle",{id:"Eye",cx:"30",cy:"22",r:"6"}),t.createElementVNode("circle",{id:"Eye",cx:"82",cy:"22",r:"6"})],-1),oy=[ry];function iy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...oy])}const ly={render:iy},sy=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Eye-Roll" transform="translate(0 8)"><circle id="Eyeball" cx="30" cy="22" r="14" fill="#FFF"></circle><circle id="The-white-stuff" cx="82" cy="22" r="14" fill="#FFF"></circle><circle cx="30" cy="14" r="6" class="CustomColor" opacity=".7"></circle><circle cx="82" cy="14" r="6" class="CustomColor" opacity=".7"></circle></g></g>',1),cy=[sy];function dy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...cy])}const uy={render:dy},my=t.createElementVNode("g",{fill:"#FF5353",class:"CustomColor",opacity:".8",transform:"translate(76 90)"},[t.createElementVNode("path",{id:"Heart",d:"M35.958 10c-2.55 0-5.074 1.98-6.458 3.82-1.39-1.84-3.907-3.82-6.458-3.82C17.552 10 14 13.334 14 17.641c0 5.73 4.412 9.13 9.042 12.736 1.653 1.236 4.78 4.4 5.166 5.094.386.693 2.106.718 2.584 0 .477-.718 3.51-3.858 5.166-5.094C40.585 26.77 45 23.37 45 17.64c0-4.306-3.552-7.64-9.042-7.64m53 0c-2.55 0-5.074 1.98-6.458 3.82-1.39-1.84-3.907-3.82-6.458-3.82C70.552 10 67 13.334 67 17.641c0 5.73 4.412 9.13 9.042 12.736 1.653 1.236 4.78 4.4 5.166 5.094.386.693 2.106.718 2.584 0 .477-.718 3.51-3.858 5.166-5.094C93.585 26.77 98 23.37 98 17.64c0-4.306-3.552-7.64-9.042-7.64"})],-1),fy=[my];function hy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...fy])}const py={render:hy},gy=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Squint" transform="translate(0 8)"><defs><path id="Eye1" d="M14 14.048c9.61 0 14 4.451 14-2.486C28 4.624 21.732 0 14 0S0 4.624 0 11.562s4.39 2.486 14 2.486"></path><path id="Eye2" d="M14 14.048c9.61 0 14 4.451 14-2.486C28 4.624 21.732 0 14 0S0 4.624 0 11.562s4.39 2.486 14 2.486"></path></defs><g id="Eye" transform="translate(16 13)"><mask id="EyeMask1" fill="#fff"><use href="#Eye1"></use></mask><use id="The-white-stuff" fill="#FFF" href="#Eye1"></use><circle cx="14" cy="10" r="6" class="CustomColor" mask="url(&#39;#EyeMask1&#39;)" opacity=".7"></circle></g><g id="Eye" transform="translate(68 13)"><mask id="EyeMask2" fill="#fff"><use href="#Eye2"></use></mask><use id="Eyeball-Mask" fill="#FFF" href="#Eye2"></use><circle cx="14" cy="10" r="6" class="CustomColor" mask="url(&#39;#EyeMask2&#39;)" opacity=".7"></circle></g></g></g>',1),yy=[gy];function ky(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...yy])}const xy={render:ky},by=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Wink",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("circle",{id:"Eye",cx:"30",cy:"22",r:"6"}),t.createElementVNode("path",{id:"Winky-Wink",d:"M70.412 24.205c1.847-3.799 6.005-6.447 10.838-6.447 4.816 0 8.961 2.63 10.818 6.407.551 1.122-.234 2.04-1.025 1.36-2.451-2.108-5.932-3.424-9.793-3.424-3.74 0-7.124 1.235-9.56 3.228-.891.729-1.818-.013-1.278-1.124",transform:"rotate(-4 81.252 21.758)"})])],-1),wy=[by];function vy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...wy])}const Ey={render:vy},Cy=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Cry" transform="translate(0 8)"><circle cx="30" cy="22" r="6" class="CustomColor" opacity=".6"></circle><path id="Drop" fill="#92D9FF" d="M25 27s-6 7.27-6 11.27a6 6 0 1 0 12 0c0-4-6-11.27-6-11.27"></path><circle cx="82" cy="22" r="6" class="CustomColor" opacity=".6"></circle></g></g>',1),Sy=[Cy];function My(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Sy])}const By={render:My},Ay=t.createElementVNode("g",{class:"CustomColor",opacity:".6",transform:"translate(76 90)"},[t.createElementVNode("path",{id:"Eye",d:"m29 25.2 5.5 5.5c.5.4 1.2.4 1.6 0l1.6-1.6c.4-.5.4-1.2 0-1.6L32.2 22l5.5-5.5c.4-.5.4-1.2 0-1.6l-1.6-1.6c-.5-.4-1.2-.4-1.6 0L29 18.8l-5.5-5.5c-.5-.4-1.2-.4-1.6 0l-1.6 1.6c-.4.4-.4 1.1 0 1.6l5.5 5.5-5.5 5.5c-.4.5-.4 1.2 0 1.6l1.6 1.6c.5.4 1.2.4 1.6 0zm54 0 5.5 5.5c.5.4 1.2.4 1.6 0l1.6-1.6c.4-.5.4-1.2 0-1.6L86.2 22l5.5-5.5c.4-.5.4-1.2 0-1.6l-1.6-1.6c-.5-.4-1.2-.4-1.6 0L83 18.8l-5.5-5.5c-.5-.4-1.2-.4-1.6 0l-1.6 1.6c-.4.4-.4 1.1 0 1.6l5.5 5.5-5.5 5.5c-.4.5-.4 1.2 0 1.6l1.6 1.6c.5.4 1.2.4 1.6 0z"})],-1),Vy=[Ay];function Ny(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Vy])}const _y={render:Ny},Dy=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Happy",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("path",{id:"Squint",d:"M16.16 22.447C18.007 18.65 22.164 16 26.998 16c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125m58 0C76.007 18.65 80.164 16 84.998 16c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125"})])],-1),Ty=[Dy];function Py(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ty])}const Oy={render:Py},Fy=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Side",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("path",{id:"Eye",d:"M27.241 20.346a6 6 0 1 0 10.699 2.8 2 2 0 0 0-.125-.739 8 8 0 0 0-.144-.372 6 6 0 0 0-1.646-2.484C33.9 17.317 30.506 16 26.998 16c-4.834 0-8.991 2.649-10.838 6.447-.54 1.111.387 1.853 1.278 1.125 2.436-1.993 5.82-3.228 9.56-3.228zm58 0a6 6 0 1 0 10.699 2.8 2 2 0 0 0-.125-.739 8 8 0 0 0-.144-.372 6 6 0 0 0-1.646-2.484C91.9 17.317 88.506 16 84.998 16c-4.834 0-8.991 2.649-10.838 6.447-.54 1.111.387 1.853 1.278 1.125 2.436-1.993 5.82-3.228 9.56-3.228z"})])],-1),Ly=[Fy];function $y(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ly])}const Hy={render:$y},Ry=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Surprised" transform="translate(0 8)"><circle id="The-White-Stuff" cx="30" cy="22" r="14" fill="#FFF"></circle><circle id="Eye-Ball" cx="82" cy="22" r="14" fill="#FFF"></circle><circle cx="30" cy="22" r="6" class="CustomColor" opacity=".7"></circle><circle cx="82" cy="22" r="6" class="CustomColor" opacity=".7"></circle></g></g>',1),zy=[Ry];function Iy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...zy])}const Gy={render:Iy},jy=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Wink-Wacky" transform="translate(0 8)"><circle id="cornea" cx="82" cy="22" r="12" fill="#FFF"></circle><circle cx="82" cy="22" r="6" class="CustomColor" opacity=".7"></circle><path id="Winky-Doodle" fill="#000" d="M16.16 25.447C18.007 21.65 22.164 19 26.998 19c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125" opacity=".6"></path></g></g>',1),qy=[jy];function Wy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...qy])}const Yy={render:Wy},Uy={Close:ny,Default:ly,EyeRoll:uy,Hearts:py,Squint:xy,Wink:Ey,Cry:By,Dizzy:_y,Happy:Oy,Side:Hy,Surprised:Gy,WinkWacky:Yy},Xy=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Outline/Angry",d:"M15.611 15.185c4.24-5.769 6.878-5.484 13.313-.629l.67.508C34.422 18.726 36.708 20 40 20a2 2 0 1 0 0-4c-2.066 0-3.901-1.022-7.989-4.123-.375-.285-.492-.373-.678-.513-3.76-2.837-5.959-4.077-8.695-4.372-3.684-.398-7.058 1.482-10.25 5.823a2 2 0 0 0 3.223 2.37m80.777 0c-4.24-5.769-6.877-5.484-13.312-.629l-.67.508C77.578 18.726 75.292 20 72 20a2 2 0 1 1 0-4c2.066 0 3.901-1.022 7.989-4.123.375-.285.492-.373.678-.513 3.76-2.837 5.959-4.077 8.695-4.372 3.684-.398 7.058 1.482 10.25 5.823a2 2 0 0 1-3.224 2.37",class:"CustomColor",opacity:".6"})],-1),Zy=[Xy];function Qy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zy])}const Ky={render:Qy},Jy=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Flat-Natural",d:"M38.66 11.09c-4.998.362-9.923.086-14.918-.122-3.83-.158-7.717-.681-11.374 1.012-.7.324-4.53 2.28-4.44 3.349.07.855 3.935 2.191 4.63 2.436 3.67 1.29 7.181.896 10.954.67 4.628-.278 9.236-.074 13.861-.214 3.116-.093 7.917-.62 9.457-4.398.464-1.137.105-3.413-.36-4.657-.185-.496-.72-.683-1.125-.397-1.45 1.023-4.261 2.146-6.685 2.321m34.68 0c4.998.362 9.923.086 14.918-.122 3.83-.158 7.717-.681 11.374 1.012.7.324 4.53 2.28 4.44 3.349-.07.855-3.935 2.191-4.63 2.436-3.67 1.29-7.181.896-10.954.67-4.628-.278-9.236-.074-13.861-.214-3.116-.093-7.917-.62-9.457-4.398-.464-1.137-.105-3.413.36-4.657.185-.496.72-.683 1.125-.397 1.45 1.023 4.261 2.146 6.685 2.321",class:"CustomColor",opacity:".6"})],-1),ek=[Jy];function tk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ek])}const ak={render:tk},nk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Outline/Sad-Concerned",d:"M38.028 5.591c-1.48 8.389-14.09 14.18-23.238 10.432-1.015-.416-2.19.031-2.627.999s.033 2.09 1.048 2.505c11.444 4.69 26.835-2.38 28.762-13.303.183-1.039-.551-2.023-1.64-2.197-1.09-.175-2.122.525-2.305 1.564m35.945 0c1.48 8.389 14.09 14.18 23.238 10.432 1.014-.416 2.19.031 2.627.999s-.033 2.09-1.048 2.505c-11.444 4.69-26.835-2.38-28.762-13.303-.183-1.039.551-2.023 1.64-2.197 1.09-.175 2.121.525 2.305 1.564",class:"CustomColor",opacity:".6"})],-1),rk=[nk];function ok(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...rk])}const ik={render:ok},lk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Up-Down-Natural",d:"m22.766 1.578.911-.402C28.92-.905 36.865-.033 41.723 2.299c.567.272.18 1.153-.402 1.108-14.919-1.151-24.963 8.146-28.375 14.44-.101.187-.407.208-.482.034-2.308-5.319 4.45-13.985 10.302-16.303M86.993 12.07c5.761.773 14.746 5.795 13.994 11.607-.024.19-.312.25-.436.091-2.487-3.188-21.712-7.872-28.714-6.894-.64.09-1.063-.571-.626-.984 3.744-3.535 10.62-4.518 15.782-3.82",class:"CustomColor",opacity:".6"})],-1),sk=[lk];function ck(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sk])}const dk={render:ck},uk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Angry-Natural",d:"M44.095 17.125q.006-.014 0 0M19.284 5.005c-2.368-.266-4.858.497-6.427 2.434-.59.728-1.553 2.48-1.509 3.417.017.356.225.375 1.124.59 1.646.392 4.5-1.114 6.355-.972 2.582.198 5.047 1.395 7.283 2.679 3.838 2.202 8.354 6.84 13.093 6.598.353-.018 5.42-1.739 4.41-2.723-.316-.484-3.034-1.128-3.501-1.361-2.172-1.084-4.367-2.448-6.443-3.718-4.528-2.772-8.944-6.338-14.385-6.944m48.746 12.12q-.006-.014 0 0m24.876-12.12c2.368-.266 4.857.497 6.426 2.434.59.728 1.554 2.48 1.509 3.417-.017.356-.225.375-1.124.59-1.645.392-4.5-1.114-6.355-.972-2.582.198-5.046 1.395-7.282 2.679-3.839 2.202-8.355 6.84-13.093 6.598-.353-.018-5.42-1.739-4.411-2.723.317-.484 3.034-1.128 3.502-1.361 2.171-1.084 4.367-2.448 6.442-3.718 4.528-2.772 8.945-6.338 14.386-6.944",class:"CustomColor",opacity:".6"})],-1),mk=[uk];function fk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...mk])}const hk={render:fk},pk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Frown-Natural",d:"M36.37 6.876c-1.97 2.905-5.546 4.64-8.738 5.684-3.943 1.29-18.552 3.38-15.112 11.348a.147.147 0 0 0 .272.002c1.153-2.645 17.465-5.123 18.973-5.704 4.445-1.709 8.393-5.49 9.162-10.543.352-2.317-.637-6.049-1.548-7.55-.11-.18-.374-.136-.43.069-.36 1.331-1.41 4.971-2.58 6.694m39.261 0c1.97 2.905 5.546 4.64 8.738 5.684 3.943 1.29 18.551 3.379 15.112 11.348a.147.147 0 0 1-.272.002c-1.153-2.645-17.465-5.123-18.973-5.704-4.445-1.709-8.393-5.49-9.162-10.543-.352-2.317.637-6.049 1.548-7.55.11-.18.374-.136.43.069.36 1.331 1.41 4.971 2.58 6.694",class:"CustomColor",opacity:".6"})],-1),gk=[pk];function yk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...gk])}const kk={render:yk},xk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Sad-Concerned-Natural",d:"m31.234 20.422-.911.402c-5.242 2.081-13.188 1.209-18.046-1.123-.567-.272-.18-1.153.402-1.108 14.919 1.151 24.963-8.146 28.375-14.44.101-.187.407-.208.482-.034 2.308 5.319-4.45 13.985-10.302 16.303m49.532 0 .911.402c5.242 2.081 13.188 1.209 18.046-1.123.567-.272.18-1.153-.402-1.108-14.919 1.151-24.963-8.146-28.375-14.44-.101-.187-.407-.208-.482-.034-2.308 5.319 4.45 13.985 10.302 16.303",class:"CustomColor",opacity:".6"})],-1),bk=[xk];function wk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bk])}const vk={render:wk},Ek=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyebrow/Outline/Default",opacity:".6"},[t.createElementVNode("path",{id:"I-Browse",d:"M15.63 17.159c3.915-5.51 14.648-8.598 23.893-6.328a2 2 0 0 0 .954-3.884C29.74 4.31 17.312 7.887 12.37 14.84a2 2 0 0 0 3.26 2.318Zm80.74 0c-3.915-5.51-14.648-8.598-23.893-6.328a2 2 0 0 1-.954-3.884c10.737-2.637 23.165.94 28.108 7.894a2 2 0 0 1-3.26 2.318Z",class:"CustomColor"})])],-1),Ck=[Ek];function Sk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ck])}const Mk={render:Sk},Bk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyebrow/Outline/Raised-Excited",opacity:".6"},[t.createElementVNode("path",{id:"I-Browse",d:"M15.976 17.128C17.47 7.605 30.059 1.108 39.164 5.3a2 2 0 0 0 1.672-3.633c-11.487-5.29-26.9 2.664-28.812 14.84a2 2 0 1 0 3.952.62Zm80.048 0C94.53 7.605 81.942 1.108 72.837 5.3a2 2 0 0 1-1.673-3.633c11.487-5.29 26.9 2.664 28.812 14.84a2 2 0 0 1-3.952.62Z",class:"CustomColor"})])],-1),Ak=[Bk];function Vk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ak])}const Nk={render:Vk},_k=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyebrow/Natural/Unibrow-Natural",opacity:".6"},[t.createElementVNode("path",{d:"M56.997 12.82q0-.005 0 0m2.559 2.805c1.892 1.101 4.717 1.734 6.315 1.94 6.277.807 12.266-1.535 18.386-2.68 5.432-1.015 11.625-1.925 16.73.91.13.072 1.162.667 1.707 1.184a.81.81 0 0 0 1.291-.224c1.325-2.726-6.402-8.594-7.865-9.153-6.627-2.528-15.176.704-21.796 2.001-3.717.728-7.462 1.252-11.115 2.29-1.31.373-2.58 1.007-3.862 1.218-.162-.224-.362-.36-.588-.352-1.17.04-2.796 3.557-.56 3.676.7.038 1.13-.312 1.357-.81",class:"CustomColor"}),t.createElementVNode("path",{d:"M55.003 12.79q.002-.005 0 0M15.881 7.573c6.626-2.528 15.176.705 21.796 2.001 3.716.729 7.461 1.253 11.114 2.291 1.47.418 2.887 1.165 4.33 1.274.7.053 1.106.903.635 1.435-1.545 1.74-5.586 2.7-7.626 2.962-6.278.807-12.267-1.534-18.387-2.679-5.432-1.016-11.624-1.925-16.73.91-.13.071-1.161.666-1.707 1.184a.81.81 0 0 1-1.29-.224C6.69 14 14.417 8.133 15.881 7.573m39.092 4.217c1.17.041 2.762 4.5.525 4.674-2.237.173-1.696-4.715-.525-4.674",class:"CustomColor"})])],-1),Dk=[_k];function Tk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Dk])}const Pk={render:Tk},Ok=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Default-Natural",d:"M26.547 6.148c-5.807.269-15.195 4.488-14.953 10.344.008.192.29.276.427.129 2.755-2.96 22.316-5.95 29.205-4.365.63.145 1.11-.477.71-.927-3.422-3.848-10.186-5.426-15.389-5.18m59.906-.001c5.807.269 15.195 4.488 14.953 10.344-.008.192-.29.276-.427.129-2.755-2.96-22.316-5.95-29.205-4.365-.63.145-1.11-.477-.71-.927 3.422-3.848 10.186-5.426 15.389-5.18",class:"CustomColor",opacity:".6"})],-1),Fk=[Ok];function Lk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Fk])}const $k={render:Lk},Hk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Raised-Excited-Natural",d:"m22.766 1.578.911-.402C28.92-.905 36.865-.033 41.723 2.299c.567.272.18 1.153-.402 1.108-14.919-1.151-24.963 8.146-28.375 14.44-.101.187-.407.208-.482.034-2.308-5.319 4.45-13.985 10.302-16.303m66.468 0-.911-.402C83.08-.905 75.135-.033 70.277 2.299c-.567.272-.18 1.153.402 1.108 14.919-1.151 24.963 8.146 28.375 14.44.101.187.407.208.482.034 2.308-5.319-4.45-13.985-10.302-16.303",class:"CustomColor",opacity:".6"})],-1),Rk=[Hk];function zk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Rk])}const Ik={render:zk},Gk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Outline/Up-Down",d:"M15.591 14.162c4.496-6.326 14.012-9.508 23.756-6.366a2 2 0 1 0 1.228-3.807c-11.408-3.68-22.74.11-28.244 7.856a2 2 0 1 0 3.26 2.317m80.786 6.996c-3.914-5.509-14.647-8.598-23.892-6.328a2 2 0 0 1-.954-3.884c10.736-2.637 23.165.94 28.107 7.895a2 2 0 1 1-3.26 2.317Z",class:"CustomColor",opacity:".6"})],-1),jk=[Gk];function qk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...jk])}const Wk={render:qk},Yk={Angry:Ky,FlatNatural:ak,SadConcerned:ik,UpDownNatural:dk,AngryNatural:hk,FrownNatural:kk,SadConcernedNatural:vk,Default:Mk,RaisedExcited:Nk,UnibrowNatural:Pk,DefaultNatural:$k,RaisedExcitedNatural:Ik,UpDown:Wk},Uk=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Concerned" transform="translate(2 52)"><defs><path id="Mouth1" d="M35.118 15.128C36.176 24.62 44.226 32 54 32c9.804 0 17.874-7.426 18.892-16.96.082-.767-.775-2.04-1.85-2.04H37.088c-1.08 0-2.075 1.178-1.97 2.128"></path></defs><mask id="MouthMask1" fill="#fff"><use href="#Mouth1" transform="matrix(1 0 0 -1 0 45)"></use></mask><use id="Mouth" fill="#000" href="#Mouth1" opacity=".7" transform="matrix(1 0 0 -1 0 45)"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url(&#39;#MouthMask1&#39;)" rx="5"></rect><g id="Tongue" fill="#FF4F6D" mask="url(&#39;#MouthMask1&#39;)"><g transform="translate(38 24)"><circle id="friend?" cx="11" cy="11" r="11"></circle><circle id="How-you-doing" cx="21" cy="11" r="11"></circle></g></g></g></g>',1),Xk=[Uk];function Zk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Xk])}const Qk={render:Zk},Kk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Disbelief",fill:"#000",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40 15c0 7.732 6.268 14 14 14s14-6.268 14-14",transform:"matrix(1 0 0 -1 0 44)"})])],-1),Jk=[Kk];function ex(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Jk])}const tx={render:ex},ax=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Grimace" transform="translate(2 52)"><defs><rect id="Grimace-path1" width="60" height="22" x="24" y="9" rx="11"></rect></defs><rect id="Mouth" width="64" height="26" x="22" y="7" fill="#000" opacity=".6" rx="13"></rect><mask id="Grimace-mask1" fill="#fff"><use href="#Grimace-path1"></use></mask><use id="Mouth" fill="#FFF" href="#Grimace-path1"></use><path id="Grimace-Teeth" fill="#E6E6E6" d="M71 22h-9v12h-4V22h-9v12h-4V22h-9v12h-4V22h-8v-4h8V6h4v12h9V6h4v12h9V6h4v12h9V6h4v12h8.867v4H75v12h-4z" mask="url(&#39;#Grimace-mask1&#39;)"></path></g></g>',1),nx=[ax];function rx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...nx])}const ox={render:rx},ix=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Scream-Open" transform="translate(2 52)"><defs><path id="ScreamOpen-path1" d="M34.008 15.136C35.128 29.124 38.235 40.993 53.996 41c15.762.007 18.92-11.943 19.998-25.994.087-1.13-.82-2.006-1.957-2.006-6.686 0-9.367 1.994-18.048 2s-13.232-2-17.897-2c-1.143 0-2.196.737-2.084 2.136"></path></defs><mask id="ScreamOpen-mask1" fill="#fff"><use href="#ScreamOpen-path1" transform="matrix(1 0 0 -1 0 54)"></use></mask><use id="Mouth" fill="#000" href="#ScreamOpen-path1" opacity=".7" transform="matrix(1 0 0 -1 0 54)"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url(&#39;#ScreamOpen-mask1&#39;)" rx="5"></rect><g id="Tongue" fill="#FF4F6D" mask="url(&#39;#ScreamOpen-mask1&#39;)"><g id="Say-ahhhh" transform="translate(38 32)"><circle cx="11" cy="11" r="11"></circle><circle cx="21" cy="11" r="11"></circle></g></g></g></g>',1),lx=[ix];function sx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...lx])}const cx={render:sx},dx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Smile" transform="translate(2 52)"><defs><path id="Smile-path1" d="M35.118 15.128C36.176 24.62 44.226 32 54 32c9.804 0 17.874-7.426 18.892-16.96.082-.767-.775-2.04-1.85-2.04H37.088c-1.08 0-2.075 1.178-1.97 2.128"></path></defs><mask id="Smile-mask1" fill="#fff"><use href="#Smile-path1"></use></mask><use id="Mouth" fill="#000" href="#Smile-path1" opacity=".7"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url(&#39;#Smile-mask1&#39;)" rx="5"></rect><g id="Tongue" fill="#FF4F6D" mask="url(&#39;#Smile-mask1&#39;)"><g transform="translate(38 24)"><circle cx="11" cy="11" r="11"></circle><circle cx="21" cy="11" r="11"></circle></g></g></g></g>',1),ux=[dx];function mx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ux])}const fx={render:mx},hx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Twinkle",fill:"#000",opacity:".6",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40 16c0 5.372 6.158 9 14 9s14-3.628 14-9c0-1.105-.95-2-2-2-1.293 0-1.87.905-2 2-1.242 2.938-4.317 4.716-10 5-5.683-.284-8.758-2.062-10-5-.13-1.095-.707-2-2-2-1.05 0-2 .895-2 2"})])],-1),px=[hx];function gx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...px])}const yx={render:gx},kx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Default",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40 15c0 7.732 6.268 14 14 14s14-6.268 14-14"})])],-1),xx=[kx];function bx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...xx])}const wx={render:bx},vx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Eating" transform="translate(2 52)"><g id="Om-Nom-Nom" fill="#000" opacity=".6" transform="translate(28 6)"><path id="Delicious" d="M16.19 10.106C16.019 4.996 11.793.797 6.295 0 9.66 1.959 11.98 5.495 11.98 9.677c0 5.668-5.473 10.568-11.803 10.568H0A13 13 0 0 0 4.392 21c5.322 0 9.821-3.153 11.294-7.486 2.475 2.156 6.177 3.525 10.314 3.525s7.84-1.37 10.314-3.525C37.787 17.847 42.286 21 47.608 21c1.552 0 3.034-.268 4.392-.756l-.177.001c-6.33 0-11.803-4.9-11.803-10.568 0-4.182 2.32-7.718 5.686-9.677-5.498.797-9.724 4.996-9.897 10.106-2.564 1.736-6.014 2.8-9.809 2.8s-7.245-1.064-9.81-2.8"></path></g><circle id="Redish" cx="17" cy="15" r="9" fill="#FF4646" opacity=".2"></circle><circle id="Redish" cx="91" cy="15" r="9" fill="#FF4646" opacity=".2"></circle></g></g>',1),Ex=[vx];function Cx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ex])}const Sx={render:Cx},Mx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Sad",fill:"#000",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40.058 16.654c.65 7.03 6.644 11.723 13.942 11.723 7.342 0 13.363-4.75 13.953-11.848.031-.378-.876-.676-1.324-.452q-8.308 4.16-12.629 4.16-4.266 0-12.446-4.069c-.507-.252-1.534.068-1.496.486",transform:"matrix(1 0 0 -1 0 44.377)"})])],-1),Bx=[Mx];function Ax(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Bx])}const Vx={render:Ax},Nx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Serious",fill:"#000",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("rect",{id:"Why-so-serious?",width:"24",height:"6",x:"42",y:"18",rx:"3"})])],-1),_x=[Nx];function Dx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[..._x])}const Tx={render:Dx},Px=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Tongue" transform="translate(2 52)"><defs><path id="Tongue-path1" d="M29 15.609C30.41 25.23 41.062 33 54 33c12.968 0 23.646-7.817 25-18.26.101-.4-.225-1.74-2.174-1.74H31.174c-1.79 0-2.304 1.24-2.174 2.609"></path></defs><mask id="Tongue-mask1" fill="#fff"><use href="#Tongue-path1"></use></mask><use id="Mouth" fill="#000" href="#Tongue-path1" opacity=".7"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url(&#39;#Tongue-mask1&#39;)" rx="5"></rect><path id="Tongue" fill="#FF4F6D" d="M65.984 23.747Q66 23.871 66 24v9c0 6.075-4.925 11-11 11h-1c-6.075 0-11-4.925-11-11v-9q0-.129.016-.253A2 2 0 0 1 43 23.5c0-1.933 2.91-3.5 6.5-3.5 2.01 0 3.808.491 5 1.263 1.192-.772 2.99-1.263 5-1.263 3.59 0 6.5 1.567 6.5 3.5q0 .124-.016.247"></path></g></g>',1),Ox=[Px];function Fx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ox])}const Lx={render:Fx},$x=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Vomit" transform="translate(2 52)"><defs><path id="Vomit-path1" d="M34.008 12.602c1.12 10.49 4.227 19.392 19.988 19.398 15.762.006 18.92-8.958 19.998-19.495.087-.848-.82-1.505-1.957-1.505-6.686 0-9.367 1.495-18.048 1.5S40.757 11 36.092 11c-1.143 0-2.196.552-2.084 1.602"></path><path id="Vomit-path2" d="M59.917 36H60a6 6 0 1 0 12 0v-5a6 6 0 0 0-6-6H42a6 6 0 0 0-6 6v7a6 6 0 1 0 12 0v-2h.083a6.002 6.002 0 0 1 11.834 0"></path><filter id="filter1" width="102.8%" height="105.3%" x="-1.4%" y="-2.6%" filterUnits="objectBoundingBox"><feOffset dy="-1" in="SourceAlpha" result="shadowOffsetInner1"></feOffset><feComposite in="shadowOffsetInner1" in2="SourceAlpha" k2="-1" k3="1" operator="arithmetic" result="shadowInnerInner1"></feComposite><feColorMatrix in="shadowInnerInner1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix></filter></defs><mask id="Vomit-mask1" fill="#fff"><use href="#Vomit-path1" transform="matrix(1 0 0 -1 0 43)"></use></mask><use id="Mouth" fill="#000" href="#Vomit-path1" opacity=".7" transform="matrix(1 0 0 -1 0 43)"></use><rect id="Teeth" width="31" height="16" x="39" y="0" fill="#FFF" mask="url(&#39;#Vomit-mask1&#39;)" rx="5"></rect><g id="Vomit-Stuff"><use fill="#88C553" href="#Vomit-path2"></use><use filter="url(&#39;#filter1&#39;)" href="#Vomit-path2"></use></g></g></g>',1),Hx=[$x];function Rx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Hx])}const zx={render:Rx},Ix={Concerned:Qk,Disbelief:tx,Grimace:ox,ScreamOpen:cx,Smile:fx,Twinkle:yx,Default:wx,Eating:Sx,Sad:Vx,Serious:Tx,Tongue:Lx,Vomit:zx},Gx=(e="#6fb8e0")=>[t.h("g",{id:"Circle","stroke-width":"1","fill-rule":"evenodd",transform:"translate(12.000000, 40.000000)"},[t.h("mask",{id:"mask-1",fill:"white"},[t.h("use",{href:"#path-1"})]),t.h("use",{id:"Circle-Background",fill:"#E6E6E6",href:"#path-1"}),t.h("g",{id:"Color/Palette/Blue-01",mask:"url(#mask-1)",fill:e},[t.h("rect",{id:"Color",x:"0",y:"0",width:"240",height:"240"})])]),t.h("mask",{id:"mask-2",fill:"white"},[t.h("use",{href:"#path-2"})])],jx=e=>{const a={"--avataaar-hair-color":e.hairColor,"--avataaar-facial-hair-color":e.facialHairColor,"--avataaar-top-color":e.topColor,"--avataaar-shirt-color":e.clothesColor};return t.h("svg",{viewBox:"0 0 264 280",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t.h("desc","vue3-avataaars"),t.h("defs",[t.h("circle",{id:"path-1",cx:"120",cy:"120",r:"120"}),t.h("path",{id:"path-2",d:"M12,160 C12,226.27417 65.72583,280 132,280 C198.27417,280 252,226.27417 252,160 L264,160 L264,-1.42108547e-14 L-3.19744231e-14,-1.42108547e-14 L-3.19744231e-14,160 L12,160 Z"}),t.h("path",{id:"path-silhouette",d:"M124,144.610951 L124,163 L128,163 L128,163 C167.764502,163 200,195.235498 200,235 L200,244 L0,244 L0,235 C-4.86974701e-15,195.235498 32.235498,163 72,163 L72,163 L76,163 L76,144.610951 C58.7626345,136.422372 46.3722246,119.687011 44.3051388,99.8812385 C38.4803105,99.0577866 34,94.0521096 34,88 L34,74 C34,68.0540074 38.3245733,63.1180731 44,62.1659169 L44,56 L44,56 C44,25.072054 69.072054,5.68137151e-15 100,0 L100,0 L100,0 C130.927946,-5.68137151e-15 156,25.072054 156,56 L156,62.1659169 C161.675427,63.1180731 166,68.0540074 166,74 L166,88 C166,94.0521096 161.51969,99.0577866 155.694861,99.8812385 C153.627775,119.687011 141.237365,136.422372 124,144.610951 Z"})]),t.h("g",{id:"Avataaar",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t.h("g",{id:"Avataaar/Circle",transform:"translate(-825.000000, -1100.000000)"},[t.h("g",{transform:"translate(825.000000, 1100.000000)"},[e.isCircle?Gx(e.circleColor):null,t.h("g",{id:"Mask"}),t.h("g",{id:"Avataaar","stroke-width":"1","fill-rule":"evenodd",fill:"black",mask:"url(#mask-2)",style:a},[t.h("g",{id:"Body",transform:"translate(32.000000, 36.000000)"},[t.h("mask",{id:"mask-silhouette",fill:"white"},[t.h("use",{href:"#path-silhouette"})]),t.h("use",{fill:e.skinColor,href:"#path-silhouette"}),t.h("path",{id:"Neck-Shadow",d:"M156,79 L156,102 C156,132.927946 130.927946,158 100,158 C69.072054,158 44,132.927946 44,102 L44,79 L44,94 C44,124.927946 69.072054,150 100,150 C130.927946,150 156,124.927946 156,94 L156,79 Z","fill-opacity":"0.100000001",fill:"#000000",mask:"url(#mask-silhouette)"})]),t.h(nf[e.clothes]),e.clothes==="GraphicShirt"?t.h(Jg[e.graphicShirt]):null,t.h(Uy[e.eyes]),t.h(Yk[e.eyebrows]),t.h(Ix[e.mouth]),t.h("svg",[t.h("g",{fill:"black",transform:"translate(76.000000, 82.000000)"},[t.h("g",{id:"Nose/Default",transform:"translate(28.000000, 40.000000)",opacity:"0.16"},[t.h("path",{id:"Nose",d:"M16,8 C16,12.418278 21.372583,16 28,16 L28,16 C34.627417,16 40,12.418278 40,8"})])])]),t.h(Hp[e.top]),t.h(sg[e.facialHair]),t.h(bm[e.accessories])])])])])])};function aa(e){return e[Math.floor(Math.random()*e.length)]}function qx(e){return aa(Object.keys(e))}function Cn(e){return e[qx(e)]}const ms={Black:"#262E33",Blue01:"#65C9FF",Blue02:"#5199E4",Blue03:"#25557C",Gray01:"#E6E6E6",Gray02:"#929598",Heather:"#3C4F5C",PastelBlue:"#B1E2FF",PastelGreen:"#A7FFC4",PastelOrange:"#FFBC69",PastelRed:"#FFAFB9",PastelYellow:"#FFFFB1",Pink:"#FF488E",Red:"#FF5C5C",White:"#FFFFFF"},fs={Auburn:"#A55728",Black:"#2C1B18",Blonde:"#B58143",BlondeGolden:"#D6B370",Brown:"#724133",BrownDark:"#4A312C",PastelPink:"#F59797",Platinum:"#ECDCBF",Red:"#C93305",SilverGray:"#E8E1E1"},Wx={Tanned:"#FD9841",Yellow:"#F8D25C",Pale:"#FFDBB4",Light:"#EDB98A",Brown:"#D08B5B",DarkBrown:"#AE5D29",Black:"#614335"},Yx=["Blank","Prescription01","Round","Wayfarers","Kurt","Prescription02","Sunglasses"],Ux=["Close","Default","EyeRoll","Hearts","Squint","Wink","Cry","Dizzy","Happy","Side","Surprised","WinkWacky"],Xx=["Angry","FlatNatural","SadConcerned","UpDownNatural","AngryNatural","FrownNatural","SadConcernedNatural","Default","RaisedExcited","UnibrowNatural","DefaultNatural","RaisedExcitedNatural","UpDown"],Zx=["BeardMajestic","BeardLight","MoustacheFancy","BeardMedium","Blank","MoustacheMagnum"],Qx=["Concerned","Disbelief","Grimace","ScreamOpen","Smile","Twinkle","Default","Eating","Sad","Serious","Tongue","Vomit"],Kx=["Eyepatch","Hat","Hijab","LongHairBigHair","LongHairBob","LongHairBun","LongHairCurly","LongHairCurvy","LongHairDreads","LongHairFrida","LongHairFro","LongHairFroBand","LongHairMiaWallace","LongHairNotTooLong","LongHairShavedSides","LongHairStraight","LongHairStraight2","LongHairStraightStrand","NoHair","ShortHairDreads01","ShortHairDreads02","ShortHairFrizzle","ShortHairShaggy","ShortHairShaggyMullet","ShortHairShortCurly","ShortHairShortFlat","ShortHairShortRound","ShortHairShortWaved","ShortHairSides","ShortHairTheCaesar","ShortHairTheCaesarSidePart","Turban","WinterHat1","WinterHat2","WinterHat3","WinterHat4"],Jx=["BlazerShirt","CollarSweater","BlazerSweater","Hoodie","GraphicShirt","Overall","ShirtCrewNeck","ShirtVNeck","ShirtScoopNeck"],eb=["Bat","Cumbia","Diamond","Pizza","Selena","SkullOutline","Bear","Deer","Hola","Resist","Skull"],mr=(e={})=>{var a,n,r,o,i,l,s,d,p,u,m,c,f,h;return{isCircle:e.isCircle===void 0?!1:e.isCircle,circleColor:(a=e.circleColor)!=null?a:void 0,skinColor:(n=e.skinColor)!=null?n:Cn(Wx),hairColor:(r=e.hairColor)!=null?r:Cn(fs),topColor:(o=e.topColor)!=null?o:Cn(ms),clothesColor:(i=e.clothesColor)!=null?i:Cn(ms),facialHairColor:(l=e.facialHairColor)!=null?l:Cn(fs),accessories:(s=e.accessories)!=null?s:aa(Yx),eyes:(d=e.eyes)!=null?d:aa(Ux),eyebrows:(p=e.eyebrows)!=null?p:aa(Xx),mouth:(u=e.mouth)!=null?u:aa(Qx),top:(m=e.top)!=null?m:aa(Kx),clothes:(c=e.clothes)!=null?c:aa(Jx),graphicShirt:(f=e.graphicShirt)!=null?f:aa(eb),facialHair:(h=e.facialHair)!=null?h:aa(Zx)}},hs={isCircle:!0,circleColor:"#22c55e",skinColor:"#D08B5B",hairColor:"#E8E1E1",topColor:"#E6E6E6",clothesColor:"blue",facialHairColor:"#E8E1E1",accessories:"Blank",eyes:"Default",eyebrows:"DefaultNatural",mouth:"Default",top:"NoHair",clothes:"GraphicShirt",graphicShirt:"Pizza",facialHair:"Blank"},tb={class:"main-container"},ab=["src"],nb={key:1,class:"avatar-section flex flex-col"},rb={id:"avatar-container",class:"avatar-container"},ob={class:"controls"},ib={class:"checkbox-label checkbox-wrapper-2",for:"avatarLabel"},ps=qe({__name:"randomAvatar",props:{content:{type:String,default:null}},emits:["base64","random"],setup(e,{emit:a}){const n=t.ref(hs),r=t.ref(hs),o=t.ref(!1);t.onMounted(async()=>{n.value=mr(n.value),await t.nextTick(),p()});const i=a,l=e,s=async()=>{if(o.value)n.value=mr(r.value);else{const u={...r.value,facialHair:"Blank"};n.value=mr(u)}await t.nextTick(),p()},d=async()=>{n.value=mr({isCircle:!0,circleColor:"#22c55e",facialHair:o.value?"Blank":null});const u=n.value;r.value=u,await t.nextTick(),p()},p=()=>{const u=document.querySelector("#avatar-container svg");if(!u){console.error("Avatar não encontrado!");return}let c=new XMLSerializer().serializeToString(u);const h=`data:image/svg+xml;base64,${window.btoa(unescape(encodeURIComponent(c)))}`;i("base64",h)};return(u,m)=>(t.openBlock(),t.createElementBlock("main",tb,[l.content?(t.openBlock(),t.createElementBlock("img",{key:0,class:"max-w-[45%] max-h-[45%] flex items-center justify-center mx-auto",src:l.content},null,8,ab)):(t.openBlock(),t.createElementBlock("section",nb,[t.createElementVNode("div",rb,[t.createVNode(t.unref(jx),t.normalizeProps(t.guardReactiveProps(n.value)),null,16)]),t.createElementVNode("div",ob,[t.createElementVNode("label",ib,[t.withDirectives(t.createElementVNode("input",{id:"avatarLabel","onUpdate:modelValue":m[0]||(m[0]=c=>o.value=c),type:"checkbox",onInput:s,class:"sc-gJwTLC ikxBAC"},null,544),[[t.vModelCheckbox,o.value]]),m[1]||(m[1]=t.createTextVNode(" Remover barba "))]),t.createElementVNode("button",{onClick:d,class:"generate-button"}," Gerar Avatar ")])]))]))}},[["__scopeId","data-v-a1b7ef69"]]),lb={class:"modal_container"},sb={class:"modal_box"},cb={class:"modal_header"},gs=qe({__name:"min_modal",props:{defineWidth:{type:String,default:"max-width-md"}},emits:["close"],setup(e,{emit:a}){const n=a,r=()=>{n("close")};return(o,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{class:"min_modal"},[t.createElementVNode("div",{class:"modal_overlay",onClick:r})]),t.createElementVNode("div",lb,[t.createElementVNode("div",{class:t.normalizeClass(["modal_content ",e.defineWidth])},[t.createElementVNode("div",sb,[t.createElementVNode("div",cb,[t.renderSlot(o.$slots,"header",{},void 0,!0),t.createElementVNode("button",{class:"modal_close",onClick:i[0]||(i[0]=l=>r())},i[1]||(i[1]=[t.createElementVNode("svg",{class:"modal_close_icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]))]),t.createElementVNode("div",null,[t.renderSlot(o.$slots,"body",{},void 0,!0)])])],2)])],64))}},[["__scopeId","data-v-172c0a39"]]),db={v:"5.4.4",fr:30,ip:0,op:110,w:800,h:600,nm:"Comp 1",ddd:0,assets:[{id:"comp_0",layers:[{ddd:0,ind:1,ty:4,nm:"Sub Rocket 01",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[219.02,362.805,0],e:[358.52,362.805,0],to:[23.25,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[358.52,362.805,0],e:[219.02,362.805,0],to:[0,0,0],ti:[23.25,0,0]},{t:30}],ix:2,x:`var $bm_rt;
96
+ */const X1=["viewport","carousel"],cr={"bottom-to-top":"btt","left-to-right":"ltr","right-to-left":"rtl","top-to-bottom":"ttb"},Z1=["ltr","left-to-right","rtl","right-to-left","ttb","top-to-bottom","btt","bottom-to-top"],R8={ariaGallery:"Gallery",ariaNavigateToPage:"Navigate to page {slideNumber}",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",iconArrowDown:"Arrow pointing downwards",iconArrowLeft:"Arrow pointing to the left",iconArrowRight:"Arrow pointing to the right",iconArrowUp:"Arrow pointing upwards",itemXofY:"Item {currentSlide} of {slidesCount}"},Q1=["slide","fade"],K1=["center","start","end","center-even","center-odd"],J1=10,dr=.08,at={autoplay:0,breakpointMode:X1[0],breakpoints:void 0,dir:Z1[0],enabled:!0,gap:0,height:"auto",i18n:R8,ignoreAnimations:!1,itemsToScroll:1,itemsToShow:1,modelValue:0,mouseDrag:!0,mouseWheel:!1,pauseAutoplayOnHover:!1,preventExcessiveDragging:!1,slideEffect:Q1[0],snapAlign:K1[0],touchDrag:!0,transition:300,wrapAround:!1},_a=Symbol("carousel"),z8=e=>{const a=t.shallowReactive([]),n=r=>{r!==void 0?a.slice(r).forEach((o,i)=>{var l;(l=o.exposed)===null||l===void 0||l.setIndex(r+i)}):a.forEach((o,i)=>{var l;(l=o.exposed)===null||l===void 0||l.setIndex(i)})};return{cleanup:()=>{a.splice(0,a.length)},getSlides:()=>a,registerSlide:(r,o)=>{if(!r||r.props.isClone)return;const i=o??a.length;a.splice(i,0,r),n(i),e("slide-registered",{slide:r,index:i})},unregisterSlide:r=>{const o=a.indexOf(r);o!==-1&&(e("slide-unregistered",{slide:r,index:o}),a.splice(o,1),n(o))}}};function I8(e){return e.length===0?0:e.reduce((n,r)=>n+r,0)/e.length}function es({slides:e,position:a,toShow:n}){const r=[],o=a==="before",i=o?-n:0,l=o?0:n;if(e.length<=0)return r;for(let s=i;s<l;s++){const p={index:o?s:s+e.length,isClone:!0,id:void 0,key:`clone-${a}-${s}`},u=e[(s%e.length+e.length)%e.length].vnode,m=t.cloneVNode(u,p);m.el=null,r.push(m)}return r}const G8='a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])';function ts(e){if(!e.el||!(e.el instanceof Element))return;const a=e.el.querySelectorAll(G8);for(const n of a)n instanceof HTMLElement&&!n.hasAttribute("disabled")&&n.getAttribute("aria-hidden")!=="true"&&n.setAttribute("tabindex","-1")}function j8(e,a){return Object.keys(e).filter(n=>!a.includes(n)).reduce((n,r)=>(n[r]=e[r],n),{})}function q8(e){const{isVertical:a,isReversed:n,dragged:r,effectiveSlideSize:o,threshold:i}=e,l=a?r.y:r.x;if(l===0)return 0;const s=l/o,d=Math.abs(s);if(d<i)return 0;const p=d<1?Math.sign(s):Math.round(s);return n?p:-p}function ta({val:e,max:a,min:n}){return a<n?e:Math.min(Math.max(e,isNaN(n)?e:n),isNaN(a)?e:a)}function W8(e){const{transform:a}=window.getComputedStyle(e);return a.split(/[(,)]/).slice(1,-1).map(n=>parseFloat(n))}function Y8(e){let a=1,n=1;return e.forEach(r=>{const o=W8(r);o.length===6&&(a/=o[0],n/=o[3])}),{widthMultiplier:a,heightMultiplier:n}}function U8(e,a){switch(e){case"start":return 0;case"center":case"center-odd":return(a-1)/2;case"center-even":return(a-2)/2;case"end":return a-1;default:return 0}}function X8(e,a,n){switch(e){case"start":return 0;case"center":case"center-odd":return(n-a)/2;case"center-even":return n/2-a;case"end":return n-a;default:return 0}}function Po({slideSize:e,viewportSize:a,align:n,itemsToShow:r}){return r!==void 0?U8(n,r):e!==void 0&&a!==void 0?X8(n,e,a):0}function as(e="",a={}){return Object.entries(a).reduce((n,[r,o])=>n.replace(`{${r}}`,String(o)),e)}function ns({val:e,max:a,min:n=0}){const r=a-n+1;return((e-n)%r+r)%r+n}function Oo(e,a=0){let n=!1,r=0,o=null;function i(...l){if(n)return;n=!0;const s=()=>{o=requestAnimationFrame(d=>{d-r>a?(r=d,e(...l),n=!1):s()})};s()}return i.cancel=()=>{o&&(cancelAnimationFrame(o),o=null,n=!1)},i}function ur(e,a="px"){if(!(e==null||e===""))return typeof e=="number"||parseFloat(e).toString()===e?`${e}${a}`:e}const Z8=t.defineComponent({name:"CarouselAria",setup(){const e=t.inject(_a);return e?()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},as(e.config.i18n.itemXofY,{currentSlide:e.currentSlide+1,slidesCount:e.slidesCount})):()=>""}});function Q8(e){let a=!1;const n={x:0,y:0},r=t.reactive({x:0,y:0}),o=t.ref(!1),{isSliding:i}=e,l=t.computed(()=>typeof i=="boolean"?i:i.value),s=u=>{var m;const c=u.target.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(c)||l.value||(a=u.type==="touchstart",a&&u.touches.length>1))return;if(!a&&(u.preventDefault(),u.button!==0))return;n.x=a?u.touches[0].clientX:u.clientX,n.y=a?u.touches[0].clientY:u.clientY;const f=a?"touchmove":"mousemove",h=a?"touchend":"mouseup";document.addEventListener(f,d,{passive:!1}),document.addEventListener(h,p,{passive:!0}),(m=e.onDragStart)===null||m===void 0||m.call(e)},d=Oo(u=>{var m;if(a&&u.touches.length>1)return;o.value=!0;const c=a?u.touches[0].clientX:u.clientX,f=a?u.touches[0].clientY:u.clientY;r.x=c-n.x,r.y=f-n.y,(m=e.onDrag)===null||m===void 0||m.call(e,{deltaX:r.x,deltaY:r.y,isTouch:a})}),p=()=>{var u;d.cancel();const m=Math.abs(r.x)+Math.abs(r.y);!a&&m>10&&window.addEventListener("click",h=>{h.preventDefault(),h.stopPropagation()},{once:!0,capture:!0}),(u=e.onDragEnd)===null||u===void 0||u.call(e),r.x=0,r.y=0,o.value=!1;const c=a?"touchmove":"mousemove",f=a?"touchend":"mouseup";document.removeEventListener(c,d),document.removeEventListener(f,p)};return{dragged:r,isDragging:o,handleDragStart:s}}function K8(){const e=t.ref(!1);return{isHover:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function J8(e){const{isVertical:a,isSliding:n,config:r}=e,o=t.computed(()=>typeof a=="boolean"?a:a.value),i=t.computed(()=>typeof n=="boolean"?n:n.value);return{handleScroll:s=>{var d,p;if(s.preventDefault(),!r.mouseWheel||i.value)return;const u=typeof r.mouseWheel=="object"&&(d=r.mouseWheel.threshold)!==null&&d!==void 0?d:J1,m=Math.abs(s.deltaY)>u?s.deltaY:0,c=Math.abs(s.deltaX)>u?s.deltaX:0;if(m===0&&c===0)return;const f=o.value?m:c,y=(f!==0?f:o.value?c:m)>0;(p=e.onWheel)===null||p===void 0||p.call(e,{deltaX:c,deltaY:m,isScrollingForward:y})}}}const e9={autoplay:{default:at.autoplay,type:Number},breakpoints:{default:at.breakpoints,type:Object},breakpointMode:{default:at.breakpointMode,validator(e){return X1.includes(e)}},clamp:{type:Boolean},dir:{type:String,default:at.dir,validator(e,a){if(!Z1.includes(e))return!1;const n=e in cr?cr[e]:e;return["ttb","btt"].includes(n)&&(!a.height||a.height==="auto")&&console.warn(`[vue3-carousel]: The dir "${e}" is not supported with height "auto".`),!0}},enabled:{default:at.enabled,type:Boolean},gap:{default:at.gap,type:Number},height:{default:at.height,type:[Number,String]},i18n:{default:at.i18n,type:Object},ignoreAnimations:{default:!1,type:[Array,Boolean,String]},itemsToScroll:{default:at.itemsToScroll,type:Number},itemsToShow:{default:at.itemsToShow,type:[Number,String]},modelValue:{default:void 0,type:Number},mouseDrag:{default:at.mouseDrag,type:[Boolean,Object]},mouseWheel:{default:at.mouseWheel,type:[Boolean,Object]},mouseScrollThreshold:{default:at.mouseScrollThreshold,type:Number},pauseAutoplayOnHover:{default:at.pauseAutoplayOnHover,type:Boolean},preventExcessiveDragging:{default:!1,type:Boolean,validator(e,a){return e&&a.wrapAround&&console.warn('[vue3-carousel]: "preventExcessiveDragging" cannot be used with wrapAround. The setting will be ignored.'),!0}},slideEffect:{type:String,default:at.slideEffect,validator(e){return Q1.includes(e)}},snapAlign:{default:at.snapAlign,validator(e){return K1.includes(e)}},touchDrag:{default:at.touchDrag,type:[Boolean,Object]},transition:{default:at.transition,type:Number},wrapAround:{default:at.wrapAround,type:Boolean}},t9=t.defineComponent({name:"VueCarousel",props:e9,emits:["before-init","drag","init","loop","slide-end","slide-registered","slide-start","slide-unregistered","update:modelValue","wheel"],setup(e,{slots:a,emit:n,expose:r}){var o;const i=z8(n),l=i.getSlides(),s=t.computed(()=>l.length),d=t.ref(null),p=t.ref(null),u=t.ref(0),m=t.computed(()=>Object.assign(Object.assign(Object.assign({},at),j8(e,["breakpoints","modelValue"])),{i18n:Object.assign(Object.assign({},at.i18n),e.i18n)})),c=t.shallowReactive(Object.assign({},m.value)),f=t.ref((o=e.modelValue)!==null&&o!==void 0?o:0),h=t.ref(f.value);t.watch(f,P=>h.value=P);const y=t.ref(0),b=t.computed(()=>Math.ceil((s.value-1)/2)),x=t.computed(()=>s.value-1),w=t.computed(()=>0);let k=null,B=null,V=null;const M=t.computed(()=>u.value+c.gap),E=t.computed(()=>{const P=c.dir||"ltr";return P in cr?cr[P]:P}),N=t.computed(()=>["rtl","btt"].includes(E.value)),A=t.computed(()=>["ttb","btt"].includes(E.value)),q=t.computed(()=>c.itemsToShow==="auto"),U=t.computed(()=>A.value?"height":"width");function X(){var P;if(!Q.value)return;const T=(m.value.breakpointMode==="carousel"?(P=d.value)===null||P===void 0?void 0:P.getBoundingClientRect().width:typeof window<"u"?window.innerWidth:0)||0,ee=Object.keys(e.breakpoints||{}).map(be=>Number(be)).sort((be,Ae)=>+Ae-+be),le={};ee.some(be=>T>=be?(Object.assign(le,e.breakpoints[be]),le.i18n&&Object.assign(le.i18n,m.value.i18n,e.breakpoints[be].i18n),!0):!1),Object.assign(c,m.value,le),q.value||(c.itemsToShow=ta({val:Number(c.itemsToShow),max:e.clamp?s.value:1/0,min:1}))}const Y=Oo(()=>{X(),D(),j()}),C=t.shallowReactive(new Set),I=t.ref([]);function z({widthMultiplier:P,heightMultiplier:T}){I.value=l.map(ee=>{var le;const be=(le=ee.exposed)===null||le===void 0?void 0:le.getBoundingRect();return{width:be.width*P,height:be.height*T}})}const W=t.ref({width:0,height:0});function de({widthMultiplier:P,heightMultiplier:T}){var ee;const le=((ee=p.value)===null||ee===void 0?void 0:ee.getBoundingClientRect())||{width:0,height:0};W.value={width:le.width*P,height:le.height*T}}function j(){if(!p.value)return;const P=Y8(C);if(de(P),z(P),q.value)u.value=I8(I.value.map(T=>T[U.value]));else{const T=Number(c.itemsToShow),ee=(T-1)*c.gap;u.value=(W.value[U.value]-ee)/T}}function D(){!c.wrapAround&&s.value>0&&(f.value=ta({val:f.value,max:x.value,min:w.value}))}const ie=t.computed(()=>typeof e.ignoreAnimations=="string"?e.ignoreAnimations.split(","):Array.isArray(e.ignoreAnimations)?e.ignoreAnimations:e.ignoreAnimations?!1:[]);t.watchEffect(()=>D()),t.watchEffect(()=>{j()});let ne;const K=P=>{const T=P.target;if(!(!(T!=null&&T.contains(d.value))||Array.isArray(ie.value)&&ie.value.includes(P.animationName))&&(C.add(T),!ne)){const ee=()=>{ne=requestAnimationFrame(()=>{j(),ee()})};ee()}},S=P=>{const T=P.target;T&&C.delete(T),ne&&C.size===0&&(cancelAnimationFrame(ne),j())},Q=t.ref(!1);typeof document<"u"&&t.watchEffect(()=>{Q.value&&ie.value!==!1?(document.addEventListener("animationstart",K),document.addEventListener("animationend",S)):(document.removeEventListener("animationstart",K),document.removeEventListener("animationend",S))}),t.onMounted(()=>{Q.value=!0,X(),v(),d.value&&(V=new ResizeObserver(Y),V.observe(d.value)),n("init")}),t.onBeforeUnmount(()=>{Q.value=!1,i.cleanup(),B&&clearTimeout(B),ne&&cancelAnimationFrame(ne),k&&clearInterval(k),V&&(V.disconnect(),V=null),typeof document<"u"&&me(),d.value&&(d.value.removeEventListener("transitionend",j),d.value.removeEventListener("animationiteration",j))});const{isHover:fe,handleMouseEnter:H,handleMouseLeave:ye}=K8(),Z=Oo(P=>{if(!P.ctrlKey)switch(P.key){case"ArrowLeft":case"ArrowUp":A.value===P.key.endsWith("Up")&&(N.value?ue(!0):Me(!0));break;case"ArrowRight":case"ArrowDown":A.value===P.key.endsWith("Down")&&(N.value?Me(!0):ue(!0));break}},200),me=()=>{document.removeEventListener("keydown",Z)},L=()=>{document.addEventListener("keydown",Z)};function v(){!c.autoplay||c.autoplay<=0||(k=setInterval(()=>{c.pauseAutoplayOnHover&&fe.value||ue()},c.autoplay))}function g(){_(),v()}function _(){k&&(clearInterval(k),k=null)}const F=t.ref(!1),O=({deltaX:P,deltaY:T,isTouch:ee})=>{var le,be,Ae,_e;n("drag",{deltaX:P,deltaY:T});const Pe=ee?typeof c.touchDrag=="object"&&(be=(le=c.touchDrag)===null||le===void 0?void 0:le.threshold)!==null&&be!==void 0?be:dr:typeof c.mouseDrag=="object"&&(_e=(Ae=c.mouseDrag)===null||Ae===void 0?void 0:Ae.threshold)!==null&&_e!==void 0?_e:dr,je=q8({isVertical:A.value,isReversed:N.value,dragged:{x:P,y:T},effectiveSlideSize:M.value,threshold:Pe});je!==0&&(h.value=c.wrapAround?f.value+je:ta({val:f.value+je,max:x.value,min:w.value}))},J=()=>Ne(h.value),{dragged:$,isDragging:te,handleDragStart:ce}=Q8({isSliding:F,onDrag:O,onDragEnd:J}),ge=({deltaX:P,deltaY:T,isScrollingForward:ee})=>{n("wheel",{deltaX:P,deltaY:T}),ee?N.value?Me():ue():N.value?ue():Me()},{handleScroll:xe}=J8({isVertical:A,isSliding:F,config:c,onWheel:ge});function ue(P=!1){Ne(f.value+c.itemsToScroll,P)}function Me(P=!1){Ne(f.value-c.itemsToScroll,P)}function Ne(P,T=!1){if(!T&&F.value)return;const ee=(c.wrapAround?ns:ta)({val:P,max:x.value,min:w.value});if(f.value===ee)return;y.value=f.value,n("slide-start",{slidingToIndex:P,currentSlideIndex:f.value,prevSlideIndex:y.value,slidesCount:s.value}),_(),F.value=!0,f.value=P,ee!==P&&Se.pause(),n("update:modelValue",ee),B=setTimeout(()=>{c.wrapAround&&ee!==P&&(Se.resume(),f.value=ee,n("loop",{currentSlideIndex:f.value,slidingToIndex:P})),n("slide-end",{currentSlideIndex:f.value,prevSlideIndex:y.value,slidesCount:s.value}),F.value=!1,g()},c.transition)}function De(){X(),D(),j(),g()}t.watch(()=>[m.value,e.breakpoints],()=>X(),{deep:!0}),t.watch(()=>e.autoplay,()=>g());const Se=t.watch(()=>e.modelValue,P=>{P!==f.value&&Ne(Number(P),!0)});n("before-init");const Le=t.computed(()=>{if(!c.wrapAround)return{before:0,after:0};if(q.value)return{before:l.length,after:l.length};const P=Number(c.itemsToShow),T=Math.ceil(P+(c.itemsToScroll-1)),ee=T-h.value,le=T-(s.value-(h.value+1));return{before:Math.max(0,ee),after:Math.max(0,le)}}),Be=t.computed(()=>Le.value.before?q.value?I.value.slice(-1*Le.value.before).reduce((P,T)=>P+T[U.value]+c.gap,0)*-1:Le.value.before*M.value*-1:0),G=t.computed(()=>{var P;if(q.value){const T=(f.value%l.length+l.length)%l.length;return Po({slideSize:(P=I.value[T])===null||P===void 0?void 0:P[U.value],viewportSize:W.value[U.value],align:c.snapAlign})}return Po({align:c.snapAlign,itemsToShow:+c.itemsToShow})}),ae=t.computed(()=>{let P=0;if(q.value){if(f.value<0?P=I.value.slice(f.value).reduce((T,ee)=>T+ee[U.value]+c.gap,0)*-1:P=I.value.slice(0,f.value).reduce((T,ee)=>T+ee[U.value]+c.gap,0),P-=G.value,!c.wrapAround){const T=I.value.reduce((ee,le)=>ee+le[U.value]+c.gap,0)-W.value[U.value]-c.gap;P=ta({val:P,max:T,min:0})}}else{let T=f.value-G.value;c.wrapAround||(T=ta({val:T,max:s.value-+c.itemsToShow,min:0})),P=T*M.value}return P*(N.value?1:-1)}),re=t.computed(()=>{var P,T;if(!q.value){const be=f.value-G.value;return c.wrapAround?{min:Math.floor(be),max:Math.ceil(be+Number(c.itemsToShow)-1)}:{min:Math.floor(ta({val:be,max:s.value-Number(c.itemsToShow),min:0})),max:Math.ceil(ta({val:be+Number(c.itemsToShow)-1,max:s.value-1,min:0}))}}let ee=0;{let be=0,Ae=0-Le.value.before;const _e=Math.abs(ae.value+Be.value);for(;be<=_e;){const Pe=(Ae%l.length+l.length)%l.length;be+=((P=I.value[Pe])===null||P===void 0?void 0:P[U.value])+c.gap,Ae++}ee=Ae-1}let le=0;{let be=ee,Ae=0;for(be<0?Ae=I.value.slice(0,be).reduce((_e,Pe)=>_e+Pe[U.value]+c.gap,0)-Math.abs(ae.value+Be.value):Ae=I.value.slice(0,be).reduce((_e,Pe)=>_e+Pe[U.value]+c.gap,0)-Math.abs(ae.value);Ae<W.value[U.value];){const _e=(be%l.length+l.length)%l.length;Ae+=((T=I.value[_e])===null||T===void 0?void 0:T[U.value])+c.gap,be++}le=be-1}return{min:Math.floor(ee),max:Math.ceil(le)}}),se=t.computed(()=>{if(c.slideEffect==="fade")return;const P=A.value?"Y":"X",T=A.value?$.y:$.x;let ee=ae.value+T;if(!c.wrapAround&&c.preventExcessiveDragging){let le=0;q.value?le=I.value.reduce((_e,Pe)=>_e+Pe[U.value],0):le=(s.value-Number(c.itemsToShow))*M.value;const be=N.value?0:-1*le,Ae=N.value?le:0;ee=ta({val:ee,min:be,max:Ae})}return`translate${P}(${ee}px)`}),Ee=t.computed(()=>({"--vc-carousel-height":ur(c.height),"--vc-cloned-offset":ur(Be.value),"--vc-slide-gap":ur(c.gap),"--vc-transition-duration":F.value?ur(c.transition,"ms"):void 0})),he={slideTo:Ne,next:ue,prev:Me},ke=t.reactive({activeSlide:h,config:c,currentSlide:f,isSliding:F,isVertical:A,maxSlide:x,minSlide:w,nav:he,normalizedDir:E,slideRegistry:i,slideSize:u,slides:l,slidesCount:s,viewport:p,visibleRange:re});t.provide(_a,ke);const R=t.reactive({config:c,currentSlide:f,maxSlide:x,middleSlide:b,minSlide:w,slideSize:u,slidesCount:s});return r(t.reactive(Object.assign({data:R,next:ue,prev:Me,restartCarousel:De,slideTo:Ne,updateBreakpointsConfig:X,updateSlideSize:j,updateSlidesData:D},t.toRefs(ke)))),()=>{var P;const T=a.default||a.slides,ee=(T==null?void 0:T(R))||[],{before:le,after:be}=Le.value,Ae=es({slides:l,position:"before",toShow:le}),_e=es({slides:l,position:"after",toShow:be}),Pe=[...Ae,...ee,..._e];if(!c.enabled||!Pe.length)return t.h("section",{ref:d,class:["carousel","is-disabled"]},Pe);const je=((P=a.addons)===null||P===void 0?void 0:P.call(a,R))||[],nt=t.h("ol",{class:"carousel__track",onMousedownCapture:c.mouseDrag?ce:null,onTouchstartPassiveCapture:c.touchDrag?ce:null,onWheel:c.mouseWheel?xe:null,style:{transform:se.value}},Pe),xt=t.h("div",{class:"carousel__viewport",ref:p},nt);return t.h("section",{ref:d,class:["carousel",`is-${E.value}`,`is-effect-${c.slideEffect}`,{"is-dragging":te.value,"is-hover":fe.value,"is-sliding":F.value,"is-vertical":A.value}],dir:E.value,style:Ee.value,"aria-label":c.i18n.ariaGallery,tabindex:"0",onBlur:me,onFocus:L,onMouseenter:H,onMouseleave:ye},[xt,je,t.h(Z8)])}}});var Fo;(function(e){e.arrowDown="arrowDown",e.arrowLeft="arrowLeft",e.arrowRight="arrowRight",e.arrowUp="arrowUp"})(Fo||(Fo={}));const rs=e=>`icon${e.charAt(0).toUpperCase()+e.slice(1)}`,a9={arrowDown:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",arrowLeft:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",arrowRight:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",arrowUp:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"};function n9(e){return e in Fo}const os=e=>e&&n9(e),is=t.defineComponent({props:{name:{type:String,required:!0,validator:os},title:{type:String,default:e=>e.name?at.i18n[rs(e.name)]:""}},setup(e){const a=t.inject(_a,null);return()=>{const n=e.name;if(!n||!os(n))return;const r=a9[n],o=t.h("path",{d:r}),i=(a==null?void 0:a.config.i18n[rs(n)])||e.title,l=t.h("title",i);return t.h("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img","aria-label":i},[l,o])}}});t.defineComponent({name:"CarouselNavigation",inheritAttrs:!1,props:{carousel:{type:Object}},setup(e,{slots:a,attrs:n}){let r=t.inject(_a,null);const{next:o,prev:i}=a,l=()=>({btt:"arrowDown",ltr:"arrowLeft",rtl:"arrowRight",ttb:"arrowUp"})[r.normalizedDir],s=()=>({btt:"arrowUp",ltr:"arrowRight",rtl:"arrowLeft",ttb:"arrowDown"})[r.normalizedDir],d=t.computed(()=>!r.config.wrapAround&&r.currentSlide<=r.minSlide),p=t.computed(()=>!r.config.wrapAround&&r.currentSlide>=r.maxSlide);return()=>{if(e.carousel&&(r=e.carousel),!r)return console.warn("[vue3-carousel]: A carousel component must be provided for the navigation component to display"),"";const{i18n:u}=r.config,m=t.h("button",Object.assign(Object.assign({type:"button",disabled:d.value,"aria-label":u.ariaPreviousSlide,title:u.ariaPreviousSlide,onClick:r.nav.prev},n),{class:["carousel__prev",{"carousel__prev--disabled":d.value},n.class]}),(i==null?void 0:i())||t.h(is,{name:l()})),c=t.h("button",Object.assign(Object.assign({type:"button",disabled:p.value,"aria-label":u.ariaNextSlide,title:u.ariaNextSlide,onClick:r.nav.next},n),{class:["carousel__next",{"carousel__next--disabled":p.value},n.class]}),(o==null?void 0:o())||t.h(is,{name:s()}));return[m,c]}}}),t.defineComponent({name:"CarouselPagination",props:{disableOnClick:{type:Boolean},paginateByItemsToShow:{type:Boolean},carousel:{type:Object}},setup(e){let a=t.inject(_a,null);const n=t.computed(()=>a.config.itemsToShow),r=t.computed(()=>Po({align:a.config.snapAlign,itemsToShow:n.value})),o=t.computed(()=>e.paginateByItemsToShow&&n.value>1),i=t.computed(()=>Math.ceil((a.activeSlide-r.value)/n.value)),l=t.computed(()=>Math.ceil(a.slidesCount/n.value)),s=d=>ns(o.value?{val:i.value,max:l.value-1,min:0}:{val:a.activeSlide,max:a.maxSlide,min:a.minSlide})===d;return()=>{var d,p;if(e.carousel&&(a=e.carousel),!a)return console.warn("[vue3-carousel]: A carousel component must be provided for the pagination component to display"),"";const u=[];for(let m=o.value?0:a.minSlide;m<=(o.value?l.value-1:a.maxSlide);m++){const c=as(a.config.i18n[o.value?"ariaNavigateToPage":"ariaNavigateToSlide"],{slideNumber:m+1}),f=s(m),h=t.h("button",{type:"button",class:{"carousel__pagination-button":!0,"carousel__pagination-button--active":f},"aria-label":c,"aria-pressed":f,"aria-controls":(p=(d=a.slides[m])===null||d===void 0?void 0:d.exposed)===null||p===void 0?void 0:p.id,title:c,disabled:e.disableOnClick,onClick:()=>a.nav.slideTo(o.value?Math.floor(m*+a.config.itemsToShow+r.value):m)}),y=t.h("li",{class:"carousel__pagination-item",key:m},h);u.push(y)}return t.h("ol",{class:"carousel__pagination"},u)}}});const r9=t.defineComponent({name:"CarouselSlide",props:{id:{type:String,default:e=>e.isClone?void 0:t.useId()},index:{type:Number,default:void 0},isClone:{type:Boolean,default:!1}},setup(e,{attrs:a,slots:n,expose:r}){const o=t.inject(_a);if(t.provide(_a,void 0),!o)return()=>"";const i=t.ref(e.index),l=h=>{i.value=h},s=t.getCurrentInstance(),d=()=>{const h=s.vnode.el;return h?h.getBoundingClientRect():{width:0,height:0}};r({id:e.id,setIndex:l,getBoundingRect:d});const p=t.computed(()=>i.value===o.activeSlide),u=t.computed(()=>i.value===o.activeSlide-1),m=t.computed(()=>i.value===o.activeSlide+1),c=t.computed(()=>i.value>=o.visibleRange.min&&i.value<=o.visibleRange.max),f=t.computed(()=>{if(o.config.itemsToShow==="auto")return;const h=o.config.itemsToShow,y=o.config.gap>0&&h>1?`calc(${100/h}% - ${o.config.gap*(h-1)/h}px)`:`${100/h}%`;return o.isVertical?{height:y}:{width:y}});return o.slideRegistry.registerSlide(s,e.index),t.onUnmounted(()=>{o.slideRegistry.unregisterSlide(s)}),e.isClone&&(t.onMounted(()=>{ts(s.vnode)}),t.onUpdated(()=>{ts(s.vnode)})),()=>{var h,y;return o.config.enabled?t.h("li",{style:[a.style,Object.assign({},f.value)],class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":c.value,"carousel__slide--active":p.value,"carousel__slide--prev":u.value,"carousel__slide--next":m.value,"carousel__slide--sliding":o.isSliding},onFocusin:()=>{o.viewport&&(o.viewport.scrollLeft=0),o.nav.slideTo(i.value)},id:e.isClone?void 0:e.id,"aria-hidden":e.isClone||void 0},(y=n.default)===null||y===void 0?void 0:y.call(n,{currentIndex:i.value,isActive:p.value,isClone:e.isClone,isPrev:u.value,isNext:m.value,isSliding:o.isSliding,isVisible:c.value})):(h=n.default)===null||h===void 0?void 0:h.call(n)}}}),o9={key:0,class:"preview-overlay bg-base-300"},i9={class:"preview-info"},l9={class:"queue-info"},s9={class:"carousel-container bg-base-200"},c9={class:"carousel-item"},d9=["onClick"],u9=["onClick"],m9={class:"send-footer"},f9={key:1,class:"toast-loader-files"},h9=qe({__name:"dropFilesArea",props:{sendFilesToAttendant:{type:Function,required:!0},selectedAttendant:{type:Object,required:!0},attendant:{required:!0}},setup(e,{expose:a}){const n=e,r={itemsToShow:6,wrapAround:!1,gap:8,mouseDrag:!0,touchDrag:!0,mouseWheel:!0,snapAlign:"start",breakpoints:{1024:{itemsToShow:4},768:{itemsToShow:4},480:{itemsToShow:4}}},o=t.ref(!1),i=t.ref(""),l=t.ref(null),s=t.ref([]),d=t.ref([]),p=t.ref(null),u=t.ref(0),m=t.ref(!1),c=t.ref(0),f=t.ref(0),h=X=>new Promise((Y,C)=>{const I=new FileReader;I.readAsDataURL(X),I.onload=()=>{Y(I.result)},I.onerror=z=>{C(z)}}),y=()=>{o.value=!0},b=()=>{o.value=!1},x=()=>{d.value=[],s.value=[],i.value="",p.value=null,u.value=0},w=X=>{if(!(X<0||X>=d.value.length)){if(d.value.splice(X,1),s.value.splice(X,1),d.value.length===0){p.value=null,u.value=0;return}if(X===u.value){const Y=X>0?X-1:0;p.value=d.value[Y],u.value=Y}else X<u.value&&(u.value-=1)}},k=()=>{l.value.click()},B=async X=>{const Y=Array.from(X.target.files);s.value=Y,d.value=await Promise.all(Y.map(async C=>({name:C.name,base64:await h(C)}))),p.value=d.value[0],t.nextTick(()=>{A()})},V=async X=>{o.value=!1;const Y=Array.from(X.dataTransfer.files);s.value.push(...Y);const C=await Promise.all(Y.map(async I=>({name:I.name,base64:await h(I)})));d.value.push(...C),p.value||(p.value=d.value[0],u.value=0),t.nextTick(()=>{A()})},M=X=>X?X.split(";")[0].split(":")[1]:null,E=async()=>{try{m.value=!0,c.value=s.value.length,f.value=0;for(let X=0;X<s.value.length;X++){const Y=X===s.value.length-1,C={type:"file",media:{name:d.value[X].name,mimetype:M(d.value[X].base64),data:d.value[X].base64}};Y&&(C.content=i.value),await n.sendFilesToAttendant(n.selectedAttendant.id,C,n.attendant,!0),f.value++}await t.nextTick()}catch(X){console.error(X)}finally{m.value=!1,x(),b()}},N=t.ref(null),A=()=>{N.value&&N.value.focus()},q=(X,Y)=>{p.value=X,u.value=Y},U=async X=>{var I;const Y=(I=X.clipboardData)==null?void 0:I.items;if(!Y)return;const C=[];for(const z of Y)if(z.kind==="file"){const W=z.getAsFile();W&&C.push(W)}if(C.length>0){const z=new Set(s.value.map(j=>j.name));if(C.filter(j=>!z.has(j.name)).length===0)return;s.value.push(...C);const de=await Promise.all(C.map(async j=>({name:j.name,base64:await h(j)})));d.value.push(...de),p.value||(p.value=de[0],u.value=0)}t.nextTick(()=>{A()})};return t.watch(u,(X,Y)=>{p.value=d.value[X]}),t.onMounted(()=>{window.addEventListener("paste",U)}),t.onUnmounted(()=>{window.removeEventListener("paste",U)}),a({chooseFiles:k}),(X,Y)=>{var C,I,z;return t.openBlock(),t.createElementBlock("main",{onDragover:t.withModifiers(y,["prevent"]),onDragleave:b,onDrop:t.withModifiers(V,["prevent"])},[t.createElementVNode("section",{class:t.normalizeClass(["dropzone-container ",{"dropzone-active":o.value}])},[!m.value&&d.value.length>0&&!o.value?(t.openBlock(),t.createElementBlock("div",o9,[t.createElementVNode("button",{onClick:Y[0]||(Y[0]=W=>x()),class:"close-button"},Y[6]||(Y[6]=[t.createElementVNode("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)])),t.createElementVNode("section",i9,[t.createElementVNode("p",null,t.toDisplayString((C=p.value)==null?void 0:C.name),1),t.createVNode(To,{mode:"preview",base64:(I=p.value)==null?void 0:I.base64,mimetype:M((z=p.value)==null?void 0:z.base64)},null,8,["base64","mimetype"]),t.withDirectives(t.createElementVNode("input",{ref_key:"textInput",ref:N,onKeydown:Y[1]||(Y[1]=t.withKeys(W=>E(),["enter"])),placeholder:"Digite uma mensagem para acompanhar o arquivo",class:"input-drop-files-area bg-base-200","onUpdate:modelValue":Y[2]||(Y[2]=W=>i.value=W),type:"text"},null,544),[[t.vModelText,i.value]])]),t.createElementVNode("div",l9,[Y[8]||(Y[8]=t.createElementVNode("p",null,"fila de envio",-1)),t.createElementVNode("section",s9,[t.createVNode(t.unref(t9),t.mergeProps({modelValue:u.value,"onUpdate:modelValue":Y[4]||(Y[4]=W=>u.value=W)},r),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.value,(W,de)=>(t.openBlock(),t.createBlock(t.unref(r9),{key:de},{default:t.withCtx(()=>[t.createElementVNode("section",c9,[u.value===de?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:j=>w(de),class:"remove-file-btn"},Y[7]||(Y[7]=[t.createElementVNode("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z","clip-rule":"evenodd"})],-1)]),8,d9)):t.createCommentVNode("",!0),t.createElementVNode("button",{class:t.normalizeClass(["bg-base-100",["carousel-preview",{active:u.value===de}]]),onDragstart:Y[3]||(Y[3]=t.withModifiers(()=>{},["prevent"])),onClick:j=>q(W,de)},[t.createVNode(To,{mode:"miniature",base64:W.base64,mimetype:M(W.base64)},null,8,["base64","mimetype"])],42,u9)])]),_:2},1024))),128))]),_:1},16,["modelValue"])])]),t.createElementVNode("footer",m9,[t.createElementVNode("button",{class:"send-button",onClick:Y[5]||(Y[5]=W=>E())},Y[9]||(Y[9]=[t.createElementVNode("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2a1 1 0 0 1 .932.638l7 18a1 1 0 0 1-1.326 1.281L13 19.517V13a1 1 0 1 0-2 0v6.517l-5.606 2.402a1 1 0 0 1-1.326-1.281l7-18A1 1 0 0 1 12 2Z","clip-rule":"evenodd"})],-1)]))])])):t.createCommentVNode("",!0),m.value?(t.openBlock(),t.createElementBlock("section",f9," Enviando Arquivos... ("+t.toDisplayString(f.value)+" / "+t.toDisplayString(c.value)+") ",1)):t.createCommentVNode("",!0),t.renderSlot(X.$slots,"default",{},void 0,!0)],2),t.createElementVNode("input",{onChange:B,multiple:"",ref_key:"manualFile",ref:l,type:"file",hidden:""},null,544)],32)}}},[["__scopeId","data-v-839bc4f1"]]),p9={key:0,class:"chat-icon"},g9={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},y9={key:0,class:"unread-count"},k9={key:0,class:"chat-content"},x9={key:1,class:"h-full"},ls=qe({__name:"chatWindow",props:{attendant:{default:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"}},socketMessage:{default:{id:"6170e5cd-a06f-4184-83a4-debd4bfaab35",channel_id:"e10b7177-3400-4457-bb43-b6c9d4a6faa1",sender:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"},content:{type:"text",content:"teste sockdet 3"},created_at:"2024-09-17T09:45:19.286087Z"}},countMessages:{type:Number,default:null},mode:{type:String,default:"dark"}},emits:["unreadMessagesEmit"],setup(e,{emit:a}){const n=e,{attendants:r,loadingMessages:o,fetchMessagesForAtendente:i,addMessageToAtendente:l,hasNextPageForAtendente:s,sendMessageToAtendente:d,loadMessagesForAtendente:p,resetUnreadMessages:u,loadingAttendants:m}=ql(),c=t.ref(!1),f=t.ref(!1),h=t.ref(null),y=t.ref(null),b=a,x=t.ref(null),w=()=>{var U;(U=x.value)==null||U.chooseFiles()},k=t.computed(()=>{if(h.value){const U=r.value.find(X=>X.id===h.value.id);return U?U.internal_chat.unread:0}return 0}),B=U=>{var C;const X=(C=y.value)==null?void 0:C.contains(U.target),Y=U.target.closest(".fancybox__container");!X&&!Y&&c.value&&N()};t.onMounted(()=>{document.addEventListener("click",B)}),t.onBeforeUnmount(()=>{document.removeEventListener("click",B)});const V=t.ref(!1),M=t.ref(!1),E=t.computed(()=>M.value?{position:"absolute",width:"42px",height:"42px",transition:"width 0.2s ease-in, height 0.2s ease-out"}:V.value||c.value?{position:"absolute",width:"400px",height:"65vh",transition:"width 0.2s ease-in, height 0.2s ease-out"}:{position:"relative",width:"42px",height:"42px",transition:"none"}),N=()=>{c.value?(M.value=!0,setTimeout(()=>{c.value=!1,M.value=!1},200)):(c.value=!0,V.value=!0,setTimeout(()=>{V.value=!1},200))},A=()=>{c.value||N()},q=async U=>{const X=r.value.find(C=>C.id===U.id),Y=X?X.internal_chat.unread:0;b("unreadMessagesEmit",Y),h.value=U,u(U.id),U.hasNextPage||await i(U.id)};return t.watch(()=>n.socketMessage,(U,X)=>{var Y;U!==X&&l(U,c.value,(Y=h.value)==null?void 0:Y.id)}),t.watch(c,U=>{U&&setTimeout(()=>{f.value=!0},400)}),(U,X)=>(t.openBlock(),t.createElementBlock("div",{class:"chat-container",ref_key:"chatContainer",ref:y},[c.value?(t.openBlock(),t.createElementBlock("div",{key:0,onClick:t.withModifiers(N,["stop"]),style:{width:"42px",height:"42px","border-radius":"50%","background-color":"#02a9db",display:"flex","justify-content":"center"}},X[1]||(X[1]=[t.createElementVNode("span",{style:{"margin-top":"auto","margin-bottom":"auto"},class:"chat-icon my-auto"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},[t.createElementVNode("path",{fill:"currentColor",d:"M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2s0 0 0 0s0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.2-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9c0 0 0 0 0 0s0 0 0 0l-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"})])],-1)]))):t.createCommentVNode("",!0),!c.value&&e.countMessages>0?(t.openBlock(),t.createElementBlock("section",{key:1,style:t.normalizeStyle(e.countMessages>10?"padding: 0.2rem 0.500rem;":"padding: 0.2rem 0.625rem;"),class:"chat-count"},t.toDisplayString(e.countMessages),5)):t.createCommentVNode("",!0),t.createElementVNode("div",{onClick:t.withModifiers(A,["stop"]),class:t.normalizeClass(["group relative",c.value?"chat-box border-base-200 open bg-base-200":"chat-box closed"]),style:t.normalizeStyle(E.value)},[c.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",p9,[(t.openBlock(),t.createElementBlock("svg",g9,[t.createElementVNode("path",{class:t.normalizeClass(e.mode==="dark"?"dark-chat-window-icon":"chat-window-icon"),fill:"currentColor",d:"M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2s0 0 0 0s0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.2-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9c0 0 0 0 0 0s0 0 0 0l-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"},null,2)])),k.value>0?(t.openBlock(),t.createElementBlock("span",y9,t.toDisplayString(k.value),1)):t.createCommentVNode("",!0),X[2]||(X[2]=t.createElementVNode("div",{class:"chat-tooltip"},[t.createElementVNode("div",{class:"text-sm my-auto text-center"},"Chat interno")],-1))])),t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx(()=>[c.value&&!M.value?(t.openBlock(),t.createElementBlock("div",k9,[t.createElementVNode("button",{onClick:t.withModifiers(N,["stop"]),class:"close-button"},X[3]||(X[3]=[t.createElementVNode("svg",{class:"w-5 h-5",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L17.94 6M18 18L6.06 6"})],-1)])),t.unref(o)||t.unref(m)?(t.openBlock(),t.createBlock(U1,{key:0})):h.value&&!t.unref(o)?(t.openBlock(),t.createElementBlock("div",x9,[t.createVNode(h9,{ref_key:"dropFilesRef",ref:x,attendant:e.attendant,selectedAttendant:h.value,sendFilesToAttendant:t.unref(d)},{default:t.withCtx(()=>[t.createVNode(Y1,{onSendFiles:w,attendant:e.attendant,selectedAtendente:h.value,onVoltar:X[0]||(X[0]=Y=>h.value=null),loadMessagesForAtendente:t.unref(p),sendMessageToAtendente:t.unref(d),hasNextPageForAtendente:t.unref(s)},null,8,["attendant","selectedAtendente","loadMessagesForAtendente","sendMessageToAtendente","hasNextPageForAtendente"])]),_:1},8,["attendant","selectedAttendant","sendFilesToAttendant"])])):t.createCommentVNode("",!0),!h.value&&!t.unref(m)?(t.openBlock(),t.createBlock(Wl,{key:2,attendant:e.attendant,atendentes:t.unref(r),onAtendenteSelecionado:q},null,8,["attendant","atendentes"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),_:1})],6)],512))}},[["__scopeId","data-v-87f1bbdc"]]),b9={class:"chat-content"},w9={key:1,class:"h-full"},ss=qe({__name:"mobileChatWindow",props:{attendant:{default:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"}},socketMessage:{default:{id:"6170e5cd-a06f-4184-83a4-debd4bfaab35",channel_id:"e10b7177-3400-4457-bb43-b6c9d4a6faa1",sender:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"},content:{type:"text",content:"teste sockdet 3"},created_at:"2024-09-17T09:45:19.286087Z"}},countMessages:{type:Number,default:null}},emits:["unreadMessagesEmit"],setup(e,{emit:a}){const n=e,{attendants:r,loadingMessages:o,fetchMessagesForAtendente:i,addMessageToAtendente:l,hasNextPageForAtendente:s,sendMessageToAtendente:d,loadMessagesForAtendente:p,resetUnreadMessages:u,loadingAttendants:m}=ql(),c=t.ref(!1),f=t.ref(!1),h=t.ref(null),y=t.ref(null),b=a;t.computed(()=>{if(h.value){const M=r.value.find(E=>E.id===h.value.id);return M?M.internal_chat.unread:0}return 0});const x=M=>{y.value&&!y.value.contains(M.target)&&c.value&&B()};t.onMounted(()=>{document.addEventListener("click",x)}),t.onBeforeUnmount(()=>{document.removeEventListener("click",x)});const w=t.ref(!1),k=t.ref(!1),B=()=>{c.value?(k.value=!0,setTimeout(()=>{c.value=!1,k.value=!1},200)):(c.value=!0,w.value=!0,setTimeout(()=>{w.value=!1},200))},V=async M=>{const E=r.value.find(A=>A.id===M.id),N=E?E.internal_chat.unread:0;b("unreadMessagesEmit",N),h.value=M,u(M.id),M.hasNextPage||await i(M.id)};return t.watch(()=>n.socketMessage,(M,E)=>{var N;M!==E&&l(M,c.value,(N=h.value)==null?void 0:N.id)}),t.watch(c,M=>{M&&setTimeout(()=>{f.value=!0},400)}),(M,E)=>(t.openBlock(),t.createElementBlock("div",b9,[t.unref(o)||t.unref(m)?(t.openBlock(),t.createBlock(U1,{key:0})):h.value&&!t.unref(o)?(t.openBlock(),t.createElementBlock("div",w9,[t.createVNode(Y1,{attendant:e.attendant,selectedAtendente:h.value,onVoltar:E[0]||(E[0]=N=>h.value=null),loadMessagesForAtendente:t.unref(p),sendMessageToAtendente:t.unref(d),hasNextPageForAtendente:t.unref(s)},null,8,["attendant","selectedAtendente","loadMessagesForAtendente","sendMessageToAtendente","hasNextPageForAtendente"])])):t.createCommentVNode("",!0),!h.value&&!t.unref(m)?(t.openBlock(),t.createBlock(Wl,{key:2,mobile:!0,attendant:e.attendant,atendentes:t.unref(r),onAtendenteSelecionado:V},null,8,["attendant","atendentes"])):t.createCommentVNode("",!0)]))}},[["__scopeId","data-v-8be60a54"]]),Lo=zt.defineStore("department",{state:()=>({departments:[],count:null,loaded:!1}),actions:{async fetchDepartments(e=""){try{let a=`${bc}`;const n=await na.get(a);this.departments=n.data,this.count=this.departments.length}catch(a){console.log("Erro ao buscar departamentos:",a)}},removeDepartments(e){this.departments=this.departments.filter(a=>a.id!==e)},addDepartments(e){const a=this.departments.findIndex(n=>n.id===e.id);a!==-1?this.departments[a]=e:this.departments.push(e)}}}),v9={class:"depart-select-container"},E9={class:"search-container relative shadow shadow-gray-900 dark:shadow-gray-500"},C9=["placeholder"],S9={key:0,class:"selection-container bg-base-300 border-b border-base-200"},M9=["onClick"],B9={class:"department-list"},A9=["onClick"],V9={key:0,style:{width:"150px"}},N9=["onUpdate:modelValue","onChange"],D9={key:0,class:"no-departments bg-base-300"},_9={key:1,class:"library-loading-spinner"},cs=qe({__name:"departSelect",props:{department:{type:Array,default:null},modal_filter:{type:String,default:null},multiSelect:{type:Boolean,default:!0},permissions:{type:Boolean,default:!1},externalDepartments:{type:Array,default:null},attDel:{type:String,default:null},hiddenDepartment:{type:String,default:null}},emits:["depart","component-mounted"],setup(e,{emit:a}){const n=e,r=a,o=Lo(),i=t.ref(""),l=t.ref([]),s=t.ref(!1),d=t.ref(!1),p=t.computed(()=>(n.externalDepartments||o.departments).filter(w=>!(n.hiddenDepartment&&w.id===n.hiddenDepartment)).filter(w=>!i.value||w.name.toLowerCase().includes(i.value.toLowerCase())));t.onMounted(()=>{c(),m(),r("component-mounted")}),t.watch(()=>n.modal_filter,()=>{!n.modal_filter&&n.multiSelect&&(o.departments.forEach(x=>{x.selected=!1}),l.value=[])},{immediate:!0}),t.watch(()=>o.departments.length,async(x,w)=>{Number.isInteger(w)&&Number.isInteger(x)&&(await c(),await t.nextTick(),await m())},{immediate:!0}),t.watch(()=>n.attDel,x=>{x&&u(x)},{immediate:!0});function u(x){const k=(n.externalDepartments||o.departments).findIndex(B=>B.id===x);k!==-1&&(l.value=l.value.filter(B=>B.id!==x),n.externalDepartments?n.externalDepartments.splice(k,1):o.removeDepartments(x),r("depart",l.value))}async function m(){d.value=!0;const x=n.externalDepartments||o.departments;n.permissions&&x.forEach(w=>{w.permission="normal"}),await f(),d.value=!1}async function c(){(n.externalDepartments||o.departments).forEach(w=>{w.selected=!1}),l.value=[]}async function f(){const x=n.externalDepartments||o.departments;!x||x.length===0||(n.department&&n.department.length>0&&n.department.forEach(w=>{const k=x.find(B=>B.id===w.id);k&&(k.selected=!0,w.permission&&(k.permission=w.permission),l.value.some(V=>V.id===w.id)||l.value.push(k))}),r("depart",l.value))}function h(x){const w=l.value.findIndex(k=>k.id===x.id);w!==-1?(x.selected=!1,l.value.splice(w,1)):(n.multiSelect||c(),x.selected=!0,l.value.push(x)),r("depart",l.value)}function y(x){r("depart",l.value)}function b(x,w){x.selected=!1,l.value.splice(w,1),r("depart",l.value)}return(x,w)=>(t.openBlock(),t.createElementBlock("div",v9,[t.createElementVNode("div",E9,[t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper bg-base-300 border-b border-base-200",{expanded:s.value||l.value.length>0}]),onClick:w[1]||(w[1]=k=>s.value=!s.value)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":w[0]||(w[0]=k=>i.value=k),placeholder:l.value.length>0?e.multiSelect?`Selecionados: ${l.value.length}`:`Selecionado: ${l.value[0].name}`:"Pesquise por nome.",class:"select-depart-input"},null,8,C9),[[t.vModelText,i.value]]),w[2]||(w[2]=t.createElementVNode("div",{class:"icon-container"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"search-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})])],-1))],2),l.value.length>0&&e.multiSelect&&t.unref(o).loaded?(t.openBlock(),t.createElementBlock("main",S9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(k,B)=>(t.openBlock(),t.createElementBlock("div",{key:k.id,class:"selection-item"},[t.createTextVNode(t.toDisplayString(k.name)+" ",1),t.createElementVNode("button",{onClick:V=>b(k,B),class:"close-btn"},w[3]||(w[3]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"close-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)]),8,M9)]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass([l.value.length>0&&e.multiSelect?"dropdown-depart-expanded":"dropdown-depart","dropdown-depart bg-base-300"])},[t.createElementVNode("div",B9,[t.createElementVNode("div",{class:t.normalizeClass([{"two-columns":p.value.length>4},"grid-container"])},[t.unref(o).loaded?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(p.value,k=>(t.openBlock(),t.createElementBlock("div",{key:k.id,class:t.normalizeClass([{selected:k.selected},"department-item line-clamp-1 bg-slate-500/20 hover:bg-teal-600"])},[t.createElementVNode("span",{onClick:B=>h(k),class:"department-name h-full w-full"},t.toDisplayString(k.name),9,A9),e.multiSelect&&e.permissions?(t.openBlock(),t.createElementBlock("div",V9,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":B=>k.permission=B,onChange:B=>y(),class:"select-dropdown-depart bg-base-300"},w[4]||(w[4]=[t.createElementVNode("option",{value:"normal"},"normal",-1),t.createElementVNode("option",{value:"supervisor"},"supervisor",-1)]),40,N9),[[t.vModelSelect,k.permission]])])):t.createCommentVNode("",!0)],2))),128)):t.createCommentVNode("",!0)],2)]),t.unref(o).loaded&&p.value.length===0?(t.openBlock(),t.createElementBlock("div",D9," Nenhum departamento disponível. ")):t.createCommentVNode("",!0),t.unref(o).loaded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",_9,w[5]||(w[5]=[t.createTextVNode(" Inicializando departamentos "),t.createElementVNode("div",{class:"library-loader"},null,-1)])))],2)])]))}},[["__scopeId","data-v-bc69772b"]]),T9={class:"depart-select-container"},P9={class:"search-container relative shadow shadow-gray-900 dark:shadow-gray-500"},O9=["placeholder"],F9={key:0,class:"selection-container bg-base-300 border-b border-base-200"},L9=["onClick"],$9={class:"department-list"},H9={style:{"padding-left":"5px"}},R9=["src"],z9={key:1,style:{"pointer-events":"none","border-radius":"100%",width:"24px",height:"24px"},class:"bg-base-300","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",viewBox:"0 0 24 24"},I9=["onClick"],G9={key:0,class:"no-departments bg-base-300"},j9={key:1,class:"library-loading-spinner"},ds=qe({__name:"attendantSelect",props:{attendance:{type:Array,default:null},multiSelect:{type:Boolean,default:!0},department:{type:Array,default:[]},modal_filter:{type:String,default:null},attDel:{type:Object,default:{id:null}},method:{type:String,default:null}},emits:["attend","component-mounted"],setup(e,{emit:a}){const n=e,r=a,o=Un(),i=t.ref(""),l=t.ref(!1),s=t.ref([]),d=t.computed(()=>{const b=o.attendants.filter(w=>w.status===!0),x=i.value?b.filter(w=>w.name.toLowerCase().includes(i.value.toLowerCase())):b;return u(p(x))});function p(b){return n.method==="remove"?(n.attendance||b).filter(w=>{var k;return(w==null?void 0:w.id)!==((k=n==null?void 0:n.attDel)==null?void 0:k.id)}):n.method==="transfer"?b:n.method==="addParticipant"?b.filter(x=>{var w;return(x==null?void 0:x.id)!==((w=n==null?void 0:n.attDel)==null?void 0:w.id)}):b}function u(b){return Array.isArray(n.department)&&n.department.length>0?b.filter(x=>x.department.some(w=>n.department.some(k=>k.id===w.id))):b}t.onMounted(()=>{m(),r("component-mounted")}),t.watch(()=>o.attendants.length,async(b,x)=>{Number.isInteger(x)&&Number.isInteger(b)&&(await t.nextTick(),m())},{immediate:!0}),t.watch(()=>n.modal_filter,()=>{!n.modal_filter&&n.multiSelect&&c()},{immediate:!0}),t.watch(()=>n.department,()=>{m()},{deep:!0});function m(){c(),f()}function c(){(d.value||[]).forEach(x=>{x.selected=!1}),s.value=[]}function f(){const b=o.attendants;!b||b.length===0||(n.attendance&&n.attendance.length>0&&n.attendance.forEach(x=>{const w=b.find(k=>k.id===x.id);w&&!s.value.some(k=>k.id===x.id)&&(w.selected=!0,s.value.push(w))}),r("attend",s.value))}function h(b){const x=s.value.findIndex(w=>w.id===b.id);x!==-1?(b.selected=!1,s.value.splice(x,1)):(n.multiSelect||c(),b.selected=!0,s.value.push(b)),r("attend",s.value)}function y(b,x){b.selected=!1,s.value.splice(x,1),r("attend",s.value)}return(b,x)=>(t.openBlock(),t.createElementBlock("div",T9,[t.createElementVNode("div",P9,[t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper bg-base-300 border-b border-base-200",{expanded:l.value||s.value.length>0}]),onClick:x[1]||(x[1]=w=>l.value=!l.value)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":x[0]||(x[0]=w=>i.value=w),placeholder:s.value.length>0?e.multiSelect?`Selecionados: ${s.value.length}`:`Selecionado: ${s.value[0].name}`:"Pesquise por nome.",class:"select-depart-input"},null,8,O9),[[t.vModelText,i.value]]),x[2]||(x[2]=t.createElementVNode("div",{class:"icon-container"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"search-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})])],-1))],2),s.value.length>0&&e.multiSelect&&t.unref(o).loaded?(t.openBlock(),t.createElementBlock("main",F9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,(w,k)=>(t.openBlock(),t.createElementBlock("div",{key:w,class:"selection-item"},[t.createTextVNode(t.toDisplayString(w.name)+" ",1),t.createElementVNode("button",{onClick:B=>y(w,k),class:"close-btn"},x[3]||(x[3]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"close-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)]),8,L9)]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass([s.value.length>0&&e.multiSelect?"dropdown-attendance-expanded":"dropdown-attendance","dropdown-attendance bg-base-300"])},[t.createElementVNode("div",$9,[t.createElementVNode("div",{class:t.normalizeClass([{"two-columns":d.value.length>4},"grid-container"])},[t.unref(o).loaded?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(d.value,w=>(t.openBlock(),t.createElementBlock("div",{key:w,class:t.normalizeClass([{selected:w.selected},"department-item line-clamp-1 bg-slate-500/20 hover:bg-teal-600"])},[t.createElementVNode("div",H9,[w.photo?(t.openBlock(),t.createElementBlock("img",{key:0,src:w.photo,style:{"pointer-events":"none","border-radius":"100%",width:"24px",height:"24px"}},null,8,R9)):(t.openBlock(),t.createElementBlock("svg",z9,x[4]||(x[4]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-2 9a4 4 0 0 0-4 4v1a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-1a4 4 0 0 0-4-4h-4Z","clip-rule":"evenodd"},null,-1)])))]),t.createElementVNode("span",{onClick:k=>h(w),class:"department-name h-full w-full"},t.toDisplayString(w.name),9,I9)],2))),128)):t.createCommentVNode("",!0)],2)]),t.unref(o).loaded&&d.value.length===0?(t.openBlock(),t.createElementBlock("div",G9," Nenhum atendente disponível. ")):t.createCommentVNode("",!0),t.unref(o).loaded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",j9,x[5]||(x[5]=[t.createTextVNode(" Inicializando atendentes "),t.createElementVNode("div",{class:"library-loader"},null,-1)])))],2)])]))}},[["__scopeId","data-v-d6ad7ae5"]]),q9={class:""},W9={class:"flex justify-between mb-3"},Y9={class:""},us=qe({__name:"filterSelect",props:{title:{type:String,default:"Filtros"},modelValue:{default:null}},setup(e){const a=t.ref(!0);return(n,r)=>{const o=t.resolveComponent("Popper");return t.openBlock(),t.createBlock(o,{placement:"bottom",arrow:!1,class:"dark:popper-light popper-dark"},{content:t.withCtx(({close:i})=>[t.createElementVNode("section",q9,[t.createElementVNode("div",null,[t.createElementVNode("div",W9,[t.createElementVNode("p",null,t.toDisplayString(e.title),1),r[1]||(r[1]=t.createElementVNode("svg",{class:"w-4 h-4 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{d:"M5 3a2 2 0 0 0-1.5 3.3l5.4 6v5c0 .4.3.9.6 1.1l3.1 2.3c1 .7 2.5 0 2.5-1.2v-7.1l5.4-6C21.6 5 20.7 3 19 3H5Z"})],-1))]),t.createElementVNode("div",Y9,[t.renderSlot(n.$slots,"default",{},void 0,!0)])])])]),default:t.withCtx(()=>[t.createElementVNode("button",{onClick:r[0]||(r[0]=i=>a.value=!a.value),class:"group max-w-max relative flex p-0.5 flex-col items-center justify-center cursor-pointer rounded-md text-xs font-semibold"},r[2]||(r[2]=[t.createElementVNode("svg",{class:"w-3 h-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.4 10.3A2 2 0 0 0 17 7H7a2 2 0 0 0-1.5 3.3l4.9 5.9a2 2 0 0 0 3 0l5-6Z","clip-rule":"evenodd"})],-1)]))]),_:3})}}},[["__scopeId","data-v-1dfa2696"]]);function U9(e,a){return t.openBlock(),t.createElementBlock("svg")}const X9={render:U9},Z9=t.createStaticVNode('<g id="Top/_Resources/Prescription-01" fill="none" transform="translate(62 85)"><defs><filter id="filter1" width="101.5%" height="109.8%" x="-.8%" y="-2.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Glasses" fill="#D6EAF2" filter="url(&#39;#filter1&#39;)" transform="translate(8 8)"><path id="Frame-Stuff" d="M46.25 7.275c2.37.022 3.492.417 3.896 2.89.41 2.506.011 5.322-.46 7.79-.721 3.768-1.92 7.46-4.708 10.214-1.47 1.45-3.261 2.606-5.167 3.395-1.012.42-2.081.722-3.15.952-.312.067-2.979.434-1.343.248-3.817.435-7.958.418-11.146-2.012-3.532-2.692-5.952-6.952-7.015-11.196-.623-2.483-1.93-8.422.459-10.407 2.737-2.274 28.633-1.874 28.633-1.874M22.217.491c-5.44.187-9.071 1.143-11.755 6.578-4.917 9.961 3.5 24.9 12.89 28.97 10.976 4.76 23.24-.507 29.043-10.033 3.073-5.044 4.626-12.683 4.526-18.502C56.795.077 51.607-.13 45.51.034zM79.68 7.273c-2.371.022-3.492.416-3.896 2.89-.41 2.505-.012 5.322.46 7.79.72 3.767 1.919 7.459 4.708 10.213 1.47 1.45 3.261 2.606 5.167 3.396 1.012.419 2.08.722 3.15.951.312.067 2.978.435 1.343.248 3.817.436 7.958.418 11.145-2.011 3.533-2.692 5.952-6.952 7.016-11.196.623-2.483 1.93-8.422-.46-10.407-2.737-2.275-28.632-1.874-28.632-1.874M103.713.488c5.44.187 9.071 1.144 11.754 6.579 4.918 9.96-3.5 24.9-12.889 28.97-10.977 4.76-23.24-.508-29.043-10.033C70.46 20.96 68.907 13.32 69.007 7.5 69.135.074 74.323-.132 80.42.031z"></path><path id="Frame-Stuff" d="M13.197 4.927c-3.412.191-7.31.237-10.507 1.712-3.385 1.562-3.908 5.1.36 5.587 1.92.22 3.845-.143 5.737-.481 1.55-.277 3.655-.187 5.12-.78 2.729-1.103 2.553-6.225-.71-6.038m99.538 0c3.412.191 7.31.237 10.507 1.712 3.384 1.562 3.907 5.1-.36 5.587-1.921.22-3.845-.143-5.738-.481-1.55-.277-3.654-.187-5.119-.78-2.73-1.103-2.554-6.225.71-6.038M73.11 7.013c-1.947-2.3-7.019-3.628-10.219-3.628s-8.123 1.328-10.069 3.628c-.981 1.16-1.015 2.711.686 3.438 2.118.906 4.01-.737 5.705-1.596 2.168-1.098 5.499-.978 7.506 0 1.708.833 3.586 2.502 5.704 1.596 1.701-.727 1.668-2.279.686-3.438"></path></g></g>',1),Q9=[Z9];function K9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Q9])}const J9={render:K9},em=t.createStaticVNode('<g id="Top/_Resources/Round" fill="none" transform="translate(62 85)"><defs><filter id="filter1" width="101.6%" height="108.3%" x="-.8%" y="-2.1%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix></filter><path id="Round-path1" d="M80.465 16.394C84.38 8.46 92.553 3 102 3c8.92 0 16.703 4.866 20.84 12.088q.316-.087.66-.088h8a2.5 2.5 0 1 1 0 5h-6.537A24 24 0 0 1 126 27c0 13.255-10.745 24-24 24S78 40.255 78 27c0-1.422.124-2.815.36-4.169C78.277 18.455 74.915 15 70.863 15c-3.736 0-6.887 2.94-7.42 6.83.365 1.665.558 3.395.558 5.17 0 13.255-10.745 24-24 24S16 40.255 16 27c0-2.435.363-4.785 1.037-7H10.5a2.5 2.5 0 1 1 0-5h8q.343 0 .66.088C23.297 7.866 31.08 3 40 3c9.352 0 17.455 5.35 21.416 13.155C63.493 13.039 66.949 11 70.862 11c4.013 0 7.545 2.144 9.603 5.394M40 47c11.046 0 20-8.954 20-20S51.046 7 40 7s-20 8.954-20 20 8.954 20 20 20m62 0c11.046 0 20-8.954 20-20s-8.954-20-20-20-20 8.954-20 20 8.954 20 20 20"></path></defs><g id="Lennon-Glasses"><use fill="#000" filter="url(&#39;#filter1&#39;)" href="#Round-path1"></use><use fill="#252C2F" href="#Round-path1"></use></g></g>',1),tm=[em];function am(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...tm])}const nm={render:am},rm=t.createStaticVNode('<g id="Top/_Resources/Wayfarers" fill="none" stroke-width="1" transform="translate(62 85)"><defs><path id="react-path-1157" d="M44.918 17.571c0 9.703-8.25 17.572-21.998 17.572h-2.75C6.423 35.143.923 27.27.923 17.57.923 7.866 2.207 0 21.455 0h2.931c19.248 0 20.532 7.866 20.532 17.571"></path><path id="react-path-1158" d="M106.486 17.571c0 9.703-8.247 17.572-21.997 17.572h-2.75c-13.748 0-19.248-7.872-19.248-17.572C62.491 7.866 63.775 0 83.023 0h2.932c19.244 0 20.531 7.866 20.531 17.571"></path><linearGradient id="react-linear-gradient-1160" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFF" stop-opacity=".5"></stop><stop offset="70.506%" stop-opacity=".5"></stop></linearGradient><filter id="react-filter-1159" width="101.6%" height="109.8%" x="-.8%" y="-2.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Wayfarers" filter="url(#react-filter-1159)" transform="translate(7 7)"><g id="Shades" fill-rule="evenodd" transform="translate(10.795 2.929)"><g id="Shade"><use fill="#000" fill-opacity=".7" href="#react-path-1157"></use><use fill="url(#react-linear-gradient-1160)" href="#react-path-1157" style="mix-blend-mode:screen;"></use></g><g id="Shade"><use fill="#000" fill-opacity=".7" href="#react-path-1158"></use><use fill="url(#react-linear-gradient-1160)" href="#react-path-1158" style="mix-blend-mode:screen;"></use></g></g><path id="Left" fill="#252C2F" fill-rule="nonzero" d="M33.716 41h-2.75c-13.888 0-22.18-7.664-22.18-20.5C8.787 10.127 10.6 0 32.25 0h2.932c21.651 0 23.463 10.127 23.463 20.5 0 12.069-10.25 20.5-24.93 20.5M32.25 5.854c-17.6 0-17.6 6.464-17.6 14.646 0 6.68 2.83 14.643 16.316 14.643h2.75c11.226 0 19.066-6.021 19.066-14.643 0-8.182 0-14.646-17.6-14.646z"></path><path id="Right" fill="#252C2F" fill-rule="nonzero" d="M95.284 41h-2.75c-13.888 0-22.18-7.664-22.18-20.5 0-10.373 1.813-20.5 23.464-20.5h2.932c21.651 0 23.463 10.127 23.463 20.5 0 12.069-10.25 20.5-24.929 20.5M93.818 5.854c-17.6 0-17.6 6.464-17.6 14.646 0 6.68 2.833 14.643 16.316 14.643h2.75c11.226 0 19.066-6.021 19.066-14.643 0-8.182 0-14.646-17.6-14.646z"></path><path id="Stuff" fill="#252C2F" fill-rule="nonzero" d="M2.932 5.857C3.618 5.172 11.123 0 32.25 0c17.714 0 21.464 1.88 27.14 4.72l.415.21c.395.143 2.413.844 4.773.921a16.5 16.5 0 0 0 4.528-.881C75.584 1.748 81.926 0 96.75 0c21.127 0 28.632 5.172 29.318 5.857A2.93 2.93 0 0 1 129 8.786v2.928c0 1.62-1.31 2.929-2.932 2.929 0 0-5.863 0-5.863 2.928s-2.932-4.237-2.932-5.857V8.862c-3.576-1.4-9.976-3.005-20.523-3.005-11.75 0-17.602 1.131-22.622 3.247l.056.139-2.496 1.007 2.493 1.008-2.2 5.43-2.717-1.1a13 13 0 0 0-1.493-.457c-2.024-.51-4.106-.666-5.946-.28a7.7 7.7 0 0 0-1.877.642l-2.622 1.31-2.623-5.238 2.622-1.31.006-.003-2.512-1.015.08-.198C50.57 6.976 46.58 5.857 32.25 5.857c-10.546 0-16.947 1.604-20.523 3.004v2.853c0 1.62-2.932 8.786-2.932 5.857s-5.863-2.928-5.863-2.928A2.93 2.93 0 0 1 0 11.714V8.786a2.93 2.93 0 0 1 2.932-2.929"></path></g></g>',1),om=[rm];function im(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...om])}const lm={render:im},sm=t.createStaticVNode('<g id="Top/_Resources/Kurt" fill="none" transform="translate(62 85)"><defs><filter id="filter1" width="101.5%" height="108%" x="-.8%" y="-2%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Kurts" filter="url(&#39;#filter1&#39;)" transform="translate(5 2)"><path id="It!" fill="#F4F4F4" d="M66 11.111c-11.037 0-12.63-9.084-35.33-10.37C7.987-.283.816 6.449.777 11.11c.037 4.293-1.128 15.45 13.589 28.519 14.772 15.512 29.905 10.252 35.33 5.185C55.134 42.473 61.34 21.46 66 21.48s10.865 20.992 16.306 23.334c5.424 5.067 20.557 10.327 35.33-5.185 14.716-13.069 13.55-24.226 13.588-28.519-.04-4.662-7.21-11.394-29.895-10.37C78.63 2.027 77.037 11.11 66 11.11"></path><path id="Did" fill="#2F383B" d="M55.13 21.481c.38-7.658-12.914-15.839-27.177-15.555-14.256.299-16.111 9.453-16.306 12.963-.349 8.133 8.367 26.415 24.459 25.926 16.091-.51 18.803-18.28 19.023-23.334"></path><path id="Courtney" fill="#2F383B" d="M120.353 21.481c.38-7.658-12.914-15.839-27.177-15.555-14.255.299-16.11 9.453-16.305 12.963-.35 8.133 8.367 26.415 24.458 25.926 16.092-.51 18.804-18.28 19.024-23.334" transform="matrix(-1 0 0 1 197.224 0)"></path></g></g>',1),cm=[sm];function dm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...cm])}const um={render:dm},mm=t.createStaticVNode('<g id="Top/_Resources/Prescription-02" fill="none" stroke-width="1" transform="translate(62 85)"><defs><filter id="react-filter-1166" width="101.5%" height="109.8%" x="-.8%" y="-2.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Wayfarers" fill="#252C2F" fill-rule="nonzero" filter="url(#react-filter-1166)" transform="translate(6 7)"><path id="Left" d="M34 41h-2.758C17.315 41 9 33.336 9 20.5 9 10.127 10.817 0 32.53 0h2.94C57.183 0 59 10.127 59 20.5 59 32.569 48.721 41 34 41M32.385 6C13 6 13 12.841 13 21.502 13 28.572 16.116 37 30.97 37H34c12.365 0 21-6.373 21-15.498C55 12.84 55 6 35.615 6z"></path><path id="Right" d="M96 41h-2.758C79.315 41 71 33.336 71 20.5 71 10.127 72.817 0 94.53 0h2.94C119.183 0 121 10.127 121 20.5 121 32.569 110.721 41 96 41M94.385 6C75 6 75 12.841 75 21.502 75 28.572 78.12 37 92.97 37H96c12.365 0 21-6.373 21-15.498C117 12.84 117 6 97.615 6z"></path><path id="Stuff" d="M2.955 5.772C3.645 5.096 11.21 0 32.5 0c17.851 0 21.63 1.853 27.35 4.652l.419.207c.398.14 2.431.83 4.81.907a17 17 0 0 0 4.563-.869C76.17 1.722 82.562 0 97.5 0c21.29 0 28.854 5.096 29.545 5.772 1.634 0 2.955 1.29 2.955 2.885v2.886c0 1.596-1.32 2.886-2.955 2.886 0 0-6.901 0-6.901 2.886 0 2.885-1.962-4.176-1.962-5.772v-2.81c-3.603-1.38-10.054-3.947-20.682-3.947-11.842 0-17.739 2.1-22.798 4.185l.057.137-.003 1.986-2.217 5.35L69.8 15.36c-.244-.097-.772-.27-1.504-.451-2.04-.503-4.137-.656-5.992-.276q-1.021.21-1.891.633l-2.643 1.29-2.643-5.16.117-2.295.08-.195c-4.362-2.033-8.385-4.12-22.824-4.12-10.628 0-17.078 2.565-20.682 3.944v2.812c0 1.596-2.954 8.657-2.954 5.772 0-2.886-5.91-2.886-5.91-2.886-1.63 0-2.954-1.29-2.954-2.886V8.657c0-1.595 1.324-2.885 2.955-2.885"></path></g></g>',1),fm=[mm];function hm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...fm])}const pm={render:hm},gm=t.createStaticVNode('<g id="Top/_Resources/Sunglasses" fill="none" stroke-width="1" transform="translate(62 85)"><defs><linearGradient id="react-linear-gradient-1164" x1="50%" x2="50%" y1="0%" y2="70.506%"><stop offset="0%" stop-color="#FFF" stop-opacity=".5"></stop><stop offset="100%" stop-opacity=".5"></stop></linearGradient><linearGradient id="react-linear-gradient-1165" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFF" stop-opacity=".5"></stop><stop offset="70.506%" stop-opacity=".5"></stop></linearGradient><path id="react-path-1161" d="M47.01 6.277c2.511.024 3.698.45 4.126 3.115.433 2.7.012 5.736-.488 8.395-.762 4.06-2.031 8.04-4.984 11.007-1.555 1.564-3.452 2.81-5.47 3.66-1.071.452-2.203.778-3.334 1.026-.33.072-3.154.468-1.422.267-4.041.47-8.425.45-11.8-2.168-3.74-2.901-6.301-7.493-7.427-12.066-.66-2.676-2.044-9.076.486-11.216 2.898-2.452 30.313-2.02 30.313-2.02"></path><path id="react-path-1162" d="M78.92 6.275c-2.512.024-3.699.449-4.126 3.114-.434 2.7-.012 5.736.487 8.395.763 4.061 2.032 8.04 4.984 11.008 1.556 1.563 3.453 2.809 5.47 3.66 1.072.451 2.204.778 3.335 1.025.33.072 3.153.469 1.422.267 4.04.47 8.425.45 11.8-2.167 3.74-2.902 6.3-7.493 7.427-12.066.66-2.677 2.043-9.077-.486-11.217-2.898-2.451-30.314-2.02-30.314-2.02"></path><filter id="react-filter-1163" width="101.6%" height="110.5%" x="-.8%" y="-2.6%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Sunglasses" filter="url(#react-filter-1163)" transform="translate(8 8)"><g id="shades"><use fill="#000" fill-opacity=".7" href="#react-path-1161"></use><use fill="url(#react-linear-gradient-1164)" href="#react-path-1161" style="mix-blend-mode:screen;"></use></g><g id="shades"><use fill="#000" fill-opacity=".7" href="#react-path-1162"></use><use fill="url(#react-linear-gradient-1165)" href="#react-path-1162" style="mix-blend-mode:screen;"></use></g><g id="Glasses" fill="#252C2F"><path id="Frame" d="M46.25 7.275c2.37.022 3.492.417 3.896 2.89.41 2.506.011 5.322-.46 7.79-.721 3.768-1.92 7.46-4.708 10.214-1.47 1.45-3.261 2.606-5.167 3.395-1.012.42-2.081.722-3.15.952-.312.067-2.979.434-1.343.248-3.817.435-7.958.418-11.146-2.012-3.532-2.692-5.952-6.952-7.015-11.196-.623-2.483-1.93-8.422.459-10.407 2.737-2.274 28.633-1.874 28.633-1.874M22.217.491c-5.44.187-9.071 1.143-11.755 6.578-4.917 9.961 3.5 24.9 12.89 28.97 10.976 4.76 23.24-.507 29.043-10.033 3.073-5.044 4.626-12.683 4.526-18.502C56.795.077 51.607-.13 45.51.034zM79.68 7.273c-2.371.022-3.492.416-3.896 2.89-.41 2.505-.012 5.322.46 7.79.72 3.767 1.919 7.459 4.708 10.213 1.47 1.45 3.261 2.606 5.167 3.396 1.012.419 2.08.722 3.15.951.312.067 2.978.435 1.343.248 3.817.436 7.958.418 11.145-2.011 3.533-2.692 5.952-6.952 7.016-11.196.623-2.483 1.93-8.422-.46-10.407-2.737-2.275-28.632-1.874-28.632-1.874M103.713.488c5.44.187 9.071 1.144 11.754 6.579 4.918 9.96-3.5 24.9-12.889 28.97-10.977 4.76-23.24-.508-29.043-10.033C70.46 20.96 68.907 13.32 69.007 7.5 69.135.074 74.323-.132 80.42.031z"></path><path id="Frame" d="M13.197 4.927c-3.412.191-7.31.237-10.507 1.712-3.385 1.562-3.908 5.1.36 5.587 1.92.22 3.845-.143 5.737-.481 1.55-.277 3.655-.187 5.12-.78 2.729-1.103 2.553-6.225-.71-6.038m99.538 0c3.412.191 7.31.237 10.507 1.712 3.384 1.562 3.907 5.1-.36 5.587-1.921.22-3.845-.143-5.738-.481-1.55-.277-3.654-.187-5.119-.78-2.73-1.103-2.554-6.225.71-6.038M73.11 7.013c-1.947-2.3-7.019-3.628-10.219-3.628s-8.123 1.328-10.069 3.628c-.981 1.16-1.015 2.711.686 3.438 2.118.906 4.01-.737 5.705-1.596 2.168-1.098 5.499-.978 7.506 0 1.708.833 3.586 2.502 5.704 1.596 1.701-.727 1.668-2.279.686-3.438"></path></g></g></g>',1),ym=[gm];function km(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ym])}const xm={render:km},bm={Blank:X9,Prescription01:J9,Round:nm,Wayfarers:lm,Kurt:um,Prescription02:pm,Sunglasses:xm},wm=t.createStaticVNode('<g id="Clothing/Blazer-+-Shirt" transform="translate(0 170)"><defs><path id="BlazerShirt-path1" d="M133.96.295c36.976 3.03 66.04 34 66.04 71.757V81H0v-8.948C0 33.952 29.592 2.765 67.045.22Q67 .78 67 1.348c0 11.863 14.998 21.48 33.5 21.48S134 13.211 134 1.348q0-.53-.04-1.053"></path></defs><g id="Shirt" transform="translate(32 29)"><mask id="BlazerShirt-mask1" fill="#fff"><use href="#BlazerShirt-path1"></use></mask><use fill="#E6E6E6" class="CustomColor" href="#BlazerShirt-path1"></use><g id="Color/Palette/Black" fill="#262E33" mask="url(&#39;#BlazerShirt-mask1&#39;)"><path id="Color" d="M0 0h264v110H0z" transform="translate(-32 -29)"></path></g><g id="Shadowy" fill="#000" mask="url(&#39;#BlazerShirt-mask1&#39;)" opacity=".16"><ellipse id="Hola" cx="40.5" cy="27.848" rx="39.635" ry="26.914" transform="translate(60 -25)"></ellipse></g></g><g id="Blazer" transform="translate(32 28)"><path id="Saco" fill="#3A4C5A" d="M68.785 1.122C30.512 2.804 0 34.365 0 73.052V82h69.362C65.96 69.92 64 55.709 64 40.5c0-14.327 1.74-27.769 4.785-39.378M131.638 82H200v-8.948c0-38.345-29.975-69.69-67.771-71.878C135.265 12.77 137 26.194 137 40.5c0 15.209-1.96 29.42-5.362 41.5"></path><path id="Pocket-hanky" fill="#E6E6E6" d="m149 58 9.556-7.167a4 4 0 0 1 4.856.043L170 56z"></path><path id="Wing" fill="#2F4351" d="M69 0q-6 29 5 82H58L44 46l6-9-6-6L63 1q3.042-.945 6-1"></path><path id="Wing" fill="#2F4351" d="M151 0q-6 29 5 82h-16l-14-36 6-9-6-6 19-30q3.042-.945 6-1" transform="matrix(-1 0 0 1 282 0)"></path></g></g>',1),vm=[wm];function Em(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vm])}const Cm={render:Em},Sm=t.createStaticVNode('<g id="Clothing/Blazer-+-Sweater" transform="translate(0 170)"><defs><path id="BlazerSweater-path1" d="M105.192 29.052H104c-39.765 0-72 32.235-72 72V110h200v-8.948c0-39.765-32.235-72-72-72h-1.192q.191 1.475.192 3c0 13.807-12.088 25-27 25s-27-11.193-27-25q0-1.525.192-3"></path></defs><mask id="BlazerSweater-mask1" fill="#fff"><use href="#BlazerSweater-path1"></use></mask><use fill="#E6E6E6" class="CustomColor" href="#BlazerSweater-path1"></use><g id="Color/Palette/Black" fill="#262E33" mask="url(&#39;#BlazerSweater-mask1&#39;)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Blazer" transform="translate(32 28)"><path id="Saco" fill="#3A4C5A" d="M68.785 1.122C30.512 2.804 0 34.365 0 73.052V82h69.362C65.96 69.92 64 55.709 64 40.5c0-14.327 1.74-27.769 4.785-39.378M131.638 82H200v-8.948c0-38.345-29.975-69.69-67.771-71.878C135.265 12.77 137 26.194 137 40.5c0 15.209-1.96 29.42-5.362 41.5"></path><path id="Pocket-hanky" fill="#E6E6E6" d="m149 58 9.556-7.167a4 4 0 0 1 4.856.043L170 56z"></path><path id="Wing" fill="#2F4351" d="M69 0q-6 29 5 82H58L44 46l6-9-6-6L63 1q3.042-.945 6-1"></path><path id="Wing" fill="#2F4351" d="M151 0q-6 29 5 82h-16l-14-36 6-9-6-6 19-30q3.042-.945 6-1" transform="matrix(-1 0 0 1 282 0)"></path></g><path id="Collar" fill="#F2F2F2" d="M156 21.539c6.772 4.597 11 11.117 11 18.349 0 7.4-4.428 14.057-11.48 18.668l-5.94-4.68-4.58.332 1-3.151-.078-.061C152.022 47.853 156 42.7 156 36.876zm-48 0c-6.772 4.597-11 11.117-11 18.349 0 7.4 4.428 14.057 11.48 18.668l5.94-4.68 4.58.332-1-3.151.078-.061C111.978 47.853 108 42.7 108 36.876z"></path></g>',1),Mm=[Sm];function Bm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mm])}const Am={render:Bm},Vm=t.createElementVNode("g",{id:"Clothing/Collar-+-Sweater",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"CollarSweater-path1",d:"M105.192 29.052H104c-39.765 0-72 32.235-72 72V110h200v-8.948c0-39.765-32.235-72-72-72h-1.192q.191 1.475.192 3c0 13.807-12.088 25-27 25s-27-11.193-27-25q0-1.525.192-3"})]),t.createElementVNode("use",{fill:"var(--avataaar-shirt-color)",class:"CustomColor",href:"#CollarSweater-path1"}),t.createElementVNode("path",{id:"Collar",fill:"#F2F2F2",d:"M156 22.28c6.182 4.555 10 10.826 10 17.748 0 7.205-4.137 13.705-10.771 18.3l-5.65-4.452-4.579.332 1-3.151-.078-.061C152.022 47.853 156 42.7 156 36.876zm-48-.709c-6.767 4.603-11 11.169-11 18.457 0 7.398 4.362 14.052 11.308 18.664l6.113-4.816 4.579.332-1-3.151.078-.061C111.978 47.853 108 42.7 108 36.876z"})],-1),Nm=[Vm];function Dm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Nm])}const _m={render:Dm},Tm=t.createStaticVNode('<g id="Clothing/Hoodie" transform="translate(0 170)"><defs><path id="Hoodie-path1" d="M108 13.07c-17.919 2.006-31.72 7.482-31.996 21.575C50.146 45.568 32 71.165 32 100.999V110h200v-9c0-29.835-18.146-55.432-44.004-66.355-.276-14.093-14.077-19.57-31.996-21.574V32c0 13.255-10.745 24-24 24s-24-10.745-24-24z"></path></defs><mask id="Hoodie-mask1" fill="#fff"><use href="#Hoodie-path1"></use></mask><use fill="var(--avataaar-shirt-color)" class="CustomColor" href="#Hoodie-path1"></use><path id="Straps" fill="#F4F4F4" d="M102 61.74V110h-7V58.15a65 65 0 0 0 7 3.59m67-3.59V98.5a3.5 3.5 0 1 1-7 0V61.74a65 65 0 0 0 7-3.59" mask="url(&#39;#Hoodie-mask1&#39;)"></path><path id="Shadow" fill="#000" d="M90.96 12.724C75.91 15.571 65.5 21.243 65.5 32.308 65.5 52.02 98.538 68 132 68s66.5-15.98 66.5-35.692c0-11.065-10.41-16.737-25.46-19.584 9.085 3.35 14.96 8.982 14.96 18.353C188 51.469 160.179 68 132 68S76 51.469 76 31.077c0-9.37 5.875-15.003 14.96-18.353" mask="url(&#39;#Hoodie-mask1&#39;)" opacity=".16"></path></g>',1),Pm=[Tm];function Om(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pm])}const Fm={render:Om},Lm=t.createElementVNode("g",{id:"Clothing/Graphic-Shirt",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"GraphicShirt-path1",d:"M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"})]),t.createElementVNode("use",{fill:"#E6E6E6",class:"CustomColor",href:"#GraphicShirt-path1"})],-1),$m=[Lm];function Hm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$m])}const Rm={render:Hm},zm=t.createStaticVNode('<g id="Clothing/Overall" transform="translate(0 170)"><defs><path id="Overall-path1" d="M94 29.688V74h76V29.688a71.5 71.5 0 0 1 26 8.944V110H68V38.632a71.5 71.5 0 0 1 26-8.944"></path></defs><use fill="var(--avataaar-shirt-color)" class="CustomColor" href="#Overall-path1"></use><circle id="Button" cx="81" cy="83" r="5" fill="#F4F4F4"></circle><circle id="Button" cx="183" cy="83" r="5" fill="#F4F4F4"></circle></g>',1),Im=[zm];function Gm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Im])}const jm={render:Gm},qm=t.createStaticVNode('<g id="Clothing/Shirt-Crew-Neck" transform="translate(0 170)"><defs><path id="ShirtCrewNeck-path1" d="M165.96 29.295c36.976 3.03 66.04 34 66.04 71.757V110H32v-8.948c0-38.1 29.592-69.287 67.045-71.832Q99 29.78 99 30.348c0 11.863 14.998 21.48 33.5 21.48s33.5-9.617 33.5-21.48q0-.53-.04-1.053"></path></defs><mask id="ShirtCrewNeck-mask1" fill="#fff"><use href="#ShirtCrewNeck-path1"></use></mask><use fill="var(--avataaar-shirt-color)" class="CustomColor" href="#ShirtCrewNeck-path1"></use><g id="Shadowy" fill="#000" mask="url(&#39;#ShirtCrewNeck-mask1&#39;)" opacity=".16"><ellipse id="Hola" cx="40.5" cy="27.848" rx="39.635" ry="26.914" transform="translate(92 4)"></ellipse></g></g>',1),Wm=[qm];function Ym(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wm])}const Um={render:Ym},Xm=t.createElementVNode("g",{id:"Clothing/Shirt-V-Neck",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"ShirtVNeck-path1",d:"M171.32 29.936C205.706 35.366 232 65.14 232 101.052V110H32v-8.948c0-35.914 26.294-65.686 60.682-71.116a23.9 23.9 0 0 0 7.554 13.603l29.085 26.229a4 4 0 0 0 5.358 0l29.085-26.229a24 24 0 0 0 1.234-1.196 23.9 23.9 0 0 0 6.322-12.407"})]),t.createElementVNode("use",{fill:"var(--avataaar-shirt-color)",class:"CustomColor",href:"#ShirtVNeck-path1"})],-1),Zm=[Xm];function Qm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zm])}const Km={render:Qm},Jm=t.createElementVNode("g",{id:"Clothing/Shirt-Scoop-Neck",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"ShirtScoopNeck-path1",d:"M181.544 32.33C210.784 41.488 232 68.792 232 101.052V110H32v-8.948c0-32.655 21.739-60.232 51.534-69.05A18 18 0 0 0 83 36.348c0 16.281 22.162 29.48 49.5 29.48S182 52.629 182 36.348c0-1.363-.155-2.704-.456-4.018"})]),t.createElementVNode("use",{fill:"var(--avataaar-shirt-color)",class:"CustomColor",href:"#ShirtScoopNeck-path1"})],-1),ef=[Jm];function tf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ef])}const af={render:tf},nf={BlazerShirt:Cm,CollarSweater:_m,BlazerSweater:Am,Hoodie:Fm,GraphicShirt:Rm,Overall:jm,ShirtCrewNeck:Um,ShirtVNeck:Km,ShirtScoopNeck:af},rf=t.createStaticVNode('<g id="Top"><defs><path id="Eyepatch-path1" d="M0 0h264v280H0z"></path></defs><mask id="Eyepatch-mask1" fill="#fff"><use href="#Eyepatch-path1"></use></mask><g id="Top/Accesories/Eyepatch" mask="url(&#39;#Eyepatch-mask1&#39;)"><path fill="#28354B" d="M159.395 39.781c-3.077-3.088-6.276 3.858-7.772 5.647-3.61 4.32-7.083 8.755-10.755 13.024-7.252 8.43-14.429 16.922-21.634 25.388-1.094 1.286-.961 1.425-2.397 1.549-.951.082-2.274-.409-3.263-.463-2.75-.151-5.462.309-8.138.897-5.345 1.173-11.01 3.106-15.647 6.075-1.217.78-2.002 1.7-3.322 1.943-1.149.212-2.673-.211-3.845-.322-2.08-.195-5.084-1.046-7.127-.605-2.592.56-3.578 3.697-.935 5.086 2.01 1.056 6.01.476 8.264.645 2.573.192 1.788.06 1.423 2.52-.523 3.533.352 7.481 1.842 10.713 3.46 7.505 13.034 15.457 21.766 14.725 7.287-.61 13.672-7.19 16.664-13.503 1.532-3.231 2.436-6.908 2.731-10.472.189-2.266.084-4.67-.566-6.865-.321-1.085-.83-2.208-1.376-3.193-.442-.799-2.4-2.65-2.52-3.453-.232-1.557 4.185-5.73 5.028-6.773 3.973-4.916 7.964-9.812 11.906-14.755 3.881-4.869 7.784-9.725 11.768-14.51 1.804-2.17 10.828-10.364 7.905-13.298" class="CustomColor"></path></g></g>',1),of=[rf];function lf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...of])}const sf={render:lf},cf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairMiaWallace-path1" d="M0 0h264v280H0z"></path><path id="LongHairMiaWallace-path2" d="M148.86 69q.14 1.982.14 4v38c0 22.34-13.08 41.623-32 50.611v8.706c18.146 1.499 35.721 4.018 46 6.683 9.953-13.56 22.885-26.2 23-51 .085-18.985-27.676-95.572-40-111-8.138-10.188-28.695-13.55-53-14S48.923 6.509 41 16C30.319 28.795-.085 107.015 0 126c.116 24.8 13.048 37.44 23 51 10.279-2.665 27.854-5.184 46-6.683v-8.706C50.08 152.623 37 133.339 37 111V73q0-2.018.14-4h28.234l3.879-21.444L72.058 69h76.801Z"></path></defs><mask id="LongHairMiaWallace-mask1" fill="#fff"><use href="#LongHairMiaWallace-path1"></use></mask><g id="Top/Long-Hair/Mia-Wallace" mask="url(&#39;#LongHairMiaWallace-mask1&#39;)"><g transform="translate(-1)"><path id="Shadow" fill="#000" d="M69.033 76.213q19.407-49.626 41.025-49.626c.539 0 29.253-.238 48.055-.36C178.767 35.585 193 55.304 193 78.115V93h-82.942l-2.805-23.18-3.88 23.18H69V78.115q0-.955.033-1.902" opacity=".16"></path><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairMiaWallace-path2" transform="translate(40 19)"></use></g></g></g>',1),df=[cf];function uf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...df])}const mf={render:uf},ff=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortCurly-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortCurly-path1" d="M94.252 52.022q.185-.081-.916-.062 1.338-.003.916.062m-8.135-15.72c-.002-.02.017.15 0 0m107.648 34.464c-.264-3.317-.732-6.614-1.518-9.855-.625-2.576-1.478-5.033-2.487-7.491-.61-1.485-2.032-3.524-2.2-5.126-.165-1.577 1.067-3.325 1.33-5.162a16 16 0 0 0-.156-5.438c-.833-4.023-3.594-7.764-7.857-8.813-.952-.234-2.964.055-3.636-.5-.771-.635-1.308-2.8-2.006-3.669-1.99-2.476-5.095-4.07-8.37-3.514-2.41.409-1.026.907-2.833-.512-1.005-.788-1.756-1.993-2.732-2.847-1.467-1.283-3.15-2.38-4.892-3.282-4.557-2.358-9.754-4.072-14.844-4.908-9.285-1.524-19.195-.195-28.195 2.22-4.479 1.201-8.987 2.726-13.147 4.743-1.783.864-2.813 1.582-4.673 1.808-2.928.357-5.409.339-8.183 1.581-8.536 3.822-12.381 12.689-9.06 21.174a14.6 14.6 0 0 0 2.82 4.584c1.521 1.68 2.072 1.35.762 3.282a53 53 0 0 0-4.955 9.172c-3.529 8.402-4.12 17.864-3.89 26.824.081 3.137.216 6.313.71 9.42.214 1.344.274 3.872 1.282 4.87.512.506 1.241.788 1.969.587 1.71-.474 1.121-1.735 1.161-2.906.2-5.884-.07-11.089 1.33-16.902 1.033-4.294 2.755-8.195 4.988-12.035 2.838-4.884 5.903-9.173 9.807-13.355.917-.984 1.118-1.4 2.349-1.472.932-.054 2.295.584 3.2.805 1.999.487 4 .968 6.034 1.296 3.74.603 7.444.644 11.217.525 7.426-.232 14.885-.753 22.085-2.623 4.782-1.242 9.022-3.47 13.602-5.105.082-.029 1.23-.847 1.43-.814.282.047 1.978 1.826 2.264 2.05 2.226 1.746 4.667 2.479 7.07 3.83 2.964 1.667.094-.718 1.728 1.359.477.605.72 1.726 1.103 2.411a18.1 18.1 0 0 0 4.93 5.624c1.956 1.47 4.894 2.18 5.891 4.095.769 1.477 1.028 3.484 1.648 5.06 1.628 4.136 3.777 7.992 5.926 11.887 1.732 3.14 3.625 5.881 3.818 9.468.067 1.248-1.121 8.737 1.773 6.46.429-.338 1.353-4.156 1.543-4.804.772-2.633 1.046-5.381 1.395-8.086.694-5.38.923-10.498.47-15.916"></path></defs><mask id="ShortHairShortCurly-mask2" fill="#fff"><use href="#ShortHairShortCurly-path2"></use></mask><g id="Top/Short-Hair/Short-Curly" mask="url(&#39;#ShortHairShortCurly-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortCurly-path1" transform="translate(-1)"></use></g></g>',1),hf=[ff];function pf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...hf])}const gf={render:pf},yf=t.createStaticVNode('<g id="Top"><defs><path id="Hat-path2" d="M0 0h264v280H0z"></path><path id="Hat-path1" d="M156 180.611c17.53-8.328 30.048-25.496 31.791-45.744C193.57 134.002 198 129.02 198 123v-13c0-5.946-4.325-10.882-10-11.834V92a55.8 55.8 0 0 0-4.638-22.35C173.435 53 89.312 53.802 80.71 69.484A55.8 55.8 0 0 0 76 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V199h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4zM0 0h264v280H0z"></path></defs><mask id="Hat-mask1" fill="#fff"><use href="#Hat-path2"></use></mask><g id="Top/Accesories/Hat" mask="url(&#39;#Hat-mask1&#39;)"><g transform="translate(-1)"><g id="Hat" transform="translate(1)"><mask id="Hat-mask2" fill="#fff"><use href="#Hat-path1"></use></mask><path fill="var(--avataaar-top-color)" d="M123.182 2h18.636c18.791 0 35.049 13.08 39.072 31.436L190 75H75l9.11-41.564C88.133 15.08 104.39 2 123.182 2" mask="url(&#39;#Hat-mask2&#39;)" style="fill-opacity:.6;"></path><ellipse id="Hipster" cx="132" cy="87.5" fill="var(--avataaar-top-color)" mask="url(&#39;#Hat-mask2&#39;)" rx="122" ry="57.5"></ellipse><ellipse id="Hipster" cx="132" cy="87.5" fill="#2e2e2e" mask="url(&#39;#Hat-mask2&#39;)" rx="122" ry="57.5" style="fill-opacity:.1;"></ellipse><ellipse id="Very" cx="132" cy="82" fill="var(--avataaar-top-color)" mask="url(&#39;#Hat-mask2&#39;)" rx="62" ry="25"></ellipse><ellipse id="Very" cx="132" cy="82" fill="#2e2e2e" mask="url(&#39;#Hat-mask2&#39;)" rx="62" ry="25" style="fill-opacity:.5;"></ellipse></g></g></g></g>',1),kf=[yf];function xf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...kf])}const bf={render:xf},wf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairNotTooLong-path1" d="M0 0h264v280H0z"></path><path id="LongHairNotTooLong-path2" d="M59 102.34V182a8 8 0 0 0 8 8h42v-9.389c-17.53-8.328-30.048-25.496-31.791-45.744C71.43 134.002 67 129.02 67 123v-13c0-3.49 1.49-6.633 3.87-8.826 11.539-2.619 24.1-7.536 36.472-14.679 12.131-7.004 22.502-15.237 30.479-23.743q-5.14 11.862-12.449 20.783 19.013-8.285 25.892-26.639.565 1.383 1.18 2.762c10.256 23.035 27.874 39.36 45.762 44.745.513 2.11.794 4.08.794 5.597v13c0 6.019-4.43 11.002-10.209 11.867-1.743 20.248-14.26 37.416-31.791 45.744V190h18c17.673 0 32-14.327 32-32v-54.125q0-.1-.028-.26-.216-18.391-.612-21.39C201.577 45.977 170.556 18 133 18c-36.085 0-66.137 25.828-73 60-5.523 0-10 5.596-10 12.5 0 4.55 1.695 8.643 4.853 10.773.905.61 2.47.925 4.147 1.067"></path></defs><mask id="LongHairNotTooLong-mask1" fill="#fff"><use href="#LongHairNotTooLong-path1"></use></mask><g id="Top/Long-Hair/Long-but-not-too-long" mask="url(&#39;#LongHairNotTooLong-mask1&#39;)"><g transform="translate(-1)"><use id="Behind" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairNotTooLong-path2"></use><g id="Top" opacity=".16" transform="translate(50 18)"><path id="Combined-Shape" fill="#FFF" d="M11.899 84.775c13.812-1.76 29.78-7.237 45.443-16.28 12.131-7.004 22.502-15.237 30.479-23.743q-5.14 11.862-12.449 20.783 19.013-8.285 25.892-26.639.565 1.383 1.18 2.762C114.382 68.471 136.296 86.194 157 88.151V74c0-40.87-33.13-74-74-74-36.085 0-66.137 25.828-72.679 60.006A8 8 0 0 0 10 60C4.477 60 0 65.596 0 72.5c0 6.482 3.947 11.811 9 12.438v.155q.474-.044.953-.093a8.2 8.2 0 0 0 1.946-.225"></path></g></g></g></g>',1),vf=[wf];function Ef(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vf])}const Cf={render:Ef},Sf=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortFlat-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortFlat-path1" d="M180.15 39.92c-2.76-2.82-5.964-5.213-9.08-7.613-.688-.53-1.387-1.046-2.06-1.595-.152-.125-1.718-1.246-1.905-1.659-.451-.993-.19-.22-.128-1.404.079-1.498 3.134-5.73.854-6.7-1.003-.427-2.791.709-3.753 1.084a60 60 0 0 1-5.731 1.9c.932-1.857 2.708-5.574-.631-4.579-2.602.775-5.026 2.768-7.64 3.705.865-1.417 4.324-5.811 1.198-6.057-.972-.076-3.803 1.748-4.85 2.138-3.137 1.165-6.34 1.92-9.634 2.513-11.198 2.018-24.293 1.442-34.653 6.54-7.988 3.93-15.874 10.029-20.489 17.795-4.447 7.485-6.11 15.676-7.041 24.253-.683 6.295-.739 12.802-.42 19.119.105 2.07.338 11.61 3.345 8.721 1.498-1.44 1.487-7.253 1.864-9.22.751-3.916 1.474-7.848 2.726-11.638 2.206-6.68 4.809-13.793 10.305-18.393 3.527-2.952 6.004-6.941 9.379-9.919 1.516-1.337.36-1.198 2.797-1.022 1.638.117 3.282.162 4.923.205 3.796.099 7.598.074 11.395.087 7.647.028 15.258.136 22.898-.265 3.395-.177 6.799-.274 10.185-.588 1.891-.175 5.247-1.387 6.804-.461 1.425.847 2.905 3.615 3.928 4.748 2.418 2.679 5.3 4.724 8.126 6.92 5.895 4.58 8.87 10.332 10.66 17.488 1.784 7.13 1.284 13.745 3.491 20.762.389 1.233 1.416 3.36 2.682 1.454.235-.354.175-2.3.175-3.42 0-4.52 1.144-7.91 1.13-12.46-.056-13.832-.504-31.868-10.85-42.439"></path></defs><mask id="ShortHairShortFlat-mask2" fill="#fff"><use href="#ShortHairShortFlat-path2"></use></mask><g id="Top/Short-Hair/Short-Flat" mask="url(&#39;#ShortHairShortFlat-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortFlat-path1" transform="translate(-1)"></use></g></g>',1),Mf=[Sf];function Bf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mf])}const Af={render:Bf},Vf=t.createStaticVNode('<g id="Top"><defs><path id="Hijab-path1" d="M0 0h264v280H0z"></path><path id="Hijab-path2" d="M66.042 77.075C71.68 45.205 99.513 21 133 21c37.555 0 68 30.445 68 68v30.751q1.313 14.705 2.456 20.603c1.377 7.104 5.694 4.761 5.694 14.866s-4.328 13.5-4.347 22.485c-.019 8.986 15.397 16.131 15.397 27.538s-7.074 65.233-77.622 65.233q-22.605 0-38.51-12.862Q105.091 267.349 106 280H59c.932-23.771-7.284-37.064-7.284-63.554S65.353 151.428 65 142q.03-.873.062-2.068A69 69 0 0 1 65 137V89c0-3.976.341-7.872.996-11.661L66 77zM132.5 53C102.4 53 78 77.4 78 107.5v23c0 30.1 24.4 54.5 54.5 54.5h1c30.1 0 54.5-24.4 54.5-54.5v-23c0-30.1-24.4-54.5-54.5-54.5z"></path></defs><mask id="Hijab-mask1" fill="#fff"><use href="#Hijab-path1"></use></mask><g id="Top/Accesories/Hijab" mask="url(&#39;#Hijab-mask1&#39;)"><g transform="translate(-1)"><mask id="Hijab-mask2" fill="#fff"><use href="#Hijab-path2"></use></mask><use fill="var(--avataaar-top-color)" class="CustomColor" href="#Hijab-path2"></use><path id="Band" fill="#FFF" stroke="none" d="M72.074 104.96A61.4 61.4 0 0 1 71 93.5C71 59.534 98.758 32 133 32s62 27.534 62 61.5c0 3.916-.369 7.747-1.074 11.46C192.34 72.683 165.67 47 133 47s-59.341 25.683-60.926 57.96" mask="url(&#39;#Hijab-mask2&#39;)" opacity=".5"></path><path id="Shadows" fill="#000" stroke="none" d="M187.93 104.695A55 55 0 0 1 189 115.5v23c0 30.1-24.4 54.5-54.5 54.5h-3c-30.1 0-54.5-24.4-54.5-54.5v-23c0-3.7.369-7.312 1.07-10.805Q78 106.089 78 107.5v23c0 30.1 24.4 54.5 54.5 54.5h1c30.1 0 54.5-24.4 54.5-54.5v-23q0-1.41-.07-2.805m-73.763 102.3c6.484 4.986 21.496 6.713 38.238 3.761 16.74-2.951 30.257-9.71 34.645-16.612q.102.379.171.767c1.71 9.695-13.236 20.434-33.38 23.987-20.146 3.552-37.863-1.428-39.573-11.123a9 9 0 0 1-.101-.78m11.868 28.926c8.192 5.654 24.387 5.923 41.069-.149s28.915-16.687 31.556-26.284q.215.48.396.98c4.527 12.436-8.077 28.441-28.151 35.748s-40.017 3.147-44.544-9.29q-.181-.498-.326-1.005" mask="url(&#39;#Hijab-mask2&#39;)" opacity=".16"></path></g></g></g>',1),Nf=[Vf];function Df(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Nf])}const _f={render:Df},Tf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairShavedSides-path2" d="M0 0h264v280H0z"></path><path id="LongHairShavedSides-path3" d="M156 180.611c17.53-8.328 30.048-25.496 31.791-45.744C193.57 134.002 198 129.02 198 123v-13c0-5.946-4.325-10.882-10-11.834V92c0-30.928-25.072-56-56-56S76 61.072 76 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V199h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4zM0 0h264v280H0z"></path><path id="LongHairShavedSides-path1" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><rect id="LongHairShavedSides-path4" width="112" height="150" x="0" y="0" rx="56"></rect></defs><mask id="LongHairShavedSides-mask2" fill="#fff"><use href="#LongHairShavedSides-path2"></use></mask><g id="Top/Long-Hair/Shaved-Sides" mask="url(&#39;#LongHairShavedSides-mask2&#39;)"><g transform="translate(-1)"><g id="Behind" fill="none" transform="translate(1)"><mask id="LongHairShavedSides-mask3" fill="#fff"><use href="#LongHairShavedSides-path3"></use></mask><path fill="var(--avataaar-hair-color)" d="M116.18 40H146c25.405 0 46 20.595 46 46v68.109c0 26.541 18.759 50.24 30.61 71.943s-7.355 42.19-26.84 50.717A38.5 38.5 0 0 1 180.332 280h-45.068c-56.352 0-65.046-63.69-67.566-133.496l2.52-62.36C71.213 59.48 91.497 40 116.179 40Z" class="CustomColor" mask="url(&#39;#LongHairShavedSides-mask3&#39;)"></path></g><g id="Top" fill="none" transform="translate(77 36)"><mask id="LongHairShavedSides-mask1" fill="#fff"><use href="#LongHairShavedSides-path4"></use></mask><path id="Shadow" fill="#000" d="M98.801 19.94C107.027 29.484 112 41.91 112 55.5v10-4c0-15.74-6.672-29.92-17.342-39.87q-46.107 16.57-77.717.378C6.505 31.937 0 45.958 0 61.5v4-10c0-13.607 4.987-26.05 13.233-35.6-3.834-3.04-4.974-11.713 6.234-15.023 11.845-3.499 9.84-18.079 27.99-20.803C65.61-18.65 63.972-11.375 81.03-12.35c17.057-.974 22.607-16.763 25.82-12.724 12.74 16.01 9.572 34.414-8.048 45.014Z" mask="url(&#39;#LongHairShavedSides-mask1&#39;)" opacity=".16"></path></g><path fill="#E0C863" d="M90.878 52.361q33.225 19.299 83.366 0c14.53-7.772 25.087-23.319 8.707-43.398-2.169-2.658-10.707 6.713-27.6 7.687s-13.271-3.3-31.248-.576-15.991 17.304-27.722 20.803c-11.73 3.498-9.803 12.987-5.503 15.484" class="CustomColor"></path></g></g></g>',1),Pf=[Tf];function Of(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pf])}const Ff={render:Of},Lf=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortRound-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortRound-path1" d="M167.309 35.006c-20.188-11.7-40.18-9.784-55.272-5.976s-24.02 14.621-31.68 30.618c-3.761 7.855-5.991 17.143-6.334 25.833-.135 3.412.325 6.934 1.245 10.22.337 1.205 2.155 5.386 2.654 2.008.167-1.125-.442-2.676-.5-3.871-.078-1.569.005-3.157.112-4.723.2-2.928.722-5.8 1.65-8.59 1.328-3.988 3.017-8.312 5.603-11.677 6.401-8.327 17.482-8.802 26.28-13.384-.764 1.405-3.707 3.68-2.688 5.263.705 1.094 3.37.762 4.643.727 3.349-.092 6.713-.674 10.02-1.147 5.214-.745 10.099-2.255 15.005-4.089 4.016-1.502 8.603-2.892 11.622-6.078 4.87 5.048 11.14 9.795 17.401 13.003 5.618 2.88 14.679 4.318 18.113 10.158 4.065 6.914 2.195 15.406 3.436 22.9.472 2.85 1.545 2.786 2.132.237.997-4.33 1.468-8.828 1.151-13.279-.718-10.048-4.405-36.453-24.593-48.153"></path></defs><mask id="ShortHairShortRound-mask2" fill="#fff"><use href="#ShortHairShortRound-path2"></use></mask><g id="Top/Short-Hair/Short-Round" mask="url(&#39;#ShortHairShortRound-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortRound-path1" transform="translate(-1)"></use></g></g>',1),$f=[Lf];function Hf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$f])}const Rf={render:Hf},zf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairBigHair-path1" d="M0 0h264v280H0z"></path><path id="LongHairBigHair-path2" d="M222.385 182.806c-5.374 5.712-10.737 9.322-10.554 15.194.317 11.889 43.608 47.051 5.169 69H16.005c-38.439-21.949 4.852-57.111 5.17-69 .182-5.872-5.18-9.482-10.555-15.194C5.247 177.094-.137 169.28.003 155c.941-29.028 31.369-26.412 31.2-46 .169-19-11.39-26.84 0-63C42.84 9.54 72.917.768 116.003.016V0l.5.008.5-.008v.016c43.086.752 73.163 9.523 84.8 45.984 11.388 36.16-.17 44 0 63-.17 19.588 30.258 16.972 31.2 46 .14 14.28-5.245 22.094-10.618 27.806m-39.501-87.481c-21.52-11.588-39.994-28.18-52.038-47.023C112.764 73.924 76.53 78.535 51.224 94.68A12 12 0 0 0 51 97v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V186h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C178.57 121.002 183 116.02 183 110V97q-.001-.853-.116-1.675"></path><path id="LongHairBigHair-path3" d="M222.385 182.806c-5.374 5.712-10.737 9.322-10.554 15.194.317 11.889 43.608 47.051 5.169 69H16.005c-38.439-21.949 4.852-57.111 5.17-69 .182-5.872-5.18-9.482-10.555-15.194C5.247 177.094-.137 169.28.003 155c.941-29.028 31.369-26.412 31.2-46 .169-19-11.39-26.84 0-63C42.84 9.54 72.917.768 116.003.016V0l.5.008.5-.008v.016c43.086.752 73.163 9.523 84.8 45.984 11.388 36.16-.17 44 0 63-.17 19.588 30.258 16.972 31.2 46 .14 14.28-5.245 22.094-10.618 27.806M93 186h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4v-46H93z"></path></defs><mask id="LongHairBigHair-mask2" fill="#fff"><use href="#LongHairBigHair-path1"></use></mask><g id="Top/Long-Hair/Big-Hair" mask="url(&#39;#LongHairBigHair-mask2&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairBigHair-path2" transform="translate(16 13)"></use><g id="Shadow" fill="none" transform="translate(16 13)"><mask id="LongHairBigHair-mask1" fill="#fff"><use href="#LongHairBigHair-path3"></use></mask><path id="Shadow-Mask" fill="#000" d="M30.099 115.057c-2.374 3.026-5.57 7.471-5.737 7.137 1.873-2.383 3.013-5.182 2.979-8.758.177-18.101-11.904-25.569 0-60.017.669-1.91 1.766-3.715 3.245-5.414-10.343 34.454.783 42.35.617 60.995.02 2.295-.38 4.285-1.104 6.057m172.32-67.052c1.48 1.7 2.577 3.504 3.245 5.414 10.158 29.394 2.852 39.144.6 52.617-.3.805-.069 1.754-.384 2.567-30.673-10.458-58.29-30.043-74.385-52.991-22.784 29.424-73.14 29.761-97.821 55.324.387-.544.754-1.051 1.084-1.49 22.536-29.919 73.489-29.122 96.088-61.144 15.398 24.088 41.818 44.648 71.163 55.625.301-.854.08-1.85.367-2.694 2.108-13.833 8.84-23.926.043-53.228" mask="url(&#39;#LongHairBigHair-mask1&#39;)" opacity=".16"></path></g><path id="Light" fill="#FFF" d="M50.758 122.446c22.536-29.919 73.489-29.122 96.088-61.144 15.398 24.088 41.818 44.648 71.163 55.625.301-.854.08-1.85.367-2.694 2.155-14.144 9.144-24.378-.573-55.233-11.637-36.46-41.714-45.232-84.8-45.984l-1-.016c-43.086.768-73.163 9.54-84.8 46-11.39 36.16.169 44 0 63 .032 3.753-1.059 6.691-2.85 9.193.183.402 4.153-5.756 6.405-8.747" opacity=".1"></path></g></g></g>',1),If=[zf];function Gf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...If])}const jf={render:Gf},qf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairStraight-path1" d="M0 0h264v280H0z"></path><path id="LongHairStraight-path2" d="M133.506 81.335A12 12 0 0 1 140 92v13c0 6.019-4.43 11.002-10.209 11.867-1.743 20.248-14.26 37.416-31.791 45.744V181h4c17.49 0 33.525 6.237 46 16.608V74c0-20.435-8.283-38.935-21.674-52.326S94.435 0 74 0C33.13 0 0 33.13 0 74v183.716c13.57-1.94 24-13.61 24-27.716v-45.577A72 72 0 0 1 46 181h4v-18.389a56.23 56.23 0 0 1-26-25.365v-61.98c9.147-2.975 18.778-7.249 28.342-12.77 15.403-8.894 28.09-19.555 36.724-30.099a87 87 0 0 0 7.044 15.488c8.768 15.186 21.114 26.349 33.89 32.032v.249q.6.1 1.18.26 1.162.484 2.326.91Z"></path></defs><mask id="LongHairStraight-mask1" fill="#fff"><use href="#LongHairStraight-path1"></use></mask><g id="Top/Long-Hair/Straight" mask="url(&#39;#LongHairStraight-mask1&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairStraight-path2" transform="translate(59 18)"></use><path id="Shadow" fill="#000" d="M192.506 99.335c4.869 1.773 9.757 2.737 14.494 2.813V92c0-20.435-8.283-38.935-21.674-52.326C198.717 53.065 207 71.565 207 92v123.608C194.525 205.237 178.49 199 161 199h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C194.57 134.002 199 129.02 199 123v-13a12 12 0 0 0-6.494-10.665m-2.326-.91a12 12 0 0 0-1.18-.26v-.248q.59.262 1.18.509ZM83 155.246a56.23 56.23 0 0 0 26 25.366V199h-4c-7.673 0-15.065 1.2-22 3.423z" opacity=".24"></path></g></g></g>',1),Wf=[qf];function Yf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wf])}const Uf={render:Yf},Xf=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortWaved-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortWaved-path1" d="M183.68 38.949c5.406-4.95 6.707-14.987 3.638-21.5-3.769-7.995-11.417-8.997-18.746-5.48-6.908 3.315-13.057 4.419-20.622 2.813-7.258-1.541-14.144-4.26-21.647-4.706-12.325-.733-24.3 3.839-32.7 13.053-1.603 1.758-2.894 3.768-4.115 5.805-.976 1.63-2.077 3.38-2.493 5.258-.198.894.17 3.098-.275 3.83-.48.79-2.296 1.515-3.069 2.102-1.567 1.189-2.924 2.53-4.18 4.047-2.666 3.222-4.133 6.587-5.368 10.572-4.102 13.245-4.45 28.998.854 42.004.707 1.734 2.898 5.352 4.186 1.638.255-.734-.334-3.194-.333-3.935.005-2.72 1.506-20.729 8.047-30.817 2.13-3.284 11.973-15.58 13.984-15.68 1.065 1.693 11.88 12.51 39.942 11.242 12.662-.572 22.4-6.26 24.738-8.727 1.028 5.533 12.992 13.816 14.815 17.224 5.267 9.846 6.435 30.304 8.445 30.265s3.453-5.237 3.867-6.23c3.072-7.375 3.595-16.632 3.267-24.559-.427-10.202-4.638-21.226-12.235-28.22Z"></path></defs><mask id="ShortHairShortWaved-mask2" fill="#fff"><use href="#ShortHairShortWaved-path2"></use></mask><g id="Top/Short-Hair/Short-Waved" mask="url(&#39;#ShortHairShortWaved-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortWaved-path1" transform="translate(-1)"></use></g></g>',1),Zf=[Xf];function Qf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zf])}const Kf={render:Qf},Jf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairBob-path1" d="M0 0h264v280H0z"></path><path id="LongHairBob-path2" d="M38 79.36V111c0 22.34 13.08 41.623 32 50.611v13.135c-19.637 2.688-35.359 7.418-46.615 6.254C9.162 179.53 1.496 150.796 1 126 .383 95.164 29.319 30.795 40 18 47.923 8.509 69.695.55 94 1s46.862 5.812 55 16c12.324 15.428 37.869 74.079 38 109 .094 24.8-9.537 49.66-23 51-11.08 1.103-26.524-1.489-46-3.003v-12.386c18.92-8.988 32-28.272 32-50.611V82.988q-14.282-7.286-25.846-17.647 4.812 7.944 10.46 13.532-40.526-11.37-64.473-38.528Q58.169 65.042 38 79.36"></path></defs><mask id="LongHairBob-mask1" fill="#fff"><use href="#LongHairBob-path1"></use></mask><g id="Top/Long-Hair/Bob" mask="url(&#39;#LongHairBob-mask1&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairBob-path2" transform="translate(39 19)"></use></g></g></g>',1),eh=[Jf];function th(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...eh])}const ah={render:th},nh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairStraight2-path1" d="M0 0h264v280H0z"></path><path id="LongHairStraight2-path2" d="M21 157.54V69.047c0-3.532.398-6.971 1.152-10.275C25.205 38.731 36.775 22.811 50 13c19.905-14.76 53.442-19.018 65.047-1.478C123.698 7.681 136.52 11.182 146 20c9.565 9.415 17.2 30.197 12.657 47.204q.158 1.898.158 3.837v21.851A12.01 12.01 0 0 0 149 83.166V83c-6.036-21.536-23.77-31.42-34.57-41.223C97.535 60.673 44.823 60.74 27 98v10c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V166c2.93 43.855-6.642 98.797-69 82 13.606-7.962 20.808-58.944 21-90.46m96 8.071c17.53-8.328 30.048-25.496 31.791-45.744a12.01 12.01 0 0 0 10.024-9.76v1.363a100 100 0 0 0 10.963 45.524l26.949 52.707c6.963 13.619 4.919 29.473-3.936 40.768C189.966 213.289 158.903 184 121 184h-4z"></path><path id="LongHairStraight2-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairStraight2-mask1" fill="#fff"><use href="#LongHairStraight2-path1"></use></mask><g id="Top/Long-Hair/Straight" mask="url(&#39;#LongHairStraight2-mask1&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairStraight2-path2" transform="translate(40 15)"></use><path id="Shadow" fill="#000" d="M67 113c17.823-32.335 70.535-32.393 87.43-48.792 10.778 8.49 28.462 15.059 34.533 33.66-6.071-21.444-23.755-31.308-34.533-41.09C137.535 75.672 84.823 75.74 67 113" opacity=".16"></path></g></g></g>',1),rh=[nh];function oh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...rh])}const ih={render:oh},lh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairSides-path1" d="M0 0h264v280H0z"></path><path id="ShortHairSides-path2" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><path id="ShortHairSides-path3" d="M6 28c-5.076.071-6-1.006-6-5C0 17.344 4.04 6.778 8 2c1.176-2.17 3.619-3.432 3 1-2.66 8.477.417 24.914-5 25m114 0c-5.417-.086-2.34-16.523-5-25-.619-4.432 1.824-3.17 3-1 3.96 4.778 8 15.344 8 21 0 3.994-.924 5.071-6 5"></path></defs><mask id="ShortHairSides-mask2" fill="#fff"><use href="#ShortHairSides-path1"></use></mask><g id="Top/Short-Hair/Sides" mask="url(&#39;#ShortHairSides-mask2&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairSides-path3" transform="translate(70 74)"></use></g></g></g>',1),sh=[lh];function ch(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sh])}const dh={render:ch},uh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairBun-path2" d="M0 0h264v280H0z"></path><path id="LongHairBun-path1" d="M114.94 28.337q-1.48.334-2.903.693c-15.092 3.808-24.02 14.621-31.68 30.618-3.761 7.855-5.991 17.143-6.334 25.833-.135 3.412.325 6.934 1.245 10.22.337 1.205 2.155 5.386 2.654 2.008.167-1.125-.442-2.676-.5-3.871-.078-1.569.005-3.157.112-4.723.2-2.928.722-5.8 1.65-8.59 1.328-3.988 3.017-8.312 5.603-11.677C91.188 60.521 95.765 43.206 133 41.671s48.749 25.79 52.183 31.63c4.065 6.914 2.195 15.406 3.436 22.9.472 2.85 1.545 2.786 2.132.237.997-4.33 1.468-8.828 1.151-13.279-.718-10.048-4.405-36.453-24.593-48.153-5.443-3.154-10.87-5.319-16.192-6.723C154.177 25.31 156 21.568 156 17.5 156 7.835 145.703 0 133 0s-23 7.835-23 17.5c0 4.092 1.846 7.857 4.94 10.837"></path></defs><mask id="LongHairBun-mask2" fill="#fff"><use href="#LongHairBun-path2"></use></mask><g id="Top/Long-Hair/Bun" mask="url(&#39;#LongHairBun-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairBun-path1" transform="translate(-1)"></use></g></g>',1),mh=[uh];function fh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...mh])}const hh={render:fh},ph=t.createStaticVNode('<g id="Top"><defs><path id="LongHairStraightStrand-path1" d="M0 0h264v280H0z"></path><path id="LongHairStraightStrand-path2" d="M8.461 88.694C8.161 89.744 8 90.854 8 92v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V181h-4c-15.619 0-30.076 4.973-41.875 13.423A73.9 73.9 0 0 1 0 170V74C0 33.13 33.13 0 74 0s74 33.13 74 74v96a73.9 73.9 0 0 1-4.125 24.423C132.076 185.973 117.619 181 102 181h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C135.57 116.002 140 111.02 140 105V92c0-1.69-.349-3.297-.979-4.755-12.956-2.188-27.542-7.476-41.872-15.75-12.132-7.004-22.503-15.237-30.48-23.743q5.14 11.862 12.45 20.783-19.013-8.285-25.892-26.639a100 100 0 0 1-1.18 2.762c-9.84 22.1-26.456 38.024-43.586 44.036"></path><path id="LongHairStraightStrand-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairStraightStrand-mask1" fill="#fff"><use href="#LongHairStraightStrand-path1"></use></mask><g id="Top/Long-Hair/Straight-+-Strand" mask="url(&#39;#LongHairStraightStrand-mask1&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairStraightStrand-path2" transform="translate(59 18)"></use><path id="Shadow" fill="#000" d="M59 102.419v6.419c19.945-3.088 40.59-20.448 52.046-46.18q.615-1.38 1.18-2.762 6.008 16.029 21.27 24.378a78 78 0 0 0 4.622 6.261q-19.012-8.285-25.891-26.639a101 101 0 0 1-1.18 2.762C99.59 92.39 78.944 109.75 59 112.838zm148-1.279v9.14c-14.953-.867-33.099-6.535-50.851-16.785-10.273-5.93-19.283-12.743-26.646-19.855a99 99 0 0 1-3.833-7.888c7.976 8.506 18.347 16.74 30.479 23.743 17.752 10.25 35.898 15.918 50.851 16.786z" opacity=".16"></path></g></g></g>',1),gh=[ph];function yh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...gh])}const kh={render:yh},xh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairTheCaesar-path1" d="M0 0h264v280H0z"></path><path id="ShortHairTheCaesar-path2" d="M1 64c.347 1.488 1.673 1.223 2 0-.463-1.554 3.296-28.752 13-36 3.618-2.517 23.008-4.768 42.313-4.754C77.409 23.259 96.42 25.51 100 28c9.704 7.248 13.463 34.446 13 36 .327 1.223 1.653 1.488 2 0 .72-10.298 0-63.726-57-63S.28 53.702 1 64"></path></defs><mask id="ShortHairTheCaesar-mask1" fill="#fff"><use href="#ShortHairTheCaesar-path1"></use></mask><g id="Top/Short-Hair/The-Caesar" mask="url(&#39;#ShortHairTheCaesar-mask1&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairTheCaesar-path2" transform="translate(75 34)"></use></g></g></g>',1),bh=[xh];function wh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bh])}const vh={render:wh},Eh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairCurly-path1" d="M0 0h264v280H0z"></path><path id="LongHairCurly-path2" d="M48.725 89.219A12 12 0 0 0 42 100v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V189h-4q-2.38 0-4.721.152a72 72 0 0 1-13.689-9.103A48 48 0 0 1 48 182c-26.51 0-48-21.49-48-48 0-14.41 6.349-27.335 16.402-36.134A43.8 43.8 0 0 1 8 72c0-21.84 15.911-39.962 36.774-43.41C51.019 11.89 67.12 0 86 0a43.8 43.8 0 0 1 22 5.886A43.8 43.8 0 0 1 130 0c18.88 0 34.981 11.89 41.226 28.59C192.09 32.039 208 50.16 208 72a43.8 43.8 0 0 1-8.402 25.866C209.65 106.665 216 119.591 216 134c0 26.51-21.49 48-48 48-4.72 0-9.281-.681-13.59-1.951a72 72 0 0 1-13.689 9.103A73 73 0 0 0 136 189h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C169.57 124.002 174 119.02 174 113v-13a11.99 11.99 0 0 0-5.476-10.073 24 24 0 0 1-3.235-1.47q-.63-.18-1.289-.291v-.453c-8.68-5.303-17.235-16.538-22.55-30.914C131.312 58.835 119.547 60 107 60c-11.961 0-23.212-1.059-33.02-2.921C68.756 71.064 60.465 82.043 52 87.423v.743a12 12 0 0 0-3.275 1.053"></path></defs><mask id="LongHairCurly-mask1" fill="#fff"><use href="#LongHairCurly-path1"></use></mask><g id="Top/Long-Hair/Curly" mask="url(&#39;#LongHairCurly-mask1&#39;)"><g transform="translate(-1)"><path id="Shadow" fill="#000" d="M105.985 27.764C114.013 26.627 122.796 26 132 26c10.358 0 20.183.794 29 2.216C183.451 38.75 199 61.56 199 88v17.044c-11.538-.371-25.169-14.28-32.55-34.245C156.312 72.835 144.547 74 132 74c-11.961 0-23.212-1.059-33.02-2.921-7.304 19.548-20.597 33.223-31.98 33.943V88c0-26.825 16.004-49.913 38.985-60.236" opacity=".16"></path><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairCurly-path2" transform="translate(25 10)"></use></g></g></g>',1),Ch=[Eh];function Sh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ch])}const Mh={render:Sh};function Bh(e,a){return t.openBlock(),t.createElementBlock("svg")}const Ah={render:Bh},Vh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairTheCaesarSidePart-path1" d="M0 0h264v280H0z"></path><path id="ShortHairTheCaesarSidePart-path2" d="M82.018 24.378c-7.032-.693-15.36-1.127-23.705-1.132C39.008 23.232 19.618 25.483 16 28 6.296 35.248 2.537 62.446 3 64c-.327 1.223-1.653 1.488-2 0C.28 53.702 1 1.726 58 1s57.72 52.702 57 63c-.347 1.488-1.673 1.223-2 0 .463-1.554-3.296-28.752-13-36-1.76-1.224-7.247-2.39-14.641-3.261L89 16z"></path></defs><mask id="ShortHairTheCaesarSidePart-mask1" fill="#fff"><use href="#ShortHairTheCaesarSidePart-path1"></use></mask><g id="Top/Short-Hair/The-Caesar-+-Side-Part" mask="url(&#39;#ShortHairTheCaesarSidePart-mask1&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairTheCaesarSidePart-path2" transform="translate(75 34)"></use></g></g></g>',1),Nh=[Vh];function Dh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Nh])}const _h={render:Dh},Th=t.createStaticVNode('<g id="Top"><defs><path id="LongHairCurvy-path1" d="M0 0h264v280H0z"></path><path id="LongHairCurvy-path2" d="M162.831 71.618A57 57 0 0 1 163 76v38c0 22.34-13.08 41.623-32 50.611V183h4c1.524 0 2.038.047 3.539.14-14.913 27.356-18.715 50.434-1.067 64.403 1.698 1.203 2.924 1.786 3.135 1.885 2.373 1.118 4.837 2.34 7.467 2.955 4.623 1.08 9.933-.373 14.557-.953 2.112-.266 4.217-.43 6.346-.436 2.565-.009 5.211.084 7.142 1.697 1.884 1.574 1.644 7.198-3.875 9.833 4.1 1.855 9.012-2.453 10.688-5.177 1.466-2.385 2.594-4.968 3.214-7.605.772-3.283.822-6.725.218-10.014-1.258-6.848-4.176-13.432-6.163-20.122-.732-2.466-1.686-5.165-2.102-7.69-.113-.684-.247-3.215-.141-3.744.078-.393.059-.797 1.415-1.176 3.916-1.096 8.007-2.933 10.852-5.52 3.365-3.058 5.119-7.03 6.533-10.979 2.24-6.252 3.523-12.947 4.113-19.44.122-1.349.191-2.695.215-4.047.015-.817-.085-1.747.008-2.565.153-1.34-.054-.987 1.248-1.874 4.257-2.9 7.58-7.122 9.71-11.37 3.346-6.672 3.782-13.708 1.066-20.467-2.253-5.607-5.827-11.235-11.392-14.846-2.137-1.386-4.392-2.643-6.61-3.93-1.21-.7-4.048-1.615-4.906-2.517-.6-.63.355-3.792.476-4.858.528-4.648-.08-9.157-1.165-13.696-2.394-10.008-12.033-26.149-15.903-35.662-3.325-8.172-8.136-55.3-65.031-55.026C51.69.473 41.419 50.438 33.716 59.774c-8.365 10.138-16.809 29.402-11.113 47.262-5.504 6.922-18.058 17.008-21.218 27.09-1.982 6.325-1.897 13.37.644 19.507 1.437 3.471 3.496 6.618 5.911 9.64 2.117 2.646 4.468 5.15 6.518 7.837 1.237 1.622 1.568 2.02 1.102 4.018-.92 3.94-2.819 7.725-4.466 11.475-2.552 5.81-4.697 11.22-5.014 17.413-.302 5.896 1.324 22.673 18.261 32.56a63 63 0 0 0 6.042 3.11c-1.09-3.396.146-15.524 2.343-20.032.56 1.55 1.511 3.043 2.536 4.398 1.6 2.115 5.374 7.409 10.147 7.655-1.937-2.984-4.02-4.998-4.624-8.598 3.977 1.96 9.634 3.747 14.262 3.582 3.404-.12 8.424-1.82 10.953-3.943-8.372 1.327-16.321-1.433-19.518-7.329-.667-1.23-1.174-2.52-1.468-3.86-.417-1.9-1.076-4.944-.191-6.697.215-.426.566-.86.984-1.29l-.197-.235c5.694-4.787 12.84-12.404 16.665-17.97q.106-.183.21-.367h.04l.085-.126A72.2 72.2 0 0 1 79 183h4v-18.389C64.08 155.623 51 136.339 51 114V76c0-2.463.159-4.888.467-7.267 3.942-1.263 7.898-2.455 11.932-3.528 4.456-1.186 14.399-3.114 18.29-4.01l2.736-2.98 1.063 1.955c2.158-.166 14.078-1.957 14.078-1.957l1.33-3.223c1.717 1.763 2.939 2.679 2.939 2.679 2.556-.209 13.653-.458 16.285-.426 0 0 7.34.258 9.12.328l1.668-.638.548 1.077c1.454.591 10.243 3.59 11.978 4.128l2.547-.906c1.12 2.694 3.94 2.354 6.276 4.481 2.503 2.279 7.226 4.024 10.574 5.905"></path></defs><mask id="LongHairCurvy-mask1" fill="#fff"><use href="#LongHairCurvy-path1"></use></mask><g id="Top/Long-Hair/Curvy" mask="url(&#39;#LongHairCurvy-mask1&#39;)"><g transform="translate(-1)"><path id="Top-Shadow" fill="#000" d="M100.9 42.465c-9.798 6.007-18.514 13.862-24.313 22.895-2.762 4.303-5.034 8.84-7.15 13.398a136 136 0 0 0-2.961 6.931c-.587 1.47-1.487 3.056-.64 4.599.517-.302.713-.194.388.347 2.692.734 6.434-1.335 8.767-2.099 4.763-1.56 9.53-3.033 14.408-4.331 4.456-1.186 14.399-3.114 18.29-4.01l2.736-2.98 1.063 1.955c2.158-.166 14.078-1.957 14.078-1.957l1.33-3.223c1.717 1.763 2.939 2.679 2.939 2.679 2.556-.209 13.653-.458 16.285-.426 0 0 7.34.258 9.12.328l1.668-.638.548 1.077c1.454.591 10.243 3.59 11.978 4.128l2.547-.906c1.12 2.694 3.94 2.354 6.276 4.481 3.092 2.814 9.569 4.816 12.66 7.263 1.108.876 2.143 1.792 3.183 2.726 1.156 1.037.985 1.188 1.36 2.378.113.356 1.256 2.199 1.743 2.35 1.733.536-10.154-30.486-13.417-34.453-3.368-4.094-25.211-31.654-54.174-30.752" opacity=".16"></path><g id="Hair" fill="none" transform="translate(26 16)"><mask id="LongHairCurvy-mask2" fill="#fff"><use href="#LongHairCurvy-path2"></use></mask><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairCurvy-path2"></use><path id="Shadow" fill="#000" d="M62.68 184.462c7.075-9.707-.531-36.675-6.552-46.661q25.256-11.495 99.746 4.247-7.192 13.279-5.868 23.71-6.806 8.363-11.246 17.383l-34.871 8.606q-33.054 3.98-41.21-7.285Z" mask="url(&#39;#LongHairCurvy-mask2&#39;)" opacity=".24"></path></g><path id="Lights" fill="#FFF" d="M79.04 170.094c-.059-.201-.205-.427-.405-.665q.205.331.405.665m-22.63-49.719a88.6 88.6 0 0 0 4.456 18.002c2.062 5.721 4.42 11.46 7.813 16.69 3.161 4.876 6.924 9.425 9.956 14.362-.797-.948-2.472-2.1-3.114-2.778a50 50 0 0 1-2.984-3.458c-1.923-2.443-3.637-5-5.294-7.583-3.252-5.073-5.69-10.576-7.803-16.08-4.15-10.807-8.313-23.913-4.666-35.33-.282.735.459 2.488.575 3.297.204 1.414.386 2.837.478 4.26.185 2.883.184 5.749.583 8.618m12.445 44.666c-1.358-1.731-3.881-3.097-5.442-4.762-1.415-1.51-2.511-3.2-3.506-4.94-2.255-3.94-3.737-7.964-4.217-12.37.11.523.918 1.427 1.173 1.856a85 85 0 0 1 1.788 3.124c1.097 2.04 2.013 4.15 3.122 6.187 2.038 3.74 4.63 7.36 7.082 10.905m4.677 18.458c1.115 1.962 2.04 3.966 2.625 6.102a42 42 0 0 1 .77 3.413c.07.369.082 1.696.258 2.27-2.215-4.291-3.905-8.835-6.543-12.942-2.604-4.054-5.947-7.781-9.446-11.281-3.695-3.695-7.41-7.182-9.392-11.847-1.725-4.06-2.391-8.218-1.99-12.556.002 1.911 1.757 4.622 2.363 6.469.83 2.527 1.489 5.105 2.737 7.507 2.126 4.089 5.959 7.243 9.165 10.688 3.553 3.816 6.946 7.762 9.453 12.177m-14.303-9.32a22 22 0 0 1 2.806 3.275c.898 1.285 1.556 2.636 2.145 4.05.507 1.217.73 3.482 1.527 4.498-2.578-3.146-5.233-6.117-7.011-9.69-.607-1.222-1.548-3.023-2.243-4.495.231.593 2.253 1.86 2.776 2.362m-10.326 6.349c2.838 4.25 6.548 8.081 8.974 12.528 2.83 5.187 4.075 10.807 4.326 16.54.119 2.711.112 5.465-.253 8.168-.196 1.448-.51 2.886-.869 4.312-.136.54-.84 1.926-.977 2.77-.29-10.54 1.454-21.082-4.027-30.903-2.596-4.65-6.586-8.616-9.679-13.018-2.782-3.959-5.498-7.841-7.713-12.074 1.356 1.716 3.8 3.065 5.316 4.769 1.899 2.134 3.348 4.58 4.902 6.908m11.2 44.319c-.032.204-.033.377.014.5l-.013-.5Zm-9.543-22.353c.001.496.816 1.518 1.04 2.035.52 1.209.946 2.478 1.157 3.76.418 2.529-.13 5.14-1.067 7.561-1.9 4.907-4.874 9.253-8.613 13.3 1.335-1.748 1.867-4.589 2.806-6.538.965-2 2-3.97 2.85-6.011 1.92-4.605 1.75-9.311 1.827-14.107M41.917 221.2c.401-.548.193-3.183.405-3.872.392-1.273 1.07-2.502 1.849-3.635-.416.699.198 2.466-.005 3.373-.332 1.489-1.17 2.932-2.249 4.134m57.69-178.453a.9.9 0 0 0-.239.297zm-14.76 21.584c1.42-1.246 2.177-4.19 3.156-5.78 1.125-1.825 2.418-3.579 3.645-5.356 2.432-3.524 4.726-6.984 7.72-10.19-.622.934-1.173 3.768-1.514 4.513a34.6 34.6 0 0 1-3.221 5.605c-2.86 4.044-5.93 7.803-9.786 11.208m-.535-10.21c.75-1.327 1.894-2.448 3.18-3.414-.573.503-.831 2.575-1.225 3.275-.795 1.412-1.953 2.63-3.196 3.772.664-.582.772-2.803 1.24-3.633Zm119.194 98.006-.041.31c-.002-1.525-.68-3.2-.76-4.769-.113-2.19.202-4.315 1.082-6.392 1.74-4.101 5.003-7.207 9.164-9.638-1.145.674-2.267 3.213-3.001 4.268-1.103 1.586-2.282 3.187-3.214 4.85-1.943 3.469-2.506 7.618-3.23 11.371m-1.508-21.646a23 23 0 0 1-.989 3.626c-.474 1.279-1.093 2.523-1.783 3.728-.43.75-1.98 2.327-1.978 3.157-.083-4.898 1.728-9.335 5.172-13.257-.378.657-.283 2.03-.422 2.746m-.801 35.238c3.656-.517 7.105 1.261 9.421 3.551 1.238 1.224 2.338 2.63 3.065 4.133.547 1.13.546 2.983 1.28 3.92-1.797-2.419-4.076-4.373-6.324-6.464-1.564-1.455-4.688-5.181-7.442-5.14m-.778 10.377c-.192-.065-1.934-.558-2.337-.32.597-.267 1.33-.592 1.987-.679 4.284-.569 9.492 3.141 10.067 6.721-.478-1.226-3.025-2.24-4.176-2.85-1.823-.967-3.564-2.137-5.541-2.872m1.809 7.811c.742.182 2.32 1.176 3.047 1.165-2.929.07-5.572-.255-8.391-.914.152.041 1.759-.456 1.811-.463 1.215-.172 2.357-.076 3.533.212m-11.345 13.857c4.288-.242 9.336.384 13.431 1.417a22.3 22.3 0 0 1 5.692 2.295c1.414.814 3.93 1.932 4.876 3.137-3.74-6.452-11.85-9.803-20.16-8.14-1.107.222-2.808 1.276-3.84 1.291Zm-.96 12.433c2.688-.965 5.661-1.894 8.583-2.029 2.771-.127 5.845.29 8.41 1.173-.883-.24-2.993.332-3.92.437-1.297.147-2.596.299-3.896.418a52 52 0 0 1-4.801.222c-1.14-.002-3.32-.54-4.376-.221M179.46 227.41c.253 3.972 2.552 7.434 5.931 10.08 3.583 2.805 8.379 4.082 10.98 7.829 1.267 1.825 1.943 3.95 1.834 6.098-.056 1.106-.334 2.218-.635 3.294-.197.708-.902 1.868-.901 2.559.031-3.887.084-8.412-2.636-11.673-2.731-3.274-7.493-4.427-10.829-7.115-3.278-2.642-5.765-6.094-6.325-9.985-.452-3.144-.23-8.626 3.03-10.76-.662.39-.53 2.374-.547 2.931a74 74 0 0 0 .098 6.742m-2.453 15.262c.396.52 2.57 1.151 3.208 1.51 1.456.817 2.865 1.746 4.02 2.877 2.317 2.266 3.81 5.445 3.918 8.494 0-.72-1.646-2.457-2.109-3.073-.768-1.022-1.635-1.969-2.518-2.917-2.154-2.31-4.39-4.564-6.52-6.891Zm52.162-88.882c1.204 1.05 2.01 2.357 2.675 3.709 1.53 3.12 1.815 6.717.589 10 .203-.704-.401-2.184-.571-2.898-.373-1.563-.955-3.04-1.563-4.542-1.18-2.916-2.134-5.648-4.184-8.202.53.668 2.328 1.3 3.054 1.933M171.51 41.983c0 .332.917 1.293 1.123 1.654.517.902.924 1.849 1.064 2.855.158 1.142-.035 2.259-.381 3.369-.206.66-1.184 1.934-1.184 2.528-.16-3.498-.933-6.86-.622-10.406m7.637 6.822c.165 1.243-.24 2.644-.964 3.742.132-.31-.454-2.383-.473-2.762-.059-1.173.07-2.38.146-3.552.001.64 1.183 1.763 1.291 2.572m-60.77 1.568a35 35 0 0 1-4.15 4.243c-1.023.89-2.984 1.89-3.764 2.91 3.501-5.711 7.546-10.638 12.302-15.63-.716.92-.903 2.916-1.428 3.993-.774 1.587-1.81 3.076-2.96 4.484m5.898 2.479c.57-.336 1.104-1.993 1.538-2.55a17 17 0 0 1 2.578-2.63c-.205.22-.602 2.044-.825 2.402-.723 1.16-2 2.107-3.29 2.778Z" opacity=".6"></path></g></g></g>',1),Ph=[Th];function Oh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ph])}const Fh={render:Oh},Lh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairDreads01-path1" d="M0 0h264v280H0z"></path><path id="ShortHairDreads01-path2" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><path id="ShortHairDreads01-path3" d="M185.832 73.929c1.757.988 3.148 10.899 3.216 14.689.042 2.338.08 11.256-2.394 10.485-.753-.235-1.902-4.956-2.066-7.719s-1.733-12.164-4.141-16.49c-.55-.988-2.126-2.723-1.445-3.56.844-1.036 1.664-.434 2.695-.02 1.115.45 3.937 2.504 4.135 2.615m.805-2.972c-.746.962-5.841-1.74-7.966-2.913-17.845-9.86-21.31-12.995-49.425-12.586-28.116.409-47.379 13.582-48.462 14.93-.754.937-1.716 3.44-2.508 10.413-.791 6.972.22 19.477-2.646 19.462-2.438-.013-2.97-23.786-1.916-33.217.161-1.448.784-4.038.333-5.34-.394-1.138-2.322-1.135-2.014-3.03.35-2.159 2.525-1.087 3.473-2.119 1.795-1.954-.974-2.417-1.433-4.126-.682-2.542 1.29-3.197 3.067-4 1.966-.887 1.71-.108 3.306-1.846-2.131-1.563-2.902-3.691.016-4.833 1.24-.485 4.465.157 5.436-.572.253-.19.353-1.28.51-1.502 1.55-2.219 1.168-3.825 1.01-6.316-.129-2.038-.112-3.909 2.329-4.112 1.628-.136 2.952 1.194 4.411 1.586 1.619.435 1.01.752 2.279-.121 2.226-1.533.711-4.52 2.476-6.303 2.423-2.446 4.01 1.14 5.956 1.41 4.222.588 2.867-3.7 5.367-5.272 2.988-1.876 3.277 2.251 5.143 2.398 1.617.127 4.529-2.993 5.938-3.575 4.183-1.726 6.255 3.13 10.237 2.511 2.89-.45 3.67-.816 6.277.828 2.53 1.595 3.132.454 5.998.432 2.025-.016 3.265 1.676 4.959 1.853.844.088 1.653-.792 2.56-.737 3.237.197 3.442 4.383 6.014 5.536 2.35 1.053 5.112-.427 7.445-.7 5.69-.668 1.793 4.647 1.954 7.819 2.233.52 4.5-1.564 6.724-1.18 3.502.604 2.18 4.233 1.368 6.68 2.427-.044 8.76-2.737 10.332.707.81 1.776-1.078 4.147-1.047 5.952.043 2.542 1.91 4.645 2.571 7.05.892 3.247 2.163 11.95-.072 14.833"></path></defs><mask id="ShortHairDreads01-mask2" fill="#fff"><use href="#ShortHairDreads01-path1"></use></mask><g id="Top/Short-Hair/Dreads-01" mask="url(&#39;#ShortHairDreads01-mask2&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairDreads01-path3" transform="translate(1)"></use></g></g></g>',1),$h=[Lh];function Hh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$h])}const Rh={render:Hh},zh=t.createStaticVNode('<g id="Top"><defs><path id="Turban-path1" d="M0 0h264v280H0z"></path><path id="Turban-path2" d="M156 180.611c17.53-8.328 30.048-25.496 31.791-45.744C193.57 134.002 198 129.02 198 123v-13c0-5.946-4.325-10.882-10-11.834V92c0-30.928-25.072-56-56-56S76 61.072 76 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V199h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4zM0 0h264v280H0z"></path><path id="Turban-path3" d="M83.972 55.817C107.404 69.414 145.115 82.111 139 138q29.066-8.46 29-46.676C167.918 44.148 115.85 0 86 0q-1.012 0-2.008.088A23 23 0 0 0 82 0C52.074 0 .08 44.148 0 91.324Q-.067 130.498 29 138c-6.138-55.889 31.51-68.586 54.972-82.183"></path></defs><mask id="Turban-mask1" fill="#fff"><use href="#Turban-path1"></use></mask><g id="Top/Accesories/Turban" mask="url(&#39;#Turban-mask1&#39;)"><g id="Turban"><path id="Band" fill="#EDECE3" d="M74.53 97.5c-1-2.41-1.53-4.92-1.53-7.5 0-18.225 26.415-33 59-33s59 14.775 59 33c0 2.58-.53 5.09-1.53 7.5C183.398 82.888 159.972 72 132 72S80.602 82.888 74.53 97.5"></path><use fill="var(--avataaar-top-color)" class="CustomColor" href="#Turban-path3" transform="translate(48 3)"></use><path id="Shadow" fill="#000" d="M48.011 96.012q.555 37.65 28.99 44.988-29.068-7.066-29-43.97 0-.51.01-1.018m104.635-65.544c.744 5.727-.52 12.421-4.646 19.668-11.153 21.43-71.439 21.868-71.666 79.544-.229-61.919 60.471-62.3 71.666-85.136 2.67-4.977 4.141-9.709 4.646-14.076" opacity=".16"></path></g></g></g>',1),Ih=[zh];function Gh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ih])}const jh={render:Gh},qh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairDreads-path1" d="M0 0h264v280H0z"></path><path id="LongHairDreads-path2" d="M85.718 185.073A73 73 0 0 1 89 185h4v-18.389a56.22 56.22 0 0 1-26.789-26.99c-2.764-8.607-2.6-17.934-3.21-26.795-.805-11.68-.112-23.078 2.536-34.578 2.39-10.376 5.824-15.941 13.626-24.255 4.36-4.646 10.905-4.915 17.42-6.564 6.593-1.67 12.611-4.21 16.735-8.99 9.083 10.41 33.354 6.664 42.236 18.01 10.802 13.798 10.923 22.7 12.193 38.643.953 11.951-.528 33.564-.943 46.538A56.24 56.24 0 0 1 141 166.611V185h4c6.636 0 13.062.898 19.163 2.578-2.05 3.174-4.494 6.18-7.051 8.973-3.831 4.188-7.681 8.52-12 12.367-4.941 4.401-9.668 7.597-12.668 13.082-1.358 2.483-3.737 5.094-1.22 7.817 2.3 2.487 5.925 1.975 8.386.175 3.637-2.66 6.338-6.858 9.69-9.915-3.238 5.815-7.742 14.484-5.43 21.005.787 2.217 1.586 2.173 2.802 3.65q2.88.066 2.276 2.606l.54 1.451c1.456 2.594 4.243 4.41 7.78 3.188 11.56-3.994-1.775-21.961 10.953-27.302 2.278 2.83-1.086 10.779-1.177 14.256-.111 4.287.122 14.013 6.642 15.179 8.496 1.52 5.22-6.597 5.555-10.05.39-4.016 2.86-9.312 4.87-12.869-1.222 3.78-3.508 12.154 2.817 13.87 7.317 1.986 6.481-6.586 7.592-10.15.229 5.275 7.045 17.749 13.205 7.896 3.173-5.076 1.009-13.441.66-18.854 4.414 4.56 7.94-1.35 7.84-4.63 1.677 4.752 7.982 18.002 13.57 7.485 3.398-6.395-.226-14.985-2.483-21.16 5.944.52 4.75-5.236 3.864-8.095-1.307-4.222-.61-4.841-.34-9.206 8.25 4.805 7.997-8.234 7.542-11.432-1.146-8.051-7.409-15.261-12.243-22.052-3.466-4.871-9.935-13.352-8.038-19.226 1.957 2.468 6.507 2.442 8.316-.142 1.532-2.188-.091-5.796-.83-7.982-2.021-5.98-6.06-9.844-9.711-14.981-7.108-10.001-6.086-23.133-6.743-34.313-.82-13.949-3.814-27.68-16.48-37.827-6.787-5.437-15.058-9.914-21.37-15.682-1.722-1.573-2.45-3.521-4.066-5.038-1.813-1.701-2.66-1.298-4.158-3.72-2.668-4.315-5.802-8.355-12.25-8.558-4.22-.132-9.556 3.43-13.359 2.909-3.122-.427-5.094-4.879-7.656-6.373-3.966-2.312-6.734-1.414-10.972-.075-6.31 1.994-10.33 2.689-16.755.306C97.69 2.539 93.565-.846 88.402.357c-4.05.945-5.858 4.213-8.244 6.718-2.46 2.586-1.271 1.73-4.87 2.305-3.68.588-6.586 1.122-9.378 3.532-4.512 3.895-1.386 9.955-4.953 13.389-1.925 1.854-5.935 2.737-8.165 4.654-2.434 2.092-4.424 4.635-6.248 7.11-3.551 4.823-5.976 10.079-8.58 15.281-4.843 9.681-9.161 19.671-11.002 30.072-.945 5.347-2.538 10.577-3.512 15.912-.75 4.115-.43 8.622-1.896 12.617-1.74 4.74-5.899 9.096-8.152 13.757-2.988 6.183-4.994 12.115-5.63 18.771-.624 6.544 1.113 12.311 1.879 18.727.443 3.717-.324 4.139-2.88 7.647-1.967 2.7-3.96 5.373-5.225 8.378-2.361 5.615-2.23 11.077 1.879 16.013 2.82 3.388 12.299 6.933 11.523-.618-.36-3.508-4.772-5.095-3.93-9.12.584-2.787 3.425-4.715 6.874-5.577 2.436-.608 3.636-.582 4.735 2.09.996 2.42-.325 7.706-.63 10.25-.123 1.023-.305 1.92-.428 2.867-.868 6.674-1.028 12.815-4.682 18.944-2.244 3.766-6.636 9.073-1.628 12.703 3.959 2.87 10.79 1.121 13.877-1.882 3.256 4.027 2.532 8.423 1.314 12.869-.756 2.76-2.824 6.802.431 9.033 4.408 3.021 11.603-1.738 14.908-4.14 1.91 4.268 3.703 19.827 11.235 10.552 2.198-2.705 5.858-5.344 6.555-8.534 1.156-5.29.326-10.858.804-16.202 2.404 6.997 4.038 9.787 5.51 16.97.884 4.321 1.231 18.82 10.174 16.91 6.88-1.47 2.48-10.524 1.601-14.215-1.683-7.07-2.496-10.063-4.122-17.14 2.533 4.626 4.746 9.371 7.18 14.034 2.39 4.58 13.078 14.027 16.205 10.05 3.127-3.978-4.496-9.645-6.23-14.46-3.609-10.024-7.98-20.006-9.017-30.508-.499-5.049.436-9.712.846-14.703.28-3.41-.141-6.902-.812-10.34"></path></defs><mask id="LongHairDreads-mask2" fill="#fff"><use href="#LongHairDreads-path1"></use></mask><g id="Top/Long-Hair/Dreads" mask="url(&#39;#LongHairDreads-mask2&#39;)"><g transform="translate(-1)"><g id="Hair" transform="translate(16 14)"><mask id="LongHairDreads-mask1" fill="#fff"><use href="#LongHairDreads-path2"></use></mask><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairDreads-path2"></use><path id="Shadows" fill="#000" d="M85.718 185.073A73 73 0 0 1 89 185h4v-18.389a56.22 56.22 0 0 1-26.789-26.99 37 37 0 0 0 1.95 4.888c5.756 11.833 13.257 22.412 16.327 35.08.435 1.798.869 3.633 1.23 5.484m78.445 2.505A72 72 0 0 0 145 185h-4v-18.389a56.24 56.24 0 0 0 25.502-24.404c-.077 2.994-.01 5.972.373 8.849 1.07 8.044 4.001 15.31 2.64 23.58-.744 4.532-2.725 8.875-5.352 12.942" mask="url(&#39;#LongHairDreads-mask1&#39;)" opacity=".24"></path><path id="Highlights" fill="#FFF" d="M49.36 108.248c-.124-2.422-1.98-10.537.329-11.939 2.53-1.537 2.002 7.707 2.028 8.654.044 1.537 1.211 13.135-.927 13.084-2.132-.051-1.347-8.219-1.43-9.799m8.435 57.75c-.009 1.014-1.072.953-1.832.688-.937-.328-.363-2.484-.413-3.191-.13-1.86-1.023-7.338.34-8.873 2.726-3.069 1.916 9.948 1.905 11.376m-25.674 13.163c1.93-.054.144-37.832-2.821-37.79-2.083.03 1.361 37.827 2.821 37.79m2.232 19.355c-2.397 0-1.957 8.462-.545 9.139 2.14 1.025 3.227-9.139.545-9.139m15.237 3.539c.021 1.058-1.179 1.074-1.98.744-.908-.376-.528-3.506-.563-4.2-.114-2.188-2.017-10.672-.286-12.231 1.974-1.778 2.017.173 2.548 1.498 1.564 3.903.197 10.032.28 14.189Zm140.652-79.722c.11 1.463 1.069 11.018-.524 11.746-2.742 1.254-1.561-4.65-1.55-5.413.107-7.437-.969-14.812-1.787-22.21-.155-1.404-2.625-12.224-.816-13.12 2.707-1.342 2.303 2.245 2.458 3.41 1.129 8.468 1.628 17.078 2.22 25.587Zm-3.219 33.254c-2.532-.502-3.858 8.094-2.702 9.016 1.917 1.53 5.35-8.49 2.702-9.016m-.268 37.798c-1.139-.226-9.433 15.733-8.75 16.635 1.299 1.719 12.829-15.82 8.75-16.635m-20.422 7.374c-1.782-.803-9.334 10.75-7.406 11.619 1.748.786 9.561-10.652 7.406-11.62Zm42.092-43.312c-2.15 0-2.055 11.822-.4 12.568 1.711.77 2.942-12.568.4-12.568M178.14 48.844c-.609-.87-7.175-8.62-2.472-7.513 2.291.539 5.448 7.352 6.481 9.41.594 1.183 3.985 6.46.392 6.086-.977-.101-3.59-6.82-4.401-7.983m-23.092-15.488q-1.27.572.042 1.072 1.27-.57-.042-1.072m-84.43 8.13c-2.004 1.844-9.542 12.519-12.125 12.626-4.707.195 4.278-9.025 5.297-10.198.455-.527 2.486-3.092 3.722-3.723 1.261-.643 5.444-.859 3.107 1.295ZM43.255 69.981c-2.183-.43-5.835 10.264-4.56 11.555 1.923 1.95 7.007-11.07 4.56-11.555m24.939 119.011c.412 1.341 4.631 11.08 3.571 12.361-1.621 1.958-2.087-.817-2.617-1.967-1.178-2.555-4.238-8.846-3.746-11.536.477-2.608 2.375-.201 2.792 1.142m-8.207 22.824c-2.295 0-2.03 9.802-.663 10.385 2.116.902 3.478-10.385.663-10.385m161.805-8.37c.137.604 2.054 5.563-.663 4.845-1.562-.413-1.802-4.785-2.201-6.11-1.23-4.086-5.28-9.163-5.632-13.194-.34-3.897 1.84-2.412 3.515.889 2.236 4.407 3.913 8.87 4.981 13.57m-19.702-.495c-2.132-.01-2.235 10.773-.902 11.402 1.864.878 3.621-11.402.902-11.402m6.16-88.297c1.582-.412-3.41-13.325-5.177-13.183-2.695.217 2.776 13.803 5.178 13.183Zm-26.815 56.093q-1.27.57.043 1.071 1.27-.57-.043-1.071m-24.218 55.24c.794 0 1.121-1.223-.051-1.25-.775.006-1.184 1.25.051 1.25M58.684 170.63c.03-1.909-2.469-.51-2.453 1.101.032 3.214 2.4 1.746 2.453-1.101m-6.165-47.746c-.804 0-1.134 1.236.05 1.266.785-.006 1.198-1.266-.05-1.266m-19.132 62.51c-.078-1.941-1.7.043-1.61.046.288.007 1.67 1.417 1.61-.046M37.6 84.063c-2.368 0-2.025 5.754-.514 6.123 2.52.616 2.865-6.123.514-6.123m12.613 124.263c-2.286 0-2.44 7.814-.863 8.3 2.451.754 3.243-8.3.863-8.3m-18.756 5.606q-1.308.587.042 1.103 1.309-.585-.042-1.103m169.999 3.35c-2.32 0-2.23 9.554-.805 10.2 1.99.902 3.488-10.2.805-10.2m-23.51 8.88c-2.411-.482-3.674 7.405-2.55 8.29 1.852 1.459 5.025-7.796 2.55-8.29m-20.48 7.29c-1.998 0-1.508 3.574-.355 4.106 1.994.92 2.583-4.107.354-4.107ZM86.48 19.508c-1.672 0-12.16 4.744-8.24 6.15 2.396.859 12.497-6.15 8.24-6.15" mask="url(&#39;#LongHairDreads-mask1&#39;)" opacity=".3"></path></g></g></g></g>',1),Wh=[qh];function Yh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wh])}const Uh={render:Yh},Xh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairDreads02-path1" d="M0 0h264v280H0z"></path><path id="ShortHairDreads02-path2" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><path id="ShortHairDreads02-path3" d="M153.503 98.874C157.9 100.654 161 104.965 161 110v13c0 5.288-3.42 9.776-8.168 11.375a55.7 55.7 0 0 1-11.076 29.29c.209.807.41 1.625.556 2.503.55 3.327-.12 6.093 1.645 9.093.457.78 1.183 1.247 1.522 2.144.533 1.415-.232 4.594 1.95 4.595 3.106 0 1.374-5.966.596-7.384-1.525-2.772-2.462-3.45-2.383-7.044 1.745 1.16 7.53 3.376 9.448 2.316 4.432-2.448-6.662-4.936-7.438-5.453 1.704-1.666 3.656-2.55 5.197-4.746 1.26-1.793 2.406-4.397 4.55-4.501 1.186-.058 4.657 2.884 5.71.866.964-1.85-1.115-2.122-1.928-2.777-1.502-1.21-1.84-.006-1.474-2.134 1.085 1.165 2.789.429 3.244-1.015.49-1.559-1.127-2.024-1.097-3.014-.012.387.834-5.115.7-4.938.86-1.135 3.908-.784 5.413-.62 2.296.248 2.164.317 3.255 2.436.882 1.715 3.198 5.178 3.707.641.121-1.085-.869-3.404-1.45-4.338-.627-1.007-2.517-1.643-2.912-2.427-.944-1.87 2.165-6.034 1.639-8.854 1.093.418 3.857 6.927 5.198 1.599.707-2.8-6.505-8.945-3.514-9.894 2.289-.726 4.612 2.225 5.25 4.044.473 1.348.26 4.238 1.068 5.353 3.036 4.203 3.41-2.74 3.157-4.572-.559-4.026-1.984-6.988-5.623-8.51 1.295-1.607-.345-2.887-1.275-3.893 1.528-1.657 11.437.104 9.208-4.327-.538-1.072-2.481-1.262-3.467-1.655-2.49-.992-4.985-3.01-6.257-5.562 1.841-.46 7.28.798 6.565-2.996-.563-2.982-5.403-2.067-7.278-1.61 1.692-1.016 4.973-.174 5.434-2.941.531-3.183-3.288-3.076-5.08-2.402-.422-3.358 5.53-5.83 7.213-8.4.568-.867 1.47-1.164.746-2.633-1.306-2.643-4.68 1.086-5.792 2.09.876-1.628 3.32-8.403 2.95-10.122-.546-2.526-2.353-2.615-3.79-.568-.93 1.33-1.19 4.703-1.68 6.427-2.04-1.537-2.143.246-2.248-2.191-.068-1.58 2.002-4.701 2.532-6.248.456-1.329 1.668-3.76.943-5.046-1.776-3.143-3.473 1.172-3.94 2.652-.789-3.411 2.214-6.057 3.103-9.431.541-2.048 1.976-7.578-.51-8.561-3.394-1.341-2.2 4.956-2.678 7-.365 1.559-.922 4.077-2.139 4.845-.176.111-2.82.343-2.948.193-1.734-2.021 3.038-6.447 3.284-8.351.223-1.73-.44-2.825-2.061-2.929-.81-.051-2.12 1.2-2.495 1.119-1.48-.322.447-7.089.587-8.967.15-2.003-.094-7.172-3.483-4.785.227-2.697.364-5.236.734-7.891.195-1.4 1.398-2.645-.374-3.767-2.156-1.365-3.35 1.492-3.842 3.168-.846 2.885.9 7.375-3.158 7.466-4.665.106-1.444-4.73-1.215-7.868.128-1.74-1.012-6.421-3.262-3.263-.896 1.259-.587 5.694-1.084 7.183-1.106-.493.733-4.515-.23-5.564-2.06-2.247-3.788 1.026-5.099 1.692-.086-1.445-.187-2.891-.248-4.338-.093-2.2 1.255-6.83-.113-8.347-2.337-2.59-3.823.431-4.506 2.523-.613 1.884-.697 3.744-3.233 4 .208-2.717-2.258-8.436-1.035-10.727.553-1.035 1.679-.301 2.179-1.46.821-1.902-.524-2.71-1.986-2.771-6.792-.286-1.562 9.134-3.969 11.491-1.099-1.04.072-2.113-1.065-3.596-1.223-1.595-3.173-1.46-4.918-.738-.056-1.613 2.364-12.92-3.08-7.817-1.352 1.271-.974 3.393-1.693 4.886-.696 1.445-2.39 3.598-3.341 4.771-.51-2.067.272-4.63.82-6.666.38-1.415 2.931-5.805 2.387-7.244-1.58-4.167-6.323 2.72-7.572 3.832-1.582 1.41-7.88 6.045-9.901 4.64-.701-.487-.07-2.29-1.027-3.128-.47-.41-2.477-.6-3.05-.548.358-1.494-.346-3.427-2.055-2.91-2.149.65-1.219 3.838-2.58 5.002-2.53 2.164-5.535-2.112-8.245-1.992.414-1.755 3.485-8.062-1.399-6.144-1.246.49-2.13 3.351-2.44 4.54-.792 3.036-.222 3.593-3.509 4.45.257-1.76-.2-3.948.649-5.521.696-1.289 4.305-4.645.462-5.063-4.74-.516-4.274 7.672-4.855 10.44-4.206-2.549-6.974 1.098-9.48 4.252.447-1.419 1.553-15.557-2.965-11.237-1.292 1.237.138 3.066.05 4.478-.078 1.28-.5 2.422-.995 3.618-.796 1.921-1.72 3.887-2.974 5.524-1.573 2.059-1.015 2.22-2.82.823-2.425-1.873-3.577-6.624-3.457-9.525.09-2.16 1.196-6.548-2.384-5.531-3.507.996-1.649 7.974-1.296 10.453.381 2.687.635 5.436.183 8.173-2.984-3.05-3.42 3.302-4.017 4.385-.98 1.777-2.868 2.647-4.335 3.86-.8-2.794 2.405-5.157 1.77-7.38-1.194-4.165-4.571 1.716-5.313 2.87-.619.963-2.635 6.442-3.365 6.933-1.023.69-7.605-2.527-8.27-3.14-1.223-1.125-.778-4.272-2.316-4.99-4.72-2.197-1.932 5.735-1.005 7.375 2.419 4.284 3.516 9.456 2.949 14.504-.858-.302-1.915-1.312-2.468-2.077-1.076-1.49-.685-3.865-1.808-4.987-3.288-3.28-3.673 2.878-3.406 4.791.5 3.588 2.291 4.75 3.778 7.734 1.368 2.75-.445 6.069-.828 9.125-3.429-3.3-18.195-.543-14.396 4.502 1.978 2.633 4.318-2.377 6.598-2.25 4.083.225 6.235 5.295 5.967 8.846-.497-1.898-2.422-3.761-3.746-1.444-.897 1.573.635 4.26 1.374 5.823-.906-.444-5.372-2.52-6.246-2.161-3.44 1.414 1.3 4.151 2.537 4.698 4.224 1.868 6.887 3.92 8.2 8.992-2.367-.757-1.955-1.878-3.552-3.043-1.466-1.07-1.74-.518-3.09-.868-2.362-.611-5.441-1.427-8.11-.318-1.97.819-5.287 3.31-5.906 5.65-.757 2.874.844 3.606 2.904 2.143 2.45-1.739 2.897-5.105 6.583-4.96 1.769.068 3.52.995 4.64 2.325.835.993 1.323 2.43 2.12 3.495.703.94 2.564 2.259 2.957 3.254 1.418 3.595-1.276 6.795-3.083 9.314-.419-.554-3.477-1.758-4.11-1.878-2.94-.561-4.037.798-2.199 3.512.58.856 1.798 1.216 2.436 1.994.711.87 1.112 2.2 1.818 3.144 1.393 1.863 3.115 2.822 4.778 4.322-.613.41-.546-.624-1.102-.41-.404.156-1.107-.155-1.617.014-.828.275-.718 1.717-1.248 1.929-3.299 1.314-6.627-3.615-9.586-3.775-1.614-.088-2.975.994-2.2 3.022.538 1.412 2.87 2.178 4.036 2.767 3.246 1.644 6.478 2.868 9.948 1.607 2.797 2.438 6.159 3.64 9.674 3.675-2.011.998-4 2.235-4.702 4.721-1.189-1.23-4.108-6.952-5.633-2.462-1.045 3.087 3.723 6.871 5.92 8.262-2.555.755-4.677.907-7.277.607-1.357-.156-4.337-1.974-3.238 1.748 1.182 4.016 8.24 2.21 10.48 1.516.083-1.198-10.77 12.108-3.158 9.489 2.176-.748 2.385-5 5.418-5.373 3.503-.43 3.855 3.077 5.882 5.646 1.01 1.282 5.67 4.165 5.449 5.265-.191.952-2.75 1.496-3.293 2.828-.633 1.55-.347 2.746.532 4.078 1.538 2.333 4.36 2.691 6.592 3.604 3.164 1.295 4.31 2.867 5.73 6.217-2.502.12-9.62 7.36-5.258 8.648 1.625.48 1.372-.966 2.049-1.765l.821-1.545q.687-1.797 1.52-.22c.123-.031 1.61.388 1.947.409 1.708.105 2.85-1.192 4.266-1.893 1.023-.506 2.024-.418 2.795-1.586-.089.135.554-2.51.565-2.536.276-.637.985-.547 1.31-1.234-8.749-9.085-14.457-21.119-15.489-34.464C36.42 132.776 33 128.288 33 123v-13c0-5.035 3.1-9.345 7.497-11.126.531.374 1.27 0 1.503-.842-.463-1.506 3.296-27.854 13-34.876 3.618-2.438 23.008-2.619 42.313-2.606 19.096.014 38.108.195 41.687 2.606 9.704 7.022 13.463 33.37 13 34.876.233.843.972 1.216 1.503.842"></path></defs><mask id="ShortHairDreads02-mask2" fill="#fff"><use href="#ShortHairDreads02-path1"></use></mask><g id="Top/Short-Hair/Dreads-02" mask="url(&#39;#ShortHairDreads02-mask2&#39;)"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairDreads02-path3" transform="translate(36)"></use></g></g></g>',1),Zh=[Xh];function Qh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zh])}const Kh={render:Qh},Jh=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat1-path3" d="M0 0h264v280H0z"></path><path id="WinterHat1-path1" d="M120 54H20v101c0 5.523-4.477 10-10 10s-10-4.477-10-10V44C0 19.7 19.7 0 44 0h52c24.3 0 44 19.7 44 44v111c0 5.523-4.477 10-10 10s-10-4.477-10-10z"></path><rect id="WinterHat1-path2" width="118" height="36" x="74" y="50" rx="8"></rect></defs><g id="Top/Accessories/Winter-Hat-1" transform="translate(-1)"><g id="hat" transform="translate(63 20)"><path id="inside" fill="#F4F4F4" d="M1 48h22.671v105.664c0 6.26-5.075 11.336-11.335 11.336S1 159.925 1 153.664zm115.329 0H139v105.664c0 6.26-5.075 11.336-11.336 11.336-6.26 0-11.335-5.075-11.335-11.336z"></path><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat1-path1"></use></g><g id="hat-front"><use filter="url(&#39;#WinterHat1-path2&#39;)" href="#WinterHat1-path2"></use><use fill="#F4F4F4" href="#WinterHat1-path2"></use></g></g></g>',1),ep=[Jh];function tp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ep])}const ap={render:tp},np=t.createStaticVNode('<g id="Top"><defs><filter id="filter5" width="107.7%" height="126.7%" x="-3.8%" y="-6.7%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter6" width="113.3%" height="113.8%" x="-6.7%" y="-3.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter7" width="113.3%" height="113.8%" x="-6.7%" y="-3.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter1" width="107.7%" height="115.4%" x="-3.8%" y="-3.8%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter2" width="105%" height="110%" x="-2.5%" y="-2.5%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter3" width="105.4%" height="110.8%" x="-2.7%" y="-2.7%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter4" width="103.6%" height="107.4%" x="-1.8%" y="-1.9%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><path id="LongHairFrida-path2" d="M0 0h264v280H0z"></path><path id="LongHairFrida-path1" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairFrida-mask1" fill="#fff"><use href="#LongHairFrida-path2"></use></mask><g id="Top/Long-Hair/Frida" mask="url(&#39;#LongHairFrida-mask1&#39;)"><g transform="translate(-1)"><path fill="var(--avataaar-hair-color)" d="M189 97.937v.229a12.01 12.01 0 0 1 9.893 10.227A16.44 16.44 0 0 0 203 97.5c0-2.13-.404-4.166-1.138-6.035A16.45 16.45 0 0 0 207 79.5c0-5.836-3.03-10.964-7.602-13.898A16.4 16.4 0 0 0 201 58.5c0-7.635-5.185-14.058-12.227-15.941q.226-1.499.227-3.059c0-11.322-9.178-20.5-20.5-20.5-2.63 0-5.143.495-7.453 1.397C157.317 15.306 151.295 12 144.5 12c-4.262 0-8.22 1.3-11.5 3.527A20.4 20.4 0 0 0 121.5 12c-6.795 0-12.817 3.306-16.547 8.397A20.5 20.5 0 0 0 97.5 19C86.178 19 77 28.178 77 39.5q.001 1.56.227 3.059C70.185 44.442 65 50.865 65 58.5c0 2.192.427 4.284 1.203 6.197C60.75 67.39 57 73.007 57 79.5c0 5.438 2.63 10.261 6.689 13.267A16.5 16.5 0 0 0 63 97.5c0 4.175 1.55 7.987 4.107 10.893A12.01 12.01 0 0 1 77 98.166v-.23l.083.064c2.903-47.147 48.47-30.258 55.917-56.664 7.447 26.406 53.014 9.517 55.917 56.664zm-80 82.674v4.2a16.6 16.6 0 0 1-2.5.189c-6.82 0-12.675-4.139-15.188-10.042C82.754 174.348 76 167.213 76 158.5c0-1.471.192-2.897.554-4.254C69.858 152.144 65 145.889 65 138.5c0-3.744 1.247-7.198 3.35-9.967a12.01 12.01 0 0 0 8.859 6.334c1.743 20.248 14.26 37.416 31.791 45.744m48 0v4.2q1.224.188 2.5.189c6.82 0 12.675-4.139 15.188-10.042 8.558-.61 15.312-7.745 15.312-16.458 0-1.471-.192-2.897-.554-4.254C196.142 152.144 201 145.889 201 138.5c0-3.744-1.247-7.198-3.35-9.967a12.01 12.01 0 0 1-8.859 6.334c-1.743 20.248-14.26 37.416-31.791 45.744" class="CustomColor"></path><g id="Ornamentos" transform="translate(67)"><g id="hoja" filter="url(&#39;#filter5&#39;)" opacity=".9" transform="scale(1 -1)rotate(-20 -137.666 -331.914)"><path id="leaf" fill="#5DD362" d="M3.611 10S1.95 0 13 0c7.222 0 12.278 5.714 12.278 5.714s-5.417 8.572-13.722 8.572C5.056 14.286 3.61 10 3.61 10Z"></path><path id="leaf" fill="#42BC53" d="M25.278 5.714s-5.417 8.572-13.722 8.572c-4.334 0-6.428-1.929-7.367-3.215-2.095 1.786-2.817 3.429-2.817 3.5-.072.286-.36.429-.65.429-.072 0-.216 0-.289-.071-.36-.143-.505-.572-.36-.929.071-.214 1.877-4.143 7.366-6.714 7.944-4.143 17.839-1.572 17.839-1.572"></path></g><g id="hoja" filter="url(&#39;#filter6&#39;)" transform="rotate(60 44.13 92.434)"><path id="leaf" fill="#5DD362" d="M15 12C15 5.9 9 0 9 0S1.7 4.3 1 13s5.8 10.7 5.8 10.7S15 20.8 15 12"></path><path id="leaf" fill="#42BC53" d="M8 29c.1 0 .2 0 .3-.1.5-.2.8-.8.6-1.3-.5-1.5-.9-2.9-1.1-4.4C10 22.2 15 18.9 15 12 15 5.9 9 0 9 0s-.4 1.1-1 3c-.2.5-5.2 13.6-.9 25.3.1.4.5.7.9.7"></path></g><g id="hoja" filter="url(&#39;#filter7&#39;)" transform="rotate(-120 31.465 30.827)"><path id="leaf" fill="#5DD362" d="M15 12C15 5.9 9 0 9 0S1.7 4.3 1 13s5.8 10.7 5.8 10.7S15 20.8 15 12"></path><path id="leaf" fill="#42BC53" d="M8 29c.1 0 .2 0 .3-.1.5-.2.8-.8.6-1.3-.5-1.5-.9-2.9-1.1-4.4C10 22.2 15 18.9 15 12 15 5.9 9 0 9 0s-.4 1.1-1 3c-.2.5-5.2 13.6-.9 25.3.1.4.5.7.9.7"></path></g><g id="Flor" filter="url(&#39;#filter1&#39;)" transform="matrix(-1 0 0 1 26 29)"><path fill="#4ACAD3" d="M24.424 20.956a5.17 5.17 0 0 0 .997-3.853 5.17 5.17 0 0 0-2.02-3.43c-.299-.225-.693-.41-1.141-.567.453-.141.854-.313 1.16-.527a5.206 5.206 0 0 0 1.277-7.243 5.206 5.206 0 0 0-7.242-1.277c-.306.215-.604.533-.893.911.006-.475-.033-.909-.143-1.267a5.16 5.16 0 0 0-2.532-3.07A5.17 5.17 0 0 0 9.926.25a5.207 5.207 0 0 0-3.453 6.493c.11.356.314.735.582 1.124-.448-.151-.869-.243-1.241-.25a5.206 5.206 0 0 0-5.29 5.11 5.18 5.18 0 0 0 .937 3.066 5.2 5.2 0 0 0 4.171 2.223c.373.006.796-.071 1.25-.206-.283.38-.5.75-.621 1.103a5.2 5.2 0 0 0 .662 4.68 5.17 5.17 0 0 0 2.561 1.93 5.206 5.206 0 0 0 6.61-3.225c.12-.352.178-.779.19-1.252.273.386.56.708.857.932a5.17 5.17 0 0 0 3.853.997 5.16 5.16 0 0 0 3.43-2.02Z"></path><path fill="#FFF" d="M11.178 8.64a1.444 1.444 0 1 1 2.763-.845c.233.763-.232 4.182-.232 4.182s-2.298-2.574-2.53-3.337Zm-2.242 5.797a1.444 1.444 0 1 1 .05-2.888c.798.014 3.905 1.513 3.905 1.513s-3.158 1.389-3.955 1.375m6.057-2.018s1.738-2.98 2.392-3.438a1.444 1.444 0 1 1 1.657 2.366c-.654.458-4.049 1.072-4.049 1.072m-3.073 6.838a1.444 1.444 0 0 1-.895-1.836c.26-.755 2.646-3.246 2.646-3.246s.345 3.432.086 4.187a1.445 1.445 0 0 1-1.837.895m5.32-1.96c-.638-.48-2.27-3.52-2.27-3.52s3.37.732 4.008 1.212a1.444 1.444 0 1 1-1.738 2.307Z"></path></g><g id="Flor" filter="url(&#39;#filter2&#39;)" transform="translate(20 16)"><path fill="#FDB599" d="m30.526 33.098.258-2.314 2.314-.26c2.847-.319 5.11-2.116 6.054-4.81 1.066-3.042.065-6.359-2.547-8.281l-1.874-1.38.932-2.134c1.229-2.806.645-5.895-1.52-8.061-2.167-2.166-5.256-2.75-8.063-1.522l-2.133.933-1.38-1.875C20.644.786 17.327-.218 14.284.848c-2.692.943-4.49 3.207-4.809 6.054l-.26 2.313-2.313.26c-2.847.319-5.11 2.117-6.054 4.81-.938 2.676-.298 5.56 1.669 7.528a8 8 0 0 0 .877.753l1.875 1.38-.934 2.134c-1.226 2.807-.643 5.896 1.523 8.062s5.255 2.749 8.062 1.523l2.134-.934 1.38 1.875c1.917 2.61 5.24 3.612 8.283 2.547 2.693-.945 4.49-3.208 4.809-6.055"></path><path fill="#FFF" d="M22.882 25.19a1.44 1.44 0 0 1-2.782.746C19.894 25.17 20 20 20 20s-2.492 4.529-3.055 5.091a1.44 1.44 0 0 1-2.036-2.036C15.47 22.492 20 20 20 20s-5.168.106-5.936-.1a1.44 1.44 0 0 1 .745-2.782C15.577 17.324 20 20 20 20s-2.676-4.423-2.882-5.19a1.44 1.44 0 0 1 2.782-.746c.206.768.1 5.936.1 5.936s2.492-4.529 3.055-5.091a1.44 1.44 0 0 1 2.036 2.036C24.53 17.508 20 20 20 20s5.169-.106 5.936.1a1.44 1.44 0 0 1-.745 2.782C24.423 22.676 20 20 20 20s2.675 4.422 2.882 5.19"></path></g><g id="Flor" filter="url(&#39;#filter3&#39;)" transform="translate(89 26)"><path fill="#F7D30C" d="M34.758 29.822a7.36 7.36 0 0 0 1.418-5.483 7.35 7.35 0 0 0-2.874-4.88c-.426-.321-.987-.584-1.625-.808.645-.201 1.216-.445 1.652-.75 3.342-2.34 4.158-6.964 1.817-10.307-2.34-3.342-6.964-4.157-10.306-1.817-.436.306-.86.758-1.27 1.296.008-.676-.048-1.294-.204-1.803A7.35 7.35 0 0 0 19.763.9a7.36 7.36 0 0 0-5.638-.543C10.223 1.55 8.019 5.695 9.21 9.597c.156.507.447 1.046.83 1.6-.638-.216-1.237-.346-1.768-.355-4.08-.071-7.456 3.19-7.528 7.27a7.37 7.37 0 0 0 1.334 4.363 7.4 7.4 0 0 0 5.936 3.164c.53.01 1.133-.1 1.777-.293-.4.54-.71 1.069-.883 1.57a7.4 7.4 0 0 0 .943 6.66 7.36 7.36 0 0 0 3.645 2.746c3.858 1.329 8.077-.73 9.405-4.588.173-.502.255-1.109.271-1.782.39.549.797 1.007 1.22 1.326a7.35 7.35 0 0 0 5.484 1.418 7.35 7.35 0 0 0 4.88-2.874Z"></path><path fill="#FFF" d="M15.908 12.295a2.055 2.055 0 1 1 3.93-1.202c.332 1.086-.33 5.95-.33 5.95s-3.269-3.662-3.6-4.748m-3.192 8.25a2.055 2.055 0 1 1 .072-4.11c1.135.02 5.558 2.153 5.558 2.153s-4.495 1.977-5.63 1.957m8.62-2.872s2.474-4.241 3.404-4.892a2.055 2.055 0 1 1 2.358 3.367c-.93.651-5.762 1.525-5.762 1.525m-4.373 9.731a2.055 2.055 0 0 1-1.274-2.613c.37-1.073 3.765-4.62 3.765-4.62s.492 4.886.123 5.96a2.056 2.056 0 0 1-2.614 1.273m7.57-2.79c-.907-.683-3.23-5.008-3.23-5.008s4.797 1.042 5.704 1.725a2.055 2.055 0 1 1-2.474 3.283"></path></g><g id="Flor" filter="url(&#39;#filter4&#39;)" transform="translate(48)"><path fill="#FF7398" d="M54.138 31.546c1.825-6.983-5.994-12.414-8.953-14.184.514-2.934 1.672-12.561-4.468-16.116C34.612-2.288 26.924 3.45 24.6 5.394q-.3-.189-.703-.423C20.83 3.196 13.13-.381 7.85 4.736 2.205 10.204 5.537 18.74 6.805 21.434c-2.16 2.01-8.384 8.592-5.818 15.59.706 1.929 2.011 3.456 3.882 4.538 4.03 2.334 9.607 1.958 11.723 1.707.993 1.88 3.83 6.712 7.888 9.061 1.67.967 3.375 1.413 5.07 1.325 6.905-.358 9.916-9.995 10.67-12.912 2.861-.396 12.086-2.199 13.918-9.197"></path><path fill="#FFF" d="M27.764 25.603s3.685 8.188.354 8.71c-3.334.521-1.46-8.591-1.46-8.591s-7.112 6.007-8.15 3.028c-1.04-2.979 7.7-4.048 7.7-4.048s-7.987-4.692-5.393-6.836 6.216 6.092 6.216 6.092 1.945-8.92 4.82-7.254c2.876 1.664-3.857 7.811-3.857 7.811s8.877-.99 8.37 2.352c-.505 3.342-8.6-1.264-8.6-1.264"></path></g></g><g id="Arete" transform="translate(182 129)"><rect id="Cadenita" width="2" height="39" x="9" y="0" fill="#E6E6E6" rx="1"></rect><path id="Rayo" fill="#9177FF" d="M20 37h-9.43L17 20H6L0 41h8.636L4 60z"></path></g></g></g></g>',1),rp=[np];function op(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...rp])}const ip={render:op},lp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairFrizzle-path2" d="M0 0h264v280H0z"></path><path id="ShortHairFrizzle-path1" d="M90.91 55.361h84.176c18.247-10.527 21.673-29.21 8.764-45.435-3.214-4.04-8.764 11.75-25.821 12.724s-15.42-6.3-33.571-3.576c-18.152 2.724-16.146 17.304-27.99 20.803q-11.846 3.499-5.558 15.484"></path></defs><mask id="ShortHairFrizzle-mask2" fill="#fff"><use href="#ShortHairFrizzle-path2"></use></mask><g id="Top/Short-Hair/Frizzle" mask="url(&#39;#ShortHairFrizzle-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairFrizzle-path1" transform="translate(-1)"></use></g></g>',1),sp=[lp];function cp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sp])}const dp={render:cp},up=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat2-path3" d="M0 0h264v280H0z"></path><path id="WinterHat2-path1" d="M72 21c54.773 0 72 47.803 72 82.045v73.865c0 19.495-22.633 19.537-22.633-10.921V86.535c0-6.075-3.732-9-9.816-9H32.45c-6.084 0-9.816 2.925-9.816 9v79.454C22.633 196.447 0 196.405 0 176.91v-73.865C0 68.803 17.227 21 72 21"></path><path id="WinterHat2-path2" d="M101.428 98.169c-2.513 2.294-5.19 3.325-8.575 2.604-.582-.124-2.957-4.538-8.853-4.538-5.897 0-8.27 4.414-8.853 4.538-3.385.721-6.062-.31-8.576-2.604-4.725-4.313-8.654-10.26-6.293-16.75 1.23-3.382 3.232-7.095 6.873-8.173 3.887-1.15 9.346-.002 13.264-.788 1.27-.254 2.656-.707 3.585-1.458.929.75 2.316 1.204 3.585 1.458 3.918.786 9.376-.362 13.264.788 3.64 1.078 5.642 4.79 6.873 8.173 2.361 6.49-1.568 12.437-6.294 16.75M140.081 26c-3.41 8.4-2.093 18.858-2.724 27.676-.513 7.167-2.02 17.91-8.384 22.539-3.255 2.367-9.179 6.345-13.431 5.235-2.927-.764-3.24-9.16-7.087-12.303-4.363-3.565-9.812-5.131-15.306-4.89-2.37.105-7.165.08-9.15 1.903-1.983-1.823-6.777-1.798-9.148-1.902-5.494-.242-10.943 1.324-15.306 4.889-3.847 3.143-4.16 11.54-7.087 12.303-4.252 1.11-10.176-2.868-13.431-5.235-6.365-4.63-7.87-15.372-8.384-22.54-.63-8.817.686-19.275-2.724-27.675-1.66 0-.565 16.129-.565 16.129v20.356c.032 15.288 9.581 38.17 30.754 46.908C63.286 111.53 75.015 115 84 115s20.714-3.14 25.892-5.277c21.173-8.737 30.722-31.95 30.754-47.238V42.13S141.74 26 140.081 26"></path></defs><g id="Top/Accessories/Winter-Hat-2" transform="translate(-1)"><g id="hat" transform="translate(61)"><g id="string" fill="#F4F4F4" transform="translate(0 176)"><circle id="puff" cx="9" cy="65" r="9"></circle><path d="M8 0h2v58H8z"></path></g><g id="string" fill="#F4F4F4" transform="translate(126 168)"><circle id="puff" cx="9" cy="65" r="9"></circle><path d="M8 0h2v58H8z"></path></g><circle id="puff" cx="72" cy="20" r="20" fill="#F4F4F4"></circle><mask id="WinterHat2-mask2" fill="#fff"><use href="#WinterHat2-path1"></use></mask><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat2-path1"></use><path id="color-dark" fill="#000" d="M-1 21h146v46H-1z" mask="url(&#39;#WinterHat2-mask2&#39;)" opacity=".2"></path><g id="light-triangles" fill="#FFF" opacity=".5" transform="translate(29 32)"><path id="Triangle" d="M12.5 0 25 18H0z" transform="rotate(180 12.5 9)"></path><path id="Triangle" d="M43.5 0 56 18H31z" transform="rotate(180 43.5 9)"></path><path id="Triangle" d="M74.5 0 87 18H62z" transform="rotate(180 74.5 9)"></path></g><g id="dark-triangles" fill="#000" opacity=".5" transform="translate(13 41)"><path id="Triangle" d="M12.5 0 25 18H0zm31 0L56 18H31zm31 0L87 18H62zm31 0L118 18H93z"></path></g></g></g></g>',1),mp=[up];function fp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...mp])}const hp={render:fp},pp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairFro-path1" d="M0 0h264v280H0z"></path><path id="LongHairFro-path2" d="M180.666 104.495A11.95 11.95 0 0 1 182 110v13c0 6.019-4.43 11.002-10.209 11.867-1.743 20.248-14.26 37.416-31.791 45.744v9.443c3.832 1.896 8.059 2.946 12.5 2.946 7.621 0 14.61-3.093 20.059-8.242q2.193.241 4.441.242c18.39 0 34.26-12.316 41.622-30.116C224.9 149.814 229 141.454 229 132a32 32 0 0 0-.426-5.223C230.786 120.339 232 113.33 232 106c0-12.866-3.739-24.736-10.046-34.275Q222 70.869 222 70c0-10.957-5.507-20.443-13.53-25.043-7.31-17.588-22.73-29.966-40.773-30.9C163.274 9.075 157.201 6 150.5 6q-1.427.001-2.812.182C137.91 2.196 127.211 0 116 0S94.09 2.196 84.312 6.182A22 22 0 0 0 81.5 6c-6.701 0-12.774 3.075-17.197 8.057-18.044.934-33.463 13.312-40.774 30.9C15.507 49.557 10 59.043 10 70q0 .87.046 1.725C3.739 81.265 0 93.135 0 106c0 7.331 1.214 14.34 3.426 20.777A32 32 0 0 0 3 132c0 9.454 4.1 17.814 10.378 22.884C20.74 172.684 36.61 185 55 185q2.248-.001 4.441-.242C64.889 189.907 71.879 193 79.5 193c4.441 0 8.668-1.05 12.5-2.946v-9.443c-17.53-8.328-30.048-25.496-31.791-45.744C54.43 134.002 50 129.02 50 123v-13c0-1.983.481-3.854 1.333-5.502 2.702-.802 5.677-3.053 8.658-6.33l.009-.002v-.009c6.866-7.556 13.755-20.555 17.37-33.822 11.116 1.737 24.535 2.752 38.984 2.752 14.159 0 27.33-.975 38.314-2.649 3.62 13.226 10.486 26.172 17.332 33.71v.018l.02.003c2.976 3.272 5.947 5.522 8.646 6.326"></path><path id="LongHairFro-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairFro-mask1" fill="#fff"><use href="#LongHairFro-path1"></use></mask><g id="Top/Long-Hair/Fro" mask="url(&#39;#LongHairFro-mask1&#39;)"><g transform="translate(-1)"><path id="Shadow" fill="#000" d="M67 109.778c9.038-1.06 21.922-20.447 27.37-40.443 11.116 1.737 24.535 2.752 38.984 2.752 14.159 0 27.33-.975 38.314-2.649 5.462 19.953 18.31 39.269 27.332 40.339V89c0-22.884-11.647-43.048-29.336-54.887-.528 2.482-.88 5.222-1.04 8.184-10.34-1.404-22.396-2.21-35.27-2.21-13.164 0-25.472.842-35.964 2.306-.158-3-.512-5.775-1.047-8.286C78.65 45.947 67 66.113 67 89z" opacity=".16"></path><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairFro-path2" transform="translate(17)"></use></g></g></g>',1),gp=[pp];function yp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...gp])}const kp={render:yp},xp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShaggy-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShaggy-path1" d="M198.747 37.856c-5.14-3.832-11.219-7.116-17.56-8.378-6.446-1.282-10.358-1.593-16.704-.073-1.633.392-2.184.78-3.62-.148-1.212-.783-9.663-9.49-35.421-4.657-26.035 4.885-33.77 44.075-43.427 45.566-3.48.537-7.781-.384-7.916-2.527-3.963 6.034-5.008 14.007-3.327 21.074 1.447 6.086 4.497 11.804 9.989 15.137 4.726 2.867 11.26 4.116 16.72 3.587 2.486-.24 4.746-.763 7.033-1.766 2.759-1.21 4.957-3.39 7.664-4.543a54 54 0 0 1-9.176 6.418c-1.64.907-3.304 1.532-5.113 2.024-1.236.336-3.761 1.481-4.956 1.182 7.807 1.396 15.16.18 22.32-3.163 3.23-1.508 6.338-3.332 9.19-5.476 2.833-2.13 6.095-4.307 8.31-7.11-.93 1.204.698-.586.913-.805a67 67 0 0 0 1.787-1.895c1.002-1.104 1.998-2.228 2.93-3.391 1.995-2.486 3.852-5.082 5.508-7.803 1.678-2.756 8.359-13.873 10.375-16.49-1.905 5.708-3.98 11.418-6.407 16.925 4.713-1.47 9.284-5.544 12.295-9.34 3.392-4.276 5.4-9.268 6.108-14.666 3.826 10.416 12.785 18.63 22.032 24.295-2.003-3.73-5.055-6.885-7.052-10.678 9.191 9.329 24.568 13.893 28.595 27.574 1.033-4.758 4.353-8.58 5.348-13.433 1.104-5.389 1.896-11.11 1.72-16.616-.396-12.242-8.631-23.723-18.158-30.824"></path></defs><mask id="ShortHairShaggy-mask2" fill="#fff"><use href="#ShortHairShaggy-path2"></use></mask><g id="Top/Short-Hair/Shaggy" mask="url(&#39;#ShortHairShaggy-mask2&#39;)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShaggy-path1" transform="matrix(-1 0 0 1 285.93 0)"></use></g></g>',1),bp=[xp];function wp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bp])}const vp={render:wp},Ep=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat3-path3" d="M0 0h264v280H0z"></path><path id="WinterHat3-path1" d="M66 0c36.45 0 66 29.55 66 66v5H0v-5C0 29.55 29.55 0 66 0"></path><path id="WinterHat3-path2" d="M67.285 61.451Q91.202 44 133.073 44q41.869 0 65.659 17.45A8 8 0 0 1 202 67.9v30.47a4 4 0 0 1-6.135 3.383Q170.902 85.999 133.805 86q-37.383 0-63.73 15.994A4 4 0 0 1 64 98.575V67.914a8 8 0 0 1 3.285-6.463"></path></defs><g id="Top/Accessories/Winter-Hat-3" transform="translate(-1)"><g id="hat" transform="translate(67 12)"><circle id="puff" cx="66" cy="8" r="20" fill="#F4F4F4"></circle><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat3-path1"></use></g><g id="hat-front"><use filter="url(&#39;#WinterHat3-path2&#39;)" href="#WinterHat3-path2"></use><use fill="#F4F4F4" href="#WinterHat3-path2"></use></g></g></g>',1),Cp=[Ep];function Sp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Cp])}const Mp={render:Sp},Bp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairFroBand-path1" d="M0 0h264v280H0z"></path><path id="LongHairFroBand-path2" d="M80.02 73.81A55.9 55.9 0 0 0 77 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744v10.944A36.4 36.4 0 0 1 93.5 195a36.35 36.35 0 0 1-23.19-8.312 54 54 0 0 1-5.81.312c-21.094 0-39.337-12.208-48.049-29.945C8.934 151.924 4 143.288 4 133.5c0-2.115.23-4.175.667-6.159A57.9 57.9 0 0 1 1 107c0-12.756 4.118-24.55 11.097-34.127A29 29 0 0 1 12 70.5c0-11.297 6.573-21.06 16.104-25.67 8.433-18.128 26.454-30.894 47.546-31.78A28.4 28.4 0 0 1 95.5 5c2.327 0 4.589.279 6.754.805C111.776 2.058 122.148 0 133 0c10.346 0 20.255 1.87 29.408 5.292A29 29 0 0 1 166.5 5a28.4 28.4 0 0 1 19.85 8.05c21.092.886 39.113 13.652 47.546 31.78C243.426 49.44 250 59.203 250 70.5q0 1.2-.097 2.373C256.882 82.45 261 94.243 261 107a57.9 57.9 0 0 1-3.667 20.341A28.6 28.6 0 0 1 258 133.5c0 9.788-4.934 18.424-12.451 23.555C236.837 174.792 218.594 187 197.5 187a54 54 0 0 1-5.81-.312A36.35 36.35 0 0 1 168.5 195c-4.018 0-7.884-.65-11.5-1.849v-12.54c17.53-8.328 30.048-25.496 31.791-45.744C194.57 134.002 199 129.02 199 123v-13c0-5.946-4.325-10.882-10-11.834V92c0-5.441-.776-10.702-2.224-15.676l1.377 12.87-11.34-24-45.136-19.523-30.114 10.557L80.065 76.42l-.045-2.609Z"></path></defs><mask id="LongHairFroBand-mask1" fill="#fff"><use href="#LongHairFroBand-path1"></use></mask><g id="Top/Long-Hair/Fro-+-Band" mask="url(&#39;#LongHairFroBand-mask1&#39;)"><g transform="translate(-1)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairFroBand-path2"></use><path id="Band" fill="#92D9FF" stroke="none" d="M76.631 98.975A48.6 48.6 0 0 1 76 91.152C76 62.35 101.296 39 132.5 39S189 62.35 189 91.152c0 2.659-.216 5.271-.631 7.823-4.09-25.092-27.545-44.33-55.869-44.33s-51.78 19.238-55.869 44.33"></path></g></g></g>',1),Ap=[Bp];function Vp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ap])}const Np={render:Vp},Dp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShaggyMullet-path1" d="M0 0h264v280H0z"></path><path id="ShortHairShaggyMullet-path2" d="M175.126 166.898c.715 2.24 1.749 4.333 3.43 5.788 1.62 1.404 4.512 1.06 6.543 1.117 1.672.048 3.346.053 5.016-.02.839-.036 1.213 1.015.534 1.499q-.195.139-.39.262a39 39 0 0 1-3.25 1.812c-2.524 1.258-5.188 2.244-7.982 2.734-1.916.337-3.816.4-5.654.177a9.8 9.8 0 0 0 1.699 1.94c1.73 1.501 4.816 1.133 6.983 1.194 1.784.052 3.57.057 5.353-.02.895-.039 1.295 1.084.57 1.601a8 8 0 0 1-.416.28 42 42 0 0 1-3.469 1.937c-2.693 1.345-5.536 2.398-8.518 2.922-5.5.966-10.87-.177-15.194-3.708a25 25 0 0 1-3.381-3.36v-2.442a56.2 56.2 0 0 0 18.126-13.713m-93.81-15.304a140 140 0 0 1-2.31 4.597c-4.795 9.11-10.764 20.602-22.507 21.405-1.088.075-1.519 1.347-.67 1.992 11.12 8.453 36.432 13.6 45.445 11.982a54 54 0 0 0 7.726-1.96v-8.999a56.2 56.2 0 0 1-27.685-29.017Zm114.59-82.914c.175 5.507-.617 11.227-1.721 16.616-.995 4.852-4.315 8.675-5.348 13.433-4.027-13.68-19.404-18.245-28.595-27.574 1.997 3.793 5.049 6.948 7.052 10.678-9.247-5.665-18.206-13.88-22.032-24.295-.707 5.398-2.716 10.39-6.108 14.666-3.011 3.796-7.582 7.87-12.295 9.34 2.428-5.507 4.502-11.217 6.407-16.925-2.016 2.617-8.697 13.734-10.375 16.49-1.656 2.72-3.513 5.317-5.507 7.803-.933 1.163-1.929 2.287-2.93 3.391a67 67 0 0 1-1.788 1.895c-.215.219-1.842 2.01-.912.806-2.216 2.802-5.478 4.979-8.31 7.109-2.853 2.144-5.96 3.968-9.192 5.476-7.159 3.343-14.512 4.56-22.32 3.163 1.196.299 3.721-.846 4.957-1.182 1.809-.492 3.474-1.117 5.113-2.024a54 54 0 0 0 9.176-6.418c-2.707 1.152-4.905 3.334-7.664 4.543-2.287 1.003-4.547 1.526-7.032 1.766-5.462.529-11.995-.72-16.721-3.587-5.492-3.333-8.542-9.051-9.99-15.137-1.68-7.067-.635-15.04 3.328-21.074.135 2.143 4.436 3.064 7.916 2.527 9.658-1.49 15.403-38.048 40.427-44.566 19.961-5.2 34.21 3.874 35.42 4.657 1.437.928 1.988.54 3.621.148 6.346-1.52 13.258-2.209 19.705-.927 6.34 1.262 12.418 4.546 17.559 8.378 9.527 7.101 17.762 18.582 18.159 30.824"></path><path id="ShortHairShaggyMullet-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="ShortHairShaggyMullet-mask1" fill="#fff"><use href="#ShortHairShaggyMullet-path1"></use></mask><g id="Top/Short-Hair/Shaggy-Mullet" mask="url(&#39;#ShortHairShaggyMullet-mask1&#39;)"><g transform="translate(-1)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShaggyMullet-path2"></use><path id="Shadow" fill="#000" stroke="none" d="M175.126 166.898c.715 2.24 1.749 4.333 3.43 5.788 1.62 1.404 4.512 1.06 6.543 1.117 1.672.048 3.346.053 5.016-.02.839-.036 1.213 1.015.534 1.499q-.195.139-.39.262a39 39 0 0 1-3.25 1.812c-2.524 1.258-5.188 2.244-7.982 2.734-1.916.337-3.816.4-5.654.177a9.8 9.8 0 0 0 1.699 1.94c1.73 1.501 4.816 1.133 6.983 1.194 1.784.052 3.57.057 5.353-.02.895-.039 1.295 1.084.57 1.601a8 8 0 0 1-.416.28 42 42 0 0 1-3.469 1.937c-2.693 1.345-5.536 2.398-8.518 2.922-5.5.966-10.87-.177-15.194-3.708a25 25 0 0 1-3.381-3.36v-2.442a56.2 56.2 0 0 0 18.126-13.713m-93.81-15.304a140 140 0 0 1-2.31 4.597c-4.795 9.11-10.764 20.602-22.507 21.405-1.088.075-1.519 1.347-.67 1.992 11.12 8.453 36.432 13.6 45.445 11.982a54 54 0 0 0 7.726-1.96v-8.999a56.2 56.2 0 0 1-27.685-29.017Z" opacity=".16"></path></g></g></g>',1),_p=[Dp];function Tp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[..._p])}const Pp={render:Tp},Op=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat4-path5" d="M0 0h264v280H0z"></path><path id="WinterHat4-path1" d="M129.66 38.357A60.8 60.8 0 0 1 134 61v8H2v-8c0-8.025 1.55-15.688 4.366-22.707Q-3.238 18.099 2.636 5.12q11.257-3.414 26.08 5.419C38.486 3.888 50.289 0 63 0h10c12.722 0 24.535 3.895 34.31 10.557q14.84-8.856 26.11-5.437 5.883 12.999-3.76 33.237"></path><path id="WinterHat4-path2" d="M28.716 10.539c-9.957 6.778-17.804 16.426-22.35 27.754Q-3.238 18.099 2.636 5.12q11.257-3.414 26.08 5.419m100.943 27.818c-4.538-11.346-12.386-21.01-22.349-27.8q14.84-8.856 26.11-5.437 5.883 12.999-3.76 33.237Z"></path><path id="WinterHat4-path3" d="M21.862 15.96a61.3 61.3 0 0 0-11.433 14.08Q6.041 17.878 8.927 13.208q3.977-1.72 12.935 2.751Zm103.49 13.714a61.3 61.3 0 0 0-11.274-13.77q8.704-4.278 12.608-2.59 2.83 4.58-1.333 16.36Z"></path><path id="WinterHat4-path4" d="M67.285 61.451Q91.202 44 133.073 44q41.869 0 65.659 17.45A8 8 0 0 1 202 67.9v30.47a4 4 0 0 1-6.135 3.383Q170.902 85.999 133.805 86q-37.383 0-63.73 15.994A4 4 0 0 1 64 98.575V67.914a8 8 0 0 1 3.285-6.463"></path></defs><g id="Top/Accessories/Winter-Hat-4" transform="translate(-1)"><g id="hat" transform="translate(65 4)"><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat4-path1"></use><use id="shadow" fill="#000" href="#WinterHat4-path2" opacity=".24"></use><use id="light" fill="#FFF" href="#WinterHat4-path3" opacity=".3"></use></g><g id="hat-front"><use filter="url(&#39;#WinterHat4-path4&#39;)" href="#WinterHat4-path4"></use><use fill="#F4F4F4" href="#WinterHat4-path4"></use></g></g></g>',1),Fp=[Op];function Lp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Fp])}const $p={render:Lp},Hp={Eyepatch:sf,Hat:bf,Hijab:_f,LongHairBigHair:jf,LongHairBob:ah,LongHairBun:hh,LongHairCurly:Mh,LongHairCurvy:Fh,LongHairDreads:Uh,LongHairFrida:ip,LongHairFro:kp,LongHairFroBand:Np,LongHairMiaWallace:mf,LongHairNotTooLong:Cf,LongHairShavedSides:Ff,LongHairStraight:Uf,LongHairStraight2:ih,LongHairStraightStrand:kh,NoHair:Ah,ShortHairDreads01:Rh,ShortHairDreads02:Kh,ShortHairFrizzle:dp,ShortHairShaggy:vp,ShortHairShaggyMullet:Pp,ShortHairShortCurly:gf,ShortHairShortFlat:Af,ShortHairShortRound:Rf,ShortHairShortWaved:Kf,ShortHairSides:dh,ShortHairTheCaesar:vh,ShortHairTheCaesarSidePart:_h,Turban:jh,WinterHat1:ap,WinterHat2:hp,WinterHat3:Mp,WinterHat4:$p},Rp=t.createElementVNode("g",{id:"Facial-Hair/Beard-Light",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"BeardLight-path1",d:"M101.428 98.169c-2.513 2.294-5.19 3.325-8.575 2.604-.582-.124-2.957-4.538-8.853-4.538-5.897 0-8.27 4.414-8.853 4.538-3.385.721-6.062-.31-8.576-2.604-4.725-4.313-8.654-10.26-6.293-16.75 1.23-3.382 3.232-7.095 6.873-8.173 3.887-1.15 9.346-.002 13.264-.788 1.27-.254 2.656-.707 3.585-1.458.929.75 2.316 1.204 3.585 1.458 3.918.786 9.376-.362 13.264.788 3.64 1.078 5.642 4.79 6.873 8.173 2.361 6.49-1.568 12.437-6.294 16.75M140.081 26c-3.41 8.4-2.093 18.858-2.724 27.676-.513 7.167-2.02 17.91-8.384 22.539-3.255 2.367-9.179 6.345-13.431 5.235-2.927-.764-3.24-9.16-7.087-12.303-4.363-3.565-9.812-5.131-15.306-4.89-2.37.105-7.165.08-9.15 1.903-1.983-1.823-6.777-1.798-9.148-1.902-5.494-.242-10.943 1.324-15.306 4.889-3.847 3.143-4.16 11.54-7.087 12.303-4.252 1.11-10.176-2.868-13.431-5.235-6.365-4.63-7.87-15.372-8.384-22.54-.63-8.817.686-19.275-2.724-27.675-1.66 0-.565 16.129-.565 16.129v20.356c.032 15.288 9.581 38.17 30.754 46.908C63.286 111.53 75.015 115 84 115s20.714-3.14 25.892-5.277c21.173-8.737 30.722-31.95 30.754-47.238V42.13S141.74 26 140.081 26"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#BeardLight-path1"})],-1),zp=[Rp];function Ip(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...zp])}const Gp={render:Ip},jp=t.createElementVNode("g",{id:"Facial-Hair/Beard-Majestic",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"BeardMajestic-path1",d:"M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#BeardMajestic-path1"})],-1),qp=[jp];function Wp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...qp])}const Yp={render:Wp},Up=t.createElementVNode("g",{id:"Facial-Hair/Moustache-Fancy",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"MoustacheFancy-path1",d:"M84 69.297c-6.792-3.586-16.422-4.148-21.611-2.165-5.775 2.205-10.884 8.451-19.75 5.696-.37-.114-.73.217-.619.58 1.374 4.51 9.008 7.599 11.602 7.7 11.34.442 20.473-8.278 30.378-8.947 9.906.67 19.04 9.389 30.379 8.947 2.594-.101 10.228-3.19 11.601-7.7.111-.363-.25-.694-.618-.58-8.867 2.755-13.976-3.49-19.75-5.696-5.19-1.983-14.82-1.42-21.612 2.165"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#MoustacheFancy-path1"})],-1),Xp=[Up];function Zp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Xp])}const Qp={render:Zp},Kp=t.createElementVNode("g",{id:"Facial-Hair/Beard-Medium",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"BeardMedium-path1",d:"M105.018 94.13c-3.868 5.591-6.76 1.817-10.88-1.254-2.481-1.849-6.177-4.148-9.634-4.035-3.456-.113-7.152 2.186-9.633 4.035-4.12 3.07-7.013 6.845-10.88 1.254-2.903-4.198-1.688-11.256 1.024-15.227 3.859-5.652 9.094-2.918 14.947-3.563 1.592-.175 3.19-.617 4.542-1.34 1.352.723 2.95 1.165 4.542 1.34 5.854.645 11.089-2.089 14.948 3.563 2.712 3.97 3.926 11.03 1.024 15.227M140.39 26c-3.424 14.075-4.998 28.434-7.481 42.671a319 319 0 0 1-1.685 8.879c-.127.62-.251 2.923-.862 3.214-1.851.884-5.624-3.817-6.633-4.879-2.533-2.666-5.045-5.356-8.13-7.448-6.235-4.227-13.535-6.726-21.13-7.32-3.178-.248-7.475.186-10.47 1.993-2.995-1.807-7.292-2.24-10.47-1.992-7.596.593-14.895 3.092-21.13 7.32-3.085 2.091-5.597 4.781-8.13 7.447-1.01 1.062-4.782 5.763-6.633 4.88-.61-.292-.735-2.595-.862-3.215a319 319 0 0 1-1.685-8.879C32.607 54.434 31.034 40.075 27.61 26c-.997 0-1.871 18.748-1.983 20.495-.452 7.094-.98 14.03-.305 21.131 1.164 12.249 2.377 27.608 11.71 36.962 8.434 8.451 20.678 10.218 31.24 15.553 1.36.687 3.163 1.535 5.108 2.23 2.049 1.563 6.113 2.629 10.794 2.629 4.91 0 9.142-1.173 11.08-2.862a47 47 0 0 0 4.475-1.997c10.56-5.336 22.805-7.102 31.238-15.553 9.334-9.354 10.547-24.713 11.712-36.962.674-7.1.146-14.037-.306-21.131C142.26 44.748 141.387 26 140.39 26"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#BeardMedium-path1"})],-1),Jp=[Kp];function eg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Jp])}const tg={render:eg};function ag(e,a){return t.openBlock(),t.createElementBlock("svg")}const ng={render:ag},rg=t.createElementVNode("g",{id:"Facial-Hair/Moustache-Magnum",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"MoustacheMagnum-path1",d:"M83.998 74.84a6.04 6.04 0 0 1-2.048 1.85c-8.902 4.82-18.073.642-23.074.94-2.416.144-5.535 1.785-6.66.05-1.24-1.913 2.852-12.46 12.505-14.216 7.01-1.275 16.776.138 19.277 3.474 2.5-3.336 12.267-4.749 19.276-3.474 9.654 1.757 13.745 12.303 12.506 14.215-1.125 1.736-4.244.095-6.66-.05-5.001-.297-14.172 3.881-23.074-.94a6.04 6.04 0 0 1-2.048-1.85Z"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#MoustacheMagnum-path1"})],-1),og=[rg];function ig(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...og])}const lg={render:ig},sg={BeardMajestic:Yp,BeardLight:Gp,MoustacheFancy:Qp,BeardMedium:tg,Blank:ng,MoustacheMagnum:lg},cg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Bat" fill="#FFF" fill-rule="evenodd"><path id="Batman!" d="M87.685 13.403c-1.393-6.431-6.21-10.15-12.5-11.586-2.526-.577-10.913-2.387-9.607 2.408.593 2.172.263 3.964-1.553 5.766-1.77 1.755-5.231 2.2-6.952-.011-1.474-1.895.427-4.721-.721-6.567-.446-.717-1.216-1.083-2.028-.732-1.141.494-.534 1.555-1.073 2.318-.849 1.203-1.245.826-2.01-.373-.48-.754-.008-1.575-1.246-1.897-1.433-.372-1.903.828-2.032 1.923-.082.687.322 1.792.336 2.488.027 1.364-.09 3.323-.725 4.529-1.125 2.137-2.704 1.453-4.383.096-1.98-1.602-2.561-3.385-2.178-5.817.459-2.917.292-5.709-3.28-3.884-5.02 2.564-9.68 7.135-12.588 11.919-2.445 4.02-4.37 8.893-2.203 13.473 2.21 4.675 5.862 8.69 10.966 9.883 1.321.31 5.092 1.811 6.345.552 1.947-1.957-2.548-3.783-3.435-4.975-1.258-1.69-2.337-4.915-.957-6.822 1.76-2.427 3.6-1.074 5.045.644 1.136 1.348 2.75 4.826 4.506 2.022 1.21-1.931 1.101-5.102 4.4-3.717 4.715 1.978 4.86 11.112 5.7 15.291.367 1.83 2.035 4.064 3.47 1.525.79-1.396.364-4.421.22-5.863-.296-2.985-1.08-5.92-.11-8.877.562-1.71 2.001-4.16 4.13-2.844 1.725 1.066 1.006 5.816 3.353 5.807 2.066-.007 1.502-3.791 2.603-5.039 1.68-1.904 4.916-.999 5.91 1.249 1.336 3.025-2.203 5.126-2.044 7.785.154 2.591 3.494 1.58 4.89.923 2.872-1.35 5.119-3.853 6.676-6.571 2.407-4.204 4.125-10.222 3.075-15.026" transform="translate(77 58)"></path></g></g>',1),dg=[cg];function ug(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...dg])}const mg={render:ug},fg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Cumbia" fill-rule="evenodd" stroke-width="1"><g id="Group" fill="#FFF" transform="translate(77 64)"><path id="Fill-1" d="M10.272 24.132c3.273-.559 5.73-3.554 5.18-6.788-.464-2.724-1.745-.343-2.976.853-1.335 1.298-2.45 2.574-4.536 2.054-3.607-.9-4.858-5.4-3.84-8.48a5.94 5.94 0 0 1 3.478-3.696c1.852-.746 3.204.09 4.748 1.094.289.187 1.73 1.37 1.994 1.25.462-.211.115-2.43.045-2.725-.338-1.421-1.266-2.575-2.617-3.238-3.333-1.635-7.514.489-9.64 3.055-4.884 5.897-.92 18.164 8.164 16.62"></path><path id="Fill-5" d="M20.283 5.038q0 .003 0 0m-1.594 12.865c.503 3.474 2.977 6.5 6.952 6.357 4.278-.155 6.056-4.098 7.008-7.486.957-3.399 2.052-7.683.664-11.093-.42-1.032-.685-2.38-1.716-1.53-1.252 1.033-1.409 4.039-1.515 5.442-.2 2.647-.781 9.97-4.108 10.944-4.179 1.222-4.048-5.847-4-7.977.04-1.896.246-3.734-.342-5.584-.313-.985-.59-2.44-1.528-1.634-1.29 1.108-1.453 3.828-1.544 5.327-.144 2.405-.214 4.842.129 7.234"></path><path id="Fill-7" d="M37.783 20.746c.188.412.624 1.402 1.02 1.679.944.66-.055.708.8-.059.813-.729 1.13-2.717 1.254-3.67.385-2.96-.12-6.108-.087-9.093 1.024 2.218 1.584 4.584 2.386 6.874.554 1.582 1.396 4.804 3.654 4.753 2.443-.055 2.57-3.145 2.894-4.819.461-2.37.97-4.721 1.676-7.037.092 3.91-1.427 10.995 2.108 13.92.014.013 1.432-4.15 1.467-4.406.223-1.691.083-3.444.107-5.148.051-3.597.718-8.003-.3-11.506C54.435 1.1 53.788-.03 52.354.001c-1.825.04-2.233 1.985-2.698 3.298-1.28 3.614-2.445 7.224-3.357 10.94-.548-1.68-5.339-16.421-8.789-10.901-.555.888-.315 2.218-.338 3.196-.044 1.879-.155 3.756-.196 5.635-.061 2.843-.41 5.907.808 8.577"></path><path id="Fill-9" d="M62.02 7.71c.72-.135 5.735-1.727 5.523-.136-.223 1.675-4.633 3.309-5.816 3.876a10.6 10.6 0 0 0-.643-3.567zm5.717-.64s-.027-.035 0 0m.122 8.341c2.272 1.22 1.287 3.417-.426 4.608-.649.45-6.53 1.802-6.513 1.663q.001.005-.004.005c.18-1.694-.257-5.018 1-6.02 1.304-1.04 4.5-.808 5.943-.256m.062-7.995c.009.022.001.002 0 0M57.944 24.26c.224.551.86 1.912 1.566 1.945.86.04.794-1.043.929-1.71 3.441 1.721 8.498-.047 10.907-3.03 2.787-3.45 1.348-8.27-2.579-9.745 2.113-1.688 4.026-5.399 1.255-7.49-2.196-1.655-5.828-1.747-8.123-.302-2.735 1.723-3.85 5.833-4.09 9.006-.255 3.382-1.158 8.125.135 11.326"></path><path id="Fill-11" d="M76.05 15.871c.074 2.07-.15 4.287.332 6.306.171.717.433 1.511.76 2.162.611 1.215.31 1.05 1.032.36 2.172-2.083 1.209-8.575 1.157-11.249-.041-2.078.064-4.28-.513-6.283-.162-.562-1.123-3.348-1.655-3.284-.816.098-1.376 3.93-1.423 4.693-.148 2.396.226 4.895.31 7.295"></path><path id="Fill-13" d="M94.748 16.43c-1.582-.137-3.622.075-5.117.557.697-1.916 1.475-4.054 2.238-5.79q.711-1.635 1.494-3.24c1.278 2.686 1.992 5.828 2.832 8.666q-.72-.13-1.447-.193m5.44.725c-.727-2.78-1.579-5.532-2.426-8.28-.538-1.743-1.13-3.911-2.6-5.168C91 .146 88.635 9.557 87.614 11.94c-.985 2.296-2.216 4.634-2.85 7.049a9.5 9.5 0 0 0-.244 3.652c.205 1.519-.004 1.741 1.294.914 1-.636 1.414-1.792 2.227-2.562.144-.136.218-.668.39-.755.188-.096 1.504.253 1.815.274 2.17.151 4.712-.218 6.715-1.054.205.842 1.627 5.962 2.977 5.773.597-.083.965-3.064.992-3.537.087-1.553-.352-3.049-.742-4.538"></path><path id="Fill-15" d="M109.302 3.432c-.264-1.203-.814-3.292-1.842-2.112-1.39 1.596-1.09 5.173-1.111 7.177-.015 1.451-1.552 12.062.556 11.883-.09 0 .845-1.668.98-1.922.815-1.524 1.131-2.97 1.329-4.722.365-3.237.783-7.111.088-10.304"></path><path id="Fill-17" d="M108.164 24.301c-2.24-2.728-6.311.658-5.041 3.374 1.729 3.7 7.331-.56 5.041-3.374"></path><path id="Fill-19" d="M94.898 28.545c-2.891-.738-6.297-.24-9.249-.152-3.081.092-6.16.264-9.24.357-6.568.198-13.124.092-19.692.038-12.454-.103-24.935.69-37.383.168-2.672-.112-5.545-.713-8.198-.209-.727.139-3.009.543-3.329 1.266-.336.76 1.402 1.555 2.331 1.955 2.422 1.044 5.329.858 7.9.964 2.93.12 5.887.058 8.819-.014 12.075-.297 24.089-1.343 36.18-1.165 6.976.103 13.937.038 20.912.001 3.32-.017 7 .526 10.273-.062.552-.1 3.763-.854 3.807-1.836.02-.453-2.806-1.228-3.13-1.311"></path></g></g></g>',1),hg=[fg];function pg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...hg])}const gg={render:pg},yg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Diamond" fill-rule="evenodd" stroke-width="1"><g id="Diamond" fill="#FFF" transform="translate(106 60)"><path id="Fill-21" d="M34.78 27.737c-2.389 2.656-4.857 5.243-7.335 7.82.985-3.553 1.74-7.578 3.204-10.958.417-.962.1-1.084.927-1.493.609-.301 2.078.043 2.807.062 1.557.039 3.15.192 4.696-.05a222 222 0 0 0-4.299 4.619m-15.264 4.061c-2.699-3.282-5.384-6.568-8.658-9.317 1.289.137 2.696-.043 3.958.206 1.944.384 1.837.99 2.82 2.959 1.45 2.906 2.889 5.789 4.05 8.823-.711-.9-1.441-1.785-2.17-2.67m-9.098-12.532c.963-1.575 1.144-2.972 2.92-3.78 2.06-.939 5.3-.742 7.488-.916-1.37 1.523-3.037 3.103-3.604 5.122-.874-1.718-1.962-3.174-3.67-4.17-.215-.107 1.158 4.55 1.338 4.87-1.716-.096-3.522-.408-5.225-.092zm16.406-5.008c1.591.036 3.17.16 4.74.42-1.267 1.674-1.649 3.631-2.099 5.63-.478-2.258-2.209-4.362-3.734-6.048zm-3.498 1.074c.234-.158 4.457 5.086 5.066 5.556-3.312-.008-6.618-.17-9.926-.315 1.907-1.487 3.023-3.688 4.86-5.24m2.686 17.095c-.401 1.349-.777 2.708-1.214 4.047-1.555-4.732-3.862-9.188-6.008-13.674 3.34.088 6.676.209 10.016.256-.82 3.158-1.862 6.245-2.794 9.37m7.23-17.462c1.277 1.128 3.097 3.44 3.686 4.217a10 10 0 0 0 .179.23c.21.261.966 1.255 1.263 1.644-2.227-.226-4.545-.13-6.78-.15.498-2.054 1.104-4.012.584-6.128q.536.086 1.068.187m7.648 5.617c-2.158-2.676-4.37-7.258-7.864-8.077-3.472-.814-7.548-.454-11.074-.23-3.075.194-8.083-.204-10.795 1.593-1.393.923-2.425 3.005-2.908 4.551-.434 1.393.266 2.285-1.246 2.285-.096 0 2.504 3.673 2.81 3.962 2.272 2.14 4.444 4.202 6.457 6.597 2.835 3.374 5.405 8.338 9.145 9.736-.686-.339 2.792-2.967 3.21-3.419 2.11-2.288 4.246-4.554 6.372-6.83 1.938-2.073 4.05-4.03 5.93-6.15 1.435-1.619 1.439-2.175-.037-4.018"></path><path id="Fill-23" d="M6.999 12c.043.014-.909-2.045-.825-1.919-.475-.719-1.046-1.24-1.738-1.727C3.708 7.843.127 7.254 0 7c1.494 2.652 4.167 4.128 6.999 5"></path><path id="Fill-25" d="M22.355 7.196A6.2 6.2 0 0 0 23.15 9c.07.078.859-4.184.85-4.547C23.988 3.832 23.613 0 22.815 0c-1.337 0-.674 6.47-.459 7.196"></path><path id="Fill-27" d="M48.97 5c-2.992 0-9.68 5.854-8.908 9 .005.01.447-.35.35-.283l.057-.043c1.272-1.025 2.718-2.02 3.992-3.206.911-.85 1.987-1.612 2.816-2.54C47.362 7.832 49.263 5 48.97 5"></path></g></g></g>',1),kg=[yg];function xg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...kg])}const bg={render:xg},wg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Pizza" fill-rule="evenodd" stroke-width="1"><g id="Group-2" fill="#FFF" transform="translate(112 59)"><path id="Fill-29" d="M30.933 24.391c-4.082 1.38-8.55 3.324-10.905 7.074-1.847 2.942-1.971-.455-4.55.593-2.508 1.019-1.822 5.223-2.733 7.301-.708-1.191-1.043-2.516-1.935-3.604a6.6 6.6 0 0 0 1.814-1.724c.156-.32-4.792.348-5.076.43-1.411.401-2.74.77-4.088 1.429a79 79 0 0 0 1.965-2.989q.31-1.02 1.108-.006c.748.036 1.178.357 1.962.177 2.915-.667 3.843-6.223.25-5.987a93 93 0 0 0 4.253-8.802c.502 4.291 6.08 2.813 7.719.525 2.14-2.989-.604-8.662-4.484-8.112.581-1.375 1.17-2.762 1.65-4.178 1.092 1.61 3.001 2.39 4.538 3.457a18.2 18.2 0 0 1 4.163 4.006c2.386 3.14 3.793 7.007 6.215 10.052a7 7 0 0 0-1.866.358m9.006-4.388c-.632-5.757-5.15-11.601-9.44-15.176-2.55-2.125-10.24-7.385-13.306-3.34 2.472 1.071 5.2 1.33 7.65 2.489 3.32 1.572 5.922 4.16 8.168 7.055 3.137 4.045 7.97 12.283.474 14.386.518-.338.819-.709 1.228-1.308-1.007-.233-.6-1.878-.954-2.952-.412-1.25-1.21-2.467-1.884-3.582a57 57 0 0 0-3.504-5.171c-1.678-2.186-3.686-3.907-5.977-5.396-.907-.589-1.775-1.11-2.817-1.415-1.349-.394-.907.086-1.276-1.146-.232-.773-.024-1.763-.246-2.592-1.973 1.658-2.615 4.055-3.5 6.381-1.02 2.684-2.122 5.335-3.196 7.997-2.635 6.535-6.034 12.395-9.891 18.247-.672 1.02-2.165 2.95-1.09 4.174.96 1.095 2.33.306 3.386-.139 1.436-.604 3.385-2.164 4.935-1.347 1.998 1.054 1.054 4.984 4.214 4.827 3.114-.154 2.527-5.28 3.527-7.317 2.311 1.685 4.175.64 5.579-1.611 1.626-2.61 3.775-3.657 6.513-4.938 1.12-.524 3.034-1.94 4.2-2.115.966-.145 1.893.883 3.184.837 3.098-.113 4.392-4.253 4.023-6.848"></path><path id="Fill-31" d="M18.537 22.834c-2.425-.445-5.807-.074-6.029 3.153-.136 1.978 1.41 3.848 3.082 4.664 5.122 2.5 9.109-6.688 2.947-7.817"></path><path id="Fill-33" d="M28.336 19.158c-.65-.706-1.703-1.24-2.675-.993.31-.214.568-.6.864-.839-3.156-2.286-5.14 3.479-3.346 5.748 2.717 3.44 8.037-.766 5.157-3.916"></path></g></g></g>',1),vg=[wg];function Eg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vg])}const Cg={render:Eg},Sg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Selena" fill-rule="evenodd" stroke-width="1"><g id="Selena" fill="#FFF" transform="translate(94 58)"><path id="Bom-Bom" d="M65.303 7.568c-.156.93-1.922 5.089-3.229 2.95-.509-.832.402-3.46.685-4.209.558-1.472.974-1.638 2.263-2.33.109 1.188.411 2.398.281 3.589m-2.984 3.319c.03.012.158.132 0 0m-.008-.007c-.006-.004 0 0 0 0M55.03 6.205c.01.008.053.042 0 0M42.555 11.16c-.207 1.22-.475 2.439-.904 3.6-.17-1.732.103-3.456 1-4.95q-.015.676-.096 1.35m-.01-2.502c-.004-.016-.159-.24 0 0M25.908 18.803c.153-1.533.768-3.017 1.906-4.044-.277 1.625-1.072 2.67-1.906 4.044m49.93-13.506c0 .637-2.06 2.335-2.574 2.803-.879.799-1.815 1.44-3.077 1.254-3.462-.51-2.09-4.206-2.641-6.481-.434-1.788-.879-1.114-2.082-1.227-1.118-.104-1.518-.656-2.682.187-2.096 1.519-3.766 3.496-4.659 5.98-.324-1.695-1.245-4.503-3.452-4.093-1.632.303-2.984 2.926-3.663 4.243-.052-1.198-.668-3.076-2.175-2.218-1.036.589-.991 3.381-1.218 4.41-.465 2.111-1.379 7.617-4.644 6.901 1.029-1.918 3.28-7.97 1.35-9.937-2.712-2.762-4.775 4.156-4.886 5.84-.08 1.205.806 3.944.329 4.692-.585.918-2.428 1.313-3.303.641-1.405-1.078-.85-2.83-.53-4.199.422-1.794.62-3.597.734-5.437.085-1.38 1.286-7.548-1.028-7.632-2.095-.075-2.309 5.138-2.458 6.563-.185 1.751-.296 3.525-.235 5.288.062 1.782.394 2.97-.297 4.643-.74 1.793-4.264 7.17-6.373 3.6 2.24-.983 4.911-5.518 3.71-8.067-1.667-3.534-5.416 1.85-5.96 3.656-.877 2.915-.491 6.722 2.864 7.671 3.493.989 6.19-2.286 7.421-5.18 1.002 1.588 2.845 1.986 4.55 1.505a5.8 5.8 0 0 0 1.89-.947c1.07-.81.444-.509 1.58-.542 3.297-.094 5.096-1.153 6.332-4.545-.015.934.343 2.36 1.598 1.849.974-.397.968-2.01 1.148-2.87.57-2.713 1.466-5.541 3.599-7.422 1.84 2.002.48 5.427 1.69 7.56 1.868 3.288 2.808-2.532 3.1-3.654.057 4.882 5.861 3.084 7.118-.157 3.3 3.515 10.234.349 8.923-4.678"></path><path id="Bidi" d="M69.434 15.349c-3.63 0-7.605 1.026-11.127 1.817a98 98 0 0 0-10.502 2.97c-3.871 1.339-7.812 2.554-11.59 4.122-3.276 1.36-7.508 2.353-9.512 5.416-.004.008 2.102-.088 2.272-.117 1.05-.174 1.952-.543 2.917-.956 1.747-.746 3.482-1.519 5.224-2.276 3.904-1.698 7.98-3.095 11.988-4.554 3.996-1.453 8.095-2.685 12.255-3.625 3.39-.767 7.182-.914 10.303-2.273q-.176.066.23-.091c-.079.038-2.221-.433-2.458-.433m-47.317 5.476c-2.27-.998-5.477-.558-7.835-.239-2.143.29-5.496.935-6.833 1.108-1.106.14-4.406 1.04-5.01-.197-.649-1.331 2.72-5.403 3.456-6.363 3.315-4.32 7.3-9.12 12.08-11.923-.44 1.95-.825 3.918-1.227 5.876-.166.808-.95 5.164.486 5.508.59.14 1.772-2.783 1.87-3.044.823-2.19 1.012-4.71 1.391-7.002.217-1.311 1.2-4.05-.694-4.502-1.629-.389-3.836 1.727-4.923 2.619-3.282 2.692-6.127 5.947-8.787 9.22-1.31 1.613-2.615 3.234-3.714 4.997-.904 1.45-3.09 4.49-2.145 6.282 1.698 3.221 9.84.398 12.432-.032 2.045-.339 4.152-.66 6.227-.376 2.162.295 2.057 1.27 1.339 3.196-1.478 3.96-4.776 7.36-7.724 10.32-1.299 1.303-6.38 7.419-7.66 4.091-.87-2.26-.1-5.035.9-7.114.468-.973 1.089-1.861 1.577-2.824.133-.263.802-2.425.947-2.473-3.87 1.35-6.117 6.585-6.332 10.287-.102 1.741.136 4.324 1.8 5.368s3.226-.227 4.549-1.185c3.642-2.64 6.891-5.998 9.865-9.335 1.626-1.824 8.453-10.287 3.965-12.263"></path></g></g></g>',1),Mg=[Sg];function Bg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mg])}const Ag={render:Bg},Vg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Skull-Outline" fill-rule="evenodd" stroke-width="1"><g id="Skull" fill="#FFF" transform="translate(113 59)"><path id="Boo!" d="M36.335 17.04c-.18 1.038-.442 2.069-.988 2.989-.72 1.211-2.026 1.707-2.783 2.818-1.193 1.752.392 4.276-.786 5.837-1.266 1.68-4.142.663-5.262 2.892-1.18 2.35.538 5.492-.943 7.83-1.47-.37-1.922-5.886-4.189-2.367-1.452 2.254-.471 3.475-2.649.235-.756-1.125-1.61-2.136-3.096-1.393-1.043.521-1.258 2.837-2.21 3.086-2.333.612-2.418-5.617-3.212-6.796-.436-.648-.842-1.032-1.617-1.277-.672-.213-1.869.215-2.425-.1-1.045-.592-1.186-2.556-1.225-3.598-.074-1.939.575-3.919.04-5.838-.451-1.612-1.887-2.603-2.357-4.183C.1 8.64 11.683 3.895 18.3 3.63c7.74-.31 19.037 4.222 18.036 13.41m1.838-5.316c-1.456-3.441-4.655-6.177-7.915-8.013a18.5 18.5 0 0 0-5.085-1.94c-1.641-.36-3.558-.123-5.125-.576C18.728.812 17.91-.048 16.356.002c-2.118.068-4.319 1.172-6.168 2.086-3.66 1.807-6.771 4.148-8.726 7.743-2.098 3.859-1.9 7.356.349 10.952 2.145 3.434-.974 8.262 2.167 11.526C5.3 33.68 6.6 32.68 7.85 33.34c.962.508.921 3.462 1.188 4.328 1.2 3.893 5.514 5.4 7.506 1.191.94 2.353 4.655 4.764 6.385 1.686 1.082 1.4 2.954 1.995 4.383.795 1.344-1.128 1.492-3.755 1.56-5.343.054-1.238-.497-2.764.454-3.658 1.047-.984 3.194-.57 4.37-1.839 1.34-1.45.789-3.146.892-4.872.104-1.746.416-1.301 1.71-2.562 2.885-2.81 3.374-7.807 1.875-11.343"></path><path id="Boo!" d="M14.42 28.121c2.02-1.822 1.591-7.397 1.424-9.959-.316-4.86-3.355-3.408-5.206-.38-1.4 2.29-4.766 5.994-3.257 8.876 1.202 2.296 5.18 3.136 7.039 1.463m13.37-8.847c-1.034-1.92-1.42-2.212-2.65-3.785-.791-1.011-1.9-2.802-3.404-2.442-2.582.62-1.528 6.612-1.498 8.402.024 1.358-.277 2.765.851 3.728 1.155.986 3.053.897 4.44.69 4.259-.633 4.062-3.253 2.262-6.593M19.24 31.83c-.284-.036.077-.362.12-.587.187.614.326.643-.12.587m1.045-4.31c-2.617-2.77-7.574 6.397-4.08 7.425.805.237 1.4-.363 2.155-.468 1.1-.153 2.024.487 2.973-.522 1.491-1.584.187-5.098-1.048-6.436"></path></g></g></g>',1),Ng=[Vg];function Dg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ng])}const _g={render:Dg},Tg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Bear" fill-rule="evenodd" stroke-width="1"><defs><path id="poly-1" d="M47.892.43v41.49H.453V.43z"></path></defs><g id="Group-76" transform="translate(108 59)"><path id="Fill-74" fill="#FFF" d="M34.447 31.586c-.479 2.816-4.08 7.345-7.147 4.384-3.467-3.344 4.225-4.81 1.481-7.594-1.184-1.2-4.412-.537-6.002-.41-1.49.117-3.866.454-3.296 2.624.433 1.65 1.71.944 2.389 1.892.535.748.308 3.507-.49 4.267-1.002.956-2.189.663-3.584.05-3.192-1.4-4.677-5.312-2.575-8.216 4.155-5.741 20.067-7.059 19.224 3.003M14.985 14.724c.985-.443 2.148-.203 2.732.787.802 1.356-.357 3.173-1.975 2.956-1.707-.23-2.57-2.919-.757-3.743m17.962 1.655c-.856 3.006-5.636-.378-2.936-2.29 1.552-1.099 3.447.491 2.936 2.29m14.88 6.79c-.236-2.38-.9-4.646-2.088-6.73-.623-1.093-1.393-2.111-2.19-3.081-.3-.365-.906-1.008-1.023-1.213-.709-1.24-.638-.362-.247-1.785.616-2.243 1.947-4.08.884-6.49-.99-2.24-3.655-3.293-5.984-3.426a8.2 8.2 0 0 0-3.207.449c-1.035.368-2.001 1.64-2.9 1.9-.698.204-2.685-.46-3.441-.508-1.395-.089-2.798-.05-4.192.034-1.63.096-5.376 1.263-6.913.877-1.015-.255-2.209-1.781-3.381-2.164C11.853.61 10.467.468 9.178.954c-2.285.864-4 3.552-4.053 5.942-.028 1.255.655 2.115.79 3.25.203 1.716.437.357-.487 1.726-.47.697-1.295 1.31-1.824 1.982C.779 17.44-.28 22.732.974 27.074c3.159 10.94 13.668 15.394 24.44 14.793 9.25-.516 23.564-7.718 22.413-18.698"></path></g></g></g>',1),Pg=[Tg];function Og(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pg])}const Fg={render:Og},Lg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Deer" fill="#FFF" fill-rule="evenodd"><path id="oh,-deer!" d="M76.96 16.235c.395 1.425-2.228 2.67-3.106 3.419-1.507 1.283-3.065 2.634-4.825 3.547-.748.388-1.553.703-2.362.935-1.247.357-1.104.107-1.58 1.165-.838 1.86-1.055 4.334-1.812 6.312-1.704 4.454-5.767 14.8-12.267 10.259-2.068-1.445-3.197-4.247-4.36-6.436-1.335-2.512-2.613-5.508-3.381-8.25-.375-1.336-.137-1.79-1.13-2.415-.622-.392-1.679-.493-2.383-.78-1.5-.61-2.813-1.436-4.088-2.43-1.238-.966-6.11-4.951-2.132-5.691 1.825-.34 4.217-.214 6.067-.12 2.027.102 4.073.57 5.876 1.535 1.841.987 1.301.701 3.21.15-3.322-1.126-6.649-2.998-8.884-5.781-1.207-1.503-4-7.654-1.9-9.065 2.52-1.696 2.73 5.346 3.439 6.567 1.592 2.744 4.508 3.78 7.042 5.299-1.74-1.668-3.04-3.505-3.673-5.868-.275-1.025-1.026-3.489-.519-4.486.529-1.04 1.772-1.106 2.458-.22.618.797.462 2.63.674 3.591.35 1.589.921 2.81 1.982 4.04 1.505 1.747 3.417 3.175 5.669 3.728 5.127 1.258 6.92-4.108 7.608-8.245.168-1.013-.08-2.693 1.05-3.18 1.367-.588 1.896.747 1.936 1.782.087 2.314-1.056 5.857-2.166 7.845 2.79-1.732 5.003-4.478 5.899-7.688.33-1.188.062-3.836 1.174-4.503 1.54-.924 2.029.917 1.975 2.022-.319 6.515-5.298 12.44-11.488 14.069 1.518.759 1.318.93 2.848.023.885-.525 1.845-.93 2.827-1.23 1.47-.452 3.055-.682 4.58-.817 1.22-.107 5.274-.817 5.742.917m-18.1 8.386c.86-2.138-2.496-2.216-2.822.095-.416 2.945 2.755 3.176 2.822-.095m-1.93 9.016c.659-2.196-3.526-2.112-3.896-.17-.436 2.291 3.406 1.73 3.896.17M51.702 27c2.324 0 3.272-3.065.997-3.861-2.89-1.013-3.815 3.861-.997 3.861" transform="translate(77 58)"></path></g></g>',1),$g=[Lg];function Hg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$g])}const Rg={render:Hg},zg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Hola" fill="#FFF" fill-rule="evenodd"><path id="Hola" d="M74.637 16.948c1.28 5.762-.904 11.244-5.33 15.004-2.08 1.768-4.434 3.074-7.056 3.835a25 25 0 0 1-4.497.87c-1.136.111-2.784-.4-3.79-.111-1.12.321-2.559 1.865-3.757 2.362a20 20 0 0 1-2.068.727c-1.506.438-3.065.734-4.613.977-1.602.25-8.283 1.302-7.455-1.637.284-1.01 3.11-2.504 3.724-3.184.454-.502 3.145-3.364 3.019-4.295-.04-.294-1.747-1.63-2.148-2.08-.909-1.019-1.762-2.058-2.245-3.351-.829-2.216-.786-4.998-.51-7.32.688-5.804 3.566-9.659 8.602-12.55 2.855-1.637 5.96-2.538 9.205-2.934 3.956-.483 7.11-.498 10.467 1.75 4.42 2.96 7.275 6.668 8.452 11.937m-5.131 6.988c1.086-.3-.308-3.053-1.079-1.72-.277.48.463 1.889 1.079 1.72m-1.821-5.322c.088.36.434.47.748.427.75-.104.28-.981.301-1.373.04-.749.107-2.639-.172-3.32-.513-1.254-.975-1.014-1.274.214-.267 1.1.123 2.947.397 4.052m-1.048 4.279c.843-.498-1.38-6.176-1.868-6.988-1.892-3.145-2.504 2.431-2.794 3.81-.125.596-1.518 6.781.339 4.787.99-1.064-.558-4.602 2.243-3.78.984.29.272.207.874 1.11.22.33.458 1.5 1.206 1.06Zm-6.342-1.294c.786-1.35-2.665-.721-3.062-.697.094-1.8.445-3.623.44-5.422 0-.475.165-2.191-.958-1.381-.454.327-.298 1.83-.336 2.28-.09 1.057-.948 4.707-.108 5.56.595.603 3.693.22 4.024-.34m-4.799-2.44c.338-1.344-.084-4.253-1.845-4.28-.613-.008-.335.831-.487.92-1.065.621-1.528.542-2.16 1.646-2.486 4.35 3.067 7.445 4.492 1.714m-6.027 3.83c.761-.21.546-9.977-.331-9.983-1.51-.008-.063 4.84-.635 5.49-.17.196-1.026.015-1.25.056-1.14.212-1.89.092-2.24-.606-.312-.62.36-4.88-1.258-2.79q.023 1.107.035 2.213.504 1.072-.376 1.306c-.03.47.392.864.397 1.017.025.771-.484 4.231.9 4.064.885-.107.32-3.481.317-4.03 1.143.027 2.34.155 3.475.008.006.427-.288 3.603.966 3.256ZM63.837 17A19 19 0 0 1 65 18.842q-.999.086-2 .158c.272-.668.544-1.335.837-2m-9.914 0c.145.423.256 3.288-1.355 2.976-.92-.177-.507-1.764-.246-2.091.55-.69.873-.448 1.601-.885" transform="translate(77 58)"></path></g></g>',1),Ig=[zg];function Gg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ig])}const jg={render:Gg},qg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Resist" fill-rule="evenodd" stroke-width="1"><g id="Resist" fill="#FFF" transform="translate(80 67)"><path id="!" d="M102.565 21.071c-3.082-.666-5.192 3.535-1.912 4.784 2.815 1.072 4.845-4.145 1.912-4.784"></path><path id="H" d="M101.191 18c3.657 0 2.308-5.981 2.321-7.965.014-2.137 1.545-8.596-.89-9.734-4.216-1.971-3.06 6.325-3.034 7.968.028 1.816.167 3.72-.229 5.508-.35 1.58-1.129 4.223 1.832 4.223"></path><path id="C" d="M96.058 1.974c-1.082-.622-2.801-.32-3.987-.374-1.349-.06-2.69-.195-4.035-.293-2.177-.16-4.956-.563-7.118-.068-1.226.28-2.338 1.225-1.761 2.608.62 1.49 2.303 1.105 3.58 1.03.585-.035 2.033-.29 2.605-.089.997.35.573-.108.801 1.067.349 1.807.14 4 .125 5.838-.026 3.174-.036 6.364-.103 9.536-.026 1.236-.44 2.632.757 3.448.998.68 2.216.225 2.733-.793.514-1.013.026-3.067-.029-4.196-.066-1.347-.136-2.676-.097-4.025.104-3.585.282-7.167.368-10.754.943.046 1.922.018 2.856.15.683.095 1.665.535 2.322.5 1.9-.1 2.694-2.587.983-3.585"></path><path id="A" d="M67.722 8.813c-.012-.053-.082-.644 0 0m-.037-.276c.004.025 0 .008 0 0m1.432-3.11c3.416-3.981 4.583 4.347 7.246 3.995 4.26-.564-.941-6.953-2.669-7.776-3.515-1.675-6.605.08-8.277 3.267-2.098 4-.77 6.708 3.258 8.444 1.471.635 7.04 2.528 5.53 4.959-.76 1.224-3.526 1.329-4.7 1.086-2.356-.486-1.989-2.086-3.135-3.573-1.033-1.34-3.03-.947-3.342.781-.245 1.358 1.17 3.425 2.115 4.38 2.233 2.256 6.04 2.437 8.887 1.41 4.386-1.583 4.917-5.71 1.806-8.905-1.749-1.795-3.933-2.34-6.113-3.418-2.645-1.306-2.15-2.39-.606-4.65"></path><path id="E" d="M58.75 20.568c-.564-4.825-.696-9.717-.78-14.563-.027-1.554.706-5.206-1.453-5.865-2.915-.89-2.528 2.692-2.467 4.164.205 4.913.842 9.789 1.071 14.696.073 1.557-.429 4.574 1.831 4.946 2.75.454 2.008-2.081 1.798-3.378"></path><path id="P" d="M49.472 4.68c-2.36-3.159-7.154-3.669-10.09-.758-2.072 2.054-3.377 6.92-1.416 9.403 2.124 2.691 7.355.332 8.725 3.383 1.682 3.743-2.73 5.148-5.074 2.663-.843-.894-.659-2.454-1.9-3.007-1.763-.785-2.864.928-2.517 2.359.848 3.5 4.652 5.39 8.101 5.272 3.768-.13 5.402-2.977 5.163-6.4-.33-4.735-3.985-5.476-7.99-5.998-1.698-.22-1.92-.2-1.816-1.952.128-2.118 1.37-4.567 3.991-4.063 2.106.405 2.294 3.571 4.455 3.718 3.496.239 1.256-3.433.368-4.62"></path><path id="M" d="M31.721 20.438c-1.337.32-2.963.098-4.327.073-1.053-.019-4.574.427-5.261-.296-.76-.8-.513-3.247-.545-4.286-.046-1.454-.404-1.67.872-2 .749-.193 1.907-.096 2.682-.131 1.515-.07 3.465.21 4.93-.088 1.37-.28 2.502-1.751 1.25-3.004-.886-.888-2.542-.411-3.631-.386-2.034.046-4.069.036-6.103.072.008-1.568-.043-3.147.079-4.71 2.847.14 5.812.881 8.659.745 1.44-.07 3.04-.992 2.31-2.73-.624-1.49-2.521-1.287-3.843-1.346-1.653-.075-3.308-.113-4.962-.17-1.224-.042-3.005-.445-4.159.107-2.362 1.13-1.55 5.01-1.485 7.112.084 2.666.085 5.268.177 7.956.084 2.433-.037 5.641 2.852 6.325 2.89.684 6.245.033 9.192.176 1.209.058 2.861.41 3.455-.996.569-1.349-.73-2.774-2.142-2.423"></path><path id="I" d="M8.41 5.88c2.321.5 2.942 3.014 3.02 5.149.054 1.46.183 1.373-1.003 1.74-1.19.368-2.92.169-4.139.116-2.543-.11-2.235-.278-2.284-2.945-.012-.625-.475-3.504-.108-3.91.476-.528 3.839-.203 4.514-.15m5.077 14.838c-1.29-1.504-2.586-2.94-4.034-4.286 2.158-.06 4.503-.473 5.27-2.819.648-1.982.085-5-.668-6.872-.994-2.47-3.062-4.119-5.635-4.478-1.796-.251-6.278-.673-7.62.71C-.665 4.482.352 8.623.442 10.47c.16 3.271.044 6.518-.157 9.785-.064 1.055-.582 2.787-.041 3.737.6 1.054 2.059 1.317 2.969.537.984-.844.529-1.878.468-2.961-.093-1.676.075-3.404.174-5.074 1.608 1.312 3.25 2.591 4.762 4.022 1.493 1.414 2.564 3.202 3.99 4.627 1.011 1.01 2.82 1.425 3.331-.448.44-1.608-1.571-2.951-2.451-3.977"></path></g></g></g>',1),Wg=[qg];function Yg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wg])}const Ug={render:Yg},Xg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Skull" fill="#FFF" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Fill-49" d="M65.282 19.929c-.298 2.777-5.693 4.274-7.672 2.448-.912-.842-.927-2.574-1.128-3.702-.38-2.133-.656-4.258-.751-6.423-.058-1.325-.406-2.385 1.044-2.582.883-.12 1.793.468 2.515.933 2.447 1.573 6.33 6.138 5.992 9.326m-12.4-5.853c.284 2.825 1.32 7.739-.936 10.105-2.016 2.115-6.16.018-6.783-2.473-.773-3.09 2.275-6.78 4.145-8.87.574-.641 1.844-2.412 2.836-1.82.382.228.693 2.612.737 3.058m1.44 11.03c.647-1.523 6.913 3.019 3.953 5.18-.482.352-4.16 1.465-4.864.941-1.485-1.103.43-4.964.911-6.12m19.004-7.58c-.443-15.476-20.26-19.84-30.85-11.023-4.048 3.372-6.362 7.5-6.468 12.779-.09 4.471.619 8.689 4.034 11.764 1.481 1.333 2.46 2.149 3.245 3.97.824 1.906 1.2 4.335 2.742 5.833.85.825 2.09 1.492 3.266.96 2.162-.98 1.47-3.978 2.125-5.65 2.037 4.97 7.211 6.554 8.15.25 1.031 1.819 3.726 4.2 5.7 2.21.812-.82.934-2.15 1.072-3.227.245-1.912-.18-2.664 1.355-3.975 4.039-3.45 5.773-8.672 5.63-13.891" transform="translate(77 58)"></path></g></g>',1),Zg=[Xg];function Qg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zg])}const Kg={render:Qg},Jg={Bat:mg,Cumbia:gg,Diamond:bg,Pizza:Cg,Selena:Ag,SkullOutline:_g,Bear:Fg,Deer:Rg,Hola:jg,Resist:Ug,Skull:Kg},ey=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Closed",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("path",{id:"Closed-Eye",d:"M16.16 32.447C18.007 28.65 22.164 26 26.998 26c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125m58 0C76.007 28.65 80.164 26 84.998 26c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125",transform:"matrix(1 0 0 -1 0 60)"})])],-1),ty=[ey];function ay(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ty])}const ny={render:ay},ry=t.createElementVNode("g",{class:"CustomColor",opacity:".6",transform:"translate(76 90)"},[t.createElementVNode("circle",{id:"Eye",cx:"30",cy:"22",r:"6"}),t.createElementVNode("circle",{id:"Eye",cx:"82",cy:"22",r:"6"})],-1),oy=[ry];function iy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...oy])}const ly={render:iy},sy=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Eye-Roll" transform="translate(0 8)"><circle id="Eyeball" cx="30" cy="22" r="14" fill="#FFF"></circle><circle id="The-white-stuff" cx="82" cy="22" r="14" fill="#FFF"></circle><circle cx="30" cy="14" r="6" class="CustomColor" opacity=".7"></circle><circle cx="82" cy="14" r="6" class="CustomColor" opacity=".7"></circle></g></g>',1),cy=[sy];function dy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...cy])}const uy={render:dy},my=t.createElementVNode("g",{fill:"#FF5353",class:"CustomColor",opacity:".8",transform:"translate(76 90)"},[t.createElementVNode("path",{id:"Heart",d:"M35.958 10c-2.55 0-5.074 1.98-6.458 3.82-1.39-1.84-3.907-3.82-6.458-3.82C17.552 10 14 13.334 14 17.641c0 5.73 4.412 9.13 9.042 12.736 1.653 1.236 4.78 4.4 5.166 5.094.386.693 2.106.718 2.584 0 .477-.718 3.51-3.858 5.166-5.094C40.585 26.77 45 23.37 45 17.64c0-4.306-3.552-7.64-9.042-7.64m53 0c-2.55 0-5.074 1.98-6.458 3.82-1.39-1.84-3.907-3.82-6.458-3.82C70.552 10 67 13.334 67 17.641c0 5.73 4.412 9.13 9.042 12.736 1.653 1.236 4.78 4.4 5.166 5.094.386.693 2.106.718 2.584 0 .477-.718 3.51-3.858 5.166-5.094C93.585 26.77 98 23.37 98 17.64c0-4.306-3.552-7.64-9.042-7.64"})],-1),fy=[my];function hy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...fy])}const py={render:hy},gy=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Squint" transform="translate(0 8)"><defs><path id="Eye1" d="M14 14.048c9.61 0 14 4.451 14-2.486C28 4.624 21.732 0 14 0S0 4.624 0 11.562s4.39 2.486 14 2.486"></path><path id="Eye2" d="M14 14.048c9.61 0 14 4.451 14-2.486C28 4.624 21.732 0 14 0S0 4.624 0 11.562s4.39 2.486 14 2.486"></path></defs><g id="Eye" transform="translate(16 13)"><mask id="EyeMask1" fill="#fff"><use href="#Eye1"></use></mask><use id="The-white-stuff" fill="#FFF" href="#Eye1"></use><circle cx="14" cy="10" r="6" class="CustomColor" mask="url(&#39;#EyeMask1&#39;)" opacity=".7"></circle></g><g id="Eye" transform="translate(68 13)"><mask id="EyeMask2" fill="#fff"><use href="#Eye2"></use></mask><use id="Eyeball-Mask" fill="#FFF" href="#Eye2"></use><circle cx="14" cy="10" r="6" class="CustomColor" mask="url(&#39;#EyeMask2&#39;)" opacity=".7"></circle></g></g></g>',1),yy=[gy];function ky(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...yy])}const xy={render:ky},by=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Wink",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("circle",{id:"Eye",cx:"30",cy:"22",r:"6"}),t.createElementVNode("path",{id:"Winky-Wink",d:"M70.412 24.205c1.847-3.799 6.005-6.447 10.838-6.447 4.816 0 8.961 2.63 10.818 6.407.551 1.122-.234 2.04-1.025 1.36-2.451-2.108-5.932-3.424-9.793-3.424-3.74 0-7.124 1.235-9.56 3.228-.891.729-1.818-.013-1.278-1.124",transform:"rotate(-4 81.252 21.758)"})])],-1),wy=[by];function vy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...wy])}const Ey={render:vy},Cy=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Cry" transform="translate(0 8)"><circle cx="30" cy="22" r="6" class="CustomColor" opacity=".6"></circle><path id="Drop" fill="#92D9FF" d="M25 27s-6 7.27-6 11.27a6 6 0 1 0 12 0c0-4-6-11.27-6-11.27"></path><circle cx="82" cy="22" r="6" class="CustomColor" opacity=".6"></circle></g></g>',1),Sy=[Cy];function My(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Sy])}const By={render:My},Ay=t.createElementVNode("g",{class:"CustomColor",opacity:".6",transform:"translate(76 90)"},[t.createElementVNode("path",{id:"Eye",d:"m29 25.2 5.5 5.5c.5.4 1.2.4 1.6 0l1.6-1.6c.4-.5.4-1.2 0-1.6L32.2 22l5.5-5.5c.4-.5.4-1.2 0-1.6l-1.6-1.6c-.5-.4-1.2-.4-1.6 0L29 18.8l-5.5-5.5c-.5-.4-1.2-.4-1.6 0l-1.6 1.6c-.4.4-.4 1.1 0 1.6l5.5 5.5-5.5 5.5c-.4.5-.4 1.2 0 1.6l1.6 1.6c.5.4 1.2.4 1.6 0zm54 0 5.5 5.5c.5.4 1.2.4 1.6 0l1.6-1.6c.4-.5.4-1.2 0-1.6L86.2 22l5.5-5.5c.4-.5.4-1.2 0-1.6l-1.6-1.6c-.5-.4-1.2-.4-1.6 0L83 18.8l-5.5-5.5c-.5-.4-1.2-.4-1.6 0l-1.6 1.6c-.4.4-.4 1.1 0 1.6l5.5 5.5-5.5 5.5c-.4.5-.4 1.2 0 1.6l1.6 1.6c.5.4 1.2.4 1.6 0z"})],-1),Vy=[Ay];function Ny(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Vy])}const Dy={render:Ny},_y=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Happy",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("path",{id:"Squint",d:"M16.16 22.447C18.007 18.65 22.164 16 26.998 16c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125m58 0C76.007 18.65 80.164 16 84.998 16c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125"})])],-1),Ty=[_y];function Py(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ty])}const Oy={render:Py},Fy=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Side",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("path",{id:"Eye",d:"M27.241 20.346a6 6 0 1 0 10.699 2.8 2 2 0 0 0-.125-.739 8 8 0 0 0-.144-.372 6 6 0 0 0-1.646-2.484C33.9 17.317 30.506 16 26.998 16c-4.834 0-8.991 2.649-10.838 6.447-.54 1.111.387 1.853 1.278 1.125 2.436-1.993 5.82-3.228 9.56-3.228zm58 0a6 6 0 1 0 10.699 2.8 2 2 0 0 0-.125-.739 8 8 0 0 0-.144-.372 6 6 0 0 0-1.646-2.484C91.9 17.317 88.506 16 84.998 16c-4.834 0-8.991 2.649-10.838 6.447-.54 1.111.387 1.853 1.278 1.125 2.436-1.993 5.82-3.228 9.56-3.228z"})])],-1),Ly=[Fy];function $y(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ly])}const Hy={render:$y},Ry=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Surprised" transform="translate(0 8)"><circle id="The-White-Stuff" cx="30" cy="22" r="14" fill="#FFF"></circle><circle id="Eye-Ball" cx="82" cy="22" r="14" fill="#FFF"></circle><circle cx="30" cy="22" r="6" class="CustomColor" opacity=".7"></circle><circle cx="82" cy="22" r="6" class="CustomColor" opacity=".7"></circle></g></g>',1),zy=[Ry];function Iy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...zy])}const Gy={render:Iy},jy=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Wink-Wacky" transform="translate(0 8)"><circle id="cornea" cx="82" cy="22" r="12" fill="#FFF"></circle><circle cx="82" cy="22" r="6" class="CustomColor" opacity=".7"></circle><path id="Winky-Doodle" fill="#000" d="M16.16 25.447C18.007 21.65 22.164 19 26.998 19c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125" opacity=".6"></path></g></g>',1),qy=[jy];function Wy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...qy])}const Yy={render:Wy},Uy={Close:ny,Default:ly,EyeRoll:uy,Hearts:py,Squint:xy,Wink:Ey,Cry:By,Dizzy:Dy,Happy:Oy,Side:Hy,Surprised:Gy,WinkWacky:Yy},Xy=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Outline/Angry",d:"M15.611 15.185c4.24-5.769 6.878-5.484 13.313-.629l.67.508C34.422 18.726 36.708 20 40 20a2 2 0 1 0 0-4c-2.066 0-3.901-1.022-7.989-4.123-.375-.285-.492-.373-.678-.513-3.76-2.837-5.959-4.077-8.695-4.372-3.684-.398-7.058 1.482-10.25 5.823a2 2 0 0 0 3.223 2.37m80.777 0c-4.24-5.769-6.877-5.484-13.312-.629l-.67.508C77.578 18.726 75.292 20 72 20a2 2 0 1 1 0-4c2.066 0 3.901-1.022 7.989-4.123.375-.285.492-.373.678-.513 3.76-2.837 5.959-4.077 8.695-4.372 3.684-.398 7.058 1.482 10.25 5.823a2 2 0 0 1-3.224 2.37",class:"CustomColor",opacity:".6"})],-1),Zy=[Xy];function Qy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zy])}const Ky={render:Qy},Jy=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Flat-Natural",d:"M38.66 11.09c-4.998.362-9.923.086-14.918-.122-3.83-.158-7.717-.681-11.374 1.012-.7.324-4.53 2.28-4.44 3.349.07.855 3.935 2.191 4.63 2.436 3.67 1.29 7.181.896 10.954.67 4.628-.278 9.236-.074 13.861-.214 3.116-.093 7.917-.62 9.457-4.398.464-1.137.105-3.413-.36-4.657-.185-.496-.72-.683-1.125-.397-1.45 1.023-4.261 2.146-6.685 2.321m34.68 0c4.998.362 9.923.086 14.918-.122 3.83-.158 7.717-.681 11.374 1.012.7.324 4.53 2.28 4.44 3.349-.07.855-3.935 2.191-4.63 2.436-3.67 1.29-7.181.896-10.954.67-4.628-.278-9.236-.074-13.861-.214-3.116-.093-7.917-.62-9.457-4.398-.464-1.137-.105-3.413.36-4.657.185-.496.72-.683 1.125-.397 1.45 1.023 4.261 2.146 6.685 2.321",class:"CustomColor",opacity:".6"})],-1),ek=[Jy];function tk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ek])}const ak={render:tk},nk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Outline/Sad-Concerned",d:"M38.028 5.591c-1.48 8.389-14.09 14.18-23.238 10.432-1.015-.416-2.19.031-2.627.999s.033 2.09 1.048 2.505c11.444 4.69 26.835-2.38 28.762-13.303.183-1.039-.551-2.023-1.64-2.197-1.09-.175-2.122.525-2.305 1.564m35.945 0c1.48 8.389 14.09 14.18 23.238 10.432 1.014-.416 2.19.031 2.627.999s-.033 2.09-1.048 2.505c-11.444 4.69-26.835-2.38-28.762-13.303-.183-1.039.551-2.023 1.64-2.197 1.09-.175 2.121.525 2.305 1.564",class:"CustomColor",opacity:".6"})],-1),rk=[nk];function ok(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...rk])}const ik={render:ok},lk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Up-Down-Natural",d:"m22.766 1.578.911-.402C28.92-.905 36.865-.033 41.723 2.299c.567.272.18 1.153-.402 1.108-14.919-1.151-24.963 8.146-28.375 14.44-.101.187-.407.208-.482.034-2.308-5.319 4.45-13.985 10.302-16.303M86.993 12.07c5.761.773 14.746 5.795 13.994 11.607-.024.19-.312.25-.436.091-2.487-3.188-21.712-7.872-28.714-6.894-.64.09-1.063-.571-.626-.984 3.744-3.535 10.62-4.518 15.782-3.82",class:"CustomColor",opacity:".6"})],-1),sk=[lk];function ck(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sk])}const dk={render:ck},uk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Angry-Natural",d:"M44.095 17.125q.006-.014 0 0M19.284 5.005c-2.368-.266-4.858.497-6.427 2.434-.59.728-1.553 2.48-1.509 3.417.017.356.225.375 1.124.59 1.646.392 4.5-1.114 6.355-.972 2.582.198 5.047 1.395 7.283 2.679 3.838 2.202 8.354 6.84 13.093 6.598.353-.018 5.42-1.739 4.41-2.723-.316-.484-3.034-1.128-3.501-1.361-2.172-1.084-4.367-2.448-6.443-3.718-4.528-2.772-8.944-6.338-14.385-6.944m48.746 12.12q-.006-.014 0 0m24.876-12.12c2.368-.266 4.857.497 6.426 2.434.59.728 1.554 2.48 1.509 3.417-.017.356-.225.375-1.124.59-1.645.392-4.5-1.114-6.355-.972-2.582.198-5.046 1.395-7.282 2.679-3.839 2.202-8.355 6.84-13.093 6.598-.353-.018-5.42-1.739-4.411-2.723.317-.484 3.034-1.128 3.502-1.361 2.171-1.084 4.367-2.448 6.442-3.718 4.528-2.772 8.945-6.338 14.386-6.944",class:"CustomColor",opacity:".6"})],-1),mk=[uk];function fk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...mk])}const hk={render:fk},pk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Frown-Natural",d:"M36.37 6.876c-1.97 2.905-5.546 4.64-8.738 5.684-3.943 1.29-18.552 3.38-15.112 11.348a.147.147 0 0 0 .272.002c1.153-2.645 17.465-5.123 18.973-5.704 4.445-1.709 8.393-5.49 9.162-10.543.352-2.317-.637-6.049-1.548-7.55-.11-.18-.374-.136-.43.069-.36 1.331-1.41 4.971-2.58 6.694m39.261 0c1.97 2.905 5.546 4.64 8.738 5.684 3.943 1.29 18.551 3.379 15.112 11.348a.147.147 0 0 1-.272.002c-1.153-2.645-17.465-5.123-18.973-5.704-4.445-1.709-8.393-5.49-9.162-10.543-.352-2.317.637-6.049 1.548-7.55.11-.18.374-.136.43.069.36 1.331 1.41 4.971 2.58 6.694",class:"CustomColor",opacity:".6"})],-1),gk=[pk];function yk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...gk])}const kk={render:yk},xk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Sad-Concerned-Natural",d:"m31.234 20.422-.911.402c-5.242 2.081-13.188 1.209-18.046-1.123-.567-.272-.18-1.153.402-1.108 14.919 1.151 24.963-8.146 28.375-14.44.101-.187.407-.208.482-.034 2.308 5.319-4.45 13.985-10.302 16.303m49.532 0 .911.402c5.242 2.081 13.188 1.209 18.046-1.123.567-.272.18-1.153-.402-1.108-14.919 1.151-24.963-8.146-28.375-14.44-.101-.187-.407-.208-.482-.034-2.308 5.319 4.45 13.985 10.302 16.303",class:"CustomColor",opacity:".6"})],-1),bk=[xk];function wk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bk])}const vk={render:wk},Ek=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyebrow/Outline/Default",opacity:".6"},[t.createElementVNode("path",{id:"I-Browse",d:"M15.63 17.159c3.915-5.51 14.648-8.598 23.893-6.328a2 2 0 0 0 .954-3.884C29.74 4.31 17.312 7.887 12.37 14.84a2 2 0 0 0 3.26 2.318Zm80.74 0c-3.915-5.51-14.648-8.598-23.893-6.328a2 2 0 0 1-.954-3.884c10.737-2.637 23.165.94 28.108 7.894a2 2 0 0 1-3.26 2.318Z",class:"CustomColor"})])],-1),Ck=[Ek];function Sk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ck])}const Mk={render:Sk},Bk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyebrow/Outline/Raised-Excited",opacity:".6"},[t.createElementVNode("path",{id:"I-Browse",d:"M15.976 17.128C17.47 7.605 30.059 1.108 39.164 5.3a2 2 0 0 0 1.672-3.633c-11.487-5.29-26.9 2.664-28.812 14.84a2 2 0 1 0 3.952.62Zm80.048 0C94.53 7.605 81.942 1.108 72.837 5.3a2 2 0 0 1-1.673-3.633c11.487-5.29 26.9 2.664 28.812 14.84a2 2 0 0 1-3.952.62Z",class:"CustomColor"})])],-1),Ak=[Bk];function Vk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ak])}const Nk={render:Vk},Dk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyebrow/Natural/Unibrow-Natural",opacity:".6"},[t.createElementVNode("path",{d:"M56.997 12.82q0-.005 0 0m2.559 2.805c1.892 1.101 4.717 1.734 6.315 1.94 6.277.807 12.266-1.535 18.386-2.68 5.432-1.015 11.625-1.925 16.73.91.13.072 1.162.667 1.707 1.184a.81.81 0 0 0 1.291-.224c1.325-2.726-6.402-8.594-7.865-9.153-6.627-2.528-15.176.704-21.796 2.001-3.717.728-7.462 1.252-11.115 2.29-1.31.373-2.58 1.007-3.862 1.218-.162-.224-.362-.36-.588-.352-1.17.04-2.796 3.557-.56 3.676.7.038 1.13-.312 1.357-.81",class:"CustomColor"}),t.createElementVNode("path",{d:"M55.003 12.79q.002-.005 0 0M15.881 7.573c6.626-2.528 15.176.705 21.796 2.001 3.716.729 7.461 1.253 11.114 2.291 1.47.418 2.887 1.165 4.33 1.274.7.053 1.106.903.635 1.435-1.545 1.74-5.586 2.7-7.626 2.962-6.278.807-12.267-1.534-18.387-2.679-5.432-1.016-11.624-1.925-16.73.91-.13.071-1.161.666-1.707 1.184a.81.81 0 0 1-1.29-.224C6.69 14 14.417 8.133 15.881 7.573m39.092 4.217c1.17.041 2.762 4.5.525 4.674-2.237.173-1.696-4.715-.525-4.674",class:"CustomColor"})])],-1),_k=[Dk];function Tk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[..._k])}const Pk={render:Tk},Ok=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Default-Natural",d:"M26.547 6.148c-5.807.269-15.195 4.488-14.953 10.344.008.192.29.276.427.129 2.755-2.96 22.316-5.95 29.205-4.365.63.145 1.11-.477.71-.927-3.422-3.848-10.186-5.426-15.389-5.18m59.906-.001c5.807.269 15.195 4.488 14.953 10.344-.008.192-.29.276-.427.129-2.755-2.96-22.316-5.95-29.205-4.365-.63.145-1.11-.477-.71-.927 3.422-3.848 10.186-5.426 15.389-5.18",class:"CustomColor",opacity:".6"})],-1),Fk=[Ok];function Lk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Fk])}const $k={render:Lk},Hk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Raised-Excited-Natural",d:"m22.766 1.578.911-.402C28.92-.905 36.865-.033 41.723 2.299c.567.272.18 1.153-.402 1.108-14.919-1.151-24.963 8.146-28.375 14.44-.101.187-.407.208-.482.034-2.308-5.319 4.45-13.985 10.302-16.303m66.468 0-.911-.402C83.08-.905 75.135-.033 70.277 2.299c-.567.272-.18 1.153.402 1.108 14.919-1.151 24.963 8.146 28.375 14.44.101.187.407.208.482.034 2.308-5.319-4.45-13.985-10.302-16.303",class:"CustomColor",opacity:".6"})],-1),Rk=[Hk];function zk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Rk])}const Ik={render:zk},Gk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Outline/Up-Down",d:"M15.591 14.162c4.496-6.326 14.012-9.508 23.756-6.366a2 2 0 1 0 1.228-3.807c-11.408-3.68-22.74.11-28.244 7.856a2 2 0 1 0 3.26 2.317m80.786 6.996c-3.914-5.509-14.647-8.598-23.892-6.328a2 2 0 0 1-.954-3.884c10.736-2.637 23.165.94 28.107 7.895a2 2 0 1 1-3.26 2.317Z",class:"CustomColor",opacity:".6"})],-1),jk=[Gk];function qk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...jk])}const Wk={render:qk},Yk={Angry:Ky,FlatNatural:ak,SadConcerned:ik,UpDownNatural:dk,AngryNatural:hk,FrownNatural:kk,SadConcernedNatural:vk,Default:Mk,RaisedExcited:Nk,UnibrowNatural:Pk,DefaultNatural:$k,RaisedExcitedNatural:Ik,UpDown:Wk},Uk=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Concerned" transform="translate(2 52)"><defs><path id="Mouth1" d="M35.118 15.128C36.176 24.62 44.226 32 54 32c9.804 0 17.874-7.426 18.892-16.96.082-.767-.775-2.04-1.85-2.04H37.088c-1.08 0-2.075 1.178-1.97 2.128"></path></defs><mask id="MouthMask1" fill="#fff"><use href="#Mouth1" transform="matrix(1 0 0 -1 0 45)"></use></mask><use id="Mouth" fill="#000" href="#Mouth1" opacity=".7" transform="matrix(1 0 0 -1 0 45)"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url(&#39;#MouthMask1&#39;)" rx="5"></rect><g id="Tongue" fill="#FF4F6D" mask="url(&#39;#MouthMask1&#39;)"><g transform="translate(38 24)"><circle id="friend?" cx="11" cy="11" r="11"></circle><circle id="How-you-doing" cx="21" cy="11" r="11"></circle></g></g></g></g>',1),Xk=[Uk];function Zk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Xk])}const Qk={render:Zk},Kk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Disbelief",fill:"#000",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40 15c0 7.732 6.268 14 14 14s14-6.268 14-14",transform:"matrix(1 0 0 -1 0 44)"})])],-1),Jk=[Kk];function ex(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Jk])}const tx={render:ex},ax=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Grimace" transform="translate(2 52)"><defs><rect id="Grimace-path1" width="60" height="22" x="24" y="9" rx="11"></rect></defs><rect id="Mouth" width="64" height="26" x="22" y="7" fill="#000" opacity=".6" rx="13"></rect><mask id="Grimace-mask1" fill="#fff"><use href="#Grimace-path1"></use></mask><use id="Mouth" fill="#FFF" href="#Grimace-path1"></use><path id="Grimace-Teeth" fill="#E6E6E6" d="M71 22h-9v12h-4V22h-9v12h-4V22h-9v12h-4V22h-8v-4h8V6h4v12h9V6h4v12h9V6h4v12h9V6h4v12h8.867v4H75v12h-4z" mask="url(&#39;#Grimace-mask1&#39;)"></path></g></g>',1),nx=[ax];function rx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...nx])}const ox={render:rx},ix=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Scream-Open" transform="translate(2 52)"><defs><path id="ScreamOpen-path1" d="M34.008 15.136C35.128 29.124 38.235 40.993 53.996 41c15.762.007 18.92-11.943 19.998-25.994.087-1.13-.82-2.006-1.957-2.006-6.686 0-9.367 1.994-18.048 2s-13.232-2-17.897-2c-1.143 0-2.196.737-2.084 2.136"></path></defs><mask id="ScreamOpen-mask1" fill="#fff"><use href="#ScreamOpen-path1" transform="matrix(1 0 0 -1 0 54)"></use></mask><use id="Mouth" fill="#000" href="#ScreamOpen-path1" opacity=".7" transform="matrix(1 0 0 -1 0 54)"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url(&#39;#ScreamOpen-mask1&#39;)" rx="5"></rect><g id="Tongue" fill="#FF4F6D" mask="url(&#39;#ScreamOpen-mask1&#39;)"><g id="Say-ahhhh" transform="translate(38 32)"><circle cx="11" cy="11" r="11"></circle><circle cx="21" cy="11" r="11"></circle></g></g></g></g>',1),lx=[ix];function sx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...lx])}const cx={render:sx},dx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Smile" transform="translate(2 52)"><defs><path id="Smile-path1" d="M35.118 15.128C36.176 24.62 44.226 32 54 32c9.804 0 17.874-7.426 18.892-16.96.082-.767-.775-2.04-1.85-2.04H37.088c-1.08 0-2.075 1.178-1.97 2.128"></path></defs><mask id="Smile-mask1" fill="#fff"><use href="#Smile-path1"></use></mask><use id="Mouth" fill="#000" href="#Smile-path1" opacity=".7"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url(&#39;#Smile-mask1&#39;)" rx="5"></rect><g id="Tongue" fill="#FF4F6D" mask="url(&#39;#Smile-mask1&#39;)"><g transform="translate(38 24)"><circle cx="11" cy="11" r="11"></circle><circle cx="21" cy="11" r="11"></circle></g></g></g></g>',1),ux=[dx];function mx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ux])}const fx={render:mx},hx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Twinkle",fill:"#000",opacity:".6",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40 16c0 5.372 6.158 9 14 9s14-3.628 14-9c0-1.105-.95-2-2-2-1.293 0-1.87.905-2 2-1.242 2.938-4.317 4.716-10 5-5.683-.284-8.758-2.062-10-5-.13-1.095-.707-2-2-2-1.05 0-2 .895-2 2"})])],-1),px=[hx];function gx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...px])}const yx={render:gx},kx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Default",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40 15c0 7.732 6.268 14 14 14s14-6.268 14-14"})])],-1),xx=[kx];function bx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...xx])}const wx={render:bx},vx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Eating" transform="translate(2 52)"><g id="Om-Nom-Nom" fill="#000" opacity=".6" transform="translate(28 6)"><path id="Delicious" d="M16.19 10.106C16.019 4.996 11.793.797 6.295 0 9.66 1.959 11.98 5.495 11.98 9.677c0 5.668-5.473 10.568-11.803 10.568H0A13 13 0 0 0 4.392 21c5.322 0 9.821-3.153 11.294-7.486 2.475 2.156 6.177 3.525 10.314 3.525s7.84-1.37 10.314-3.525C37.787 17.847 42.286 21 47.608 21c1.552 0 3.034-.268 4.392-.756l-.177.001c-6.33 0-11.803-4.9-11.803-10.568 0-4.182 2.32-7.718 5.686-9.677-5.498.797-9.724 4.996-9.897 10.106-2.564 1.736-6.014 2.8-9.809 2.8s-7.245-1.064-9.81-2.8"></path></g><circle id="Redish" cx="17" cy="15" r="9" fill="#FF4646" opacity=".2"></circle><circle id="Redish" cx="91" cy="15" r="9" fill="#FF4646" opacity=".2"></circle></g></g>',1),Ex=[vx];function Cx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ex])}const Sx={render:Cx},Mx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Sad",fill:"#000",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40.058 16.654c.65 7.03 6.644 11.723 13.942 11.723 7.342 0 13.363-4.75 13.953-11.848.031-.378-.876-.676-1.324-.452q-8.308 4.16-12.629 4.16-4.266 0-12.446-4.069c-.507-.252-1.534.068-1.496.486",transform:"matrix(1 0 0 -1 0 44.377)"})])],-1),Bx=[Mx];function Ax(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Bx])}const Vx={render:Ax},Nx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Serious",fill:"#000",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("rect",{id:"Why-so-serious?",width:"24",height:"6",x:"42",y:"18",rx:"3"})])],-1),Dx=[Nx];function _x(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Dx])}const Tx={render:_x},Px=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Tongue" transform="translate(2 52)"><defs><path id="Tongue-path1" d="M29 15.609C30.41 25.23 41.062 33 54 33c12.968 0 23.646-7.817 25-18.26.101-.4-.225-1.74-2.174-1.74H31.174c-1.79 0-2.304 1.24-2.174 2.609"></path></defs><mask id="Tongue-mask1" fill="#fff"><use href="#Tongue-path1"></use></mask><use id="Mouth" fill="#000" href="#Tongue-path1" opacity=".7"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url(&#39;#Tongue-mask1&#39;)" rx="5"></rect><path id="Tongue" fill="#FF4F6D" d="M65.984 23.747Q66 23.871 66 24v9c0 6.075-4.925 11-11 11h-1c-6.075 0-11-4.925-11-11v-9q0-.129.016-.253A2 2 0 0 1 43 23.5c0-1.933 2.91-3.5 6.5-3.5 2.01 0 3.808.491 5 1.263 1.192-.772 2.99-1.263 5-1.263 3.59 0 6.5 1.567 6.5 3.5q0 .124-.016.247"></path></g></g>',1),Ox=[Px];function Fx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ox])}const Lx={render:Fx},$x=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Vomit" transform="translate(2 52)"><defs><path id="Vomit-path1" d="M34.008 12.602c1.12 10.49 4.227 19.392 19.988 19.398 15.762.006 18.92-8.958 19.998-19.495.087-.848-.82-1.505-1.957-1.505-6.686 0-9.367 1.495-18.048 1.5S40.757 11 36.092 11c-1.143 0-2.196.552-2.084 1.602"></path><path id="Vomit-path2" d="M59.917 36H60a6 6 0 1 0 12 0v-5a6 6 0 0 0-6-6H42a6 6 0 0 0-6 6v7a6 6 0 1 0 12 0v-2h.083a6.002 6.002 0 0 1 11.834 0"></path><filter id="filter1" width="102.8%" height="105.3%" x="-1.4%" y="-2.6%" filterUnits="objectBoundingBox"><feOffset dy="-1" in="SourceAlpha" result="shadowOffsetInner1"></feOffset><feComposite in="shadowOffsetInner1" in2="SourceAlpha" k2="-1" k3="1" operator="arithmetic" result="shadowInnerInner1"></feComposite><feColorMatrix in="shadowInnerInner1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix></filter></defs><mask id="Vomit-mask1" fill="#fff"><use href="#Vomit-path1" transform="matrix(1 0 0 -1 0 43)"></use></mask><use id="Mouth" fill="#000" href="#Vomit-path1" opacity=".7" transform="matrix(1 0 0 -1 0 43)"></use><rect id="Teeth" width="31" height="16" x="39" y="0" fill="#FFF" mask="url(&#39;#Vomit-mask1&#39;)" rx="5"></rect><g id="Vomit-Stuff"><use fill="#88C553" href="#Vomit-path2"></use><use filter="url(&#39;#filter1&#39;)" href="#Vomit-path2"></use></g></g></g>',1),Hx=[$x];function Rx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Hx])}const zx={render:Rx},Ix={Concerned:Qk,Disbelief:tx,Grimace:ox,ScreamOpen:cx,Smile:fx,Twinkle:yx,Default:wx,Eating:Sx,Sad:Vx,Serious:Tx,Tongue:Lx,Vomit:zx},Gx=(e="#6fb8e0")=>[t.h("g",{id:"Circle","stroke-width":"1","fill-rule":"evenodd",transform:"translate(12.000000, 40.000000)"},[t.h("mask",{id:"mask-1",fill:"white"},[t.h("use",{href:"#path-1"})]),t.h("use",{id:"Circle-Background",fill:"#E6E6E6",href:"#path-1"}),t.h("g",{id:"Color/Palette/Blue-01",mask:"url(#mask-1)",fill:e},[t.h("rect",{id:"Color",x:"0",y:"0",width:"240",height:"240"})])]),t.h("mask",{id:"mask-2",fill:"white"},[t.h("use",{href:"#path-2"})])],jx=e=>{const a={"--avataaar-hair-color":e.hairColor,"--avataaar-facial-hair-color":e.facialHairColor,"--avataaar-top-color":e.topColor,"--avataaar-shirt-color":e.clothesColor};return t.h("svg",{viewBox:"0 0 264 280",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t.h("desc","vue3-avataaars"),t.h("defs",[t.h("circle",{id:"path-1",cx:"120",cy:"120",r:"120"}),t.h("path",{id:"path-2",d:"M12,160 C12,226.27417 65.72583,280 132,280 C198.27417,280 252,226.27417 252,160 L264,160 L264,-1.42108547e-14 L-3.19744231e-14,-1.42108547e-14 L-3.19744231e-14,160 L12,160 Z"}),t.h("path",{id:"path-silhouette",d:"M124,144.610951 L124,163 L128,163 L128,163 C167.764502,163 200,195.235498 200,235 L200,244 L0,244 L0,235 C-4.86974701e-15,195.235498 32.235498,163 72,163 L72,163 L76,163 L76,144.610951 C58.7626345,136.422372 46.3722246,119.687011 44.3051388,99.8812385 C38.4803105,99.0577866 34,94.0521096 34,88 L34,74 C34,68.0540074 38.3245733,63.1180731 44,62.1659169 L44,56 L44,56 C44,25.072054 69.072054,5.68137151e-15 100,0 L100,0 L100,0 C130.927946,-5.68137151e-15 156,25.072054 156,56 L156,62.1659169 C161.675427,63.1180731 166,68.0540074 166,74 L166,88 C166,94.0521096 161.51969,99.0577866 155.694861,99.8812385 C153.627775,119.687011 141.237365,136.422372 124,144.610951 Z"})]),t.h("g",{id:"Avataaar",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t.h("g",{id:"Avataaar/Circle",transform:"translate(-825.000000, -1100.000000)"},[t.h("g",{transform:"translate(825.000000, 1100.000000)"},[e.isCircle?Gx(e.circleColor):null,t.h("g",{id:"Mask"}),t.h("g",{id:"Avataaar","stroke-width":"1","fill-rule":"evenodd",fill:"black",mask:"url(#mask-2)",style:a},[t.h("g",{id:"Body",transform:"translate(32.000000, 36.000000)"},[t.h("mask",{id:"mask-silhouette",fill:"white"},[t.h("use",{href:"#path-silhouette"})]),t.h("use",{fill:e.skinColor,href:"#path-silhouette"}),t.h("path",{id:"Neck-Shadow",d:"M156,79 L156,102 C156,132.927946 130.927946,158 100,158 C69.072054,158 44,132.927946 44,102 L44,79 L44,94 C44,124.927946 69.072054,150 100,150 C130.927946,150 156,124.927946 156,94 L156,79 Z","fill-opacity":"0.100000001",fill:"#000000",mask:"url(#mask-silhouette)"})]),t.h(nf[e.clothes]),e.clothes==="GraphicShirt"?t.h(Jg[e.graphicShirt]):null,t.h(Uy[e.eyes]),t.h(Yk[e.eyebrows]),t.h(Ix[e.mouth]),t.h("svg",[t.h("g",{fill:"black",transform:"translate(76.000000, 82.000000)"},[t.h("g",{id:"Nose/Default",transform:"translate(28.000000, 40.000000)",opacity:"0.16"},[t.h("path",{id:"Nose",d:"M16,8 C16,12.418278 21.372583,16 28,16 L28,16 C34.627417,16 40,12.418278 40,8"})])])]),t.h(Hp[e.top]),t.h(sg[e.facialHair]),t.h(bm[e.accessories])])])])])])};function aa(e){return e[Math.floor(Math.random()*e.length)]}function qx(e){return aa(Object.keys(e))}function Cn(e){return e[qx(e)]}const ms={Black:"#262E33",Blue01:"#65C9FF",Blue02:"#5199E4",Blue03:"#25557C",Gray01:"#E6E6E6",Gray02:"#929598",Heather:"#3C4F5C",PastelBlue:"#B1E2FF",PastelGreen:"#A7FFC4",PastelOrange:"#FFBC69",PastelRed:"#FFAFB9",PastelYellow:"#FFFFB1",Pink:"#FF488E",Red:"#FF5C5C",White:"#FFFFFF"},fs={Auburn:"#A55728",Black:"#2C1B18",Blonde:"#B58143",BlondeGolden:"#D6B370",Brown:"#724133",BrownDark:"#4A312C",PastelPink:"#F59797",Platinum:"#ECDCBF",Red:"#C93305",SilverGray:"#E8E1E1"},Wx={Tanned:"#FD9841",Yellow:"#F8D25C",Pale:"#FFDBB4",Light:"#EDB98A",Brown:"#D08B5B",DarkBrown:"#AE5D29",Black:"#614335"},Yx=["Blank","Prescription01","Round","Wayfarers","Kurt","Prescription02","Sunglasses"],Ux=["Close","Default","EyeRoll","Hearts","Squint","Wink","Cry","Dizzy","Happy","Side","Surprised","WinkWacky"],Xx=["Angry","FlatNatural","SadConcerned","UpDownNatural","AngryNatural","FrownNatural","SadConcernedNatural","Default","RaisedExcited","UnibrowNatural","DefaultNatural","RaisedExcitedNatural","UpDown"],Zx=["BeardMajestic","BeardLight","MoustacheFancy","BeardMedium","Blank","MoustacheMagnum"],Qx=["Concerned","Disbelief","Grimace","ScreamOpen","Smile","Twinkle","Default","Eating","Sad","Serious","Tongue","Vomit"],Kx=["Eyepatch","Hat","Hijab","LongHairBigHair","LongHairBob","LongHairBun","LongHairCurly","LongHairCurvy","LongHairDreads","LongHairFrida","LongHairFro","LongHairFroBand","LongHairMiaWallace","LongHairNotTooLong","LongHairShavedSides","LongHairStraight","LongHairStraight2","LongHairStraightStrand","NoHair","ShortHairDreads01","ShortHairDreads02","ShortHairFrizzle","ShortHairShaggy","ShortHairShaggyMullet","ShortHairShortCurly","ShortHairShortFlat","ShortHairShortRound","ShortHairShortWaved","ShortHairSides","ShortHairTheCaesar","ShortHairTheCaesarSidePart","Turban","WinterHat1","WinterHat2","WinterHat3","WinterHat4"],Jx=["BlazerShirt","CollarSweater","BlazerSweater","Hoodie","GraphicShirt","Overall","ShirtCrewNeck","ShirtVNeck","ShirtScoopNeck"],eb=["Bat","Cumbia","Diamond","Pizza","Selena","SkullOutline","Bear","Deer","Hola","Resist","Skull"],mr=(e={})=>{var a,n,r,o,i,l,s,d,p,u,m,c,f,h;return{isCircle:e.isCircle===void 0?!1:e.isCircle,circleColor:(a=e.circleColor)!=null?a:void 0,skinColor:(n=e.skinColor)!=null?n:Cn(Wx),hairColor:(r=e.hairColor)!=null?r:Cn(fs),topColor:(o=e.topColor)!=null?o:Cn(ms),clothesColor:(i=e.clothesColor)!=null?i:Cn(ms),facialHairColor:(l=e.facialHairColor)!=null?l:Cn(fs),accessories:(s=e.accessories)!=null?s:aa(Yx),eyes:(d=e.eyes)!=null?d:aa(Ux),eyebrows:(p=e.eyebrows)!=null?p:aa(Xx),mouth:(u=e.mouth)!=null?u:aa(Qx),top:(m=e.top)!=null?m:aa(Kx),clothes:(c=e.clothes)!=null?c:aa(Jx),graphicShirt:(f=e.graphicShirt)!=null?f:aa(eb),facialHair:(h=e.facialHair)!=null?h:aa(Zx)}},hs={isCircle:!0,circleColor:"#22c55e",skinColor:"#D08B5B",hairColor:"#E8E1E1",topColor:"#E6E6E6",clothesColor:"blue",facialHairColor:"#E8E1E1",accessories:"Blank",eyes:"Default",eyebrows:"DefaultNatural",mouth:"Default",top:"NoHair",clothes:"GraphicShirt",graphicShirt:"Pizza",facialHair:"Blank"},tb={class:"main-container"},ab=["src"],nb={key:1,class:"avatar-section flex flex-col"},rb={id:"avatar-container",class:"avatar-container"},ob={class:"controls"},ib={class:"checkbox-label checkbox-wrapper-2",for:"avatarLabel"},ps=qe({__name:"randomAvatar",props:{content:{type:String,default:null}},emits:["base64","random"],setup(e,{emit:a}){const n=t.ref(hs),r=t.ref(hs),o=t.ref(!1);t.onMounted(async()=>{n.value=mr(n.value),await t.nextTick(),p()});const i=a,l=e,s=async()=>{if(o.value)n.value=mr(r.value);else{const u={...r.value,facialHair:"Blank"};n.value=mr(u)}await t.nextTick(),p()},d=async()=>{n.value=mr({isCircle:!0,circleColor:"#22c55e",facialHair:o.value?"Blank":null});const u=n.value;r.value=u,await t.nextTick(),p()},p=()=>{const u=document.querySelector("#avatar-container svg");if(!u){console.error("Avatar não encontrado!");return}let c=new XMLSerializer().serializeToString(u);const h=`data:image/svg+xml;base64,${window.btoa(unescape(encodeURIComponent(c)))}`;i("base64",h)};return(u,m)=>(t.openBlock(),t.createElementBlock("main",tb,[l.content?(t.openBlock(),t.createElementBlock("img",{key:0,class:"max-w-[45%] max-h-[45%] flex items-center justify-center mx-auto",src:l.content},null,8,ab)):(t.openBlock(),t.createElementBlock("section",nb,[t.createElementVNode("div",rb,[t.createVNode(t.unref(jx),t.normalizeProps(t.guardReactiveProps(n.value)),null,16)]),t.createElementVNode("div",ob,[t.createElementVNode("label",ib,[t.withDirectives(t.createElementVNode("input",{id:"avatarLabel","onUpdate:modelValue":m[0]||(m[0]=c=>o.value=c),type:"checkbox",onInput:s,class:"sc-gJwTLC ikxBAC"},null,544),[[t.vModelCheckbox,o.value]]),m[1]||(m[1]=t.createTextVNode(" Remover barba "))]),t.createElementVNode("button",{onClick:d,class:"generate-button"}," Gerar Avatar ")])]))]))}},[["__scopeId","data-v-a1b7ef69"]]),lb={class:"modal_container"},sb={class:"modal_box"},cb={class:"modal_header"},gs=qe({__name:"min_modal",props:{defineWidth:{type:String,default:"max-width-md"}},emits:["close"],setup(e,{emit:a}){const n=a,r=()=>{n("close")};return(o,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{class:"min_modal"},[t.createElementVNode("div",{class:"modal_overlay",onClick:r})]),t.createElementVNode("div",lb,[t.createElementVNode("div",{class:t.normalizeClass(["modal_content ",e.defineWidth])},[t.createElementVNode("div",sb,[t.createElementVNode("div",cb,[t.renderSlot(o.$slots,"header",{},void 0,!0),t.createElementVNode("button",{class:"modal_close",onClick:i[0]||(i[0]=l=>r())},i[1]||(i[1]=[t.createElementVNode("svg",{class:"modal_close_icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]))]),t.createElementVNode("div",null,[t.renderSlot(o.$slots,"body",{},void 0,!0)])])],2)])],64))}},[["__scopeId","data-v-172c0a39"]]),db={v:"5.4.4",fr:30,ip:0,op:110,w:800,h:600,nm:"Comp 1",ddd:0,assets:[{id:"comp_0",layers:[{ddd:0,ind:1,ty:4,nm:"Sub Rocket 01",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[219.02,362.805,0],e:[358.52,362.805,0],to:[23.25,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[358.52,362.805,0],e:[219.02,362.805,0],to:[0,0,0],ti:[23.25,0,0]},{t:30}],ix:2,x:`var $bm_rt;
97
97
  $bm_rt = loopOut('cycle', 0);`},a:{a:0,k:[250,400,0],ix:1},s:{a:0,k:[12.773,12.773,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[10.363,-.002],[6.523,-9.638],[0,0],[0,0],[0,0]],o:[[-6.525,-9.644],[-10.359,.002],[0,0],[0,0],[0,0],[0,0]],v:[[27.251,-647.527],[-.003,-661.989],[-27.243,-647.53],[-49.314,-614.918],[-.003,-614.918],[49.314,-614.918]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.328999986836,.430999995213,.477999997606,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.689,67.302],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[17.804,26.312],[0,0],[0,0],[0,0],[0,-31.776],[0,0],[-9.442,0],[0,0],[0,0],[0,9.441],[0,0]],o:[[0,0],[0,0],[0,0],[-17.81,26.316],[0,0],[0,9.441],[0,0],[0,0],[9.442,0],[0,0],[0,-31.769]],v:[[49.321,-774.672],[49.318,-774.677],[0,-774.677],[-49.31,-774.677],[-76.639,-685.538],[-76.639,118.392],[-59.543,135.488],[0,135.488],[59.543,135.488],[76.639,118.392],[76.639,-685.549]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.560553696576,.605397961186,.635294117647,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.685,226.327],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.731,0],[0,0],[0,2.731],[-2.731,0],[0,0],[0,-2.731]],o:[[0,0],[-2.731,0],[0,-2.731],[0,0],[2.731,0],[0,2.731]],v:[[74.921,16.932],[-74.92,16.932],[-79.885,11.967],[-74.92,7.002],[74.921,7.002],[79.885,11.967]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.270999983245,.352999997606,.39199999641,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.698,377.35],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[58.922,-4.853],[55.933,-16.807],[-54.757,-16.807],[-58.068,-4.853],[-66.808,26.697],[66.809,26.697]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.328999986836,.430999995213,.477999997606,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.699,357.655],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1}],ip:0,op:15,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Sub Rocket 09",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[219.02,362.805,0],e:[358.52,362.805,0],to:[23.25,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[358.52,362.805,0],e:[219.02,362.805,0],to:[0,0,0],ti:[23.25,0,0]},{t:30}],ix:2,x:`var $bm_rt;
98
98
  $bm_rt = loopOut('cycle', 0);`},a:{a:0,k:[250,400,0],ix:1},s:{a:0,k:[12.773,12.773,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[10.363,-.002],[6.523,-9.638],[0,0],[0,0],[0,0]],o:[[-6.525,-9.644],[-10.359,.002],[0,0],[0,0],[0,0],[0,0]],v:[[27.251,-647.527],[-.003,-661.989],[-27.243,-647.53],[-49.314,-614.918],[-.003,-614.918],[49.314,-614.918]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.328999986836,.430999995213,.477999997606,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.689,67.302],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[17.804,26.312],[0,0],[0,0],[0,0],[0,-31.776],[0,0],[-9.442,0],[0,0],[0,0],[0,9.441],[0,0]],o:[[0,0],[0,0],[0,0],[-17.81,26.316],[0,0],[0,9.441],[0,0],[0,0],[9.442,0],[0,0],[0,-31.769]],v:[[49.321,-774.672],[49.318,-774.677],[0,-774.677],[-49.31,-774.677],[-76.639,-685.538],[-76.639,118.392],[-59.543,135.488],[0,135.488],[59.543,135.488],[76.639,118.392],[76.639,-685.549]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.560553696576,.605397961186,.635294117647,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.685,226.327],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.731,0],[0,0],[0,2.731],[-2.731,0],[0,0],[0,-2.731]],o:[[0,0],[-2.731,0],[0,-2.731],[0,0],[2.731,0],[0,2.731]],v:[[74.921,16.932],[-74.92,16.932],[-79.885,11.967],[-74.92,7.002],[74.921,7.002],[79.885,11.967]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.270999983245,.352999997606,.39199999641,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.698,377.35],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[58.922,-4.853],[55.933,-16.807],[-54.757,-16.807],[-58.068,-4.853],[-66.808,26.697],[66.809,26.697]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.328999986836,.430999995213,.477999997606,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.699,357.655],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1}],ip:90,op:105,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Sub Rocket 07",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[219.02,362.805,0],e:[358.52,362.805,0],to:[23.25,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[358.52,362.805,0],e:[219.02,362.805,0],to:[0,0,0],ti:[23.25,0,0]},{t:30}],ix:2,x:`var $bm_rt;
99
99
  $bm_rt = loopOut('cycle', 0);`},a:{a:0,k:[250,400,0],ix:1},s:{a:0,k:[12.773,12.773,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[10.363,-.002],[6.523,-9.638],[0,0],[0,0],[0,0]],o:[[-6.525,-9.644],[-10.359,.002],[0,0],[0,0],[0,0],[0,0]],v:[[27.251,-647.527],[-.003,-661.989],[-27.243,-647.53],[-49.314,-614.918],[-.003,-614.918],[49.314,-614.918]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.328999986836,.430999995213,.477999997606,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.689,67.302],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[17.804,26.312],[0,0],[0,0],[0,0],[0,-31.776],[0,0],[-9.442,0],[0,0],[0,0],[0,9.441],[0,0]],o:[[0,0],[0,0],[0,0],[-17.81,26.316],[0,0],[0,9.441],[0,0],[0,0],[9.442,0],[0,0],[0,-31.769]],v:[[49.321,-774.672],[49.318,-774.677],[0,-774.677],[-49.31,-774.677],[-76.639,-685.538],[-76.639,118.392],[-59.543,135.488],[0,135.488],[59.543,135.488],[76.639,118.392],[76.639,-685.549]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.560553696576,.605397961186,.635294117647,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.685,226.327],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.731,0],[0,0],[0,2.731],[-2.731,0],[0,0],[0,-2.731]],o:[[0,0],[-2.731,0],[0,-2.731],[0,0],[2.731,0],[0,2.731]],v:[[74.921,16.932],[-74.92,16.932],[-79.885,11.967],[-74.92,7.002],[74.921,7.002],[79.885,11.967]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.270999983245,.352999997606,.39199999641,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.698,377.35],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[58.922,-4.853],[55.933,-16.807],[-54.757,-16.807],[-58.068,-4.853],[-66.808,26.697],[66.809,26.697]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.328999986836,.430999995213,.477999997606,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.699,357.655],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1}],ip:60,op:75,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Sub Rocket 05",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[219.02,362.805,0],e:[358.52,362.805,0],to:[23.25,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[358.52,362.805,0],e:[219.02,362.805,0],to:[0,0,0],ti:[23.25,0,0]},{t:30}],ix:2,x:`var $bm_rt;
@@ -117,4 +117,4 @@ $bm_rt = loopOut('cycle', 0);`},a:{a:0,k:[0,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833]
117
117
  $bm_rt = loopOut('cycle', 0);`},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:132,st:0,bm:0},{ddd:0,ind:36,ty:4,nm:"Sub Rocket 01 Joint",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[219.02,362.805,0],e:[358.52,362.805,0],to:[23.25,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[358.52,362.805,0],e:[219.02,362.805,0],to:[0,0,0],ti:[23.25,0,0]},{t:30}],ix:2,x:`var $bm_rt;
118
118
  $bm_rt = loopOut('cycle', 0);`},a:{a:0,k:[250,400,0],ix:1},s:{a:0,k:[12.773,12.773,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[520.1,-144.585],[290.744,84.771],[288.864,289.211],[520.1,57.975]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:0,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[57.36,0],e:[556.36,0],to:[83.167,0],ti:[0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[556.36,0],e:[57.36,0],to:[0,0],ti:[83.167,0]},{t:30}],ix:2,x:`var $bm_rt;
119
119
  $bm_rt = loopOut('cycle', 0);`},a:{a:0,k:[0,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833],y:[.833,.833]},o:{x:[.167,.167],y:[.167,.167]},t:0,s:[100,100],e:[-100,100]},{i:{x:[.833,.833],y:[.833,.833]},o:{x:[.167,.167],y:[.167,.167]},t:15,s:[-100,100],e:[100,100]},{t:30}],ix:3,x:`var $bm_rt;
120
- $bm_rt = loopOut('cycle', 0);`},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:132,st:0,bm:0}]}],layers:[{ddd:0,ind:1,ty:3,nm:"Position Control",sr:1,ks:{o:{a:0,k:0,ix:11},r:{a:0,k:0,ix:10},p:{s:!0,x:{a:0,k:400,ix:3},y:{a:1,k:[{i:{x:[.349],y:[1]},o:{x:[.039],y:[.602]},t:0,s:[840],e:[300]},{i:{x:[.65],y:[1]},o:{x:[.333],y:[0]},t:30,s:[300],e:[460]},{i:{x:[.818],y:[.968]},o:{x:[.023],y:[.564]},t:80,s:[460],e:[-420]},{t:96}],ix:4}},a:{a:0,k:[0,0,0],ix:1},s:{a:1,k:[{i:{x:[.49,.49,.49],y:[1,1,1]},o:{x:[.49,.49,.49],y:[0,0,0]},t:15,s:[70,70,100],e:[40,40,100]},{t:80}],ix:6}},ao:0,ef:[{ty:5,nm:"Wiggle Rate",np:3,mn:"ADBE Slider Control",ix:1,en:1,ef:[{ty:0,nm:"Slider",mn:"ADBE Slider Control-0001",ix:1,v:{a:0,k:0,ix:1}}]}],ip:0,op:100,st:0,bm:0},{ddd:0,ind:2,ty:0,nm:"Rocket",parent:1,refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.833,0,0],ix:2},a:{a:0,k:[300,300,0],ix:1},s:{a:0,k:[148.754,148.754,100],ix:6}},ao:0,tm:{a:1,k:[{i:{x:[.21],y:[.928]},o:{x:[.04],y:[.361]},t:0,s:[.667],e:[2]},{i:{x:[.38],y:[1]},o:{x:[.49],y:[0]},t:30.062,s:[2],e:[3.2]},{i:{x:[.82],y:[.986]},o:{x:[.49],y:[0]},t:80,s:[3.2],e:[4.333]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:96,s:[4.333],e:[4.333]},{t:130}],ix:2},w:600,h:600,ip:0,op:110,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Fire 1",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,101.791,0],ix:2},a:{a:0,k:[250,380.848,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,191.098],[-24.746,185.22],[0,227.453],[24.746,185.22],[28.785,191.098]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}]},{t:30}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.788000009574,.156999999402,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.338,422.749],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Fire 2",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,103.916,0],ix:2},a:{a:0,k:[250,385.497,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,329.554],[-38.976,320.296],[.001,386.814],[38.976,320.296],[45.339,329.554]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}]},{t:30}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.340999977261,.13300000359,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.339,446.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Fire 1 Wiggle",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,101.791,0],ix:2},a:{a:0,k:[250,380.848,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:30,s:[100,100,100],e:[100,136.488,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:50,s:[100,136.488,100],e:[100,101,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:71,s:[100,101,100],e:[100,124,100]},{t:80}],ix:6}},ao:0,ef:[{ty:5,nm:"Scale Wiggle",np:3,mn:"ADBE Slider Control",ix:1,en:1,ef:[{ty:0,nm:"Slider",mn:"ADBE Slider Control-0001",ix:1,v:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:29,s:[0],e:[1]},{t:30}],ix:1}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,191.098],[-24.746,185.22],[0,227.453],[24.746,185.22],[28.785,191.098]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}]},{i:{x:.833,y:1},o:{x:.04,y:0},t:30,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:80,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.785,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:81,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.785,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:82,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,107.501],[-24.746,101.624],[0,143.856],[24.746,101.624],[28.785,107.501]],c:!0}]},{t:83}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.788000009574,.156999999402,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.338,422.749],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:30,op:110,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Fire 2 Wiggle",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,103.916,0],ix:2},a:{a:0,k:[250,385.497,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:30,s:[100,100,100],e:[100,144.049,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:50,s:[100,144.049,100],e:[100,96,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:71,s:[100,96,100],e:[100,124,100]},{t:80}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,169.194],[-38.976,159.936],[.001,226.454],[38.976,159.936],[45.339,169.194]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}]},{i:{x:.833,y:1},o:{x:.04,y:0},t:30,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:80,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,514.557],[-38.977,505.299],[0,571.817],[38.975,505.299],[45.338,514.557]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:81,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,514.557],[-38.977,505.299],[0,571.817],[38.975,505.299],[45.338,514.557]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,514.557],[-38.976,505.299],[.001,571.817],[38.976,505.299],[45.339,514.557]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:82,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,514.557],[-38.976,505.299],[.001,571.817],[38.976,505.299],[45.339,514.557]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,168.845],[-38.976,159.587],[.001,226.105],[38.976,159.587],[45.339,168.845]],c:!0}]},{t:83}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.340999977261,.13300000359,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.339,446.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:30,op:110,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"Line 11",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-142,ix:10},p:{a:0,k:[401.5,412,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[390.439,-149.673],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:74,s:[0],e:[100]},{t:78}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:71,s:[6],e:[100]},{t:75}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:71,s:[5],e:[0]},{t:78}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:71,op:110,st:71,bm:0},{ddd:0,ind:8,ty:4,nm:"Line 10",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-7,ix:10},p:{a:0,k:[405.5,406,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[390.439,-149.673],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:71,s:[0],e:[100]},{t:75}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:68,s:[6],e:[100]},{t:72}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:68,s:[5],e:[0]},{t:75}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:68,op:110,st:68,bm:0},{ddd:0,ind:9,ty:4,nm:"Line 9",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-88,ix:10},p:{a:0,k:[399.5,400,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[390.439,-149.673],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:69,s:[0],e:[100]},{t:73}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:66,s:[6],e:[100]},{t:70}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:66,s:[5],e:[0]},{t:73}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:66,op:110,st:66,bm:0},{ddd:0,ind:10,ty:4,nm:"Line 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-197,ix:10},p:{a:0,k:[395.5,400,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[344,-100],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:66,s:[0],e:[100]},{t:70}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:63,s:[6],e:[100]},{t:67}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:63,s:[5],e:[0]},{t:70}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:63,op:110,st:63,bm:0},{ddd:0,ind:11,ty:4,nm:"Line 6",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:98,ix:10},p:{a:0,k:[393.5,418,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[344,-100],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:55,s:[0],e:[100]},{t:59}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:52,s:[6],e:[100]},{t:56}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:52,s:[5],e:[0]},{t:59}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:52,op:110,st:52,bm:0},{ddd:0,ind:12,ty:4,nm:"Line 12",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:68,ix:10},p:{a:0,k:[411.5,320,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[344,-100],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:37,s:[0],e:[100]},{t:41}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:34,s:[6],e:[100]},{t:38}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:34,s:[5],e:[0]},{t:41}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:34,op:110,st:34,bm:0},{ddd:0,ind:13,ty:4,nm:"Blasting Circle 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400.5,855,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.37,.37],y:[1,1]},o:{x:[.42,.42],y:[0,0]},t:78,s:[0,0],e:[1127,1127]},{t:94}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.37],y:[1]},o:{x:[.42],y:[0]},t:78,s:[5],e:[0]},{t:94}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:78,op:110,st:78,bm:0},{ddd:0,ind:14,ty:4,nm:"Blasting Circle 3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400.5,615,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.37,.37],y:[1,1]},o:{x:[.42,.42],y:[0,0]},t:78,s:[0,0],e:[1127,1127]},{t:94}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.37],y:[1]},o:{x:[.42],y:[0]},t:78,s:[5],e:[0]},{t:94}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:78,op:110,st:78,bm:0},{ddd:0,ind:15,ty:4,nm:"Blasting Circle 2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400.5,415,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.667,.667],y:[1,1]},o:{x:[.333,.333],y:[0,0]},t:61,s:[1007,1007],e:[0,0]},{t:71}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:61,s:[5],e:[0]},{t:71}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:61,op:110,st:61,bm:0},{ddd:0,ind:16,ty:4,nm:"Blasting Circle ",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[399,320,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.667,.667],y:[1,1]},o:{x:[.333,.333],y:[0,0]},t:40,s:[1007,1007],e:[0,0]},{t:50}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:40,s:[5],e:[0]},{t:50}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:40,op:110,st:40,bm:0},{ddd:0,ind:17,ty:4,nm:"BG",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400,300,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[800,600],ix:2},p:{a:0,k:[0,0],ix:3},r:{a:0,k:0,ix:4},nm:"Rectangle Path 1",mn:"ADBE Vector Shape - Rect",hd:!1},{ty:"fl",c:{a:0,k:[.03137254902,.101960784314,.149019607843,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:110,op:110,st:0,bm:0,hidden:0}],markers:[]},ub={class:"main-send-suggestion"},mb={key:0,class:"sent-suggestion-section"},fb={class:"sent-suggestion-content"},hb={class:"container-send-suggestion"},pb={key:0,class:"tool_tip_suggestion_error"},gb={key:0,class:"loader-suggestion"},yb={key:1},kb=qe({__name:"sendSuggestion",props:{loader:{type:Boolean,default:!1},sentSuccess:{type:Boolean,default:!1}},emits:["postSuccess"],setup(e,{emit:a}){const n=a,r=t.ref(""),o=t.ref(!1),i=()=>{if(o.value=!1,!r.value){o.value=!0;return}n("postSuccess",r.value)};return(l,s)=>{const d=t.resolveComponent("Vue3Lottie");return t.openBlock(),t.createElementBlock("main",ub,[e.sentSuccess?(t.openBlock(),t.createElementBlock("section",mb,[t.createElementVNode("div",fb,[s[2]||(s[2]=t.createElementVNode("p",{class:"text-lg font-semibold uppercase"}," Sua sugestão foi recebida com sucesso ",-1)),t.createVNode(d,{"animation-data":t.unref(db),height:200,width:200,"auto-play":!0,loop:!0},null,8,["animation-data"]),s[3]||(s[3]=t.createElementVNode("span",{class:"flex flex-col gap-3 lg:text-justify"},[t.createElementVNode("p",{class:"font-semibold"}," Nossa equipe irá avaliá-la com atenção e considerar sua implementação. "),t.createElementVNode("p",{class:"text-[12px]"}," Você irá receber um e-mail com as informações da solicitação e nossa equipe irá responder em até 30 dias ")],-1)),s[4]||(s[4]=t.createElementVNode("p",{class:"font-bold"},"Agradecemos sua colaboração",-1))])])):t.createCommentVNode("",!0),t.createElementVNode("section",hb,[s[5]||(s[5]=t.createElementVNode("h1",{class:"header_send_suggestion"},"Envie sua sugestão para nós",-1)),t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":s[0]||(s[0]=p=>r.value=p),class:"input_send_suggestion textarea-send-suggestion",placeholder:"Gostaria que vocês adicionassem...",type:"text"},null,512),[[t.vModelText,r.value]]),o.value?(t.openBlock(),t.createElementBlock("span",pb," Por favor, preencha o campo antes de continuar ")):t.createCommentVNode("",!0),t.createElementVNode("button",{onClick:s[1]||(s[1]=p=>i()),class:"submit-button-send-suggestion"},[e.loader?(t.openBlock(),t.createElementBlock("div",gb)):(t.openBlock(),t.createElementBlock("p",yb,"Enviar"))])])])}}},[["__scopeId","data-v-839ab724"]]),xb=e=>`<svg class="${e}" aria-hidden="true" fill="none" viewBox="0 0 24 24" > <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778" /> </svg>`,bb=e=>`<svg class="${e}" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" > <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z" /> </svg>`,wb=["innerHTML"],ys={__name:"svg",props:{svgContent:{type:String,required:!0}},setup(e){return(a,n)=>(t.openBlock(),t.createElementBlock("div",{innerHTML:e.svgContent},null,8,wb))}},vb={class:"feature-card__header"},Eb={class:"feature-card__title"},Cb={class:"flex items-center gap-2"},Sb={key:0,class:"sparkle-badge"},Mb={key:0},Bb={class:"feature-card__content"},Ab={class:"feature-card__description scroll_area_feature_card"},Vb=["innerHTML"],Nb=["href"],_b={class:"feature-card__footer"},Db={class:"feature-card__footer-section"},ks=qe({__name:"feature_card",props:{state:{type:String,required:!0,default:"updated"},title:{type:String,required:!0},description:{type:String,required:!0},date:{type:[String,null],required:!0},tutorial:{type:String,default:null},flag:{type:String,required:!0},sparkles:{type:Boolean,default:!1}},setup(e){const a=t.ref(!1),n=t.ref(null),r=e;Go(n,()=>{a.value=!1});const i=t.computed(()=>({"arrow-icon-patch-notes":!0,rotate:!a.value})),l=t.computed(()=>({"feature-card":!0,"feature-card--updated":r.state==="updated","feature-card--future":r.state==="future-update","feature-card--other":r.state!=="updated"&&r.state!=="future-update"})),s=t.computed(()=>({"pill-flag":!0,"pill-flag--new-feature":r.flag==="new-feature","pill-flag--improvement":r.flag==="improvement","pill-flag--bug-fix":r.flag==="bug-fix"})),d=t.computed(()=>r.flag==="improvement"?"Melhorias":r.flag==="new-feature"?"Novo Recurso":"correção de erros"),p=t.computed(()=>({"pill-date":!0,"pill-date--updated":r.state==="updated","pill-date--future":r.state!=="updated"}));return(u,m)=>{const c=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass(["feature_style relative",l.value]),ref_key:"targetFeatureCard",ref:n,onClick:m[0]||(m[0]=f=>a.value=!a.value)},[t.createElementVNode("header",vb,[t.createElementVNode("h1",Eb,t.toDisplayString(e.title),1),t.createElementVNode("section",Cb,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),viewBox:"0 0 24 24",fill:"none"},m[1]||(m[1]=[t.createElementVNode("g",null,[t.createElementVNode("path",{d:"M15 11L12 8M12 8L9 11M12 8V16M21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2)),e.sparkles?(t.openBlock(),t.createElementBlock("div",Sb,m[2]||(m[2]=[t.createStaticVNode('<svg class="size-4" viewBox="0 0 128 128" data-v-252b53a7><path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-252b53a7></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-252b53a7></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-252b53a7></path><g data-v-252b53a7><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-252b53a7></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-252b53a7></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-252b53a7></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-252b53a7></path></svg>',1)]))):t.createCommentVNode("",!0)])]),t.createVNode(t.Transition,{name:"fade-slide"},{default:t.withCtx(()=>[a.value?(t.openBlock(),t.createElementBlock("div",Mb,[m[4]||(m[4]=t.createElementVNode("hr",{class:"feature-card__divider"},null,-1)),t.createElementVNode("section",Bb,[t.createElementVNode("span",Ab,[t.createElementVNode("p",{class:"feature-card__paragraph",innerHTML:e.description.replace(/\n/g,"<br>")},null,8,Vb)]),e.tutorial?(t.openBlock(),t.createElementBlock("a",{key:0,class:"feature-card__tutorial-button",href:e.tutorial,target:"__blank"},[m[3]||(m[3]=t.createTextVNode(" Veja o tutorial ")),t.createVNode(ys,{svgContent:t.unref(xb)("size-4 text-blue-900")},null,8,["svgContent"])],8,Nb)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]),_:1}),t.createElementVNode("footer",_b,[t.createElementVNode("section",Db,[t.createElementVNode("span",{class:t.normalizeClass(s.value)},t.toDisplayString(d.value),3),t.createVNode(c,{class:"pill_date_popper",hover:"",disabled:e.state==="updated",arrow:!0,content:"Essa é uma data prevista para o lançamento deste recurso, a mesma está sujeita a mudanças a qualquer momento"},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(p.value)},[t.createVNode(ys,{svgContent:t.unref(bb)("size-4 text-white")},null,8,["svgContent"]),t.createElementVNode("p",null,t.toDisplayString(new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"short",year:"numeric"}).format(new Date(e.date+"T12:00:00")).replace(/ de /g," ")),1)],2)]),_:1},8,["disabled"])])])],2)}}},[["__scopeId","data-v-252b53a7"]]),Tb={class:"modal-container-patch-notes"},Pb={class:"modal-content-patch-notes scroll_area_patch_notes_latest_update"},Ob={class:"modal-header-patch-notes"},Fb={class:"modal-body-patch-notes"},Lb={class:"modal-body-control"},$b={class:"modal-section-patch-notes updates-section-patch-notes"},Hb={key:0,class:"sections-skeleton-loader"},Rb={class:"skeleton-loader skeleton-color-latest_update"},zb={key:1,class:"text-not-patchs"},Ib={class:"modal-section-patch-notes future-section-patch-notes"},Gb={key:0,class:"sections-skeleton-loader"},jb={class:"skeleton-loader skeleton-color-latest_update"},qb={key:1,class:"text-not-patchs"},xs=qe({__name:"patchNotes",props:{future_updates:{type:[Object,null],required:!0},latest_update:{type:[Object,null],required:!0},loader:{type:Boolean,default:!1},sentSuccess:{type:Boolean,default:!1}},emits:["close","postSuggestion","loadMoreFutureUpdates","loadMoreLatestUpdates"],setup(e,{emit:a}){const n=t.ref(1),r=t.ref(1),o=t.ref(null),i=t.ref(null),l=a,s=c=>{l("postSuggestion",c)},d=()=>{l("close"),n.value=1,r.value=1},p=({loaded:c,complete:f})=>{l("loadMoreFutureUpdates",{loaded:c,complete:f,page:n.value}),n.value++},u=({loaded:c,complete:f})=>{l("loadMoreLatestUpdates",{loaded:c,complete:f,page:r.value}),r.value++},m=c=>{if(!c)return!1;const f=new Date,h=new Date(c+"T12:00:00");return Math.abs(f-h)/(1e3*60*60*24)<=3};return(c,f)=>(t.openBlock(),t.createElementBlock("main",null,[f[8]||(f[8]=t.createElementVNode("div",{class:"modal-overlay-patch-notes"},[t.createElementVNode("div",{class:"modal-backdrop-patch-notes"})],-1)),t.createElementVNode("div",Tb,[t.createElementVNode("div",Pb,[t.createElementVNode("div",Ob,[t.createElementVNode("button",{onClick:f[0]||(f[0]=h=>d()),class:"modal-close-btn-patch-notes"},f[1]||(f[1]=[t.createElementVNode("svg",{class:"modal-close-icon-patch-notes","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]))]),t.createElementVNode("div",Fb,[t.createElementVNode("div",Lb,[t.createElementVNode("section",$b,[f[4]||(f[4]=t.createElementVNode("h1",{class:"header_latest_update"},"Ultimas Atualizações",-1)),t.createElementVNode("div",{ref_key:"scrollLasContainer",ref:i,class:"features-list scrollable-section scroll_area_patch_notes_latest_update"},[e.latest_update?e.latest_update<=0?(t.openBlock(),t.createElementBlock("span",zb," Nenhuma atualização programada ")):t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("section",Hb,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(15,h=>t.createElementVNode("div",Rb)),64))])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.latest_update,(h,y)=>(t.openBlock(),t.createBlock(ks,{key:y,state:"updated",title:h.title,description:h.description,date:h.launched_at,tutorial:h.tutorial,flag:h.flag,sparkles:m(h.launched_at)},null,8,["title","description","date","tutorial","flag","sparkles"]))),128)),t.createVNode(t.unref(fo),{distance:20,target:i.value,onInfinite:u},{complete:t.withCtx(()=>f[2]||(f[2]=[t.createElementVNode("span",{class:""},null,-1)])),spinner:t.withCtx(()=>f[3]||(f[3]=[t.createElementVNode("section",{class:"sections-skeleton-loader"},[t.createElementVNode("div",{class:"skeleton-loader skeleton-color-latest_update"},[t.createElementVNode("div",{class:"infinite-loader-spin"})])],-1)])),_:1},8,["target"])],512)]),t.createElementVNode("section",Ib,[f[7]||(f[7]=t.createElementVNode("h1",{class:"header_future_updates"},"Futuras Atualizações",-1)),t.createElementVNode("div",{ref_key:"scrollFutContainer",ref:o,class:"features-list scrollable-section scroll_area_patch_notes_future_updates"},[e.future_updates?e.future_updates<=0?(t.openBlock(),t.createElementBlock("span",qb," Nenhuma atualização programada ")):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(e.future_updates,(h,y)=>(t.openBlock(),t.createBlock(ks,{key:y,state:"future-update",title:h.title,description:h.description,date:h.launched_at,tutorial:h.tutorial,flag:h.flag},null,8,["title","description","date","tutorial","flag"]))),128)):(t.openBlock(),t.createElementBlock("section",Gb,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(15,h=>t.createElementVNode("div",jb)),64))])),t.createVNode(t.unref(fo),{distance:20,target:o.value,onInfinite:p},{complete:t.withCtx(()=>f[5]||(f[5]=[t.createElementVNode("span",{class:""},null,-1)])),spinner:t.withCtx(()=>f[6]||(f[6]=[t.createElementVNode("section",{class:"sections-skeleton-loader"},[t.createElementVNode("div",{class:"skeleton-loader skeleton-color-future_updates"},[t.createElementVNode("div",{class:"infinite-loader-spin"})])],-1)])),_:1},8,["target"])],512)])]),t.createVNode(kb,{loader:e.loader,sentSuccess:e.sentSuccess,onPostSuccess:s},null,8,["loader","sentSuccess"])])])])]))}},[["__scopeId","data-v-f7b5b5bc"]]),Wb={key:0,class:"sparkle-badge"},Yb={key:0,class:"text-white text-center flex-1"},Ub={key:1,class:"sparkle-badge"},bs=qe({__name:"btnNewUpdates",props:{type:{type:String,default:"attendant",required:!0},mode:{type:String,default:"dark"},sparkles:{type:Boolean,default:!1}},emits:["openNewUpdates"],setup(e,{emit:a}){const n=a,r=e,o=(s,d)=>{const p={attendant:{container:"main-container-new-update",button:"update-button",tooltip:"tooltip-new-update",iconSize:"size-4",usePopper:!1,text:null},managerSideBarClose:{container:"main-container-new-update-manager-close",button:"new_update-button ",tooltip:null,iconSize:"size-6",usePopper:!0,text:null},managerSideBarOpen:{container:"main-container-new-update-manager-open",button:"new_update-button-open-side open-width",tooltip:null,iconSize:"size-6",usePopper:!1,text:"Notas de atualização"}};return p[s]||p.attendant},i=t.computed(()=>o(r.type,r.sparkles)),l=()=>{n("openNewUpdates")};return(s,d)=>(t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass(["relative",i.value.container]),onClick:l},[i.value.usePopper?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("button",{class:t.normalizeClass(i.value.button)},d[0]||(d[0]=[t.createElementVNode("svg",{class:"new_update-icon",fill:"currentColor",viewBox:"0 0 420.827 420.827"},[t.createElementVNode("g",null,[t.createElementVNode("g",null,[t.createElementVNode("path",{d:"M210.29,0C156,0,104.43,20.693,65.077,58.269C25.859,95.715,2.794,146.022,0.134,199.921 c-0.135,2.734,0.857,5.404,2.744,7.388c1.889,1.983,4.507,3.105,7.244,3.105h45.211c5.275,0,9.644-4.098,9.979-9.362 c4.871-76.214,68.553-135.914,144.979-135.914c80.105,0,145.275,65.171,145.275,145.276c0,80.105-65.17,145.276-145.275,145.276 c-18.109,0-35.772-3.287-52.501-9.771l17.366-15.425c2.686-2.354,3.912-5.964,3.217-9.468c-0.696-3.506-3.209-6.371-6.592-7.521 l-113-32.552c-3.387-1.149-7.122-0.407-9.81,1.948c-2.686,2.354-3.913,5.963-3.218,9.467L69.71,403.157 c0.696,3.505,3.209,6.372,6.591,7.521c3.383,1.147,7.122,0.408,9.81-1.946l18.599-16.298 c31.946,18.574,68.456,28.394,105.581,28.394c116.021,0,210.414-94.392,210.414-210.414C420.705,94.391,326.312,0,210.29,0z"}),t.createElementVNode("path",{d:"M195.112,237.9h118.5c2.757,0,5-2.242,5-5v-30c0-2.757-2.243-5-5-5h-83.5v-91c0-2.757-2.243-5-5-5h-30 c-2.757,0-5,2.243-5,5v126C190.112,235.658,192.355,237.9,195.112,237.9z"})])])],-1)]),2),e.sparkles?(t.openBlock(),t.createElementBlock("div",Wb,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value.iconSize),viewBox:"0 0 128 128"},d[1]||(d[1]=[t.createStaticVNode('<path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-b6196bab></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-b6196bab></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-b6196bab></path><g data-v-b6196bab><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-b6196bab></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-b6196bab></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-b6196bab></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-b6196bab></path>',5)]),2))])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{class:t.normalizeClass(["relative",i.value.button])},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(r.mode==="dark"?"dark_new_update-icon":"new_update-icon"),fill:"currentColor",viewBox:"0 0 420.827 420.827"},d[2]||(d[2]=[t.createElementVNode("g",null,[t.createElementVNode("g",null,[t.createElementVNode("path",{d:"M210.29,0C156,0,104.43,20.693,65.077,58.269C25.859,95.715,2.794,146.022,0.134,199.921 c-0.135,2.734,0.857,5.404,2.744,7.388c1.889,1.983,4.507,3.105,7.244,3.105h45.211c5.275,0,9.644-4.098,9.979-9.362 c4.871-76.214,68.553-135.914,144.979-135.914c80.105,0,145.275,65.171,145.275,145.276c0,80.105-65.17,145.276-145.275,145.276 c-18.109,0-35.772-3.287-52.501-9.771l17.366-15.425c2.686-2.354,3.912-5.964,3.217-9.468c-0.696-3.506-3.209-6.371-6.592-7.521 l-113-32.552c-3.387-1.149-7.122-0.407-9.81,1.948c-2.686,2.354-3.913,5.963-3.218,9.467L69.71,403.157 c0.696,3.505,3.209,6.372,6.591,7.521c3.383,1.147,7.122,0.408,9.81-1.946l18.599-16.298 c31.946,18.574,68.456,28.394,105.581,28.394c116.021,0,210.414-94.392,210.414-210.414C420.705,94.391,326.312,0,210.29,0z"}),t.createElementVNode("path",{d:"M195.112,237.9h118.5c2.757,0,5-2.242,5-5v-30c0-2.757-2.243-5-5-5h-83.5v-91c0-2.757-2.243-5-5-5h-30 c-2.757,0-5,2.243-5,5v126C190.112,235.658,192.355,237.9,195.112,237.9z"})])],-1)]),2)),i.value.text?(t.openBlock(),t.createElementBlock("span",Yb,t.toDisplayString(i.value.text),1)):t.createCommentVNode("",!0),e.sparkles?(t.openBlock(),t.createElementBlock("div",Ub,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value.iconSize),viewBox:"0 0 128 128"},d[3]||(d[3]=[t.createStaticVNode('<path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-b6196bab></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-b6196bab></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-b6196bab></path><g data-v-b6196bab><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-b6196bab></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-b6196bab></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-b6196bab></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-b6196bab></path>',5)]),2))])):t.createCommentVNode("",!0)],2),t.withDirectives(t.createElementVNode("p",{class:t.normalizeClass(i.value.tooltip)}," Notas de atualização ",2),[[t.vShow,i.value.tooltip]])],64))],2))}},[["__scopeId","data-v-b6196bab"]]);zt.defineStore("debug",{state:()=>({message:"Debug store initialized"}),actions:{logMessage(){console.log(this.message)}}});function Xb(e){e.component("primarySelect",jo),e.component("departSelect",cs),e.component("attendantSelect",ds),e.component("SimpleModal",qo),e.component("simpleCard",Wo),e.component("instanceSelect",_i),e.component("calendar",Il),e.component("MFA",Gl),e.component("MfaQrCode",a5),e.component("chatWindow",ls),e.component("FilterSelectLib",us),e.component("MobileInternalChat",ss),e.component("RandomAvatar",ps),e.component("MinModal",gs),e.component("LibPatchNotes",xs),e.component("BtnNewUpdates",bs)}function ws(e,a="add"){const n=Lo();a==="add"?n.addDepartments(e):a==="delete"?n.removeDepartments(e):a==="update"?(n.departments=e,n.loaded=!0):console.error(`Ação "${a}" não suportada em attLibDeparts.`)}function vs(e,a="add"){const n=Un();a==="add"?n.addAttendants(e):a==="delete"?n.removeAttendants(e):a==="update"?(n.attendants=e,n.loaded=!0):console.error(`Ação "${a}" não suportada em attLibAttendants.`)}function Es(e,a="add"){const n=Br();a==="add"?n.addInstance(e):a==="delete"?n.removeInstance(e):a==="update"?(n.instances=e,n.loaded=!0):console.error(`Ação "${a}" não suportada em attLibInstances.`)}async function Cs(e,a,n,r=[],o=[],i=[]){try{const l=await Ni(e);a&&await l.setToken(a),n&&(na.defaults.baseURL=n);const s=Lo(e);o.length>0&&(s.departments=o,s.count=o.length);const d=Un(e);r.length>0&&(d.attendants=r,d.count=r.length),await Br(e).fetchInstances()}catch(l){console.error("Erro no setupLibrary:",l)}}const Zb={install:Xb,setupLibrary:Cs,attLibDeparts:ws,attLibAttendants:vs,attLibInstances:Es,primarySelect:jo,simpleModal:qo,simpleCard:Wo,instanceSelect:_i,calendar:Il,MFA:Gl,chatWindow:ls,departSelect:cs,attendantSelect:ds,FilterSelectLib:us,MobileInternalChat:ss,RandomAvatar:ps,MinModal:gs,libPatchNotes:xs,btnNewUpdates:bs};ut.attLibAttendants=vs,ut.attLibDeparts=ws,ut.attLibInstances=Es,ut.default=Zb,ut.setupLibrary=Cs,Object.defineProperties(ut,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
120
+ $bm_rt = loopOut('cycle', 0);`},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:132,st:0,bm:0}]}],layers:[{ddd:0,ind:1,ty:3,nm:"Position Control",sr:1,ks:{o:{a:0,k:0,ix:11},r:{a:0,k:0,ix:10},p:{s:!0,x:{a:0,k:400,ix:3},y:{a:1,k:[{i:{x:[.349],y:[1]},o:{x:[.039],y:[.602]},t:0,s:[840],e:[300]},{i:{x:[.65],y:[1]},o:{x:[.333],y:[0]},t:30,s:[300],e:[460]},{i:{x:[.818],y:[.968]},o:{x:[.023],y:[.564]},t:80,s:[460],e:[-420]},{t:96}],ix:4}},a:{a:0,k:[0,0,0],ix:1},s:{a:1,k:[{i:{x:[.49,.49,.49],y:[1,1,1]},o:{x:[.49,.49,.49],y:[0,0,0]},t:15,s:[70,70,100],e:[40,40,100]},{t:80}],ix:6}},ao:0,ef:[{ty:5,nm:"Wiggle Rate",np:3,mn:"ADBE Slider Control",ix:1,en:1,ef:[{ty:0,nm:"Slider",mn:"ADBE Slider Control-0001",ix:1,v:{a:0,k:0,ix:1}}]}],ip:0,op:100,st:0,bm:0},{ddd:0,ind:2,ty:0,nm:"Rocket",parent:1,refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.833,0,0],ix:2},a:{a:0,k:[300,300,0],ix:1},s:{a:0,k:[148.754,148.754,100],ix:6}},ao:0,tm:{a:1,k:[{i:{x:[.21],y:[.928]},o:{x:[.04],y:[.361]},t:0,s:[.667],e:[2]},{i:{x:[.38],y:[1]},o:{x:[.49],y:[0]},t:30.062,s:[2],e:[3.2]},{i:{x:[.82],y:[.986]},o:{x:[.49],y:[0]},t:80,s:[3.2],e:[4.333]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:96,s:[4.333],e:[4.333]},{t:130}],ix:2},w:600,h:600,ip:0,op:110,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Fire 1",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,101.791,0],ix:2},a:{a:0,k:[250,380.848,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,191.098],[-24.746,185.22],[0,227.453],[24.746,185.22],[28.785,191.098]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}]},{t:30}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.788000009574,.156999999402,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.338,422.749],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Fire 2",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,103.916,0],ix:2},a:{a:0,k:[250,385.497,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,329.554],[-38.976,320.296],[.001,386.814],[38.976,320.296],[45.339,329.554]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}]},{t:30}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.340999977261,.13300000359,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.339,446.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Fire 1 Wiggle",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,101.791,0],ix:2},a:{a:0,k:[250,380.848,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:30,s:[100,100,100],e:[100,136.488,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:50,s:[100,136.488,100],e:[100,101,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:71,s:[100,101,100],e:[100,124,100]},{t:80}],ix:6}},ao:0,ef:[{ty:5,nm:"Scale Wiggle",np:3,mn:"ADBE Slider Control",ix:1,en:1,ef:[{ty:0,nm:"Slider",mn:"ADBE Slider Control-0001",ix:1,v:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:29,s:[0],e:[1]},{t:30}],ix:1}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,191.098],[-24.746,185.22],[0,227.453],[24.746,185.22],[28.785,191.098]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}]},{i:{x:.833,y:1},o:{x:.04,y:0},t:30,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:80,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.785,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:81,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.785,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:82,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,107.501],[-24.746,101.624],[0,143.856],[24.746,101.624],[28.785,107.501]],c:!0}]},{t:83}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.788000009574,.156999999402,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.338,422.749],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:30,op:110,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Fire 2 Wiggle",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,103.916,0],ix:2},a:{a:0,k:[250,385.497,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:30,s:[100,100,100],e:[100,144.049,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:50,s:[100,144.049,100],e:[100,96,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:71,s:[100,96,100],e:[100,124,100]},{t:80}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,169.194],[-38.976,159.936],[.001,226.454],[38.976,159.936],[45.339,169.194]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}]},{i:{x:.833,y:1},o:{x:.04,y:0},t:30,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:80,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,514.557],[-38.977,505.299],[0,571.817],[38.975,505.299],[45.338,514.557]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:81,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,514.557],[-38.977,505.299],[0,571.817],[38.975,505.299],[45.338,514.557]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,514.557],[-38.976,505.299],[.001,571.817],[38.976,505.299],[45.339,514.557]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:82,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,514.557],[-38.976,505.299],[.001,571.817],[38.976,505.299],[45.339,514.557]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,168.845],[-38.976,159.587],[.001,226.105],[38.976,159.587],[45.339,168.845]],c:!0}]},{t:83}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.340999977261,.13300000359,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.339,446.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:30,op:110,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"Line 11",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-142,ix:10},p:{a:0,k:[401.5,412,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[390.439,-149.673],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:74,s:[0],e:[100]},{t:78}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:71,s:[6],e:[100]},{t:75}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:71,s:[5],e:[0]},{t:78}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:71,op:110,st:71,bm:0},{ddd:0,ind:8,ty:4,nm:"Line 10",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-7,ix:10},p:{a:0,k:[405.5,406,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[390.439,-149.673],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:71,s:[0],e:[100]},{t:75}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:68,s:[6],e:[100]},{t:72}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:68,s:[5],e:[0]},{t:75}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:68,op:110,st:68,bm:0},{ddd:0,ind:9,ty:4,nm:"Line 9",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-88,ix:10},p:{a:0,k:[399.5,400,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[390.439,-149.673],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:69,s:[0],e:[100]},{t:73}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:66,s:[6],e:[100]},{t:70}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:66,s:[5],e:[0]},{t:73}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:66,op:110,st:66,bm:0},{ddd:0,ind:10,ty:4,nm:"Line 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-197,ix:10},p:{a:0,k:[395.5,400,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[344,-100],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:66,s:[0],e:[100]},{t:70}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:63,s:[6],e:[100]},{t:67}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:63,s:[5],e:[0]},{t:70}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:63,op:110,st:63,bm:0},{ddd:0,ind:11,ty:4,nm:"Line 6",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:98,ix:10},p:{a:0,k:[393.5,418,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[344,-100],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:55,s:[0],e:[100]},{t:59}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:52,s:[6],e:[100]},{t:56}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:52,s:[5],e:[0]},{t:59}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:52,op:110,st:52,bm:0},{ddd:0,ind:12,ty:4,nm:"Line 12",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:68,ix:10},p:{a:0,k:[411.5,320,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[344,-100],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:37,s:[0],e:[100]},{t:41}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:34,s:[6],e:[100]},{t:38}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:34,s:[5],e:[0]},{t:41}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:34,op:110,st:34,bm:0},{ddd:0,ind:13,ty:4,nm:"Blasting Circle 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400.5,855,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.37,.37],y:[1,1]},o:{x:[.42,.42],y:[0,0]},t:78,s:[0,0],e:[1127,1127]},{t:94}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.37],y:[1]},o:{x:[.42],y:[0]},t:78,s:[5],e:[0]},{t:94}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:78,op:110,st:78,bm:0},{ddd:0,ind:14,ty:4,nm:"Blasting Circle 3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400.5,615,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.37,.37],y:[1,1]},o:{x:[.42,.42],y:[0,0]},t:78,s:[0,0],e:[1127,1127]},{t:94}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.37],y:[1]},o:{x:[.42],y:[0]},t:78,s:[5],e:[0]},{t:94}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:78,op:110,st:78,bm:0},{ddd:0,ind:15,ty:4,nm:"Blasting Circle 2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400.5,415,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.667,.667],y:[1,1]},o:{x:[.333,.333],y:[0,0]},t:61,s:[1007,1007],e:[0,0]},{t:71}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:61,s:[5],e:[0]},{t:71}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:61,op:110,st:61,bm:0},{ddd:0,ind:16,ty:4,nm:"Blasting Circle ",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[399,320,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.667,.667],y:[1,1]},o:{x:[.333,.333],y:[0,0]},t:40,s:[1007,1007],e:[0,0]},{t:50}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:40,s:[5],e:[0]},{t:50}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:40,op:110,st:40,bm:0},{ddd:0,ind:17,ty:4,nm:"BG",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400,300,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[800,600],ix:2},p:{a:0,k:[0,0],ix:3},r:{a:0,k:0,ix:4},nm:"Rectangle Path 1",mn:"ADBE Vector Shape - Rect",hd:!1},{ty:"fl",c:{a:0,k:[.03137254902,.101960784314,.149019607843,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:110,op:110,st:0,bm:0,hidden:0}],markers:[]},ub={class:"main-send-suggestion"},mb={key:0,class:"sent-suggestion-section"},fb={class:"sent-suggestion-content"},hb={class:"container-send-suggestion"},pb={key:0,class:"tool_tip_suggestion_error"},gb={key:0,class:"loader-suggestion"},yb={key:1},kb=qe({__name:"sendSuggestion",props:{loader:{type:Boolean,default:!1},sentSuccess:{type:Boolean,default:!1}},emits:["postSuccess"],setup(e,{emit:a}){const n=a,r=t.ref(""),o=t.ref(!1),i=()=>{if(o.value=!1,!r.value){o.value=!0;return}n("postSuccess",r.value)};return(l,s)=>{const d=t.resolveComponent("Vue3Lottie");return t.openBlock(),t.createElementBlock("main",ub,[e.sentSuccess?(t.openBlock(),t.createElementBlock("section",mb,[t.createElementVNode("div",fb,[s[2]||(s[2]=t.createElementVNode("p",{class:"text-lg font-semibold uppercase"}," Sua sugestão foi recebida com sucesso ",-1)),t.createVNode(d,{"animation-data":t.unref(db),height:200,width:200,"auto-play":!0,loop:!0},null,8,["animation-data"]),s[3]||(s[3]=t.createElementVNode("span",{class:"flex flex-col gap-3 lg:text-justify"},[t.createElementVNode("p",{class:"font-semibold"}," Nossa equipe irá avaliá-la com atenção e considerar sua implementação. "),t.createElementVNode("p",{class:"text-[12px]"}," Você irá receber um e-mail com as informações da solicitação e nossa equipe irá responder em até 30 dias ")],-1)),s[4]||(s[4]=t.createElementVNode("p",{class:"font-bold"},"Agradecemos sua colaboração",-1))])])):t.createCommentVNode("",!0),t.createElementVNode("section",hb,[s[5]||(s[5]=t.createElementVNode("h1",{class:"header_send_suggestion"},"Envie sua sugestão para nós",-1)),t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":s[0]||(s[0]=p=>r.value=p),class:"input_send_suggestion textarea-send-suggestion",placeholder:"Gostaria que vocês adicionassem...",type:"text"},null,512),[[t.vModelText,r.value]]),o.value?(t.openBlock(),t.createElementBlock("span",pb," Por favor, preencha o campo antes de continuar ")):t.createCommentVNode("",!0),t.createElementVNode("button",{onClick:s[1]||(s[1]=p=>i()),class:"submit-button-send-suggestion"},[e.loader?(t.openBlock(),t.createElementBlock("div",gb)):(t.openBlock(),t.createElementBlock("p",yb,"Enviar"))])])])}}},[["__scopeId","data-v-839ab724"]]),xb=e=>`<svg class="${e}" aria-hidden="true" fill="none" viewBox="0 0 24 24" > <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778" /> </svg>`,bb=e=>`<svg class="${e}" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" > <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z" /> </svg>`,wb=["innerHTML"],ys={__name:"svg",props:{svgContent:{type:String,required:!0}},setup(e){return(a,n)=>(t.openBlock(),t.createElementBlock("div",{innerHTML:e.svgContent},null,8,wb))}},vb={class:"feature-card__header"},Eb={class:"feature-card__title"},Cb={class:"flex items-center gap-2"},Sb={key:0,class:"sparkle-badge"},Mb={key:0},Bb={class:"feature-card__content"},Ab={class:"feature-card__description scroll_area_feature_card"},Vb=["innerHTML"],Nb=["href"],Db={class:"feature-card__footer"},_b={class:"feature-card__footer-section"},ks=qe({__name:"feature_card",props:{state:{type:String,required:!0,default:"updated"},title:{type:String,required:!0},description:{type:String,required:!0},date:{type:[String,null],required:!0},tutorial:{type:String,default:null},flag:{type:String,required:!0},sparkles:{type:Boolean,default:!1}},setup(e){const a=t.ref(!1),n=t.ref(null),r=e;Go(n,()=>{a.value=!1});const i=t.computed(()=>({"arrow-icon-patch-notes":!0,rotate:!a.value})),l=t.computed(()=>({"feature-card":!0,"feature-card--updated":r.state==="updated","feature-card--future":r.state==="future-update","feature-card--other":r.state!=="updated"&&r.state!=="future-update"})),s=t.computed(()=>({"pill-flag":!0,"pill-flag--new-feature":r.flag==="new-feature","pill-flag--improvement":r.flag==="improvement","pill-flag--bug-fix":r.flag==="bug-fix"})),d=t.computed(()=>r.flag==="improvement"?"Melhorias":r.flag==="new-feature"?"Novo Recurso":"correção de erros"),p=t.computed(()=>({"pill-date":!0,"pill-date--updated":r.state==="updated","pill-date--future":r.state!=="updated"}));return(u,m)=>{const c=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass(["feature_style relative",l.value]),ref_key:"targetFeatureCard",ref:n,onClick:m[0]||(m[0]=f=>a.value=!a.value)},[t.createElementVNode("header",vb,[t.createElementVNode("h1",Eb,t.toDisplayString(e.title),1),t.createElementVNode("section",Cb,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),viewBox:"0 0 24 24",fill:"none"},m[1]||(m[1]=[t.createElementVNode("g",null,[t.createElementVNode("path",{d:"M15 11L12 8M12 8L9 11M12 8V16M21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2)),e.sparkles?(t.openBlock(),t.createElementBlock("div",Sb,m[2]||(m[2]=[t.createStaticVNode('<svg class="size-4" viewBox="0 0 128 128" data-v-252b53a7><path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-252b53a7></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-252b53a7></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-252b53a7></path><g data-v-252b53a7><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-252b53a7></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-252b53a7></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-252b53a7></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-252b53a7></path></svg>',1)]))):t.createCommentVNode("",!0)])]),t.createVNode(t.Transition,{name:"fade-slide"},{default:t.withCtx(()=>[a.value?(t.openBlock(),t.createElementBlock("div",Mb,[m[4]||(m[4]=t.createElementVNode("hr",{class:"feature-card__divider"},null,-1)),t.createElementVNode("section",Bb,[t.createElementVNode("span",Ab,[t.createElementVNode("p",{class:"feature-card__paragraph",innerHTML:e.description.replace(/\n/g,"<br>")},null,8,Vb)]),e.tutorial?(t.openBlock(),t.createElementBlock("a",{key:0,class:"feature-card__tutorial-button",href:e.tutorial,target:"__blank"},[m[3]||(m[3]=t.createTextVNode(" Veja o tutorial ")),t.createVNode(ys,{svgContent:t.unref(xb)("size-4 text-blue-900")},null,8,["svgContent"])],8,Nb)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]),_:1}),t.createElementVNode("footer",Db,[t.createElementVNode("section",_b,[t.createElementVNode("span",{class:t.normalizeClass(s.value)},t.toDisplayString(d.value),3),t.createVNode(c,{class:"pill_date_popper",hover:"",disabled:e.state==="updated",arrow:!0,content:"Essa é uma data prevista para o lançamento deste recurso, a mesma está sujeita a mudanças a qualquer momento"},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(p.value)},[t.createVNode(ys,{svgContent:t.unref(bb)("size-4 text-white")},null,8,["svgContent"]),t.createElementVNode("p",null,t.toDisplayString(new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"short",year:"numeric"}).format(new Date(e.date+"T12:00:00")).replace(/ de /g," ")),1)],2)]),_:1},8,["disabled"])])])],2)}}},[["__scopeId","data-v-252b53a7"]]),Tb={class:"modal-container-patch-notes"},Pb={class:"modal-content-patch-notes scroll_area_patch_notes_latest_update"},Ob={class:"modal-header-patch-notes"},Fb={class:"modal-body-patch-notes"},Lb={class:"modal-body-control"},$b={class:"modal-section-patch-notes updates-section-patch-notes"},Hb={key:0,class:"sections-skeleton-loader"},Rb={class:"skeleton-loader skeleton-color-latest_update"},zb={key:1,class:"text-not-patchs"},Ib={class:"modal-section-patch-notes future-section-patch-notes"},Gb={key:0,class:"sections-skeleton-loader"},jb={class:"skeleton-loader skeleton-color-latest_update"},qb={key:1,class:"text-not-patchs"},xs=qe({__name:"patchNotes",props:{future_updates:{type:[Object,null],required:!0},latest_update:{type:[Object,null],required:!0},loader:{type:Boolean,default:!1},sentSuccess:{type:Boolean,default:!1}},emits:["close","postSuggestion","loadMoreFutureUpdates","loadMoreLatestUpdates"],setup(e,{emit:a}){const n=t.ref(1),r=t.ref(1),o=t.ref(null),i=t.ref(null),l=a,s=c=>{l("postSuggestion",c)},d=()=>{l("close"),n.value=1,r.value=1},p=({loaded:c,complete:f})=>{l("loadMoreFutureUpdates",{loaded:c,complete:f,page:n.value}),n.value++},u=({loaded:c,complete:f})=>{l("loadMoreLatestUpdates",{loaded:c,complete:f,page:r.value}),r.value++},m=c=>{if(!c)return!1;const f=new Date,h=new Date(c+"T12:00:00");return Math.abs(f-h)/(1e3*60*60*24)<=3};return(c,f)=>(t.openBlock(),t.createElementBlock("main",null,[f[8]||(f[8]=t.createElementVNode("div",{class:"modal-overlay-patch-notes"},[t.createElementVNode("div",{class:"modal-backdrop-patch-notes"})],-1)),t.createElementVNode("div",Tb,[t.createElementVNode("div",Pb,[t.createElementVNode("div",Ob,[t.createElementVNode("button",{onClick:f[0]||(f[0]=h=>d()),class:"modal-close-btn-patch-notes"},f[1]||(f[1]=[t.createElementVNode("svg",{class:"modal-close-icon-patch-notes","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]))]),t.createElementVNode("div",Fb,[t.createElementVNode("div",Lb,[t.createElementVNode("section",$b,[f[4]||(f[4]=t.createElementVNode("h1",{class:"header_latest_update"},"Ultimas Atualizações",-1)),t.createElementVNode("div",{ref_key:"scrollLasContainer",ref:i,class:"features-list scrollable-section scroll_area_patch_notes_latest_update"},[e.latest_update?e.latest_update<=0?(t.openBlock(),t.createElementBlock("span",zb," Nenhuma atualização programada ")):t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("section",Hb,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(15,h=>t.createElementVNode("div",Rb)),64))])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.latest_update,(h,y)=>(t.openBlock(),t.createBlock(ks,{key:y,state:"updated",title:h.title,description:h.description,date:h.launched_at,tutorial:h.tutorial,flag:h.flag,sparkles:m(h.launched_at)},null,8,["title","description","date","tutorial","flag","sparkles"]))),128)),t.createVNode(t.unref(fo),{distance:20,target:i.value,onInfinite:u},{complete:t.withCtx(()=>f[2]||(f[2]=[t.createElementVNode("span",{class:""},null,-1)])),spinner:t.withCtx(()=>f[3]||(f[3]=[t.createElementVNode("section",{class:"sections-skeleton-loader"},[t.createElementVNode("div",{class:"skeleton-loader skeleton-color-latest_update"},[t.createElementVNode("div",{class:"infinite-loader-spin"})])],-1)])),_:1},8,["target"])],512)]),t.createElementVNode("section",Ib,[f[7]||(f[7]=t.createElementVNode("h1",{class:"header_future_updates"},"Futuras Atualizações",-1)),t.createElementVNode("div",{ref_key:"scrollFutContainer",ref:o,class:"features-list scrollable-section scroll_area_patch_notes_future_updates"},[e.future_updates?e.future_updates<=0?(t.openBlock(),t.createElementBlock("span",qb," Nenhuma atualização programada ")):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(e.future_updates,(h,y)=>(t.openBlock(),t.createBlock(ks,{key:y,state:"future-update",title:h.title,description:h.description,date:h.launched_at,tutorial:h.tutorial,flag:h.flag},null,8,["title","description","date","tutorial","flag"]))),128)):(t.openBlock(),t.createElementBlock("section",Gb,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(15,h=>t.createElementVNode("div",jb)),64))])),t.createVNode(t.unref(fo),{distance:20,target:o.value,onInfinite:p},{complete:t.withCtx(()=>f[5]||(f[5]=[t.createElementVNode("span",{class:""},null,-1)])),spinner:t.withCtx(()=>f[6]||(f[6]=[t.createElementVNode("section",{class:"sections-skeleton-loader"},[t.createElementVNode("div",{class:"skeleton-loader skeleton-color-future_updates"},[t.createElementVNode("div",{class:"infinite-loader-spin"})])],-1)])),_:1},8,["target"])],512)])]),t.createVNode(kb,{loader:e.loader,sentSuccess:e.sentSuccess,onPostSuccess:s},null,8,["loader","sentSuccess"])])])])]))}},[["__scopeId","data-v-f7b5b5bc"]]),Wb={key:0,class:"sparkle-badge"},Yb={key:0,class:"text-white text-center flex-1"},Ub={key:1,class:"sparkle-badge"},bs=qe({__name:"btnNewUpdates",props:{type:{type:String,default:"attendant",required:!0},mode:{type:String,default:"dark"},sparkles:{type:Boolean,default:!1}},emits:["openNewUpdates"],setup(e,{emit:a}){const n=a,r=e,o=(s,d)=>{const p={attendant:{container:"main-container-new-update",button:"update-button",tooltip:"tooltip-new-update",iconSize:"size-4",usePopper:!1,text:null},managerSideBarClose:{container:"main-container-new-update-manager-close",button:"new_update-button ",tooltip:null,iconSize:"size-6",usePopper:!0,text:null},managerSideBarOpen:{container:"main-container-new-update-manager-open",button:"new_update-button-open-side open-width",tooltip:null,iconSize:"size-6",usePopper:!1,text:"Notas de atualização"}};return p[s]||p.attendant},i=t.computed(()=>o(r.type,r.sparkles)),l=()=>{n("openNewUpdates")};return(s,d)=>(t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass(["relative",i.value.container]),onClick:l},[i.value.usePopper?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("button",{class:t.normalizeClass(i.value.button)},d[0]||(d[0]=[t.createElementVNode("svg",{class:"new_update-icon",fill:"currentColor",viewBox:"0 0 420.827 420.827"},[t.createElementVNode("g",null,[t.createElementVNode("g",null,[t.createElementVNode("path",{d:"M210.29,0C156,0,104.43,20.693,65.077,58.269C25.859,95.715,2.794,146.022,0.134,199.921 c-0.135,2.734,0.857,5.404,2.744,7.388c1.889,1.983,4.507,3.105,7.244,3.105h45.211c5.275,0,9.644-4.098,9.979-9.362 c4.871-76.214,68.553-135.914,144.979-135.914c80.105,0,145.275,65.171,145.275,145.276c0,80.105-65.17,145.276-145.275,145.276 c-18.109,0-35.772-3.287-52.501-9.771l17.366-15.425c2.686-2.354,3.912-5.964,3.217-9.468c-0.696-3.506-3.209-6.371-6.592-7.521 l-113-32.552c-3.387-1.149-7.122-0.407-9.81,1.948c-2.686,2.354-3.913,5.963-3.218,9.467L69.71,403.157 c0.696,3.505,3.209,6.372,6.591,7.521c3.383,1.147,7.122,0.408,9.81-1.946l18.599-16.298 c31.946,18.574,68.456,28.394,105.581,28.394c116.021,0,210.414-94.392,210.414-210.414C420.705,94.391,326.312,0,210.29,0z"}),t.createElementVNode("path",{d:"M195.112,237.9h118.5c2.757,0,5-2.242,5-5v-30c0-2.757-2.243-5-5-5h-83.5v-91c0-2.757-2.243-5-5-5h-30 c-2.757,0-5,2.243-5,5v126C190.112,235.658,192.355,237.9,195.112,237.9z"})])])],-1)]),2),e.sparkles?(t.openBlock(),t.createElementBlock("div",Wb,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value.iconSize),viewBox:"0 0 128 128"},d[1]||(d[1]=[t.createStaticVNode('<path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-b6196bab></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-b6196bab></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-b6196bab></path><g data-v-b6196bab><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-b6196bab></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-b6196bab></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-b6196bab></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-b6196bab></path>',5)]),2))])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{class:t.normalizeClass(["relative",i.value.button])},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(r.mode==="dark"?"dark_new_update-icon":"new_update-icon"),fill:"currentColor",viewBox:"0 0 420.827 420.827"},d[2]||(d[2]=[t.createElementVNode("g",null,[t.createElementVNode("g",null,[t.createElementVNode("path",{d:"M210.29,0C156,0,104.43,20.693,65.077,58.269C25.859,95.715,2.794,146.022,0.134,199.921 c-0.135,2.734,0.857,5.404,2.744,7.388c1.889,1.983,4.507,3.105,7.244,3.105h45.211c5.275,0,9.644-4.098,9.979-9.362 c4.871-76.214,68.553-135.914,144.979-135.914c80.105,0,145.275,65.171,145.275,145.276c0,80.105-65.17,145.276-145.275,145.276 c-18.109,0-35.772-3.287-52.501-9.771l17.366-15.425c2.686-2.354,3.912-5.964,3.217-9.468c-0.696-3.506-3.209-6.371-6.592-7.521 l-113-32.552c-3.387-1.149-7.122-0.407-9.81,1.948c-2.686,2.354-3.913,5.963-3.218,9.467L69.71,403.157 c0.696,3.505,3.209,6.372,6.591,7.521c3.383,1.147,7.122,0.408,9.81-1.946l18.599-16.298 c31.946,18.574,68.456,28.394,105.581,28.394c116.021,0,210.414-94.392,210.414-210.414C420.705,94.391,326.312,0,210.29,0z"}),t.createElementVNode("path",{d:"M195.112,237.9h118.5c2.757,0,5-2.242,5-5v-30c0-2.757-2.243-5-5-5h-83.5v-91c0-2.757-2.243-5-5-5h-30 c-2.757,0-5,2.243-5,5v126C190.112,235.658,192.355,237.9,195.112,237.9z"})])],-1)]),2)),i.value.text?(t.openBlock(),t.createElementBlock("span",Yb,t.toDisplayString(i.value.text),1)):t.createCommentVNode("",!0),e.sparkles?(t.openBlock(),t.createElementBlock("div",Ub,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value.iconSize),viewBox:"0 0 128 128"},d[3]||(d[3]=[t.createStaticVNode('<path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-b6196bab></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-b6196bab></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-b6196bab></path><g data-v-b6196bab><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-b6196bab></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-b6196bab></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-b6196bab></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-b6196bab></path>',5)]),2))])):t.createCommentVNode("",!0)],2),t.withDirectives(t.createElementVNode("p",{class:t.normalizeClass(i.value.tooltip)}," Notas de atualização ",2),[[t.vShow,i.value.tooltip]])],64))],2))}},[["__scopeId","data-v-b6196bab"]]);zt.defineStore("debug",{state:()=>({message:"Debug store initialized"}),actions:{logMessage(){console.log(this.message)}}});function Xb(e){e.component("primarySelect",jo),e.component("departSelect",cs),e.component("attendantSelect",ds),e.component("SimpleModal",qo),e.component("simpleCard",Wo),e.component("instanceSelect",Di),e.component("calendar",Il),e.component("MFA",Gl),e.component("MfaQrCode",a5),e.component("chatWindow",ls),e.component("FilterSelectLib",us),e.component("MobileInternalChat",ss),e.component("RandomAvatar",ps),e.component("MinModal",gs),e.component("LibPatchNotes",xs),e.component("BtnNewUpdates",bs)}function ws(e,a="add"){const n=Lo();a==="add"?n.addDepartments(e):a==="delete"?n.removeDepartments(e):a==="update"?(n.departments=e,n.loaded=!0):console.error(`Ação "${a}" não suportada em attLibDeparts.`)}function vs(e,a="add"){const n=Un();a==="add"?n.addAttendants(e):a==="delete"?n.removeAttendants(e):a==="update"?(n.attendants=e,n.loaded=!0):console.error(`Ação "${a}" não suportada em attLibAttendants.`)}function Es(e,a="add"){const n=Br();a==="add"?n.addInstance(e):a==="delete"?n.removeInstance(e):a==="update"?(n.instances=e,n.loaded=!0):console.error(`Ação "${a}" não suportada em attLibInstances.`)}async function Cs(e,a,n,r=[],o=[],i=[]){try{const l=await Ni(e);a&&await l.setToken(a),n&&(na.defaults.baseURL=n);const s=Lo(e);o.length>0&&(s.departments=o,s.count=o.length);const d=Un(e);r.length>0&&(d.attendants=r,d.count=r.length),await Br(e).fetchInstances()}catch(l){console.error("Erro no setupLibrary:",l)}}const Zb={install:Xb,setupLibrary:Cs,attLibDeparts:ws,attLibAttendants:vs,attLibInstances:Es,primarySelect:jo,simpleModal:qo,simpleCard:Wo,instanceSelect:Di,calendar:Il,MFA:Gl,chatWindow:ls,departSelect:cs,attendantSelect:ds,FilterSelectLib:us,MobileInternalChat:ss,RandomAvatar:ps,MinModal:gs,libPatchNotes:xs,btnNewUpdates:bs};ut.attLibAttendants=vs,ut.attLibDeparts=ws,ut.attLibInstances=Es,ut.default=Zb,ut.setupLibrary=Cs,Object.defineProperties(ut,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});