sm-click-library-ui 0.0.384 → 0.0.385

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,9 +1,9 @@
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 Dw=Object.defineProperty;var _w=(ut,t,zt)=>t in ut?Dw(ut,t,{enumerable:!0,configurable:!0,writable:!0,value:zt}):ut[t]=zt;var ve=(ut,t,zt)=>_w(ut,typeof t!="symbol"?t+"":t,zt);function H1(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Uo(e){return typeof e=="function"?e():t.unref(e)}const Xo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const R1=Object.prototype.toString,z1=e=>R1.call(e)==="[object Object]",Bn=()=>{},I1=G1();function G1(){var e,a;return Xo&&((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 en(e){var a;const n=Uo(e);return(a=n==null?void 0:n.$el)!=null?a:n}const Zo=Xo?window:void 0;function yr(...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 Bn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},l=(u,m,c,f)=>(u.addEventListener(m,c,f),()=>u.removeEventListener(m,c,f)),d=t.watch(()=>[en(a),Uo(o)],([u,m])=>{if(s(),!u)return;const c=z1(m)?{...m}:m;i.push(...n.flatMap(f=>r.map(h=>l(u,f,h,c))))},{immediate:!0,flush:"post"}),p=()=>{d(),s()};return H1(p),p}let Qo=!1;function Ko(e,a,n={}){const{window:r=Zo,ignore:o=[],capture:i=!0,detectIframe:s=!1}=n;if(!r)return Bn;I1&&!Qo&&(Qo=!0,Array.from(r.document.body.children).forEach(c=>c.addEventListener("click",Bn)),r.document.documentElement.addEventListener("click",Bn));let l=!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=en(f);return h&&(c.target===h||c.composedPath().includes(h))}}),u=[yr(r,"click",c=>{const f=en(e);if(!(!f||f===c.target||c.composedPath().includes(f))){if(c.detail===0&&(l=!d(c)),!l){l=!0;return}a(c)}},{passive:!0,capture:i}),yr(r,"pointerdown",c=>{const f=en(e);l=!d(c)&&!!(f&&!c.composedPath().includes(f))},{passive:!0}),s&&yr(r,"blur",c=>{setTimeout(()=>{var f;const h=en(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},j1={class:"line-clamp-2 uppercase text-xs truncate text-white"},q1={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(l=>l.freeSlot));const i=()=>{r.value=!r.value};return Ko(o,()=>{r.value&&(r.value=!1)}),(l,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",j1,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",q1,[t.createElementVNode("div",null,[t.renderSlot(l.$slots,"free-slot",{},void 0,!0)])])):t.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-970e6830"]]),W1={key:0,class:"modal_head"},Y1={class:"modal_responsive"},U1={class:"flex min-h-full items-center justify-center text-center sm:p-0"},X1={class:"modal_tittle text-current"},Z1={class:"flex items-center gap-3"},Q1=["innerHTML"],K1={class:"text-xl font-semibold flex items-center gap-2"},J1={class:"bg-base-200"},e0={class:"text-center"},t0={class:"modal_end_button"},ei=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,s)=>{var l,d;return e.isOpen?(t.openBlock(),t.createElementBlock("div",W1,[s[2]||(s[2]=t.createElementVNode("div",{class:"modal-overlay absolute h-full w-full bg-gray-600 opacity-50"},null,-1)),t.createElementVNode("div",Y1,[t.createElementVNode("div",U1,[t.createElementVNode("div",{class:t.normalizeClass(["z-50 w-full shadow rounded-2xl shadow-black",e.size])},[t.createElementVNode("div",X1,[t.createElementVNode("section",Z1,[t.createElementVNode("div",{innerHTML:(l=e.header)==null?void 0:l.svg},null,8,Q1),t.createElementVNode("div",null,[t.createElementVNode("h3",K1,[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:s[0]||(s[0]=p=>o()),class:"modal_close_button"},s[1]||(s[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",J1,[t.createElementVNode("div",e0,[t.renderSlot(i.$slots,"body",{},void 0,!0)])]),t.createElementVNode("div",t0,[t.renderSlot(i.$slots,"footer",{},void 0,!0)])],2)])])])):t.createCommentVNode("",!0)}}},[["__scopeId","data-v-3fe54e4c"]]),a0={class:"simple_card_header"},n0={key:0,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},r0={key:1,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},o0={key:2,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},i0={key:3,class:"simple_card_icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 23 23"},s0={class:"simple_card_title"},l0={class:"simple_card_descripiton"},ti={__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",a0,[e.typeCard==="success"?(t.openBlock(),t.createElementBlock("svg",n0,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",r0,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",o0,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",i0,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",s0,t.toDisplayString(e.content.title),1)]),t.createElementVNode("section",l0,[t.createElementVNode("p",null,t.toDisplayString(e.content.description),1)])],2))}};function ai(e,a){return function(){return e.apply(a,arguments)}}const{toString:c0}=Object.prototype,{getPrototypeOf:kr}=Object,{iterator:An,toStringTag:ni}=Symbol,Vn=(e=>a=>{const n=c0.call(a);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Pt=e=>(e=e.toLowerCase(),a=>Vn(a)===e),Dn=e=>a=>typeof a===e,{isArray:Ta}=Array,tn=Dn("undefined");function d0(e){return e!==null&&!tn(e)&&e.constructor!==null&&!tn(e.constructor)&&Mt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ri=Pt("ArrayBuffer");function u0(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&ri(e.buffer),a}const m0=Dn("string"),Mt=Dn("function"),oi=Dn("number"),_n=e=>e!==null&&typeof e=="object",f0=e=>e===!0||e===!1,Nn=e=>{if(Vn(e)!=="object")return!1;const a=kr(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(ni in e)&&!(An in e)},h0=Pt("Date"),p0=Pt("File"),g0=Pt("Blob"),y0=Pt("FileList"),k0=e=>_n(e)&&Mt(e.pipe),b0=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||Mt(e.append)&&((a=Vn(e))==="formdata"||a==="object"&&Mt(e.toString)&&e.toString()==="[object FormData]"))},x0=Pt("URLSearchParams"),[w0,v0,E0,C0]=["ReadableStream","Request","Response","Headers"].map(Pt),S0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function an(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),s=i.length;let l;for(r=0;r<s;r++)l=i[r],a.call(null,e[l],l,e)}}function ii(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,si=e=>!tn(e)&&e!==wa;function br(){const{caseless:e}=si(this)&&this||{},a={},n=(r,o)=>{const i=e&&ii(a,o)||o;Nn(a[i])&&Nn(r)?a[i]=br(a[i],r):Nn(r)?a[i]=br({},r):Ta(r)?a[i]=r.slice():a[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&an(arguments[r],n);return a}const M0=(e,a,n,{allOwnKeys:r}={})=>(an(a,(o,i)=>{n&&Mt(o)?e[i]=ai(o,n):e[i]=o},{allOwnKeys:r}),e),B0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),A0=(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)},V0=(e,a,n,r)=>{let o,i,s;const l={};if(a=a||{},e==null)return a;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,a))&&!l[s]&&(a[s]=e[s],l[s]=!0);e=n!==!1&&kr(e)}while(e&&(!n||n(e,a))&&e!==Object.prototype);return a},D0=(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},_0=e=>{if(!e)return null;if(Ta(e))return e;let a=e.length;if(!oi(a))return null;const n=new Array(a);for(;a-- >0;)n[a]=e[a];return n},N0=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&kr(Uint8Array)),T0=(e,a)=>{const r=(e&&e[An]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;a.call(e,i[0],i[1])}},P0=(e,a)=>{let n;const r=[];for(;(n=e.exec(a))!==null;)r.push(n);return r},O0=Pt("HTMLFormElement"),F0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),li=(({hasOwnProperty:e})=>(a,n)=>e.call(a,n))(Object.prototype),L0=Pt("RegExp"),ci=(e,a)=>{const n=Object.getOwnPropertyDescriptors(e),r={};an(n,(o,i)=>{let s;(s=a(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},$0=e=>{ci(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+"'")})}})},H0=(e,a)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Ta(e)?r(e):r(String(e).split(a)),n},R0=()=>{},z0=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function I0(e){return!!(e&&Mt(e.append)&&e[ni]==="FormData"&&e[An])}const G0=e=>{const a=new Array(10),n=(r,o)=>{if(_n(r)){if(a.indexOf(r)>=0)return;if(!("toJSON"in r)){a[o]=r;const i=Ta(r)?[]:{};return an(r,(s,l)=>{const d=n(s,o+1);!tn(d)&&(i[l]=d)}),a[o]=void 0,i}}return r};return n(e,0)},j0=Pt("AsyncFunction"),q0=e=>e&&(_n(e)||Mt(e))&&Mt(e.then)&&Mt(e.catch),di=((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)),W0=typeof queueMicrotask<"u"?queueMicrotask.bind(wa):typeof process<"u"&&process.nextTick||di,oe={isArray:Ta,isArrayBuffer:ri,isBuffer:d0,isFormData:b0,isArrayBufferView:u0,isString:m0,isNumber:oi,isBoolean:f0,isObject:_n,isPlainObject:Nn,isReadableStream:w0,isRequest:v0,isResponse:E0,isHeaders:C0,isUndefined:tn,isDate:h0,isFile:p0,isBlob:g0,isRegExp:L0,isFunction:Mt,isStream:k0,isURLSearchParams:x0,isTypedArray:N0,isFileList:y0,forEach:an,merge:br,extend:M0,trim:S0,stripBOM:B0,inherits:A0,toFlatObject:V0,kindOf:Vn,kindOfTest:Pt,endsWith:D0,toArray:_0,forEachEntry:T0,matchAll:P0,isHTMLForm:O0,hasOwnProperty:li,hasOwnProp:li,reduceDescriptors:ci,freezeMethods:$0,toObjectSet:H0,toCamelCase:F0,noop:R0,toFiniteNumber:z0,findKey:ii,global:wa,isContextDefined:si,isSpecCompliantForm:I0,toJSONObject:G0,isAsyncFn:j0,isThenable:q0,setImmediate:di,asap:W0,isIterable:e=>e!=null&&Mt(e[An])};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 ui=Te.prototype,mi={};["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=>{mi[e]={value:e}}),Object.defineProperties(Te,mi),Object.defineProperty(ui,"isAxiosError",{value:!0}),Te.from=(e,a,n,r,o,i)=>{const s=Object.create(ui);return oe.toFlatObject(e,s,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),Te.call(s,e.message,a,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const Y0=null;function xr(e){return oe.isPlainObject(e)||oe.isArray(e)}function fi(e){return oe.endsWith(e,"[]")?e.slice(0,-2):e}function hi(e,a,n){return e?e.concat(a).map(function(o,i){return o=fi(o),!n&&i?"["+o+"]":o}).join(n?".":""):a}function U0(e){return oe.isArray(e)&&!e.some(xr)}const X0=oe.toFlatObject(oe,{},null,function(a){return/^is[A-Z]/.test(a)});function Tn(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,k){return!oe.isUndefined(k[y])});const r=n.metaTokens,o=n.visitor||u,i=n.dots,s=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,k){let x=h;if(h&&!k&&typeof h=="object"){if(oe.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(oe.isArray(h)&&U0(h)||(oe.isFileList(h)||oe.endsWith(y,"[]"))&&(x=oe.toArray(h)))return y=fi(y),x.forEach(function(b,B){!(oe.isUndefined(b)||b===null)&&a.append(s===!0?hi([y],B,i):s===null?y:y+"[]",p(b))}),!1}return xr(h)?!0:(a.append(hi(k,y,i),p(h)),!1)}const m=[],c=Object.assign(X0,{defaultVisitor:u,convertValue:p,isVisitable:xr});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 pi(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return a[r]})}function wr(e,a){this._pairs=[],e&&Tn(e,this,a)}const gi=wr.prototype;gi.append=function(a,n){this._pairs.push([a,n])},gi.toString=function(a){const n=a?function(r){return a.call(this,r,pi)}:pi;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Z0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function yi(e,a,n){if(!a)return e;const r=n&&n.encode||Z0;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 wr(a,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ki{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 bi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Q0={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:wr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},vr=typeof window<"u"&&typeof document<"u",Er=typeof navigator=="object"&&navigator||void 0,K0=vr&&(!Er||["ReactNative","NativeScript","NS"].indexOf(Er.product)<0),J0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ec=vr&&window.location.href||"http://localhost",gt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:vr,hasStandardBrowserEnv:K0,hasStandardBrowserWebWorkerEnv:J0,navigator:Er,origin:ec},Symbol.toStringTag,{value:"Module"})),...Q0};function tc(e,a){return Tn(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 ac(e){return oe.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function nc(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 xi(e){function a(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),d=i>=n.length;return s=!s&&oe.isArray(o)?o.length:s,d?(oe.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!oe.isObject(o[s]))&&(o[s]=[]),a(n,r,o[s],i)&&oe.isArray(o[s])&&(o[s]=nc(o[s])),!l)}if(oe.isFormData(e)&&oe.isFunction(e.entries)){const n={};return oe.forEachEntry(e,(r,o)=>{a(ac(r),o,n,0)}),n}return null}function rc(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 nn={transitional:bi,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(xi(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 l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return tc(a,this.formSerializer).toString();if((l=oe.isFileList(a))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Tn(l?{"files[]":a}:a,d&&new d,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),rc(a)):a}],transformResponse:[function(a){const n=this.transitional||nn.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 s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(a)}catch(l){if(s)throw l.name==="SyntaxError"?Te.from(l,Te.ERR_BAD_RESPONSE,this,null,this.response):l}}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=>{nn.headers[e]={}});const oc=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"]),ic=e=>{const a={};let n,r,o;return e&&e.split(`
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 Nw=Object.defineProperty;var Tw=(ut,t,zt)=>t in ut?Nw(ut,t,{enumerable:!0,configurable:!0,writable:!0,value:zt}):ut[t]=zt;var ve=(ut,t,zt)=>Tw(ut,typeof t!="symbol"?t+"":t,zt);function H1(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Uo(e){return typeof e=="function"?e():t.unref(e)}const Xo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const R1=Object.prototype.toString,z1=e=>R1.call(e)==="[object Object]",Bn=()=>{},I1=G1();function G1(){var e,a;return Xo&&((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 en(e){var a;const n=Uo(e);return(a=n==null?void 0:n.$el)!=null?a:n}const Zo=Xo?window:void 0;function yr(...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 Bn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},l=(u,m,c,f)=>(u.addEventListener(m,c,f),()=>u.removeEventListener(m,c,f)),d=t.watch(()=>[en(a),Uo(o)],([u,m])=>{if(s(),!u)return;const c=z1(m)?{...m}:m;i.push(...n.flatMap(f=>r.map(h=>l(u,f,h,c))))},{immediate:!0,flush:"post"}),p=()=>{d(),s()};return H1(p),p}let Qo=!1;function Ko(e,a,n={}){const{window:r=Zo,ignore:o=[],capture:i=!0,detectIframe:s=!1}=n;if(!r)return Bn;I1&&!Qo&&(Qo=!0,Array.from(r.document.body.children).forEach(c=>c.addEventListener("click",Bn)),r.document.documentElement.addEventListener("click",Bn));let l=!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=en(f);return h&&(c.target===h||c.composedPath().includes(h))}}),u=[yr(r,"click",c=>{const f=en(e);if(!(!f||f===c.target||c.composedPath().includes(f))){if(c.detail===0&&(l=!d(c)),!l){l=!0;return}a(c)}},{passive:!0,capture:i}),yr(r,"pointerdown",c=>{const f=en(e);l=!d(c)&&!!(f&&!c.composedPath().includes(f))},{passive:!0}),s&&yr(r,"blur",c=>{setTimeout(()=>{var f;const h=en(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},j1={class:"line-clamp-2 uppercase text-xs truncate text-white"},q1={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(l=>l.freeSlot));const i=()=>{r.value=!r.value};return Ko(o,()=>{r.value&&(r.value=!1)}),(l,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",j1,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",q1,[t.createElementVNode("div",null,[t.renderSlot(l.$slots,"free-slot",{},void 0,!0)])])):t.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-970e6830"]]),W1={key:0,class:"modal_head"},Y1={class:"modal_responsive"},U1={class:"flex min-h-full items-center justify-center text-center sm:p-0"},X1={class:"modal_tittle text-current"},Z1={class:"flex items-center gap-3"},Q1=["innerHTML"],K1={class:"text-xl font-semibold flex items-center gap-2"},J1={class:"bg-base-200"},e0={class:"text-center"},t0={class:"modal_end_button"},ei=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,s)=>{var l,d;return e.isOpen?(t.openBlock(),t.createElementBlock("div",W1,[s[2]||(s[2]=t.createElementVNode("div",{class:"modal-overlay absolute h-full w-full bg-gray-600 opacity-50"},null,-1)),t.createElementVNode("div",Y1,[t.createElementVNode("div",U1,[t.createElementVNode("div",{class:t.normalizeClass(["z-50 w-full shadow rounded-2xl shadow-black",e.size])},[t.createElementVNode("div",X1,[t.createElementVNode("section",Z1,[t.createElementVNode("div",{innerHTML:(l=e.header)==null?void 0:l.svg},null,8,Q1),t.createElementVNode("div",null,[t.createElementVNode("h3",K1,[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:s[0]||(s[0]=p=>o()),class:"modal_close_button"},s[1]||(s[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",J1,[t.createElementVNode("div",e0,[t.renderSlot(i.$slots,"body",{},void 0,!0)])]),t.createElementVNode("div",t0,[t.renderSlot(i.$slots,"footer",{},void 0,!0)])],2)])])])):t.createCommentVNode("",!0)}}},[["__scopeId","data-v-3fe54e4c"]]),a0={class:"simple_card_header"},n0={key:0,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},r0={key:1,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},o0={key:2,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},i0={key:3,class:"simple_card_icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 23 23"},s0={class:"simple_card_title"},l0={class:"simple_card_descripiton"},ti={__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",a0,[e.typeCard==="success"?(t.openBlock(),t.createElementBlock("svg",n0,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",r0,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",o0,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",i0,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",s0,t.toDisplayString(e.content.title),1)]),t.createElementVNode("section",l0,[t.createElementVNode("p",null,t.toDisplayString(e.content.description),1)])],2))}};function ai(e,a){return function(){return e.apply(a,arguments)}}const{toString:c0}=Object.prototype,{getPrototypeOf:kr}=Object,{iterator:An,toStringTag:ni}=Symbol,Vn=(e=>a=>{const n=c0.call(a);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Pt=e=>(e=e.toLowerCase(),a=>Vn(a)===e),Dn=e=>a=>typeof a===e,{isArray:Ta}=Array,tn=Dn("undefined");function d0(e){return e!==null&&!tn(e)&&e.constructor!==null&&!tn(e.constructor)&&Mt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ri=Pt("ArrayBuffer");function u0(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&ri(e.buffer),a}const m0=Dn("string"),Mt=Dn("function"),oi=Dn("number"),_n=e=>e!==null&&typeof e=="object",f0=e=>e===!0||e===!1,Nn=e=>{if(Vn(e)!=="object")return!1;const a=kr(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(ni in e)&&!(An in e)},h0=Pt("Date"),p0=Pt("File"),g0=Pt("Blob"),y0=Pt("FileList"),k0=e=>_n(e)&&Mt(e.pipe),b0=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||Mt(e.append)&&((a=Vn(e))==="formdata"||a==="object"&&Mt(e.toString)&&e.toString()==="[object FormData]"))},x0=Pt("URLSearchParams"),[w0,v0,E0,C0]=["ReadableStream","Request","Response","Headers"].map(Pt),S0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function an(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),s=i.length;let l;for(r=0;r<s;r++)l=i[r],a.call(null,e[l],l,e)}}function ii(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,si=e=>!tn(e)&&e!==wa;function br(){const{caseless:e}=si(this)&&this||{},a={},n=(r,o)=>{const i=e&&ii(a,o)||o;Nn(a[i])&&Nn(r)?a[i]=br(a[i],r):Nn(r)?a[i]=br({},r):Ta(r)?a[i]=r.slice():a[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&an(arguments[r],n);return a}const M0=(e,a,n,{allOwnKeys:r}={})=>(an(a,(o,i)=>{n&&Mt(o)?e[i]=ai(o,n):e[i]=o},{allOwnKeys:r}),e),B0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),A0=(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)},V0=(e,a,n,r)=>{let o,i,s;const l={};if(a=a||{},e==null)return a;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,a))&&!l[s]&&(a[s]=e[s],l[s]=!0);e=n!==!1&&kr(e)}while(e&&(!n||n(e,a))&&e!==Object.prototype);return a},D0=(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},_0=e=>{if(!e)return null;if(Ta(e))return e;let a=e.length;if(!oi(a))return null;const n=new Array(a);for(;a-- >0;)n[a]=e[a];return n},N0=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&kr(Uint8Array)),T0=(e,a)=>{const r=(e&&e[An]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;a.call(e,i[0],i[1])}},P0=(e,a)=>{let n;const r=[];for(;(n=e.exec(a))!==null;)r.push(n);return r},O0=Pt("HTMLFormElement"),F0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),li=(({hasOwnProperty:e})=>(a,n)=>e.call(a,n))(Object.prototype),L0=Pt("RegExp"),ci=(e,a)=>{const n=Object.getOwnPropertyDescriptors(e),r={};an(n,(o,i)=>{let s;(s=a(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},$0=e=>{ci(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+"'")})}})},H0=(e,a)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Ta(e)?r(e):r(String(e).split(a)),n},R0=()=>{},z0=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function I0(e){return!!(e&&Mt(e.append)&&e[ni]==="FormData"&&e[An])}const G0=e=>{const a=new Array(10),n=(r,o)=>{if(_n(r)){if(a.indexOf(r)>=0)return;if(!("toJSON"in r)){a[o]=r;const i=Ta(r)?[]:{};return an(r,(s,l)=>{const d=n(s,o+1);!tn(d)&&(i[l]=d)}),a[o]=void 0,i}}return r};return n(e,0)},j0=Pt("AsyncFunction"),q0=e=>e&&(_n(e)||Mt(e))&&Mt(e.then)&&Mt(e.catch),di=((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)),W0=typeof queueMicrotask<"u"?queueMicrotask.bind(wa):typeof process<"u"&&process.nextTick||di,oe={isArray:Ta,isArrayBuffer:ri,isBuffer:d0,isFormData:b0,isArrayBufferView:u0,isString:m0,isNumber:oi,isBoolean:f0,isObject:_n,isPlainObject:Nn,isReadableStream:w0,isRequest:v0,isResponse:E0,isHeaders:C0,isUndefined:tn,isDate:h0,isFile:p0,isBlob:g0,isRegExp:L0,isFunction:Mt,isStream:k0,isURLSearchParams:x0,isTypedArray:N0,isFileList:y0,forEach:an,merge:br,extend:M0,trim:S0,stripBOM:B0,inherits:A0,toFlatObject:V0,kindOf:Vn,kindOfTest:Pt,endsWith:D0,toArray:_0,forEachEntry:T0,matchAll:P0,isHTMLForm:O0,hasOwnProperty:li,hasOwnProp:li,reduceDescriptors:ci,freezeMethods:$0,toObjectSet:H0,toCamelCase:F0,noop:R0,toFiniteNumber:z0,findKey:ii,global:wa,isContextDefined:si,isSpecCompliantForm:I0,toJSONObject:G0,isAsyncFn:j0,isThenable:q0,setImmediate:di,asap:W0,isIterable:e=>e!=null&&Mt(e[An])};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 ui=Te.prototype,mi={};["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=>{mi[e]={value:e}}),Object.defineProperties(Te,mi),Object.defineProperty(ui,"isAxiosError",{value:!0}),Te.from=(e,a,n,r,o,i)=>{const s=Object.create(ui);return oe.toFlatObject(e,s,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),Te.call(s,e.message,a,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const Y0=null;function xr(e){return oe.isPlainObject(e)||oe.isArray(e)}function fi(e){return oe.endsWith(e,"[]")?e.slice(0,-2):e}function hi(e,a,n){return e?e.concat(a).map(function(o,i){return o=fi(o),!n&&i?"["+o+"]":o}).join(n?".":""):a}function U0(e){return oe.isArray(e)&&!e.some(xr)}const X0=oe.toFlatObject(oe,{},null,function(a){return/^is[A-Z]/.test(a)});function Tn(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,k){return!oe.isUndefined(k[y])});const r=n.metaTokens,o=n.visitor||u,i=n.dots,s=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,k){let x=h;if(h&&!k&&typeof h=="object"){if(oe.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(oe.isArray(h)&&U0(h)||(oe.isFileList(h)||oe.endsWith(y,"[]"))&&(x=oe.toArray(h)))return y=fi(y),x.forEach(function(b,B){!(oe.isUndefined(b)||b===null)&&a.append(s===!0?hi([y],B,i):s===null?y:y+"[]",p(b))}),!1}return xr(h)?!0:(a.append(hi(k,y,i),p(h)),!1)}const m=[],c=Object.assign(X0,{defaultVisitor:u,convertValue:p,isVisitable:xr});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 pi(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return a[r]})}function wr(e,a){this._pairs=[],e&&Tn(e,this,a)}const gi=wr.prototype;gi.append=function(a,n){this._pairs.push([a,n])},gi.toString=function(a){const n=a?function(r){return a.call(this,r,pi)}:pi;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Z0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function yi(e,a,n){if(!a)return e;const r=n&&n.encode||Z0;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 wr(a,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ki{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 bi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Q0={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:wr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},vr=typeof window<"u"&&typeof document<"u",Er=typeof navigator=="object"&&navigator||void 0,K0=vr&&(!Er||["ReactNative","NativeScript","NS"].indexOf(Er.product)<0),J0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ec=vr&&window.location.href||"http://localhost",gt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:vr,hasStandardBrowserEnv:K0,hasStandardBrowserWebWorkerEnv:J0,navigator:Er,origin:ec},Symbol.toStringTag,{value:"Module"})),...Q0};function tc(e,a){return Tn(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 ac(e){return oe.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function nc(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 xi(e){function a(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),d=i>=n.length;return s=!s&&oe.isArray(o)?o.length:s,d?(oe.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!oe.isObject(o[s]))&&(o[s]=[]),a(n,r,o[s],i)&&oe.isArray(o[s])&&(o[s]=nc(o[s])),!l)}if(oe.isFormData(e)&&oe.isFunction(e.entries)){const n={};return oe.forEachEntry(e,(r,o)=>{a(ac(r),o,n,0)}),n}return null}function rc(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 nn={transitional:bi,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(xi(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 l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return tc(a,this.formSerializer).toString();if((l=oe.isFileList(a))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Tn(l?{"files[]":a}:a,d&&new d,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),rc(a)):a}],transformResponse:[function(a){const n=this.transitional||nn.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 s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(a)}catch(l){if(s)throw l.name==="SyntaxError"?Te.from(l,Te.ERR_BAD_RESPONSE,this,null,this.response):l}}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=>{nn.headers[e]={}});const oc=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"]),ic=e=>{const a={};let n,r,o;return e&&e.split(`
2
2
  `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||a[n]&&oc[n])&&(n==="set-cookie"?a[n]?a[n].push(r):a[n]=[r]:a[n]=a[n]?a[n]+", "+r:r)}),a},wi=Symbol("internals");function rn(e){return e&&String(e).trim().toLowerCase()}function Pn(e){return e===!1||e==null?e:oe.isArray(e)?e.map(Pn):String(e)}function sc(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 lc=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Cr(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 cc(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,n,r)=>n.toUpperCase()+r)}function dc(e,a){const n=oe.toCamelCase(" "+a);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,a,o,i,s)},configurable:!0})})}let Bt=class{constructor(a){a&&this.set(a)}set(a,n,r){const o=this;function i(l,d,p){const u=rn(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]=Pn(l))}const s=(l,d)=>oe.forEach(l,(p,u)=>i(p,u,d));if(oe.isPlainObject(a)||a instanceof this.constructor)s(a,n);else if(oe.isString(a)&&(a=a.trim())&&!lc(a))s(ic(a),n);else if(oe.isObject(a)&&oe.isIterable(a)){let l={},d,p;for(const u of a){if(!oe.isArray(u))throw TypeError("Object iterator must return a key-value pair");l[p=u[0]]=(d=l[p])?oe.isArray(d)?[...d,u[1]]:[d,u[1]]:u[1]}s(l,n)}else a!=null&&i(n,a,r);return this}get(a,n){if(a=rn(a),a){const r=oe.findKey(this,a);if(r){const o=this[r];if(!n)return o;if(n===!0)return sc(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=rn(a),a){const r=oe.findKey(this,a);return!!(r&&this[r]!==void 0&&(!n||Cr(this,this[r],r,n)))}return!1}delete(a,n){const r=this;let o=!1;function i(s){if(s=rn(s),s){const l=oe.findKey(r,s);l&&(!n||Cr(r,r[l],l,n))&&(delete r[l],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||Cr(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 s=oe.findKey(r,i);if(s){n[s]=Pn(o),delete n[i];return}const l=a?cc(i):String(i).trim();l!==i&&delete n[i],n[l]=Pn(o),r[l]=!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[wi]=this[wi]={accessors:{}}).accessors,o=this.prototype;function i(s){const l=rn(s);r[l]||(dc(o,s),r[l]=!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 Sr(e,a){const n=this||nn,r=a||n,o=Bt.from(r.headers);let i=r.data;return oe.forEach(e,function(l){i=l.call(n,i,o.normalize(),a?a.status:void 0)}),o.normalize(),i}function vi(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 Ei(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 uc(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function mc(e,a){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return a=a!==void 0?a:1e3,function(d){const p=Date.now(),u=r[i];s||(s=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-s<a)return;const f=u&&p-u;return f?Math.round(c*1e3/f):void 0}}function fc(e,a){let n=0,r=1e3/a,o,i;const s=(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?s(p,u):(o=p,i||(i=setTimeout(()=>{i=null,s(o)},r-m)))},()=>o&&s(o)]}const On=(e,a,n=3)=>{let r=0;const o=mc(50,250);return fc(i=>{const s=i.loaded,l=i.lengthComputable?i.total:void 0,d=s-r,p=o(d),u=s<=l;r=s;const m={loaded:s,total:l,progress:l?s/l:void 0,bytes:d,rate:p||void 0,estimated:p&&l&&u?(l-s)/p:void 0,event:i,lengthComputable:l!=null,[a?"download":"upload"]:!0};e(m)},n)},Ci=(e,a)=>{const n=e!=null;return[r=>a[0]({lengthComputable:n,total:e,loaded:r}),a[1]]},Si=e=>(...a)=>oe.asap(()=>e(...a)),hc=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,pc=gt.hasStandardBrowserEnv?{write(e,a,n,r,o,i){const s=[e+"="+encodeURIComponent(a)];oe.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),oe.isString(r)&&s.push("path="+r),oe.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.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 gc(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function yc(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function Mi(e,a,n){let r=!gc(a);return e&&(r||n==!1)?yc(e,a):a}const Bi=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 s(p,u){if(oe.isUndefined(u)){if(!oe.isUndefined(p))return r(void 0,p)}else return r(void 0,u)}function l(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:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(p,u,m)=>o(Bi(p),Bi(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!==l||(n[u]=c)}),n}const Ai=e=>{const a=va({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:l}=a;a.headers=s=Bt.from(s),a.url=yi(Mi(a.baseURL,a.url,a.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(oe.isFormData(n)){if(gt.hasStandardBrowserEnv||gt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[p,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];s.setContentType([p||"multipart/form-data",...u].join("; "))}}if(gt.hasStandardBrowserEnv&&(r&&oe.isFunction(r)&&(r=r(a)),r||r!==!1&&hc(a.url))){const p=o&&i&&pc.read(i);p&&s.set(o,p)}return a},kc=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=Ai(e);let i=o.data;const s=Bt.from(o.headers).normalize();let{responseType:l,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 k=new XMLHttpRequest;k.open(o.method.toUpperCase(),o.url,!0),k.timeout=o.timeout;function x(){if(!k)return;const b=Bt.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),A={data:!l||l==="text"||l==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:b,config:e,request:k};Ei(function(E){n(E),y()},function(E){r(E),y()},A),k=null}"onloadend"in k?k.onloadend=x:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.indexOf("file:")===0)||setTimeout(x)},k.onabort=function(){k&&(r(new Te("Request aborted",Te.ECONNABORTED,e,k)),k=null)},k.onerror=function(){r(new Te("Network Error",Te.ERR_NETWORK,e,k)),k=null},k.ontimeout=function(){let B=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const A=o.transitional||bi;o.timeoutErrorMessage&&(B=o.timeoutErrorMessage),r(new Te(B,A.clarifyTimeoutError?Te.ETIMEDOUT:Te.ECONNABORTED,e,k)),k=null},i===void 0&&s.setContentType(null),"setRequestHeader"in k&&oe.forEach(s.toJSON(),function(B,A){k.setRequestHeader(A,B)}),oe.isUndefined(o.withCredentials)||(k.withCredentials=!!o.withCredentials),l&&l!=="json"&&(k.responseType=o.responseType),p&&([c,h]=On(p,!0),k.addEventListener("progress",c)),d&&k.upload&&([m,f]=On(d),k.upload.addEventListener("progress",m),k.upload.addEventListener("loadend",f)),(o.cancelToken||o.signal)&&(u=b=>{k&&(r(!b||b.type?new Pa(null,e,k):b),k.abort(),k=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const w=uc(o.url);if(w&&gt.protocols.indexOf(w)===-1){r(new Te("Unsupported protocol "+w+":",Te.ERR_BAD_REQUEST,e));return}k.send(i||null)})},bc=(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,l();const u=p instanceof Error?p:this.reason;r.abort(u instanceof Te?u:new Pa(u instanceof Error?u.message:u))}};let s=a&&setTimeout(()=>{s=null,i(new Te(`timeout ${a} of ms exceeded`,Te.ETIMEDOUT))},a);const l=()=>{e&&(s&&clearTimeout(s),s=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(l),d}},xc=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},wc=async function*(e,a){for await(const n of vc(e))yield*xc(n,a)},vc=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()}},Vi=(e,a,n,r)=>{const o=wc(e,a);let i=0,s,l=d=>{s||(s=!0,r&&r(d))};return new ReadableStream({async pull(d){try{const{done:p,value:u}=await o.next();if(p){l(),d.close();return}let m=u.byteLength;if(n){let c=i+=m;n(c)}d.enqueue(new Uint8Array(u))}catch(p){throw l(p),p}},cancel(d){return l(d),o.return()}},{highWaterMark:2})},Fn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Di=Fn&&typeof ReadableStream=="function",Ec=Fn&&(typeof TextEncoder=="function"?(e=>a=>e.encode(a))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),_i=(e,...a)=>{try{return!!e(...a)}catch{return!1}},Cc=Di&&_i(()=>{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}),Ni=64*1024,Mr=Di&&_i(()=>oe.isReadableStream(new Response("").body)),Ln={stream:Mr&&(e=>e.body)};Fn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(a=>{!Ln[a]&&(Ln[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 Sc=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 Ec(e)).byteLength},Mc=async(e,a)=>{const n=oe.toFiniteNumber(e.getContentLength());return n??Sc(a)},Br={http:Y0,xhr:kc,fetch:Fn&&(async e=>{let{url:a,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:l,onUploadProgress:d,responseType:p,headers:u,withCredentials:m="same-origin",fetchOptions:c}=Ai(e);p=p?(p+"").toLowerCase():"text";let f=bc([o,i&&i.toAbortSignal()],s),h;const y=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let k;try{if(d&&Cc&&n!=="get"&&n!=="head"&&(k=await Mc(u,r))!==0){let A=new Request(a,{method:"POST",body:r,duplex:"half"}),_;if(oe.isFormData(r)&&(_=A.headers.get("content-type"))&&u.setContentType(_),A.body){const[E,C]=Ci(k,On(Si(d)));r=Vi(A.body,Ni,E,C)}}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 b=Mr&&(p==="stream"||p==="response");if(Mr&&(l||b&&y)){const A={};["status","statusText","headers"].forEach(V=>{A[V]=w[V]});const _=oe.toFiniteNumber(w.headers.get("content-length")),[E,C]=l&&Ci(_,On(Si(l),!0))||[];w=new Response(Vi(w.body,Ni,E,()=>{C&&C(),y&&y()}),A)}p=p||"text";let B=await Ln[oe.findKey(Ln,p)||"text"](w,e);return!b&&y&&y(),await new Promise((A,_)=>{Ei(A,_,{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(Br,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const Ti=e=>`- ${e}`,Bc=e=>oe.isFunction(e)||e===null||e===!1,Pi={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 s;if(r=n,!Bc(n)&&(r=Br[(s=String(n)).toLowerCase()],r===void 0))throw new Te(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=a?i.length>1?`since :
4
4
  `+i.map(Ti).join(`
5
5
  `):" "+Ti(i[0]):"as no adapter specified";throw new Te("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Br};function Ar(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pa(null,e)}function Oi(e){return Ar(e),e.headers=Bt.from(e.headers),e.data=Sr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Pi.getAdapter(e.adapter||nn.adapter)(e).then(function(r){return Ar(e),r.data=Sr.call(e,e.transformResponse,r),r.headers=Bt.from(r.headers),r},function(r){return vi(r)||(Ar(e),r&&r.response&&(r.response.data=Sr.call(e,e.transformResponse,r.response),r.response.headers=Bt.from(r.response.headers))),Promise.reject(r)})}const Fi="1.10.0",$n={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{$n[e]=function(r){return typeof r===e||"a"+(a<1?"n ":" ")+e}});const Li={};$n.transitional=function(a,n,r){function o(i,s){return"[Axios v"+Fi+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,l)=>{if(a===!1)throw new Te(o(s," has been removed"+(n?" in "+n:"")),Te.ERR_DEPRECATED);return n&&!Li[s]&&(Li[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),a?a(i,s,l):!0}},$n.spelling=function(a){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${a}`),!0)};function Ac(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],s=a[i];if(s){const l=e[i],d=l===void 0||s(l,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 Hn={assertOptions:Ac,validators:$n},It=Hn.validators;let Ea=class{constructor(a){this.defaults=a||{},this.interceptors={request:new ki,response:new ki}}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&&Hn.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}:Hn.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),Hn.assertOptions(n,{baseUrl:It.spelling("baseURL"),withXsrfToken:It.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=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(s,i);const l=[];let d=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(d=d&&y.synchronous,l.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=[Oi.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,p),c=h.length,u=Promise.resolve(n);m<c;)u=u.then(h[m++],h[m++]);return u}c=l.length;let f=n;for(m=0;m<c;){const h=l[m++],y=l[m++];try{f=h(f)}catch(k){y.call(this,k);break}}try{u=Oi.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=Mi(a.baseURL,a.url,a.allowAbsoluteUrls);return yi(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,s,l){return this.request(va(l||{},{method:a,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Ea.prototype[a]=n(),Ea.prototype[a+"Form"]=n(!0)});let Vc=class L1{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 s=new Promise(l=>{r.subscribe(l),i=l}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},a(function(i,s,l){r.reason||(r.reason=new Pa(i,s,l),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 L1(function(o){a=o}),cancel:a}}};function Dc(e){return function(n){return e.apply(null,n)}}function _c(e){return oe.isObject(e)&&e.isAxiosError===!0}const Vr={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(Vr).forEach(([e,a])=>{Vr[a]=e});function $i(e){const a=new Ea(e),n=ai(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 $i(va(e,o))},n}const Qe=$i(nn);Qe.Axios=Ea,Qe.CanceledError=Pa,Qe.CancelToken=Vc,Qe.isCancel=vi,Qe.VERSION=Fi,Qe.toFormData=Tn,Qe.AxiosError=Te,Qe.Cancel=Qe.CanceledError,Qe.all=function(a){return Promise.all(a)},Qe.spread=Dc,Qe.isAxiosError=_c,Qe.mergeConfig=va,Qe.AxiosHeaders=Bt,Qe.formToJSON=e=>xi(oe.isHTMLForm(e)?new FormData(e):e),Qe.getAdapter=Pi.getAdapter,Qe.HttpStatusCode=Vr,Qe.default=Qe;const{Axios:zw,AxiosError:Iw,CanceledError:Gw,isCancel:jw,CancelToken:qw,VERSION:Ww,all:Yw,Cancel:Uw,isAxiosError:Xw,spread:Zw,toFormData:Qw,AxiosHeaders:Kw,HttpStatusCode:Jw,formToJSON:ev,getAdapter:tv,mergeConfig:av}=Qe,Hi=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=Hi().getToken;return n&&(e.headers.Authorization=`Bearer ${n}`),e},e=>Promise.reject(e));const Nc="v1/api/attendances/attendant/",Tc="v1/api/attendances/department/",Dr="v1/api/attendances/internal_chat/",Pc="v1/api/instances/instance/",_r=zt.defineStore("instance",{state:()=>({instances:[],count:null,loaded:!1}),actions:{async fetchInstances(e=""){try{let a=`${Pc}`;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}}}),Oc={class:"w-full relative text-current"},Fc={class:"flex cursor-pointer justify-between items-center"},Lc={key:0},$c={key:0},Hc={key:1,class:"flex items-center gap-2"},Rc={class:"flex gap-3 items-center flex-shrink-0"},zc={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-5 h-5 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-5 h-5 absolute -bottom-2 -right-2 rounded-full bi bi-meta",viewBox:"0 0 16 16"},jc={class:"my-auto text-center mx-auto group-hover:inline-block"},qc={key:1,class:"flex justify-center"},Wc={class:"w-full"},Yc={key:1,class:"flex items-center gap-2 justify-center"},Uc={class:"flex px-4 items-center gap-2"},Xc={key:0,class:"absolute top-[48px] w-full z-20 text-sm"},Zc={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"},Qc={class:"select-none cursor-pointer w-full"},Kc=["onClick","disabled"],Jc={class:"flex w-full items-center pl-2 gap-3"},e2={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"},t2={key:1,class:"relative"},a2={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"},n2={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"},r2={class:"w-full text-center"},o2={class:"my-auto text-center mx-auto group-hover:inline-block"},i2={key:1,class:"flex justify-center"},s2={class:"flex min-w-[50px] text-sm text-center items-center my-auto flex-shrink-0 px-1 justify-center"},l2={key:1,class:"p-4"},Ri={__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=_r(),r=t.ref(!1),o=t.ref(null),i=e,s=a;function l(d){o.value=d,s("function",d)}return t.watch(()=>i.modelValue,d=>{o.value=d},{immediate:!0}),t.watch(o,d=>{s("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)}s("component-mounted")}),(d,p)=>{const u=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("main",Oc,[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",Fc,[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",Lc,[o.value?(t.openBlock(),t.createElementBlock("span",Hc,[t.createElementVNode("header",Rc,[o.value.type==="whatsapp-qrcode"?(t.openBlock(),t.createElementBlock("svg",zc,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",Ic,[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",Gc,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",jc,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",qc,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",Wc,t.toDisplayString(o.value.name),1)])):(t.openBlock(),t.createElementBlock("span",$c,t.toDisplayString(t.unref(n).instances?t.unref(n).instances.length:"Sem")+" Instâncias disponíveis",1))])):(t.openBlock(),t.createElementBlock("div",Yc,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",Uc,[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",Xc,[t.createElementVNode("ul",Zc,[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",Qc,[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,l(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",Jc,[m.type==="whatsapp-qrcode"?(t.openBlock(),t.createElementBlock("svg",e2,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",t2,[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",a2,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",n2,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",r2,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",o2,t.toDisplayString(m.status===!0?"Conectada":m.status===!1?"Desconectada":"Indefinida"),1)],2)]),default:t.withCtx(()=>[m.isLoading?(t.openBlock(),t.createElementBlock("div",i2,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",s2,[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,Kc)]))),256)):(t.openBlock(),t.createElementBlock("div",l2," 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 zi(e,a){const{years:n=0,months:r=0,weeks:o=0,days:i=0,hours:s=0,minutes:l=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=l+s*60,h=(d+c*60)*1e3;return He(e,m.getTime()+h)}function c2(e,a){const n=+Ce(e);return He(e,n+a)}const Ii=6048e5,d2=864e5,u2=6e4,Gi=36e5,m2=1e3;function f2(e,a){return c2(e,a*Gi)}let h2={};function Ca(){return h2}function Lt(e,a){var l,d,p,u;const n=Ca(),r=(a==null?void 0:a.weekStartsOn)??((d=(l=a==null?void 0:a.locale)==null?void 0:l.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(),s=(i<r?7:0)+i-r;return o.setDate(o.getDate()-s),o.setHours(0,0,0,0),o}function Oa(e){return Lt(e,{weekStartsOn:1})}function ji(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 s=Oa(i);return a.getTime()>=o.getTime()?n+1:a.getTime()>=s.getTime()?n:n-1}function qi(e){const a=Ce(e);return a.setHours(0,0,0,0),a}function Rn(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 Wi(e,a){const n=qi(e),r=qi(a),o=+n-Rn(n),i=+r-Rn(r);return Math.round((o-i)/d2)}function p2(e){const a=ji(e),n=He(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),Oa(n)}function g2(e,a){const n=a*3;return Ft(e,n)}function Nr(e,a){return Ft(e,a*12)}function Yi(e,a){const n=Ce(e),r=Ce(a),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function Ui(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function on(e){if(!Ui(e)&&typeof e!="number")return!1;const a=Ce(e);return!isNaN(Number(a))}function Xi(e){const a=Ce(e);return Math.trunc(a.getMonth()/3)+1}function y2(e,a){const n=Ce(e),r=Ce(a);return n.getFullYear()-r.getFullYear()}function k2(e,a){const n=Ce(e),r=Ce(a),o=Yi(n,r),i=Math.abs(y2(n,r));n.setFullYear(1584),r.setFullYear(1584);const s=Yi(n,r)===-o,l=o*(i-+s);return l===0?0:l}function Zi(e,a){const n=Ce(e.start),r=Ce(e.end);let o=+n>+r;const i=o?+n:+r,s=o?r:n;s.setHours(0,0,0,0);let l=1;const d=[];for(;+s<=i;)d.push(Ce(s)),s.setDate(s.getDate()+l),s.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 b2(e,a){const n=Ce(e.start),r=Ce(e.end);let o=+n>+r;const i=o?+Sa(n):+Sa(r);let s=Sa(o?r:n),l=1;const d=[];for(;+s<=i;)d.push(Ce(s)),s=g2(s,l);return o?d.reverse():d}function x2(e){const a=Ce(e);return a.setDate(1),a.setHours(0,0,0,0),a}function Qi(e){const a=Ce(e),n=a.getFullYear();return a.setFullYear(n+1,0,0),a.setHours(23,59,59,999),a}function sn(e){const a=Ce(e),n=He(e,0);return n.setFullYear(a.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Ki(e,a){var l,d,p,u;const n=Ca(),r=(a==null?void 0:a.weekStartsOn)??((d=(l=a==null?void 0:a.locale)==null?void 0:l.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(),s=(i<r?-7:0)+6-(i-r);return o.setDate(o.getDate()+s),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 w2={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"}},v2=(e,a,n)=>{let r;const o=w2[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 Tr(e){return(a={})=>{const n=a.width?String(a.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const E2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},C2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},S2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},M2={date:Tr({formats:E2,defaultWidth:"full"}),time:Tr({formats:C2,defaultWidth:"full"}),dateTime:Tr({formats:S2,defaultWidth:"full"})},B2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},A2=(e,a,n,r)=>B2[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 s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;o=e.formattingValues[l]||e.formattingValues[s]}else{const s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[s]}const i=e.argumentCallback?e.argumentCallback(a):a;return o[i]}}const V2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},D2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},_2={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"]},N2={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"]},T2={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"}},P2={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"}},O2={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:V2,defaultWidth:"wide"}),quarter:ln({values:D2,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ln({values:_2,defaultWidth:"wide"}),day:ln({values:N2,defaultWidth:"wide"}),dayPeriod:ln({values:T2,defaultWidth:"wide",formattingValues:P2,defaultFormattingWidth:"wide"})};function cn(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 s=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(l)?L2(l,m=>m.test(s)):F2(l,m=>m.test(s));let p;p=e.valueCallback?e.valueCallback(d):d,p=n.valueCallback?n.valueCallback(p):p;const u=a.slice(s.length);return{value:p,rest:u}}}function F2(e,a){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&a(e[n]))return n}function L2(e,a){for(let n=0;n<e.length;n++)if(a(e[n]))return n}function $2(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 s=e.valueCallback?e.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const l=a.slice(o.length);return{value:s,rest:l}}}const H2=/^(\d+)(th|st|nd|rd)?/i,R2=/\d+/i,z2={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},I2={any:[/^b/i,/^(a|c)/i]},G2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},j2={any:[/1/i,/2/i,/3/i,/4/i]},q2={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},W2={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]},Y2={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},U2={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]},X2={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},Z2={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}},Q2={ordinalNumber:$2({matchPattern:H2,parsePattern:R2,valueCallback:e=>parseInt(e,10)}),era:cn({matchPatterns:z2,defaultMatchWidth:"wide",parsePatterns:I2,defaultParseWidth:"any"}),quarter:cn({matchPatterns:G2,defaultMatchWidth:"wide",parsePatterns:j2,defaultParseWidth:"any",valueCallback:e=>e+1}),month:cn({matchPatterns:q2,defaultMatchWidth:"wide",parsePatterns:W2,defaultParseWidth:"any"}),day:cn({matchPatterns:Y2,defaultMatchWidth:"wide",parsePatterns:U2,defaultParseWidth:"any"}),dayPeriod:cn({matchPatterns:X2,defaultMatchWidth:"any",parsePatterns:Z2,defaultParseWidth:"any"})},es={code:"en-US",formatDistance:v2,formatLong:M2,formatRelative:A2,localize:O2,match:Q2,options:{weekStartsOn:0,firstWeekContainsDate:1}};function K2(e){const a=Ce(e);return Wi(a,sn(a))+1}function Pr(e){const a=Ce(e),n=+Oa(a)-+p2(a);return Math.round(n/Ii)+1}function Or(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,s=He(e,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);const l=Lt(s,a),d=He(e,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const p=Lt(d,a);return n.getTime()>=l.getTime()?r+1:n.getTime()>=p.getTime()?r:r-1}function J2(e,a){var l,d,p,u;const n=Ca(),r=(a==null?void 0:a.firstWeekContainsDate)??((d=(l=a==null?void 0:a.locale)==null?void 0:l.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.firstWeekContainsDate)??1,o=Or(e,a),i=He(e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Lt(i,a)}function Fr(e,a){const n=Ce(e),r=+Lt(n,a)-+J2(n,a);return Math.round(r/Ii)+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"},ts={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=Or(e,r),i=o>0?o:1-o;if(a==="YY"){const s=i%100;return Ie(s,2)}return a==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ie(i,a.length)},R:function(e,a){const n=ji(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=Fr(e,r);return a==="wo"?n.ordinalNumber(o,{unit:"week"}):Ie(o,a.length)},I:function(e,a,n){const r=Pr(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=K2(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 ns(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 ns(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"+as(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"+as(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 as(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 ns(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 rs=(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"})}},os=(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"})}},Lr={p:os,P:(e,a)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return rs(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}}",rs(r,a)).replace("{{time}}",os(o,a))}},ed=/^D+$/,td=/^Y+$/,ad=["D","DD","YY","YYYY"];function is(e){return ed.test(e)}function ss(e){return td.test(e)}function $r(e,a,n){const r=nd(e,a,n);if(console.warn(r),ad.includes(e))throw new RangeError(r)}function nd(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 rd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,od=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,id=/^'([^]*?)'?$/,sd=/''/g,ld=/[a-zA-Z]/;function Gt(e,a,n){var u,m,c,f,h,y,k,x;const r=Ca(),o=(n==null?void 0:n.locale)??r.locale??es,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,s=(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=(k=r.locale)==null?void 0:k.options)==null?void 0:x.weekStartsOn)??0,l=Ce(e);if(!on(l))throw new RangeError("Invalid time value");let d=a.match(od).map(w=>{const b=w[0];if(b==="p"||b==="P"){const B=Lr[b];return B(w,o.formatLong)}return w}).join("").match(rd).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const b=w[0];if(b==="'")return{isToken:!1,value:cd(w)};if(ts[b])return{isToken:!0,value:w};if(b.match(ld))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return{isToken:!1,value:w}});o.localize.preprocessor&&(d=o.localize.preprocessor(l,d));const p={firstWeekContainsDate:i,weekStartsOn:s,locale:o};return d.map(w=>{if(!w.isToken)return w.value;const b=w.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&ss(b)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&is(b))&&$r(b,a,String(e));const B=ts[b[0]];return B(l,b,o.localize,p)}).join("")}function cd(e){const a=e.match(id);return a?a[1].replace(sd,"'"):e}function dd(e){return Ce(e).getDay()}function ud(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 md(){return Object.assign({},Ca())}function Zt(e){return Ce(e).getHours()}function fd(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 dn(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 hd(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 pd=10;class ls{constructor(){ve(this,"subPriority",0)}validate(a,n){return!0}}class gd extends ls{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 yd extends ls{constructor(){super(...arguments);ve(this,"priority",pd);ve(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:He(n,hd(n,Date))}}class Re{run(a,n,r,o){const i=this.parse(a,n,r,o);return i?{setter:new gd(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(a,n,r){return!0}}class kd 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,s=n[5]?parseInt(n[5],10):0;return{value:r*(o*Gi+i*u2+s*m2),rest:a.slice(n[0].length)}}function cs(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 zn(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 Hr(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 ds(e,a){const n=a>0,r=n?a:1-a;let o;if(r<=50)o=e||100;else{const i=r+50,s=Math.trunc(i/100)*100,l=e>=i%100;o=e+s-(l?100:0)}return n?o:1-o}function us(e){return e%400===0||e%4===0&&e%100!==0}class bd 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=s=>({year:s,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 l=ds(o.year,i);return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}const s=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class xd 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=s=>({year:s,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 s=Or(n,i);if(o.isTwoDigitYear){const d=ds(o.year,s);return n.setFullYear(d,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Lt(n,i)}const l=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(l,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Lt(n,i)}}class wd 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 zn(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 vd 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 zn(r==="u"?4:r.length,n)}set(n,r,o){return n.setFullYear(o,0,1),n.setHours(0,0,0,0),n}}class Ed 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 Cd 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 Sd 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=s=>s-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 Md 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=s=>s-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 Bd(e,a,n){const r=Ce(e),o=Fr(r,n)-a;return r.setDate(r.getDate()-o*7),r}class Ad 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(Bd(n,o,i),i)}}function Vd(e,a){const n=Ce(e),r=Pr(n)-a;return n.setDate(n.getDate()-r*7),n}class Dd 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(Vd(n,o))}}const _d=[31,28,31,30,31,30,31,31,30,31,30,31],Nd=[31,29,31,30,31,30,31,31,30,31,30,31];class Td 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=us(o),s=n.getMonth();return i?r>=1&&r<=Nd[s]:r>=1&&r<=_d[s]}set(n,r,o){return n.setDate(o),n.setHours(0,0,0,0),n}}class Pd 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 us(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 Rr(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),s=i.getDay(),d=(a%7+7)%7,p=7-o,u=a<0||a>6?a-(s+p)%7:(d+p)%7-(s+p)%7;return Ot(i,u)}class Od 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=Rr(n,o,i),n.setHours(0,0,0,0),n}}class Fd 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 s=l=>{const d=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+d};switch(r){case"e":case"ee":return ot(et(r.length,n),s);case"eo":return ot(o.ordinalNumber(n,{unit:"day"}),s);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=Rr(n,o,i),n.setHours(0,0,0,0),n}}class Ld 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 s=l=>{const d=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+d};switch(r){case"c":case"cc":return ot(et(r.length,n),s);case"co":return ot(o.ordinalNumber(n,{unit:"day"}),s);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=Rr(n,o,i),n.setHours(0,0,0,0),n}}function $d(e,a){const n=Ce(e),r=fd(n),o=a-r;return Ot(n,o)}class Hd 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=s=>s===0?7:s;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=$d(n,o),n.setHours(0,0,0,0),n}}class Rd 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(Hr(o),0,0,0),n}}class zd 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(Hr(o),0,0,0),n}}class Id 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(Hr(o),0,0,0),n}}class Gd 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 jd 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 qd 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 Wd 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 Yd 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 Ud 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 Xd 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 Zd 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()-Rn(n)-o)}}class Qd 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()-Rn(n)-o)}}class Kd extends Re{constructor(){super(...arguments);ve(this,"priority",40);ve(this,"incompatibleTokens","*")}parse(n){return cs(n)}set(n,r,o){return[He(n,o*1e3),{timestampIsSet:!0}]}}class Jd extends Re{constructor(){super(...arguments);ve(this,"priority",20);ve(this,"incompatibleTokens","*")}parse(n){return cs(n)}set(n,r,o){return[He(n,o),{timestampIsSet:!0}]}}const e3={G:new kd,y:new bd,Y:new xd,R:new wd,u:new vd,Q:new Ed,q:new Cd,M:new Sd,L:new Md,w:new Ad,I:new Dd,d:new Td,D:new Pd,E:new Od,e:new Fd,c:new Ld,i:new Hd,a:new Rd,b:new zd,B:new Id,h:new Gd,H:new jd,K:new qd,k:new Wd,m:new Yd,s:new Ud,S:new Xd,X:new Zd,x:new Qd,t:new Kd,T:new Jd},t3=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,a3=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,n3=/^'([^]*?)'?$/,r3=/''/g,o3=/\S/,i3=/[a-zA-Z]/;function zr(e,a,n,r){var y,k,x,w,b,B,A,_;const o=md(),i=(r==null?void 0:r.locale)??o.locale??es,s=(r==null?void 0:r.firstWeekContainsDate)??((k=(y=r==null?void 0:r.locale)==null?void 0:y.options)==null?void 0:k.firstWeekContainsDate)??o.firstWeekContainsDate??((w=(x=o.locale)==null?void 0:x.options)==null?void 0:w.firstWeekContainsDate)??1,l=(r==null?void 0:r.weekStartsOn)??((B=(b=r==null?void 0:r.locale)==null?void 0:b.options)==null?void 0:B.weekStartsOn)??o.weekStartsOn??((_=(A=o.locale)==null?void 0:A.options)==null?void 0:_.weekStartsOn)??0;if(a==="")return e===""?Ce(n):He(n,NaN);const d={firstWeekContainsDate:s,weekStartsOn:l,locale:i},p=[new yd],u=a.match(a3).map(E=>{const C=E[0];if(C in Lr){const V=Lr[C];return V(E,i.formatLong)}return E}).join("").match(t3),m=[];for(let E of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&ss(E)&&$r(E,a,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&is(E)&&$r(E,a,e);const C=E[0],V=e3[C];if(V){const{incompatibleTokens:T}=V;if(Array.isArray(T)){const X=m.find(G=>T.includes(G.token)||G.token===C);if(X)throw new RangeError(`The format string mustn't contain \`${X.fullToken}\` and \`${E}\` at the same time`)}else if(V.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:C,fullToken:E});const Y=V.run(e,E,i.match,d);if(!Y)return He(n,NaN);p.push(Y.setter),e=Y.rest}else{if(C.match(i3))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");if(E==="''"?E="'":C==="'"&&(E=s3(E)),e.indexOf(E)===0)e=e.slice(E.length);else return He(n,NaN)}}if(e.length>0&&o3.test(e))return He(n,NaN);const c=p.map(E=>E.priority).sort((E,C)=>C-E).filter((E,C,V)=>V.indexOf(E)===C).map(E=>p.filter(C=>C.priority===E).sort((C,V)=>V.subPriority-C.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 C=E.set(f,h,d);Array.isArray(C)?(f=C[0],Object.assign(h,C[1])):f=C}return He(n,f)}function s3(e){return e.match(n3)[1].replace(r3,"'")}function ms(e,a){const n=Sa(e),r=Sa(a);return+n==+r}function l3(e,a){return Ot(e,-a)}function fs(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 s=ud(i);return n.setMonth(a,Math.min(o,s)),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=fs(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 c3(e,a){const n=Ce(e);return n.setHours(a),n}function hs(e,a){const n=Ce(e);return n.setMilliseconds(a),n}function d3(e,a){const n=Ce(e);return n.setMinutes(a),n}function ps(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 u3(e,a){const{years:n=0,months:r=0,weeks:o=0,days:i=0,hours:s=0,minutes:l=0,seconds:d=0}=a,p=Ra(e,r+n*12),u=l3(p,i+o*7),m=l+s*60,f=(d+m*60)*1e3;return He(e,u.getTime()-f)}function gs(e,a){return Nr(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 ys(){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"})])}ys.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:"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"})])}Ir.compatConfig={MODE:3};function Gr(){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"})])}Gr.compatConfig={MODE:3};function jr(){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"})])}jr.compatConfig={MODE:3};function qr(){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"})])}qr.compatConfig={MODE:3};function Wr(){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"})])}Wr.compatConfig={MODE:3};const At=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),Yr=(e,a,n)=>Ur(e,a,n)||pe(),m3=(e,a,n)=>{const r=a.dateInTz?At(new Date(e),a.dateInTz):pe(e);return n?vt(r,!0):r},Ur=(e,a,n)=>{if(!e)return null;const r=n?vt(pe(e),!0):pe(e);return a?a.exactMatch?m3(e,a,n):At(r,a.timezone):r},f3=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 h3=["timestamp","date","iso"];var xt=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(xt||{}),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 ks(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 p3(e){return a=>Gt(At(new Date(`2017-01-0${a}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const g3=(e,a,n)=>{const r=[1,2,3,4,5,6,7];let o;if(e!==null)try{o=r.map(p3(e))}catch{o=r.map(ks(a))}else o=r.map(ks(a));const i=o.slice(0,n),s=o.slice(n+1,o.length);return[o[n]].concat(...s).concat(...i)},Xr=(e,a,n)=>{const r=[];for(let o=+e[0];o<=+e[1];o++)r.push({value:+o,text:Cs(o,a)});return n?r.reverse():r},bs=(e,a,n)=>{const r=[1,2,3,4,5,6,7,8,9,10,11,12].map(i=>{const s=i<10?`0${i}`:i;return new Date(`2017-${s}-01T00:00:00+00:00`)});if(e!==null)try{const i=n==="long"?"LLLL":"LLL";return r.map((s,l)=>{const d=Gt(At(s,"UTC"),i,{locale:e});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:l}})}catch{}const o=new Intl.DateTimeFormat(a,{month:n,timeZone:"UTC"});return r.map((i,s)=>{const l=o.format(i);return{text:l.charAt(0).toUpperCase()+l.substring(1),value:s}})},y3=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},k3=e=>({type:"dot",...e??{}}),xs=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,Zr={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,ws=e=>e===0?e:!e||isNaN(+e)?null:+e,vs=e=>e===null,Es=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},b3=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},un=(e,a,n)=>{const r=n!=null,o=a!=null;if(!r&&!o)return!1;const i=+n,s=+a;return r&&o?+e>i||+e<s:r?+e>i:o?+e<s:!1},Ia=(e,a)=>b3(e).map(n=>n.map(r=>{const{active:o,disabled:i,isBetween:s,highlighted:l}=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:s,"dp--highlighted":l}}})),ia=(e,a,n=!1)=>{e&&a.allowStopPropagation&&(n&&e.stopImmediatePropagation(),e.stopPropagation())},x3=()=>["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 w3(e,a){let n=[...document.querySelectorAll(x3())];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 Qr=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),Cs=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),Kr=e=>Gt(e,"dd-MM-yyyy"),Jr=e=>Array.isArray(e),In=(e,a)=>a.get(Kr(e)),v3=(e,a)=>e?a?a instanceof Map?!!In(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)},Ss=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,Ms=(e,a,n,r,o,i)=>{const s=zr(e,a.slice(0,e.length),new Date,{locale:i});return on(s)&&Ui(s)?r||o?s:We(s,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},E3=(e,a,n,r,o,i)=>{const s=Array.isArray(n)?n[0]:n;if(typeof a=="string")return Ms(e,a,s,r,o,i);if(Array.isArray(a)){let l=null;for(const d of a)if(l=Ms(e,d,s,r,o,i),l)break;return l}return typeof a=="function"?a(e):null},pe=e=>e?new Date(e):new Date,C3=(e,a,n)=>{if(a){const o=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getDate().toString().padStart(2,"0"),s=e.getHours().toString().padStart(2,"0"),l=e.getMinutes().toString().padStart(2,"0"),d=n?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${o}-${i}T${s}:${l}:${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?x2(r):r},sa=(e,a,n,r)=>{let o=e?pe(e):pe();return(a||a===0)&&(o=c3(o,+a)),(n||n===0)&&(o=d3(o,+n)),(r||r===0)&&(o=ps(o,+r)),hs(o,0)},tt=(e,a)=>!e||!a?!1:dn(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)),Gn=(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)},eo=(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)}),Bs=(e,a)=>{if(a){const n=Ve(pe(a));if(n>e)return 12;if(n===e)return Oe(pe(a))}},As=(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))},Vs=(e,a)=>{const n=it(e,a)?a:e,r=it(a,e)?a:e;return Zi({start:n,end:r})},S3=e=>{const a=Ft(e,1);return{month:Oe(a),year:Ve(a)}},Qt=(e,a)=>{const n=Lt(e,{weekStartsOn:+a}),r=Ki(e,{weekStartsOn:+a});return[n,r]},Ds=(e,a)=>{const n={hours:Zt(pe()),minutes:oa(pe()),seconds:a?La(pe()):0};return Object.assign(n,e)},la=(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=fs(r,a)),n&&(r=Wt(r,n)),r},_s=(e,a,n,r,o)=>{if(!r||o&&!a||!o&&!n)return!1;const i=o?Ft(e,1):Ra(e,1),s=[Oe(i),Ve(i)];return o?!B3(...s,a):!M3(...s,n)},M3=(e,a,n)=>tt(...la(n,e,a))||Fe(...la(n,e,a)),B3=(e,a,n)=>it(...la(n,e,a))||Fe(...la(n,e,a)),Ns=(e,a,n,r,o,i,s)=>{if(typeof a=="function"&&!s)return a(e);const l=n?{locale:n}:void 0;return Array.isArray(e)?`${Gt(e[0],i,l)}${o&&!e[1]?"":r}${e[1]?Gt(e[1],i,l):""}`:Gt(e,i,l)},ja=e=>{if(e)return null;throw new Error(Zr.prop("partial-range"))},jn=(e,a)=>{if(a)return e();throw new Error(Zr.prop("range"))},to=e=>Array.isArray(e)?on(e[0])&&(e[1]?on(e[1]):!0):e?on(e):!1,A3=(e,a)=>We(a??pe(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),ao=(e,a,n,r)=>{if(!e)return!0;if(r){const o=n==="max"?dn(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()},no=(e,a,n)=>e?A3(e,a):pe(n??a),Ts=(e,a,n,r,o)=>{if(Array.isArray(r)){const s=no(e,r[0],a),l=no(e,r[1],a);return ao(r[0],s,n,!!a)&&ao(r[1],l,n,!!a)&&o}const i=no(e,r,a);return ao(r,i,n,!!a)&&o},ro=e=>We(pe(),Va(e)),V3=(e,a)=>e instanceof Map?Array.from(e.values()).filter(n=>Ve(pe(n))===a).map(n=>Oe(n)):[],Ps=(e,a,n)=>typeof e=="function"?e({month:a,year:n}):!!e.months.find(r=>r.month===a&&r.year===n),oo=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),Os=e=>Gt(e,"yyyy-MM-dd"),mn=t.reactive({menuFocused:!1,shiftKeyInMenu:!1}),Fs=()=>{const e=n=>{mn.menuFocused=n},a=n=>{mn.shiftKeyInMenu!==n&&(mn.shiftKeyInMenu=n)};return{control:t.computed(()=>({shiftKeyInMenu:mn.shiftKeyInMenu,menuFocused:mn.menuFocused})),setMenuFocused:e,setShiftKey:a}},Xe=t.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),io=t.ref(null),qn=t.ref(!1),so=t.ref(!1),lo=t.ref(!1),co=t.ref(!1),kt=t.ref(0),st=t.ref(0),ca=()=>{const e=t.computed(()=>qn.value?[...Xe.selectionGrid,Xe.actionRow].filter(m=>m.length):so.value?[...Xe.timePicker[0],...Xe.timePicker[1],co.value?[]:[io.value],Xe.actionRow].filter(m=>m.length):lo.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[st.value]&&(c=e.value[st.value][kt.value]),!c&&e.value[st.value+(m?1:-1)]?(st.value=st.value+(m?1:-1),kt.value=m?0:e.value[st.value].length-1):c||(kt.value=m?kt.value-1:kt.value+1)},n=m=>{st.value===0&&!m||st.value===e.value.length&&m||(st.value=m?st.value+1:st.value-1,e.value[st.value]?e.value[st.value]&&!e.value[st.value][kt.value]&&kt.value!==0&&(kt.value=e.value[st.value].length-1):st.value=m?st.value-1:st.value+1)},r=m=>{let c=null;e.value[st.value]&&(c=e.value[st.value][kt.value]),c?c.focus({preventScroll:!qn.value}):kt.value=m?kt.value-1:kt.value+1},o=()=>{a(!0),r(!0)},i=()=>{a(!1),r(!1)},s=()=>{n(!1),r(!0)},l=()=>{n(!0),r(!0)},d=(m,c)=>{Xe[c]=m},p=(m,c)=>{Xe[c]=m},u=()=>{kt.value=0,st.value=0};return{buildMatrix:d,buildMultiLevelMatrix:p,setTimePickerBackRef:m=>{io.value=m},setSelectionGrid:m=>{qn.value=m,u(),m||(Xe.selectionGrid=[])},setTimePicker:(m,c=!1)=>{so.value=m,co.value=c,u(),m||(Xe.timePicker[0]=[],Xe.timePicker[1]=[])},setTimePickerElements:(m,c=0)=>{Xe.timePicker[c]=m},arrowRight:o,arrowLeft:i,arrowUp:s,arrowDown:l,clearArrowNav:()=>{Xe.monthYear=[],Xe.calendar=[],Xe.time=[],Xe.actionRow=[],Xe.selectionGrid=[],Xe.timePicker[0]=[],Xe.timePicker[1]=[],qn.value=!1,so.value=!1,co.value=!1,lo.value=!1,u(),io.value=null},setMonthPicker:m=>{lo.value=m,u()},refSets:Xe}},Ls=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??{}}),D3=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??{}}),$s=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,_3=e=>{const a=typeof e=="object"&&e,n={static:!0,solo:!1};if(!e)return{...n,count:$s(!1)};const r=a?e:{},o=a?r.count??!0:e,i=$s(o);return Object.assign(n,r,{count:i})},N3=(e,a,n)=>e||(typeof n=="string"?n:a),T3=e=>typeof e=="boolean"?e?Ls({}):!1:Ls(e),P3=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},O3=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),F3=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),L3=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},$3=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??{}}),H3=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??{}}},R3=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},z3=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}},I3=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},uo=(e,a,n)=>new Map(e.map(r=>{const o=Yr(r,a,n);return[Kr(o),o]})),G3=(e,a)=>e.length?new Map(e.map(n=>{const r=Yr(n.date,a);return[Kr(r),n]})):null,j3=e=>{var a;return{minDate:Ur(e.minDate,e.timezone,e.isSpecific),maxDate:Ur(e.maxDate,e.timezone,e.isSpecific),disabledDates:Jr(e.disabledDates)?uo(e.disabledDates,e.timezone,e.isSpecific):e.disabledDates,allowedDates:Jr(e.allowedDates)?uo(e.allowedDates,e.timezone,e.isSpecific):null,highlight:typeof e.highlight=="object"&&Jr((a=e.highlight)==null?void 0:a.dates)?uo(e.highlight.dates,e.timezone):e.highlight,markers:G3(e.markers,e.timezone)}},q3=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},W3=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 _=e.enableSeconds?":ss":"",E=e.enableMinutes?":mm":"";return e.is24?`HH${E}${_}`:`hh${E}${_} aa`},n=()=>{var _;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((_=k.value)==null?void 0:_.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},r=_=>Ds(_,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(()=>_3(e.multiCalendars)),s=t.computed(()=>o()),l=t.computed(()=>D3(e.ariaLabels)),d=t.computed(()=>O3(e.filters)),p=t.computed(()=>T3(e.transitions)),u=t.computed(()=>F3(e.actionRow)),m=t.computed(()=>N3(e.previewFormat,e.format,n())),c=t.computed(()=>P3(e.textInput)),f=t.computed(()=>L3(e.inline)),h=t.computed(()=>$3(e.config)),y=t.computed(()=>H3(e.highlight)),k=t.computed(()=>R3(e.weekNumbers)),x=t.computed(()=>I3(e.timezone)),w=t.computed(()=>q3(e.multiDates)),b=t.computed(()=>j3({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(()=>z3(e.range)),A=t.computed(()=>W3(e.ui));return{defaultedTransitions:p,defaultedMultiCalendars:i,defaultedStartTime:s,defaultedAriaLabels:l,defaultedFilters:d,defaultedActionRow:u,defaultedPreviewFormat:m,defaultedTextInput:c,defaultedInline:f,defaultedConfig:h,defaultedHighlight:y,defaultedWeekNumbers:k,defaultedRange:B,propDates:b,defaultedTz:x,defaultedMultiDates:w,defaultedUI:A,getDefaultPattern:n,getDefaultStartTime:o}},Y3=(e,a,n)=>{const r=t.ref(),{defaultedTextInput:o,defaultedRange:i,defaultedTz:s,defaultedMultiDates:l,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,(R,ye)=>{R.enabled!==ye.enabled&&(r.value=null)}),t.watch(u,()=>{de()});const c=R=>s.value.timezone&&s.value.convertModel?At(R,s.value.timezone):R,f=R=>{if(s.value.timezone&&s.value.convertModel){const ye=f3(s.value.timezone);return f2(R,ye)}return R},h=(R,ye,Z=!1)=>Ns(R,a.format,a.formatLocale,o.value.rangeSeparator,a.modelAuto,ye??d(),Z),y=R=>R?a.modelType?D(R):{hours:Zt(R),minutes:oa(R),seconds:a.enableSeconds?La(R):0}:null,k=R=>a.modelType?D(R):{month:Oe(R),year:Ve(R)},x=R=>Array.isArray(R)?l.value.enabled?R.map(ye=>w(ye,Wt(pe(),ye))):jn(()=>[Wt(pe(),R[0]),R[1]?Wt(pe(),R[1]):ja(i.value.partialRange)],i.value.enabled):Wt(pe(),+R),w=(R,ye)=>(typeof R=="string"||typeof R=="number")&&a.modelType?W(R):ye,b=R=>Array.isArray(R)?[w(R[0],sa(null,+R[0].hours,+R[0].minutes,R[0].seconds)),w(R[1],sa(null,+R[1].hours,+R[1].minutes,R[1].seconds))]:w(R,sa(null,R.hours,R.minutes,R.seconds)),B=R=>{const ye=We(pe(),{date:1});return Array.isArray(R)?l.value.enabled?R.map(Z=>w(Z,Kt(ye,+Z.month,+Z.year))):jn(()=>[w(R[0],Kt(ye,+R[0].month,+R[0].year)),w(R[1],R[1]?Kt(ye,+R[1].month,+R[1].year):ja(i.value.partialRange))],i.value.enabled):w(R,Kt(ye,+R.month,+R.year))},A=R=>{if(Array.isArray(R))return R.map(ye=>W(ye));throw new Error(Zr.dateArr("multi-dates"))},_=R=>{if(Array.isArray(R)&&i.value.enabled){const ye=R[0],Z=R[1];return[pe(Array.isArray(ye)?ye[0]:null),Array.isArray(Z)&&Z.length?pe(Z[0]):null]}return pe(R[0])},E=R=>a.modelAuto?Array.isArray(R)?[W(R[0]),W(R[1])]:a.autoApply?[W(R)]:[W(R),null]:Array.isArray(R)?jn(()=>R[1]?[W(R[0]),R[1]?W(R[1]):ja(i.value.partialRange)]:[W(R[0])],i.value.enabled):W(R),C=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(ja(i.value.partialRange))},V=()=>{const R=r.value;return[D(R[0]),R[1]?D(R[1]):ja(i.value.partialRange)]},T=()=>r.value[1]?V():D(mt(r.value[0])),Y=()=>(r.value||[]).map(R=>D(R)),X=(R=!1)=>(R||C(),a.modelAuto?T():l.value.enabled?Y():Array.isArray(r.value)?jn(()=>V(),i.value.enabled):D(mt(r.value))),G=R=>!R||Array.isArray(R)&&!R.length?null:a.timePicker?b(mt(R)):a.monthPicker?B(mt(R)):a.yearPicker?x(mt(R)):l.value.enabled?A(mt(R)):a.weekPicker?_(mt(R)):E(mt(R)),S=R=>{const ye=G(R);to(mt(ye))?(r.value=mt(ye),de()):(r.value=null,p.value="")},I=()=>{const R=ye=>Gt(ye,o.value.format);return`${R(r.value[0])} ${o.value.rangeSeparator} ${r.value[1]?R(r.value[1]):""}`},j=()=>n.value&&r.value?Array.isArray(r.value)?I():Gt(r.value,o.value.format):h(r.value),U=()=>r.value?l.value.enabled?r.value.map(R=>h(R)).join("; "):o.value.enabled&&typeof o.value.format=="string"?j():h(r.value):"",de=()=>{!a.format||typeof a.format=="string"||o.value.enabled&&typeof o.value.format=="string"?p.value=U():p.value=a.format(r.value)},W=R=>{if(a.utc){const ye=new Date(R);return a.utc==="preserve"?new Date(ye.getTime()+ye.getTimezoneOffset()*6e4):ye}return a.modelType?h3.includes(a.modelType)?c(new Date(R)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?c(zr(R,d(),new Date,{locale:m.value})):c(zr(R,a.modelType,new Date,{locale:m.value})):c(new Date(R))},D=R=>R?a.utc?C3(R,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+f(R):a.modelType==="iso"?f(R).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?h(f(R)):h(f(R),a.modelType,!0):f(R):"",ie=(R,ye=!1,Z=!1)=>{if(Z)return R;if(e("update:model-value",R),s.value.emitTimezone&&ye){const me=Array.isArray(R)?R.map($=>At(mt($),s.value.emitTimezone)):At(mt(R),s.value.emitTimezone);e("update:model-timezone-value",me)}},ne=R=>Array.isArray(r.value)?l.value.enabled?r.value.map(ye=>R(ye)):[R(r.value[0]),r.value[1]?R(r.value[1]):ja(i.value.partialRange)]:R(mt(r.value)),K=()=>{if(Array.isArray(r.value)){const R=Qt(r.value[0],a.weekStart),ye=r.value[1]?Qt(r.value[1],a.weekStart):[];return[R.map(Z=>pe(Z)),ye.map(Z=>pe(Z))]}return Qt(r.value,a.weekStart).map(R=>pe(R))},M=(R,ye)=>ie(mt(ne(R)),!1,ye),Q=R=>{const ye=K();return R?ye:e("update:model-value",K())},fe=(R=!1)=>(R||de(),a.monthPicker?M(k,R):a.timePicker?M(y,R):a.yearPicker?M(Ve,R):a.weekPicker?Q(R):ie(X(R),!0,R));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:de,emitModelValue:fe}},U3=(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},s=(u,m)=>{let c=u;return n.value.years.includes(Ve(c))?(c=m?Nr(u,1):gs(u,1),s(c,m)):c},l=(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=s(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=>_s(We(pe(),{month:e.month,year:e.year}),r.value.maxDate,r.value.minDate,e.preventMinMaxNavigation,u));return{handleMonthYearChange:l,isDisabled:p,updateMonthYear:d}},Wn={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={...Wn,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}},X3=["title"],Z3=["disabled"],Q3=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:s,defaultedTextInput:l,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),k=t.ref(!1),x=t.ref({}),w=t.ref(null),b=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=()=>{k.value=!1,setTimeout(()=>{var S,I;const j=(S=w.value)==null?void 0:S.getBoundingClientRect(),U=(I=b.value)==null?void 0:I.getBoundingClientRect();j&&U&&(x.value.maxWidth=`${U.width-j.width-20}px`),k.value=!0},0)},A=t.computed(()=>p.value.enabled&&!p.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),_=t.computed(()=>!m.value(r.internalModelValue)||!c.value(r.internalModelValue)||!A.value),E=()=>{const S=i.value;return r.timePicker||r.monthPicker,S(mt(r.internalModelValue))},C=()=>{const S=r.internalModelValue;return s.value.count>0?`${V(S[0])} - ${V(S[1])}`:[V(S[0]),V(S[1])]},V=S=>Ns(S,i.value,r.formatLocale,l.value.rangeSeparator,r.modelAuto,i.value),T=t.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?C():u.value.enabled?r.internalModelValue.map(S=>`${V(S)}`):r.modelAuto?`${V(r.internalModelValue[0])}`:`${V(r.internalModelValue[0])} -`:V(r.internalModelValue):E()),Y=()=>u.value.enabled?"; ":" - ",X=t.computed(()=>Array.isArray(T.value)?T.value.join(Y()):T.value),G=()=>{m.value(r.internalModelValue)&&c.value(r.internalModelValue)&&A.value?n("select-date"):n("invalid-select")};return(S,I)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"actionRowRef",ref:b,class:"dp__action_row"},[S.$slots["action-row"]?t.renderSlot(S.$slots,"action-row",t.normalizeProps(t.mergeProps({key:0},{internalModelValue:S.internalModelValue,disabled:_.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:X.value,style:t.normalizeStyle(x.value)},[S.$slots["action-preview"]&&k.value?t.renderSlot(S.$slots,"action-preview",{key:0,value:S.internalModelValue}):t.createCommentVNode("",!0),!S.$slots["action-preview"]&&k.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(X.value),1)],64)):t.createCommentVNode("",!0)],12,X3)):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:I[0]||(I[0]=j=>S.$emit("close-picker")),onKeydown:I[1]||(I[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:I[2]||(I[2]=j=>S.$emit("select-now")),onKeydown:I[3]||(I[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:_.value,"data-test":"select-button",onKeydown:I[4]||(I[4]=j=>t.unref(wt)(j,()=>G())),onClick:G},t.toDisplayString(S.selectText),41,Z3)):t.createCommentVNode("",!0)],64))],512)],64))],512))}}),K3=["role","aria-label","tabindex"],J3={class:"dp__selection_grid_header"},eu=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],tu=["aria-label"],fn=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(),s=n,l=e,{defaultedAriaLabels:d,defaultedTextInput:p,defaultedConfig:u}=Ze(l),{hideNavigationButtons:m}=Xn(),c=t.ref(!1),f=t.ref(null),h=t.ref(null),y=t.ref([]),k=t.ref(),x=t.ref(null),w=t.ref(0),b=t.ref(null);t.onBeforeUpdate(()=>{f.value=null}),t.onMounted(()=>{t.nextTick().then(()=>Y()),l.noOverlayFocus||A(),B(!0)}),t.onUnmounted(()=>B(!1));const B=ne=>{var K;l.arrowNavigation&&((K=l.headerRefs)!=null&&K.length?i(ne):r(ne))},A=()=>{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)},_=t.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!l.useRelative,"dp--overlay-relative":l.useRelative})),E=t.computed(()=>l.useRelative?{height:`${l.height}px`,width:"var(--dp-menu-min-width)"}:void 0),C=t.computed(()=>({dp__overlay_col:!0})),V=t.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:c.value,dp__button_bottom:l.isLast})),T=t.computed(()=>{var ne,K;return{dp__overlay_container:!0,dp__container_flex:((ne=l.items)==null?void 0:ne.length)<=6,dp__container_block:((K=l.items)==null?void 0:K.length)>6}});t.watch(()=>l.items,()=>Y(!1),{deep:!0});const Y=(ne=!0)=>{t.nextTick().then(()=>{const K=ct(f),M=ct(h),Q=ct(x),fe=ct(b),R=Q?Q.getBoundingClientRect().height:0;M&&(M.getBoundingClientRect().height?w.value=M.getBoundingClientRect().height-R:w.value=u.value.modeHeight-R),K&&fe&&ne&&(fe.scrollTop=K.offsetTop-fe.offsetTop-(w.value/2-K.getBoundingClientRect().height)-R)})},X=ne=>{ne.disabled||s("selected",ne.value)},G=()=>{s("toggle"),s("reset-flow")},S=()=>{l.escClose&&G()},I=(ne,K,M,Q)=>{ne&&((K.active||K.value===l.focusValue)&&(f.value=ne),l.arrowNavigation&&(Array.isArray(y.value[M])?y.value[M][Q]=ne:y.value[M]=[ne],j()))},j=()=>{var ne,K;const M=(ne=l.headerRefs)!=null&&ne.length?[l.headerRefs].concat(y.value):y.value.concat([l.skipButtonRef?[]:[x.value]]);o(mt(M),(K=l.headerRefs)!=null&&K.length?"monthPicker":"selectionGrid")},U=ne=>{l.arrowNavigation||ia(ne,u.value,!0)},de=ne=>{k.value=ne,s("hover-value",ne)},W=()=>{if(G(),!l.isLast){const ne=Qr(l.menuWrapRef??null,"action-row");if(ne){const K=Es(ne);K==null||K.focus()}}},D=ne=>{switch(ne.key){case Ue.esc:return S();case Ue.arrowLeft:return U(ne);case Ue.arrowRight:return U(ne);case Ue.arrowUp:return U(ne);case Ue.arrowDown:return U(ne);default:return}},ie=ne=>{if(ne.key===Ue.enter)return G();if(ne.key===Ue.tab)return W()};return a({focusGrid:A}),(ne,K)=>{var M;return t.openBlock(),t.createElementBlock("div",{ref_key:"gridWrapRef",ref:h,class:t.normalizeClass(_.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:b,class:t.normalizeClass(T.value),style:t.normalizeStyle({"--dp-overlay-height":`${w.value}px`}),role:"grid"},[t.createElementVNode("div",J3,[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,(R,ye)=>(t.openBlock(),t.createElementBlock("div",{key:R.value,ref_for:!0,ref:Z=>I(Z,R,fe,ye),role:"gridcell",class:t.normalizeClass(C.value),"aria-selected":R.active||void 0,"aria-disabled":R.disabled||void 0,tabindex:"0","data-test":R.text,onClick:t.withModifiers(Z=>X(R),["prevent"]),onKeydown:Z=>t.unref(wt)(Z,()=>X(R),!0),onMouseover:Z=>de(R.value)},[t.createElementVNode("div",{class:t.normalizeClass(R.className)},[ne.$slots.item?t.renderSlot(ne.$slots,"item",{key:0,item:R}):t.createCommentVNode("",!0),ne.$slots.item?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(R.text),1)],64))],2)],42,eu))),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":(M=t.unref(d))==null?void 0:M.toggleOverlay,class:t.normalizeClass(V.value),tabindex:"0",onClick:G,onKeydown:ie},[t.renderSlot(ne.$slots,"button-icon")],42,tu)),[[t.vShow,!t.unref(m)(ne.hideNavigation,ne.type)]]):t.createCommentVNode("",!0)],46,K3)}}}),Yn=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,(s,l)=>(t.openBlock(),t.createElementBlock("div",{key:s,class:t.normalizeClass(r.value)},[t.renderSlot(o.$slots,"default",{instance:s,index:l})],2))),128))],2))}}),au=["data-dp-element","aria-label","aria-disabled"],hn=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]=s=>o.$emit("activate")),onKeydown:i[1]||(i[1]=s=>t.unref(wt)(s,()=>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,au))}}),nu=["aria-label","data-test"],Hs=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}=Xn(),{defaultedConfig:s,defaultedMultiCalendars:l,defaultedAriaLabels:d,defaultedTransitions:p,defaultedUI:u}=Ze(r),{showTransition:m,transitionName:c}=pn(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)},k=(x=!1)=>{n("handle-year",x)};return(x,w)=>{var b,B,A,_,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(l),e.instance)?(t.openBlock(),t.createBlock(hn,{key:0,ref:"mpPrevIconRef","aria-label":(b=t.unref(d))==null?void 0:b.prevYear,disabled:e.isDisabled(!1),class:t.normalizeClass((B=t.unref(u))==null?void 0:B.navBtnPrev),onActivate:w[0]||(w[0]=C=>k(!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(Ir),{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}-${(A=t.unref(d))==null?void 0:A.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,nu),t.unref(o)(t.unref(l),e.instance)?(t.openBlock(),t.createBlock(hn,{key:1,ref:"mpNextIconRef","aria-label":(_=t.unref(d))==null?void 0:_.nextYear,disabled:e.isDisabled(!0),class:t.normalizeClass((E=t.unref(u))==null?void 0:E.navBtnNext),onActivate:w[3]||(w[3]=C=>k(!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(Gr),{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 C,V;return[e.showYearPicker?(t.openBlock(),t.createBlock(fn,{key:0,items:e.items,"text-input":x.textInput,"esc-close":x.escClose,config:x.config,"is-last":x.autoApply&&!t.unref(s).keepActionRow,"hide-navigation":x.hideNavigation,"aria-labels":x.ariaLabels,"overlay-label":(V=(C=t.unref(d))==null?void 0:C.yearPicker)==null?void 0:V.call(C,!0),type:"year",onToggle:h,onSelected:w[4]||(w[4]=T=>y(T))},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:T})=>[t.renderSlot(x.$slots,"year-overlay-value",{text:T.text,value:T.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)}}}),mo=(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]},fo=(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},Un=(e,a,n,r)=>{e&&(e[0]&&e[1]&&n&&a("auto-apply"),e[0]&&!e[1]&&r&&n&&a("auto-apply"))},Rs=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))},zs=(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):[],Is=({multiCalendars:e,range:a,highlight:n,propDates:r,calendars:o,modelValue:i,props:s,filters:l,year:d,month:p,emit:u})=>{const m=t.computed(()=>Xr(s.yearRange,s.locale,s.reverseYears)),c=t.ref([!1]),f=t.computed(()=>(T,Y)=>{const X=We(Ht(new Date),{month:p.value(T),year:d.value(T)}),G=Y?Qi(X):sn(X);return _s(G,r.value.maxDate,r.value.minDate,s.preventMinMaxNavigation,Y)}),h=()=>Array.isArray(i.value)&&e.value.solo&&i.value[1],y=()=>{for(let T=0;T<e.value.count;T++)if(T===0)o.value[T]=o.value[0];else if(T===e.value.count-1&&h())o.value[T]={month:Oe(i.value[1]),year:Ve(i.value[1])};else{const Y=We(pe(),o.value[T-1]);o.value[T]={month:Oe(Y),year:Ve(Nr(Y,1))}}},k=T=>{if(!T)return y();const Y=We(pe(),o.value[T]);return o.value[0].year=Ve(gs(Y,e.value.count-1)),y()},x=(T,Y)=>{const X=k2(Y,T);return a.value.showLastInRange&&X>1?Y:T},w=T=>s.focusStartDate||e.value.solo?T[0]:T[1]?x(T[0],T[1]):T[0],b=()=>{if(i.value){const T=Array.isArray(i.value)?w(i.value):i.value;o.value[0]={month:Oe(T),year:Ve(T)}}},B=()=>{b(),e.value.count&&y()};t.watch(i,(T,Y)=>{s.isTextInputDate&&JSON.stringify(T??{})!==JSON.stringify(Y??{})&&B()}),t.onMounted(()=>{B()});const A=(T,Y)=>{o.value[Y].year=T,u("update-month-year",{instance:Y,year:T,month:o.value[Y].month}),e.value.count&&!e.value.solo&&k(Y)},_=t.computed(()=>T=>Ia(m.value,Y=>{var X;const G=d.value(T)===Y.value,S=un(Y.value,Ga(r.value.minDate),Ga(r.value.maxDate))||((X=l.value.years)==null?void 0:X.includes(d.value(T))),I=oo(n.value,Y.value);return{active:G,disabled:S,highlighted:I}})),E=(T,Y)=>{A(T,Y),V(Y)},C=(T,Y=!1)=>{if(!f.value(T,Y)){const X=Y?d.value(T)+1:d.value(T)-1;A(X,T)}},V=(T,Y=!1,X)=>{Y||u("reset-flow"),X!==void 0?c.value[T]=X:c.value[T]=!c.value[T],c.value[T]?u("overlay-toggle",{open:!0,overlay:yt.year}):(u("overlay-closed"),u("overlay-toggle",{open:!1,overlay:yt.year}))};return{isDisabled:f,groupedYears:_,showYearPicker:c,selectYear:A,toggleYearPicker:V,handleYearSelect:E,handleYear:C}},ru=(e,a)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:o,defaultedConfig:i,defaultedRange:s,defaultedHighlight:l,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:k}=gn(e,a,c),x=t.computed(()=>bs(e.formatLocale,e.locale,e.monthNameFormat)),w=t.ref(null),{checkMinMaxRange:b}=ua(e),{selectYear:B,groupedYears:A,showYearPicker:_,toggleYearPicker:E,handleYearSelect:C,handleYear:V,isDisabled:T}=Is({modelValue:f,multiCalendars:n,range:s,highlight:l,calendars:k,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 Y=M=>M?{month:Oe(M),year:Ve(M)}:{month:null,year:null},X=()=>f.value?Array.isArray(f.value)?f.value.map(M=>Y(M)):Y(f.value):Y(),G=(M,Q)=>{const fe=k.value[M],R=X();return Array.isArray(R)?R.some(ye=>ye.year===(fe==null?void 0:fe.year)&&ye.month===Q):(fe==null?void 0:fe.year)===R.year&&Q===R.month},S=(M,Q,fe)=>{var R,ye;const Z=X();return Array.isArray(Z)?h.value(Q)===((R=Z[fe])==null?void 0:R.year)&&M===((ye=Z[fe])==null?void 0:ye.month):!1},I=(M,Q)=>{if(s.value.enabled){const fe=X();if(Array.isArray(f.value)&&Array.isArray(fe)){const R=S(M,Q,0)||S(M,Q,1),ye=Kt(Ht(pe()),M,h.value(Q));return Gn(f.value,w.value,ye)&&!R}return!1}return!1},j=t.computed(()=>M=>Ia(x.value,Q=>{var fe;const R=G(M,Q.value),ye=un(Q.value,Bs(h.value(M),d.value.minDate),As(h.value(M),d.value.maxDate))||V3(d.value.disabledDates,h.value(M)).includes(Q.value)||((fe=u.value.months)==null?void 0:fe.includes(Q.value)),Z=I(Q.value,M),me=Ps(l.value,Q.value,h.value(M));return{active:R,disabled:ye,isBetween:Z,highlighted:me}})),U=(M,Q)=>Kt(Ht(pe()),M,h.value(Q)),de=(M,Q)=>{const fe=f.value?f.value:Ht(new Date);f.value=Kt(fe,M,h.value(Q)),a("auto-apply"),a("update-flow-step")},W=(M,Q)=>{const fe=U(M,Q);s.value.fixedEnd||s.value.fixedStart?f.value=zs(fe,f,a,s):f.value?b(fe,f.value)&&(f.value=fo(f,U(M,Q),a)):f.value=[U(M,Q)],t.nextTick().then(()=>{Un(f.value,a,e.autoApply,e.modelAuto)})},D=(M,Q)=>{mo(U(M,Q),f,m.value.limit),a("auto-apply",!0)},ie=(M,Q)=>(k.value[Q].month=M,K(Q,k.value[Q].year,M),m.value.enabled?D(M,Q):s.value.enabled?W(M,Q):de(M,Q)),ne=(M,Q)=>{B(M,Q),K(Q,M,null)},K=(M,Q,fe)=>{let R=fe;if(!R&&R!==0){const ye=X();R=Array.isArray(ye)?ye[M].month:ye.month}a("update-month-year",{instance:M,year:Q,month:R})};return{groupedMonths:j,groupedYears:A,year:h,isDisabled:T,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:o,defaultedConfig:i,showYearPicker:_,modelValue:f,presetDate:(M,Q)=>{Rs({value:M,modelValue:f,range:s.value.enabled,timezone:Q?void 0:p.value.timezone}),a("auto-apply")},setHoverDate:(M,Q)=>{w.value=U(M,Q)},selectMonth:ie,selectYear:ne,toggleYearPicker:E,handleYearSelect:C,handleYear:V,getModelMonthYear:X}},ou=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"),s=e;t.onMounted(()=>{s.shadow||r("mount",null)});const{groupedMonths:l,groupedYears:d,year:p,isDisabled:u,defaultedMultiCalendars:m,defaultedConfig:c,showYearPicker:f,modelValue:h,presetDate:y,setHoverDate:k,selectMonth:x,selectYear:w,toggleYearPicker:b,handleYearSelect:B,handleYear:A,getModelMonthYear:_}=ru(s,r);return a({getSidebarProps:()=>({modelValue:h,year:p,getModelMonthYear:_,selectMonth:x,selectYear:w,handleYear:A}),presetDate:y,toggleYearPicker:E=>b(0,E)}),(E,C)=>(t.openBlock(),t.createBlock(Yn,{"multi-calendars":t.unref(m).count,collapse:E.collapse,stretch:""},{default:t.withCtx(({instance:V})=>[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(l)(V),years:t.unref(d)(V),selectMonth:t.unref(x),selectYear:t.unref(w),instance:V}))):(t.openBlock(),t.createBlock(fn,{key:2,items:t.unref(l)(V),"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:T=>t.unref(x)(T,V),onHoverValue:T=>t.unref(k)(T,V)},t.createSlots({header:t.withCtx(()=>[t.createVNode(Hs,t.mergeProps(E.$props,{items:t.unref(d)(V),instance:V,"show-year-picker":t.unref(f)[V],year:t.unref(p)(V),"is-disabled":T=>t.unref(u)(V,T),onHandleYear:T=>t.unref(A)(V,T),onYearSelect:T=>t.unref(B)(T,V),onToggleYearPicker:T=>t.unref(b)(V,T==null?void 0:T.flow,T==null?void 0:T.show)}),t.createSlots({_:2},[t.renderList(t.unref(i),(T,Y)=>({name:T,fn:t.withCtx(X=>[t.renderSlot(E.$slots,T,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:T})=>[t.renderSlot(E.$slots,"month-overlay-value",{text:T.text,value:T.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"]))}}),iu=(e,a)=>{const n=()=>{e.isTextInputDate&&(u.value=Ve(pe(e.startDate)))},{modelValue:r}=gn(e,a,n),o=t.ref(null),{defaultedHighlight:i,defaultedMultiDates:s,defaultedFilters:l,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(k=>Ve(k)===y):r.value?Ve(r.value)===y:!1,c=y=>d.value.enabled&&Array.isArray(r.value)?Gn(r.value,o.value,h(y)):!1,f=t.computed(()=>Ia(Xr(e.yearRange,e.locale,e.reverseYears),y=>{const k=m(y.value),x=un(y.value,Ga(p.value.minDate),Ga(p.value.maxDate))||l.value.years.includes(y.value),w=c(y.value)&&!k,b=oo(i.value,y.value);return{active:k,disabled:x,isBetween:w,highlighted:b}})),h=y=>Wt(Ht(sn(new Date)),y);return{groupedYears:f,modelValue:r,focusYear:u,setHoverValue:y=>{o.value=Wt(Ht(new Date),y)},selectYear:y=>{var k;if(a("update-month-year",{instance:0,year:y}),s.value.enabled)return r.value?Array.isArray(r.value)&&(((k=r.value)==null?void 0:k.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(sn(pe())),y)],a("auto-apply",!0);d.value.enabled?(r.value=fo(r,h(y),a),t.nextTick().then(()=>{Un(r.value,a,e.autoApply,e.modelAuto)})):(r.value=h(y),a("auto-apply"))}}},su=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:s,focusYear:l,selectYear:d,setHoverValue:p}=iu(o,r),{defaultedConfig:u}=Ze(o);return a({getSidebarProps:()=>({modelValue:s,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(fn,{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(l),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"]))]))}}),lu={key:0,class:"dp__time_input"},cu=["data-test","aria-label","onKeydown","onClick","onMousedown"],du=["aria-label","disabled","data-test","onKeydown","onClick"],uu=["data-test","aria-label","onKeydown","onClick","onMousedown"],mu={key:0},fu=["aria-label"],hu=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:s}=ca(),{defaultedAriaLabels:l,defaultedTransitions:d,defaultedFilters:p,defaultedConfig:u,defaultedRange:m}=Ze(o),{transitionName:c,showTransition:f}=pn(d),h=t.reactive({hours:!1,minutes:!1,seconds:!1}),y=t.ref("AM"),k=t.ref(null),x=t.ref([]),w=t.ref(),b=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}),A=t.computed(()=>g=>U(g,o[g])||E(g,o[g])),_=t.computed(()=>({hours:o.hours,minutes:o.minutes,seconds:o.seconds})),E=(g,N)=>m.value.enabled&&!m.value.disableTimeRangeValidation?!o.validateTime(g,N):!1,C=(g,N)=>{if(m.value.enabled&&!m.value.disableTimeRangeValidation){const L=N?+o[`${g}Increment`]:-+o[`${g}Increment`],F=o[g]+L;return!o.validateTime(g,F)}return!1},V=t.computed(()=>g=>!ne(+o[g]+ +o[`${g}Increment`],g)||C(g,!0)),T=t.computed(()=>g=>!ne(+o[g]-+o[`${g}Increment`],g)||C(g,!1)),Y=(g,N)=>zi(We(pe(),g),N),X=(g,N)=>u3(We(pe(),g),N),G=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}),I=t.computed(()=>S.value.filter(g=>!g.separator)),j=t.computed(()=>g=>{if(g==="hours"){const N=ye(+o.hours);return{text:N<10?`0${N}`:`${N}`,value:N}}return{text:o[g]<10?`0${o[g]}`:`${o[g]}`,value:o[g]}}),U=(g,N)=>{var L;if(!o.disabledTimesConfig)return!1;const F=o.disabledTimesConfig(o.order,g==="hours"?N:void 0);return F[g]?!!((L=F[g])!=null&&L.includes(N)):!0},de=(g,N)=>N!=="hours"||y.value==="AM"?g:g+12,W=g=>{const N=o.is24?24:12,L=g==="hours"?N:60,F=+o[`${g}GridIncrement`],J=g==="hours"&&!o.is24?F:0,H=[];for(let te=J;te<L;te+=F)H.push({value:o.is24?te:de(te,g),text:te<10?`0${te}`:`${te}`});return g==="hours"&&!o.is24&&H.unshift({value:y.value==="PM"?12:0,text:"12"}),Ia(H,te=>({active:!1,disabled:p.value.times[g].includes(te.value)||!ne(te.value,g)||U(g,te.value)||E(g,te.value)}))},D=g=>g>=0?g:59,ie=g=>g>=0?g:23,ne=(g,N)=>{const L=o.minTime?B(eo(o.minTime)):null,F=o.maxTime?B(eo(o.maxTime)):null,J=B(eo(_.value,N,N==="minutes"||N==="seconds"?D(g):ie(g)));return L&&F?(dn(J,F)||Ha(J,F))&&($a(J,L)||Ha(J,L)):L?$a(J,L)||Ha(J,L):F?dn(J,F)||Ha(J,F):!0},K=g=>o[`no${g[0].toUpperCase()+g.slice(1)}Overlay`],M=g=>{K(g)||(h[g]=!h[g],h[g]?(b.value=!0,r("overlay-opened",g)):(b.value=!1,r("overlay-closed",g)))},Q=g=>g==="hours"?Zt:g==="minutes"?oa:La,fe=()=>{w.value&&clearTimeout(w.value)},R=(g,N=!0,L)=>{const F=N?Y:X,J=N?+o[`${g}Increment`]:-+o[`${g}Increment`];ne(+o[g]+J,g)&&r(`update:${g}`,Q(g)(F({[g]:+o[g]},{[g]:+o[`${g}Increment`]}))),!(L!=null&&L.keyboard)&&u.value.timeArrowHoldThreshold&&(w.value=setTimeout(()=>{R(g,N)},u.value.timeArrowHoldThreshold))},ye=g=>o.is24?g:(g>=12?y.value="PM":y.value="AM",y3(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},$=(g,N,L)=>{if(g&&o.arrowNavigation){Array.isArray(x.value[N])?x.value[N][L]=g:x.value[N]=[g];const F=x.value.reduce((J,H)=>H.map((te,ce)=>[...J[ce]||[],H[ce]]),[]);s(o.closeTimePickerBtn),k.value&&(F[1]=F[1].concat(k.value)),i(F,o.order)}},v=(g,N)=>(M(g),r(`update:${g}`,N));return a({openChildCmp:me}),(g,N)=>{var L;return g.disabled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",lu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(S.value,(F,J)=>{var H,te,ce;return t.openBlock(),t.createElementBlock("div",{key:J,class:t.normalizeClass(G.value)},[F.separator?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[b.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,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:V.value(F.type),"dp--hidden-el":b.value}),"data-test":`${F.type}-time-inc-btn-${o.order}`,"aria-label":(H=t.unref(l))==null?void 0:H.incrementValue(F.type),tabindex:"0",onKeydown:ge=>t.unref(wt)(ge,()=>R(F.type,!0,{keyboard:!0}),!0),onClick:ge=>t.unref(u).timeArrowHoldThreshold?void 0:R(F.type,!0),onMousedown:ge=>t.unref(u).timeArrowHoldThreshold?R(F.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},[N[2]||(N[2]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),N[3]||(N[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(qr),{key:1}))],64))],42,cu),t.createElementVNode("button",{ref_for:!0,ref:ge=>$(ge,J,1),type:"button","aria-label":`${j.value(F.type).text}-${(te=t.unref(l))==null?void 0:te.openTpOverlay(F.type)}`,class:t.normalizeClass({dp__time_display:!0,dp__time_display_block:!g.timePickerInline,dp__time_display_inline:g.timePickerInline,"dp--time-invalid":A.value(F.type),"dp--time-overlay-btn":!A.value(F.type),"dp--hidden-el":b.value}),disabled:K(F.type),tabindex:"0","data-test":`${F.type}-toggle-overlay-btn-${o.order}`,onKeydown:ge=>t.unref(wt)(ge,()=>M(F.type),!0),onClick:ge=>M(F.type)},[g.$slots[F.type]?t.renderSlot(g.$slots,F.type,{key:0,text:j.value(F.type).text,value:j.value(F.type).value}):t.createCommentVNode("",!0),g.$slots[F.type]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(j.value(F.type).text),1)],64))],42,du),t.createElementVNode("button",{ref_for:!0,ref:ge=>$(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:T.value(F.type),"dp--hidden-el":b.value}),"data-test":`${F.type}-time-dec-btn-${o.order}`,"aria-label":(ce=t.unref(l))==null?void 0:ce.decrementValue(F.type),tabindex:"0",onKeydown:ge=>t.unref(wt)(ge,()=>R(F.type,!1,{keyboard:!0}),!0),onClick:ge=>t.unref(u).timeArrowHoldThreshold?void 0:R(F.type,!1),onMousedown:ge=>t.unref(u).timeArrowHoldThreshold?R(F.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},[N[4]||(N[4]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),N[5]||(N[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(Wr),{key:1}))],64))],42,uu)],64))],2)}),128)),g.is24?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",mu,[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:k,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(L=t.unref(l))==null?void 0:L.amPmButton,tabindex:"0",onClick:Z,onKeydown:N[0]||(N[0]=F=>t.unref(wt)(F,()=>Z(),!0))},t.toDisplayString(y.value),41,fu))])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(I.value,(F,J)=>(t.openBlock(),t.createBlock(t.Transition,{key:J,name:t.unref(c)(h[F.type]),css:t.unref(f)},{default:t.withCtx(()=>{var H,te;return[h[F.type]?(t.openBlock(),t.createBlock(fn,{key:0,items:W(F.type),"is-last":g.autoApply&&!t.unref(u).keepActionRow,"esc-close":g.escClose,type:F.type,"text-input":g.textInput,config:g.config,"arrow-navigation":g.arrowNavigation,"aria-labels":g.ariaLabels,"overlay-label":(te=(H=t.unref(l)).timeOverlay)==null?void 0:te.call(H,F.type),onSelected:ce=>v(F.type,ce),onToggle:ce=>M(F.type),onResetFlow:N[1]||(N[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(jr)),{key:1}))]),_:2},[g.$slots[`${F.type}-overlay-value`]?{name:"item",fn:t.withCtx(({item:ce})=>[t.renderSlot(g.$slots,`${F.type}-overlay-value`,{text:ce.text,value:ce.value})]),key:"0"}:void 0,g.$slots[`${F.type}-overlay-header`]?{name:"header",fn:t.withCtx(()=>[t.renderSlot(g.$slots,`${F.type}-overlay-header`,{toggle:()=>M(F.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))]))}}}),pu={class:"dp--tp-wrap"},gu=["aria-label","tabindex"],yu=["role","aria-label","tabindex"],ku=["aria-label"],Gs=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:s}=ca(),l=t.useSlots(),{defaultedTransitions:d,defaultedAriaLabels:p,defaultedTextInput:u,defaultedConfig:m,defaultedRange:c}=Ze(o),{transitionName:f,showTransition:h}=pn(d),{hideNavigationButtons:y}=Xn(),k=t.ref(null),x=t.ref(null),w=t.ref([]),b=t.ref(null),B=t.ref(!1);t.onMounted(()=>{r("mount"),!o.timePicker&&o.arrowNavigation?i([ct(k.value)],"time"):s(!0,o.timePicker)});const A=t.computed(()=>c.value.enabled&&o.modelAuto?xs(o.internalModelValue):!0),_=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}),C=t.computed(()=>{const W=[];if(c.value.enabled)for(let D=0;D<2;D++)W.push(E(D));else W.push(E(0));return W}),V=(W,D=!1,ie="")=>{D||r("reset-flow"),_.value=W,r(W?"overlay-opened":"overlay-closed",yt.time),o.arrowNavigation&&s(W),t.nextTick(()=>{ie!==""&&w.value[0]&&w.value[0].openChildCmp(ie)})},T=t.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:o.autoApply&&!m.value.keepActionRow})),Y=Vt(l,"timePicker"),X=(W,D,ie)=>c.value.enabled?D===0?[W,C.value[1][ie]]:[C.value[0][ie],W]:W,G=W=>{r("update:hours",W)},S=W=>{r("update:minutes",W)},I=W=>{r("update:seconds",W)},j=()=>{if(b.value&&!u.value.enabled&&!o.noOverlayFocus){const W=Es(b.value);W&&W.focus({preventScroll:!0})}},U=W=>{B.value=!1,r("overlay-closed",W)},de=W=>{B.value=!0,r("overlay-opened",W)};return a({toggleTimePicker:V}),(W,D)=>{var ie;return t.openBlock(),t.createElementBlock("div",pu,[!W.timePicker&&!W.timePickerInline?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:k,type:"button",class:t.normalizeClass({...T.value,"dp--hidden-el":_.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:D[0]||(D[0]=ne=>t.unref(wt)(ne,()=>V(!0))),onClick:D[1]||(D[1]=ne=>V(!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(jr),{key:1}))],42,gu)),[[t.vShow,!t.unref(y)(W.hideNavigation,"time")]]):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:t.unref(f)(_.value),css:t.unref(h)&&!W.timePickerInline},{default:t.withCtx(()=>{var ne,K;return[_.value||W.timePicker||W.timePickerInline?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:b,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:G,setMinutes:S,setSeconds:I}):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(C.value,(M,Q)=>t.withDirectives((t.openBlock(),t.createBlock(hu,t.mergeProps({key:Q,ref_for:!0},{...W.$props,order:Q,hours:M.hours,minutes:M.minutes,seconds:M.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,R)=>e.validateTime(fe,X(R,Q,fe)),"onUpdate:hours":fe=>G(X(fe,Q,"hours")),"onUpdate:minutes":fe=>S(X(fe,Q,"minutes")),"onUpdate:seconds":fe=>I(X(fe,Q,"seconds")),onMounted:j,onOverlayClosed:U,onOverlayOpened:de,onAmPmChange:D[2]||(D[2]=fe=>W.$emit("am-pm-change",fe))}),t.createSlots({_:2},[t.renderList(t.unref(Y),(fe,R)=>({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,Q===0?!0:A.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({...T.value,"dp--hidden-el":B.value}),"aria-label":(K=t.unref(p))==null?void 0:K.closeTimePicker,tabindex:"0",onKeydown:D[3]||(D[3]=M=>t.unref(wt)(M,()=>V(!1))),onClick:D[4]||(D[4]=M=>V(!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,ku)),[[t.vShow,!t.unref(y)(W.hideNavigation,"time")]]):t.createCommentVNode("",!0)],2)],14,yu)):t.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),js=(e,a,n,r)=>{const{defaultedRange:o}=Ze(e),i=(b,B)=>Array.isArray(a[b])?a[b][B]:a[b],s=b=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[b]:a.seconds:0,l=(b,B)=>b?B!==void 0?sa(b,i("hours",B),i("minutes",B),s(B)):sa(b,a.hours,a.minutes,s()):ps(pe(),s(B)),d=(b,B)=>{a[b]=B},p=t.computed(()=>e.modelAuto&&o.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:o.value.enabled),u=(b,B)=>{const A=Object.fromEntries(Object.keys(a).map(_=>_===b?[_,B]:[_,a[_]].slice()));if(p.value&&!o.value.disableTimeRangeValidation){const _=C=>n.value?sa(n.value[C],A.hours[C],A.minutes[C],A.seconds[C]):null,E=C=>hs(n.value[C],0);return!(Fe(_(0),_(1))&&($a(_(0),E(1))||dn(_(1),E(0))))}return!0},m=(b,B)=>{u(b,B)&&(d(b,B),r&&r())},c=b=>{m("hours",b)},f=b=>{m("minutes",b)},h=b=>{m("seconds",b)},y=(b,B,A,_)=>{B&&c(b),!B&&!A&&f(b),A&&h(b),n.value&&_(n.value)},k=b=>{if(b){const B=Array.isArray(b),A=B?[+b[0].hours,+b[1].hours]:+b.hours,_=B?[+b[0].minutes,+b[1].minutes]:+b.minutes,E=B?[+b[0].seconds,+b[1].seconds]:+b.seconds;d("hours",A),d("minutes",_),e.enableSeconds&&d("seconds",E)}},x=(b,B)=>{const A={hours:Array.isArray(a.hours)?a.hours[b]:a.hours,disabledArr:[]};return(B||B===0)&&(A.hours=B),Array.isArray(e.disabledTimes)&&(A.disabledArr=o.value.enabled&&Array.isArray(e.disabledTimes[b])?e.disabledTimes[b]:e.disabledTimes),A},w=t.computed(()=>(b,B)=>{var A;if(Array.isArray(e.disabledTimes)){const{disabledArr:_,hours:E}=x(b,B),C=_.filter(V=>+V.hours===E);return((A=C[0])==null?void 0:A.minutes)==="*"?{hours:[E],minutes:void 0,seconds:void 0}:{hours:[],minutes:(C==null?void 0:C.map(V=>+V.minutes))??[],seconds:(C==null?void 0:C.map(V=>V.seconds?+V.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:d,updateHours:c,updateMinutes:f,updateSeconds:h,getSetDateTime:l,updateTimeValues:y,getSecondsValue:s,assignStartTime:k,validateTime:u,disabledTimesConfig:w}},bu=(e,a)=>{const n=()=>{e.isTextInputDate&&B()},{modelValue:r,time:o}=gn(e,a,n),{defaultedStartTime:i,defaultedRange:s,defaultedTz:l}=Ze(e),{updateTimeValues:d,getSetDateTime:p,setTime:u,assignStartTime:m,disabledTimesConfig:c,validateTime:f}=js(e,o,r,h);function h(){a("update-flow-step")}const y=_=>{const{hours:E,minutes:C,seconds:V}=_;return{hours:+E,minutes:+C,seconds:V?+V:0}},k=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const E=y(e.startTime[0]),C=y(e.startTime[1]);return[We(pe(),E),We(pe(),C)]}const _=y(e.startTime);return We(pe(),_)}return s.value.enabled?[null,null]:null},x=()=>{if(s.value.enabled){const[_,E]=k();r.value=[At(p(_,0),l.value.timezone),At(p(E,1),l.value.timezone)]}else r.value=At(p(k()),l.value.timezone)},w=_=>Array.isArray(_)?[Va(pe(_[0])),Va(pe(_[1]))]:[Va(_??pe())],b=(_,E,C)=>{u("hours",_),u("minutes",E),u("seconds",e.enableSeconds?C:0)},B=()=>{const[_,E]=w(r.value);return s.value.enabled?b([_.hours,E.hours],[_.minutes,E.minutes],[_.seconds,E.seconds]):b(_.hours,_.minutes,_.seconds)};t.onMounted(()=>{if(!e.shadow)return m(i.value),r.value?B():x()});const A=()=>{Array.isArray(r.value)?r.value=r.value.map((_,E)=>_&&p(_,E)):r.value=p(r.value),a("time-update")};return{modelValue:r,time:o,disabledTimesConfig:c,updateTime:(_,E=!0,C=!1)=>{d(_,E,C,A)},validateTime:f}},xu=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(),s=Vt(i,"timePicker"),l=t.ref(null),{time:d,modelValue:p,disabledTimesConfig:u,updateTime:m,validateTime:c}=bu(o,r);return t.onMounted(()=>{o.shadow||r("mount",null)}),a({getSidebarProps:()=>({modelValue:p,time:d,updateTime:m}),toggleTimePicker:(f,h=!1,y="")=>{var k;(k=l.value)==null||k.toggleTimePicker(f,h,y)}}),(f,h)=>(t.openBlock(),t.createBlock(Yn,{"multi-calendars":0,stretch:""},{default:t.withCtx(()=>[t.createVNode(Gs,t.mergeProps({ref_key:"tpRef",ref:l},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(s),(y,k)=>({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}))}}),wu={class:"dp--header-wrap"},vu={key:0,class:"dp__month_year_wrap"},Eu={key:0},Cu={class:"dp__month_year_wrap"},Su=["data-dp-element","aria-label","data-test","onClick","onKeydown"],Mu=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:s,defaultedMultiCalendars:l,defaultedFilters:d,defaultedConfig:p,defaultedHighlight:u,propDates:m,defaultedUI:c}=Ze(o),{transitionName:f,showTransition:h}=pn(i),{buildMatrix:y}=ca(),{handleMonthYearChange:k,isDisabled:x,updateMonthYear:w}=U3(o,r),{showLeftIcon:b,showRightIcon:B}=Xn(),A=t.ref(!1),_=t.ref(!1),E=t.ref(!1),C=t.ref([null,null,null,null]);t.onMounted(()=>{r("mount")});const V=K=>({get:()=>o[K],set:M=>{const Q=K===$t.month?$t.year:$t.month;r("update-month-year",{[K]:M,[Q]:o[Q]}),K===$t.month?U(!0):de(!0)}}),T=t.computed(V($t.month)),Y=t.computed(V($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?U:de})),G=t.computed(()=>o.months.find(M=>M.value===o.month)||{text:"",value:0}),S=t.computed(()=>Ia(o.months,K=>{const M=o.month===K.value,Q=un(K.value,Bs(o.year,m.value.minDate),As(o.year,m.value.maxDate))||d.value.months.includes(K.value),fe=Ps(u.value,K.value,o.year);return{active:M,disabled:Q,highlighted:fe}})),I=t.computed(()=>Ia(o.years,K=>{const M=o.year===K.value,Q=un(K.value,Ga(m.value.minDate),Ga(m.value.maxDate))||d.value.years.includes(K.value),fe=oo(u.value,K.value);return{active:M,disabled:Q,highlighted:fe}})),j=(K,M,Q)=>{Q!==void 0?K.value=Q:K.value=!K.value,K.value?(E.value=!0,r("overlay-opened",M)):(E.value=!1,r("overlay-closed",M))},U=(K=!1,M)=>{W(K),j(A,yt.month,M)},de=(K=!1,M)=>{W(K),j(_,yt.year,M)},W=K=>{K||r("reset-flow")},D=(K,M)=>{o.arrowNavigation&&(C.value[M]=ct(K),y(C.value,"monthYear"))},ie=t.computed(()=>{var K,M,Q,fe,R,ye;return[{type:$t.month,index:1,toggle:U,modelValue:T.value,updateModelValue:Z=>T.value=Z,text:G.value.text,showSelectionGrid:A.value,items:S.value,ariaLabel:(K=s.value)==null?void 0:K.openMonthsOverlay,overlayLabel:((Q=(M=s.value).monthPicker)==null?void 0:Q.call(M,!0))??void 0},{type:$t.year,index:2,toggle:de,modelValue:Y.value,updateModelValue:Z=>Y.value=Z,text:Cs(o.year,o.locale),showSelectionGrid:_.value,items:I.value,ariaLabel:(fe=s.value)==null?void 0:fe.openYearsOverlay,overlayLabel:((ye=(R=s.value).yearPicker)==null?void 0:ye.call(R,!0))??void 0}]}),ne=t.computed(()=>o.disableYearSelect?[ie.value[0]]:o.yearFirst?[...ie.value].reverse():ie.value);return a({toggleMonthPicker:U,toggleYearPicker:de,handleMonthYearChange:k}),(K,M)=>{var Q,fe,R,ye,Z,me;return t.openBlock(),t.createElementBlock("div",wu,[K.$slots["month-year"]?(t.openBlock(),t.createElementBlock("div",vu,[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(k),instance:e.instance})))])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[K.$slots["top-extra"]?(t.openBlock(),t.createElementBlock("div",Eu,[t.renderSlot(K.$slots,"top-extra",{value:K.internalModelValue})])):t.createCommentVNode("",!0),t.createElementVNode("div",Cu,[t.unref(b)(t.unref(l),e.instance)&&!K.vertical?(t.openBlock(),t.createBlock(hn,{key:0,"aria-label":(Q=t.unref(s))==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:M[0]||(M[0]=$=>t.unref(k)(!1,!0)),onSetRef:M[1]||(M[1]=$=>D($,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(Ir),{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,($,v)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:$.type},[t.createElementVNode("button",{ref_for:!0,ref:g=>D(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)},[K.$slots[$.type]?t.renderSlot(K.$slots,$.type,{key:0,text:$.text,value:o[$.type]}):t.createCommentVNode("",!0),K.$slots[$.type]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString($.text),1)],64))],42,Su),t.createVNode(t.Transition,{name:t.unref(f)($.showSelectionGrid),css:t.unref(h)},{default:t.withCtx(()=>[$.showSelectionGrid?(t.openBlock(),t.createBlock(fn,{key:0,items:$.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:$.type,"header-refs":[],"esc-close":K.escClose,"menu-wrap-ref":K.menuWrapRef,"text-input":K.textInput,"aria-labels":K.ariaLabels,"overlay-label":$.overlayLabel,onSelected:$.updateModelValue,onToggle:$.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[`${$.type}-overlay-value`]?{name:"item",fn:t.withCtx(({item:g})=>[t.renderSlot(K.$slots,`${$.type}-overlay-value`,{text:g.text,value:g.value})]),key:"0"}:void 0,K.$slots[`${$.type}-overlay`]?{name:"overlay",fn:t.withCtx(()=>[t.renderSlot(K.$slots,`${$.type}-overlay`,t.mergeProps({ref_for:!0},X.value($.type)))]),key:"1"}:void 0,K.$slots[`${$.type}-overlay-header`]?{name:"header",fn:t.withCtx(()=>[t.renderSlot(K.$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(b)(t.unref(l),e.instance)&&K.vertical?(t.openBlock(),t.createBlock(hn,{key:1,"aria-label":(R=t.unref(s))==null?void 0:R.prevMonth,"el-name":"action-prev",disabled:t.unref(x)(!1),class:t.normalizeClass((ye=t.unref(c))==null?void 0:ye.navBtnPrev),onActivate:M[2]||(M[2]=$=>t.unref(k)(!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(qr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.unref(B)(t.unref(l),e.instance)?(t.openBlock(),t.createBlock(hn,{key:2,ref:"rightIcon","el-name":"action-next",disabled:t.unref(x)(!0),"aria-label":(Z=t.unref(s))==null?void 0:Z.nextMonth,class:t.normalizeClass((me=t.unref(c))==null?void 0:me.navBtnNext),onActivate:M[3]||(M[3]=$=>t.unref(k)(!0,!0)),onSetRef:M[4]||(M[4]=$=>D($,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(Wr):t.unref(Gr)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):t.createCommentVNode("",!0)])],64))])}}}),Bu={class:"dp__calendar_header",role:"row"},Au={key:0,class:"dp__calendar_header_item",role:"gridcell"},Vu=["aria-label"],Du={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},_u={class:"dp__cell_inner"},Nu=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],Tu=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:s,defaultedConfig:l,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([]),k=t.ref(null),x=t.ref(!0),w=t.ref(""),b=t.ref({startX:0,endX:0,startY:0,endY:0}),B=t.ref([]),A=t.ref({left:"50%"}),_=t.ref(!1),E=t.computed(()=>o.calendar?o.calendar(o.mappedDates):o.mappedDates),C=t.computed(()=>o.dayNames?Array.isArray(o.dayNames)?o.dayNames:o.dayNames(o.locale,+o.weekStart):g3(o.formatLocale,o.locale,+o.weekStart));t.onMounted(()=>{r("mount",{cmp:"calendar",refs:y}),l.value.noSwipe||k.value&&(k.value.addEventListener("touchstart",D,{passive:!1}),k.value.addEventListener("touchend",ie,{passive:!1}),k.value.addEventListener("touchmove",ne,{passive:!1})),o.monthChangeOnScroll&&k.value&&k.value.addEventListener("wheel",Q,{passive:!1})});const V=$=>$?o.vertical?"vNext":"next":o.vertical?"vPrevious":"previous",T=($,v)=>{if(o.transitions){const g=vt(Kt(pe(),o.month,o.year));w.value=it(vt(Kt(pe(),$,v)),g)?s.value[V(!0)]:s.value[V(!1)],x.value=!1,t.nextTick(()=>{x.value=!0})}},Y=t.computed(()=>({...c.value.calendar??{}})),X=t.computed(()=>$=>{const v=k3($);return{dp__marker_dot:v.type==="dot",dp__marker_line:v.type==="line"}}),G=t.computed(()=>$=>Fe($,f.value)),S=t.computed(()=>({dp__calendar:!0,dp__calendar_next:p.value.count>0&&o.instance!==0})),I=t.computed(()=>$=>o.hideOffsetDates?$.current:!0),j=async($,v)=>{const{width:g,height:N}=$.getBoundingClientRect();f.value=v.value;let L={left:`${g/2}px`},F=-50;if(await t.nextTick(),B.value[0]){const{left:J,width:H}=B.value[0].getBoundingClientRect();J<0&&(L={left:"0"},F=0,A.value.left=`${g/2}px`),window.innerWidth<J+H&&(L={right:"0"},F=0,A.value.left=`${H-g/2}px`)}h.value={bottom:`${N}px`,...L,transform:`translateX(${F}%)`}},U=async($,v,g)=>{var N,L,F;const J=ct(y.value[v][g]);J&&((N=$.marker)!=null&&N.customPosition&&(F=(L=$.marker)==null?void 0:L.tooltip)!=null&&F.length?h.value=$.marker.customPosition(J):await j(J,$),r("tooltip-open",$.marker))},de=async($,v,g)=>{var N,L;if(_.value&&m.value.enabled&&m.value.dragSelect)return r("select-date",$);r("set-hover-date",$),(L=(N=$.marker)==null?void 0:N.tooltip)!=null&&L.length&&await U($,v,g)},W=$=>{f.value&&(f.value=null,h.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",$.marker))},D=$=>{b.value.startX=$.changedTouches[0].screenX,b.value.startY=$.changedTouches[0].screenY},ie=$=>{b.value.endX=$.changedTouches[0].screenX,b.value.endY=$.changedTouches[0].screenY,K()},ne=$=>{o.vertical&&!o.inline&&$.preventDefault()},K=()=>{const $=o.vertical?"Y":"X";Math.abs(b.value[`start${$}`]-b.value[`end${$}`])>10&&r("handle-swipe",b.value[`start${$}`]>b.value[`end${$}`]?"right":"left")},M=($,v,g)=>{$&&(Array.isArray(y.value[v])?y.value[v][g]=$:y.value[v]=[$]),o.arrowNavigation&&i(y.value,"calendar")},Q=$=>{o.monthChangeOnScroll&&($.preventDefault(),r("handle-scroll",$))},fe=$=>u.value.type==="local"?Fr($.value,{weekStartsOn:+o.weekStart}):u.value.type==="iso"?Pr($.value):typeof u.value.type=="function"?u.value.type($.value):"",R=$=>{const v=$[0];return u.value.hideOnOffsetDates?$.some(g=>g.current)?fe(v):"":fe(v)},ye=($,v,g=!0)=>{g&&Ss()||!g&&!Ss()||m.value.enabled||(ia($,l.value),r("select-date",v))},Z=$=>{ia($,l.value)},me=$=>{m.value.enabled&&m.value.dragSelect?(_.value=!0,r("select-date",$)):m.value.enabled&&r("select-date",$)};return a({triggerTransition:T}),($,v)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(S.value)},[t.createElementVNode("div",{ref_key:"calendarWrapRef",ref:k,class:t.normalizeClass(Y.value),role:"grid"},[t.createElementVNode("div",Bu,[$.weekNumbers?(t.openBlock(),t.createElementBlock("div",Au,t.toDisplayString($.weekNumName),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C.value,(g,N)=>{var L,F;return t.openBlock(),t.createElementBlock("div",{key:N,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(F=(L=t.unref(d))==null?void 0:L.weekDay)==null?void 0:F.call(L,N)},[$.$slots["calendar-header"]?t.renderSlot($.$slots,"calendar-header",{key:0,day:g,index:N}):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,Vu)}),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=>_.value=!1)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(E.value,(g,N)=>(t.openBlock(),t.createElementBlock("div",{key:N,class:"dp__calendar_row",role:"row"},[$.weekNumbers?(t.openBlock(),t.createElementBlock("div",Du,[t.createElementVNode("div",_u,t.toDisplayString(R(g.days)),1)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.days,(L,F)=>{var J,H,te;return t.openBlock(),t.createElementBlock("div",{id:t.unref(Os)(L.value),ref_for:!0,ref:ce=>M(ce,N,F),key:F+N,role:"gridcell",class:"dp__calendar_item","aria-pressed":(L.classData.dp__active_date||L.classData.dp__range_start||L.classData.dp__range_start)??void 0,"aria-disabled":L.classData.dp__cell_disabled||void 0,"aria-label":(H=(J=t.unref(d))==null?void 0:J.day)==null?void 0:H.call(J,L),tabindex:!L.current&&$.hideOffsetDates?void 0:0,"data-test":L.value,onClick:t.withModifiers(ce=>ye(ce,L),["prevent"]),onTouchend:ce=>ye(ce,L,!1),onKeydown:ce=>t.unref(wt)(ce,()=>$.$emit("select-date",L)),onMouseenter:ce=>de(L,N,F),onMouseleave:ce=>W(L),onMousedown:ce=>me(L),onMouseup:v[0]||(v[0]=ce=>_.value=!1)},[t.createElementVNode("div",{class:t.normalizeClass(["dp__cell_inner",L.classData])},[$.$slots.day&&I.value(L)?t.renderSlot($.$slots,"day",{key:0,day:+L.text,date:L.value}):t.createCommentVNode("",!0),$.$slots.day?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(L.text),1)],64)),L.marker&&I.value(L)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[$.$slots.marker?t.renderSlot($.$slots,"marker",{key:0,marker:L.marker,day:+L.text,date:L.value}):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(X.value(L.marker)),style:t.normalizeStyle(L.marker.color?{backgroundColor:L.marker.color}:{})},null,6))],64)):t.createCommentVNode("",!0),G.value(L.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=L.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(L.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:L.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(A.value)},null,4)])):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0)],2)],40,Nu)}),128))]))),128))],32)):t.createCommentVNode("",!0)]),_:3},8,["name","css"])],2)],2))}}),qs=e=>Array.isArray(e),Pu=(e,a,n,r)=>{const o=t.ref([]),i=t.ref(new Date),s=t.ref(),l=()=>D(e.isTextInputDate),{modelValue:d,calendars:p,time:u,today:m}=gn(e,a,l),{defaultedMultiCalendars:c,defaultedStartTime:f,defaultedRange:h,defaultedConfig:y,defaultedTz:k,propDates:x,defaultedMultiDates:w}=Ze(e),{validateMonthYearInRange:b,isDisabled:B,isDateRangeAllowed:A,checkMinMaxRange:_}=ua(e),{updateTimeValues:E,getSetDateTime:C,setTime:V,assignStartTime:T,validateTime:Y,disabledTimesConfig:X}=js(e,u,d,r),G=t.computed(()=>z=>p.value[z]?p.value[z].month:0),S=t.computed(()=>z=>p.value[z]?p.value[z].year:0),I=z=>!y.value.keepViewOnOffsetClick||z?!0:!s.value,j=(z,O,P,ee=!1)=>{var se,xe;I(ee)&&(p.value[z]||(p.value[z]={month:0,year:0}),p.value[z].month=vs(O)?(se=p.value[z])==null?void 0:se.month:O,p.value[z].year=vs(P)?(xe=p.value[z])==null?void 0:xe.year:P)},U=()=>{e.autoApply&&a("select-date")};t.onMounted(()=>{e.shadow||(d.value||($(),f.value&&T(f.value)),D(!0),e.focusStartDate&&e.startDate&&$())});const de=t.computed(()=>{var z;return(z=e.flow)!=null&&z.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),W=()=>{e.autoApply&&de.value&&a("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},D=(z=!1)=>{if(d.value)return Array.isArray(d.value)?(o.value=d.value,R(z)):K(d.value,z);if(c.value.count&&z&&!e.startDate)return ne(pe(),z)},ie=()=>Array.isArray(d.value)&&h.value.enabled?Oe(d.value[0])===Oe(d.value[1]??d.value[0]):!1,ne=(z=new Date,O=!1)=>{if((!c.value.count||!c.value.static||O)&&j(0,Oe(z),Ve(z)),c.value.count&&(!c.value.solo||!d.value||ie()))for(let P=1;P<c.value.count;P++){const ee=We(pe(),{month:G.value(P-1),year:S.value(P-1)}),se=zi(ee,{months:1});p.value[P]={month:Oe(se),year:Ve(se)}}},K=(z,O)=>{ne(z),V("hours",Zt(z)),V("minutes",oa(z)),V("seconds",La(z)),c.value.count&&O&&me()},M=z=>{if(c.value.count){if(c.value.solo)return 0;const O=Oe(z[0]),P=Oe(z[1]);return Math.abs(P-O)<c.value.count?0:1}return 1},Q=(z,O)=>{z[1]&&h.value.showLastInRange?ne(z[M(z)],O):ne(z[0],O);const P=(ee,se)=>[ee(z[0]),z[1]?ee(z[1]):u[se][1]];V("hours",P(Zt,"hours")),V("minutes",P(oa,"minutes")),V("seconds",P(La,"seconds"))},fe=(z,O)=>{if((h.value.enabled||e.weekPicker)&&!w.value.enabled)return Q(z,O);if(w.value.enabled&&O){const P=z[z.length-1];return K(P,O)}},R=z=>{const O=d.value;fe(O,z),c.value.count&&c.value.solo&&me()},ye=(z,O)=>{const P=We(pe(),{month:G.value(O),year:S.value(O)}),ee=z<0?Ft(P,1):Ra(P,1);b(Oe(ee),Ve(ee),z<0,e.preventMinMaxNavigation)&&(j(O,Oe(ee),Ve(ee)),a("update-month-year",{instance:O,month:Oe(ee),year:Ve(ee)}),c.value.count&&!c.value.solo&&Z(O),n())},Z=z=>{for(let O=z-1;O>=0;O--){const P=Ra(We(pe(),{month:G.value(O+1),year:S.value(O+1)}),1);j(O,Oe(P),Ve(P))}for(let O=z+1;O<=c.value.count-1;O++){const P=Ft(We(pe(),{month:G.value(O-1),year:S.value(O-1)}),1);j(O,Oe(P),Ve(P))}},me=()=>{if(Array.isArray(d.value)&&d.value.length===2){const z=pe(pe(d.value[1]?d.value[1]:Ft(d.value[0],1))),[O,P]=[Oe(d.value[0]),Ve(d.value[0])],[ee,se]=[Oe(d.value[1]),Ve(d.value[1])];(O!==ee||O===ee&&P!==se)&&c.value.solo&&j(1,Oe(z),Ve(z))}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&&Z(0))},v=(z,O)=>{if(e.monthChangeOnScroll){const P=new Date().getTime()-i.value.getTime(),ee=Math.abs(z.deltaY);let se=500;ee>1&&(se=100),ee>100&&(se=0),P>se&&(i.value=new Date,ye(e.monthChangeOnScroll!=="inverse"?-z.deltaY:z.deltaY,O))}},g=(z,O,P=!1)=>{e.monthChangeOnArrows&&e.vertical===P&&N(z,O)},N=(z,O)=>{ye(z==="right"?-1:1,O)},L=z=>{if(x.value.markers)return In(z.value,x.value.markers)},F=(z,O)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[z==0,!0];case"fair":return[z==0||O>z,!0];case"append":return[!1,!1];default:return[!1,!1]}},J=(z,O,P,ee)=>{if(e.sixWeeks&&z.length<6){const se=6-z.length,xe=(O.getDay()+7-ee)%7,Ae=6-(P.getDay()+7-ee)%7,[Ne,Pe]=F(xe,Ae);for(let je=1;je<=se;je++)if(Pe?!!(je%2)==Ne:Ne){const nt=z[0].days[0],bt=H(Ot(nt.value,-7),Oe(O));z.unshift({days:bt})}else{const nt=z[z.length-1],bt=nt.days[nt.days.length-1],lt=H(Ot(bt.value,1),Oe(O));z.push({days:lt})}}return z},H=(z,O)=>{const P=pe(z),ee=[];for(let se=0;se<7;se++){const xe=Ot(P,se),Ae=Oe(xe)!==O;ee.push({text:e.hideOffsetDates&&Ae?"":xe.getDate(),value:xe,current:!Ae,classData:{}})}return ee},te=(z,O)=>{const P=[],ee=new Date(O,z),se=new Date(O,z+1,0),xe=e.weekStart,Ae=Lt(ee,{weekStartsOn:xe}),Ne=Pe=>{const je=H(Pe,z);if(P.push({days:je}),!P[P.length-1].days.some(nt=>Fe(vt(nt.value),vt(se)))){const nt=Ot(Pe,7);Ne(nt)}};return Ne(Ae),J(P,ee,se,xe)},ce=z=>{const O=sa(pe(z.value),u.hours,u.minutes,Se());a("date-update",O),w.value.enabled?mo(O,d,w.value.limit):d.value=O,r(),t.nextTick().then(()=>{W()})},ge=z=>h.value.noDisabledRange?Vs(o.value[0],z).some(O=>B(O)):!1,be=()=>{o.value=d.value?d.value.slice():[],o.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(o.value=[])},ue=(z,O)=>{const P=[pe(z.value),Ot(pe(z.value),+h.value.autoRange)];A(P)?(O&&Me(z.value),o.value=P):a("invalid-date",z.value)},Me=z=>{const O=Oe(pe(z)),P=Ve(pe(z));if(j(0,O,P),c.value.count>0)for(let ee=1;ee<c.value.count;ee++){const se=S3(We(pe(z),{year:S.value(ee-1),month:G.value(ee-1)}));j(ee,se.month,se.year)}},De=z=>{if(ge(z.value)||!_(z.value,d.value,h.value.fixedStart?0:1))return a("invalid-date",z.value);o.value=zs(pe(z.value),d,a,h)},_e=(z,O)=>{if(be(),h.value.autoRange)return ue(z,O);if(h.value.fixedStart||h.value.fixedEnd)return De(z);o.value[0]?_(pe(z.value),d.value)&&!ge(z.value)?tt(pe(z.value),pe(o.value[0]))?(o.value.unshift(pe(z.value)),a("range-end",o.value[0])):(o.value[1]=pe(z.value),a("range-end",o.value[1])):(e.autoApply&&a("auto-apply-invalid",z.value),a("invalid-date",z.value)):(o.value[0]=pe(z.value),a("range-start",o.value[0]))},Se=(z=!0)=>e.enableSeconds?Array.isArray(u.seconds)?z?u.seconds[0]:u.seconds[1]:u.seconds:0,Le=z=>{o.value[z]=sa(o.value[z],u.hours[z],u.minutes[z],Se(z!==1))},Be=()=>{var z,O;o.value[0]&&o.value[1]&&+((z=o.value)==null?void 0:z[0])>+((O=o.value)==null?void 0:O[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(),Un(o.value,a,e.autoApply,e.modelAuto))},ae=(z,O=!1)=>{if(B(z.value)||!z.current&&e.hideOffsetDates)return a("invalid-date",z.value);if(s.value=JSON.parse(JSON.stringify(z)),!h.value.enabled)return ce(z);qs(u.hours)&&qs(u.minutes)&&!w.value.enabled&&(_e(z,O),q())},re=(z,O)=>{var P;j(z,O.month,O.year,!0),c.value.count&&!c.value.solo&&Z(z),a("update-month-year",{instance:z,month:O.month,year:O.year}),n(c.value.solo?z:void 0);const ee=(P=e.flow)!=null&&P.length?e.flow[e.flowStep]:void 0;!O.fromNav&&(ee===yt.month||ee===yt.year)&&r()},le=(z,O)=>{Rs({value:z,modelValue:d,range:h.value.enabled,timezone:O?void 0:k.value.timezone}),U(),e.multiCalendars&&t.nextTick().then(()=>D(!0))},Ee=()=>{const z=Yr(pe(),k.value);h.value.enabled?d.value&&Array.isArray(d.value)&&d.value[0]?d.value=tt(z,d.value[0])?[z,d.value[0]]:[d.value[0],z]:d.value=[z]:d.value=z,U()},he=()=>{if(Array.isArray(d.value))if(w.value.enabled){const z=ke();d.value[d.value.length-1]=C(z)}else d.value=d.value.map((z,O)=>z&&C(z,O));else d.value=C(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:G,year:S,time:u,disabledTimesConfig:X,today:m,validateTime:Y,getCalendarDays:te,getMarker:L,handleScroll:v,handleSwipe:N,handleArrow:g,selectDate:ae,updateMonthYear:re,presetDate:le,selectCurrentDate:Ee,updateTime:(z,O=!0,P=!1)=>{E(z,O,P,he)},assignMonthAndYear:ne}},Ou={key:0},Fu=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:s,year:l,modelValue:d,time:p,disabledTimesConfig:u,today:m,validateTime:c,getCalendarDays:f,getMarker:h,handleArrow:y,handleScroll:k,handleSwipe:x,selectDate:w,updateMonthYear:b,presetDate:B,selectCurrentDate:A,updateTime:_,assignMonthAndYear:E}=Pu(o,r,ie,ne),C=t.useSlots(),{setHoverDate:V,getDayClassData:T,clearHoverDate:Y}=Qu(d,o),{defaultedMultiCalendars:X}=Ze(o),G=t.ref([]),S=t.ref([]),I=t.ref(null),j=Vt(C,"calendar"),U=Vt(C,"monthYear"),de=Vt(C,"timePicker"),W=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(s.value(v),l.value(v)).map(g=>({...g,days:g.days.map(N=>(N.marker=h(N),N.classData=T(N),N))})));function ie(v){var g;v||v===0?(g=S.value[v])==null||g.triggerTransition(s.value(v),l.value(v)):S.value.forEach((N,L)=>N.triggerTransition(s.value(L),l.value(L)))}function ne(){r("update-flow-step")}const K=(v,g=!1)=>{w(v,g),o.spaceConfirm&&r("select-date")},M=(v,g,N=0)=>{var L;(L=G.value[N])==null||L.toggleMonthPicker(v,g)},Q=(v,g,N=0)=>{var L;(L=G.value[N])==null||L.toggleYearPicker(v,g)},fe=(v,g,N)=>{var L;(L=I.value)==null||L.toggleTimePicker(v,g,N)},R=(v,g)=>{var N;if(!o.range){const L=d.value?d.value:m,F=g?new Date(g):L,J=v?Lt(F,{weekStartsOn:1}):Ki(F,{weekStartsOn:1});w({value:J,current:Oe(F)===s.value(0),text:"",classData:{}}),(N=document.getElementById(Os(J)))==null||N.focus()}},ye=v=>{var g;(g=G.value[0])==null||g.handleMonthYearChange(v,!0)},Z=v=>{b(0,{month:s.value(0),year:l.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})},$=v=>{r("overlay-toggle",{open:!1,overlay:v}),r("focus-menu")};return a({clearHoverDate:Y,presetDate:B,selectCurrentDate:A,toggleMonthPicker:M,toggleYearPicker:Q,toggleTimePicker:fe,handleArrow:y,updateMonthYear:b,getSidebarProps:()=>({modelValue:d,month:s,year:l,time:p,updateTime:_,updateMonthYear:b,selectDate:w,presetDate:B}),changeMonth:ye,changeYear:Z,selectWeekDate:R}),(v,g)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(Yn,{"multi-calendars":t.unref(X).count,collapse:v.collapse},{default:t.withCtx(({instance:N,index:L})=>[v.disableMonthYearSelect?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(Mu,t.mergeProps({key:0,ref:F=>{F&&(G.value[L]=F)},months:t.unref(bs)(v.formatLocale,v.locale,v.monthNameFormat),years:t.unref(Xr)(v.yearRange,v.locale,v.reverseYears),month:t.unref(s)(N),year:t.unref(l)(N),instance:N},v.$props,{onMount:g[0]||(g[0]=F=>W(t.unref(Aa).header)),onResetFlow:g[1]||(g[1]=F=>v.$emit("reset-flow")),onUpdateMonthYear:F=>t.unref(b)(N,F),onOverlayClosed:$,onOverlayOpened:g[2]||(g[2]=F=>v.$emit("overlay-toggle",{open:!0,overlay:F}))}),t.createSlots({_:2},[t.renderList(t.unref(U),(F,J)=>({name:F,fn:t.withCtx(H=>[t.renderSlot(v.$slots,F,t.normalizeProps(t.guardReactiveProps(H)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),t.createVNode(Tu,t.mergeProps({ref:F=>{F&&(S.value[L]=F)},"mapped-dates":D.value(N),month:t.unref(s)(N),year:t.unref(l)(N),instance:N},v.$props,{onSelectDate:F=>t.unref(w)(F,N!==1),onHandleSpace:F=>K(F,N!==1),onSetHoverDate:g[3]||(g[3]=F=>t.unref(V)(F)),onHandleScroll:F=>t.unref(k)(F,N),onHandleSwipe:F=>t.unref(x)(F,N),onMount:g[4]||(g[4]=F=>W(t.unref(Aa).calendar)),onResetFlow:g[5]||(g[5]=F=>v.$emit("reset-flow")),onTooltipOpen:g[6]||(g[6]=F=>v.$emit("tooltip-open",F)),onTooltipClose:g[7]||(g[7]=F=>v.$emit("tooltip-close",F))}),t.createSlots({_:2},[t.renderList(t.unref(j),(F,J)=>({name:F,fn:t.withCtx(H=>[t.renderSlot(v.$slots,F,t.normalizeProps(t.guardReactiveProps({...H})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),v.enableTimePicker?(t.openBlock(),t.createElementBlock("div",Ou,[v.$slots["time-picker"]?t.renderSlot(v.$slots,"time-picker",t.normalizeProps(t.mergeProps({key:0},{time:t.unref(p),updateTime:t.unref(_)}))):(t.openBlock(),t.createBlock(Gs,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]=N=>W(t.unref(Aa).timePicker)),"onUpdate:hours":g[9]||(g[9]=N=>t.unref(_)(N)),"onUpdate:minutes":g[10]||(g[10]=N=>t.unref(_)(N,!1)),"onUpdate:seconds":g[11]||(g[11]=N=>t.unref(_)(N,!1,!0)),onResetFlow:g[12]||(g[12]=N=>v.$emit("reset-flow")),onOverlayClosed:g[13]||(g[13]=N=>me(N,!1)),onOverlayOpened:g[14]||(g[14]=N=>me(N,!0)),onAmPmChange:g[15]||(g[15]=N=>v.$emit("am-pm-change",N))}),t.createSlots({_:2},[t.renderList(t.unref(de),(N,L)=>({name:N,fn:t.withCtx(F=>[t.renderSlot(v.$slots,N,t.normalizeProps(t.guardReactiveProps(F)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):t.createCommentVNode("",!0)],64))}}),Lu=(e,a)=>{const n=t.ref(),{defaultedMultiCalendars:r,defaultedConfig:o,defaultedHighlight:i,defaultedRange:s,propDates:l,defaultedFilters:d,defaultedMultiDates:p}=Ze(e),{modelValue:u,year:m,month:c,calendars:f}=gn(e,a),{isDisabled:h}=ua(e),{selectYear:y,groupedYears:k,showYearPicker:x,isDisabled:w,toggleYearPicker:b,handleYearSelect:B,handleYear:A}=Is({modelValue:u,multiCalendars:r,range:s,highlight:i,calendars:f,propDates:l,month:c,year:m,filters:d,props:e,emit:a}),_=(I,j)=>[I,j].map(U=>Gt(U,"MMMM",{locale:e.formatLocale})).join("-"),E=t.computed(()=>I=>u.value?Array.isArray(u.value)?u.value.some(j=>ms(I,j)):ms(u.value,I):!1),C=I=>{if(s.value.enabled){if(Array.isArray(u.value)){const j=Fe(I,u.value[0])||Fe(I,u.value[1]);return Gn(u.value,n.value,I)&&!j}return!1}return!1},V=(I,j)=>I.quarter===Xi(j)&&I.year===Ve(j),T=I=>typeof i.value=="function"?i.value({quarter:Xi(I),year:Ve(I)}):!!i.value.quarters.find(j=>V(j,I)),Y=t.computed(()=>I=>{const j=We(new Date,{year:m.value(I)});return b2({start:sn(j),end:Qi(j)}).map(U=>{const de=Sa(U),W=Ji(U),D=h(U),ie=C(de),ne=T(de);return{text:_(de,W),value:de,active:E.value(de),highlighted:ne,disabled:D,isBetween:ie}})}),X=I=>{mo(I,u,p.value.limit),a("auto-apply",!0)},G=I=>{u.value=fo(u,I,a),Un(u.value,a,e.autoApply,e.modelAuto)},S=I=>{u.value=I,a("auto-apply")};return{defaultedConfig:o,defaultedMultiCalendars:r,groupedYears:k,year:m,isDisabled:w,quarters:Y,showYearPicker:x,modelValue:u,setHoverDate:I=>{n.value=I},selectYear:y,selectQuarter:(I,j,U)=>{if(!U)return f.value[j].month=Oe(Ji(I)),p.value.enabled?X(I):s.value.enabled?G(I):S(I)},toggleYearPicker:b,handleYearSelect:B,handleYear:A}},$u={class:"dp--quarter-items"},Hu=["data-test","disabled","onClick","onMouseover"],Ru=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(),s=Vt(i,"yearMode"),{defaultedMultiCalendars:l,defaultedConfig:d,groupedYears:p,year:u,isDisabled:m,quarters:c,modelValue:f,showYearPicker:h,setHoverDate:y,selectQuarter:k,toggleYearPicker:x,handleYearSelect:w,handleYear:b}=Lu(o,r);return a({getSidebarProps:()=>({modelValue:f,year:u,selectQuarter:k,handleYearSelect:w,handleYear:b})}),(B,A)=>(t.openBlock(),t.createBlock(Yn,{"multi-calendars":t.unref(l).count,collapse:B.collapse,stretch:""},{default:t.withCtx(({instance:_})=>[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(Hs,t.mergeProps(B.$props,{items:t.unref(p)(_),instance:_,"show-year-picker":t.unref(h)[_],year:t.unref(u)(_),"is-disabled":E=>t.unref(m)(_,E),onHandleYear:E=>t.unref(b)(_,E),onYearSelect:E=>t.unref(w)(E,_),onToggleYearPicker:E=>t.unref(x)(_,E==null?void 0:E.flow,E==null?void 0:E.show)}),t.createSlots({_:2},[t.renderList(t.unref(s),(E,C)=>({name:E,fn:t.withCtx(V=>[t.renderSlot(B.$slots,E,t.normalizeProps(t.guardReactiveProps(V)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),t.createElementVNode("div",$u,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(c)(_),(E,C)=>(t.openBlock(),t.createElementBlock("div",{key:C},[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:V=>t.unref(k)(E.value,_,E.disabled),onMouseover:V=>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,Hu)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),zu=["id","tabindex","role","aria-label"],Iu={key:0,class:"dp--menu-load-container"},Gu={key:1,class:"dp--menu-header"},ju={key:0,class:"dp__sidebar_left"},qu=["data-test","onClick","onKeydown"],Wu={key:2,class:"dp__sidebar_right"},Yu={key:3,class:"dp__action_extra"},Ws=t.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Wn,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),s=t.computed(()=>{const{openOnTop:H,...te}=o;return{...te,flowStep:V.value,collapse:o.collapse,noOverlayFocus:o.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:d,control:p}=Fs(),u=t.useSlots(),{defaultedTextInput:m,defaultedInline:c,defaultedConfig:f,defaultedUI:h}=Ze(o),y=t.ref(null),k=t.ref(0),x=t.ref(null),w=t.ref(!1),b=t.ref(null);t.onMounted(()=>{if(!o.shadow){w.value=!0,B(),window.addEventListener("resize",B);const H=ct(i);if(H&&!m.value.enabled&&!c.value.enabled&&(l(!0),j()),H){const te=ce=>{f.value.allowPreventDefault&&ce.preventDefault(),ia(ce,f.value,!0)};H.addEventListener("pointerdown",te),H.addEventListener("mousedown",te)}}}),t.onUnmounted(()=>{window.removeEventListener("resize",B)});const B=()=>{const H=ct(x);H&&(k.value=H.getBoundingClientRect().width)},{arrowRight:A,arrowLeft:_,arrowDown:E,arrowUp:C}=ca(),{flowStep:V,updateFlowStep:T,childMount:Y,resetFlow:X,handleFlow:G}=Ku(o,r,b),S=t.computed(()=>o.monthPicker?ou:o.yearPicker?su:o.timePicker?xu:o.quarterPicker?Ru:Fu),I=t.computed(()=>{var H;if(f.value.arrowLeft)return f.value.arrowLeft;const te=(H=i.value)==null?void 0:H.getBoundingClientRect(),ce=o.getInputRect();return(ce==null?void 0:ce.width)<(k==null?void 0:k.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)<(k==null?void 0:k.value)?`${(k==null?void 0:k.value)-(ce==null?void 0:ce.width)/2}px`:"50%"}),j=()=>{const H=ct(i);H&&H.focus({preventScroll:!0})},U=t.computed(()=>{var H;return((H=b.value)==null?void 0:H.getSidebarProps())||{}}),de=()=>{o.openOnTop&&r("recalculate-position")},W=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??{}})),M=H=>{ia(H,f.value,!0)},Q=()=>{o.escClose&&r("close-picker")},fe=H=>{if(o.arrowNavigation){if(H===xt.up)return C();if(H===xt.down)return E();if(H===xt.left)return _();if(H===xt.right)return A()}else H===xt.left||H===xt.up?$("handleArrow",xt.left,0,H===xt.up):$("handleArrow",xt.right,0,H===xt.down)},R=H=>{d(H.shiftKey),!o.disableMonthYearSelect&&H.code===Ue.tab&&H.target.classList.contains("dp__menu")&&p.value.shiftKeyInMenu&&(H.preventDefault(),ia(H,f.value,!0),r("close-picker"))},ye=()=>{j(),r("time-picker-close")},Z=H=>{var te,ce,ge;(te=b.value)==null||te.toggleTimePicker(!1,!1),(ce=b.value)==null||ce.toggleMonthPicker(!1,!1,H),(ge=b.value)==null||ge.toggleYearPicker(!1,!1,H)},me=(H,te=0)=>{var ce,ge,be;return H==="month"?(ce=b.value)==null?void 0:ce.toggleMonthPicker(!1,!0,te):H==="year"?(ge=b.value)==null?void 0:ge.toggleYearPicker(!1,!0,te):H==="time"?(be=b.value)==null?void 0:be.toggleTimePicker(!0,!1):Z(te)},$=(H,...te)=>{var ce,ge;(ce=b.value)!=null&&ce[H]&&((ge=b.value)==null||ge[H](...te))},v=()=>{$("selectCurrentDate")},g=(H,te)=>{$("presetDate",H,te)},N=()=>{$("clearHoverDate")},L=(H,te)=>{$("updateMonthYear",H,te)},F=(H,te)=>{H.preventDefault(),fe(te)},J=H=>{var te,ce,ge;if(R(H),H.key===Ue.home||H.key===Ue.end)return $("selectWeekDate",H.key===Ue.home,H.target.getAttribute("id"));switch((H.key===Ue.pageUp||H.key===Ue.pageDown)&&(H.shiftKey?($("changeYear",H.key===Ue.pageUp),(te=Qr(i.value,"overlay-year"))==null||te.focus()):($("changeMonth",H.key===Ue.pageUp),(ce=Qr(i.value,H.key===Ue.pageUp?"action-prev":"action-next"))==null||ce.focus()),H.target.getAttribute("id")&&((ge=i.value)==null||ge.focus({preventScroll:!0}))),H.key){case Ue.esc:return Q();case Ue.arrowLeft:return F(H,xt.left);case Ue.arrowRight:return F(H,xt.right);case Ue.arrowUp:return F(H,xt.up);case Ue.arrowDown:return F(H,xt.down);default:return}};return a({updateMonthYear:L,switchView:me,handleFlow:G}),(H,te)=>{var ce,ge,be;return t.openBlock(),t.createElementBlock("div",{id:H.uid?`dp-menu-${H.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=H.ariaLabels)==null?void 0:ce.menu,class:t.normalizeClass(K.value),style:t.normalizeStyle({"--dp-arrow-left":I.value}),onMouseleave:N,onClick:M,onKeydown:J},[(H.disabled||H.readonly)&&t.unref(c).enabled||H.loading?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(ne.value)},[H.loading?(t.openBlock(),t.createElementBlock("div",Iu,te[19]||(te[19]=[t.createElementVNode("span",{class:"dp--menu-loader"},null,-1)]))):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),H.$slots["menu-header"]?(t.openBlock(),t.createElementBlock("div",Gu,[t.renderSlot(H.$slots,"menu-header")])):t.createCommentVNode("",!0),!t.unref(c).enabled&&!H.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=H.presetDates)==null?void 0:ge.length)||!!H.$slots["left-sidebar"]||!!H.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((be=H.presetDates)==null?void 0:be.length)||!!H.$slots["left-sidebar"]||!!H.$slots["right-sidebar"])}),style:t.normalizeStyle({"--dp-menu-width":`${k.value}px`})},[H.$slots["left-sidebar"]?(t.openBlock(),t.createElementBlock("div",ju,[t.renderSlot(H.$slots,"left-sidebar",t.normalizeProps(t.guardReactiveProps(U.value)))])):t.createCommentVNode("",!0),H.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(H.presetDates,(ue,Me)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:Me},[ue.slot?t.renderSlot(H.$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(De=>g(ue.value,ue.noTz),["prevent"]),onKeydown:De=>t.unref(wt)(De,()=>g(ue.value,ue.noTz),!0)},t.toDisplayString(ue.label),47,qu))],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:b},s.value,{"flow-step":t.unref(V),onMount:t.unref(Y),onUpdateFlowStep:t.unref(T),onResetFlow:t.unref(X),onFocusMenu:j,onSelectDate:te[0]||(te[0]=ue=>H.$emit("select-date")),onDateUpdate:te[1]||(te[1]=ue=>H.$emit("date-update",ue)),onTooltipOpen:te[2]||(te[2]=ue=>H.$emit("tooltip-open",ue)),onTooltipClose:te[3]||(te[3]=ue=>H.$emit("tooltip-close",ue)),onAutoApply:te[4]||(te[4]=ue=>H.$emit("auto-apply",ue)),onRangeStart:te[5]||(te[5]=ue=>H.$emit("range-start",ue)),onRangeEnd:te[6]||(te[6]=ue=>H.$emit("range-end",ue)),onInvalidFixedRange:te[7]||(te[7]=ue=>H.$emit("invalid-fixed-range",ue)),onTimeUpdate:te[8]||(te[8]=ue=>H.$emit("time-update")),onAmPmChange:te[9]||(te[9]=ue=>H.$emit("am-pm-change",ue)),onTimePickerOpen:te[10]||(te[10]=ue=>H.$emit("time-picker-open",ue)),onTimePickerClose:ye,onRecalculatePosition:de,onUpdateMonthYear:te[11]||(te[11]=ue=>H.$emit("update-month-year",ue)),onAutoApplyInvalid:te[12]||(te[12]=ue=>H.$emit("auto-apply-invalid",ue)),onInvalidDate:te[13]||(te[13]=ue=>H.$emit("invalid-date",ue)),onOverlayToggle:te[14]||(te[14]=ue=>H.$emit("overlay-toggle",ue)),"onUpdate:internalModelValue":te[15]||(te[15]=ue=>H.$emit("update:internal-model-value",ue))}),t.createSlots({_:2},[t.renderList(D.value,(ue,Me)=>({name:ue,fn:t.withCtx(De=>[t.renderSlot(H.$slots,ue,t.normalizeProps(t.guardReactiveProps({...De})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),H.$slots["right-sidebar"]?(t.openBlock(),t.createElementBlock("div",Wu,[t.renderSlot(H.$slots,"right-sidebar",t.normalizeProps(t.guardReactiveProps(U.value)))])):t.createCommentVNode("",!0),H.$slots["action-extra"]?(t.openBlock(),t.createElementBlock("div",Yu,[H.$slots["action-extra"]?t.renderSlot(H.$slots,"action-extra",{key:0,selectCurrentDate:v}):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],6),!H.autoApply||t.unref(f).keepActionRow?(t.openBlock(),t.createBlock(Q3,t.mergeProps({key:3,"menu-mount":w.value},s.value,{"calendar-width":k.value,onClosePicker:te[16]||(te[16]=ue=>H.$emit("close-picker")),onSelectDate:te[17]||(te[17]=ue=>H.$emit("select-date")),onInvalidSelect:te[18]||(te[18]=ue=>H.$emit("invalid-select")),onSelectNow:v}),t.createSlots({_:2},[t.renderList(t.unref(W),(ue,Me)=>({name:ue,fn:t.withCtx(De=>[t.renderSlot(H.$slots,ue,t.normalizeProps(t.guardReactiveProps({...De})))])}))]),1040,["menu-mount","calendar-width"])):t.createCommentVNode("",!0)],46,zu)}}});var qa=(e=>(e.center="center",e.left="left",e.right="right",e))(qa||{});const Uu=({menuRef:e,menuRefInner:a,inputRef:n,pickerWrapperRef:r,inline:o,emit:i,props:s,slots:l})=>{const{defaultedConfig:d}=Ze(s),p=t.ref({}),u=t.ref(!1),m=t.ref({top:"0",left:"0"}),c=t.ref(!1),f=t.toRef(s,"teleportCenter");t.watch(f,()=>{m.value=JSON.parse(JSON.stringify({})),A()});const h=j=>{if(s.teleport){const U=j.getBoundingClientRect();return{left:U.left+window.scrollX,top:U.top+window.scrollY}}return{top:0,left:0}},y=(j,U)=>{m.value.left=`${j+U-p.value.width}px`},k=j=>{m.value.left=`${j}px`},x=(j,U)=>{s.position===qa.left&&k(j),s.position===qa.right&&y(j,U),s.position===qa.center&&(m.value.left=`${j+U/2-p.value.width/2}px`)},w=j=>{const{width:U,height:de}=j.getBoundingClientRect(),{top:W,left:D}=s.altPosition?s.altPosition(j):h(j);return{top:+W,left:+D,width:U,height:de}},b=()=>{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:U,left:de,transform:W}=s.altPosition(j);m.value={top:`${U}px`,left:`${de}px`,transform:W??""}},A=(j=!0)=>{var U;if(!o.value.enabled){if(f.value)return b();if(s.altPosition!==null)return B();if(j){const de=s.teleport?(U=a.value)==null?void 0:U.$el:e.value;de&&(p.value=de.getBoundingClientRect()),i("recalculate-position")}return X()}},_=({inputEl:j,left:U,width:de})=>{window.screen.width>768&&!u.value&&x(U,de),V(j)},E=j=>{const{top:U,left:de,height:W,width:D}=w(j);m.value.top=`${W+U+ +s.offset}px`,c.value=!1,u.value||(m.value.left=`${de+D/2-p.value.width/2}px`),_({inputEl:j,left:de,width:D})},C=j=>{const{top:U,left:de,width:W}=w(j);m.value.top=`${U-+s.offset-p.value.height}px`,c.value=!0,_({inputEl:j,left:de,width:W})},V=j=>{if(s.autoPosition){const{left:U,width:de}=w(j),{left:W,right:D}=p.value;if(!u.value){if(Math.abs(W)!==Math.abs(D)){if(W<=0)return u.value=!0,k(U);if(D>=document.documentElement.clientWidth)return u.value=!0,y(U,de)}return x(U,de)}}},T=()=>{const j=ct(n);if(j){const{height:U}=p.value,{top:de,height:W}=j.getBoundingClientRect(),D=window.innerHeight-de-W,ie=de;return U<=D?Ba.bottom:U>D&&U<=ie?Ba.top:D>=ie?Ba.bottom:Ba.top}return Ba.bottom},Y=j=>T()===Ba.bottom?E(j):C(j),X=()=>{const j=ct(n);if(j)return s.autoPosition?Y(j):E(j)},G=function(j){if(j){const U=j.scrollHeight>j.clientHeight,de=window.getComputedStyle(j).overflowY.indexOf("hidden")!==-1;return U&&!de}return!0},S=function(j){return!j||j===document.body||j.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:G(j)?j:S(j.assignedSlot&&d.value.shadowDom?j.assignedSlot.parentNode:j.parentNode)},I=j=>{if(j)switch(s.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:A,getScrollableParent:S,shadowRender:(j,U)=>{var de,W,D;const ie=document.createElement("div"),ne=(de=ct(n))==null?void 0:de.getBoundingClientRect();ie.setAttribute("id","dp--temp-container");const K=(W=r.value)!=null&&W.clientWidth?r.value:document.body;K.append(ie);const M=I(ne),Q=d.value.shadowDom?Object.keys(l).filter(R=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(R)):Object.keys(l),fe=t.h(j,{...U,shadow:!0,style:{opacity:0,position:"absolute",...M}},Object.fromEntries(Q.map(R=>[R,l[R]])));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"]}],Xu=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],Zu={all:()=>da,monthYear:()=>da.filter(e=>e.use.includes("month-year")),input:()=>Xu,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 Zu[a]().forEach(o=>{e[o.name]&&r.push(o.name)}),n!=null&&n.length&&n.forEach(o=>{o.slot&&r.push(o.slot)}),r},pn=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}},gn=(e,a,n)=>{const{defaultedRange:r,defaultedTz:o}=Ze(e),i=pe(At(pe(),o.value.timezone)),s=t.ref([{month:Oe(i),year:Ve(i)}]),l=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:l("hours"),minutes:l("minutes"),seconds:l("seconds")});t.watch(r,(c,f)=>{c.enabled!==f.enabled&&(d.hours=l("hours"),d.minutes=l("minutes"),d.seconds=l("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=>s.value[c]?s.value[c].month:0),m=t.computed(()=>c=>s.value[c]?s.value[c].year:0);return t.watch(p,(c,f)=>{n&&JSON.stringify(c??{})!==JSON.stringify(f??{})&&n()},{deep:!0}),{calendars:s,time:d,modelValue:p,month:u,year:m,today:i}},Qu=(e,a)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedUI:o,defaultedHighlight:i,defaultedTz:s,propDates:l,defaultedRange:d}=Ze(a),{isDisabled:p}=ua(a),u=t.ref(null),m=t.ref(At(new Date,s.value.timezone)),c=M=>{!M.current&&a.hideOffsetDates||(u.value=M.value)},f=()=>{u.value=null},h=M=>Array.isArray(e.value)&&d.value.enabled&&e.value[0]&&u.value?M?it(u.value,e.value[0]):tt(u.value,e.value[0]):!0,y=(M,Q)=>{const fe=()=>e.value?Q?e.value[0]||null:e.value[1]:null,R=e.value&&Array.isArray(e.value)?fe():null;return Fe(pe(M.value),R)},k=M=>{const Q=Array.isArray(e.value)?e.value[0]:null;return M?!tt(u.value??null,Q):!0},x=(M,Q=!0)=>(d.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!M.current?!1:Fe(pe(M.value),e.value[Q?0:1]):d.value.enabled?y(M,Q)&&k(Q)||Fe(M.value,Array.isArray(e.value)?e.value[0]:null)&&h(Q):!1,w=(M,Q)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const fe=Fe(M.value,u.value);return Q?it(e.value[0],M.value)&&fe:tt(e.value[0],M.value)&&fe}return!1},b=M=>!e.value||a.hideOffsetDates&&!M.current?!1:d.value.enabled?a.modelAuto&&Array.isArray(e.value)?Fe(M.value,e.value[0]?e.value[0]:m.value):!1:r.value.enabled&&Array.isArray(e.value)?e.value.some(Q=>Fe(Q,M.value)):Fe(M.value,e.value?e.value:m.value),B=M=>{if(d.value.autoRange||a.weekPicker){if(u.value){if(a.hideOffsetDates&&!M.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(M.value)):Fe(Q,pe(M.value))}return!1}return!1},A=M=>{if(d.value.autoRange||a.weekPicker){if(u.value){const Q=Ot(u.value,+d.value.autoRange);if(a.hideOffsetDates&&!M.current)return!1;const fe=Qt(pe(u.value),a.weekStart);return a.weekPicker?it(M.value,fe[0])&&tt(M.value,fe[1]):it(M.value,u.value)&&tt(M.value,Q)}return!1}return!1},_=M=>{if(d.value.autoRange||a.weekPicker){if(u.value){if(a.hideOffsetDates&&!M.current)return!1;const Q=Qt(pe(u.value),a.weekStart);return a.weekPicker?Fe(Q[0],M.value):Fe(u.value,M.value)}return!1}return!1},E=M=>Gn(e.value,u.value,M.value),C=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,V=()=>a.modelAuto?xs(a.internalModelValue):!0,T=M=>{if(a.weekPicker)return!1;const Q=d.value.enabled?!x(M)&&!x(M,!1):!0;return!p(M.value)&&!b(M)&&!(!M.current&&a.hideOffsetDates)&&Q},Y=M=>d.value.enabled?a.modelAuto?C()&&b(M):!1:b(M),X=M=>i.value?v3(M.value,l.value.highlight):!1,G=M=>{const Q=p(M.value);return Q&&(typeof i.value=="function"?!i.value(M.value,Q):!i.value.options.highlightDisabled)},S=M=>{var Q;return typeof i.value=="function"?i.value(M.value):(Q=i.value.weekdays)==null?void 0:Q.includes(M.value.getDay())},I=M=>(d.value.enabled||a.weekPicker)&&(!(n.value.count>0)||M.current)&&V()&&!(!M.current&&a.hideOffsetDates)&&!b(M)?E(M):!1,j=M=>{const{isRangeStart:Q,isRangeEnd:fe}=D(M),R=d.value.enabled?Q||fe:!1;return{dp__cell_offset:!M.current,dp__pointer:!a.disabled&&!(!M.current&&a.hideOffsetDates)&&!p(M.value),dp__cell_disabled:p(M.value),dp__cell_highlight:!G(M)&&(X(M)||S(M))&&!Y(M)&&!R&&!_(M)&&!(I(M)&&a.weekPicker)&&!fe,dp__cell_highlight_active:!G(M)&&(X(M)||S(M))&&Y(M),dp__today:!a.noToday&&Fe(M.value,m.value)&&M.current,"dp--past":tt(M.value,m.value),"dp--future":it(M.value,m.value)}},U=M=>({dp__active_date:Y(M),dp__date_hover:T(M)}),de=M=>{if(e.value&&!Array.isArray(e.value)){const Q=Qt(e.value,a.weekStart);return{...ne(M),dp__range_start:Fe(Q[0],M.value),dp__range_end:Fe(Q[1],M.value),dp__range_between_week:it(M.value,Q[0])&&tt(M.value,Q[1])}}return{...ne(M)}},W=M=>{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(M),dp__range_start:Fe(Q[0],M.value)||Fe(fe[0],M.value),dp__range_end:Fe(Q[1],M.value)||Fe(fe[1],M.value),dp__range_between_week:it(M.value,Q[0])&&tt(M.value,Q[1])||it(M.value,fe[0])&&tt(M.value,fe[1]),dp__range_between:it(M.value,Q[1])&&tt(M.value,fe[0])}}return{...ne(M)}},D=M=>{const Q=n.value.count>0?M.current&&x(M)&&V():x(M)&&V(),fe=n.value.count>0?M.current&&x(M,!1)&&V():x(M,!1)&&V();return{isRangeStart:Q,isRangeEnd:fe}},ie=M=>{const{isRangeStart:Q,isRangeEnd:fe}=D(M);return{dp__range_start:Q,dp__range_end:fe,dp__range_between:I(M),dp__date_hover:Fe(M.value,u.value)&&!Q&&!fe&&!a.weekPicker,dp__date_hover_start:w(M,!0),dp__date_hover_end:w(M,!1)}},ne=M=>({...ie(M),dp__cell_auto_range:A(M),dp__cell_auto_range_start:_(M),dp__cell_auto_range_end:B(M)}),K=M=>d.value.enabled?d.value.autoRange?ne(M):a.modelAuto?{...U(M),...ie(M)}:a.weekPicker?W(M):ie(M):a.weekPicker?de(M):U(M);return{setHoverDate:c,clearHoverDate:f,getDayClassData:M=>a.hideOffsetDates&&!M.current?{}:{...j(M),...K(M),[a.dayClass?a.dayClass(M.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)):!!In(S,r.value.disabledDates):!1,s=S=>r.value.maxDate?e.yearPicker?Ve(S)>Ve(r.value.maxDate):it(S,r.value.maxDate):!1,l=S=>r.value.minDate?e.yearPicker?Ve(S)<Ve(r.value.minDate):tt(S,r.value.minDate):!1,d=S=>{const I=s(S),j=l(S),U=i(S),de=a.value.months.map(K=>+K).includes(Oe(S)),W=e.disabledWeekDays.length?e.disabledWeekDays.some(K=>+K===dd(S)):!1,D=f(S),ie=Ve(S),ne=ie<+e.yearRange[0]||ie>+e.yearRange[1];return!(I||j||U||de||ne||W||D)},p=(S,I)=>tt(...la(r.value.minDate,S,I))||Fe(...la(r.value.minDate,S,I)),u=(S,I)=>it(...la(r.value.maxDate,S,I))||Fe(...la(r.value.maxDate,S,I)),m=(S,I,j)=>{let U=!1;return r.value.maxDate&&j&&u(S,I)&&(U=!0),r.value.minDate&&!j&&p(S,I)&&(U=!0),U},c=(S,I,j,U)=>{let de=!1;return U&&(r.value.minDate||r.value.maxDate)?r.value.minDate&&r.value.maxDate?de=m(S,I,j):(r.value.minDate&&p(S,I)||r.value.maxDate&&u(S,I))&&(de=!0):de=!0,de},f=S=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!In(S,r.value.allowedDates):!1,h=S=>!d(S),y=S=>n.value.noDisabledRange?!Zi({start:S[0],end:S[1]}).some(I=>h(I)):!0,k=S=>{if(S){const I=Ve(S);return I>=+e.yearRange[0]&&I<=e.yearRange[1]}return!0},x=(S,I)=>!!(Array.isArray(S)&&S[I]&&(n.value.maxRange||n.value.minRange)&&k(S[I])),w=(S,I,j=0)=>{if(x(I,j)&&k(S)){const U=Wi(S,I[j]),de=Vs(I[j],S),W=de.length===1?0:de.filter(ie=>h(ie)).length,D=Math.abs(U)-(n.value.minMaxRawRange?0:W);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},b=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,B=S=>Array.isArray(S)?[S[0]?ro(S[0]):null,S[1]?ro(S[1]):null]:ro(S),A=(S,I,j)=>S.find(U=>+U.hours===Zt(I)&&U.minutes==="*"?!0:+U.minutes===oa(I)&&+U.hours===Zt(I))&&j,_=(S,I,j)=>{const[U,de]=S,[W,D]=I;return!A(U,W,j)&&!A(de,D,j)&&j},E=(S,I)=>{const j=Array.isArray(I)?I:[I];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?_(e.disabledTimes,j,S):!j.some(U=>A(e.disabledTimes,U,S)):S},C=(S,I)=>{const j=Array.isArray(I)?[Va(I[0]),I[1]?Va(I[1]):void 0]:Va(I),U=!e.disabledTimes(j);return S&&U},V=(S,I)=>e.disabledTimes?Array.isArray(e.disabledTimes)?E(I,S):C(I,S):I,T=S=>{let I=!0;if(!S||b())return!0;const j=!r.value.minDate&&!r.value.maxDate?B(S):S;return(e.maxTime||r.value.maxDate)&&(I=Ts(e.maxTime,r.value.maxDate,"max",mt(j),I)),(e.minTime||r.value.minDate)&&(I=Ts(e.minTime,r.value.minDate,"min",mt(j),I)),V(S,I)},Y=S=>{if(!e.monthPicker)return!0;let I=!0;const j=pe(Ht(S));if(r.value.minDate&&r.value.maxDate){const U=pe(Ht(r.value.minDate)),de=pe(Ht(r.value.maxDate));return it(j,U)&&tt(j,de)||Fe(j,U)||Fe(j,de)}if(r.value.minDate){const U=pe(Ht(r.value.minDate));I=it(j,U)||Fe(j,U)}if(r.value.maxDate){const U=pe(Ht(r.value.maxDate));I=tt(j,U)||Fe(j,U)}return I},X=t.computed(()=>S=>!e.enableTimePicker||e.ignoreTimeValidation?!0:T(S)),G=t.computed(()=>S=>e.monthPicker?Array.isArray(S)&&(n.value.enabled||o.value.enabled)?!S.filter(I=>!Y(I)).length:Y(S):!0);return{isDisabled:h,validateDate:d,validateMonthYearInRange:c,isDateRangeAllowed:y,checkMinMaxRange:w,isValidTime:T,isTimeValid:X,isMonthValid:G}},Xn=()=>{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}},Ku=(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),s=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()}},l=()=>{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:s,updateFlowStep:l,resetFlow:d,handleFlow:u,flowStep:r}},Ju={key:1,class:"dp__input_wrap"},e4=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],t4={key:2,class:"dp--clear-btn"},a4=["aria-label"],n4=t.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Wn},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:s,defaultedInline:l,defaultedConfig:d,defaultedRange:p,defaultedMultiDates:u,defaultedUI:m,getDefaultPattern:c,getDefaultStartTime:f}=Ze(o),{checkMinMaxRange:h}=ua(o),y=t.ref(),k=t.ref(null),x=t.ref(!1),w=t.ref(!1),b=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)},A=D=>{const ie=f();return E3(D,i.value.format??c(),ie??Ds({},o.enableSeconds),o.inputValue,w.value,o.formatLocale)},_=D=>{const{rangeSeparator:ie}=i.value,[ne,K]=D.split(`${ie}`);if(ne){const M=A(ne.trim()),Q=K?A(K.trim()):null;if($a(M,Q))return;const fe=M&&Q?[M,Q]:[M];h(Q,fe,0)&&(y.value=M?fe:null)}},E=()=>{w.value=!0},C=D=>{if(p.value.enabled)_(D);else if(u.value.enabled){const ie=D.split(";");y.value=ie.map(ne=>A(ne.trim())).filter(ne=>ne)}else y.value=A(D)},V=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"),C(ne),r("set-input-date",y.value)):B(),w.value=!1,r("update:input-value",ne),r("text-input",D,y.value)},T=D=>{i.value.enabled?(C(D.target.value),i.value.enterSubmit&&to(y.value)&&o.inputValue!==""?(r("set-input-date",y.value,!0),y.value=null):i.value.enterSubmit&&o.inputValue===""&&(y.value=null,r("clear"))):G(D)},Y=(D,ie)=>{i.value.enabled&&i.value.tabSubmit&&!ie&&C(D.target.value),i.value.tabSubmit&&to(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=k.value)==null||D.select())})},G=D=>{if(ia(D,d.value,!0),i.value.enabled&&i.value.openMenu&&!l.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||l.value.enabled&&l.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")},j=D=>{if(D.key==="Tab"&&Y(D),D.key==="Enter"&&T(D),!i.value.enabled){if(D.code==="Tab")return;D.preventDefault()}},U=()=>{var D;(D=k.value)==null||D.focus({preventScroll:!0})},de=D=>{y.value=D},W=D=>{D.key===Ue.tab&&Y(D,!0)};return a({focusInput:U,setParsedDate:de}),(D,ie)=>{var ne,K,M;return t.openBlock(),t.createElementBlock("div",{onClick:G},[D.$slots.trigger&&!D.$slots["dp-input"]&&!t.unref(l).enabled?t.renderSlot(D.$slots,"trigger",{key:0}):t.createCommentVNode("",!0),!D.$slots.trigger&&(!t.unref(l).enabled||t.unref(l).input)?(t.openBlock(),t.createElementBlock("div",Ju,[D.$slots["dp-input"]&&!D.$slots.trigger&&(!t.unref(l).enabled||t.unref(l).enabled&&t.unref(l).input)?t.renderSlot(D.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:V,onEnter:T,onTab:Y,onClear:I,onBlur:S,onKeypress:j,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:k,"data-test":"dp-input",name:D.name,class:t.normalizeClass(b.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(s))==null?void 0:ne.input,"aria-disabled":D.disabled||void 0,"aria-invalid":D.state===!1?!0:void 0,onInput:V,onBlur:S,onFocus:X,onKeypress:j,onKeydown:ie[0]||(ie[0]=Q=>j(Q)),onPaste:E},null,42,e4)),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(s))==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",t4,[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":(M=t.unref(s))==null?void 0:M.clearInput,class:"dp--clear-btn",type:"button",onKeydown:ie[4]||(ie[4]=Q=>t.unref(wt)(Q,()=>I(Q),!0,W)),onClick:ie[5]||(ie[5]=t.withModifiers(Q=>I(Q),["prevent"]))},[t.createVNode(t.unref(ys),{class:"dp__input_icons","data-test":"clear-icon"})],40,a4)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])}}}),r4=typeof window<"u"?window:void 0,ho=()=>{},o4=e=>t.getCurrentScope()?(t.onScopeDispose(e),!0):!1,i4=(e,a,n,r)=>{if(!e)return ho;let o=ho;const i=t.watch(()=>t.unref(e),l=>{o(),l&&(l.addEventListener(a,n,r),o=()=>{l.removeEventListener(a,n,r),o=ho})},{immediate:!0,flush:"post"}),s=()=>{i(),o()};return o4(s),s},s4=(e,a,n,r={})=>{const{window:o=r4,event:i="pointerdown"}=r;return o?i4(o,i,s=>{const l=ct(e),d=ct(a);!l||!d||l===s.target||s.composedPath().includes(l)||s.composedPath().includes(d)||n(s)},{passive:!0}):void 0},l4=t.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Wn},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(),s=t.ref(!1),l=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),k=t.ref(!1),x=t.ref(!1),{setMenuFocused:w,setShiftKey:b}=Fs(),{clearArrowNav:B}=ca(),{validateDate:A,isValidTime:_}=ua(o),{defaultedTransitions:E,defaultedTextInput:C,defaultedInline:V,defaultedConfig:T,defaultedRange:Y,defaultedMultiDates:X}=Ze(o),{menuTransition:G,showTransition:S}=pn(E);t.onMounted(()=>{Q(o.modelValue),t.nextTick().then(()=>{if(!V.value.enabled){const P=ie(f.value);P==null||P.addEventListener("scroll",L),window==null||window.addEventListener("resize",F)}}),V.value.enabled&&(s.value=!0),window==null||window.addEventListener("keyup",J),window==null||window.addEventListener("keydown",H)}),t.onUnmounted(()=>{if(!V.value.enabled){const P=ie(f.value);P==null||P.removeEventListener("scroll",L),window==null||window.removeEventListener("resize",F)}window==null||window.removeEventListener("keyup",J),window==null||window.removeEventListener("keydown",H)});const I=Vt(i,"all",o.presetDates),j=Vt(i,"input");t.watch([l,d],()=>{Q(l.value)},{deep:!0});const{openOnTop:U,menuStyle:de,xCorrect:W,setMenuPosition:D,getScrollableParent:ie,shadowRender:ne}=Uu({menuRef:p,menuRefInner:u,inputRef:m,pickerWrapperRef:f,inline:V,emit:r,props:o,slots:i}),{inputValue:K,internalModelValue:M,parseExternalModelValue:Q,emitModelValue:fe,formatInputValue:R,checkBeforeEmit:ye}=Y3(r,o,c),Z=t.computed(()=>({dp__main:!0,dp__theme_dark:o.dark,dp__theme_light:!o.dark,dp__flex_display:V.value.enabled,"dp--flex-display-collapsed":k.value,dp__flex_display_with_input:V.value.input})),me=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||V.value.enabled}:{}),v=t.computed(()=>({class:"dp__outer_menu_wrap"})),g=t.computed(()=>V.value.enabled&&(o.timePicker||o.monthPicker||o.yearPicker||o.quarterPicker)),N=()=>{var P,ee;return(ee=(P=m.value)==null?void 0:P.$el)==null?void 0:ee.getBoundingClientRect()},L=()=>{s.value&&(T.value.closeOnScroll?Se():D())},F=()=>{var P;s.value&&D();const ee=(P=u.value)==null?void 0:P.$el.getBoundingClientRect().width;k.value=document.body.offsetWidth<=ee},J=P=>{P.key==="Tab"&&!V.value.enabled&&!o.teleport&&T.value.tabOutClosesMenu&&(f.value.contains(document.activeElement)||Se()),y.value=P.shiftKey},H=P=>{y.value=P.shiftKey},te=()=>{!o.disabled&&!o.readonly&&(ne(Ws,o),D(!1),s.value=!0,s.value&&r("open"),s.value||_e(),Q(o.modelValue))},ce=()=>{var P;K.value="",_e(),(P=m.value)==null||P.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),T.value.closeOnClearValue&&Se()},ge=()=>{const P=M.value;return!P||!Array.isArray(P)&&A(P)?!0:Array.isArray(P)?X.value.enabled||P.length===2&&A(P[0])&&A(P[1])?!0:Y.value.partialRange&&!o.timePicker?A(P[0]):!1:!1},be=()=>{ye()&&ge()?(fe(),Se()):r("invalid-select",M.value)},ue=P=>{Me(),fe(),T.value.closeOnAutoApply&&!P&&Se()},Me=()=>{m.value&&C.value.enabled&&m.value.setParsedDate(M.value)},De=(P=!1)=>{o.autoApply&&_(M.value)&&ge()&&(Y.value.enabled&&Array.isArray(M.value)?(Y.value.partialRange||M.value.length===2)&&ue(P):ue(P))},_e=()=>{C.value.enabled||(M.value=null)},Se=()=>{V.value.enabled||(s.value&&(s.value=!1,W.value=!1,w(!1),b(!1),B(),r("closed"),K.value&&Q(l.value)),_e(),r("blur"))},Le=(P,ee,se=!1)=>{if(!P){M.value=null;return}const xe=Array.isArray(P)?!P.some(Ne=>!A(Ne)):A(P),Ae=_(P);xe&&Ae?(x.value=!0,M.value=P,ee&&(h.value=se,be(),r("text-submit")),t.nextTick().then(()=>{x.value=!1})):r("invalid-date",P)},Be=()=>{o.autoApply&&_(M.value)&&fe(),Me()},q=()=>s.value?Se():te(),ae=P=>{M.value=P},re=()=>{C.value.enabled&&(c.value=!0,R()),r("focus")},le=()=>{if(C.value.enabled&&(c.value=!1,Q(o.modelValue),h.value)){const P=w3(f.value,y.value);P==null||P.focus()}r("blur")},Ee=P=>{u.value&&u.value.updateMonthYear(0,{month:ws(P.month),year:ws(P.year)})},he=P=>{Q(P??o.modelValue)},ke=(P,ee)=>{var se;(se=u.value)==null||se.switchView(P,ee)},z=P=>T.value.onClickOutside?T.value.onClickOutside(P):Se(),O=(P=0)=>{var ee;(ee=u.value)==null||ee.handleFlow(P)};return s4(p,m,()=>z(ge)),a({closeMenu:Se,selectDate:be,clearValue:ce,openMenu:te,onScroll:L,formatInputValue:R,updateInternalModelValue:ae,setMonthYear:Ee,parseModel:he,switchView:ke,toggleMenu:q,handleFlow:O,dpWrapMenuRef:p}),(P,ee)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:f,class:t.normalizeClass(Z.value),"data-datepicker-instance":""},[t.createVNode(n4,t.mergeProps({ref_key:"inputRef",ref:m,"input-value":t.unref(K),"onUpdate:inputValue":ee[0]||(ee[0]=se=>t.isRef(K)?K.value=se:null),"is-menu-open":s.value},P.$props,{onClear:ce,onOpen:te,onSetInputDate:Le,onSetEmptyDate:t.unref(fe),onSelectDate:be,onToggle:q,onClose:Se,onFocus:re,onBlur:le,onRealBlur:ee[1]||(ee[1]=se=>c.value=!1),onTextInput:ee[2]||(ee[2]=se=>P.$emit("text-input",se))}),t.createSlots({_:2},[t.renderList(t.unref(j),(se,xe)=>({name:se,fn:t.withCtx(Ae=>[t.renderSlot(P.$slots,se,t.normalizeProps(t.guardReactiveProps(Ae)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(P.teleport?t.Teleport:"div"),t.normalizeProps(t.guardReactiveProps($.value)),{default:t.withCtx(()=>[t.createVNode(t.Transition,{name:t.unref(G)(t.unref(U)),css:t.unref(S)&&!t.unref(V).enabled},{default:t.withCtx(()=>[s.value?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:p},v.value,{class:{"dp--menu-wrapper":!t.unref(V).enabled},style:t.unref(V).enabled?void 0:t.unref(de)}),[t.createVNode(Ws,t.mergeProps({ref_key:"dpMenuRef",ref:u},P.$props,{"internal-model-value":t.unref(M),"onUpdate:internalModelValue":ee[3]||(ee[3]=se=>t.isRef(M)?M.value=se:null),class:{[me.value]:!0,"dp--menu-wrapper":P.teleport},"open-on-top":t.unref(U),"no-overlay-focus":g.value,collapse:k.value,"get-input-rect":N,"is-text-input-date":x.value,onClosePicker:Se,onSelectDate:be,onAutoApply:De,onTimeUpdate:Be,onFlowStep:ee[4]||(ee[4]=se=>P.$emit("flow-step",se)),onUpdateMonthYear:ee[5]||(ee[5]=se=>P.$emit("update-month-year",se)),onInvalidSelect:ee[6]||(ee[6]=se=>P.$emit("invalid-select",t.unref(M))),onAutoApplyInvalid:ee[7]||(ee[7]=se=>P.$emit("invalid-select",se)),onInvalidFixedRange:ee[8]||(ee[8]=se=>P.$emit("invalid-fixed-range",se)),onRecalculatePosition:t.unref(D),onTooltipOpen:ee[9]||(ee[9]=se=>P.$emit("tooltip-open",se)),onTooltipClose:ee[10]||(ee[10]=se=>P.$emit("tooltip-close",se)),onTimePickerOpen:ee[11]||(ee[11]=se=>P.$emit("time-picker-open",se)),onTimePickerClose:ee[12]||(ee[12]=se=>P.$emit("time-picker-close",se)),onAmPmChange:ee[13]||(ee[13]=se=>P.$emit("am-pm-change",se)),onRangeStart:ee[14]||(ee[14]=se=>P.$emit("range-start",se)),onRangeEnd:ee[15]||(ee[15]=se=>P.$emit("range-end",se)),onDateUpdate:ee[16]||(ee[16]=se=>P.$emit("date-update",se)),onInvalidDate:ee[17]||(ee[17]=se=>P.$emit("invalid-date",se)),onOverlayToggle:ee[18]||(ee[18]=se=>P.$emit("overlay-toggle",se))}),t.createSlots({_:2},[t.renderList(t.unref(I),(se,xe)=>({name:se,fn:t.withCtx(Ae=>[t.renderSlot(P.$slots,se,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))}}),yn=(()=>{const e=l4;return e.install=a=>{a.component("Vue3DatePicker",e)},e})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:yn},Symbol.toStringTag,{value:"Module"}))).forEach(([e,a])=>{e!=="default"&&(yn[e]=a)});const c4={name:"ModalComponent",props:{modelValue:{type:Boolean,required:!0}},methods:{closeModal(){this.$emit("update:modelValue",!1)}}},d4={key:0,class:"modal-head text-white"},u4={class:"modal_responsive"},m4={class:"flex min-h-full items-center justify-center text-center"},f4={class:"modal-size w-full"},h4={class:"modal-background bg-base-200"},p4={class:"modal-title"},g4={class:"modal-body bg-base-300"},y4={class:"modal-footer"};function k4(e,a,n,r,o,i){return n.modelValue?(t.openBlock(),t.createElementBlock("div",d4,[a[2]||(a[2]=t.createElementVNode("div",{class:"modal-overlay"},null,-1)),t.createElementVNode("div",u4,[t.createElementVNode("div",m4,[t.createElementVNode("div",f4,[t.createElementVNode("div",h4,[t.createElementVNode("header",p4,[t.renderSlot(e.$slots,"title",{},void 0,!0),t.createElementVNode("button",{class:"close-button",onClick:a[0]||(a[0]=(...s)=>i.closeModal&&i.closeModal(...s))},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",g4,[t.renderSlot(e.$slots,"body",{},void 0,!0)]),t.createElementVNode("footer",y4,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])])])])])])):t.createCommentVNode("",!0)}const Ys=qe(c4,[["render",k4],["__scopeId","data-v-e2c896dc"]]),b4={class:"container"},x4={class:"form-group"},w4={class:"form-group"},v4={class:"form-group"},E4=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",b4,[t.createElementVNode("div",x4,[o[4]||(o[4]=t.createElementVNode("label",{for:"contentInput"},"Horário",-1)),t.createVNode(t.unref(yn),{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",w4,[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",v4,[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 C4(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 Us=C4();let Xs=0;const S4=()=>{const e=Xs;return Xs+=1,e},Zn=(e,a)=>{const n={...e,id:S4(),group:e.group||""};return Us.emit("notify",{notification:n,timeout:a}),()=>Us.emit("close",n.id)},M4={class:"container"},B4={class:"form-group"},A4={class:"form-group"},V4={key:0,class:"custom-fields-container border border-base-100"},D4={class:"custom-fields-header bg-base-300"},_4={class:"custom-fields-list"},N4=["onClick"],T4={key:1,class:"file-container bg-base-100"},P4={class:"file-actions"},O4={class:"button-container"},F4=["disabled"],L4={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]"},$4=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"),s=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?(s.value=n.event.params,i.value="patch"):s.value.schedule.time=u(n.date,s.value.schedule.time)});const l=t.ref(null);function d(c){s.value.message[0].content+=` {${c.name}} `,t.nextTick(()=>{l.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"),k=String(c.getHours()).padStart(2,"0"),x=String(c.getMinutes()).padStart(2,"0");return`${f}-${h}-${y} ${k}:${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(s.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/${s.value.event_id?`${s.value.event_id}/`:""}`,{...c},{headers:{Authorization:`Bearer ${n.token}`}});Zn({group:"success",title:"Sucesso",text:f.data.message},2e3),o("close",!1)}catch(c){Zn({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",M4,[t.createTextVNode(t.toDisplayString(s.value.schedule.time)+" ",1),t.createElementVNode("div",B4,[f[4]||(f[4]=t.createElementVNode("label",{for:"contentInput"},"Horário",-1)),t.createVNode(t.unref(yn),{"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:s.value.schedule.time,"onUpdate:modelValue":f[0]||(f[0]=y=>s.value.schedule.time=y)},{"clear-icon":t.withCtx(({clear:y})=>f[3]||(f[3]=[])),_:1},8,["min-date","dark","modelValue"])]),t.createElementVNode("div",A4,[f[5]||(f[5]=t.createElementVNode("label",{for:"contentInput"},"Conteúdo",-1)),t.withDirectives(t.createElementVNode("textarea",{id:"sheduleMessageArea",ref_key:"textareaRef",ref:l,autofocus:"","onUpdate:modelValue":f[1]||(f[1]=y=>s.value.message[0].content=y),placeholder:"Olá cliente, tudo bem?",class:"input bg-base-200"},null,512),[[t.vModelText,s.value.message[0].content]])]),e.currentChat.contact&&e.currentChat.contact.segmentation_fields.length>0?(t.openBlock(),t.createElementBlock("div",V4,[t.createElementVNode("div",D4,[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",_4,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.globalStore.messageStore.currentChat.contact.segmentation_fields,y=>(t.openBlock(),t.createElementBlock("div",{onClick:k=>d(y),key:y,class:"custom-field bg-primary"},t.toDisplayString(y.name),9,N4))),128))])])):t.createCommentVNode("",!0),s.value.file?(t.openBlock(),t.createElementBlock("div",T4,[t.createElementVNode("p",null,t.toDisplayString(s.value.fileName),1),t.createElementVNode("div",P4,[t.createElementVNode("button",{onClick:f[2]||(f[2]=y=>s.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",O4,[t.createElementVNode("button",{disabled:r.value,onClick:m,class:"save-button text-white"},[r.value?(t.openBlock(),t.createElementBlock("div",L4)):t.createCommentVNode("",!0),f[10]||(f[10]=t.createTextVNode(" Salvar "))],8,F4)])])}}},[["__scopeId","data-v-1d2f0f94"]]),H4={key:0},R4={key:1},z4={class:"main-container"},I4={key:0,class:"select-container"},G4=["value"],j4=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 s=a;function l(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||s("close")});function p(u){o.value=u}return(u,m)=>(t.openBlock(),t.createBlock(Ys,{modelValue:d.value,"onUpdate:modelValue":m[3]||(m[3]=c=>d.value=c)},{title:t.withCtx(()=>[e.currentEvent===null?(t.openBlock(),t.createElementBlock("div",H4," Novo evento "+t.toDisplayString(l(e.date)),1)):(t.openBlock(),t.createElementBlock("div",R4,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",z4,[e.currentEvent===null?(t.openBlock(),t.createElementBlock("div",I4,[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,G4)),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(E4,{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($4,{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"]]),q4={class:"calendar-container text-white"},W4={class:"calendar-header bg-base-300"},Y4={class:"calendar"},U4={class:"date-container"},X4={class:"date"},Z4=["disabled","onClick"],Q4=["onClick"],K4={class:"event-main"},J4={class:"event-title"},e5={class:"text-center w-full"},t5={class:"flex flex-col gap- text-sm items-center align-middle overflow-y-scroll w-full",style:{height:"50vh"}},a5={class:"w-[40%]"},n5={class:"p- w-1/4"},r5={class:"p- w-1/4"},o5={class:"p- w-1/4"},i5=["onClick"],Zs=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(C){r.value=C,n.value={date:C.date,modal:!0},a.value.seeEvents=!1}function i(C){n.value.modal=C,r.value=null}function s(C){a.value.events=C.events,a.value.seeEvents=!0;const V={day:"numeric",month:"long",year:"numeric"};a.value.date=C.date.toLocaleDateString("pt-BR",V)}const l=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=C=>{C&&typeof C.year=="number"&&typeof C.month=="number"?(p.value=C.month,u.value=C.year,A()):console.error("Data inválida selecionada:",C)},h=new Array(7).fill(null).map((C,V)=>{const T=new Date(2021,0,V+3);return new Intl.DateTimeFormat("pt-BR",{weekday:"short"}).format(T)}),y=C=>{if(C instanceof Date){const V={month:"long",year:"numeric"};return new Intl.DateTimeFormat("pt-BR",V).format(C)}else return console.error("Data inválida fornecida ao formatador:",C),""},k=C=>{const V={scheduled_messages:"Mensagens Programadas",another_function:"Outro Título",default:"Evento Desconhecido"};return V[C]||V.default},x=async(C="http://localhost:8000/v1/api/crm/event/")=>{try{const T=(await Qe.get(C,{headers:{Authorization:`Bearer ${l.token}`}})).data,Y=T.results.map(X=>({...X,title:k(X.function),date:X.params.schedule.time.split(" ")[0],hours:X.params.schedule.time.split(" ")[1],color:"#cce5ff",tag:"blue"}));c.value.push(...Y),T.next&&await x(T.next)}catch(V){console.error("Erro ao buscar eventos:",V)}},w=C=>c.value.filter(V=>{const T=new Date(V.date+"T00:00:00"),Y=new Date(C.getFullYear(),C.getMonth(),C.getDate());return T.getTime()===Y.getTime()}),b=(C,V)=>{const T=[],Y=new Date(C,V,1),X=new Date(C,V+1,0),G=Y.getDay(),I=new Date(C,V,0).getDate();for(let U=G-1;U>=0;U--){const de=new Date(C,V-1,I-U);T.push({date:de,events:w(de),isPrevMonth:!0})}for(let U=Y;U<=X;U.setDate(U.getDate()+1))T.push({date:new Date(U),events:w(new Date(U)),isPrevMonth:!1,isNextMonth:!1});const j=42-T.length;for(let U=1;U<=j;U++){const de=new Date(C,V+1,U);T.push({date:de,events:w(de),isNextMonth:!0})}return T},B=t.ref([]),A=()=>{B.value=b(u.value,p.value)};t.onMounted(async()=>{await x(),A()});const _=()=>{p.value===0?(p.value=11,u.value--):p.value--,m.value={year:u.value,month:p.value},A()},E=()=>{p.value===11?(p.value=0,u.value++):p.value++,m.value={year:u.value,month:p.value},A()};return(C,V)=>{const T=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",q4,[t.createElementVNode("div",W4,[t.renderSlot(C.$slots,"backButton",{},void 0,!0),t.createElementVNode("button",{onClick:_,class:"calendar-button"},V[2]||(V[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(yn),{dark:e.theme,"cancel-text":"Cancelar","select-text":"Selecionar",locale:"pt-BR",modelValue:m.value,"onUpdate:modelValue":[V[0]||(V[0]=Y=>m.value=Y),f],format:y,"only-month-picker":!0,"month-picker":!0},{"clear-icon":t.withCtx(({clear:Y})=>V[3]||(V[3]=[])),_:1},8,["dark","modelValue"])]),t.createElementVNode("button",{onClick:E,class:"calendar-button"},V[4]||(V[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",Y4,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(h),(Y,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(Y),1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(B.value,(Y,X)=>(t.openBlock(),t.createElementBlock("div",{key:X,class:t.normalizeClass([{"empty-day":!Y.date,"prev-month-day":Y.isPrevMonth,"next-month-day":Y.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",U4,[t.createElementVNode("div",X4,t.toDisplayString(Y.date.getDate()),1),t.createElementVNode("button",{disabled:Y.date<new Date(new Date().setHours(0,0,0,0)),onClick:G=>(n.value.modal=!0,n.value.date=Y.date),class:"add-event-button hidden group-hover:inline-block"},V[5]||(V[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,Z4)]),Y.events.length>0?(t.openBlock(),t.createElementBlock("footer",{key:0,onClick:G=>s(Y),class:"events-container cursor-pointer"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Y.events,G=>(t.openBlock(),t.createElementBlock("div",{key:G.title,class:"event"},[t.createElementVNode("main",K4,[t.createVNode(T,{placement:"top",class:"dark:popper-light popper-dark",hover:!0,content:G.hours},{default:t.withCtx(()=>V[6]||(V[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",J4,t.toDisplayString(G.title),1)])]))),128))],8,Q4)):t.createCommentVNode("",!0)],2))),128))])]),t.createVNode(Ys,{modelValue:a.value.seeEvents,"onUpdate:modelValue":V[1]||(V[1]=Y=>a.value.seeEvents=Y)},{title:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.value.date),1)]),body:t.withCtx(()=>[t.createElementVNode("table",e5,[V[8]||(V[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",t5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value.events,Y=>(t.openBlock(),t.createElementBlock("tr",{key:Y.title,class:"flex mt-1 hover:bg-base-200 align-middle items-center rounded-xl py-2 w-full"},[t.createElementVNode("td",a5,t.toDisplayString(Y.title),1),t.createElementVNode("td",n5,t.toDisplayString(Y.hours),1),t.createElementVNode("td",r5,t.toDisplayString(Y.date),1),t.createElementVNode("td",o5,[t.createElementVNode("button",{onClick:X=>o(Y),class:"bg-green-500 hover:bg-green-400 rounded-md p-1"},V[7]||(V[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,i5)])]))),128))])])]),_:1},8,["modelValue"]),n.value.modal?(t.openBlock(),t.createBlock(j4,{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"]]),s5={class:"flex flex-col text-center"},l5={class:"flex flex-col space-y-3 justify-center"},c5={class:"space-x-4 flex-col text-black justify-center"},d5=["onUpdate:modelValue","onInput","onKeydown"],Qs={__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)?s(p):r.value[p]="",p===r.value.length-1&&r.value.every(m=>m!=="")&&d()},s=p=>{p<r.value.length-1&&r.value[p]&&o.value[p+1].focus()},l=(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",s5,[t.createElementVNode("div",l5,[t.createElementVNode("div",c5,[(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=>l(c,f),["backspace"]),ref_for:!0,ref_key:"inputs",ref:o},null,42,d5)),[[t.vModelText,r.value[c]]])),128))])])]))}},u5={class:"text-center flex gap-3"},m5={class:"flex justify-center gap-2 relative bg-base-200 p-2 rounded-lg shadow-md shadow-black"},f5={key:0,class:"items-center justify-center inline-flex"},h5=["src"],p5={__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:l.value),s=t.computed(()=>`w-${r.dimensions[0]} h-${r.dimensions[1]}`),l=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",u5,[t.createElementVNode("section",m5,[e.generated?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([s.value,"btnQrCode"])},[e.loading?(t.openBlock(),t.createElementBlock("div",f5,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([[s.value,e.generated?"rounded-md":"rounded-none"],""]),src:i.value,alt:"QRCode"},null,10,h5)])]))}},Qn=zt.defineStore("attendant",{state:()=>({attendants:[],count:null,loaded:!1}),actions:{async fetchAttendants(){try{this.attendants=[];let e=`${Nc}`;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=[],po=0;po<256;++po)ht.push((po+256).toString(16).slice(1));function g5(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 Kn,y5=new Uint8Array(16);function k5(){if(!Kn&&(Kn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Kn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Kn(y5)}var b5=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Ks={randomUUID:b5};function x5(e,a,n){if(Ks.randomUUID&&!e)return Ks.randomUUID();e=e||{};var r=e.random||(e.rng||k5)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,g5(r)}function Js(){const e=Qn(),a=async l=>{const d=e.attendants.find(p=>p.id===l);if(d)try{const p=await na.get(`${Dr}?attendant=${l}&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 l=>{const d=e.attendants.find(p=>p.id===l);if(!(!d||!d.hasNextPage))try{const p=await na.get(`${Dr}?attendant=${l}&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=(l,d,p)=>{const u=l==null?void 0:l.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=l=>{const d=e.attendants.find(p=>p.id===l);d&&(d.internal_chat.unread=0)},i=async(l,d,p,u=!1)=>{var h;const m=e.attendants.find(y=>y.id===l);if(!m||!((h=m.internal_chat)!=null&&h.channel_id))return;let c;u?c=d:c={type:"text",content:d};const f={id:x5(),content:c,created_at:new Date().toISOString(),sender:p};m.messages.push(f);try{await na.post(`${Dr}${m.internal_chat.channel_id}/message/`,{id:f.id,content:f.content})}catch(y){console.error("Erro ao enviar mensagem:",y)}},s=l=>{const d=e.attendants.find(p=>p.id===l);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:s,resetUnreadMessages:o}}const w5={class:"avatar bg-[#404857] shadow shadow-gray-900 dark:shadow-gray-700 dark:bg-gray-300 text-gray-100 dark:text-gray-500"},v5={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"},E5=["src"],go=qe({__name:"Avatar",props:{url:{type:String}},setup(e){return(a,n)=>(t.openBlock(),t.createElementBlock("div",w5,[e.url?(t.openBlock(),t.createElementBlock("img",{key:1,style:{"object-fit":"scale-down"},src:e.url},null,8,E5)):(t.openBlock(),t.createElementBlock("svg",v5,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"]]),C5={class:"attendants-container"},S5={class:"atendentes-list bg-base-300"},M5={key:0,class:"empty-message bg-base-200"},B5=["onClick"],A5={class:"atendente-main"},V5={class:"atendente-name"},D5={class:"flex items-center gap-4"},_5={key:0,class:"message-indicator"},N5={key:0,class:"chat-footer bg-base-200"},el=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)},s=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"}},l=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",C5,[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",S5,[l.value.length===0?(t.openBlock(),t.createElementBlock("li",M5,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(l.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",A5,[t.createVNode(go,{url:u.photo},null,8,["url"]),t.createElementVNode("span",V5,t.toDisplayString(u.name),1)]),t.createElementVNode("footer",D5,[u.internal_chat.unread>0?(t.openBlock(),t.createElementBlock("span",_5,t.toDisplayString(u.internal_chat.unread),1)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["status-indicator",s(u.login_status)])},null,2)]),p[1]||(p[1]=t.createElementVNode("div",{class:"hover-action"},"Conversar",-1))],10,B5))),128))]),e.mobile?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("footer",N5))]))}},[["__scopeId","data-v-dc8950e9"]]);function T5(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 P5(e){return e?(await t.nextTick(),e.value instanceof HTMLElement?e.value:e.value?document.querySelector(e.value):null):null}function O5(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 tl(e,a){if(await t.nextTick(),!e.top)return;const n=e.parentEl||document.documentElement;n.scrollTop=n.scrollHeight-a}const al=(e,a)=>{const n=e.__vccOpts||e;for(const[r,o]of a)n[r]=o;return n},F5={},L5=e=>(t.pushScopeId("data-v-d3e37633"),e=e(),t.popScopeId(),e),$5={class:"container"},H5=L5(()=>t.createElementVNode("div",{class:"spinner"},null,-1)),R5=[H5];function z5(e,a){return t.openBlock(),t.createElementBlock("div",$5,R5)}const I5=al(F5,[["render",z5],["__scopeId","data-v-d3e37633"]]),G5={class:"state-error"},yo=al(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),s=t.ref(""),{top:l,firstload:d,distance:p}=n,{identifier:u,target:m}=t.toRefs(n),c={infiniteLoading:i,top:l,firstload:d,distance:p,parentEl:null,emit(){o=(c.parentEl||document.documentElement).scrollHeight,f.loading(),a("infinite",f)}},f={loading(){s.value="loading"},async loaded(){s.value="loaded",await tl(c,o),T5(i.value,c.parentEl)&&c.emit()},async complete(){s.value="complete",await tl(c,o),r==null||r.disconnect()},error(){s.value="error"}};function h(){r==null||r.disconnect(),r=O5(c)}return t.watch(u,h),t.onMounted(async()=>{c.parentEl=await P5(m),h()}),t.onUnmounted(()=>r==null?void 0:r.disconnect()),(y,k)=>(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(I5)],!0)],512),[[t.vShow,s.value=="loading"]]),s.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),s.value=="error"?t.renderSlot(y.$slots,"error",{key:1,retry:c.emit},()=>{var x;return[t.createElementVNode("span",G5,[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:k[0]||(k[0]=(...w)=>c.emit&&c.emit(...w))},"retry")])]},!0):t.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-4bdee133"]]),nl=6048e5,j5=864e5,rl=Symbol.for("constructDateFrom");function Dt(e,a){return typeof e=="function"?e(a):e&&typeof e=="object"&&rl in e?e[rl](a):e instanceof Date?new e.constructor(a):new Date(a)}function _t(e,a){return Dt(a||e,e)}function q5(e,a,n){const r=_t(e,n==null?void 0:n.in);return isNaN(a)?Dt(e,NaN):(r.setDate(r.getDate()+a),r)}let W5={};function Jn(){return W5}function Da(e,a){var l,d,p,u;const n=Jn(),r=(a==null?void 0:a.weekStartsOn)??((d=(l=a==null?void 0:a.locale)==null?void 0:l.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(),s=(i<r?7:0)+i-r;return o.setDate(o.getDate()-s),o.setHours(0,0,0,0),o}function er(e,a){return Da(e,{...a,weekStartsOn:1})}function ol(e,a){const n=_t(e,a==null?void 0:a.in),r=n.getFullYear(),o=Dt(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const i=er(o),s=Dt(n,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);const l=er(s);return n.getTime()>=i.getTime()?r+1:n.getTime()>=l.getTime()?r:r-1}function il(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 ko(e,...a){const n=Dt.bind(null,a.find(r=>typeof r=="object"));return a.map(n)}function tr(e,a){const n=_t(e,a==null?void 0:a.in);return n.setHours(0,0,0,0),n}function Y5(e,a,n){const[r,o]=ko(n==null?void 0:n.in,e,a),i=tr(r),s=tr(o),l=+i-il(i),d=+s-il(s);return Math.round((l-d)/j5)}function U5(e,a){const n=ol(e,a),r=Dt(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),er(r)}function bo(e){return Dt(e,Date.now())}function sl(e,a,n){const[r,o]=ko(n==null?void 0:n.in,e,a);return+tr(r)==+tr(o)}function X5(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Z5(e){return!(!X5(e)&&typeof e!="number"||isNaN(+_t(e)))}function Q5(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 K5={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"}},J5=(e,a,n)=>{let r;const o=K5[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 e6={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},t6={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},a6={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},n6={date:Wa({formats:e6,defaultWidth:"full"}),time:Wa({formats:t6,defaultWidth:"full"}),dateTime:Wa({formats:a6,defaultWidth:"full"})},r6={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},o6=(e,a,n,r)=>r6[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 s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;o=e.formattingValues[l]||e.formattingValues[s]}else{const s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[s]}const i=e.argumentCallback?e.argumentCallback(a):a;return o[i]}}const i6={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},s6={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},l6={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"]},c6={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"]},d6={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"}},u6={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"}},m6={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:i6,defaultWidth:"wide"}),quarter:Yt({values:s6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Yt({values:l6,defaultWidth:"wide"}),day:Yt({values:c6,defaultWidth:"wide"}),dayPeriod:Yt({values:d6,defaultWidth:"wide",formattingValues:u6,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 s=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(l)?h6(l,m=>m.test(s)):f6(l,m=>m.test(s));let p;p=e.valueCallback?e.valueCallback(d):d,p=n.valueCallback?n.valueCallback(p):p;const u=a.slice(s.length);return{value:p,rest:u}}}function f6(e,a){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&a(e[n]))return n}function h6(e,a){for(let n=0;n<e.length;n++)if(a(e[n]))return n}function ll(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 s=e.valueCallback?e.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const l=a.slice(o.length);return{value:s,rest:l}}}const p6=/^(\d+)(th|st|nd|rd)?/i,g6=/\d+/i,y6={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},k6={any:[/^b/i,/^(a|c)/i]},b6={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},x6={any:[/1/i,/2/i,/3/i,/4/i]},w6={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},v6={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]},E6={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},C6={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]},S6={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},M6={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}},B6={ordinalNumber:ll({matchPattern:p6,parsePattern:g6,valueCallback:e=>parseInt(e,10)}),era:Ut({matchPatterns:y6,defaultMatchWidth:"wide",parsePatterns:k6,defaultParseWidth:"any"}),quarter:Ut({matchPatterns:b6,defaultMatchWidth:"wide",parsePatterns:x6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ut({matchPatterns:w6,defaultMatchWidth:"wide",parsePatterns:v6,defaultParseWidth:"any"}),day:Ut({matchPatterns:E6,defaultMatchWidth:"wide",parsePatterns:C6,defaultParseWidth:"any"}),dayPeriod:Ut({matchPatterns:S6,defaultMatchWidth:"any",parsePatterns:M6,defaultParseWidth:"any"})},A6={code:"en-US",formatDistance:J5,formatLong:n6,formatRelative:o6,localize:m6,match:B6,options:{weekStartsOn:0,firstWeekContainsDate:1}};function V6(e,a){const n=_t(e,a==null?void 0:a.in);return Y5(n,Q5(n))+1}function D6(e,a){const n=_t(e,a==null?void 0:a.in),r=+er(n)-+U5(n);return Math.round(r/nl)+1}function cl(e,a){var u,m,c,f;const n=_t(e,a==null?void 0:a.in),r=n.getFullYear(),o=Jn(),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,s=Dt((a==null?void 0:a.in)||e,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);const l=Da(s,a),d=Dt((a==null?void 0:a.in)||e,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const p=Da(d,a);return+n>=+l?r+1:+n>=+p?r:r-1}function _6(e,a){var l,d,p,u;const n=Jn(),r=(a==null?void 0:a.firstWeekContainsDate)??((d=(l=a==null?void 0:a.locale)==null?void 0:l.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.firstWeekContainsDate)??1,o=cl(e,a),i=Dt((a==null?void 0:a.in)||e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Da(i,a)}function N6(e,a){const n=_t(e,a==null?void 0:a.in),r=+Da(n,a)-+_6(n,a);return Math.round(r/nl)+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"},dl={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=cl(e,r),i=o>0?o:1-o;if(a==="YY"){const s=i%100;return Ge(s,2)}return a==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ge(i,a.length)},R:function(e,a){const n=ol(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=N6(e,r);return a==="wo"?n.ordinalNumber(o,{unit:"week"}):Ge(o,a.length)},I:function(e,a,n){const r=D6(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=V6(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 ml(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 ml(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"+ul(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"+ul(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 ul(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 ml(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 fl=(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"})}},hl=(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"})}},T6={p:hl,P:(e,a)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return fl(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}}",fl(r,a)).replace("{{time}}",hl(o,a))}},P6=/^D+$/,O6=/^Y+$/,F6=["D","DD","YY","YYYY"];function L6(e){return P6.test(e)}function $6(e){return O6.test(e)}function H6(e,a,n){const r=R6(e,a,n);if(console.warn(r),F6.includes(e))throw new RangeError(r)}function R6(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 z6=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,I6=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,G6=/^'([^]*?)'?$/,j6=/''/g,q6=/[a-zA-Z]/;function pl(e,a,n){var u,m,c,f,h,y,k,x;const r=Jn(),o=(n==null?void 0:n.locale)??r.locale??A6,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,s=(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=(k=r.locale)==null?void 0:k.options)==null?void 0:x.weekStartsOn)??0,l=_t(e,n==null?void 0:n.in);if(!Z5(l))throw new RangeError("Invalid time value");let d=a.match(I6).map(w=>{const b=w[0];if(b==="p"||b==="P"){const B=T6[b];return B(w,o.formatLong)}return w}).join("").match(z6).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const b=w[0];if(b==="'")return{isToken:!1,value:W6(w)};if(dl[b])return{isToken:!0,value:w};if(b.match(q6))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return{isToken:!1,value:w}});o.localize.preprocessor&&(d=o.localize.preprocessor(l,d));const p={firstWeekContainsDate:i,weekStartsOn:s,locale:o};return d.map(w=>{if(!w.isToken)return w.value;const b=w.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&$6(b)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&L6(b))&&H6(b,a,String(e));const B=dl[b[0]];return B(l,b,o.localize,p)}).join("")}function W6(e){const a=e.match(G6);return a?a[1].replace(j6,"'"):e}function Y6(e,a,n){const[r,o]=ko(n==null?void 0:n.in,e,a);return+Da(r,n)==+Da(o,n)}function U6(e,a){return Y6(Dt(e,e),bo(e),a)}function X6(e,a){return sl(Dt(e,e),bo(e))}function Z6(e,a,n){return q5(e,-1,n)}function Q6(e,a){return sl(Dt(e,e),Z6(bo(e)))}const K6={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"}},J6=(e,a,n)=>{let r;const o=K6[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},e7={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},t7={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},a7={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},n7={date:Wa({formats:e7,defaultWidth:"full"}),time:Wa({formats:t7,defaultWidth:"full"}),dateTime:Wa({formats:a7,defaultWidth:"full"})},r7={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"},o7=(e,a,n,r)=>{const o=r7[e];return typeof o=="function"?o(a):o},i7={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},s7={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},l7={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"]},c7={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"]},d7={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"}},u7={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"}},m7={ordinalNumber:(e,a)=>{const n=Number(e);return(a==null?void 0:a.unit)==="week"?n+"ª":n+"º"},era:Yt({values:i7,defaultWidth:"wide"}),quarter:Yt({values:s7,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Yt({values:l7,defaultWidth:"wide"}),day:Yt({values:c7,defaultWidth:"wide"}),dayPeriod:Yt({values:d7,defaultWidth:"wide",formattingValues:u7,defaultFormattingWidth:"wide"})},f7=/^(\d+)[ºªo]?/i,h7=/\d+/i,p7={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},g7={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},y7={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},k7={any:[/1/i,/2/i,/3/i,/4/i]},b7={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},x7={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]},w7={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},v7={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]},E7={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},C7={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}},S7={ordinalNumber:ll({matchPattern:f7,parsePattern:h7,valueCallback:e=>parseInt(e,10)}),era:Ut({matchPatterns:p7,defaultMatchWidth:"wide",parsePatterns:g7,defaultParseWidth:"any"}),quarter:Ut({matchPatterns:y7,defaultMatchWidth:"wide",parsePatterns:k7,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ut({matchPatterns:b7,defaultMatchWidth:"wide",parsePatterns:x7,defaultParseWidth:"any"}),day:Ut({matchPatterns:w7,defaultMatchWidth:"wide",parsePatterns:v7,defaultParseWidth:"any"}),dayPeriod:Ut({matchPatterns:E7,defaultMatchWidth:"any",parsePatterns:C7,defaultParseWidth:"any"})},gl={code:"pt-BR",formatDistance:J6,formatLong:n7,formatRelative:o7,localize:m7,match:S7,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 M7=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},kn=function(e,a=void 0){return!e||e===document.body||a&&e===a?null:M7(e)?e:kn(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 yl(e){return Et(e)||Array.isArray(e)}function xo(e,a){const n=Object.keys(e),r=Object.keys(a);return n.length===r.length&&n.every(o=>{const i=e[o],s=a[o];return typeof i=="function"?`${i}`==`${s}`:yl(i)&&yl(s)?xo(i,s):i===s})}/*! License details at fancyapps.com/license */const kl=function(e){for(const a of ar)a.getState()===Ct.Running&&a.tick(wo?e-wo:0);wo=e,Za=window.requestAnimationFrame(kl)};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 ar=new Set;let Za=null,wo=0;function pa(){let e=Ct.Initializing,a=ha.Ease,n=0,r=0,o=pa.Easings.Linear,i=500,s=0,l=0,d=0,p=0,u=1/0,m=.01,c=.01,f=!1,h={},y=null,k={},x={},w={},b=0,B=0,A=Xa.Loop,_=pa.Easings.Linear;const E=new Map;function C(G,...S){for(const I of E.get(G)||[])I(...S)}function V(G){return r=0,G?y=setTimeout(()=>{T()},G):T(),X}function T(){e=Ct.Running,C("start",k,x)}function Y(){if(e=Ct.Completed,w={},C("end",k),e===Ct.Completed)if(n<b){if(n++,A===Xa.Reverse){const G=Object.assign({},h);h=Object.assign({},x),x=G}V(B)}else n=0;return X}const X={getState:function(){return e},easing:function(G){return o=G,a=ha.Ease,w={},X},duration:function(G){return i=G,X},spring:function(G={}){a=ha.Spring;const S={velocity:0,mass:1,tension:170,friction:26,restDelta:.1,restSpeed:.1,maxSpeed:1/0,clamp:!0},{velocity:I,mass:j,tension:U,friction:de,restDelta:W,restSpeed:D,maxSpeed:ie,clamp:ne}=Object.assign(Object.assign({},S),G);return s=I,l=j,d=U,p=de,c=W,m=D,u=ie,f=ne,w={},X},isRunning:function(){return e===Ct.Running},isSpring:function(){return a===ha.Spring},from:function(G){return k=Object.assign({},G),X},to:function(G){return x=G,X},repeat:function(G,S=0,I=Xa.Loop,j){return b=G,B=S,A=I,_=j||o,X},on:function(G,S){var I,j;return I=G,j=S,E.set(I,[...E.get(I)||[],j]),X},off:function(G,S){var I,j;return I=G,j=S,E.has(I)&&E.set(I,E.get(I).filter(U=>U!==j)),X},start:function(G){return e=Ct.Initializing,h=Object.assign({},k),xo(h,x)||(ar.add(this),Za||(Za=window.requestAnimationFrame(kl)),V(G)),X},pause:function(){return y&&(clearTimeout(y),y=null),e===Ct.Running&&(e=Ct.Paused,C("pause",k)),X},end:Y,tick:function(G){G>50&&(G=50),r+=G;let S=0,I=!1;if(e!==Ct.Running)return X;if(a===ha.Ease){S=$e(0,r/i,1),I=S===1;const U=A===Xa.Reverse?_:o;for(const de in k)k[de]=h[de]+(x[de]-h[de])*U(S)}if(a===ha.Spring){const U=.001*G;let de=0;for(const W in k){const D=x[W];let ie=k[W];if(typeof D!="number"||isNaN(D)||typeof ie!="number"||isNaN(ie))continue;if(Math.abs(D-ie)<=c){k[W]=D,w[W]=0;continue}w[W]||(typeof s=="object"&&typeof s[W]=="number"?w[W]=s[W]:w[W]=typeof s=="number"?s:0);let ne=w[W];ne=$e(-1*Math.abs(u),ne,Math.abs(u));const K=ne*l*p;ne+=((ie>D?-1:1)*(Math.abs(D-ie)*d)-K)/l*U,ie+=ne*U;const M=k[W]>D?ie<D:ie>D;let Q=Math.abs(ne)<m&&Math.abs(D-ie)<=c;f&&M&&(Q=!0),Q?(ie=D,ne=0):de++,k[W]=ie,w[W]=ne}I=!de}const j=Object.assign({},x);return C("step",k,h,x,S),I&&e===Ct.Running&&xo(x,j)&&(e=Ct.Completed,Y()),X},getStartValues:function(){return h},getCurrentValues:function(){return k},getCurrentVelocities:function(){return w},getEndValues:function(){return x},destroy:function(){e=Ct.Destroyed,y&&(clearTimeout(y),y=null),h=k=x={},ar.delete(this)}};return X}pa.destroy=()=>{for(const e of ar)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 vo(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 bl(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 nr(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 xl=e=>{e.cancelable&&e.preventDefault()},ya={passive:!1},B7={panThreshold:5,swipeThreshold:3,ignore:["textarea","input","select","[contenteditable]","[data-selectable]","[data-draggable]"]};let Eo=!1,bn=!0;const xn=(e,a)=>{let n,r,o,i=Object.assign(Object.assign({},B7),a),s=[],l=[],d=[],p=!1,u=!1,m=!1,c=0,f=0,h=0,y=0,k=0,x=0,w=0,b=0,B=0,A=[],_=0,E=0;const C=new Map;function V(W){const D=nr(l),ie=nr(d),ne=D&&ie?D/ie:0,K=Math.abs(w)>Math.abs(b)?w:b,M={srcEvent:n,isPanRecognized:p,isSwipeRecognized:u,firstTouch:s,previousTouch:d,currentTouch:l,deltaX:h,deltaY:y,offsetX:k,offsetY:x,velocityX:w,velocityY:b,velocity:K,angle:B,axis:o,scale:ne,center:r};for(const Q of C.get(W)||[])Q(M)}function T(W){const D=Date.now();A=A.filter(ie=>!ie.ts||ie.ts>D-100),W&&A.push(W)}function Y(){if(w=0,b=0,A.length>3){const W=A[0],D=A[A.length-1];if(W&&D){const ie=D.x-W.x,ne=D.y-W.y,K=W.ts&&D.ts?D.ts-W.ts:0;K>0&&(w=Math.abs(ie)>3?ie/(K/30):0,b=Math.abs(ne)>3?ne/(K/30):0)}}}function X(W){if(W instanceof MouseEvent){if(Eo)return}else Eo=!0;const D=W.composedPath()[0],ie=i.ignore.join(",");if(D.matches(ie)||D.closest(ie)||typeof MouseEvent<"u"&&W instanceof MouseEvent&&(!W.buttons||W.button!==0))return;W instanceof MouseEvent&&xl(W);const ne=Date.now(),K=ne-(c||ne);m=K>0&&K<=250,c=ne,clearTimeout(_),n=W,W instanceof MouseEvent&&(window.addEventListener("mousemove",G),window.addEventListener("mouseup",S)),window.addEventListener("blur",I),l=vo(W),s=[...l],d=[],f=l.length,r=ga(l),f===1&&(p=!1,u=!1),f&&T(ga(l)),V("start")}function G(W){var D;if(!s.length||W.defaultPrevented)return;n=W,d=[...l],l=vo(W),f=l.length,r=ga(l);const ie=r,ne=ga(d);if(h=ie.x-ne.x,y=ie.y-ne.y,T(ie),Y(),V("move"),l.length>1){const K=nr(l),M=nr(d);Math.abs(K-M)>=.1&&V("pinch")}if(!p&&s.length){const K=ga(s);k=ie.x-K.x,x=ie.y-K.y,p=Math.abs(k)>i.panThreshold||Math.abs(x)>i.panThreshold,p&&(bn=!1,clearTimeout(E),E=0,B=Math.abs(180*Math.atan2(x,k)/Math.PI),o=B>45&&B<135?"y":"x",s=[...l],d=[...l],(D=window.getSelection())===null||D===void 0||D.removeAllRanges(),V("panstart"))}p&&(h||y)&&V("pan")}function S(W){if(n=W,!s.length)return;const D=vo(W),ie=bl(W);if(f=D.length,r=ga(ie),ie.length&&T(ga(ie)),Y(),d=[...l],l=[...D],s=[...D],D.length>0)V("end"),p=!1,u=!1,A=[];else{const ne=i.swipeThreshold;(Math.abs(w)>ne||Math.abs(b)>ne)&&(u=!0),p&&V("panend"),u&&V("swipe"),p||u||(V("tap"),m?V("doubleTap"):_=setTimeout(function(){V("singleTap")},250)),V("end"),j()}}function I(){clearTimeout(_),j(),p&&V("panend"),V("end")}function j(){p=!1,u=!1,m=!1,f=0,A=[],l=[],d=[],s=[],h=0,y=0,k=0,x=0,w=0,b=0,B=0,o=void 0,window.removeEventListener("mousemove",G),window.removeEventListener("mouseup",S),window.removeEventListener("blur",I),bn||E||(E=setTimeout(()=>{bn=!0,E=0},100))}function U(W){const D=W.target;Eo=!1,D&&!W.defaultPrevented&&(bn||(xl(W),W.stopPropagation()))}const de={init:function(){if(e)return e.addEventListener("click",U,ya),e.addEventListener("mousedown",X,ya),e.addEventListener("touchstart",X,ya),e.addEventListener("touchmove",G,ya),e.addEventListener("touchend",S),e.addEventListener("touchcancel",S),de},on:function(W,D){return function(ie,ne){C.set(ie,[...C.get(ie)||[],ne])}(W,D),de},off:function(W,D){return C.has(W)&&C.set(W,C.get(W).filter(ie=>ie!==D)),de},isPointerDown:()=>f>0,destroy:function(){clearTimeout(_),clearTimeout(E),E=0,e&&(e.removeEventListener("click",U,ya),e.removeEventListener("mousedown",X,ya),e.removeEventListener("touchstart",X,ya),e.removeEventListener("touchmove",G,ya),e.removeEventListener("touchend",S),e.removeEventListener("touchcancel",S)),e=null,j()}};return de};xn.isClickAllowed=()=>bn;/*! License details at fancyapps.com/license */const Co={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 rr=e=>{e.cancelable&&e.preventDefault()},St=(e,a=1e4)=>(e=parseFloat(e+"")||0,Math.round((e+Number.EPSILON)*a)/a);var we,wl;(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"}(wl||(wl={}));const Nt={x:0,y:0,scale:1,angle:0,flipX:1,flipY:1},So={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:Co,maxScale:4,minScale:1,mouseMoveFactor:1,panMode:"drag",protected:!1,singleClickAction:!1,spinnerTpl:'<div class="f-spinner"></div>',wheelAction:we.Zoom,width:"auto"};let or,vl=0,El=0,ir=0;const Mo=(e,a={},n={})=>{let r,o,i,s,l,d,p,u=0,m=Object.assign(Object.assign({},So),a),c={},f=Object.assign({},Nt),h=Object.assign({},Nt);const y=[];function k(v){let g=m[v];return g&&typeof g=="function"?g($):g}const x=new Map;function w(v,...g){const N=x.get(v)||[];m.on&&N.push(m.on[v]);for(const L of N)L&&L instanceof Function&&L($,...g);v!=="*"&&w("*",v,...g)}function b(v){if(u!==3)return;const g=v.target;if(kn(g))return;const N=Date.now(),L=[-v.deltaX||0,-v.deltaY||0,-v.detail||0].reduce(function(ce,ge){return Math.abs(ge)>Math.abs(ce)?ge:ce}),F=$e(-1,L,1);w("wheel",v,F);const J=k("wheelAction");if(!J||v.defaultPrevented)return;const H=h.scale;let te=H*(F>0?1.5:.5);if(J===we.Zoom){const ce=Math.abs(v.deltaY)<100&&Math.abs(v.deltaX)<100;if(N-El<(ce?200:45))return void rr(v);El=N;const ge=X(),be=j();if(St(te)<St(ge)&&St(H)<=St(ge)?(ir+=Math.abs(F),te=ge):St(te)>St(be)&&St(H)>=St(be)?(ir+=Math.abs(F),te=be):(ir=0,te=$e(ge,te,be)),ir>7)return}switch(rr(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,N;const L=v.composedPath()[0];if(!xn.isClickAllowed()||!Ua(L)||v.defaultPrevented||!(e!=null&&e.contains(L))||L.hasAttribute("disabled")||L.hasAttribute("aria-disabled"))return;const F=L.closest("[data-panzoom-action]"),J=(g=F==null?void 0:F.dataset)===null||g===void 0?void 0:g.panzoomAction,H=((N=F==null?void 0:F.dataset)===null||N===void 0?void 0:N.panzoomValue)||"";if(J){switch(J){case we.ZoomTo:case we.ZoomIn:case we.ZoomOut:D(J,{scale:parseFloat(H||"")||void 0});break;case we.MoveLeft:case we.MoveRight:D(J,{deltaX:parseFloat(H||"")||void 0});break;case we.MoveUp:case we.MoveDown:D(J,{deltaY:parseFloat(H||"")||void 0});break;default:D(J)}return}if(!(r!=null&&r.contains(L)))return;const te={srcEvent:v};if(D(k("clickAction"),te),k("dblClickAction")){const ce=Date.now(),ge=ce-(vl||ce);vl=ce,ge>0&&ge<=250?(or&&(clearTimeout(or),or=void 0),D(k("dblClickAction"),te)):or=setTimeout(()=>{D(k("singleClickAction"),te)},250)}}function A(v){if(p=v,!V()||u!==3||f.scale<=1||h.scale<=1||((r==null?void 0:r.dataset.animationName)||"").indexOf("zoom")>-1)return;const g=T(h.scale);if(!g)return;const{x:N,y:L}=g;D(we.Pan,{deltaX:N-h.x,deltaY:L-h.y})}function _(){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}=C();o&&(o.setAttribute("width",g+""),o.setAttribute("height",N+"")),r&&(r.classList.remove("has-error"),r.setAttribute("width",g+""),r.setAttribute("height",N+""),r.style.aspectRatio=`${g/N||""}`),l=pa().on("start",(F,J)=>{h=Object.assign(Object.assign({},Nt),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),W(),w("animationStart")}).on("pause",F=>{h=Object.assign(Object.assign({},Nt),F)}).on("step",F=>{if(u!==3||!l)return;if(!e||!e.parentElement)return void l.end();if(f=Object.assign(Object.assign({},Nt),F),V()||!k("bounds")||(s==null?void 0:s.isPointerDown())||h.scale>f.scale||h.scale<G())return void ie();const J=U(h.scale);let H=!1,te=!1,ce=!1,ge=!1;f.x<J.x[0]&&(H=!0),f.x>J.x[1]&&(te=!0),f.y<J.y[0]&&(ge=!0),f.y>J.y[1]&&(ce=!0);let be=!1,ue=!1,Me=!1,De=!1;h.x<J.x[0]&&(be=!0),h.x>J.x[1]&&(ue=!0),h.y<J.y[0]&&(De=!0),h.y>J.y[1]&&(Me=!0);let _e=!1;(te&&ue||H&&be)&&(h.x=$e(J.x[0],h.x,J.x[1]),_e=!0),(ce&&Me||ge&&De)&&(h.y=$e(J.y[0],h.y,J.y[1]),_e=!0),_e&&l.spring({tension:94,friction:17,maxSpeed:555*h.scale,restDelta:.1,restSpeed:.1,velocity:l.getCurrentVelocities()}).from(f).to(h).start(),ie()}).on("end",()=>{de(),l!=null&&l.isRunning()||(W(),w("animationEnd"))}),function(){const F=k("gestures");F&&i&&o&&(s=xn(i,F).on("start",J=>{if(!l)return;const H=J.srcEvent;V()||((f.scale>1||J.currentTouch.length>1)&&(H==null||H.stopPropagation(),l.pause()),J.currentTouch.length===1&&w("touchStart"))}).on("move",J=>{V()||(h.scale!==1||J.currentTouch.length>1)&&(J.srcEvent.preventDefault(),J.srcEvent.stopPropagation())}).on("pan",J=>{if(V())return;const H=J.srcEvent;(h.scale!==1||J.currentTouch.length>1)&&(rr(H),D(we.Pan,J))}).on("swipe",J=>{V()||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=>{V()||(J.scale>G()?D(we.ZoomIn,J):J.scale<G()?D(we.ZoomOut,J):D(we.Pan,J))}).on("end",J=>{V()||(J.currentTouch.length?(J.srcEvent.stopPropagation(),rr(J.srcEvent),l==null||l.end()):(W(),de(),w("touchEnd")))}).init())}(),i&&(i.addEventListener("wheel",b,{passive:!1}),y.push(()=>{i==null||i.removeEventListener("wheel",b,{passive:!1})})),e==null||e.addEventListener("click",B),document==null||document.addEventListener("mousemove",A),y.push(()=>{e==null||e.removeEventListener("click",B),document==null||document.removeEventListener("mousemove",A)});const L=Object.assign(Object.assign({},k("startPos")||{}),{scale:G()});if(f=Object.assign(Object.assign({},Nt),L),h=Object.assign(Object.assign({},Nt),L),V()){const F=T(h.scale);if(F){const{x:J,y:H}=F;f.x=J,f.y=H,h.x=J,h.y=H}}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 C(){let v=k("width"),g=k("height");if(o&&v==="auto"){const N=o.getAttribute("width");v=N?parseFloat(N+""):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 N=o.getAttribute("height");g=N?parseFloat(N+""):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 V(){return k("panMode")==="mousemove"&&matchMedia("(hover: hover)").matches}function T(v){const g=p||k("event"),N=r==null?void 0:r.getBoundingClientRect();if(!g||!N||v<=1)return{x:0,y:0};const L=(g.clientX||0)-N.left,F=(g.clientY||0)-N.top,J=N.width,H=N.height,te=U(v);if(v>1){const Me=k("mouseMoveFactor");Me>1&&(v*=Me)}let ce=J*v,ge=H*v,be=.5*(ce-J)-L/J*100/100*(ce-J),ue=.5*(ge-H)-F/H*100/100*(ge-H);return be=$e(te.x[0],be,te.x[1]),ue=$e(te.y[0],ue,te.y[1]),{x:be,y:ue}}function Y(v="base"){if(!e)return 1;const g=e.getBoundingClientRect(),N=E(),{width:L,height:F}=C(),J=be=>{if(typeof be=="number")return be;switch(be){case"min":case"base":return 1;case"cover":return Math.max(g.height/N.height,g.width/N.width)||1;case"full":case"max":{const ue=h.angle%180==90?F:L;return ue&&N.width?ue/N.width:1}}},H=k("minScale"),te=k("maxScale"),ce=Math.min(J("full"),J(H)),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 Y("min")}function G(){return Y("base")}function S(){return Y("cover")}function I(){return Y("full")}function j(){return Y("max")}function U(v){const g={x:[0,0],y:[0,0]},N=e==null?void 0:e.getBoundingClientRect();if(!N)return g;const L=E(),F=N.width,J=N.height;let H=L.width,te=L.height,ce=v=v===void 0?h.scale:v,ge=v;if(V()&&v>1){const be=k("mouseMoveFactor");be>1&&(H*v>F+.01&&(ce*=be),te*v>J+.01&&(ge*=be))}return H*=ce,te*=ge,v>1&&(H>F&&(g.x[0]=.5*(F-H),g.x[1]=.5*(H-F)),g.x[0]-=.5*(L.left-N.left),g.x[1]-=.5*(L.left-N.left),g.x[0]-=.5*(L.left+L.width-N.right),g.x[1]-=.5*(L.left+L.width-N.right),te>J&&(g.y[0]=.5*(J-te),g.y[1]=.5*(te-J)),g.y[0]-=.5*(L.top-N.top),g.y[1]-=.5*(L.top-N.top),g.y[0]-=.5*(L.top+L.height-N.bottom),g.y[1]-=.5*(L.top+L.height-N.bottom)),g}function de(){if(!k("bounds")||u!==3||!(e!=null&&e.parentElement)||!l)return;const v=X(),g=j(),N=$e(v,h.scale,g);if(h.scale<v-.01||h.scale>g+.01)return void D(we.ZoomTo,{scale:N});if(l.isRunning()||s!=null&&s.isPointerDown())return;const L=U(N);h.x<L.x[0]||h.x>L.x[1]||h.y<L.y[0]||h.y>L.y[1]?(h.x=$e(L.x[0],h.x,L.x[1]),h.y=$e(L.y[0],h.y,L.y[1]),l.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:l.getCurrentVelocities()}),l.from(f).to(h).start()):ie()}function W(){if(!e||!e.parentElement||!r)return;const v=R(),g=ye(),N=Z(),L=me(),F=K(),J=M();r.classList.toggle("is-fullsize",L),r.classList.toggle("is-expanded",N),r.classList.toggle("is-dragging",g),r.classList.toggle("can-drag",v),r.classList.toggle("will-zoom-in",F),r.classList.toggle("will-zoom-out",J);const H=Q(),te=fe(),ce=u!==3;for(const ge of(e==null?void 0:e.querySelectorAll("[data-panzoom-action]"))||[]){const be=ge.dataset.panzoomAction;let ue=!1;if(ce)ue=!0;else switch(be){case we.ZoomIn:H||(ue=!0);break;case we.ZoomOut:te||(ue=!0);break;case we.ToggleFull:H||te||(ue=!0);const Me=ge.querySelector("g");Me&&(Me.style.display=L?"none":"");break;case we.ToggleCover:case we.ToggleMax:H||te||(ue=!0)}ue?(ge.setAttribute("aria-disabled",""),ge.setAttribute("tabindex","-1")):(ge.removeAttribute("aria-disabled"),ge.removeAttribute("tabindex"))}}function D(v,g){var N;if(!e||!o||!l||v===we.Swipe&&Math.abs(l.getCurrentVelocities().scale)>.01)return;let L=Object.assign({},h),F=U(V()?h.scale:f.scale);const J=l.getCurrentVelocities(),H=E(),te=(((N=(g=g||{}).currentTouch)===null||N===void 0?void 0:N.length)||0)>1,ce=g.velocityX||0,ge=g.velocityY||0;let be=g.center;!be&&g.srcEvent&&(be=ga(bl(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 De=[];switch(v){case we.Reset:h=Object.assign({},Nt),h.scale=G();break;case we.Pan:case we.Move:case we.MoveLeft:case we.MoveRight:case we.MoveUp:case we.MoveDown:if(s!=null&&s.isPointerDown()){let Le=1,Be=1;h.x<=F.x[0]&&ce<=0&&(Le=Math.max(.01,1-Math.abs(1/H.width*Math.abs(h.x-F.x[0]))),Le*=.2),h.x>=F.x[1]&&ce>=0&&(Le=Math.max(.01,1-Math.abs(1/H.width*Math.abs(h.x-F.x[1]))),Le*=.2),h.y<=F.y[0]&&ge<=0&&(Be=Math.max(.01,1-Math.abs(1/H.height*Math.abs(h.y-F.y[0]))),Be*=.2),h.y>=F.y[1]&&ge>=0&&(Be=Math.max(.01,1-Math.abs(1/H.height*Math.abs(h.y-F.y[1]))),Be*=.2),h.x+=ue*Le,h.y+=Me*Be}else h.x=$e(F.x[0],h.x+ue,F.x[1]),h.y=$e(F.y[0],h.y+Me,F.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(F.x[0],h.x,F.x[1])),!ge&&ce&&(h.y=$e(F.y[0],h.y,F.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,j()));break;case we.ZoomOut:h.scale=h.scale*(g.scale||.5),te||(h.scale=Math.max(h.scale,X()));break;case we.ToggleCover:De=[G(),S()];break;case we.ToggleFull:De=[G(),I()];break;case we.ToggleMax:De=[G(),j()];break;case we.IterateZoom:De=[G(),I(),j()];break;case we.Zoom:const Se=I();h.scale>=Se-.05?h.scale=G():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)),De.length){const _e=De.findIndex(Se=>Se>h.scale+1e-4);h.scale=De[_e]||De[0]}if(te&&(h.scale=$e(X()*(te?.8:1),h.scale,j()*(te?1.6:1))),V()){const _e=T(h.scale);if(_e){const{x:Se,y:Le}=_e;h.x=Se,h.y=Le}}else if(h.scale!==L.scale){let _e=0,Se=0;if(be)_e=be.x,Se=be.y;else{const re=e.getBoundingClientRect();_e=re.x+.5*re.width,Se=re.y+.5*re.height}let Le=_e-H.left,Be=Se-H.top;Le-=.5*H.width,Be-=.5*H.height;const q=(Le-L.x)/L.scale,ae=(Be-L.y)/L.scale;h.x=Le-q*h.scale,h.y=Be-ae*h.scale,!te&&k("bounds")&&(F=U(h.scale),h.x=$e(F.x[0],h.x,F.x[1]),h.y=$e(F.y[0],h.y,F.y[1]))}if(v===we.Swipe){let _e=94,Se=17,Le=500*h.scale,Be=J;l.spring({tension:_e,friction:Se,maxSpeed:Le,restDelta:.1,restSpeed:.1,velocity:Be})}else v===we.Pan||te?l.spring({tension:750,friction:17,restDelta:.01,restSpeed:.01,maxSpeed:1}):l.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:J});v===we.Reset&&g.velocity===0?f=Object.assign({},h):l.from(f).to(h).start(),w("action",v)}function ie(){if(!r||!o)return;if(o instanceof HTMLImageElement){const{width:te,height:ce}=C();r.style.maxWidth=`min(${te}px, 100%)`,r.style.maxHeight=`min(${ce}px, 100%)`}let{x:v,y:g,scale:N,angle:L,flipX:F,flipY:J}=f;const H=function(){const te=E(),ce=te.width,ge=te.height,{width:be,height:ue}=C();if(!e)return{x:0,y:0,width:0,height:0,scale:0,flipX:0,flipY:0,angle:0,fitWidth:ce,fitHeight:ge,fullWidth:be,fullHeight:ue};let{x:Me,y:De,scale:_e,angle:Se,flipX:Le,flipY:Be}=f,q=1/I(),ae=be,re=ue,le=f.scale*q,Ee=h.scale*q;const he=Math.max(ce,ge),ke=Math.min(ce,ge);be>ue?(ae=he,re=ke):(ae=ke,re=he),le=be>ue?he*_e/be||1:he*_e/ue||1;let z=ae?be*Ee:0,O=re?ue*Ee:0;return Me=Me+.5*ae-.5*z,De=De+.5*re-.5*O,{x:Me,y:De,width:z,height:O,scale:ae&&re?be*le/z:0,flipX:Le,flipY:Be,angle:Se,fitWidth:ce,fitHeight:ge,fullWidth:be,fullHeight:ue}}();if(r&&H){const{x:te,y:ce,width:ge,height:be,scale:ue,flipX:Me,flipY:De}=H;let _e=`translate(${St(te)}px, ${St(ce)}px)`;_e+=Me!==1||De!==1?` scaleX(${St(ue*Me)}) scaleY(${St(ue*De)})`:` scale(${St(ue)})`,L!==0&&(_e+=` rotate(${L}deg)`),i&&(i.style.width=`${St(ge)}px`,i.style.height=`${St(be)}px`,i.style.transform=`${_e}`)}w("render")}function ne(){let v=h.scale;const g=k("clickAction");let N=G();if(g){let L=[];switch(g){case we.ZoomIn:N=2*v;break;case we.ZoomOut:N=.5*v;break;case we.ToggleCover:L=[G(),S()];break;case we.ToggleFull:L=[G(),I()];break;case we.ToggleMax:L=[G(),j()];break;case we.IterateZoom:L=[G(),I(),j()];break;case we.Zoom:const F=I();N=v>=F-.05?G():Math.min(F,2*v)}if(L.length){const F=L.findIndex(J=>J>v+1e-4);N=L[F]||G()}}return N=$e(X(),N,j()),N}function K(){return u===3&&ne()>h.scale}function M(){return u===3&&ne()<h.scale}function Q(){return u===3&&h.scale<j()}function fe(){return u===3&&h.scale>X()}function R(){return u===3&&Z()&&!!s&&!V()}function ye(){return u===3&&(s==null?void 0:s.isPointerDown())&&!V()}function Z(){return u===3&&h.scale>G()}function me(){return u===3&&h.scale>=I()}const $={canDrag:R,canZoomIn:Q,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({},Nt),h=Object.assign({},Nt),l==null||l.destroy(),l=void 0,s==null||s.destroy(),s=void 0,u=4,$},emit:w,execute:D,getBoundaries:U,getContainer:function(){return e},getFullDim:C,getGestures:function(){return s},getMousemovePos:T,getOptions:function(){return m},getScale:Y,getState:function(){return u},getTransform:function(v){return v===!0?h:f},getTween:function(){return l},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 N=g();N.init($),c[v]=N}w("initPlugins")}(),function(){if(!e)return;const v=Object.assign(Object.assign({},So.classes),k("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",k("protected")){i.addEventListener("contextmenu",N=>{N.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(()=>{_()})}).catch(()=>{_()})};if(o.src&&o.complete)return void v();(function(){const g=e==null?void 0:e.querySelector(".f-spinner");if(!e||g)return;const N=k("spinnerTpl"),L=fa(N);L&&(L.classList.add("f-spinner"),e.classList.add("is-loading"),r==null||r.insertAdjacentElement("afterbegin",L))})(),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(),de(),w("refresh")),v=null}))}),d.observe(r),y.push(()=>{d==null||d.disconnect(),d=void 0,v&&(cancelAnimationFrame(v),v=null)})}}(),$},isDragging:ye,isExpanded:Z,isFullsize:me,localize:function(v,g=[]){const N=k("l10n")||{};v=String(v).replace(/\{\{(\w+)\}\}/g,(L,F)=>N[F]||L);for(let L=0;L<g.length;L++)v=v.split(g[L][0]).join(g[L][1]);return v=v.replace(/\{\{(.*?)\}\}/g,(L,F)=>F)},off:function(v,g){for(const N of v instanceof Array?v:[v])x.has(N)&&x.set(N,x.get(N).filter(L=>L!==g));return $},on:function(v,g){for(const N of v instanceof Array?v:[v])x.set(N,[...x.get(N)||[],g]);return $},version:"6.0.16",willZoomIn:K,willZoomOut:M};return $};Mo.l10n={en_EN:Co},Mo.getDefaults=()=>So;/*! License details at fancyapps.com/license */const Bo=(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,s])=>{const l=Array.isArray(s)?[]:{};e[i]||Object.assign(e,{[i]:l}),Et(s)?Object.assign(e[i],Tt(l,s)):Array.isArray(s)?Object.assign(e,{[i]:[...s]}):Object.assign(e,{[i]:s})})}return e};/*! License details at fancyapps.com/license */const Ao=function(e=0,a=0,n=0,r=0,o=0,i=!1){const s=(e-a)/(n-a)*(o-r)+r;return i?r<o?$e(r,s,o):$e(o,s,r):s};/*! 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 Vo=Object.assign(Object.assign({},Co),{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:Vo,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 Cl,Sl=0;const sr=(e,a={},n={})=>{Sl++;let r,o,i,s,l,d=0,p=Object.assign({},Ka),u=Object.assign({},Ka),m={},c=null,f=null,h=!1,y=!1,k=!1,x=!1,w="height",b=0,B=!0,A=0,_=0,E=0,C=0,V="*",T=[],Y=[];const X=new Set;let G=[],S=[],I=0,j=0;function U(q,...ae){let re=u[q];return re&&re instanceof Function?re(Be,...ae):re}function de(q,ae=[]){const re=U("l10n")||{};q=String(q).replace(/\{\{(\w+)\}\}/g,(le,Ee)=>re[Ee]||le);for(let le=0;le<ae.length;le++)q=q.split(ae[le][0]).join(ae[le][1]);return q=q.replace(/\{\{(.*?)\}\}/g,(le,Ee)=>Ee)}const W=new Map;function D(q,...ae){const re=W.get(q)||[];u.on&&re.push(u.on[q]);for(const le of re)le&&le instanceof Function&&le(Be,...ae);q!=="*"&&D("*",q,...ae)}function ie(){var q,ae;const re=Tt({},Ka,p);Tt(re,Ka,p);let le="";const Ee=p.breakpoints||{};if(Ee)for(const[he,ke]of Object.entries(Ee))window.matchMedia(he).matches&&(le+=he,Tt(re,ke));if(l===void 0||le!==l){if(l=le,d!==0){let he=(ae=(q=S[A])===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 T)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 z=ke();z.init(Be,sr),m[he]=z}D("initPlugins")}(),function(){if(!c)return;const he=U("classes")||{};ze(c,he.container),ze(c,he.isEnabled);const ke=U("style");if(ke&&Et(ke))for(const[z,O]of Object.entries(ke))c.style.setProperty(z,O);f=c.querySelector(`.${he.viewport}`),f||(f=document.createElement("div"),ze(f,he.viewport),f.append(...Bo(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=U("classes")||{};T=[],[...Bo(f,`.${he.slide}`)].forEach(ke=>{ke.parentElement&&(T.push(g(Object.assign({el:ke,isVirtual:!1},ke.dataset||{}))),ke.parentElement.removeChild(ke))}),v(U("slides"));for(const ke of T)D("addSlide",ke);D("initSlides")}(),o=pa().on("start",()=>{B=!1,r&&r.isPointerDown()||(M(),Se())}).on("step",he=>{b=he.pos,Se()}).on("end",he=>{r!=null&&r.isPointerDown()||(b=he.pos,o&&!y&&(b<E||b>C)?o.spring({clamp:!0,mass:1,tension:200,friction:25,velocity:0,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:$e(E,b,C)}).start():B||(B=!0,D("settle")))}),function(){const he=U("gestures");f&&he!==!1&&(r=xn(f,he).on("start",ke=>{var z,O;if(!o)return;const{srcEvent:P}=ke;function ee(xe){const Ae=window.getComputedStyle(xe),Ne=new DOMMatrixReadOnly(Ae.transform);return{width:Ne.m41||0,height:Ne.m42||0}}x&&Qa(P),o.pause(),o.getCurrentVelocities().pos=0;const se=(z=S[A])===null||z===void 0?void 0:z.slides[0];se&&X.has(se.index)&&se.el&&(b=se.offset||0,b+=(ee(se.el)[w]||0)*(k&&!x?1:-1)),ce(),y||(b<E||b>C)&&o.spring({clamp:!0,mass:1,tension:500,friction:25,velocity:((O=o.getCurrentVelocities())===null||O===void 0?void 0:O.pos)||0,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:$e(E,b,C)}).start()}).on("move",ke=>{const{srcEvent:z,axis:O}=ke,P=ke.srcEvent.target;P&&kn(P)||(O||(z.stopPropagation(),z.stopImmediatePropagation()),(O==="y"&&x||O==="x"&&!x)&&(Qa(z),z.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 z;const{deltaX:O,deltaY:P,currentTouch:ee,axis:se}=ke;if(!o||ee.length>1||se==="y"&&!x||se==="x"&&x)return;const xe=k&&!x?1:-1;let Ae=x?P:O,Ne=o!=null&&o.isRunning()?o.getEndValues().pos:b,Pe=1;y||(Ne<=E&&Ae*xe<0?(Pe=Math.max(.01,1-Math.abs(1/Z()*Math.abs(Ne-E))),Pe*=.2):Ne>=C&&Ae*xe>0&&(Pe=Math.max(.01,1-Math.abs(1/Z()*Math.abs(Ne-C))),Pe*=.2)),Ne+=Ae*Pe*xe,o.spring({clamp:!0,mass:1,tension:700,friction:25,velocity:((z=o.getCurrentVelocities())===null||z===void 0?void 0:z.pos)||0,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:Ne}).start()}).on("end",ke=>{var z,O;const{axis:P,velocityX:ee,velocityY:se,currentTouch:xe}=ke,Ae=S.length,Ne=U("dragFree");if(xe.length>0||!o||!Ae)return;const Pe=U("vertical")?se:ee;let je=o!=null&&o.isRunning()?o.getEndValues().pos:b;const nt=k&&!x?1:-1;if(je+=Pe*(Ne?5:1)*nt,!y&&(Pe*nt<=0&&je<E||Pe*nt>=0&&je>C)){let lt=0;return Math.abs(Pe)>0&&(lt=2*Math.abs(Pe),lt=Math.min(.3*Z(),lt)),je=$e(E+-1*lt,je,C+lt),void o.spring({clamp:!0,mass:1,tension:380,friction:25,velocity:-1*Pe,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:je}).start()}if(Ne||!((z=m.Autoscroll)===null||z===void 0)&&z.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:b}).to({pos:je}).start():o.isRunning()||B||(B=!0,D("settle")));if(!Ne&&!(!((O=m.Autoscroll)===null||O===void 0)&&O.isEnabled())&&(!ke.offsetX&&!ke.offsetY||P==="y"&&!x||P==="x"&&x))return void _e(A,{transition:"tween"});let bt=R(je);Math.abs(Pe)>10&&bt===A&&(bt+=Pe>0?k&&!x?1:-1:k&&!x?-1:1),_e(bt,{transition:"tween",tween:{tension:160,friction:25,velocity:-1*Pe}})}).init())}(),H(),function(){if(c&&(c.addEventListener("click",be,{passive:!1}),document.addEventListener("mousemove",ne),!i)){let he=null;i=new ResizeObserver(ke=>{he||(he=requestAnimationFrame(()=>{(function(z){if(!c)return;let O=z[0].contentBoxSize[0].blockSize,P=z[0].contentBoxSize[0].inlineSize;if(d===0)return I=O,j=P,d=1,Se(),Q(),void D("ready");if(d!==1)return;const ee=S.length;H();const se=c.getBoundingClientRect();O=se.height,P=se.width,ee>1&&(x&&Math.abs(O-I)<.5||!x&&Math.abs(P-j)<.5)||(I=O,j=P,x&&!O||!x&&!P||c&&f&&(ee===S.length&&(r!=null&&r.isPointerDown())||(U("dragFree")&&(y||b>E&&b<C)?(M(),Se()):_e(A,{transition:!1}))))})(ke),he=null}))}),i.observe(c)}}())}}function ne(q){Cl=q}function K(q="*"){var ae;const re=[];for(const le of T)(q==="*"||le.class&&le.class.includes(q)||le.el&&(!((ae=le.el)===null||ae===void 0)&&ae.classList.contains(q)))&&re.push(le);s=void 0,V=q,Y=[...re]}function M(){if(!o)return;const q=R(o!=null&&o.isRunning()?o.getEndValues().pos:b);q!==A&&(s=A,A=q,De(),Q(),fe(),D("change",A,s))}function Q(){var q;if(!c)return;ka(f,"is-draggable",!!r&&S.length>0);for(const le of c.querySelectorAll("[data-carousel-index]"))le.innerHTML=A+"";for(const le of c.querySelectorAll("[data-carousel-page]"))le.innerHTML=A+1+"";for(const le of c.querySelectorAll("[data-carousel-pages]"))le.innerHTML=S.length+"";let ae=!1;const re=(q=S[A])===null||q===void 0?void 0:q.slides[0];re&&(re.downloadSrc||re.type==="image"&&re.src)&&(ae=!0);for(const le of c.querySelectorAll("[data-carousel-download]"))le.toggleAttribute("aria-disabled",!ae)}function fe(q){var ae;if(!c)return;q||(q=(ae=S[A])===null||ae===void 0?void 0:ae.slides[0]);const re=q.el;if(re)for(const le of re.querySelectorAll("[data-slide-index]"))le.innerHTML=q.index+1+""}function R(q){if(!S.length||!o)return 0;const ae=me();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 le=new Map;let Ee=0;for(const ke of S){const z=Math.abs(ke.pos-re),O=Math.abs(ke.pos-re-ae),P=Math.abs(ke.pos-re+ae),ee=Math.min(z,O,P);le.set(Ee,ee),Ee++}const he=le.size>0?[...le.entries()].reduce((ke,z)=>z[1]<ke[1]?z:ke):[A,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(q=!0){const ae=ye();return Y.reduce((re,le)=>re+le.dim,0)+(Y.length-(y&&q?0:1))*ae}function $(q){const ae=ye(),re=me();let le=Z();if(!f)return[];const Ee=[];if(!re||!le)return[];q=q===void 0?b:q,y&&(q-=Math.floor(q/re)*re);let he=0,ke=0;if(h){const O=f.getBoundingClientRect();he=O.left,ke=O.right-O.width}let z=0;for(let O of Y){const P=(ee=0)=>{Ee.indexOf(O)>-1||(O.pos=z-q+ee||0,O.offset+ee>q-O.dim-he+.51&&O.offset+ee<q+le+ke-.51&&Ee.push(O))};if(O.offset=z,y)for(let ee=-1;ee<=1;ee++)P(re*ee);else P();z+=O.dim+ae}return Ee}function v(q,ae){const re=[];for(const le of Array.isArray(q)?q:[q]){const Ee=g(Object.assign(Object.assign({},le),{isVirtual:!0}));re.push(Ee)}T.splice(ae===void 0?T.length:ae,0,...re),J();for(const le of re)N(le);return K(V),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 N(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),D("contentReady",q))}function L(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),De(q);for(const le of T)if(le.index>q.index){re=le.el;break}f.insertBefore(ae,re&&f.contains(re)?re:null),D("attachSlideEl",q)}return ae}}function F(q){const ae=q==null?void 0:q.el;ae&&(ae.remove(),te(ae),D("detachSlideEl",q))}function J(){for(let q=0;q<T.length;q++){const ae=T[q],re=ae.el;re&&(ae.index!==q&&te(re),re.setAttribute("index",`${q}`)),ae.index=q}}function H(){var q,ae,re,le;if(!c||!f)return;k=U("rtl"),x=U("vertical"),w=x?"height":"width";const Ee=U("classes");ka(c,Ee.isLTR,!k),ka(c,Ee.isRTL,k),ka(c,Ee.isHorizontal,!x),ka(c,Ee.isVertical,x),ka(c,Ee.hasAdaptiveHeight,U("adaptiveHeight"));const he=f.getBoundingClientRect();if(!he.width&&!he.height)return;const ke=function(){let O=0;if(f){let P=document.createElement("div");ze(P,u.classes.slide),f.appendChild(P),O=P.getBoundingClientRect()[w],P.remove(),P=void 0}return O}();for(const O of Y){const P=O.el;let ee=0;if(!O.isVirtual&&P&&Ua(P)){let se=!1;P.parentElement&&P.parentElement===f||(f.appendChild(P),se=!0),ee=P.getBoundingClientRect()[w],se&&((q=P.parentElement)===null||q===void 0||q.removeChild(P))}else ee=ke;O.dim=ee}(function(){if(!c)return;J();const O=Z(),P=ye(),ee=me(!1);let se=U("slidesPerPage");se=se==="auto"?1/0:parseFloat(se+""),S=[];let xe=0,Ae=0;for(const Je of Y)(!S.length||xe+Je.dim-O>.05||Ae>=se)&&(S.push({index:S.length,slides:[],dim:0,offset:0,pos:0}),xe=0,Ae=0),S[S.length-1].slides.push(Je),xe+=Je.dim+P,Ae++;const Ne=U("center"),Pe=U("fill"),je=U("infinite");let nt=0;for(const Je of S){Je.dim=(Je.slides.length-1)*P;for(const xa of Je.slides)Je.dim+=xa.dim;Je.offset=nt,Je.pos=nt,Ne!==!1&&(Je.pos-=.5*(O-Je.dim)),Pe&&!je&&ee>O&&(Je.pos=$e(0,Je.pos,ee-O)),nt+=Je.dim+P}const bt=[];let lt;for(const Je of S){const xa=Object.assign({},Je);lt&&xa.pos===lt.pos?(lt.dim+=xa.dim,lt.slides=[...lt.slides,...xa.slides]):(lt=xa,xa.index=bt.length,bt.push(xa))}S=bt,Q()})();let z=Z();if(h){const O=f.getBoundingClientRect();z+=O.left,z+=O.right-O.width}if(y=U("infinite")&&S.length>1&&me()-(z+(((ae=Y[0])===null||ae===void 0?void 0:ae.dim)||0))>-.5,E=((re=S[0])===null||re===void 0?void 0:re.pos)||0,C=((le=S[S.length-1])===null||le===void 0?void 0:le.pos)||0,d===0)(function(){var O;s=void 0,A=U("initialPage");const P=U("initialSlide")||void 0;P!==void 0&&(A=Be.getPageIndex(P)||0),A=$e(0,A,S.length-1),b=((O=S[A])===null||O===void 0?void 0:O.pos)||0,_=b})();else{const O=o!=null&&o.isRunning()?o.getEndValues().pos:b;(O<E||O>C)&&(A=$e(0,A,S.length-1),_=S[A||0].pos||0)}D("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 le=[`f-${re}Out`,`f-${re}In`,"to-prev","to-next","from-prev","from-next"];q.removeEventListener("animationend",ge),Jt(q,le.join(" ")),X.delete(ae)}function ce(){if(!f)return;const q=X.size;for(const ae of Y)te(ae.el);X.clear(),q&&Se()}function ge(q){q.animationName.substring(0,2)==="f-"&&(te(q.target),X.size||(Jt(c,"in-transition"),!B&&Math.abs(Be.getPosition(!0)-_)<.5&&(B=!0,D("settle"))),Se())}function be(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 le=S[A].slides[0];if(le.downloadSrc||le.type==="image"&&le.src){const Ee=le.downloadFilename,he=document.createElement("a"),ke=le.downloadSrc||le.src||"";he.href=ke,he.target="_blank",he.download=Ee||ke,he.click()}}else D("click",q)}function ue(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 De(q){var ae;q||(q=(ae=S[A])===null||ae===void 0?void 0:ae.slides[0]);const re=q==null?void 0:q.el;if(!re)return;let le=U("formatCaption",q);le===void 0&&(le=q.caption),le=le||"";const Ee=U("captionEl");if(Ee&&Ee instanceof HTMLElement){if(q.index!==A)return;if(ft(le)&&(Ee.innerHTML=de(le+"")),le instanceof HTMLElement){if(le.parentElement===Ee)return;Ee.innerHTML="",le.parentElement&&(le=le.cloneNode(!0)),Ee.append(le)}return}if(!le)return;let he=q.captionEl||re.querySelector(".f-caption");!he&&le instanceof HTMLElement&&le.classList.contains("f-caption")&&(he=le),he||(he=document.createElement("div"),ze(he,"f-caption"),ft(le)?he.innerHTML=de(le+""):le instanceof HTMLElement&&(le.parentElement&&(le=le.cloneNode(!0)),he.append(le)));const ke=`f-caption-${Sl}_${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:le}=Object.assign({transition:u.transition,tween:u.tween},ae||{});if(!c||!o)return;const Ee=S.length;if(!Ee||function(ke,z){var O,P,ee,se;if(!(c&&o&&z&&ft(z)&&z!=="tween")||((O=S[A])===null||O===void 0?void 0:O.slides.length)>1)return!1;const xe=S.length;let Ae=ke>A?1:-1;ke=y?(ke%xe+xe)%xe:$e(0,ke,xe-1),k&&(Ae*=-1);const Ne=(P=S[A])===null||P===void 0?void 0:P.slides[0],Pe=Ne==null?void 0:Ne.index,je=(ee=S[ke])===null||ee===void 0?void 0:ee.slides[0],nt=je==null?void 0:je.index,bt=(se=S[ke])===null||se===void 0?void 0:se.pos;if(nt===void 0||Pe===void 0||Pe===nt||b===bt||Math.abs(Z()-((je==null?void 0:je.dim)||0))>1)return!1;B=!1,o.pause(),ce(),ze(c,"in-transition"),b=_=bt;const lt=L(Ne),Je=L(je);return M(),lt&&(X.add(Pe),lt.style.transform="",lt.addEventListener("animationend",ge),Jt(lt,u.classes.isSelected),ze(lt,`f-${z}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-${z}In from-${Ae>0?"prev":"next"}`)),Se(),!0}(q,re))return;q=y?(q%Ee+Ee)%Ee:$e(0,q,Ee-1),_=S[q||0].pos||0;const he=o.isRunning()?o.getEndValues().pos:b;if(Math.abs(_-he)<1)return b=_,A!==q&&(De(),Q(),fe(),s=A,A=q,D("change",A,s)),Se(),void(B||(B=!0,D("settle")));if(o.pause(),ce(),y){const ke=me(),z=Math.floor((he-S[0].pos)/ke),O=_+z*ke;_=[O+ke,O,O-ke].reduce(function(P,ee){return Math.abs(ee-he)<Math.abs(P-he)?ee:P})}re!==!1&&Et(le)?o.spring(le).from({pos:b}).to({pos:_}).start():(b=_,M(),Se(),B||(B=!0,D("settle")))}function Se(){var q;if(!c||!f)return;const ae=S[A];G=$();const re=new Set;let le;const Ee=[];for(const he of Y){if(he.isVirtual&&!X.has(he.index)&&G.indexOf(he)<0)continue;let ke=L(he);if(!ke)continue;Ee.push(he);const z=((q=ae==null?void 0:ae.slides)===null||q===void 0?void 0:q.indexOf(he))>-1;if(z&&re.add(ke),!X.has(he.index)){const O=he.pos?Math.round(1e4*he.pos)/1e4:0,P=x?0:k?-1*O:O,ee=x?O:0,se=Ao(P,0,he.dim,0,100),xe=Ao(ee,0,he.dim,0,100),Ae=u.setTransform||void 0;Ae instanceof Function?Ae(Be,he,{x:P,y:ee,xPercent:se,yPercent:xe}):ke.style.transform=P||ee?`translate3d(${se}%, ${xe}%,0)`:""}if(U("adaptiveHeight")&&z){const O=(ke.firstElementChild||ke).getBoundingClientRect().height;le=le==null?O:Math.max(le,O)}}[...Bo(f,`.${u.classes.slide}`)].forEach(he=>{const ke=parseInt(he.getAttribute("index")||"-1"),z=T[ke];z||he.remove(),ka(he,u.classes.isSelected,re.has(he)),z.isVirtual&&!X.has(z.index)&&G.indexOf(z)<0&&F(z)}),f&&le&&(f.style.height=`${le}px`),D("render",Ee)}function Le(){var q;c==null||c.removeEventListener("click",be),ce(),document.removeEventListener("mousemove",ne),i==null||i.disconnect(),i=void 0;for(const ae of T)ae.el&&Ua(ae.el)&&(ae.state=void 0,ue(ae),Me(ae),F(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=b,le=_,Ee=v(q,ae);for(const he of Ee)D("addSlide",he);return K(V),H(),o&&le!==_&&o.spring({clamp:!0,mass:1,tension:300,friction:25,restDelta:1,restSpeed:1}).from({pos:re}).to({pos:_}).start(),Se(),Be},canGoPrev:function(){return y||A>0},canGoNext:function(){return y||A<S.length-1},destroy:function(){return D("destroy"),window.removeEventListener("resize",ie),Le(),W.clear(),c=null,S=[],T=[],u=Object.assign({},Ka),m={},Y=[],l="",V="*",d=2,Be},emit:D,filter:function(q="*"){return K(q),H(),Se(),D("filter",q),Be},getContainer:function(){return c},getGapDim:ye,getGestures:function(){return r},getLastMouseMove:function(){return Cl},getOptions:function(){return u},getPage:function(){return S[A]},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 A},getPageProgress:function(q,ae){q===void 0&&(q=A);const re=S[q];if(!re)return q>A?-1:1;const le=me(),Ee=ye();let he=re.pos,ke=Be.getPosition();if(y&&ae!==!0){const z=Math.floor((ke-S[0].pos)/le);ke-=z*le,he=[he+le,he,he-le].reduce(function(O,P){return Math.abs(P-ke)<Math.abs(O-ke)?P:O})}return(ke-he)/(re.dim+Ee)},getPageVisibility:function(q){q===void 0&&(q=A);const ae=S[q];if(!ae)return q>A?-1:1;const re=Be.getPosition(),le=Z();let Ee=ae.pos;if(y){const he=Be.getPosition(),ke=me(),z=Ee+Math.floor((he-S[0].pos)/ke)*ke;Ee=[z+ke,z,z-ke].reduce(function(O,P){return Math.abs(P-he)<Math.abs(O-he)?P:O})}return Ee>re&&Ee+ae.dim<re+le?1:Ee<re?(Ee+ae.dim-re)/ae.dim:Ee+ae.dim>re+le?(re+le-Ee)/ae.dim:0},getPages:function(){return S},getPlugins:function(){return m},getPosition:function(q){var ae;let re=b;if(y&&q!==!0){const le=me();re-=Math.floor((b-((ae=S[0])===null||ae===void 0?void 0:ae.pos)||0)/le)*le}return re},getSlides:function(){return T},getState:function(){return d},getTotalSlideDim:me,getTween:function(){return o},getViewport:function(){return f},getViewportDim:Z,getVisibleSlides:function(q){return q===void 0?G:$(q)},goTo:_e,hasNavigated:function(){return s!==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 k},isSettled:function(){return B},localize:function(q,ae=[]){return de(q,ae)},next:function(q={}){return _e(A+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(le=>le!==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(A-1,q),Be},remove:function(q){q===void 0&&(q=T.length-1);const ae=T[q];return ae&&(D("removeSlide",ae),ae.el&&(te(ae.el),ae.el.remove(),ae.el=void 0),T.splice(q,1),K(V),H(),Se()),Be},setPosition:function(q){b=q,M(),Se()},showError:function(q,ae){ue(q),Me(q);const re=q.el;if(re){const le=document.createElement("div");ze(le,"f-html"),ze(le,"is-error"),le.innerHTML=de(ae||"<p>{{ERROR}}</p>"),q.htmlEl=le,ze(re,"has-html"),ze(re,"has-error"),re.insertAdjacentElement("afterbegin",le),D("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 le=U("spinnerTpl"),Ee=fa(le);return Ee&&(ze(Ee,"f-spinner"),ze(ae,"is-loading"),ae.insertAdjacentElement("beforeend",Ee)),Be},version:"6.0.16"};return Be};sr.l10n={en_EN:Vo},sr.getDefaults=()=>Ka;/*! License details at fancyapps.com/license */const Ml=(e=!0,a="--f-scrollbar-compensate",n="--f-body-margin",r="hide-scrollbar")=>{const o=document,i=o.body,s=o.documentElement;if(e){if(i.classList.contains(r))return;let l=window.innerWidth-s.getBoundingClientRect().width;l<0&&(l=0),s.style.setProperty(a,`${l}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 Bl(){return!(typeof window>"u"||!window.document||!window.document.createElement)}/*! License details at fancyapps.com/license */const ba=function(e="",a="",n=""){return e.split(a).join(n)};/*! License details at fancyapps.com/license */const Al={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&&Hn.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}:Hn.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),Hn.assertOptions(n,{baseUrl:It.spelling("baseURL"),withXsrfToken:It.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=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(s,i);const l=[];let d=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(d=d&&y.synchronous,l.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=[Oi.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,p),c=h.length,u=Promise.resolve(n);m<c;)u=u.then(h[m++],h[m++]);return u}c=l.length;let f=n;for(m=0;m<c;){const h=l[m++],y=l[m++];try{f=h(f)}catch(k){y.call(this,k);break}}try{u=Oi.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=Mi(a.baseURL,a.url,a.allowAbsoluteUrls);return yi(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,s,l){return this.request(va(l||{},{method:a,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Ea.prototype[a]=n(),Ea.prototype[a+"Form"]=n(!0)});let Vc=class L1{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 s=new Promise(l=>{r.subscribe(l),i=l}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},a(function(i,s,l){r.reason||(r.reason=new Pa(i,s,l),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 L1(function(o){a=o}),cancel:a}}};function Dc(e){return function(n){return e.apply(null,n)}}function _c(e){return oe.isObject(e)&&e.isAxiosError===!0}const Vr={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(Vr).forEach(([e,a])=>{Vr[a]=e});function $i(e){const a=new Ea(e),n=ai(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 $i(va(e,o))},n}const Qe=$i(nn);Qe.Axios=Ea,Qe.CanceledError=Pa,Qe.CancelToken=Vc,Qe.isCancel=vi,Qe.VERSION=Fi,Qe.toFormData=Tn,Qe.AxiosError=Te,Qe.Cancel=Qe.CanceledError,Qe.all=function(a){return Promise.all(a)},Qe.spread=Dc,Qe.isAxiosError=_c,Qe.mergeConfig=va,Qe.AxiosHeaders=Bt,Qe.formToJSON=e=>xi(oe.isHTMLForm(e)?new FormData(e):e),Qe.getAdapter=Pi.getAdapter,Qe.HttpStatusCode=Vr,Qe.default=Qe;const{Axios:Gw,AxiosError:jw,CanceledError:qw,isCancel:Ww,CancelToken:Yw,VERSION:Uw,all:Xw,Cancel:Zw,isAxiosError:Qw,spread:Kw,toFormData:Jw,AxiosHeaders:ev,HttpStatusCode:tv,formToJSON:av,getAdapter:nv,mergeConfig:rv}=Qe,Hi=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=Hi().getToken;return n&&(e.headers.Authorization=`Bearer ${n}`),e},e=>Promise.reject(e));const Nc="v1/api/attendances/attendant/",Tc="v1/api/attendances/department/",Dr="v1/api/attendances/internal_chat/",Pc="v1/api/instances/instance/",_r=zt.defineStore("instance",{state:()=>({instances:[],count:null,loaded:!1}),actions:{async fetchInstances(e=""){try{let a=`${Pc}`;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}}}),Oc={class:"w-full relative text-current"},Fc={class:"flex cursor-pointer justify-between items-center"},Lc={key:0},$c={key:0},Hc={key:1,class:"flex items-center gap-2"},Rc={class:"flex gap-3 items-center flex-shrink-0"},zc={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-5 h-5 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-5 h-5 absolute -bottom-2 -right-2 rounded-full bi bi-meta",viewBox:"0 0 16 16"},jc={class:"my-auto text-center mx-auto group-hover:inline-block"},qc={key:1,class:"flex justify-center"},Wc={class:"w-full"},Yc={key:1,class:"flex items-center gap-2 justify-center"},Uc={class:"flex px-4 items-center gap-2"},Xc={key:0,class:"absolute top-[48px] w-full z-20 text-sm"},Zc={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"},Qc={class:"select-none cursor-pointer w-full"},Kc=["onClick","disabled"],Jc={class:"flex w-full items-center pl-2 gap-3"},e2={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"},t2={key:1,class:"relative"},a2={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"},n2={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"},r2={class:"w-full text-center"},o2={class:"my-auto text-center mx-auto group-hover:inline-block"},i2={key:1,class:"flex justify-center"},s2={class:"flex min-w-[50px] text-sm text-center items-center my-auto flex-shrink-0 px-1 justify-center"},l2={key:1,class:"p-4"},Ri={__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=_r(),r=t.ref(!1),o=t.ref(null),i=e,s=a;function l(d){o.value=d,s("function",d)}return t.watch(()=>i.modelValue,d=>{o.value=d},{immediate:!0}),t.watch(o,d=>{s("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)}s("component-mounted")}),(d,p)=>{const u=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("main",Oc,[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",Fc,[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",Lc,[o.value?(t.openBlock(),t.createElementBlock("span",Hc,[t.createElementVNode("header",Rc,[o.value.type==="whatsapp-qrcode"?(t.openBlock(),t.createElementBlock("svg",zc,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",Ic,[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",Gc,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",jc,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",qc,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",Wc,t.toDisplayString(o.value.name),1)])):(t.openBlock(),t.createElementBlock("span",$c,t.toDisplayString(t.unref(n).instances?t.unref(n).instances.length:"Sem")+" Instâncias disponíveis",1))])):(t.openBlock(),t.createElementBlock("div",Yc,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",Uc,[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",Xc,[t.createElementVNode("ul",Zc,[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",Qc,[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,l(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",Jc,[m.type==="whatsapp-qrcode"?(t.openBlock(),t.createElementBlock("svg",e2,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",t2,[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",a2,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",n2,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",r2,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",o2,t.toDisplayString(m.status===!0?"Conectada":m.status===!1?"Desconectada":"Indefinida"),1)],2)]),default:t.withCtx(()=>[m.isLoading?(t.openBlock(),t.createElementBlock("div",i2,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",s2,[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,Kc)]))),256)):(t.openBlock(),t.createElementBlock("div",l2," 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 zi(e,a){const{years:n=0,months:r=0,weeks:o=0,days:i=0,hours:s=0,minutes:l=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=l+s*60,h=(d+c*60)*1e3;return He(e,m.getTime()+h)}function c2(e,a){const n=+Ce(e);return He(e,n+a)}const Ii=6048e5,d2=864e5,u2=6e4,Gi=36e5,m2=1e3;function f2(e,a){return c2(e,a*Gi)}let h2={};function Ca(){return h2}function Lt(e,a){var l,d,p,u;const n=Ca(),r=(a==null?void 0:a.weekStartsOn)??((d=(l=a==null?void 0:a.locale)==null?void 0:l.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(),s=(i<r?7:0)+i-r;return o.setDate(o.getDate()-s),o.setHours(0,0,0,0),o}function Oa(e){return Lt(e,{weekStartsOn:1})}function ji(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 s=Oa(i);return a.getTime()>=o.getTime()?n+1:a.getTime()>=s.getTime()?n:n-1}function qi(e){const a=Ce(e);return a.setHours(0,0,0,0),a}function Rn(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 Wi(e,a){const n=qi(e),r=qi(a),o=+n-Rn(n),i=+r-Rn(r);return Math.round((o-i)/d2)}function p2(e){const a=ji(e),n=He(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),Oa(n)}function g2(e,a){const n=a*3;return Ft(e,n)}function Nr(e,a){return Ft(e,a*12)}function Yi(e,a){const n=Ce(e),r=Ce(a),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function Ui(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function on(e){if(!Ui(e)&&typeof e!="number")return!1;const a=Ce(e);return!isNaN(Number(a))}function Xi(e){const a=Ce(e);return Math.trunc(a.getMonth()/3)+1}function y2(e,a){const n=Ce(e),r=Ce(a);return n.getFullYear()-r.getFullYear()}function k2(e,a){const n=Ce(e),r=Ce(a),o=Yi(n,r),i=Math.abs(y2(n,r));n.setFullYear(1584),r.setFullYear(1584);const s=Yi(n,r)===-o,l=o*(i-+s);return l===0?0:l}function Zi(e,a){const n=Ce(e.start),r=Ce(e.end);let o=+n>+r;const i=o?+n:+r,s=o?r:n;s.setHours(0,0,0,0);let l=1;const d=[];for(;+s<=i;)d.push(Ce(s)),s.setDate(s.getDate()+l),s.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 b2(e,a){const n=Ce(e.start),r=Ce(e.end);let o=+n>+r;const i=o?+Sa(n):+Sa(r);let s=Sa(o?r:n),l=1;const d=[];for(;+s<=i;)d.push(Ce(s)),s=g2(s,l);return o?d.reverse():d}function x2(e){const a=Ce(e);return a.setDate(1),a.setHours(0,0,0,0),a}function Qi(e){const a=Ce(e),n=a.getFullYear();return a.setFullYear(n+1,0,0),a.setHours(23,59,59,999),a}function sn(e){const a=Ce(e),n=He(e,0);return n.setFullYear(a.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Ki(e,a){var l,d,p,u;const n=Ca(),r=(a==null?void 0:a.weekStartsOn)??((d=(l=a==null?void 0:a.locale)==null?void 0:l.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(),s=(i<r?-7:0)+6-(i-r);return o.setDate(o.getDate()+s),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 w2={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"}},v2=(e,a,n)=>{let r;const o=w2[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 Tr(e){return(a={})=>{const n=a.width?String(a.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const E2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},C2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},S2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},M2={date:Tr({formats:E2,defaultWidth:"full"}),time:Tr({formats:C2,defaultWidth:"full"}),dateTime:Tr({formats:S2,defaultWidth:"full"})},B2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},A2=(e,a,n,r)=>B2[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 s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;o=e.formattingValues[l]||e.formattingValues[s]}else{const s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[s]}const i=e.argumentCallback?e.argumentCallback(a):a;return o[i]}}const V2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},D2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},_2={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"]},N2={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"]},T2={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"}},P2={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"}},O2={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:V2,defaultWidth:"wide"}),quarter:ln({values:D2,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ln({values:_2,defaultWidth:"wide"}),day:ln({values:N2,defaultWidth:"wide"}),dayPeriod:ln({values:T2,defaultWidth:"wide",formattingValues:P2,defaultFormattingWidth:"wide"})};function cn(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 s=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(l)?L2(l,m=>m.test(s)):F2(l,m=>m.test(s));let p;p=e.valueCallback?e.valueCallback(d):d,p=n.valueCallback?n.valueCallback(p):p;const u=a.slice(s.length);return{value:p,rest:u}}}function F2(e,a){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&a(e[n]))return n}function L2(e,a){for(let n=0;n<e.length;n++)if(a(e[n]))return n}function $2(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 s=e.valueCallback?e.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const l=a.slice(o.length);return{value:s,rest:l}}}const H2=/^(\d+)(th|st|nd|rd)?/i,R2=/\d+/i,z2={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},I2={any:[/^b/i,/^(a|c)/i]},G2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},j2={any:[/1/i,/2/i,/3/i,/4/i]},q2={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},W2={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]},Y2={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},U2={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]},X2={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},Z2={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}},Q2={ordinalNumber:$2({matchPattern:H2,parsePattern:R2,valueCallback:e=>parseInt(e,10)}),era:cn({matchPatterns:z2,defaultMatchWidth:"wide",parsePatterns:I2,defaultParseWidth:"any"}),quarter:cn({matchPatterns:G2,defaultMatchWidth:"wide",parsePatterns:j2,defaultParseWidth:"any",valueCallback:e=>e+1}),month:cn({matchPatterns:q2,defaultMatchWidth:"wide",parsePatterns:W2,defaultParseWidth:"any"}),day:cn({matchPatterns:Y2,defaultMatchWidth:"wide",parsePatterns:U2,defaultParseWidth:"any"}),dayPeriod:cn({matchPatterns:X2,defaultMatchWidth:"any",parsePatterns:Z2,defaultParseWidth:"any"})},es={code:"en-US",formatDistance:v2,formatLong:M2,formatRelative:A2,localize:O2,match:Q2,options:{weekStartsOn:0,firstWeekContainsDate:1}};function K2(e){const a=Ce(e);return Wi(a,sn(a))+1}function Pr(e){const a=Ce(e),n=+Oa(a)-+p2(a);return Math.round(n/Ii)+1}function Or(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,s=He(e,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);const l=Lt(s,a),d=He(e,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const p=Lt(d,a);return n.getTime()>=l.getTime()?r+1:n.getTime()>=p.getTime()?r:r-1}function J2(e,a){var l,d,p,u;const n=Ca(),r=(a==null?void 0:a.firstWeekContainsDate)??((d=(l=a==null?void 0:a.locale)==null?void 0:l.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.firstWeekContainsDate)??1,o=Or(e,a),i=He(e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Lt(i,a)}function Fr(e,a){const n=Ce(e),r=+Lt(n,a)-+J2(n,a);return Math.round(r/Ii)+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"},ts={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=Or(e,r),i=o>0?o:1-o;if(a==="YY"){const s=i%100;return Ie(s,2)}return a==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ie(i,a.length)},R:function(e,a){const n=ji(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=Fr(e,r);return a==="wo"?n.ordinalNumber(o,{unit:"week"}):Ie(o,a.length)},I:function(e,a,n){const r=Pr(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=K2(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 ns(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 ns(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"+as(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"+as(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 as(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 ns(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 rs=(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"})}},os=(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"})}},Lr={p:os,P:(e,a)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return rs(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}}",rs(r,a)).replace("{{time}}",os(o,a))}},ed=/^D+$/,td=/^Y+$/,ad=["D","DD","YY","YYYY"];function is(e){return ed.test(e)}function ss(e){return td.test(e)}function $r(e,a,n){const r=nd(e,a,n);if(console.warn(r),ad.includes(e))throw new RangeError(r)}function nd(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 rd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,od=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,id=/^'([^]*?)'?$/,sd=/''/g,ld=/[a-zA-Z]/;function Gt(e,a,n){var u,m,c,f,h,y,k,x;const r=Ca(),o=(n==null?void 0:n.locale)??r.locale??es,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,s=(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=(k=r.locale)==null?void 0:k.options)==null?void 0:x.weekStartsOn)??0,l=Ce(e);if(!on(l))throw new RangeError("Invalid time value");let d=a.match(od).map(w=>{const b=w[0];if(b==="p"||b==="P"){const B=Lr[b];return B(w,o.formatLong)}return w}).join("").match(rd).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const b=w[0];if(b==="'")return{isToken:!1,value:cd(w)};if(ts[b])return{isToken:!0,value:w};if(b.match(ld))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return{isToken:!1,value:w}});o.localize.preprocessor&&(d=o.localize.preprocessor(l,d));const p={firstWeekContainsDate:i,weekStartsOn:s,locale:o};return d.map(w=>{if(!w.isToken)return w.value;const b=w.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&ss(b)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&is(b))&&$r(b,a,String(e));const B=ts[b[0]];return B(l,b,o.localize,p)}).join("")}function cd(e){const a=e.match(id);return a?a[1].replace(sd,"'"):e}function dd(e){return Ce(e).getDay()}function ud(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 md(){return Object.assign({},Ca())}function Zt(e){return Ce(e).getHours()}function fd(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 dn(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 hd(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 pd=10;class ls{constructor(){ve(this,"subPriority",0)}validate(a,n){return!0}}class gd extends ls{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 yd extends ls{constructor(){super(...arguments);ve(this,"priority",pd);ve(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:He(n,hd(n,Date))}}class Re{run(a,n,r,o){const i=this.parse(a,n,r,o);return i?{setter:new gd(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(a,n,r){return!0}}class kd 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,s=n[5]?parseInt(n[5],10):0;return{value:r*(o*Gi+i*u2+s*m2),rest:a.slice(n[0].length)}}function cs(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 zn(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 Hr(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 ds(e,a){const n=a>0,r=n?a:1-a;let o;if(r<=50)o=e||100;else{const i=r+50,s=Math.trunc(i/100)*100,l=e>=i%100;o=e+s-(l?100:0)}return n?o:1-o}function us(e){return e%400===0||e%4===0&&e%100!==0}class bd 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=s=>({year:s,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 l=ds(o.year,i);return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}const s=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class xd 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=s=>({year:s,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 s=Or(n,i);if(o.isTwoDigitYear){const d=ds(o.year,s);return n.setFullYear(d,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Lt(n,i)}const l=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(l,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Lt(n,i)}}class wd 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 zn(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 vd 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 zn(r==="u"?4:r.length,n)}set(n,r,o){return n.setFullYear(o,0,1),n.setHours(0,0,0,0),n}}class Ed 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 Cd 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 Sd 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=s=>s-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 Md 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=s=>s-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 Bd(e,a,n){const r=Ce(e),o=Fr(r,n)-a;return r.setDate(r.getDate()-o*7),r}class Ad 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(Bd(n,o,i),i)}}function Vd(e,a){const n=Ce(e),r=Pr(n)-a;return n.setDate(n.getDate()-r*7),n}class Dd 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(Vd(n,o))}}const _d=[31,28,31,30,31,30,31,31,30,31,30,31],Nd=[31,29,31,30,31,30,31,31,30,31,30,31];class Td 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=us(o),s=n.getMonth();return i?r>=1&&r<=Nd[s]:r>=1&&r<=_d[s]}set(n,r,o){return n.setDate(o),n.setHours(0,0,0,0),n}}class Pd 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 us(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 Rr(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),s=i.getDay(),d=(a%7+7)%7,p=7-o,u=a<0||a>6?a-(s+p)%7:(d+p)%7-(s+p)%7;return Ot(i,u)}class Od 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=Rr(n,o,i),n.setHours(0,0,0,0),n}}class Fd 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 s=l=>{const d=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+d};switch(r){case"e":case"ee":return ot(et(r.length,n),s);case"eo":return ot(o.ordinalNumber(n,{unit:"day"}),s);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=Rr(n,o,i),n.setHours(0,0,0,0),n}}class Ld 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 s=l=>{const d=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+d};switch(r){case"c":case"cc":return ot(et(r.length,n),s);case"co":return ot(o.ordinalNumber(n,{unit:"day"}),s);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=Rr(n,o,i),n.setHours(0,0,0,0),n}}function $d(e,a){const n=Ce(e),r=fd(n),o=a-r;return Ot(n,o)}class Hd 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=s=>s===0?7:s;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=$d(n,o),n.setHours(0,0,0,0),n}}class Rd 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(Hr(o),0,0,0),n}}class zd 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(Hr(o),0,0,0),n}}class Id 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(Hr(o),0,0,0),n}}class Gd 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 jd 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 qd 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 Wd 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 Yd 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 Ud 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 Xd 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 Zd 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()-Rn(n)-o)}}class Qd 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()-Rn(n)-o)}}class Kd extends Re{constructor(){super(...arguments);ve(this,"priority",40);ve(this,"incompatibleTokens","*")}parse(n){return cs(n)}set(n,r,o){return[He(n,o*1e3),{timestampIsSet:!0}]}}class Jd extends Re{constructor(){super(...arguments);ve(this,"priority",20);ve(this,"incompatibleTokens","*")}parse(n){return cs(n)}set(n,r,o){return[He(n,o),{timestampIsSet:!0}]}}const e3={G:new kd,y:new bd,Y:new xd,R:new wd,u:new vd,Q:new Ed,q:new Cd,M:new Sd,L:new Md,w:new Ad,I:new Dd,d:new Td,D:new Pd,E:new Od,e:new Fd,c:new Ld,i:new Hd,a:new Rd,b:new zd,B:new Id,h:new Gd,H:new jd,K:new qd,k:new Wd,m:new Yd,s:new Ud,S:new Xd,X:new Zd,x:new Qd,t:new Kd,T:new Jd},t3=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,a3=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,n3=/^'([^]*?)'?$/,r3=/''/g,o3=/\S/,i3=/[a-zA-Z]/;function zr(e,a,n,r){var y,k,x,w,b,B,A,_;const o=md(),i=(r==null?void 0:r.locale)??o.locale??es,s=(r==null?void 0:r.firstWeekContainsDate)??((k=(y=r==null?void 0:r.locale)==null?void 0:y.options)==null?void 0:k.firstWeekContainsDate)??o.firstWeekContainsDate??((w=(x=o.locale)==null?void 0:x.options)==null?void 0:w.firstWeekContainsDate)??1,l=(r==null?void 0:r.weekStartsOn)??((B=(b=r==null?void 0:r.locale)==null?void 0:b.options)==null?void 0:B.weekStartsOn)??o.weekStartsOn??((_=(A=o.locale)==null?void 0:A.options)==null?void 0:_.weekStartsOn)??0;if(a==="")return e===""?Ce(n):He(n,NaN);const d={firstWeekContainsDate:s,weekStartsOn:l,locale:i},p=[new yd],u=a.match(a3).map(E=>{const C=E[0];if(C in Lr){const V=Lr[C];return V(E,i.formatLong)}return E}).join("").match(t3),m=[];for(let E of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&ss(E)&&$r(E,a,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&is(E)&&$r(E,a,e);const C=E[0],V=e3[C];if(V){const{incompatibleTokens:T}=V;if(Array.isArray(T)){const X=m.find(G=>T.includes(G.token)||G.token===C);if(X)throw new RangeError(`The format string mustn't contain \`${X.fullToken}\` and \`${E}\` at the same time`)}else if(V.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:C,fullToken:E});const Y=V.run(e,E,i.match,d);if(!Y)return He(n,NaN);p.push(Y.setter),e=Y.rest}else{if(C.match(i3))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");if(E==="''"?E="'":C==="'"&&(E=s3(E)),e.indexOf(E)===0)e=e.slice(E.length);else return He(n,NaN)}}if(e.length>0&&o3.test(e))return He(n,NaN);const c=p.map(E=>E.priority).sort((E,C)=>C-E).filter((E,C,V)=>V.indexOf(E)===C).map(E=>p.filter(C=>C.priority===E).sort((C,V)=>V.subPriority-C.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 C=E.set(f,h,d);Array.isArray(C)?(f=C[0],Object.assign(h,C[1])):f=C}return He(n,f)}function s3(e){return e.match(n3)[1].replace(r3,"'")}function ms(e,a){const n=Sa(e),r=Sa(a);return+n==+r}function l3(e,a){return Ot(e,-a)}function fs(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 s=ud(i);return n.setMonth(a,Math.min(o,s)),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=fs(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 c3(e,a){const n=Ce(e);return n.setHours(a),n}function hs(e,a){const n=Ce(e);return n.setMilliseconds(a),n}function d3(e,a){const n=Ce(e);return n.setMinutes(a),n}function ps(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 u3(e,a){const{years:n=0,months:r=0,weeks:o=0,days:i=0,hours:s=0,minutes:l=0,seconds:d=0}=a,p=Ra(e,r+n*12),u=l3(p,i+o*7),m=l+s*60,f=(d+m*60)*1e3;return He(e,u.getTime()-f)}function gs(e,a){return Nr(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 ys(){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"})])}ys.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:"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"})])}Ir.compatConfig={MODE:3};function Gr(){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"})])}Gr.compatConfig={MODE:3};function jr(){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"})])}jr.compatConfig={MODE:3};function qr(){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"})])}qr.compatConfig={MODE:3};function Wr(){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"})])}Wr.compatConfig={MODE:3};const At=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),Yr=(e,a,n)=>Ur(e,a,n)||pe(),m3=(e,a,n)=>{const r=a.dateInTz?At(new Date(e),a.dateInTz):pe(e);return n?vt(r,!0):r},Ur=(e,a,n)=>{if(!e)return null;const r=n?vt(pe(e),!0):pe(e);return a?a.exactMatch?m3(e,a,n):At(r,a.timezone):r},f3=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 h3=["timestamp","date","iso"];var xt=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(xt||{}),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 ks(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 p3(e){return a=>Gt(At(new Date(`2017-01-0${a}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const g3=(e,a,n)=>{const r=[1,2,3,4,5,6,7];let o;if(e!==null)try{o=r.map(p3(e))}catch{o=r.map(ks(a))}else o=r.map(ks(a));const i=o.slice(0,n),s=o.slice(n+1,o.length);return[o[n]].concat(...s).concat(...i)},Xr=(e,a,n)=>{const r=[];for(let o=+e[0];o<=+e[1];o++)r.push({value:+o,text:Cs(o,a)});return n?r.reverse():r},bs=(e,a,n)=>{const r=[1,2,3,4,5,6,7,8,9,10,11,12].map(i=>{const s=i<10?`0${i}`:i;return new Date(`2017-${s}-01T00:00:00+00:00`)});if(e!==null)try{const i=n==="long"?"LLLL":"LLL";return r.map((s,l)=>{const d=Gt(At(s,"UTC"),i,{locale:e});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:l}})}catch{}const o=new Intl.DateTimeFormat(a,{month:n,timeZone:"UTC"});return r.map((i,s)=>{const l=o.format(i);return{text:l.charAt(0).toUpperCase()+l.substring(1),value:s}})},y3=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},k3=e=>({type:"dot",...e??{}}),xs=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,Zr={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,ws=e=>e===0?e:!e||isNaN(+e)?null:+e,vs=e=>e===null,Es=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},b3=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},un=(e,a,n)=>{const r=n!=null,o=a!=null;if(!r&&!o)return!1;const i=+n,s=+a;return r&&o?+e>i||+e<s:r?+e>i:o?+e<s:!1},Ia=(e,a)=>b3(e).map(n=>n.map(r=>{const{active:o,disabled:i,isBetween:s,highlighted:l}=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:s,"dp--highlighted":l}}})),ia=(e,a,n=!1)=>{e&&a.allowStopPropagation&&(n&&e.stopImmediatePropagation(),e.stopPropagation())},x3=()=>["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 w3(e,a){let n=[...document.querySelectorAll(x3())];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 Qr=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),Cs=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),Kr=e=>Gt(e,"dd-MM-yyyy"),Jr=e=>Array.isArray(e),In=(e,a)=>a.get(Kr(e)),v3=(e,a)=>e?a?a instanceof Map?!!In(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)},Ss=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,Ms=(e,a,n,r,o,i)=>{const s=zr(e,a.slice(0,e.length),new Date,{locale:i});return on(s)&&Ui(s)?r||o?s:We(s,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},E3=(e,a,n,r,o,i)=>{const s=Array.isArray(n)?n[0]:n;if(typeof a=="string")return Ms(e,a,s,r,o,i);if(Array.isArray(a)){let l=null;for(const d of a)if(l=Ms(e,d,s,r,o,i),l)break;return l}return typeof a=="function"?a(e):null},pe=e=>e?new Date(e):new Date,C3=(e,a,n)=>{if(a){const o=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getDate().toString().padStart(2,"0"),s=e.getHours().toString().padStart(2,"0"),l=e.getMinutes().toString().padStart(2,"0"),d=n?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${o}-${i}T${s}:${l}:${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?x2(r):r},sa=(e,a,n,r)=>{let o=e?pe(e):pe();return(a||a===0)&&(o=c3(o,+a)),(n||n===0)&&(o=d3(o,+n)),(r||r===0)&&(o=ps(o,+r)),hs(o,0)},tt=(e,a)=>!e||!a?!1:dn(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)),Gn=(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)},eo=(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)}),Bs=(e,a)=>{if(a){const n=Ve(pe(a));if(n>e)return 12;if(n===e)return Oe(pe(a))}},As=(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))},Vs=(e,a)=>{const n=it(e,a)?a:e,r=it(a,e)?a:e;return Zi({start:n,end:r})},S3=e=>{const a=Ft(e,1);return{month:Oe(a),year:Ve(a)}},Qt=(e,a)=>{const n=Lt(e,{weekStartsOn:+a}),r=Ki(e,{weekStartsOn:+a});return[n,r]},Ds=(e,a)=>{const n={hours:Zt(pe()),minutes:oa(pe()),seconds:a?La(pe()):0};return Object.assign(n,e)},la=(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=fs(r,a)),n&&(r=Wt(r,n)),r},_s=(e,a,n,r,o)=>{if(!r||o&&!a||!o&&!n)return!1;const i=o?Ft(e,1):Ra(e,1),s=[Oe(i),Ve(i)];return o?!B3(...s,a):!M3(...s,n)},M3=(e,a,n)=>tt(...la(n,e,a))||Fe(...la(n,e,a)),B3=(e,a,n)=>it(...la(n,e,a))||Fe(...la(n,e,a)),Ns=(e,a,n,r,o,i,s)=>{if(typeof a=="function"&&!s)return a(e);const l=n?{locale:n}:void 0;return Array.isArray(e)?`${Gt(e[0],i,l)}${o&&!e[1]?"":r}${e[1]?Gt(e[1],i,l):""}`:Gt(e,i,l)},ja=e=>{if(e)return null;throw new Error(Zr.prop("partial-range"))},jn=(e,a)=>{if(a)return e();throw new Error(Zr.prop("range"))},to=e=>Array.isArray(e)?on(e[0])&&(e[1]?on(e[1]):!0):e?on(e):!1,A3=(e,a)=>We(a??pe(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),ao=(e,a,n,r)=>{if(!e)return!0;if(r){const o=n==="max"?dn(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()},no=(e,a,n)=>e?A3(e,a):pe(n??a),Ts=(e,a,n,r,o)=>{if(Array.isArray(r)){const s=no(e,r[0],a),l=no(e,r[1],a);return ao(r[0],s,n,!!a)&&ao(r[1],l,n,!!a)&&o}const i=no(e,r,a);return ao(r,i,n,!!a)&&o},ro=e=>We(pe(),Va(e)),V3=(e,a)=>e instanceof Map?Array.from(e.values()).filter(n=>Ve(pe(n))===a).map(n=>Oe(n)):[],Ps=(e,a,n)=>typeof e=="function"?e({month:a,year:n}):!!e.months.find(r=>r.month===a&&r.year===n),oo=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),Os=e=>Gt(e,"yyyy-MM-dd"),mn=t.reactive({menuFocused:!1,shiftKeyInMenu:!1}),Fs=()=>{const e=n=>{mn.menuFocused=n},a=n=>{mn.shiftKeyInMenu!==n&&(mn.shiftKeyInMenu=n)};return{control:t.computed(()=>({shiftKeyInMenu:mn.shiftKeyInMenu,menuFocused:mn.menuFocused})),setMenuFocused:e,setShiftKey:a}},Xe=t.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),io=t.ref(null),qn=t.ref(!1),so=t.ref(!1),lo=t.ref(!1),co=t.ref(!1),kt=t.ref(0),st=t.ref(0),ca=()=>{const e=t.computed(()=>qn.value?[...Xe.selectionGrid,Xe.actionRow].filter(m=>m.length):so.value?[...Xe.timePicker[0],...Xe.timePicker[1],co.value?[]:[io.value],Xe.actionRow].filter(m=>m.length):lo.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[st.value]&&(c=e.value[st.value][kt.value]),!c&&e.value[st.value+(m?1:-1)]?(st.value=st.value+(m?1:-1),kt.value=m?0:e.value[st.value].length-1):c||(kt.value=m?kt.value-1:kt.value+1)},n=m=>{st.value===0&&!m||st.value===e.value.length&&m||(st.value=m?st.value+1:st.value-1,e.value[st.value]?e.value[st.value]&&!e.value[st.value][kt.value]&&kt.value!==0&&(kt.value=e.value[st.value].length-1):st.value=m?st.value-1:st.value+1)},r=m=>{let c=null;e.value[st.value]&&(c=e.value[st.value][kt.value]),c?c.focus({preventScroll:!qn.value}):kt.value=m?kt.value-1:kt.value+1},o=()=>{a(!0),r(!0)},i=()=>{a(!1),r(!1)},s=()=>{n(!1),r(!0)},l=()=>{n(!0),r(!0)},d=(m,c)=>{Xe[c]=m},p=(m,c)=>{Xe[c]=m},u=()=>{kt.value=0,st.value=0};return{buildMatrix:d,buildMultiLevelMatrix:p,setTimePickerBackRef:m=>{io.value=m},setSelectionGrid:m=>{qn.value=m,u(),m||(Xe.selectionGrid=[])},setTimePicker:(m,c=!1)=>{so.value=m,co.value=c,u(),m||(Xe.timePicker[0]=[],Xe.timePicker[1]=[])},setTimePickerElements:(m,c=0)=>{Xe.timePicker[c]=m},arrowRight:o,arrowLeft:i,arrowUp:s,arrowDown:l,clearArrowNav:()=>{Xe.monthYear=[],Xe.calendar=[],Xe.time=[],Xe.actionRow=[],Xe.selectionGrid=[],Xe.timePicker[0]=[],Xe.timePicker[1]=[],qn.value=!1,so.value=!1,co.value=!1,lo.value=!1,u(),io.value=null},setMonthPicker:m=>{lo.value=m,u()},refSets:Xe}},Ls=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??{}}),D3=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??{}}),$s=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,_3=e=>{const a=typeof e=="object"&&e,n={static:!0,solo:!1};if(!e)return{...n,count:$s(!1)};const r=a?e:{},o=a?r.count??!0:e,i=$s(o);return Object.assign(n,r,{count:i})},N3=(e,a,n)=>e||(typeof n=="string"?n:a),T3=e=>typeof e=="boolean"?e?Ls({}):!1:Ls(e),P3=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},O3=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),F3=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),L3=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},$3=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??{}}),H3=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??{}}},R3=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},z3=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}},I3=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},uo=(e,a,n)=>new Map(e.map(r=>{const o=Yr(r,a,n);return[Kr(o),o]})),G3=(e,a)=>e.length?new Map(e.map(n=>{const r=Yr(n.date,a);return[Kr(r),n]})):null,j3=e=>{var a;return{minDate:Ur(e.minDate,e.timezone,e.isSpecific),maxDate:Ur(e.maxDate,e.timezone,e.isSpecific),disabledDates:Jr(e.disabledDates)?uo(e.disabledDates,e.timezone,e.isSpecific):e.disabledDates,allowedDates:Jr(e.allowedDates)?uo(e.allowedDates,e.timezone,e.isSpecific):null,highlight:typeof e.highlight=="object"&&Jr((a=e.highlight)==null?void 0:a.dates)?uo(e.highlight.dates,e.timezone):e.highlight,markers:G3(e.markers,e.timezone)}},q3=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},W3=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 _=e.enableSeconds?":ss":"",E=e.enableMinutes?":mm":"";return e.is24?`HH${E}${_}`:`hh${E}${_} aa`},n=()=>{var _;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((_=k.value)==null?void 0:_.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},r=_=>Ds(_,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(()=>_3(e.multiCalendars)),s=t.computed(()=>o()),l=t.computed(()=>D3(e.ariaLabels)),d=t.computed(()=>O3(e.filters)),p=t.computed(()=>T3(e.transitions)),u=t.computed(()=>F3(e.actionRow)),m=t.computed(()=>N3(e.previewFormat,e.format,n())),c=t.computed(()=>P3(e.textInput)),f=t.computed(()=>L3(e.inline)),h=t.computed(()=>$3(e.config)),y=t.computed(()=>H3(e.highlight)),k=t.computed(()=>R3(e.weekNumbers)),x=t.computed(()=>I3(e.timezone)),w=t.computed(()=>q3(e.multiDates)),b=t.computed(()=>j3({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(()=>z3(e.range)),A=t.computed(()=>W3(e.ui));return{defaultedTransitions:p,defaultedMultiCalendars:i,defaultedStartTime:s,defaultedAriaLabels:l,defaultedFilters:d,defaultedActionRow:u,defaultedPreviewFormat:m,defaultedTextInput:c,defaultedInline:f,defaultedConfig:h,defaultedHighlight:y,defaultedWeekNumbers:k,defaultedRange:B,propDates:b,defaultedTz:x,defaultedMultiDates:w,defaultedUI:A,getDefaultPattern:n,getDefaultStartTime:o}},Y3=(e,a,n)=>{const r=t.ref(),{defaultedTextInput:o,defaultedRange:i,defaultedTz:s,defaultedMultiDates:l,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,(R,ye)=>{R.enabled!==ye.enabled&&(r.value=null)}),t.watch(u,()=>{de()});const c=R=>s.value.timezone&&s.value.convertModel?At(R,s.value.timezone):R,f=R=>{if(s.value.timezone&&s.value.convertModel){const ye=f3(s.value.timezone);return f2(R,ye)}return R},h=(R,ye,Z=!1)=>Ns(R,a.format,a.formatLocale,o.value.rangeSeparator,a.modelAuto,ye??d(),Z),y=R=>R?a.modelType?D(R):{hours:Zt(R),minutes:oa(R),seconds:a.enableSeconds?La(R):0}:null,k=R=>a.modelType?D(R):{month:Oe(R),year:Ve(R)},x=R=>Array.isArray(R)?l.value.enabled?R.map(ye=>w(ye,Wt(pe(),ye))):jn(()=>[Wt(pe(),R[0]),R[1]?Wt(pe(),R[1]):ja(i.value.partialRange)],i.value.enabled):Wt(pe(),+R),w=(R,ye)=>(typeof R=="string"||typeof R=="number")&&a.modelType?W(R):ye,b=R=>Array.isArray(R)?[w(R[0],sa(null,+R[0].hours,+R[0].minutes,R[0].seconds)),w(R[1],sa(null,+R[1].hours,+R[1].minutes,R[1].seconds))]:w(R,sa(null,R.hours,R.minutes,R.seconds)),B=R=>{const ye=We(pe(),{date:1});return Array.isArray(R)?l.value.enabled?R.map(Z=>w(Z,Kt(ye,+Z.month,+Z.year))):jn(()=>[w(R[0],Kt(ye,+R[0].month,+R[0].year)),w(R[1],R[1]?Kt(ye,+R[1].month,+R[1].year):ja(i.value.partialRange))],i.value.enabled):w(R,Kt(ye,+R.month,+R.year))},A=R=>{if(Array.isArray(R))return R.map(ye=>W(ye));throw new Error(Zr.dateArr("multi-dates"))},_=R=>{if(Array.isArray(R)&&i.value.enabled){const ye=R[0],Z=R[1];return[pe(Array.isArray(ye)?ye[0]:null),Array.isArray(Z)&&Z.length?pe(Z[0]):null]}return pe(R[0])},E=R=>a.modelAuto?Array.isArray(R)?[W(R[0]),W(R[1])]:a.autoApply?[W(R)]:[W(R),null]:Array.isArray(R)?jn(()=>R[1]?[W(R[0]),R[1]?W(R[1]):ja(i.value.partialRange)]:[W(R[0])],i.value.enabled):W(R),C=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(ja(i.value.partialRange))},V=()=>{const R=r.value;return[D(R[0]),R[1]?D(R[1]):ja(i.value.partialRange)]},T=()=>r.value[1]?V():D(mt(r.value[0])),Y=()=>(r.value||[]).map(R=>D(R)),X=(R=!1)=>(R||C(),a.modelAuto?T():l.value.enabled?Y():Array.isArray(r.value)?jn(()=>V(),i.value.enabled):D(mt(r.value))),G=R=>!R||Array.isArray(R)&&!R.length?null:a.timePicker?b(mt(R)):a.monthPicker?B(mt(R)):a.yearPicker?x(mt(R)):l.value.enabled?A(mt(R)):a.weekPicker?_(mt(R)):E(mt(R)),S=R=>{const ye=G(R);to(mt(ye))?(r.value=mt(ye),de()):(r.value=null,p.value="")},I=()=>{const R=ye=>Gt(ye,o.value.format);return`${R(r.value[0])} ${o.value.rangeSeparator} ${r.value[1]?R(r.value[1]):""}`},j=()=>n.value&&r.value?Array.isArray(r.value)?I():Gt(r.value,o.value.format):h(r.value),U=()=>r.value?l.value.enabled?r.value.map(R=>h(R)).join("; "):o.value.enabled&&typeof o.value.format=="string"?j():h(r.value):"",de=()=>{!a.format||typeof a.format=="string"||o.value.enabled&&typeof o.value.format=="string"?p.value=U():p.value=a.format(r.value)},W=R=>{if(a.utc){const ye=new Date(R);return a.utc==="preserve"?new Date(ye.getTime()+ye.getTimezoneOffset()*6e4):ye}return a.modelType?h3.includes(a.modelType)?c(new Date(R)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?c(zr(R,d(),new Date,{locale:m.value})):c(zr(R,a.modelType,new Date,{locale:m.value})):c(new Date(R))},D=R=>R?a.utc?C3(R,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+f(R):a.modelType==="iso"?f(R).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?h(f(R)):h(f(R),a.modelType,!0):f(R):"",ie=(R,ye=!1,Z=!1)=>{if(Z)return R;if(e("update:model-value",R),s.value.emitTimezone&&ye){const me=Array.isArray(R)?R.map($=>At(mt($),s.value.emitTimezone)):At(mt(R),s.value.emitTimezone);e("update:model-timezone-value",me)}},ne=R=>Array.isArray(r.value)?l.value.enabled?r.value.map(ye=>R(ye)):[R(r.value[0]),r.value[1]?R(r.value[1]):ja(i.value.partialRange)]:R(mt(r.value)),K=()=>{if(Array.isArray(r.value)){const R=Qt(r.value[0],a.weekStart),ye=r.value[1]?Qt(r.value[1],a.weekStart):[];return[R.map(Z=>pe(Z)),ye.map(Z=>pe(Z))]}return Qt(r.value,a.weekStart).map(R=>pe(R))},M=(R,ye)=>ie(mt(ne(R)),!1,ye),Q=R=>{const ye=K();return R?ye:e("update:model-value",K())},fe=(R=!1)=>(R||de(),a.monthPicker?M(k,R):a.timePicker?M(y,R):a.yearPicker?M(Ve,R):a.weekPicker?Q(R):ie(X(R),!0,R));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:de,emitModelValue:fe}},U3=(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},s=(u,m)=>{let c=u;return n.value.years.includes(Ve(c))?(c=m?Nr(u,1):gs(u,1),s(c,m)):c},l=(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=s(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=>_s(We(pe(),{month:e.month,year:e.year}),r.value.maxDate,r.value.minDate,e.preventMinMaxNavigation,u));return{handleMonthYearChange:l,isDisabled:p,updateMonthYear:d}},Wn={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={...Wn,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}},X3=["title"],Z3=["disabled"],Q3=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:s,defaultedTextInput:l,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),k=t.ref(!1),x=t.ref({}),w=t.ref(null),b=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=()=>{k.value=!1,setTimeout(()=>{var S,I;const j=(S=w.value)==null?void 0:S.getBoundingClientRect(),U=(I=b.value)==null?void 0:I.getBoundingClientRect();j&&U&&(x.value.maxWidth=`${U.width-j.width-20}px`),k.value=!0},0)},A=t.computed(()=>p.value.enabled&&!p.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),_=t.computed(()=>!m.value(r.internalModelValue)||!c.value(r.internalModelValue)||!A.value),E=()=>{const S=i.value;return r.timePicker||r.monthPicker,S(mt(r.internalModelValue))},C=()=>{const S=r.internalModelValue;return s.value.count>0?`${V(S[0])} - ${V(S[1])}`:[V(S[0]),V(S[1])]},V=S=>Ns(S,i.value,r.formatLocale,l.value.rangeSeparator,r.modelAuto,i.value),T=t.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?C():u.value.enabled?r.internalModelValue.map(S=>`${V(S)}`):r.modelAuto?`${V(r.internalModelValue[0])}`:`${V(r.internalModelValue[0])} -`:V(r.internalModelValue):E()),Y=()=>u.value.enabled?"; ":" - ",X=t.computed(()=>Array.isArray(T.value)?T.value.join(Y()):T.value),G=()=>{m.value(r.internalModelValue)&&c.value(r.internalModelValue)&&A.value?n("select-date"):n("invalid-select")};return(S,I)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"actionRowRef",ref:b,class:"dp__action_row"},[S.$slots["action-row"]?t.renderSlot(S.$slots,"action-row",t.normalizeProps(t.mergeProps({key:0},{internalModelValue:S.internalModelValue,disabled:_.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:X.value,style:t.normalizeStyle(x.value)},[S.$slots["action-preview"]&&k.value?t.renderSlot(S.$slots,"action-preview",{key:0,value:S.internalModelValue}):t.createCommentVNode("",!0),!S.$slots["action-preview"]&&k.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(X.value),1)],64)):t.createCommentVNode("",!0)],12,X3)):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:I[0]||(I[0]=j=>S.$emit("close-picker")),onKeydown:I[1]||(I[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:I[2]||(I[2]=j=>S.$emit("select-now")),onKeydown:I[3]||(I[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:_.value,"data-test":"select-button",onKeydown:I[4]||(I[4]=j=>t.unref(wt)(j,()=>G())),onClick:G},t.toDisplayString(S.selectText),41,Z3)):t.createCommentVNode("",!0)],64))],512)],64))],512))}}),K3=["role","aria-label","tabindex"],J3={class:"dp__selection_grid_header"},eu=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],tu=["aria-label"],fn=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(),s=n,l=e,{defaultedAriaLabels:d,defaultedTextInput:p,defaultedConfig:u}=Ze(l),{hideNavigationButtons:m}=Xn(),c=t.ref(!1),f=t.ref(null),h=t.ref(null),y=t.ref([]),k=t.ref(),x=t.ref(null),w=t.ref(0),b=t.ref(null);t.onBeforeUpdate(()=>{f.value=null}),t.onMounted(()=>{t.nextTick().then(()=>Y()),l.noOverlayFocus||A(),B(!0)}),t.onUnmounted(()=>B(!1));const B=ne=>{var K;l.arrowNavigation&&((K=l.headerRefs)!=null&&K.length?i(ne):r(ne))},A=()=>{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)},_=t.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!l.useRelative,"dp--overlay-relative":l.useRelative})),E=t.computed(()=>l.useRelative?{height:`${l.height}px`,width:"var(--dp-menu-min-width)"}:void 0),C=t.computed(()=>({dp__overlay_col:!0})),V=t.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:c.value,dp__button_bottom:l.isLast})),T=t.computed(()=>{var ne,K;return{dp__overlay_container:!0,dp__container_flex:((ne=l.items)==null?void 0:ne.length)<=6,dp__container_block:((K=l.items)==null?void 0:K.length)>6}});t.watch(()=>l.items,()=>Y(!1),{deep:!0});const Y=(ne=!0)=>{t.nextTick().then(()=>{const K=ct(f),M=ct(h),Q=ct(x),fe=ct(b),R=Q?Q.getBoundingClientRect().height:0;M&&(M.getBoundingClientRect().height?w.value=M.getBoundingClientRect().height-R:w.value=u.value.modeHeight-R),K&&fe&&ne&&(fe.scrollTop=K.offsetTop-fe.offsetTop-(w.value/2-K.getBoundingClientRect().height)-R)})},X=ne=>{ne.disabled||s("selected",ne.value)},G=()=>{s("toggle"),s("reset-flow")},S=()=>{l.escClose&&G()},I=(ne,K,M,Q)=>{ne&&((K.active||K.value===l.focusValue)&&(f.value=ne),l.arrowNavigation&&(Array.isArray(y.value[M])?y.value[M][Q]=ne:y.value[M]=[ne],j()))},j=()=>{var ne,K;const M=(ne=l.headerRefs)!=null&&ne.length?[l.headerRefs].concat(y.value):y.value.concat([l.skipButtonRef?[]:[x.value]]);o(mt(M),(K=l.headerRefs)!=null&&K.length?"monthPicker":"selectionGrid")},U=ne=>{l.arrowNavigation||ia(ne,u.value,!0)},de=ne=>{k.value=ne,s("hover-value",ne)},W=()=>{if(G(),!l.isLast){const ne=Qr(l.menuWrapRef??null,"action-row");if(ne){const K=Es(ne);K==null||K.focus()}}},D=ne=>{switch(ne.key){case Ue.esc:return S();case Ue.arrowLeft:return U(ne);case Ue.arrowRight:return U(ne);case Ue.arrowUp:return U(ne);case Ue.arrowDown:return U(ne);default:return}},ie=ne=>{if(ne.key===Ue.enter)return G();if(ne.key===Ue.tab)return W()};return a({focusGrid:A}),(ne,K)=>{var M;return t.openBlock(),t.createElementBlock("div",{ref_key:"gridWrapRef",ref:h,class:t.normalizeClass(_.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:b,class:t.normalizeClass(T.value),style:t.normalizeStyle({"--dp-overlay-height":`${w.value}px`}),role:"grid"},[t.createElementVNode("div",J3,[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,(R,ye)=>(t.openBlock(),t.createElementBlock("div",{key:R.value,ref_for:!0,ref:Z=>I(Z,R,fe,ye),role:"gridcell",class:t.normalizeClass(C.value),"aria-selected":R.active||void 0,"aria-disabled":R.disabled||void 0,tabindex:"0","data-test":R.text,onClick:t.withModifiers(Z=>X(R),["prevent"]),onKeydown:Z=>t.unref(wt)(Z,()=>X(R),!0),onMouseover:Z=>de(R.value)},[t.createElementVNode("div",{class:t.normalizeClass(R.className)},[ne.$slots.item?t.renderSlot(ne.$slots,"item",{key:0,item:R}):t.createCommentVNode("",!0),ne.$slots.item?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(R.text),1)],64))],2)],42,eu))),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":(M=t.unref(d))==null?void 0:M.toggleOverlay,class:t.normalizeClass(V.value),tabindex:"0",onClick:G,onKeydown:ie},[t.renderSlot(ne.$slots,"button-icon")],42,tu)),[[t.vShow,!t.unref(m)(ne.hideNavigation,ne.type)]]):t.createCommentVNode("",!0)],46,K3)}}}),Yn=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,(s,l)=>(t.openBlock(),t.createElementBlock("div",{key:s,class:t.normalizeClass(r.value)},[t.renderSlot(o.$slots,"default",{instance:s,index:l})],2))),128))],2))}}),au=["data-dp-element","aria-label","aria-disabled"],hn=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]=s=>o.$emit("activate")),onKeydown:i[1]||(i[1]=s=>t.unref(wt)(s,()=>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,au))}}),nu=["aria-label","data-test"],Hs=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}=Xn(),{defaultedConfig:s,defaultedMultiCalendars:l,defaultedAriaLabels:d,defaultedTransitions:p,defaultedUI:u}=Ze(r),{showTransition:m,transitionName:c}=pn(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)},k=(x=!1)=>{n("handle-year",x)};return(x,w)=>{var b,B,A,_,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(l),e.instance)?(t.openBlock(),t.createBlock(hn,{key:0,ref:"mpPrevIconRef","aria-label":(b=t.unref(d))==null?void 0:b.prevYear,disabled:e.isDisabled(!1),class:t.normalizeClass((B=t.unref(u))==null?void 0:B.navBtnPrev),onActivate:w[0]||(w[0]=C=>k(!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(Ir),{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}-${(A=t.unref(d))==null?void 0:A.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,nu),t.unref(o)(t.unref(l),e.instance)?(t.openBlock(),t.createBlock(hn,{key:1,ref:"mpNextIconRef","aria-label":(_=t.unref(d))==null?void 0:_.nextYear,disabled:e.isDisabled(!0),class:t.normalizeClass((E=t.unref(u))==null?void 0:E.navBtnNext),onActivate:w[3]||(w[3]=C=>k(!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(Gr),{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 C,V;return[e.showYearPicker?(t.openBlock(),t.createBlock(fn,{key:0,items:e.items,"text-input":x.textInput,"esc-close":x.escClose,config:x.config,"is-last":x.autoApply&&!t.unref(s).keepActionRow,"hide-navigation":x.hideNavigation,"aria-labels":x.ariaLabels,"overlay-label":(V=(C=t.unref(d))==null?void 0:C.yearPicker)==null?void 0:V.call(C,!0),type:"year",onToggle:h,onSelected:w[4]||(w[4]=T=>y(T))},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:T})=>[t.renderSlot(x.$slots,"year-overlay-value",{text:T.text,value:T.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)}}}),mo=(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]},fo=(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},Un=(e,a,n,r)=>{e&&(e[0]&&e[1]&&n&&a("auto-apply"),e[0]&&!e[1]&&r&&n&&a("auto-apply"))},Rs=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))},zs=(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):[],Is=({multiCalendars:e,range:a,highlight:n,propDates:r,calendars:o,modelValue:i,props:s,filters:l,year:d,month:p,emit:u})=>{const m=t.computed(()=>Xr(s.yearRange,s.locale,s.reverseYears)),c=t.ref([!1]),f=t.computed(()=>(T,Y)=>{const X=We(Ht(new Date),{month:p.value(T),year:d.value(T)}),G=Y?Qi(X):sn(X);return _s(G,r.value.maxDate,r.value.minDate,s.preventMinMaxNavigation,Y)}),h=()=>Array.isArray(i.value)&&e.value.solo&&i.value[1],y=()=>{for(let T=0;T<e.value.count;T++)if(T===0)o.value[T]=o.value[0];else if(T===e.value.count-1&&h())o.value[T]={month:Oe(i.value[1]),year:Ve(i.value[1])};else{const Y=We(pe(),o.value[T-1]);o.value[T]={month:Oe(Y),year:Ve(Nr(Y,1))}}},k=T=>{if(!T)return y();const Y=We(pe(),o.value[T]);return o.value[0].year=Ve(gs(Y,e.value.count-1)),y()},x=(T,Y)=>{const X=k2(Y,T);return a.value.showLastInRange&&X>1?Y:T},w=T=>s.focusStartDate||e.value.solo?T[0]:T[1]?x(T[0],T[1]):T[0],b=()=>{if(i.value){const T=Array.isArray(i.value)?w(i.value):i.value;o.value[0]={month:Oe(T),year:Ve(T)}}},B=()=>{b(),e.value.count&&y()};t.watch(i,(T,Y)=>{s.isTextInputDate&&JSON.stringify(T??{})!==JSON.stringify(Y??{})&&B()}),t.onMounted(()=>{B()});const A=(T,Y)=>{o.value[Y].year=T,u("update-month-year",{instance:Y,year:T,month:o.value[Y].month}),e.value.count&&!e.value.solo&&k(Y)},_=t.computed(()=>T=>Ia(m.value,Y=>{var X;const G=d.value(T)===Y.value,S=un(Y.value,Ga(r.value.minDate),Ga(r.value.maxDate))||((X=l.value.years)==null?void 0:X.includes(d.value(T))),I=oo(n.value,Y.value);return{active:G,disabled:S,highlighted:I}})),E=(T,Y)=>{A(T,Y),V(Y)},C=(T,Y=!1)=>{if(!f.value(T,Y)){const X=Y?d.value(T)+1:d.value(T)-1;A(X,T)}},V=(T,Y=!1,X)=>{Y||u("reset-flow"),X!==void 0?c.value[T]=X:c.value[T]=!c.value[T],c.value[T]?u("overlay-toggle",{open:!0,overlay:yt.year}):(u("overlay-closed"),u("overlay-toggle",{open:!1,overlay:yt.year}))};return{isDisabled:f,groupedYears:_,showYearPicker:c,selectYear:A,toggleYearPicker:V,handleYearSelect:E,handleYear:C}},ru=(e,a)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:o,defaultedConfig:i,defaultedRange:s,defaultedHighlight:l,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:k}=gn(e,a,c),x=t.computed(()=>bs(e.formatLocale,e.locale,e.monthNameFormat)),w=t.ref(null),{checkMinMaxRange:b}=ua(e),{selectYear:B,groupedYears:A,showYearPicker:_,toggleYearPicker:E,handleYearSelect:C,handleYear:V,isDisabled:T}=Is({modelValue:f,multiCalendars:n,range:s,highlight:l,calendars:k,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 Y=M=>M?{month:Oe(M),year:Ve(M)}:{month:null,year:null},X=()=>f.value?Array.isArray(f.value)?f.value.map(M=>Y(M)):Y(f.value):Y(),G=(M,Q)=>{const fe=k.value[M],R=X();return Array.isArray(R)?R.some(ye=>ye.year===(fe==null?void 0:fe.year)&&ye.month===Q):(fe==null?void 0:fe.year)===R.year&&Q===R.month},S=(M,Q,fe)=>{var R,ye;const Z=X();return Array.isArray(Z)?h.value(Q)===((R=Z[fe])==null?void 0:R.year)&&M===((ye=Z[fe])==null?void 0:ye.month):!1},I=(M,Q)=>{if(s.value.enabled){const fe=X();if(Array.isArray(f.value)&&Array.isArray(fe)){const R=S(M,Q,0)||S(M,Q,1),ye=Kt(Ht(pe()),M,h.value(Q));return Gn(f.value,w.value,ye)&&!R}return!1}return!1},j=t.computed(()=>M=>Ia(x.value,Q=>{var fe;const R=G(M,Q.value),ye=un(Q.value,Bs(h.value(M),d.value.minDate),As(h.value(M),d.value.maxDate))||V3(d.value.disabledDates,h.value(M)).includes(Q.value)||((fe=u.value.months)==null?void 0:fe.includes(Q.value)),Z=I(Q.value,M),me=Ps(l.value,Q.value,h.value(M));return{active:R,disabled:ye,isBetween:Z,highlighted:me}})),U=(M,Q)=>Kt(Ht(pe()),M,h.value(Q)),de=(M,Q)=>{const fe=f.value?f.value:Ht(new Date);f.value=Kt(fe,M,h.value(Q)),a("auto-apply"),a("update-flow-step")},W=(M,Q)=>{const fe=U(M,Q);s.value.fixedEnd||s.value.fixedStart?f.value=zs(fe,f,a,s):f.value?b(fe,f.value)&&(f.value=fo(f,U(M,Q),a)):f.value=[U(M,Q)],t.nextTick().then(()=>{Un(f.value,a,e.autoApply,e.modelAuto)})},D=(M,Q)=>{mo(U(M,Q),f,m.value.limit),a("auto-apply",!0)},ie=(M,Q)=>(k.value[Q].month=M,K(Q,k.value[Q].year,M),m.value.enabled?D(M,Q):s.value.enabled?W(M,Q):de(M,Q)),ne=(M,Q)=>{B(M,Q),K(Q,M,null)},K=(M,Q,fe)=>{let R=fe;if(!R&&R!==0){const ye=X();R=Array.isArray(ye)?ye[M].month:ye.month}a("update-month-year",{instance:M,year:Q,month:R})};return{groupedMonths:j,groupedYears:A,year:h,isDisabled:T,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:o,defaultedConfig:i,showYearPicker:_,modelValue:f,presetDate:(M,Q)=>{Rs({value:M,modelValue:f,range:s.value.enabled,timezone:Q?void 0:p.value.timezone}),a("auto-apply")},setHoverDate:(M,Q)=>{w.value=U(M,Q)},selectMonth:ie,selectYear:ne,toggleYearPicker:E,handleYearSelect:C,handleYear:V,getModelMonthYear:X}},ou=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"),s=e;t.onMounted(()=>{s.shadow||r("mount",null)});const{groupedMonths:l,groupedYears:d,year:p,isDisabled:u,defaultedMultiCalendars:m,defaultedConfig:c,showYearPicker:f,modelValue:h,presetDate:y,setHoverDate:k,selectMonth:x,selectYear:w,toggleYearPicker:b,handleYearSelect:B,handleYear:A,getModelMonthYear:_}=ru(s,r);return a({getSidebarProps:()=>({modelValue:h,year:p,getModelMonthYear:_,selectMonth:x,selectYear:w,handleYear:A}),presetDate:y,toggleYearPicker:E=>b(0,E)}),(E,C)=>(t.openBlock(),t.createBlock(Yn,{"multi-calendars":t.unref(m).count,collapse:E.collapse,stretch:""},{default:t.withCtx(({instance:V})=>[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(l)(V),years:t.unref(d)(V),selectMonth:t.unref(x),selectYear:t.unref(w),instance:V}))):(t.openBlock(),t.createBlock(fn,{key:2,items:t.unref(l)(V),"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:T=>t.unref(x)(T,V),onHoverValue:T=>t.unref(k)(T,V)},t.createSlots({header:t.withCtx(()=>[t.createVNode(Hs,t.mergeProps(E.$props,{items:t.unref(d)(V),instance:V,"show-year-picker":t.unref(f)[V],year:t.unref(p)(V),"is-disabled":T=>t.unref(u)(V,T),onHandleYear:T=>t.unref(A)(V,T),onYearSelect:T=>t.unref(B)(T,V),onToggleYearPicker:T=>t.unref(b)(V,T==null?void 0:T.flow,T==null?void 0:T.show)}),t.createSlots({_:2},[t.renderList(t.unref(i),(T,Y)=>({name:T,fn:t.withCtx(X=>[t.renderSlot(E.$slots,T,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:T})=>[t.renderSlot(E.$slots,"month-overlay-value",{text:T.text,value:T.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"]))}}),iu=(e,a)=>{const n=()=>{e.isTextInputDate&&(u.value=Ve(pe(e.startDate)))},{modelValue:r}=gn(e,a,n),o=t.ref(null),{defaultedHighlight:i,defaultedMultiDates:s,defaultedFilters:l,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(k=>Ve(k)===y):r.value?Ve(r.value)===y:!1,c=y=>d.value.enabled&&Array.isArray(r.value)?Gn(r.value,o.value,h(y)):!1,f=t.computed(()=>Ia(Xr(e.yearRange,e.locale,e.reverseYears),y=>{const k=m(y.value),x=un(y.value,Ga(p.value.minDate),Ga(p.value.maxDate))||l.value.years.includes(y.value),w=c(y.value)&&!k,b=oo(i.value,y.value);return{active:k,disabled:x,isBetween:w,highlighted:b}})),h=y=>Wt(Ht(sn(new Date)),y);return{groupedYears:f,modelValue:r,focusYear:u,setHoverValue:y=>{o.value=Wt(Ht(new Date),y)},selectYear:y=>{var k;if(a("update-month-year",{instance:0,year:y}),s.value.enabled)return r.value?Array.isArray(r.value)&&(((k=r.value)==null?void 0:k.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(sn(pe())),y)],a("auto-apply",!0);d.value.enabled?(r.value=fo(r,h(y),a),t.nextTick().then(()=>{Un(r.value,a,e.autoApply,e.modelAuto)})):(r.value=h(y),a("auto-apply"))}}},su=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:s,focusYear:l,selectYear:d,setHoverValue:p}=iu(o,r),{defaultedConfig:u}=Ze(o);return a({getSidebarProps:()=>({modelValue:s,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(fn,{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(l),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"]))]))}}),lu={key:0,class:"dp__time_input"},cu=["data-test","aria-label","onKeydown","onClick","onMousedown"],du=["aria-label","disabled","data-test","onKeydown","onClick"],uu=["data-test","aria-label","onKeydown","onClick","onMousedown"],mu={key:0},fu=["aria-label"],hu=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:s}=ca(),{defaultedAriaLabels:l,defaultedTransitions:d,defaultedFilters:p,defaultedConfig:u,defaultedRange:m}=Ze(o),{transitionName:c,showTransition:f}=pn(d),h=t.reactive({hours:!1,minutes:!1,seconds:!1}),y=t.ref("AM"),k=t.ref(null),x=t.ref([]),w=t.ref(),b=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}),A=t.computed(()=>g=>U(g,o[g])||E(g,o[g])),_=t.computed(()=>({hours:o.hours,minutes:o.minutes,seconds:o.seconds})),E=(g,N)=>m.value.enabled&&!m.value.disableTimeRangeValidation?!o.validateTime(g,N):!1,C=(g,N)=>{if(m.value.enabled&&!m.value.disableTimeRangeValidation){const L=N?+o[`${g}Increment`]:-+o[`${g}Increment`],F=o[g]+L;return!o.validateTime(g,F)}return!1},V=t.computed(()=>g=>!ne(+o[g]+ +o[`${g}Increment`],g)||C(g,!0)),T=t.computed(()=>g=>!ne(+o[g]-+o[`${g}Increment`],g)||C(g,!1)),Y=(g,N)=>zi(We(pe(),g),N),X=(g,N)=>u3(We(pe(),g),N),G=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}),I=t.computed(()=>S.value.filter(g=>!g.separator)),j=t.computed(()=>g=>{if(g==="hours"){const N=ye(+o.hours);return{text:N<10?`0${N}`:`${N}`,value:N}}return{text:o[g]<10?`0${o[g]}`:`${o[g]}`,value:o[g]}}),U=(g,N)=>{var L;if(!o.disabledTimesConfig)return!1;const F=o.disabledTimesConfig(o.order,g==="hours"?N:void 0);return F[g]?!!((L=F[g])!=null&&L.includes(N)):!0},de=(g,N)=>N!=="hours"||y.value==="AM"?g:g+12,W=g=>{const N=o.is24?24:12,L=g==="hours"?N:60,F=+o[`${g}GridIncrement`],J=g==="hours"&&!o.is24?F:0,H=[];for(let te=J;te<L;te+=F)H.push({value:o.is24?te:de(te,g),text:te<10?`0${te}`:`${te}`});return g==="hours"&&!o.is24&&H.unshift({value:y.value==="PM"?12:0,text:"12"}),Ia(H,te=>({active:!1,disabled:p.value.times[g].includes(te.value)||!ne(te.value,g)||U(g,te.value)||E(g,te.value)}))},D=g=>g>=0?g:59,ie=g=>g>=0?g:23,ne=(g,N)=>{const L=o.minTime?B(eo(o.minTime)):null,F=o.maxTime?B(eo(o.maxTime)):null,J=B(eo(_.value,N,N==="minutes"||N==="seconds"?D(g):ie(g)));return L&&F?(dn(J,F)||Ha(J,F))&&($a(J,L)||Ha(J,L)):L?$a(J,L)||Ha(J,L):F?dn(J,F)||Ha(J,F):!0},K=g=>o[`no${g[0].toUpperCase()+g.slice(1)}Overlay`],M=g=>{K(g)||(h[g]=!h[g],h[g]?(b.value=!0,r("overlay-opened",g)):(b.value=!1,r("overlay-closed",g)))},Q=g=>g==="hours"?Zt:g==="minutes"?oa:La,fe=()=>{w.value&&clearTimeout(w.value)},R=(g,N=!0,L)=>{const F=N?Y:X,J=N?+o[`${g}Increment`]:-+o[`${g}Increment`];ne(+o[g]+J,g)&&r(`update:${g}`,Q(g)(F({[g]:+o[g]},{[g]:+o[`${g}Increment`]}))),!(L!=null&&L.keyboard)&&u.value.timeArrowHoldThreshold&&(w.value=setTimeout(()=>{R(g,N)},u.value.timeArrowHoldThreshold))},ye=g=>o.is24?g:(g>=12?y.value="PM":y.value="AM",y3(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},$=(g,N,L)=>{if(g&&o.arrowNavigation){Array.isArray(x.value[N])?x.value[N][L]=g:x.value[N]=[g];const F=x.value.reduce((J,H)=>H.map((te,ce)=>[...J[ce]||[],H[ce]]),[]);s(o.closeTimePickerBtn),k.value&&(F[1]=F[1].concat(k.value)),i(F,o.order)}},v=(g,N)=>(M(g),r(`update:${g}`,N));return a({openChildCmp:me}),(g,N)=>{var L;return g.disabled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",lu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(S.value,(F,J)=>{var H,te,ce;return t.openBlock(),t.createElementBlock("div",{key:J,class:t.normalizeClass(G.value)},[F.separator?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[b.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,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:V.value(F.type),"dp--hidden-el":b.value}),"data-test":`${F.type}-time-inc-btn-${o.order}`,"aria-label":(H=t.unref(l))==null?void 0:H.incrementValue(F.type),tabindex:"0",onKeydown:ge=>t.unref(wt)(ge,()=>R(F.type,!0,{keyboard:!0}),!0),onClick:ge=>t.unref(u).timeArrowHoldThreshold?void 0:R(F.type,!0),onMousedown:ge=>t.unref(u).timeArrowHoldThreshold?R(F.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},[N[2]||(N[2]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),N[3]||(N[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(qr),{key:1}))],64))],42,cu),t.createElementVNode("button",{ref_for:!0,ref:ge=>$(ge,J,1),type:"button","aria-label":`${j.value(F.type).text}-${(te=t.unref(l))==null?void 0:te.openTpOverlay(F.type)}`,class:t.normalizeClass({dp__time_display:!0,dp__time_display_block:!g.timePickerInline,dp__time_display_inline:g.timePickerInline,"dp--time-invalid":A.value(F.type),"dp--time-overlay-btn":!A.value(F.type),"dp--hidden-el":b.value}),disabled:K(F.type),tabindex:"0","data-test":`${F.type}-toggle-overlay-btn-${o.order}`,onKeydown:ge=>t.unref(wt)(ge,()=>M(F.type),!0),onClick:ge=>M(F.type)},[g.$slots[F.type]?t.renderSlot(g.$slots,F.type,{key:0,text:j.value(F.type).text,value:j.value(F.type).value}):t.createCommentVNode("",!0),g.$slots[F.type]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(j.value(F.type).text),1)],64))],42,du),t.createElementVNode("button",{ref_for:!0,ref:ge=>$(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:T.value(F.type),"dp--hidden-el":b.value}),"data-test":`${F.type}-time-dec-btn-${o.order}`,"aria-label":(ce=t.unref(l))==null?void 0:ce.decrementValue(F.type),tabindex:"0",onKeydown:ge=>t.unref(wt)(ge,()=>R(F.type,!1,{keyboard:!0}),!0),onClick:ge=>t.unref(u).timeArrowHoldThreshold?void 0:R(F.type,!1),onMousedown:ge=>t.unref(u).timeArrowHoldThreshold?R(F.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},[N[4]||(N[4]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),N[5]||(N[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(Wr),{key:1}))],64))],42,uu)],64))],2)}),128)),g.is24?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",mu,[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:k,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(L=t.unref(l))==null?void 0:L.amPmButton,tabindex:"0",onClick:Z,onKeydown:N[0]||(N[0]=F=>t.unref(wt)(F,()=>Z(),!0))},t.toDisplayString(y.value),41,fu))])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(I.value,(F,J)=>(t.openBlock(),t.createBlock(t.Transition,{key:J,name:t.unref(c)(h[F.type]),css:t.unref(f)},{default:t.withCtx(()=>{var H,te;return[h[F.type]?(t.openBlock(),t.createBlock(fn,{key:0,items:W(F.type),"is-last":g.autoApply&&!t.unref(u).keepActionRow,"esc-close":g.escClose,type:F.type,"text-input":g.textInput,config:g.config,"arrow-navigation":g.arrowNavigation,"aria-labels":g.ariaLabels,"overlay-label":(te=(H=t.unref(l)).timeOverlay)==null?void 0:te.call(H,F.type),onSelected:ce=>v(F.type,ce),onToggle:ce=>M(F.type),onResetFlow:N[1]||(N[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(jr)),{key:1}))]),_:2},[g.$slots[`${F.type}-overlay-value`]?{name:"item",fn:t.withCtx(({item:ce})=>[t.renderSlot(g.$slots,`${F.type}-overlay-value`,{text:ce.text,value:ce.value})]),key:"0"}:void 0,g.$slots[`${F.type}-overlay-header`]?{name:"header",fn:t.withCtx(()=>[t.renderSlot(g.$slots,`${F.type}-overlay-header`,{toggle:()=>M(F.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))]))}}}),pu={class:"dp--tp-wrap"},gu=["aria-label","tabindex"],yu=["role","aria-label","tabindex"],ku=["aria-label"],Gs=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:s}=ca(),l=t.useSlots(),{defaultedTransitions:d,defaultedAriaLabels:p,defaultedTextInput:u,defaultedConfig:m,defaultedRange:c}=Ze(o),{transitionName:f,showTransition:h}=pn(d),{hideNavigationButtons:y}=Xn(),k=t.ref(null),x=t.ref(null),w=t.ref([]),b=t.ref(null),B=t.ref(!1);t.onMounted(()=>{r("mount"),!o.timePicker&&o.arrowNavigation?i([ct(k.value)],"time"):s(!0,o.timePicker)});const A=t.computed(()=>c.value.enabled&&o.modelAuto?xs(o.internalModelValue):!0),_=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}),C=t.computed(()=>{const W=[];if(c.value.enabled)for(let D=0;D<2;D++)W.push(E(D));else W.push(E(0));return W}),V=(W,D=!1,ie="")=>{D||r("reset-flow"),_.value=W,r(W?"overlay-opened":"overlay-closed",yt.time),o.arrowNavigation&&s(W),t.nextTick(()=>{ie!==""&&w.value[0]&&w.value[0].openChildCmp(ie)})},T=t.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:o.autoApply&&!m.value.keepActionRow})),Y=Vt(l,"timePicker"),X=(W,D,ie)=>c.value.enabled?D===0?[W,C.value[1][ie]]:[C.value[0][ie],W]:W,G=W=>{r("update:hours",W)},S=W=>{r("update:minutes",W)},I=W=>{r("update:seconds",W)},j=()=>{if(b.value&&!u.value.enabled&&!o.noOverlayFocus){const W=Es(b.value);W&&W.focus({preventScroll:!0})}},U=W=>{B.value=!1,r("overlay-closed",W)},de=W=>{B.value=!0,r("overlay-opened",W)};return a({toggleTimePicker:V}),(W,D)=>{var ie;return t.openBlock(),t.createElementBlock("div",pu,[!W.timePicker&&!W.timePickerInline?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:k,type:"button",class:t.normalizeClass({...T.value,"dp--hidden-el":_.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:D[0]||(D[0]=ne=>t.unref(wt)(ne,()=>V(!0))),onClick:D[1]||(D[1]=ne=>V(!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(jr),{key:1}))],42,gu)),[[t.vShow,!t.unref(y)(W.hideNavigation,"time")]]):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:t.unref(f)(_.value),css:t.unref(h)&&!W.timePickerInline},{default:t.withCtx(()=>{var ne,K;return[_.value||W.timePicker||W.timePickerInline?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:b,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:G,setMinutes:S,setSeconds:I}):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(C.value,(M,Q)=>t.withDirectives((t.openBlock(),t.createBlock(hu,t.mergeProps({key:Q,ref_for:!0},{...W.$props,order:Q,hours:M.hours,minutes:M.minutes,seconds:M.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,R)=>e.validateTime(fe,X(R,Q,fe)),"onUpdate:hours":fe=>G(X(fe,Q,"hours")),"onUpdate:minutes":fe=>S(X(fe,Q,"minutes")),"onUpdate:seconds":fe=>I(X(fe,Q,"seconds")),onMounted:j,onOverlayClosed:U,onOverlayOpened:de,onAmPmChange:D[2]||(D[2]=fe=>W.$emit("am-pm-change",fe))}),t.createSlots({_:2},[t.renderList(t.unref(Y),(fe,R)=>({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,Q===0?!0:A.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({...T.value,"dp--hidden-el":B.value}),"aria-label":(K=t.unref(p))==null?void 0:K.closeTimePicker,tabindex:"0",onKeydown:D[3]||(D[3]=M=>t.unref(wt)(M,()=>V(!1))),onClick:D[4]||(D[4]=M=>V(!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,ku)),[[t.vShow,!t.unref(y)(W.hideNavigation,"time")]]):t.createCommentVNode("",!0)],2)],14,yu)):t.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),js=(e,a,n,r)=>{const{defaultedRange:o}=Ze(e),i=(b,B)=>Array.isArray(a[b])?a[b][B]:a[b],s=b=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[b]:a.seconds:0,l=(b,B)=>b?B!==void 0?sa(b,i("hours",B),i("minutes",B),s(B)):sa(b,a.hours,a.minutes,s()):ps(pe(),s(B)),d=(b,B)=>{a[b]=B},p=t.computed(()=>e.modelAuto&&o.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:o.value.enabled),u=(b,B)=>{const A=Object.fromEntries(Object.keys(a).map(_=>_===b?[_,B]:[_,a[_]].slice()));if(p.value&&!o.value.disableTimeRangeValidation){const _=C=>n.value?sa(n.value[C],A.hours[C],A.minutes[C],A.seconds[C]):null,E=C=>hs(n.value[C],0);return!(Fe(_(0),_(1))&&($a(_(0),E(1))||dn(_(1),E(0))))}return!0},m=(b,B)=>{u(b,B)&&(d(b,B),r&&r())},c=b=>{m("hours",b)},f=b=>{m("minutes",b)},h=b=>{m("seconds",b)},y=(b,B,A,_)=>{B&&c(b),!B&&!A&&f(b),A&&h(b),n.value&&_(n.value)},k=b=>{if(b){const B=Array.isArray(b),A=B?[+b[0].hours,+b[1].hours]:+b.hours,_=B?[+b[0].minutes,+b[1].minutes]:+b.minutes,E=B?[+b[0].seconds,+b[1].seconds]:+b.seconds;d("hours",A),d("minutes",_),e.enableSeconds&&d("seconds",E)}},x=(b,B)=>{const A={hours:Array.isArray(a.hours)?a.hours[b]:a.hours,disabledArr:[]};return(B||B===0)&&(A.hours=B),Array.isArray(e.disabledTimes)&&(A.disabledArr=o.value.enabled&&Array.isArray(e.disabledTimes[b])?e.disabledTimes[b]:e.disabledTimes),A},w=t.computed(()=>(b,B)=>{var A;if(Array.isArray(e.disabledTimes)){const{disabledArr:_,hours:E}=x(b,B),C=_.filter(V=>+V.hours===E);return((A=C[0])==null?void 0:A.minutes)==="*"?{hours:[E],minutes:void 0,seconds:void 0}:{hours:[],minutes:(C==null?void 0:C.map(V=>+V.minutes))??[],seconds:(C==null?void 0:C.map(V=>V.seconds?+V.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:d,updateHours:c,updateMinutes:f,updateSeconds:h,getSetDateTime:l,updateTimeValues:y,getSecondsValue:s,assignStartTime:k,validateTime:u,disabledTimesConfig:w}},bu=(e,a)=>{const n=()=>{e.isTextInputDate&&B()},{modelValue:r,time:o}=gn(e,a,n),{defaultedStartTime:i,defaultedRange:s,defaultedTz:l}=Ze(e),{updateTimeValues:d,getSetDateTime:p,setTime:u,assignStartTime:m,disabledTimesConfig:c,validateTime:f}=js(e,o,r,h);function h(){a("update-flow-step")}const y=_=>{const{hours:E,minutes:C,seconds:V}=_;return{hours:+E,minutes:+C,seconds:V?+V:0}},k=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const E=y(e.startTime[0]),C=y(e.startTime[1]);return[We(pe(),E),We(pe(),C)]}const _=y(e.startTime);return We(pe(),_)}return s.value.enabled?[null,null]:null},x=()=>{if(s.value.enabled){const[_,E]=k();r.value=[At(p(_,0),l.value.timezone),At(p(E,1),l.value.timezone)]}else r.value=At(p(k()),l.value.timezone)},w=_=>Array.isArray(_)?[Va(pe(_[0])),Va(pe(_[1]))]:[Va(_??pe())],b=(_,E,C)=>{u("hours",_),u("minutes",E),u("seconds",e.enableSeconds?C:0)},B=()=>{const[_,E]=w(r.value);return s.value.enabled?b([_.hours,E.hours],[_.minutes,E.minutes],[_.seconds,E.seconds]):b(_.hours,_.minutes,_.seconds)};t.onMounted(()=>{if(!e.shadow)return m(i.value),r.value?B():x()});const A=()=>{Array.isArray(r.value)?r.value=r.value.map((_,E)=>_&&p(_,E)):r.value=p(r.value),a("time-update")};return{modelValue:r,time:o,disabledTimesConfig:c,updateTime:(_,E=!0,C=!1)=>{d(_,E,C,A)},validateTime:f}},xu=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(),s=Vt(i,"timePicker"),l=t.ref(null),{time:d,modelValue:p,disabledTimesConfig:u,updateTime:m,validateTime:c}=bu(o,r);return t.onMounted(()=>{o.shadow||r("mount",null)}),a({getSidebarProps:()=>({modelValue:p,time:d,updateTime:m}),toggleTimePicker:(f,h=!1,y="")=>{var k;(k=l.value)==null||k.toggleTimePicker(f,h,y)}}),(f,h)=>(t.openBlock(),t.createBlock(Yn,{"multi-calendars":0,stretch:""},{default:t.withCtx(()=>[t.createVNode(Gs,t.mergeProps({ref_key:"tpRef",ref:l},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(s),(y,k)=>({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}))}}),wu={class:"dp--header-wrap"},vu={key:0,class:"dp__month_year_wrap"},Eu={key:0},Cu={class:"dp__month_year_wrap"},Su=["data-dp-element","aria-label","data-test","onClick","onKeydown"],Mu=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:s,defaultedMultiCalendars:l,defaultedFilters:d,defaultedConfig:p,defaultedHighlight:u,propDates:m,defaultedUI:c}=Ze(o),{transitionName:f,showTransition:h}=pn(i),{buildMatrix:y}=ca(),{handleMonthYearChange:k,isDisabled:x,updateMonthYear:w}=U3(o,r),{showLeftIcon:b,showRightIcon:B}=Xn(),A=t.ref(!1),_=t.ref(!1),E=t.ref(!1),C=t.ref([null,null,null,null]);t.onMounted(()=>{r("mount")});const V=K=>({get:()=>o[K],set:M=>{const Q=K===$t.month?$t.year:$t.month;r("update-month-year",{[K]:M,[Q]:o[Q]}),K===$t.month?U(!0):de(!0)}}),T=t.computed(V($t.month)),Y=t.computed(V($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?U:de})),G=t.computed(()=>o.months.find(M=>M.value===o.month)||{text:"",value:0}),S=t.computed(()=>Ia(o.months,K=>{const M=o.month===K.value,Q=un(K.value,Bs(o.year,m.value.minDate),As(o.year,m.value.maxDate))||d.value.months.includes(K.value),fe=Ps(u.value,K.value,o.year);return{active:M,disabled:Q,highlighted:fe}})),I=t.computed(()=>Ia(o.years,K=>{const M=o.year===K.value,Q=un(K.value,Ga(m.value.minDate),Ga(m.value.maxDate))||d.value.years.includes(K.value),fe=oo(u.value,K.value);return{active:M,disabled:Q,highlighted:fe}})),j=(K,M,Q)=>{Q!==void 0?K.value=Q:K.value=!K.value,K.value?(E.value=!0,r("overlay-opened",M)):(E.value=!1,r("overlay-closed",M))},U=(K=!1,M)=>{W(K),j(A,yt.month,M)},de=(K=!1,M)=>{W(K),j(_,yt.year,M)},W=K=>{K||r("reset-flow")},D=(K,M)=>{o.arrowNavigation&&(C.value[M]=ct(K),y(C.value,"monthYear"))},ie=t.computed(()=>{var K,M,Q,fe,R,ye;return[{type:$t.month,index:1,toggle:U,modelValue:T.value,updateModelValue:Z=>T.value=Z,text:G.value.text,showSelectionGrid:A.value,items:S.value,ariaLabel:(K=s.value)==null?void 0:K.openMonthsOverlay,overlayLabel:((Q=(M=s.value).monthPicker)==null?void 0:Q.call(M,!0))??void 0},{type:$t.year,index:2,toggle:de,modelValue:Y.value,updateModelValue:Z=>Y.value=Z,text:Cs(o.year,o.locale),showSelectionGrid:_.value,items:I.value,ariaLabel:(fe=s.value)==null?void 0:fe.openYearsOverlay,overlayLabel:((ye=(R=s.value).yearPicker)==null?void 0:ye.call(R,!0))??void 0}]}),ne=t.computed(()=>o.disableYearSelect?[ie.value[0]]:o.yearFirst?[...ie.value].reverse():ie.value);return a({toggleMonthPicker:U,toggleYearPicker:de,handleMonthYearChange:k}),(K,M)=>{var Q,fe,R,ye,Z,me;return t.openBlock(),t.createElementBlock("div",wu,[K.$slots["month-year"]?(t.openBlock(),t.createElementBlock("div",vu,[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(k),instance:e.instance})))])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[K.$slots["top-extra"]?(t.openBlock(),t.createElementBlock("div",Eu,[t.renderSlot(K.$slots,"top-extra",{value:K.internalModelValue})])):t.createCommentVNode("",!0),t.createElementVNode("div",Cu,[t.unref(b)(t.unref(l),e.instance)&&!K.vertical?(t.openBlock(),t.createBlock(hn,{key:0,"aria-label":(Q=t.unref(s))==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:M[0]||(M[0]=$=>t.unref(k)(!1,!0)),onSetRef:M[1]||(M[1]=$=>D($,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(Ir),{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,($,v)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:$.type},[t.createElementVNode("button",{ref_for:!0,ref:g=>D(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)},[K.$slots[$.type]?t.renderSlot(K.$slots,$.type,{key:0,text:$.text,value:o[$.type]}):t.createCommentVNode("",!0),K.$slots[$.type]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString($.text),1)],64))],42,Su),t.createVNode(t.Transition,{name:t.unref(f)($.showSelectionGrid),css:t.unref(h)},{default:t.withCtx(()=>[$.showSelectionGrid?(t.openBlock(),t.createBlock(fn,{key:0,items:$.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:$.type,"header-refs":[],"esc-close":K.escClose,"menu-wrap-ref":K.menuWrapRef,"text-input":K.textInput,"aria-labels":K.ariaLabels,"overlay-label":$.overlayLabel,onSelected:$.updateModelValue,onToggle:$.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[`${$.type}-overlay-value`]?{name:"item",fn:t.withCtx(({item:g})=>[t.renderSlot(K.$slots,`${$.type}-overlay-value`,{text:g.text,value:g.value})]),key:"0"}:void 0,K.$slots[`${$.type}-overlay`]?{name:"overlay",fn:t.withCtx(()=>[t.renderSlot(K.$slots,`${$.type}-overlay`,t.mergeProps({ref_for:!0},X.value($.type)))]),key:"1"}:void 0,K.$slots[`${$.type}-overlay-header`]?{name:"header",fn:t.withCtx(()=>[t.renderSlot(K.$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(b)(t.unref(l),e.instance)&&K.vertical?(t.openBlock(),t.createBlock(hn,{key:1,"aria-label":(R=t.unref(s))==null?void 0:R.prevMonth,"el-name":"action-prev",disabled:t.unref(x)(!1),class:t.normalizeClass((ye=t.unref(c))==null?void 0:ye.navBtnPrev),onActivate:M[2]||(M[2]=$=>t.unref(k)(!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(qr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.unref(B)(t.unref(l),e.instance)?(t.openBlock(),t.createBlock(hn,{key:2,ref:"rightIcon","el-name":"action-next",disabled:t.unref(x)(!0),"aria-label":(Z=t.unref(s))==null?void 0:Z.nextMonth,class:t.normalizeClass((me=t.unref(c))==null?void 0:me.navBtnNext),onActivate:M[3]||(M[3]=$=>t.unref(k)(!0,!0)),onSetRef:M[4]||(M[4]=$=>D($,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(Wr):t.unref(Gr)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):t.createCommentVNode("",!0)])],64))])}}}),Bu={class:"dp__calendar_header",role:"row"},Au={key:0,class:"dp__calendar_header_item",role:"gridcell"},Vu=["aria-label"],Du={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},_u={class:"dp__cell_inner"},Nu=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],Tu=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:s,defaultedConfig:l,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([]),k=t.ref(null),x=t.ref(!0),w=t.ref(""),b=t.ref({startX:0,endX:0,startY:0,endY:0}),B=t.ref([]),A=t.ref({left:"50%"}),_=t.ref(!1),E=t.computed(()=>o.calendar?o.calendar(o.mappedDates):o.mappedDates),C=t.computed(()=>o.dayNames?Array.isArray(o.dayNames)?o.dayNames:o.dayNames(o.locale,+o.weekStart):g3(o.formatLocale,o.locale,+o.weekStart));t.onMounted(()=>{r("mount",{cmp:"calendar",refs:y}),l.value.noSwipe||k.value&&(k.value.addEventListener("touchstart",D,{passive:!1}),k.value.addEventListener("touchend",ie,{passive:!1}),k.value.addEventListener("touchmove",ne,{passive:!1})),o.monthChangeOnScroll&&k.value&&k.value.addEventListener("wheel",Q,{passive:!1})});const V=$=>$?o.vertical?"vNext":"next":o.vertical?"vPrevious":"previous",T=($,v)=>{if(o.transitions){const g=vt(Kt(pe(),o.month,o.year));w.value=it(vt(Kt(pe(),$,v)),g)?s.value[V(!0)]:s.value[V(!1)],x.value=!1,t.nextTick(()=>{x.value=!0})}},Y=t.computed(()=>({...c.value.calendar??{}})),X=t.computed(()=>$=>{const v=k3($);return{dp__marker_dot:v.type==="dot",dp__marker_line:v.type==="line"}}),G=t.computed(()=>$=>Fe($,f.value)),S=t.computed(()=>({dp__calendar:!0,dp__calendar_next:p.value.count>0&&o.instance!==0})),I=t.computed(()=>$=>o.hideOffsetDates?$.current:!0),j=async($,v)=>{const{width:g,height:N}=$.getBoundingClientRect();f.value=v.value;let L={left:`${g/2}px`},F=-50;if(await t.nextTick(),B.value[0]){const{left:J,width:H}=B.value[0].getBoundingClientRect();J<0&&(L={left:"0"},F=0,A.value.left=`${g/2}px`),window.innerWidth<J+H&&(L={right:"0"},F=0,A.value.left=`${H-g/2}px`)}h.value={bottom:`${N}px`,...L,transform:`translateX(${F}%)`}},U=async($,v,g)=>{var N,L,F;const J=ct(y.value[v][g]);J&&((N=$.marker)!=null&&N.customPosition&&(F=(L=$.marker)==null?void 0:L.tooltip)!=null&&F.length?h.value=$.marker.customPosition(J):await j(J,$),r("tooltip-open",$.marker))},de=async($,v,g)=>{var N,L;if(_.value&&m.value.enabled&&m.value.dragSelect)return r("select-date",$);r("set-hover-date",$),(L=(N=$.marker)==null?void 0:N.tooltip)!=null&&L.length&&await U($,v,g)},W=$=>{f.value&&(f.value=null,h.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",$.marker))},D=$=>{b.value.startX=$.changedTouches[0].screenX,b.value.startY=$.changedTouches[0].screenY},ie=$=>{b.value.endX=$.changedTouches[0].screenX,b.value.endY=$.changedTouches[0].screenY,K()},ne=$=>{o.vertical&&!o.inline&&$.preventDefault()},K=()=>{const $=o.vertical?"Y":"X";Math.abs(b.value[`start${$}`]-b.value[`end${$}`])>10&&r("handle-swipe",b.value[`start${$}`]>b.value[`end${$}`]?"right":"left")},M=($,v,g)=>{$&&(Array.isArray(y.value[v])?y.value[v][g]=$:y.value[v]=[$]),o.arrowNavigation&&i(y.value,"calendar")},Q=$=>{o.monthChangeOnScroll&&($.preventDefault(),r("handle-scroll",$))},fe=$=>u.value.type==="local"?Fr($.value,{weekStartsOn:+o.weekStart}):u.value.type==="iso"?Pr($.value):typeof u.value.type=="function"?u.value.type($.value):"",R=$=>{const v=$[0];return u.value.hideOnOffsetDates?$.some(g=>g.current)?fe(v):"":fe(v)},ye=($,v,g=!0)=>{g&&Ss()||!g&&!Ss()||m.value.enabled||(ia($,l.value),r("select-date",v))},Z=$=>{ia($,l.value)},me=$=>{m.value.enabled&&m.value.dragSelect?(_.value=!0,r("select-date",$)):m.value.enabled&&r("select-date",$)};return a({triggerTransition:T}),($,v)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(S.value)},[t.createElementVNode("div",{ref_key:"calendarWrapRef",ref:k,class:t.normalizeClass(Y.value),role:"grid"},[t.createElementVNode("div",Bu,[$.weekNumbers?(t.openBlock(),t.createElementBlock("div",Au,t.toDisplayString($.weekNumName),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C.value,(g,N)=>{var L,F;return t.openBlock(),t.createElementBlock("div",{key:N,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(F=(L=t.unref(d))==null?void 0:L.weekDay)==null?void 0:F.call(L,N)},[$.$slots["calendar-header"]?t.renderSlot($.$slots,"calendar-header",{key:0,day:g,index:N}):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,Vu)}),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=>_.value=!1)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(E.value,(g,N)=>(t.openBlock(),t.createElementBlock("div",{key:N,class:"dp__calendar_row",role:"row"},[$.weekNumbers?(t.openBlock(),t.createElementBlock("div",Du,[t.createElementVNode("div",_u,t.toDisplayString(R(g.days)),1)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.days,(L,F)=>{var J,H,te;return t.openBlock(),t.createElementBlock("div",{id:t.unref(Os)(L.value),ref_for:!0,ref:ce=>M(ce,N,F),key:F+N,role:"gridcell",class:"dp__calendar_item","aria-pressed":(L.classData.dp__active_date||L.classData.dp__range_start||L.classData.dp__range_start)??void 0,"aria-disabled":L.classData.dp__cell_disabled||void 0,"aria-label":(H=(J=t.unref(d))==null?void 0:J.day)==null?void 0:H.call(J,L),tabindex:!L.current&&$.hideOffsetDates?void 0:0,"data-test":L.value,onClick:t.withModifiers(ce=>ye(ce,L),["prevent"]),onTouchend:ce=>ye(ce,L,!1),onKeydown:ce=>t.unref(wt)(ce,()=>$.$emit("select-date",L)),onMouseenter:ce=>de(L,N,F),onMouseleave:ce=>W(L),onMousedown:ce=>me(L),onMouseup:v[0]||(v[0]=ce=>_.value=!1)},[t.createElementVNode("div",{class:t.normalizeClass(["dp__cell_inner",L.classData])},[$.$slots.day&&I.value(L)?t.renderSlot($.$slots,"day",{key:0,day:+L.text,date:L.value}):t.createCommentVNode("",!0),$.$slots.day?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(L.text),1)],64)),L.marker&&I.value(L)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[$.$slots.marker?t.renderSlot($.$slots,"marker",{key:0,marker:L.marker,day:+L.text,date:L.value}):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(X.value(L.marker)),style:t.normalizeStyle(L.marker.color?{backgroundColor:L.marker.color}:{})},null,6))],64)):t.createCommentVNode("",!0),G.value(L.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=L.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(L.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:L.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(A.value)},null,4)])):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0)],2)],40,Nu)}),128))]))),128))],32)):t.createCommentVNode("",!0)]),_:3},8,["name","css"])],2)],2))}}),qs=e=>Array.isArray(e),Pu=(e,a,n,r)=>{const o=t.ref([]),i=t.ref(new Date),s=t.ref(),l=()=>D(e.isTextInputDate),{modelValue:d,calendars:p,time:u,today:m}=gn(e,a,l),{defaultedMultiCalendars:c,defaultedStartTime:f,defaultedRange:h,defaultedConfig:y,defaultedTz:k,propDates:x,defaultedMultiDates:w}=Ze(e),{validateMonthYearInRange:b,isDisabled:B,isDateRangeAllowed:A,checkMinMaxRange:_}=ua(e),{updateTimeValues:E,getSetDateTime:C,setTime:V,assignStartTime:T,validateTime:Y,disabledTimesConfig:X}=js(e,u,d,r),G=t.computed(()=>z=>p.value[z]?p.value[z].month:0),S=t.computed(()=>z=>p.value[z]?p.value[z].year:0),I=z=>!y.value.keepViewOnOffsetClick||z?!0:!s.value,j=(z,O,P,ee=!1)=>{var se,xe;I(ee)&&(p.value[z]||(p.value[z]={month:0,year:0}),p.value[z].month=vs(O)?(se=p.value[z])==null?void 0:se.month:O,p.value[z].year=vs(P)?(xe=p.value[z])==null?void 0:xe.year:P)},U=()=>{e.autoApply&&a("select-date")};t.onMounted(()=>{e.shadow||(d.value||($(),f.value&&T(f.value)),D(!0),e.focusStartDate&&e.startDate&&$())});const de=t.computed(()=>{var z;return(z=e.flow)!=null&&z.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),W=()=>{e.autoApply&&de.value&&a("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},D=(z=!1)=>{if(d.value)return Array.isArray(d.value)?(o.value=d.value,R(z)):K(d.value,z);if(c.value.count&&z&&!e.startDate)return ne(pe(),z)},ie=()=>Array.isArray(d.value)&&h.value.enabled?Oe(d.value[0])===Oe(d.value[1]??d.value[0]):!1,ne=(z=new Date,O=!1)=>{if((!c.value.count||!c.value.static||O)&&j(0,Oe(z),Ve(z)),c.value.count&&(!c.value.solo||!d.value||ie()))for(let P=1;P<c.value.count;P++){const ee=We(pe(),{month:G.value(P-1),year:S.value(P-1)}),se=zi(ee,{months:1});p.value[P]={month:Oe(se),year:Ve(se)}}},K=(z,O)=>{ne(z),V("hours",Zt(z)),V("minutes",oa(z)),V("seconds",La(z)),c.value.count&&O&&me()},M=z=>{if(c.value.count){if(c.value.solo)return 0;const O=Oe(z[0]),P=Oe(z[1]);return Math.abs(P-O)<c.value.count?0:1}return 1},Q=(z,O)=>{z[1]&&h.value.showLastInRange?ne(z[M(z)],O):ne(z[0],O);const P=(ee,se)=>[ee(z[0]),z[1]?ee(z[1]):u[se][1]];V("hours",P(Zt,"hours")),V("minutes",P(oa,"minutes")),V("seconds",P(La,"seconds"))},fe=(z,O)=>{if((h.value.enabled||e.weekPicker)&&!w.value.enabled)return Q(z,O);if(w.value.enabled&&O){const P=z[z.length-1];return K(P,O)}},R=z=>{const O=d.value;fe(O,z),c.value.count&&c.value.solo&&me()},ye=(z,O)=>{const P=We(pe(),{month:G.value(O),year:S.value(O)}),ee=z<0?Ft(P,1):Ra(P,1);b(Oe(ee),Ve(ee),z<0,e.preventMinMaxNavigation)&&(j(O,Oe(ee),Ve(ee)),a("update-month-year",{instance:O,month:Oe(ee),year:Ve(ee)}),c.value.count&&!c.value.solo&&Z(O),n())},Z=z=>{for(let O=z-1;O>=0;O--){const P=Ra(We(pe(),{month:G.value(O+1),year:S.value(O+1)}),1);j(O,Oe(P),Ve(P))}for(let O=z+1;O<=c.value.count-1;O++){const P=Ft(We(pe(),{month:G.value(O-1),year:S.value(O-1)}),1);j(O,Oe(P),Ve(P))}},me=()=>{if(Array.isArray(d.value)&&d.value.length===2){const z=pe(pe(d.value[1]?d.value[1]:Ft(d.value[0],1))),[O,P]=[Oe(d.value[0]),Ve(d.value[0])],[ee,se]=[Oe(d.value[1]),Ve(d.value[1])];(O!==ee||O===ee&&P!==se)&&c.value.solo&&j(1,Oe(z),Ve(z))}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&&Z(0))},v=(z,O)=>{if(e.monthChangeOnScroll){const P=new Date().getTime()-i.value.getTime(),ee=Math.abs(z.deltaY);let se=500;ee>1&&(se=100),ee>100&&(se=0),P>se&&(i.value=new Date,ye(e.monthChangeOnScroll!=="inverse"?-z.deltaY:z.deltaY,O))}},g=(z,O,P=!1)=>{e.monthChangeOnArrows&&e.vertical===P&&N(z,O)},N=(z,O)=>{ye(z==="right"?-1:1,O)},L=z=>{if(x.value.markers)return In(z.value,x.value.markers)},F=(z,O)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[z==0,!0];case"fair":return[z==0||O>z,!0];case"append":return[!1,!1];default:return[!1,!1]}},J=(z,O,P,ee)=>{if(e.sixWeeks&&z.length<6){const se=6-z.length,xe=(O.getDay()+7-ee)%7,Ae=6-(P.getDay()+7-ee)%7,[Ne,Pe]=F(xe,Ae);for(let je=1;je<=se;je++)if(Pe?!!(je%2)==Ne:Ne){const nt=z[0].days[0],bt=H(Ot(nt.value,-7),Oe(O));z.unshift({days:bt})}else{const nt=z[z.length-1],bt=nt.days[nt.days.length-1],lt=H(Ot(bt.value,1),Oe(O));z.push({days:lt})}}return z},H=(z,O)=>{const P=pe(z),ee=[];for(let se=0;se<7;se++){const xe=Ot(P,se),Ae=Oe(xe)!==O;ee.push({text:e.hideOffsetDates&&Ae?"":xe.getDate(),value:xe,current:!Ae,classData:{}})}return ee},te=(z,O)=>{const P=[],ee=new Date(O,z),se=new Date(O,z+1,0),xe=e.weekStart,Ae=Lt(ee,{weekStartsOn:xe}),Ne=Pe=>{const je=H(Pe,z);if(P.push({days:je}),!P[P.length-1].days.some(nt=>Fe(vt(nt.value),vt(se)))){const nt=Ot(Pe,7);Ne(nt)}};return Ne(Ae),J(P,ee,se,xe)},ce=z=>{const O=sa(pe(z.value),u.hours,u.minutes,Se());a("date-update",O),w.value.enabled?mo(O,d,w.value.limit):d.value=O,r(),t.nextTick().then(()=>{W()})},ge=z=>h.value.noDisabledRange?Vs(o.value[0],z).some(O=>B(O)):!1,be=()=>{o.value=d.value?d.value.slice():[],o.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(o.value=[])},ue=(z,O)=>{const P=[pe(z.value),Ot(pe(z.value),+h.value.autoRange)];A(P)?(O&&Me(z.value),o.value=P):a("invalid-date",z.value)},Me=z=>{const O=Oe(pe(z)),P=Ve(pe(z));if(j(0,O,P),c.value.count>0)for(let ee=1;ee<c.value.count;ee++){const se=S3(We(pe(z),{year:S.value(ee-1),month:G.value(ee-1)}));j(ee,se.month,se.year)}},De=z=>{if(ge(z.value)||!_(z.value,d.value,h.value.fixedStart?0:1))return a("invalid-date",z.value);o.value=zs(pe(z.value),d,a,h)},_e=(z,O)=>{if(be(),h.value.autoRange)return ue(z,O);if(h.value.fixedStart||h.value.fixedEnd)return De(z);o.value[0]?_(pe(z.value),d.value)&&!ge(z.value)?tt(pe(z.value),pe(o.value[0]))?(o.value.unshift(pe(z.value)),a("range-end",o.value[0])):(o.value[1]=pe(z.value),a("range-end",o.value[1])):(e.autoApply&&a("auto-apply-invalid",z.value),a("invalid-date",z.value)):(o.value[0]=pe(z.value),a("range-start",o.value[0]))},Se=(z=!0)=>e.enableSeconds?Array.isArray(u.seconds)?z?u.seconds[0]:u.seconds[1]:u.seconds:0,Le=z=>{o.value[z]=sa(o.value[z],u.hours[z],u.minutes[z],Se(z!==1))},Be=()=>{var z,O;o.value[0]&&o.value[1]&&+((z=o.value)==null?void 0:z[0])>+((O=o.value)==null?void 0:O[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(),Un(o.value,a,e.autoApply,e.modelAuto))},ae=(z,O=!1)=>{if(B(z.value)||!z.current&&e.hideOffsetDates)return a("invalid-date",z.value);if(s.value=JSON.parse(JSON.stringify(z)),!h.value.enabled)return ce(z);qs(u.hours)&&qs(u.minutes)&&!w.value.enabled&&(_e(z,O),q())},re=(z,O)=>{var P;j(z,O.month,O.year,!0),c.value.count&&!c.value.solo&&Z(z),a("update-month-year",{instance:z,month:O.month,year:O.year}),n(c.value.solo?z:void 0);const ee=(P=e.flow)!=null&&P.length?e.flow[e.flowStep]:void 0;!O.fromNav&&(ee===yt.month||ee===yt.year)&&r()},le=(z,O)=>{Rs({value:z,modelValue:d,range:h.value.enabled,timezone:O?void 0:k.value.timezone}),U(),e.multiCalendars&&t.nextTick().then(()=>D(!0))},Ee=()=>{const z=Yr(pe(),k.value);h.value.enabled?d.value&&Array.isArray(d.value)&&d.value[0]?d.value=tt(z,d.value[0])?[z,d.value[0]]:[d.value[0],z]:d.value=[z]:d.value=z,U()},he=()=>{if(Array.isArray(d.value))if(w.value.enabled){const z=ke();d.value[d.value.length-1]=C(z)}else d.value=d.value.map((z,O)=>z&&C(z,O));else d.value=C(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:G,year:S,time:u,disabledTimesConfig:X,today:m,validateTime:Y,getCalendarDays:te,getMarker:L,handleScroll:v,handleSwipe:N,handleArrow:g,selectDate:ae,updateMonthYear:re,presetDate:le,selectCurrentDate:Ee,updateTime:(z,O=!0,P=!1)=>{E(z,O,P,he)},assignMonthAndYear:ne}},Ou={key:0},Fu=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:s,year:l,modelValue:d,time:p,disabledTimesConfig:u,today:m,validateTime:c,getCalendarDays:f,getMarker:h,handleArrow:y,handleScroll:k,handleSwipe:x,selectDate:w,updateMonthYear:b,presetDate:B,selectCurrentDate:A,updateTime:_,assignMonthAndYear:E}=Pu(o,r,ie,ne),C=t.useSlots(),{setHoverDate:V,getDayClassData:T,clearHoverDate:Y}=Qu(d,o),{defaultedMultiCalendars:X}=Ze(o),G=t.ref([]),S=t.ref([]),I=t.ref(null),j=Vt(C,"calendar"),U=Vt(C,"monthYear"),de=Vt(C,"timePicker"),W=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(s.value(v),l.value(v)).map(g=>({...g,days:g.days.map(N=>(N.marker=h(N),N.classData=T(N),N))})));function ie(v){var g;v||v===0?(g=S.value[v])==null||g.triggerTransition(s.value(v),l.value(v)):S.value.forEach((N,L)=>N.triggerTransition(s.value(L),l.value(L)))}function ne(){r("update-flow-step")}const K=(v,g=!1)=>{w(v,g),o.spaceConfirm&&r("select-date")},M=(v,g,N=0)=>{var L;(L=G.value[N])==null||L.toggleMonthPicker(v,g)},Q=(v,g,N=0)=>{var L;(L=G.value[N])==null||L.toggleYearPicker(v,g)},fe=(v,g,N)=>{var L;(L=I.value)==null||L.toggleTimePicker(v,g,N)},R=(v,g)=>{var N;if(!o.range){const L=d.value?d.value:m,F=g?new Date(g):L,J=v?Lt(F,{weekStartsOn:1}):Ki(F,{weekStartsOn:1});w({value:J,current:Oe(F)===s.value(0),text:"",classData:{}}),(N=document.getElementById(Os(J)))==null||N.focus()}},ye=v=>{var g;(g=G.value[0])==null||g.handleMonthYearChange(v,!0)},Z=v=>{b(0,{month:s.value(0),year:l.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})},$=v=>{r("overlay-toggle",{open:!1,overlay:v}),r("focus-menu")};return a({clearHoverDate:Y,presetDate:B,selectCurrentDate:A,toggleMonthPicker:M,toggleYearPicker:Q,toggleTimePicker:fe,handleArrow:y,updateMonthYear:b,getSidebarProps:()=>({modelValue:d,month:s,year:l,time:p,updateTime:_,updateMonthYear:b,selectDate:w,presetDate:B}),changeMonth:ye,changeYear:Z,selectWeekDate:R}),(v,g)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(Yn,{"multi-calendars":t.unref(X).count,collapse:v.collapse},{default:t.withCtx(({instance:N,index:L})=>[v.disableMonthYearSelect?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(Mu,t.mergeProps({key:0,ref:F=>{F&&(G.value[L]=F)},months:t.unref(bs)(v.formatLocale,v.locale,v.monthNameFormat),years:t.unref(Xr)(v.yearRange,v.locale,v.reverseYears),month:t.unref(s)(N),year:t.unref(l)(N),instance:N},v.$props,{onMount:g[0]||(g[0]=F=>W(t.unref(Aa).header)),onResetFlow:g[1]||(g[1]=F=>v.$emit("reset-flow")),onUpdateMonthYear:F=>t.unref(b)(N,F),onOverlayClosed:$,onOverlayOpened:g[2]||(g[2]=F=>v.$emit("overlay-toggle",{open:!0,overlay:F}))}),t.createSlots({_:2},[t.renderList(t.unref(U),(F,J)=>({name:F,fn:t.withCtx(H=>[t.renderSlot(v.$slots,F,t.normalizeProps(t.guardReactiveProps(H)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),t.createVNode(Tu,t.mergeProps({ref:F=>{F&&(S.value[L]=F)},"mapped-dates":D.value(N),month:t.unref(s)(N),year:t.unref(l)(N),instance:N},v.$props,{onSelectDate:F=>t.unref(w)(F,N!==1),onHandleSpace:F=>K(F,N!==1),onSetHoverDate:g[3]||(g[3]=F=>t.unref(V)(F)),onHandleScroll:F=>t.unref(k)(F,N),onHandleSwipe:F=>t.unref(x)(F,N),onMount:g[4]||(g[4]=F=>W(t.unref(Aa).calendar)),onResetFlow:g[5]||(g[5]=F=>v.$emit("reset-flow")),onTooltipOpen:g[6]||(g[6]=F=>v.$emit("tooltip-open",F)),onTooltipClose:g[7]||(g[7]=F=>v.$emit("tooltip-close",F))}),t.createSlots({_:2},[t.renderList(t.unref(j),(F,J)=>({name:F,fn:t.withCtx(H=>[t.renderSlot(v.$slots,F,t.normalizeProps(t.guardReactiveProps({...H})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),v.enableTimePicker?(t.openBlock(),t.createElementBlock("div",Ou,[v.$slots["time-picker"]?t.renderSlot(v.$slots,"time-picker",t.normalizeProps(t.mergeProps({key:0},{time:t.unref(p),updateTime:t.unref(_)}))):(t.openBlock(),t.createBlock(Gs,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]=N=>W(t.unref(Aa).timePicker)),"onUpdate:hours":g[9]||(g[9]=N=>t.unref(_)(N)),"onUpdate:minutes":g[10]||(g[10]=N=>t.unref(_)(N,!1)),"onUpdate:seconds":g[11]||(g[11]=N=>t.unref(_)(N,!1,!0)),onResetFlow:g[12]||(g[12]=N=>v.$emit("reset-flow")),onOverlayClosed:g[13]||(g[13]=N=>me(N,!1)),onOverlayOpened:g[14]||(g[14]=N=>me(N,!0)),onAmPmChange:g[15]||(g[15]=N=>v.$emit("am-pm-change",N))}),t.createSlots({_:2},[t.renderList(t.unref(de),(N,L)=>({name:N,fn:t.withCtx(F=>[t.renderSlot(v.$slots,N,t.normalizeProps(t.guardReactiveProps(F)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):t.createCommentVNode("",!0)],64))}}),Lu=(e,a)=>{const n=t.ref(),{defaultedMultiCalendars:r,defaultedConfig:o,defaultedHighlight:i,defaultedRange:s,propDates:l,defaultedFilters:d,defaultedMultiDates:p}=Ze(e),{modelValue:u,year:m,month:c,calendars:f}=gn(e,a),{isDisabled:h}=ua(e),{selectYear:y,groupedYears:k,showYearPicker:x,isDisabled:w,toggleYearPicker:b,handleYearSelect:B,handleYear:A}=Is({modelValue:u,multiCalendars:r,range:s,highlight:i,calendars:f,propDates:l,month:c,year:m,filters:d,props:e,emit:a}),_=(I,j)=>[I,j].map(U=>Gt(U,"MMMM",{locale:e.formatLocale})).join("-"),E=t.computed(()=>I=>u.value?Array.isArray(u.value)?u.value.some(j=>ms(I,j)):ms(u.value,I):!1),C=I=>{if(s.value.enabled){if(Array.isArray(u.value)){const j=Fe(I,u.value[0])||Fe(I,u.value[1]);return Gn(u.value,n.value,I)&&!j}return!1}return!1},V=(I,j)=>I.quarter===Xi(j)&&I.year===Ve(j),T=I=>typeof i.value=="function"?i.value({quarter:Xi(I),year:Ve(I)}):!!i.value.quarters.find(j=>V(j,I)),Y=t.computed(()=>I=>{const j=We(new Date,{year:m.value(I)});return b2({start:sn(j),end:Qi(j)}).map(U=>{const de=Sa(U),W=Ji(U),D=h(U),ie=C(de),ne=T(de);return{text:_(de,W),value:de,active:E.value(de),highlighted:ne,disabled:D,isBetween:ie}})}),X=I=>{mo(I,u,p.value.limit),a("auto-apply",!0)},G=I=>{u.value=fo(u,I,a),Un(u.value,a,e.autoApply,e.modelAuto)},S=I=>{u.value=I,a("auto-apply")};return{defaultedConfig:o,defaultedMultiCalendars:r,groupedYears:k,year:m,isDisabled:w,quarters:Y,showYearPicker:x,modelValue:u,setHoverDate:I=>{n.value=I},selectYear:y,selectQuarter:(I,j,U)=>{if(!U)return f.value[j].month=Oe(Ji(I)),p.value.enabled?X(I):s.value.enabled?G(I):S(I)},toggleYearPicker:b,handleYearSelect:B,handleYear:A}},$u={class:"dp--quarter-items"},Hu=["data-test","disabled","onClick","onMouseover"],Ru=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(),s=Vt(i,"yearMode"),{defaultedMultiCalendars:l,defaultedConfig:d,groupedYears:p,year:u,isDisabled:m,quarters:c,modelValue:f,showYearPicker:h,setHoverDate:y,selectQuarter:k,toggleYearPicker:x,handleYearSelect:w,handleYear:b}=Lu(o,r);return a({getSidebarProps:()=>({modelValue:f,year:u,selectQuarter:k,handleYearSelect:w,handleYear:b})}),(B,A)=>(t.openBlock(),t.createBlock(Yn,{"multi-calendars":t.unref(l).count,collapse:B.collapse,stretch:""},{default:t.withCtx(({instance:_})=>[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(Hs,t.mergeProps(B.$props,{items:t.unref(p)(_),instance:_,"show-year-picker":t.unref(h)[_],year:t.unref(u)(_),"is-disabled":E=>t.unref(m)(_,E),onHandleYear:E=>t.unref(b)(_,E),onYearSelect:E=>t.unref(w)(E,_),onToggleYearPicker:E=>t.unref(x)(_,E==null?void 0:E.flow,E==null?void 0:E.show)}),t.createSlots({_:2},[t.renderList(t.unref(s),(E,C)=>({name:E,fn:t.withCtx(V=>[t.renderSlot(B.$slots,E,t.normalizeProps(t.guardReactiveProps(V)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),t.createElementVNode("div",$u,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(c)(_),(E,C)=>(t.openBlock(),t.createElementBlock("div",{key:C},[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:V=>t.unref(k)(E.value,_,E.disabled),onMouseover:V=>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,Hu)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),zu=["id","tabindex","role","aria-label"],Iu={key:0,class:"dp--menu-load-container"},Gu={key:1,class:"dp--menu-header"},ju={key:0,class:"dp__sidebar_left"},qu=["data-test","onClick","onKeydown"],Wu={key:2,class:"dp__sidebar_right"},Yu={key:3,class:"dp__action_extra"},Ws=t.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Wn,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),s=t.computed(()=>{const{openOnTop:H,...te}=o;return{...te,flowStep:V.value,collapse:o.collapse,noOverlayFocus:o.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:d,control:p}=Fs(),u=t.useSlots(),{defaultedTextInput:m,defaultedInline:c,defaultedConfig:f,defaultedUI:h}=Ze(o),y=t.ref(null),k=t.ref(0),x=t.ref(null),w=t.ref(!1),b=t.ref(null);t.onMounted(()=>{if(!o.shadow){w.value=!0,B(),window.addEventListener("resize",B);const H=ct(i);if(H&&!m.value.enabled&&!c.value.enabled&&(l(!0),j()),H){const te=ce=>{f.value.allowPreventDefault&&ce.preventDefault(),ia(ce,f.value,!0)};H.addEventListener("pointerdown",te),H.addEventListener("mousedown",te)}}}),t.onUnmounted(()=>{window.removeEventListener("resize",B)});const B=()=>{const H=ct(x);H&&(k.value=H.getBoundingClientRect().width)},{arrowRight:A,arrowLeft:_,arrowDown:E,arrowUp:C}=ca(),{flowStep:V,updateFlowStep:T,childMount:Y,resetFlow:X,handleFlow:G}=Ku(o,r,b),S=t.computed(()=>o.monthPicker?ou:o.yearPicker?su:o.timePicker?xu:o.quarterPicker?Ru:Fu),I=t.computed(()=>{var H;if(f.value.arrowLeft)return f.value.arrowLeft;const te=(H=i.value)==null?void 0:H.getBoundingClientRect(),ce=o.getInputRect();return(ce==null?void 0:ce.width)<(k==null?void 0:k.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)<(k==null?void 0:k.value)?`${(k==null?void 0:k.value)-(ce==null?void 0:ce.width)/2}px`:"50%"}),j=()=>{const H=ct(i);H&&H.focus({preventScroll:!0})},U=t.computed(()=>{var H;return((H=b.value)==null?void 0:H.getSidebarProps())||{}}),de=()=>{o.openOnTop&&r("recalculate-position")},W=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??{}})),M=H=>{ia(H,f.value,!0)},Q=()=>{o.escClose&&r("close-picker")},fe=H=>{if(o.arrowNavigation){if(H===xt.up)return C();if(H===xt.down)return E();if(H===xt.left)return _();if(H===xt.right)return A()}else H===xt.left||H===xt.up?$("handleArrow",xt.left,0,H===xt.up):$("handleArrow",xt.right,0,H===xt.down)},R=H=>{d(H.shiftKey),!o.disableMonthYearSelect&&H.code===Ue.tab&&H.target.classList.contains("dp__menu")&&p.value.shiftKeyInMenu&&(H.preventDefault(),ia(H,f.value,!0),r("close-picker"))},ye=()=>{j(),r("time-picker-close")},Z=H=>{var te,ce,ge;(te=b.value)==null||te.toggleTimePicker(!1,!1),(ce=b.value)==null||ce.toggleMonthPicker(!1,!1,H),(ge=b.value)==null||ge.toggleYearPicker(!1,!1,H)},me=(H,te=0)=>{var ce,ge,be;return H==="month"?(ce=b.value)==null?void 0:ce.toggleMonthPicker(!1,!0,te):H==="year"?(ge=b.value)==null?void 0:ge.toggleYearPicker(!1,!0,te):H==="time"?(be=b.value)==null?void 0:be.toggleTimePicker(!0,!1):Z(te)},$=(H,...te)=>{var ce,ge;(ce=b.value)!=null&&ce[H]&&((ge=b.value)==null||ge[H](...te))},v=()=>{$("selectCurrentDate")},g=(H,te)=>{$("presetDate",H,te)},N=()=>{$("clearHoverDate")},L=(H,te)=>{$("updateMonthYear",H,te)},F=(H,te)=>{H.preventDefault(),fe(te)},J=H=>{var te,ce,ge;if(R(H),H.key===Ue.home||H.key===Ue.end)return $("selectWeekDate",H.key===Ue.home,H.target.getAttribute("id"));switch((H.key===Ue.pageUp||H.key===Ue.pageDown)&&(H.shiftKey?($("changeYear",H.key===Ue.pageUp),(te=Qr(i.value,"overlay-year"))==null||te.focus()):($("changeMonth",H.key===Ue.pageUp),(ce=Qr(i.value,H.key===Ue.pageUp?"action-prev":"action-next"))==null||ce.focus()),H.target.getAttribute("id")&&((ge=i.value)==null||ge.focus({preventScroll:!0}))),H.key){case Ue.esc:return Q();case Ue.arrowLeft:return F(H,xt.left);case Ue.arrowRight:return F(H,xt.right);case Ue.arrowUp:return F(H,xt.up);case Ue.arrowDown:return F(H,xt.down);default:return}};return a({updateMonthYear:L,switchView:me,handleFlow:G}),(H,te)=>{var ce,ge,be;return t.openBlock(),t.createElementBlock("div",{id:H.uid?`dp-menu-${H.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=H.ariaLabels)==null?void 0:ce.menu,class:t.normalizeClass(K.value),style:t.normalizeStyle({"--dp-arrow-left":I.value}),onMouseleave:N,onClick:M,onKeydown:J},[(H.disabled||H.readonly)&&t.unref(c).enabled||H.loading?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(ne.value)},[H.loading?(t.openBlock(),t.createElementBlock("div",Iu,te[19]||(te[19]=[t.createElementVNode("span",{class:"dp--menu-loader"},null,-1)]))):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),H.$slots["menu-header"]?(t.openBlock(),t.createElementBlock("div",Gu,[t.renderSlot(H.$slots,"menu-header")])):t.createCommentVNode("",!0),!t.unref(c).enabled&&!H.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=H.presetDates)==null?void 0:ge.length)||!!H.$slots["left-sidebar"]||!!H.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((be=H.presetDates)==null?void 0:be.length)||!!H.$slots["left-sidebar"]||!!H.$slots["right-sidebar"])}),style:t.normalizeStyle({"--dp-menu-width":`${k.value}px`})},[H.$slots["left-sidebar"]?(t.openBlock(),t.createElementBlock("div",ju,[t.renderSlot(H.$slots,"left-sidebar",t.normalizeProps(t.guardReactiveProps(U.value)))])):t.createCommentVNode("",!0),H.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(H.presetDates,(ue,Me)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:Me},[ue.slot?t.renderSlot(H.$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(De=>g(ue.value,ue.noTz),["prevent"]),onKeydown:De=>t.unref(wt)(De,()=>g(ue.value,ue.noTz),!0)},t.toDisplayString(ue.label),47,qu))],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:b},s.value,{"flow-step":t.unref(V),onMount:t.unref(Y),onUpdateFlowStep:t.unref(T),onResetFlow:t.unref(X),onFocusMenu:j,onSelectDate:te[0]||(te[0]=ue=>H.$emit("select-date")),onDateUpdate:te[1]||(te[1]=ue=>H.$emit("date-update",ue)),onTooltipOpen:te[2]||(te[2]=ue=>H.$emit("tooltip-open",ue)),onTooltipClose:te[3]||(te[3]=ue=>H.$emit("tooltip-close",ue)),onAutoApply:te[4]||(te[4]=ue=>H.$emit("auto-apply",ue)),onRangeStart:te[5]||(te[5]=ue=>H.$emit("range-start",ue)),onRangeEnd:te[6]||(te[6]=ue=>H.$emit("range-end",ue)),onInvalidFixedRange:te[7]||(te[7]=ue=>H.$emit("invalid-fixed-range",ue)),onTimeUpdate:te[8]||(te[8]=ue=>H.$emit("time-update")),onAmPmChange:te[9]||(te[9]=ue=>H.$emit("am-pm-change",ue)),onTimePickerOpen:te[10]||(te[10]=ue=>H.$emit("time-picker-open",ue)),onTimePickerClose:ye,onRecalculatePosition:de,onUpdateMonthYear:te[11]||(te[11]=ue=>H.$emit("update-month-year",ue)),onAutoApplyInvalid:te[12]||(te[12]=ue=>H.$emit("auto-apply-invalid",ue)),onInvalidDate:te[13]||(te[13]=ue=>H.$emit("invalid-date",ue)),onOverlayToggle:te[14]||(te[14]=ue=>H.$emit("overlay-toggle",ue)),"onUpdate:internalModelValue":te[15]||(te[15]=ue=>H.$emit("update:internal-model-value",ue))}),t.createSlots({_:2},[t.renderList(D.value,(ue,Me)=>({name:ue,fn:t.withCtx(De=>[t.renderSlot(H.$slots,ue,t.normalizeProps(t.guardReactiveProps({...De})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),H.$slots["right-sidebar"]?(t.openBlock(),t.createElementBlock("div",Wu,[t.renderSlot(H.$slots,"right-sidebar",t.normalizeProps(t.guardReactiveProps(U.value)))])):t.createCommentVNode("",!0),H.$slots["action-extra"]?(t.openBlock(),t.createElementBlock("div",Yu,[H.$slots["action-extra"]?t.renderSlot(H.$slots,"action-extra",{key:0,selectCurrentDate:v}):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],6),!H.autoApply||t.unref(f).keepActionRow?(t.openBlock(),t.createBlock(Q3,t.mergeProps({key:3,"menu-mount":w.value},s.value,{"calendar-width":k.value,onClosePicker:te[16]||(te[16]=ue=>H.$emit("close-picker")),onSelectDate:te[17]||(te[17]=ue=>H.$emit("select-date")),onInvalidSelect:te[18]||(te[18]=ue=>H.$emit("invalid-select")),onSelectNow:v}),t.createSlots({_:2},[t.renderList(t.unref(W),(ue,Me)=>({name:ue,fn:t.withCtx(De=>[t.renderSlot(H.$slots,ue,t.normalizeProps(t.guardReactiveProps({...De})))])}))]),1040,["menu-mount","calendar-width"])):t.createCommentVNode("",!0)],46,zu)}}});var qa=(e=>(e.center="center",e.left="left",e.right="right",e))(qa||{});const Uu=({menuRef:e,menuRefInner:a,inputRef:n,pickerWrapperRef:r,inline:o,emit:i,props:s,slots:l})=>{const{defaultedConfig:d}=Ze(s),p=t.ref({}),u=t.ref(!1),m=t.ref({top:"0",left:"0"}),c=t.ref(!1),f=t.toRef(s,"teleportCenter");t.watch(f,()=>{m.value=JSON.parse(JSON.stringify({})),A()});const h=j=>{if(s.teleport){const U=j.getBoundingClientRect();return{left:U.left+window.scrollX,top:U.top+window.scrollY}}return{top:0,left:0}},y=(j,U)=>{m.value.left=`${j+U-p.value.width}px`},k=j=>{m.value.left=`${j}px`},x=(j,U)=>{s.position===qa.left&&k(j),s.position===qa.right&&y(j,U),s.position===qa.center&&(m.value.left=`${j+U/2-p.value.width/2}px`)},w=j=>{const{width:U,height:de}=j.getBoundingClientRect(),{top:W,left:D}=s.altPosition?s.altPosition(j):h(j);return{top:+W,left:+D,width:U,height:de}},b=()=>{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:U,left:de,transform:W}=s.altPosition(j);m.value={top:`${U}px`,left:`${de}px`,transform:W??""}},A=(j=!0)=>{var U;if(!o.value.enabled){if(f.value)return b();if(s.altPosition!==null)return B();if(j){const de=s.teleport?(U=a.value)==null?void 0:U.$el:e.value;de&&(p.value=de.getBoundingClientRect()),i("recalculate-position")}return X()}},_=({inputEl:j,left:U,width:de})=>{window.screen.width>768&&!u.value&&x(U,de),V(j)},E=j=>{const{top:U,left:de,height:W,width:D}=w(j);m.value.top=`${W+U+ +s.offset}px`,c.value=!1,u.value||(m.value.left=`${de+D/2-p.value.width/2}px`),_({inputEl:j,left:de,width:D})},C=j=>{const{top:U,left:de,width:W}=w(j);m.value.top=`${U-+s.offset-p.value.height}px`,c.value=!0,_({inputEl:j,left:de,width:W})},V=j=>{if(s.autoPosition){const{left:U,width:de}=w(j),{left:W,right:D}=p.value;if(!u.value){if(Math.abs(W)!==Math.abs(D)){if(W<=0)return u.value=!0,k(U);if(D>=document.documentElement.clientWidth)return u.value=!0,y(U,de)}return x(U,de)}}},T=()=>{const j=ct(n);if(j){const{height:U}=p.value,{top:de,height:W}=j.getBoundingClientRect(),D=window.innerHeight-de-W,ie=de;return U<=D?Ba.bottom:U>D&&U<=ie?Ba.top:D>=ie?Ba.bottom:Ba.top}return Ba.bottom},Y=j=>T()===Ba.bottom?E(j):C(j),X=()=>{const j=ct(n);if(j)return s.autoPosition?Y(j):E(j)},G=function(j){if(j){const U=j.scrollHeight>j.clientHeight,de=window.getComputedStyle(j).overflowY.indexOf("hidden")!==-1;return U&&!de}return!0},S=function(j){return!j||j===document.body||j.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:G(j)?j:S(j.assignedSlot&&d.value.shadowDom?j.assignedSlot.parentNode:j.parentNode)},I=j=>{if(j)switch(s.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:A,getScrollableParent:S,shadowRender:(j,U)=>{var de,W,D;const ie=document.createElement("div"),ne=(de=ct(n))==null?void 0:de.getBoundingClientRect();ie.setAttribute("id","dp--temp-container");const K=(W=r.value)!=null&&W.clientWidth?r.value:document.body;K.append(ie);const M=I(ne),Q=d.value.shadowDom?Object.keys(l).filter(R=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(R)):Object.keys(l),fe=t.h(j,{...U,shadow:!0,style:{opacity:0,position:"absolute",...M}},Object.fromEntries(Q.map(R=>[R,l[R]])));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"]}],Xu=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],Zu={all:()=>da,monthYear:()=>da.filter(e=>e.use.includes("month-year")),input:()=>Xu,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 Zu[a]().forEach(o=>{e[o.name]&&r.push(o.name)}),n!=null&&n.length&&n.forEach(o=>{o.slot&&r.push(o.slot)}),r},pn=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}},gn=(e,a,n)=>{const{defaultedRange:r,defaultedTz:o}=Ze(e),i=pe(At(pe(),o.value.timezone)),s=t.ref([{month:Oe(i),year:Ve(i)}]),l=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:l("hours"),minutes:l("minutes"),seconds:l("seconds")});t.watch(r,(c,f)=>{c.enabled!==f.enabled&&(d.hours=l("hours"),d.minutes=l("minutes"),d.seconds=l("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=>s.value[c]?s.value[c].month:0),m=t.computed(()=>c=>s.value[c]?s.value[c].year:0);return t.watch(p,(c,f)=>{n&&JSON.stringify(c??{})!==JSON.stringify(f??{})&&n()},{deep:!0}),{calendars:s,time:d,modelValue:p,month:u,year:m,today:i}},Qu=(e,a)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedUI:o,defaultedHighlight:i,defaultedTz:s,propDates:l,defaultedRange:d}=Ze(a),{isDisabled:p}=ua(a),u=t.ref(null),m=t.ref(At(new Date,s.value.timezone)),c=M=>{!M.current&&a.hideOffsetDates||(u.value=M.value)},f=()=>{u.value=null},h=M=>Array.isArray(e.value)&&d.value.enabled&&e.value[0]&&u.value?M?it(u.value,e.value[0]):tt(u.value,e.value[0]):!0,y=(M,Q)=>{const fe=()=>e.value?Q?e.value[0]||null:e.value[1]:null,R=e.value&&Array.isArray(e.value)?fe():null;return Fe(pe(M.value),R)},k=M=>{const Q=Array.isArray(e.value)?e.value[0]:null;return M?!tt(u.value??null,Q):!0},x=(M,Q=!0)=>(d.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!M.current?!1:Fe(pe(M.value),e.value[Q?0:1]):d.value.enabled?y(M,Q)&&k(Q)||Fe(M.value,Array.isArray(e.value)?e.value[0]:null)&&h(Q):!1,w=(M,Q)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const fe=Fe(M.value,u.value);return Q?it(e.value[0],M.value)&&fe:tt(e.value[0],M.value)&&fe}return!1},b=M=>!e.value||a.hideOffsetDates&&!M.current?!1:d.value.enabled?a.modelAuto&&Array.isArray(e.value)?Fe(M.value,e.value[0]?e.value[0]:m.value):!1:r.value.enabled&&Array.isArray(e.value)?e.value.some(Q=>Fe(Q,M.value)):Fe(M.value,e.value?e.value:m.value),B=M=>{if(d.value.autoRange||a.weekPicker){if(u.value){if(a.hideOffsetDates&&!M.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(M.value)):Fe(Q,pe(M.value))}return!1}return!1},A=M=>{if(d.value.autoRange||a.weekPicker){if(u.value){const Q=Ot(u.value,+d.value.autoRange);if(a.hideOffsetDates&&!M.current)return!1;const fe=Qt(pe(u.value),a.weekStart);return a.weekPicker?it(M.value,fe[0])&&tt(M.value,fe[1]):it(M.value,u.value)&&tt(M.value,Q)}return!1}return!1},_=M=>{if(d.value.autoRange||a.weekPicker){if(u.value){if(a.hideOffsetDates&&!M.current)return!1;const Q=Qt(pe(u.value),a.weekStart);return a.weekPicker?Fe(Q[0],M.value):Fe(u.value,M.value)}return!1}return!1},E=M=>Gn(e.value,u.value,M.value),C=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,V=()=>a.modelAuto?xs(a.internalModelValue):!0,T=M=>{if(a.weekPicker)return!1;const Q=d.value.enabled?!x(M)&&!x(M,!1):!0;return!p(M.value)&&!b(M)&&!(!M.current&&a.hideOffsetDates)&&Q},Y=M=>d.value.enabled?a.modelAuto?C()&&b(M):!1:b(M),X=M=>i.value?v3(M.value,l.value.highlight):!1,G=M=>{const Q=p(M.value);return Q&&(typeof i.value=="function"?!i.value(M.value,Q):!i.value.options.highlightDisabled)},S=M=>{var Q;return typeof i.value=="function"?i.value(M.value):(Q=i.value.weekdays)==null?void 0:Q.includes(M.value.getDay())},I=M=>(d.value.enabled||a.weekPicker)&&(!(n.value.count>0)||M.current)&&V()&&!(!M.current&&a.hideOffsetDates)&&!b(M)?E(M):!1,j=M=>{const{isRangeStart:Q,isRangeEnd:fe}=D(M),R=d.value.enabled?Q||fe:!1;return{dp__cell_offset:!M.current,dp__pointer:!a.disabled&&!(!M.current&&a.hideOffsetDates)&&!p(M.value),dp__cell_disabled:p(M.value),dp__cell_highlight:!G(M)&&(X(M)||S(M))&&!Y(M)&&!R&&!_(M)&&!(I(M)&&a.weekPicker)&&!fe,dp__cell_highlight_active:!G(M)&&(X(M)||S(M))&&Y(M),dp__today:!a.noToday&&Fe(M.value,m.value)&&M.current,"dp--past":tt(M.value,m.value),"dp--future":it(M.value,m.value)}},U=M=>({dp__active_date:Y(M),dp__date_hover:T(M)}),de=M=>{if(e.value&&!Array.isArray(e.value)){const Q=Qt(e.value,a.weekStart);return{...ne(M),dp__range_start:Fe(Q[0],M.value),dp__range_end:Fe(Q[1],M.value),dp__range_between_week:it(M.value,Q[0])&&tt(M.value,Q[1])}}return{...ne(M)}},W=M=>{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(M),dp__range_start:Fe(Q[0],M.value)||Fe(fe[0],M.value),dp__range_end:Fe(Q[1],M.value)||Fe(fe[1],M.value),dp__range_between_week:it(M.value,Q[0])&&tt(M.value,Q[1])||it(M.value,fe[0])&&tt(M.value,fe[1]),dp__range_between:it(M.value,Q[1])&&tt(M.value,fe[0])}}return{...ne(M)}},D=M=>{const Q=n.value.count>0?M.current&&x(M)&&V():x(M)&&V(),fe=n.value.count>0?M.current&&x(M,!1)&&V():x(M,!1)&&V();return{isRangeStart:Q,isRangeEnd:fe}},ie=M=>{const{isRangeStart:Q,isRangeEnd:fe}=D(M);return{dp__range_start:Q,dp__range_end:fe,dp__range_between:I(M),dp__date_hover:Fe(M.value,u.value)&&!Q&&!fe&&!a.weekPicker,dp__date_hover_start:w(M,!0),dp__date_hover_end:w(M,!1)}},ne=M=>({...ie(M),dp__cell_auto_range:A(M),dp__cell_auto_range_start:_(M),dp__cell_auto_range_end:B(M)}),K=M=>d.value.enabled?d.value.autoRange?ne(M):a.modelAuto?{...U(M),...ie(M)}:a.weekPicker?W(M):ie(M):a.weekPicker?de(M):U(M);return{setHoverDate:c,clearHoverDate:f,getDayClassData:M=>a.hideOffsetDates&&!M.current?{}:{...j(M),...K(M),[a.dayClass?a.dayClass(M.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)):!!In(S,r.value.disabledDates):!1,s=S=>r.value.maxDate?e.yearPicker?Ve(S)>Ve(r.value.maxDate):it(S,r.value.maxDate):!1,l=S=>r.value.minDate?e.yearPicker?Ve(S)<Ve(r.value.minDate):tt(S,r.value.minDate):!1,d=S=>{const I=s(S),j=l(S),U=i(S),de=a.value.months.map(K=>+K).includes(Oe(S)),W=e.disabledWeekDays.length?e.disabledWeekDays.some(K=>+K===dd(S)):!1,D=f(S),ie=Ve(S),ne=ie<+e.yearRange[0]||ie>+e.yearRange[1];return!(I||j||U||de||ne||W||D)},p=(S,I)=>tt(...la(r.value.minDate,S,I))||Fe(...la(r.value.minDate,S,I)),u=(S,I)=>it(...la(r.value.maxDate,S,I))||Fe(...la(r.value.maxDate,S,I)),m=(S,I,j)=>{let U=!1;return r.value.maxDate&&j&&u(S,I)&&(U=!0),r.value.minDate&&!j&&p(S,I)&&(U=!0),U},c=(S,I,j,U)=>{let de=!1;return U&&(r.value.minDate||r.value.maxDate)?r.value.minDate&&r.value.maxDate?de=m(S,I,j):(r.value.minDate&&p(S,I)||r.value.maxDate&&u(S,I))&&(de=!0):de=!0,de},f=S=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!In(S,r.value.allowedDates):!1,h=S=>!d(S),y=S=>n.value.noDisabledRange?!Zi({start:S[0],end:S[1]}).some(I=>h(I)):!0,k=S=>{if(S){const I=Ve(S);return I>=+e.yearRange[0]&&I<=e.yearRange[1]}return!0},x=(S,I)=>!!(Array.isArray(S)&&S[I]&&(n.value.maxRange||n.value.minRange)&&k(S[I])),w=(S,I,j=0)=>{if(x(I,j)&&k(S)){const U=Wi(S,I[j]),de=Vs(I[j],S),W=de.length===1?0:de.filter(ie=>h(ie)).length,D=Math.abs(U)-(n.value.minMaxRawRange?0:W);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},b=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,B=S=>Array.isArray(S)?[S[0]?ro(S[0]):null,S[1]?ro(S[1]):null]:ro(S),A=(S,I,j)=>S.find(U=>+U.hours===Zt(I)&&U.minutes==="*"?!0:+U.minutes===oa(I)&&+U.hours===Zt(I))&&j,_=(S,I,j)=>{const[U,de]=S,[W,D]=I;return!A(U,W,j)&&!A(de,D,j)&&j},E=(S,I)=>{const j=Array.isArray(I)?I:[I];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?_(e.disabledTimes,j,S):!j.some(U=>A(e.disabledTimes,U,S)):S},C=(S,I)=>{const j=Array.isArray(I)?[Va(I[0]),I[1]?Va(I[1]):void 0]:Va(I),U=!e.disabledTimes(j);return S&&U},V=(S,I)=>e.disabledTimes?Array.isArray(e.disabledTimes)?E(I,S):C(I,S):I,T=S=>{let I=!0;if(!S||b())return!0;const j=!r.value.minDate&&!r.value.maxDate?B(S):S;return(e.maxTime||r.value.maxDate)&&(I=Ts(e.maxTime,r.value.maxDate,"max",mt(j),I)),(e.minTime||r.value.minDate)&&(I=Ts(e.minTime,r.value.minDate,"min",mt(j),I)),V(S,I)},Y=S=>{if(!e.monthPicker)return!0;let I=!0;const j=pe(Ht(S));if(r.value.minDate&&r.value.maxDate){const U=pe(Ht(r.value.minDate)),de=pe(Ht(r.value.maxDate));return it(j,U)&&tt(j,de)||Fe(j,U)||Fe(j,de)}if(r.value.minDate){const U=pe(Ht(r.value.minDate));I=it(j,U)||Fe(j,U)}if(r.value.maxDate){const U=pe(Ht(r.value.maxDate));I=tt(j,U)||Fe(j,U)}return I},X=t.computed(()=>S=>!e.enableTimePicker||e.ignoreTimeValidation?!0:T(S)),G=t.computed(()=>S=>e.monthPicker?Array.isArray(S)&&(n.value.enabled||o.value.enabled)?!S.filter(I=>!Y(I)).length:Y(S):!0);return{isDisabled:h,validateDate:d,validateMonthYearInRange:c,isDateRangeAllowed:y,checkMinMaxRange:w,isValidTime:T,isTimeValid:X,isMonthValid:G}},Xn=()=>{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}},Ku=(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),s=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()}},l=()=>{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:s,updateFlowStep:l,resetFlow:d,handleFlow:u,flowStep:r}},Ju={key:1,class:"dp__input_wrap"},e4=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],t4={key:2,class:"dp--clear-btn"},a4=["aria-label"],n4=t.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Wn},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:s,defaultedInline:l,defaultedConfig:d,defaultedRange:p,defaultedMultiDates:u,defaultedUI:m,getDefaultPattern:c,getDefaultStartTime:f}=Ze(o),{checkMinMaxRange:h}=ua(o),y=t.ref(),k=t.ref(null),x=t.ref(!1),w=t.ref(!1),b=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)},A=D=>{const ie=f();return E3(D,i.value.format??c(),ie??Ds({},o.enableSeconds),o.inputValue,w.value,o.formatLocale)},_=D=>{const{rangeSeparator:ie}=i.value,[ne,K]=D.split(`${ie}`);if(ne){const M=A(ne.trim()),Q=K?A(K.trim()):null;if($a(M,Q))return;const fe=M&&Q?[M,Q]:[M];h(Q,fe,0)&&(y.value=M?fe:null)}},E=()=>{w.value=!0},C=D=>{if(p.value.enabled)_(D);else if(u.value.enabled){const ie=D.split(";");y.value=ie.map(ne=>A(ne.trim())).filter(ne=>ne)}else y.value=A(D)},V=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"),C(ne),r("set-input-date",y.value)):B(),w.value=!1,r("update:input-value",ne),r("text-input",D,y.value)},T=D=>{i.value.enabled?(C(D.target.value),i.value.enterSubmit&&to(y.value)&&o.inputValue!==""?(r("set-input-date",y.value,!0),y.value=null):i.value.enterSubmit&&o.inputValue===""&&(y.value=null,r("clear"))):G(D)},Y=(D,ie)=>{i.value.enabled&&i.value.tabSubmit&&!ie&&C(D.target.value),i.value.tabSubmit&&to(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=k.value)==null||D.select())})},G=D=>{if(ia(D,d.value,!0),i.value.enabled&&i.value.openMenu&&!l.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||l.value.enabled&&l.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")},j=D=>{if(D.key==="Tab"&&Y(D),D.key==="Enter"&&T(D),!i.value.enabled){if(D.code==="Tab")return;D.preventDefault()}},U=()=>{var D;(D=k.value)==null||D.focus({preventScroll:!0})},de=D=>{y.value=D},W=D=>{D.key===Ue.tab&&Y(D,!0)};return a({focusInput:U,setParsedDate:de}),(D,ie)=>{var ne,K,M;return t.openBlock(),t.createElementBlock("div",{onClick:G},[D.$slots.trigger&&!D.$slots["dp-input"]&&!t.unref(l).enabled?t.renderSlot(D.$slots,"trigger",{key:0}):t.createCommentVNode("",!0),!D.$slots.trigger&&(!t.unref(l).enabled||t.unref(l).input)?(t.openBlock(),t.createElementBlock("div",Ju,[D.$slots["dp-input"]&&!D.$slots.trigger&&(!t.unref(l).enabled||t.unref(l).enabled&&t.unref(l).input)?t.renderSlot(D.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:V,onEnter:T,onTab:Y,onClear:I,onBlur:S,onKeypress:j,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:k,"data-test":"dp-input",name:D.name,class:t.normalizeClass(b.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(s))==null?void 0:ne.input,"aria-disabled":D.disabled||void 0,"aria-invalid":D.state===!1?!0:void 0,onInput:V,onBlur:S,onFocus:X,onKeypress:j,onKeydown:ie[0]||(ie[0]=Q=>j(Q)),onPaste:E},null,42,e4)),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(s))==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",t4,[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":(M=t.unref(s))==null?void 0:M.clearInput,class:"dp--clear-btn",type:"button",onKeydown:ie[4]||(ie[4]=Q=>t.unref(wt)(Q,()=>I(Q),!0,W)),onClick:ie[5]||(ie[5]=t.withModifiers(Q=>I(Q),["prevent"]))},[t.createVNode(t.unref(ys),{class:"dp__input_icons","data-test":"clear-icon"})],40,a4)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])}}}),r4=typeof window<"u"?window:void 0,ho=()=>{},o4=e=>t.getCurrentScope()?(t.onScopeDispose(e),!0):!1,i4=(e,a,n,r)=>{if(!e)return ho;let o=ho;const i=t.watch(()=>t.unref(e),l=>{o(),l&&(l.addEventListener(a,n,r),o=()=>{l.removeEventListener(a,n,r),o=ho})},{immediate:!0,flush:"post"}),s=()=>{i(),o()};return o4(s),s},s4=(e,a,n,r={})=>{const{window:o=r4,event:i="pointerdown"}=r;return o?i4(o,i,s=>{const l=ct(e),d=ct(a);!l||!d||l===s.target||s.composedPath().includes(l)||s.composedPath().includes(d)||n(s)},{passive:!0}):void 0},l4=t.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Wn},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(),s=t.ref(!1),l=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),k=t.ref(!1),x=t.ref(!1),{setMenuFocused:w,setShiftKey:b}=Fs(),{clearArrowNav:B}=ca(),{validateDate:A,isValidTime:_}=ua(o),{defaultedTransitions:E,defaultedTextInput:C,defaultedInline:V,defaultedConfig:T,defaultedRange:Y,defaultedMultiDates:X}=Ze(o),{menuTransition:G,showTransition:S}=pn(E);t.onMounted(()=>{Q(o.modelValue),t.nextTick().then(()=>{if(!V.value.enabled){const P=ie(f.value);P==null||P.addEventListener("scroll",L),window==null||window.addEventListener("resize",F)}}),V.value.enabled&&(s.value=!0),window==null||window.addEventListener("keyup",J),window==null||window.addEventListener("keydown",H)}),t.onUnmounted(()=>{if(!V.value.enabled){const P=ie(f.value);P==null||P.removeEventListener("scroll",L),window==null||window.removeEventListener("resize",F)}window==null||window.removeEventListener("keyup",J),window==null||window.removeEventListener("keydown",H)});const I=Vt(i,"all",o.presetDates),j=Vt(i,"input");t.watch([l,d],()=>{Q(l.value)},{deep:!0});const{openOnTop:U,menuStyle:de,xCorrect:W,setMenuPosition:D,getScrollableParent:ie,shadowRender:ne}=Uu({menuRef:p,menuRefInner:u,inputRef:m,pickerWrapperRef:f,inline:V,emit:r,props:o,slots:i}),{inputValue:K,internalModelValue:M,parseExternalModelValue:Q,emitModelValue:fe,formatInputValue:R,checkBeforeEmit:ye}=Y3(r,o,c),Z=t.computed(()=>({dp__main:!0,dp__theme_dark:o.dark,dp__theme_light:!o.dark,dp__flex_display:V.value.enabled,"dp--flex-display-collapsed":k.value,dp__flex_display_with_input:V.value.input})),me=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||V.value.enabled}:{}),v=t.computed(()=>({class:"dp__outer_menu_wrap"})),g=t.computed(()=>V.value.enabled&&(o.timePicker||o.monthPicker||o.yearPicker||o.quarterPicker)),N=()=>{var P,ee;return(ee=(P=m.value)==null?void 0:P.$el)==null?void 0:ee.getBoundingClientRect()},L=()=>{s.value&&(T.value.closeOnScroll?Se():D())},F=()=>{var P;s.value&&D();const ee=(P=u.value)==null?void 0:P.$el.getBoundingClientRect().width;k.value=document.body.offsetWidth<=ee},J=P=>{P.key==="Tab"&&!V.value.enabled&&!o.teleport&&T.value.tabOutClosesMenu&&(f.value.contains(document.activeElement)||Se()),y.value=P.shiftKey},H=P=>{y.value=P.shiftKey},te=()=>{!o.disabled&&!o.readonly&&(ne(Ws,o),D(!1),s.value=!0,s.value&&r("open"),s.value||_e(),Q(o.modelValue))},ce=()=>{var P;K.value="",_e(),(P=m.value)==null||P.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),T.value.closeOnClearValue&&Se()},ge=()=>{const P=M.value;return!P||!Array.isArray(P)&&A(P)?!0:Array.isArray(P)?X.value.enabled||P.length===2&&A(P[0])&&A(P[1])?!0:Y.value.partialRange&&!o.timePicker?A(P[0]):!1:!1},be=()=>{ye()&&ge()?(fe(),Se()):r("invalid-select",M.value)},ue=P=>{Me(),fe(),T.value.closeOnAutoApply&&!P&&Se()},Me=()=>{m.value&&C.value.enabled&&m.value.setParsedDate(M.value)},De=(P=!1)=>{o.autoApply&&_(M.value)&&ge()&&(Y.value.enabled&&Array.isArray(M.value)?(Y.value.partialRange||M.value.length===2)&&ue(P):ue(P))},_e=()=>{C.value.enabled||(M.value=null)},Se=()=>{V.value.enabled||(s.value&&(s.value=!1,W.value=!1,w(!1),b(!1),B(),r("closed"),K.value&&Q(l.value)),_e(),r("blur"))},Le=(P,ee,se=!1)=>{if(!P){M.value=null;return}const xe=Array.isArray(P)?!P.some(Ne=>!A(Ne)):A(P),Ae=_(P);xe&&Ae?(x.value=!0,M.value=P,ee&&(h.value=se,be(),r("text-submit")),t.nextTick().then(()=>{x.value=!1})):r("invalid-date",P)},Be=()=>{o.autoApply&&_(M.value)&&fe(),Me()},q=()=>s.value?Se():te(),ae=P=>{M.value=P},re=()=>{C.value.enabled&&(c.value=!0,R()),r("focus")},le=()=>{if(C.value.enabled&&(c.value=!1,Q(o.modelValue),h.value)){const P=w3(f.value,y.value);P==null||P.focus()}r("blur")},Ee=P=>{u.value&&u.value.updateMonthYear(0,{month:ws(P.month),year:ws(P.year)})},he=P=>{Q(P??o.modelValue)},ke=(P,ee)=>{var se;(se=u.value)==null||se.switchView(P,ee)},z=P=>T.value.onClickOutside?T.value.onClickOutside(P):Se(),O=(P=0)=>{var ee;(ee=u.value)==null||ee.handleFlow(P)};return s4(p,m,()=>z(ge)),a({closeMenu:Se,selectDate:be,clearValue:ce,openMenu:te,onScroll:L,formatInputValue:R,updateInternalModelValue:ae,setMonthYear:Ee,parseModel:he,switchView:ke,toggleMenu:q,handleFlow:O,dpWrapMenuRef:p}),(P,ee)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:f,class:t.normalizeClass(Z.value),"data-datepicker-instance":""},[t.createVNode(n4,t.mergeProps({ref_key:"inputRef",ref:m,"input-value":t.unref(K),"onUpdate:inputValue":ee[0]||(ee[0]=se=>t.isRef(K)?K.value=se:null),"is-menu-open":s.value},P.$props,{onClear:ce,onOpen:te,onSetInputDate:Le,onSetEmptyDate:t.unref(fe),onSelectDate:be,onToggle:q,onClose:Se,onFocus:re,onBlur:le,onRealBlur:ee[1]||(ee[1]=se=>c.value=!1),onTextInput:ee[2]||(ee[2]=se=>P.$emit("text-input",se))}),t.createSlots({_:2},[t.renderList(t.unref(j),(se,xe)=>({name:se,fn:t.withCtx(Ae=>[t.renderSlot(P.$slots,se,t.normalizeProps(t.guardReactiveProps(Ae)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(P.teleport?t.Teleport:"div"),t.normalizeProps(t.guardReactiveProps($.value)),{default:t.withCtx(()=>[t.createVNode(t.Transition,{name:t.unref(G)(t.unref(U)),css:t.unref(S)&&!t.unref(V).enabled},{default:t.withCtx(()=>[s.value?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:p},v.value,{class:{"dp--menu-wrapper":!t.unref(V).enabled},style:t.unref(V).enabled?void 0:t.unref(de)}),[t.createVNode(Ws,t.mergeProps({ref_key:"dpMenuRef",ref:u},P.$props,{"internal-model-value":t.unref(M),"onUpdate:internalModelValue":ee[3]||(ee[3]=se=>t.isRef(M)?M.value=se:null),class:{[me.value]:!0,"dp--menu-wrapper":P.teleport},"open-on-top":t.unref(U),"no-overlay-focus":g.value,collapse:k.value,"get-input-rect":N,"is-text-input-date":x.value,onClosePicker:Se,onSelectDate:be,onAutoApply:De,onTimeUpdate:Be,onFlowStep:ee[4]||(ee[4]=se=>P.$emit("flow-step",se)),onUpdateMonthYear:ee[5]||(ee[5]=se=>P.$emit("update-month-year",se)),onInvalidSelect:ee[6]||(ee[6]=se=>P.$emit("invalid-select",t.unref(M))),onAutoApplyInvalid:ee[7]||(ee[7]=se=>P.$emit("invalid-select",se)),onInvalidFixedRange:ee[8]||(ee[8]=se=>P.$emit("invalid-fixed-range",se)),onRecalculatePosition:t.unref(D),onTooltipOpen:ee[9]||(ee[9]=se=>P.$emit("tooltip-open",se)),onTooltipClose:ee[10]||(ee[10]=se=>P.$emit("tooltip-close",se)),onTimePickerOpen:ee[11]||(ee[11]=se=>P.$emit("time-picker-open",se)),onTimePickerClose:ee[12]||(ee[12]=se=>P.$emit("time-picker-close",se)),onAmPmChange:ee[13]||(ee[13]=se=>P.$emit("am-pm-change",se)),onRangeStart:ee[14]||(ee[14]=se=>P.$emit("range-start",se)),onRangeEnd:ee[15]||(ee[15]=se=>P.$emit("range-end",se)),onDateUpdate:ee[16]||(ee[16]=se=>P.$emit("date-update",se)),onInvalidDate:ee[17]||(ee[17]=se=>P.$emit("invalid-date",se)),onOverlayToggle:ee[18]||(ee[18]=se=>P.$emit("overlay-toggle",se))}),t.createSlots({_:2},[t.renderList(t.unref(I),(se,xe)=>({name:se,fn:t.withCtx(Ae=>[t.renderSlot(P.$slots,se,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))}}),yn=(()=>{const e=l4;return e.install=a=>{a.component("Vue3DatePicker",e)},e})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:yn},Symbol.toStringTag,{value:"Module"}))).forEach(([e,a])=>{e!=="default"&&(yn[e]=a)});const c4={name:"ModalComponent",props:{modelValue:{type:Boolean,required:!0}},methods:{closeModal(){this.$emit("update:modelValue",!1)}}},d4={key:0,class:"modal-head text-white"},u4={class:"modal_responsive"},m4={class:"flex min-h-full items-center justify-center text-center"},f4={class:"modal-size w-full"},h4={class:"modal-background bg-base-200"},p4={class:"modal-title"},g4={class:"modal-body bg-base-300"},y4={class:"modal-footer"};function k4(e,a,n,r,o,i){return n.modelValue?(t.openBlock(),t.createElementBlock("div",d4,[a[2]||(a[2]=t.createElementVNode("div",{class:"modal-overlay"},null,-1)),t.createElementVNode("div",u4,[t.createElementVNode("div",m4,[t.createElementVNode("div",f4,[t.createElementVNode("div",h4,[t.createElementVNode("header",p4,[t.renderSlot(e.$slots,"title",{},void 0,!0),t.createElementVNode("button",{class:"close-button",onClick:a[0]||(a[0]=(...s)=>i.closeModal&&i.closeModal(...s))},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",g4,[t.renderSlot(e.$slots,"body",{},void 0,!0)]),t.createElementVNode("footer",y4,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])])])])])])):t.createCommentVNode("",!0)}const Ys=qe(c4,[["render",k4],["__scopeId","data-v-e2c896dc"]]),b4={class:"container"},x4={class:"form-group"},w4={class:"form-group"},v4={class:"form-group"},E4=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",b4,[t.createElementVNode("div",x4,[o[4]||(o[4]=t.createElementVNode("label",{for:"contentInput"},"Horário",-1)),t.createVNode(t.unref(yn),{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",w4,[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",v4,[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 C4(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 Us=C4();let Xs=0;const S4=()=>{const e=Xs;return Xs+=1,e},Zn=(e,a)=>{const n={...e,id:S4(),group:e.group||""};return Us.emit("notify",{notification:n,timeout:a}),()=>Us.emit("close",n.id)},M4={class:"container"},B4={class:"form-group"},A4={class:"form-group"},V4={key:0,class:"custom-fields-container border border-base-100"},D4={class:"custom-fields-header bg-base-300"},_4={class:"custom-fields-list"},N4=["onClick"],T4={key:1,class:"file-container bg-base-100"},P4={class:"file-actions"},O4={class:"button-container"},F4=["disabled"],L4={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]"},$4=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"),s=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?(s.value=n.event.params,i.value="patch"):s.value.schedule.time=u(n.date,s.value.schedule.time)});const l=t.ref(null);function d(c){s.value.message[0].content+=` {${c.name}} `,t.nextTick(()=>{l.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"),k=String(c.getHours()).padStart(2,"0"),x=String(c.getMinutes()).padStart(2,"0");return`${f}-${h}-${y} ${k}:${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(s.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/${s.value.event_id?`${s.value.event_id}/`:""}`,{...c},{headers:{Authorization:`Bearer ${n.token}`}});Zn({group:"success",title:"Sucesso",text:f.data.message},2e3),o("close",!1)}catch(c){Zn({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",M4,[t.createTextVNode(t.toDisplayString(s.value.schedule.time)+" ",1),t.createElementVNode("div",B4,[f[4]||(f[4]=t.createElementVNode("label",{for:"contentInput"},"Horário",-1)),t.createVNode(t.unref(yn),{"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:s.value.schedule.time,"onUpdate:modelValue":f[0]||(f[0]=y=>s.value.schedule.time=y)},{"clear-icon":t.withCtx(({clear:y})=>f[3]||(f[3]=[])),_:1},8,["min-date","dark","modelValue"])]),t.createElementVNode("div",A4,[f[5]||(f[5]=t.createElementVNode("label",{for:"contentInput"},"Conteúdo",-1)),t.withDirectives(t.createElementVNode("textarea",{id:"sheduleMessageArea",ref_key:"textareaRef",ref:l,autofocus:"","onUpdate:modelValue":f[1]||(f[1]=y=>s.value.message[0].content=y),placeholder:"Olá cliente, tudo bem?",class:"input bg-base-200"},null,512),[[t.vModelText,s.value.message[0].content]])]),e.currentChat.contact&&e.currentChat.contact.segmentation_fields.length>0?(t.openBlock(),t.createElementBlock("div",V4,[t.createElementVNode("div",D4,[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",_4,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.globalStore.messageStore.currentChat.contact.segmentation_fields,y=>(t.openBlock(),t.createElementBlock("div",{onClick:k=>d(y),key:y,class:"custom-field bg-primary"},t.toDisplayString(y.name),9,N4))),128))])])):t.createCommentVNode("",!0),s.value.file?(t.openBlock(),t.createElementBlock("div",T4,[t.createElementVNode("p",null,t.toDisplayString(s.value.fileName),1),t.createElementVNode("div",P4,[t.createElementVNode("button",{onClick:f[2]||(f[2]=y=>s.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",O4,[t.createElementVNode("button",{disabled:r.value,onClick:m,class:"save-button text-white"},[r.value?(t.openBlock(),t.createElementBlock("div",L4)):t.createCommentVNode("",!0),f[10]||(f[10]=t.createTextVNode(" Salvar "))],8,F4)])])}}},[["__scopeId","data-v-1d2f0f94"]]),H4={key:0},R4={key:1},z4={class:"main-container"},I4={key:0,class:"select-container"},G4=["value"],j4=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 s=a;function l(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||s("close")});function p(u){o.value=u}return(u,m)=>(t.openBlock(),t.createBlock(Ys,{modelValue:d.value,"onUpdate:modelValue":m[3]||(m[3]=c=>d.value=c)},{title:t.withCtx(()=>[e.currentEvent===null?(t.openBlock(),t.createElementBlock("div",H4," Novo evento "+t.toDisplayString(l(e.date)),1)):(t.openBlock(),t.createElementBlock("div",R4,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",z4,[e.currentEvent===null?(t.openBlock(),t.createElementBlock("div",I4,[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,G4)),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(E4,{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($4,{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"]]),q4={class:"calendar-container text-white"},W4={class:"calendar-header bg-base-300"},Y4={class:"calendar"},U4={class:"date-container"},X4={class:"date"},Z4=["disabled","onClick"],Q4=["onClick"],K4={class:"event-main"},J4={class:"event-title"},e5={class:"text-center w-full"},t5={class:"flex flex-col gap- text-sm items-center align-middle overflow-y-scroll w-full",style:{height:"50vh"}},a5={class:"w-[40%]"},n5={class:"p- w-1/4"},r5={class:"p- w-1/4"},o5={class:"p- w-1/4"},i5=["onClick"],Zs=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(C){r.value=C,n.value={date:C.date,modal:!0},a.value.seeEvents=!1}function i(C){n.value.modal=C,r.value=null}function s(C){a.value.events=C.events,a.value.seeEvents=!0;const V={day:"numeric",month:"long",year:"numeric"};a.value.date=C.date.toLocaleDateString("pt-BR",V)}const l=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=C=>{C&&typeof C.year=="number"&&typeof C.month=="number"?(p.value=C.month,u.value=C.year,A()):console.error("Data inválida selecionada:",C)},h=new Array(7).fill(null).map((C,V)=>{const T=new Date(2021,0,V+3);return new Intl.DateTimeFormat("pt-BR",{weekday:"short"}).format(T)}),y=C=>{if(C instanceof Date){const V={month:"long",year:"numeric"};return new Intl.DateTimeFormat("pt-BR",V).format(C)}else return console.error("Data inválida fornecida ao formatador:",C),""},k=C=>{const V={scheduled_messages:"Mensagens Programadas",another_function:"Outro Título",default:"Evento Desconhecido"};return V[C]||V.default},x=async(C="http://localhost:8000/v1/api/crm/event/")=>{try{const T=(await Qe.get(C,{headers:{Authorization:`Bearer ${l.token}`}})).data,Y=T.results.map(X=>({...X,title:k(X.function),date:X.params.schedule.time.split(" ")[0],hours:X.params.schedule.time.split(" ")[1],color:"#cce5ff",tag:"blue"}));c.value.push(...Y),T.next&&await x(T.next)}catch(V){console.error("Erro ao buscar eventos:",V)}},w=C=>c.value.filter(V=>{const T=new Date(V.date+"T00:00:00"),Y=new Date(C.getFullYear(),C.getMonth(),C.getDate());return T.getTime()===Y.getTime()}),b=(C,V)=>{const T=[],Y=new Date(C,V,1),X=new Date(C,V+1,0),G=Y.getDay(),I=new Date(C,V,0).getDate();for(let U=G-1;U>=0;U--){const de=new Date(C,V-1,I-U);T.push({date:de,events:w(de),isPrevMonth:!0})}for(let U=Y;U<=X;U.setDate(U.getDate()+1))T.push({date:new Date(U),events:w(new Date(U)),isPrevMonth:!1,isNextMonth:!1});const j=42-T.length;for(let U=1;U<=j;U++){const de=new Date(C,V+1,U);T.push({date:de,events:w(de),isNextMonth:!0})}return T},B=t.ref([]),A=()=>{B.value=b(u.value,p.value)};t.onMounted(async()=>{await x(),A()});const _=()=>{p.value===0?(p.value=11,u.value--):p.value--,m.value={year:u.value,month:p.value},A()},E=()=>{p.value===11?(p.value=0,u.value++):p.value++,m.value={year:u.value,month:p.value},A()};return(C,V)=>{const T=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",q4,[t.createElementVNode("div",W4,[t.renderSlot(C.$slots,"backButton",{},void 0,!0),t.createElementVNode("button",{onClick:_,class:"calendar-button"},V[2]||(V[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(yn),{dark:e.theme,"cancel-text":"Cancelar","select-text":"Selecionar",locale:"pt-BR",modelValue:m.value,"onUpdate:modelValue":[V[0]||(V[0]=Y=>m.value=Y),f],format:y,"only-month-picker":!0,"month-picker":!0},{"clear-icon":t.withCtx(({clear:Y})=>V[3]||(V[3]=[])),_:1},8,["dark","modelValue"])]),t.createElementVNode("button",{onClick:E,class:"calendar-button"},V[4]||(V[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",Y4,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(h),(Y,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(Y),1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(B.value,(Y,X)=>(t.openBlock(),t.createElementBlock("div",{key:X,class:t.normalizeClass([{"empty-day":!Y.date,"prev-month-day":Y.isPrevMonth,"next-month-day":Y.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",U4,[t.createElementVNode("div",X4,t.toDisplayString(Y.date.getDate()),1),t.createElementVNode("button",{disabled:Y.date<new Date(new Date().setHours(0,0,0,0)),onClick:G=>(n.value.modal=!0,n.value.date=Y.date),class:"add-event-button hidden group-hover:inline-block"},V[5]||(V[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,Z4)]),Y.events.length>0?(t.openBlock(),t.createElementBlock("footer",{key:0,onClick:G=>s(Y),class:"events-container cursor-pointer"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Y.events,G=>(t.openBlock(),t.createElementBlock("div",{key:G.title,class:"event"},[t.createElementVNode("main",K4,[t.createVNode(T,{placement:"top",class:"dark:popper-light popper-dark",hover:!0,content:G.hours},{default:t.withCtx(()=>V[6]||(V[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",J4,t.toDisplayString(G.title),1)])]))),128))],8,Q4)):t.createCommentVNode("",!0)],2))),128))])]),t.createVNode(Ys,{modelValue:a.value.seeEvents,"onUpdate:modelValue":V[1]||(V[1]=Y=>a.value.seeEvents=Y)},{title:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.value.date),1)]),body:t.withCtx(()=>[t.createElementVNode("table",e5,[V[8]||(V[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",t5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value.events,Y=>(t.openBlock(),t.createElementBlock("tr",{key:Y.title,class:"flex mt-1 hover:bg-base-200 align-middle items-center rounded-xl py-2 w-full"},[t.createElementVNode("td",a5,t.toDisplayString(Y.title),1),t.createElementVNode("td",n5,t.toDisplayString(Y.hours),1),t.createElementVNode("td",r5,t.toDisplayString(Y.date),1),t.createElementVNode("td",o5,[t.createElementVNode("button",{onClick:X=>o(Y),class:"bg-green-500 hover:bg-green-400 rounded-md p-1"},V[7]||(V[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,i5)])]))),128))])])]),_:1},8,["modelValue"]),n.value.modal?(t.openBlock(),t.createBlock(j4,{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"]]),s5={class:"flex flex-col text-center"},l5={class:"flex flex-col space-y-3 justify-center"},c5={class:"space-x-4 flex-col text-black justify-center"},d5=["onUpdate:modelValue","onInput","onKeydown"],Qs={__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)?s(p):r.value[p]="",p===r.value.length-1&&r.value.every(m=>m!=="")&&d()},s=p=>{p<r.value.length-1&&r.value[p]&&o.value[p+1].focus()},l=(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",s5,[t.createElementVNode("div",l5,[t.createElementVNode("div",c5,[(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=>l(c,f),["backspace"]),ref_for:!0,ref_key:"inputs",ref:o},null,42,d5)),[[t.vModelText,r.value[c]]])),128))])])]))}},u5={class:"text-center flex gap-3"},m5={class:"flex justify-center gap-2 relative bg-base-200 p-2 rounded-lg shadow-md shadow-black"},f5={key:0,class:"items-center justify-center inline-flex"},h5=["src"],p5={__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:l.value),s=t.computed(()=>`w-${r.dimensions[0]} h-${r.dimensions[1]}`),l=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",u5,[t.createElementVNode("section",m5,[e.generated?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([s.value,"btnQrCode"])},[e.loading?(t.openBlock(),t.createElementBlock("div",f5,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([[s.value,e.generated?"rounded-md":"rounded-none"],""]),src:i.value,alt:"QRCode"},null,10,h5)])]))}},Qn=zt.defineStore("attendant",{state:()=>({attendants:[],count:null,loaded:!1}),actions:{async fetchAttendants(){try{this.attendants=[];let e=`${Nc}`;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=[],po=0;po<256;++po)ht.push((po+256).toString(16).slice(1));function g5(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 Kn,y5=new Uint8Array(16);function k5(){if(!Kn&&(Kn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Kn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Kn(y5)}var b5=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Ks={randomUUID:b5};function x5(e,a,n){if(Ks.randomUUID&&!e)return Ks.randomUUID();e=e||{};var r=e.random||(e.rng||k5)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,g5(r)}function Js(){const e=Qn(),a=async l=>{const d=e.attendants.find(p=>p.id===l);if(d)try{const p=await na.get(`${Dr}?attendant=${l}&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 l=>{const d=e.attendants.find(p=>p.id===l);if(!(!d||!d.hasNextPage))try{const p=await na.get(`${Dr}?attendant=${l}&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=(l,d,p)=>{const u=l==null?void 0:l.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=l=>{const d=e.attendants.find(p=>p.id===l);d&&(d.internal_chat.unread=0)},i=async(l,d,p,u=!1)=>{var h;const m=e.attendants.find(y=>y.id===l);if(!m||!((h=m.internal_chat)!=null&&h.channel_id))return;let c;u?c=d:c={type:"text",content:d};const f={id:x5(),content:c,created_at:new Date().toISOString(),sender:p};m.messages.push(f);try{await na.post(`${Dr}${m.internal_chat.channel_id}/message/`,{id:f.id,content:f.content})}catch(y){console.error("Erro ao enviar mensagem:",y)}},s=l=>{const d=e.attendants.find(p=>p.id===l);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:s,resetUnreadMessages:o}}const w5={class:"avatar bg-[#404857] shadow shadow-gray-900 dark:shadow-gray-700 dark:bg-gray-300 text-gray-100 dark:text-gray-500"},v5={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"},E5=["src"],go=qe({__name:"Avatar",props:{url:{type:String}},setup(e){return(a,n)=>(t.openBlock(),t.createElementBlock("div",w5,[e.url?(t.openBlock(),t.createElementBlock("img",{key:1,style:{"object-fit":"scale-down"},src:e.url},null,8,E5)):(t.openBlock(),t.createElementBlock("svg",v5,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"]]),C5={class:"attendants-container"},S5={class:"atendentes-list bg-base-300"},M5={key:0,class:"empty-message bg-base-200"},B5=["onClick"],A5={class:"atendente-main"},V5={class:"atendente-name"},D5={class:"flex items-center gap-4"},_5={key:0,class:"message-indicator"},N5={key:0,class:"chat-footer bg-base-200"},el=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)},s=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"}},l=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",C5,[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",S5,[l.value.length===0?(t.openBlock(),t.createElementBlock("li",M5,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(l.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",A5,[t.createVNode(go,{url:u.photo},null,8,["url"]),t.createElementVNode("span",V5,t.toDisplayString(u.name),1)]),t.createElementVNode("footer",D5,[u.internal_chat.unread>0?(t.openBlock(),t.createElementBlock("span",_5,t.toDisplayString(u.internal_chat.unread),1)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["status-indicator",s(u.login_status)])},null,2)]),p[1]||(p[1]=t.createElementVNode("div",{class:"hover-action"},"Conversar",-1))],10,B5))),128))]),e.mobile?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("footer",N5))]))}},[["__scopeId","data-v-dc8950e9"]]);function T5(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 P5(e){return e?(await t.nextTick(),e.value instanceof HTMLElement?e.value:e.value?document.querySelector(e.value):null):null}function O5(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 tl(e,a){if(await t.nextTick(),!e.top)return;const n=e.parentEl||document.documentElement;n.scrollTop=n.scrollHeight-a}const al=(e,a)=>{const n=e.__vccOpts||e;for(const[r,o]of a)n[r]=o;return n},F5={},L5=e=>(t.pushScopeId("data-v-d3e37633"),e=e(),t.popScopeId(),e),$5={class:"container"},H5=L5(()=>t.createElementVNode("div",{class:"spinner"},null,-1)),R5=[H5];function z5(e,a){return t.openBlock(),t.createElementBlock("div",$5,R5)}const I5=al(F5,[["render",z5],["__scopeId","data-v-d3e37633"]]),G5={class:"state-error"},yo=al(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),s=t.ref(""),{top:l,firstload:d,distance:p}=n,{identifier:u,target:m}=t.toRefs(n),c={infiniteLoading:i,top:l,firstload:d,distance:p,parentEl:null,emit(){o=(c.parentEl||document.documentElement).scrollHeight,f.loading(),a("infinite",f)}},f={loading(){s.value="loading"},async loaded(){s.value="loaded",await tl(c,o),T5(i.value,c.parentEl)&&c.emit()},async complete(){s.value="complete",await tl(c,o),r==null||r.disconnect()},error(){s.value="error"}};function h(){r==null||r.disconnect(),r=O5(c)}return t.watch(u,h),t.onMounted(async()=>{c.parentEl=await P5(m),h()}),t.onUnmounted(()=>r==null?void 0:r.disconnect()),(y,k)=>(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(I5)],!0)],512),[[t.vShow,s.value=="loading"]]),s.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),s.value=="error"?t.renderSlot(y.$slots,"error",{key:1,retry:c.emit},()=>{var x;return[t.createElementVNode("span",G5,[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:k[0]||(k[0]=(...w)=>c.emit&&c.emit(...w))},"retry")])]},!0):t.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-4bdee133"]]),nl=6048e5,j5=864e5,rl=Symbol.for("constructDateFrom");function Dt(e,a){return typeof e=="function"?e(a):e&&typeof e=="object"&&rl in e?e[rl](a):e instanceof Date?new e.constructor(a):new Date(a)}function _t(e,a){return Dt(a||e,e)}function q5(e,a,n){const r=_t(e,n==null?void 0:n.in);return isNaN(a)?Dt(e,NaN):(r.setDate(r.getDate()+a),r)}let W5={};function Jn(){return W5}function Da(e,a){var l,d,p,u;const n=Jn(),r=(a==null?void 0:a.weekStartsOn)??((d=(l=a==null?void 0:a.locale)==null?void 0:l.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(),s=(i<r?7:0)+i-r;return o.setDate(o.getDate()-s),o.setHours(0,0,0,0),o}function er(e,a){return Da(e,{...a,weekStartsOn:1})}function ol(e,a){const n=_t(e,a==null?void 0:a.in),r=n.getFullYear(),o=Dt(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const i=er(o),s=Dt(n,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);const l=er(s);return n.getTime()>=i.getTime()?r+1:n.getTime()>=l.getTime()?r:r-1}function il(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 ko(e,...a){const n=Dt.bind(null,a.find(r=>typeof r=="object"));return a.map(n)}function tr(e,a){const n=_t(e,a==null?void 0:a.in);return n.setHours(0,0,0,0),n}function Y5(e,a,n){const[r,o]=ko(n==null?void 0:n.in,e,a),i=tr(r),s=tr(o),l=+i-il(i),d=+s-il(s);return Math.round((l-d)/j5)}function U5(e,a){const n=ol(e,a),r=Dt(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),er(r)}function bo(e){return Dt(e,Date.now())}function sl(e,a,n){const[r,o]=ko(n==null?void 0:n.in,e,a);return+tr(r)==+tr(o)}function X5(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Z5(e){return!(!X5(e)&&typeof e!="number"||isNaN(+_t(e)))}function Q5(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 K5={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"}},J5=(e,a,n)=>{let r;const o=K5[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 e6={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},t6={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},a6={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},n6={date:Wa({formats:e6,defaultWidth:"full"}),time:Wa({formats:t6,defaultWidth:"full"}),dateTime:Wa({formats:a6,defaultWidth:"full"})},r6={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},o6=(e,a,n,r)=>r6[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 s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;o=e.formattingValues[l]||e.formattingValues[s]}else{const s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[s]}const i=e.argumentCallback?e.argumentCallback(a):a;return o[i]}}const i6={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},s6={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},l6={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"]},c6={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"]},d6={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"}},u6={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"}},m6={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:i6,defaultWidth:"wide"}),quarter:Yt({values:s6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Yt({values:l6,defaultWidth:"wide"}),day:Yt({values:c6,defaultWidth:"wide"}),dayPeriod:Yt({values:d6,defaultWidth:"wide",formattingValues:u6,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 s=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(l)?h6(l,m=>m.test(s)):f6(l,m=>m.test(s));let p;p=e.valueCallback?e.valueCallback(d):d,p=n.valueCallback?n.valueCallback(p):p;const u=a.slice(s.length);return{value:p,rest:u}}}function f6(e,a){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&a(e[n]))return n}function h6(e,a){for(let n=0;n<e.length;n++)if(a(e[n]))return n}function ll(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 s=e.valueCallback?e.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const l=a.slice(o.length);return{value:s,rest:l}}}const p6=/^(\d+)(th|st|nd|rd)?/i,g6=/\d+/i,y6={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},k6={any:[/^b/i,/^(a|c)/i]},b6={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},x6={any:[/1/i,/2/i,/3/i,/4/i]},w6={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},v6={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]},E6={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},C6={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]},S6={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},M6={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}},B6={ordinalNumber:ll({matchPattern:p6,parsePattern:g6,valueCallback:e=>parseInt(e,10)}),era:Ut({matchPatterns:y6,defaultMatchWidth:"wide",parsePatterns:k6,defaultParseWidth:"any"}),quarter:Ut({matchPatterns:b6,defaultMatchWidth:"wide",parsePatterns:x6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ut({matchPatterns:w6,defaultMatchWidth:"wide",parsePatterns:v6,defaultParseWidth:"any"}),day:Ut({matchPatterns:E6,defaultMatchWidth:"wide",parsePatterns:C6,defaultParseWidth:"any"}),dayPeriod:Ut({matchPatterns:S6,defaultMatchWidth:"any",parsePatterns:M6,defaultParseWidth:"any"})},A6={code:"en-US",formatDistance:J5,formatLong:n6,formatRelative:o6,localize:m6,match:B6,options:{weekStartsOn:0,firstWeekContainsDate:1}};function V6(e,a){const n=_t(e,a==null?void 0:a.in);return Y5(n,Q5(n))+1}function D6(e,a){const n=_t(e,a==null?void 0:a.in),r=+er(n)-+U5(n);return Math.round(r/nl)+1}function cl(e,a){var u,m,c,f;const n=_t(e,a==null?void 0:a.in),r=n.getFullYear(),o=Jn(),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,s=Dt((a==null?void 0:a.in)||e,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);const l=Da(s,a),d=Dt((a==null?void 0:a.in)||e,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const p=Da(d,a);return+n>=+l?r+1:+n>=+p?r:r-1}function _6(e,a){var l,d,p,u;const n=Jn(),r=(a==null?void 0:a.firstWeekContainsDate)??((d=(l=a==null?void 0:a.locale)==null?void 0:l.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.firstWeekContainsDate)??1,o=cl(e,a),i=Dt((a==null?void 0:a.in)||e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Da(i,a)}function N6(e,a){const n=_t(e,a==null?void 0:a.in),r=+Da(n,a)-+_6(n,a);return Math.round(r/nl)+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"},dl={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=cl(e,r),i=o>0?o:1-o;if(a==="YY"){const s=i%100;return Ge(s,2)}return a==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ge(i,a.length)},R:function(e,a){const n=ol(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=N6(e,r);return a==="wo"?n.ordinalNumber(o,{unit:"week"}):Ge(o,a.length)},I:function(e,a,n){const r=D6(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=V6(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 ml(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 ml(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"+ul(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"+ul(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 ul(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 ml(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 fl=(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"})}},hl=(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"})}},T6={p:hl,P:(e,a)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return fl(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}}",fl(r,a)).replace("{{time}}",hl(o,a))}},P6=/^D+$/,O6=/^Y+$/,F6=["D","DD","YY","YYYY"];function L6(e){return P6.test(e)}function $6(e){return O6.test(e)}function H6(e,a,n){const r=R6(e,a,n);if(console.warn(r),F6.includes(e))throw new RangeError(r)}function R6(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 z6=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,I6=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,G6=/^'([^]*?)'?$/,j6=/''/g,q6=/[a-zA-Z]/;function pl(e,a,n){var u,m,c,f,h,y,k,x;const r=Jn(),o=(n==null?void 0:n.locale)??r.locale??A6,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,s=(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=(k=r.locale)==null?void 0:k.options)==null?void 0:x.weekStartsOn)??0,l=_t(e,n==null?void 0:n.in);if(!Z5(l))throw new RangeError("Invalid time value");let d=a.match(I6).map(w=>{const b=w[0];if(b==="p"||b==="P"){const B=T6[b];return B(w,o.formatLong)}return w}).join("").match(z6).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const b=w[0];if(b==="'")return{isToken:!1,value:W6(w)};if(dl[b])return{isToken:!0,value:w};if(b.match(q6))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return{isToken:!1,value:w}});o.localize.preprocessor&&(d=o.localize.preprocessor(l,d));const p={firstWeekContainsDate:i,weekStartsOn:s,locale:o};return d.map(w=>{if(!w.isToken)return w.value;const b=w.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&$6(b)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&L6(b))&&H6(b,a,String(e));const B=dl[b[0]];return B(l,b,o.localize,p)}).join("")}function W6(e){const a=e.match(G6);return a?a[1].replace(j6,"'"):e}function Y6(e,a,n){const[r,o]=ko(n==null?void 0:n.in,e,a);return+Da(r,n)==+Da(o,n)}function U6(e,a){return Y6(Dt(e,e),bo(e),a)}function X6(e,a){return sl(Dt(e,e),bo(e))}function Z6(e,a,n){return q5(e,-1,n)}function Q6(e,a){return sl(Dt(e,e),Z6(bo(e)))}const K6={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"}},J6=(e,a,n)=>{let r;const o=K6[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},e7={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},t7={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},a7={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},n7={date:Wa({formats:e7,defaultWidth:"full"}),time:Wa({formats:t7,defaultWidth:"full"}),dateTime:Wa({formats:a7,defaultWidth:"full"})},r7={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"},o7=(e,a,n,r)=>{const o=r7[e];return typeof o=="function"?o(a):o},i7={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},s7={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},l7={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"]},c7={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"]},d7={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"}},u7={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"}},m7={ordinalNumber:(e,a)=>{const n=Number(e);return(a==null?void 0:a.unit)==="week"?n+"ª":n+"º"},era:Yt({values:i7,defaultWidth:"wide"}),quarter:Yt({values:s7,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Yt({values:l7,defaultWidth:"wide"}),day:Yt({values:c7,defaultWidth:"wide"}),dayPeriod:Yt({values:d7,defaultWidth:"wide",formattingValues:u7,defaultFormattingWidth:"wide"})},f7=/^(\d+)[ºªo]?/i,h7=/\d+/i,p7={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},g7={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},y7={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},k7={any:[/1/i,/2/i,/3/i,/4/i]},b7={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},x7={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]},w7={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},v7={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]},E7={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},C7={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}},S7={ordinalNumber:ll({matchPattern:f7,parsePattern:h7,valueCallback:e=>parseInt(e,10)}),era:Ut({matchPatterns:p7,defaultMatchWidth:"wide",parsePatterns:g7,defaultParseWidth:"any"}),quarter:Ut({matchPatterns:y7,defaultMatchWidth:"wide",parsePatterns:k7,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ut({matchPatterns:b7,defaultMatchWidth:"wide",parsePatterns:x7,defaultParseWidth:"any"}),day:Ut({matchPatterns:w7,defaultMatchWidth:"wide",parsePatterns:v7,defaultParseWidth:"any"}),dayPeriod:Ut({matchPatterns:E7,defaultMatchWidth:"any",parsePatterns:C7,defaultParseWidth:"any"})},gl={code:"pt-BR",formatDistance:J6,formatLong:n7,formatRelative:o7,localize:m7,match:S7,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 M7=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},kn=function(e,a=void 0){return!e||e===document.body||a&&e===a?null:M7(e)?e:kn(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 yl(e){return Et(e)||Array.isArray(e)}function xo(e,a){const n=Object.keys(e),r=Object.keys(a);return n.length===r.length&&n.every(o=>{const i=e[o],s=a[o];return typeof i=="function"?`${i}`==`${s}`:yl(i)&&yl(s)?xo(i,s):i===s})}/*! License details at fancyapps.com/license */const kl=function(e){for(const a of ar)a.getState()===Ct.Running&&a.tick(wo?e-wo:0);wo=e,Za=window.requestAnimationFrame(kl)};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 ar=new Set;let Za=null,wo=0;function pa(){let e=Ct.Initializing,a=ha.Ease,n=0,r=0,o=pa.Easings.Linear,i=500,s=0,l=0,d=0,p=0,u=1/0,m=.01,c=.01,f=!1,h={},y=null,k={},x={},w={},b=0,B=0,A=Xa.Loop,_=pa.Easings.Linear;const E=new Map;function C(G,...S){for(const I of E.get(G)||[])I(...S)}function V(G){return r=0,G?y=setTimeout(()=>{T()},G):T(),X}function T(){e=Ct.Running,C("start",k,x)}function Y(){if(e=Ct.Completed,w={},C("end",k),e===Ct.Completed)if(n<b){if(n++,A===Xa.Reverse){const G=Object.assign({},h);h=Object.assign({},x),x=G}V(B)}else n=0;return X}const X={getState:function(){return e},easing:function(G){return o=G,a=ha.Ease,w={},X},duration:function(G){return i=G,X},spring:function(G={}){a=ha.Spring;const S={velocity:0,mass:1,tension:170,friction:26,restDelta:.1,restSpeed:.1,maxSpeed:1/0,clamp:!0},{velocity:I,mass:j,tension:U,friction:de,restDelta:W,restSpeed:D,maxSpeed:ie,clamp:ne}=Object.assign(Object.assign({},S),G);return s=I,l=j,d=U,p=de,c=W,m=D,u=ie,f=ne,w={},X},isRunning:function(){return e===Ct.Running},isSpring:function(){return a===ha.Spring},from:function(G){return k=Object.assign({},G),X},to:function(G){return x=G,X},repeat:function(G,S=0,I=Xa.Loop,j){return b=G,B=S,A=I,_=j||o,X},on:function(G,S){var I,j;return I=G,j=S,E.set(I,[...E.get(I)||[],j]),X},off:function(G,S){var I,j;return I=G,j=S,E.has(I)&&E.set(I,E.get(I).filter(U=>U!==j)),X},start:function(G){return e=Ct.Initializing,h=Object.assign({},k),xo(h,x)||(ar.add(this),Za||(Za=window.requestAnimationFrame(kl)),V(G)),X},pause:function(){return y&&(clearTimeout(y),y=null),e===Ct.Running&&(e=Ct.Paused,C("pause",k)),X},end:Y,tick:function(G){G>50&&(G=50),r+=G;let S=0,I=!1;if(e!==Ct.Running)return X;if(a===ha.Ease){S=$e(0,r/i,1),I=S===1;const U=A===Xa.Reverse?_:o;for(const de in k)k[de]=h[de]+(x[de]-h[de])*U(S)}if(a===ha.Spring){const U=.001*G;let de=0;for(const W in k){const D=x[W];let ie=k[W];if(typeof D!="number"||isNaN(D)||typeof ie!="number"||isNaN(ie))continue;if(Math.abs(D-ie)<=c){k[W]=D,w[W]=0;continue}w[W]||(typeof s=="object"&&typeof s[W]=="number"?w[W]=s[W]:w[W]=typeof s=="number"?s:0);let ne=w[W];ne=$e(-1*Math.abs(u),ne,Math.abs(u));const K=ne*l*p;ne+=((ie>D?-1:1)*(Math.abs(D-ie)*d)-K)/l*U,ie+=ne*U;const M=k[W]>D?ie<D:ie>D;let Q=Math.abs(ne)<m&&Math.abs(D-ie)<=c;f&&M&&(Q=!0),Q?(ie=D,ne=0):de++,k[W]=ie,w[W]=ne}I=!de}const j=Object.assign({},x);return C("step",k,h,x,S),I&&e===Ct.Running&&xo(x,j)&&(e=Ct.Completed,Y()),X},getStartValues:function(){return h},getCurrentValues:function(){return k},getCurrentVelocities:function(){return w},getEndValues:function(){return x},destroy:function(){e=Ct.Destroyed,y&&(clearTimeout(y),y=null),h=k=x={},ar.delete(this)}};return X}pa.destroy=()=>{for(const e of ar)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 vo(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 bl(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 nr(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 xl=e=>{e.cancelable&&e.preventDefault()},ya={passive:!1},B7={panThreshold:5,swipeThreshold:3,ignore:["textarea","input","select","[contenteditable]","[data-selectable]","[data-draggable]"]};let Eo=!1,bn=!0;const xn=(e,a)=>{let n,r,o,i=Object.assign(Object.assign({},B7),a),s=[],l=[],d=[],p=!1,u=!1,m=!1,c=0,f=0,h=0,y=0,k=0,x=0,w=0,b=0,B=0,A=[],_=0,E=0;const C=new Map;function V(W){const D=nr(l),ie=nr(d),ne=D&&ie?D/ie:0,K=Math.abs(w)>Math.abs(b)?w:b,M={srcEvent:n,isPanRecognized:p,isSwipeRecognized:u,firstTouch:s,previousTouch:d,currentTouch:l,deltaX:h,deltaY:y,offsetX:k,offsetY:x,velocityX:w,velocityY:b,velocity:K,angle:B,axis:o,scale:ne,center:r};for(const Q of C.get(W)||[])Q(M)}function T(W){const D=Date.now();A=A.filter(ie=>!ie.ts||ie.ts>D-100),W&&A.push(W)}function Y(){if(w=0,b=0,A.length>3){const W=A[0],D=A[A.length-1];if(W&&D){const ie=D.x-W.x,ne=D.y-W.y,K=W.ts&&D.ts?D.ts-W.ts:0;K>0&&(w=Math.abs(ie)>3?ie/(K/30):0,b=Math.abs(ne)>3?ne/(K/30):0)}}}function X(W){if(W instanceof MouseEvent){if(Eo)return}else Eo=!0;const D=W.composedPath()[0],ie=i.ignore.join(",");if(D.matches(ie)||D.closest(ie)||typeof MouseEvent<"u"&&W instanceof MouseEvent&&(!W.buttons||W.button!==0))return;W instanceof MouseEvent&&xl(W);const ne=Date.now(),K=ne-(c||ne);m=K>0&&K<=250,c=ne,clearTimeout(_),n=W,W instanceof MouseEvent&&(window.addEventListener("mousemove",G),window.addEventListener("mouseup",S)),window.addEventListener("blur",I),l=vo(W),s=[...l],d=[],f=l.length,r=ga(l),f===1&&(p=!1,u=!1),f&&T(ga(l)),V("start")}function G(W){var D;if(!s.length||W.defaultPrevented)return;n=W,d=[...l],l=vo(W),f=l.length,r=ga(l);const ie=r,ne=ga(d);if(h=ie.x-ne.x,y=ie.y-ne.y,T(ie),Y(),V("move"),l.length>1){const K=nr(l),M=nr(d);Math.abs(K-M)>=.1&&V("pinch")}if(!p&&s.length){const K=ga(s);k=ie.x-K.x,x=ie.y-K.y,p=Math.abs(k)>i.panThreshold||Math.abs(x)>i.panThreshold,p&&(bn=!1,clearTimeout(E),E=0,B=Math.abs(180*Math.atan2(x,k)/Math.PI),o=B>45&&B<135?"y":"x",s=[...l],d=[...l],(D=window.getSelection())===null||D===void 0||D.removeAllRanges(),V("panstart"))}p&&(h||y)&&V("pan")}function S(W){if(n=W,!s.length)return;const D=vo(W),ie=bl(W);if(f=D.length,r=ga(ie),ie.length&&T(ga(ie)),Y(),d=[...l],l=[...D],s=[...D],D.length>0)V("end"),p=!1,u=!1,A=[];else{const ne=i.swipeThreshold;(Math.abs(w)>ne||Math.abs(b)>ne)&&(u=!0),p&&V("panend"),u&&V("swipe"),p||u||(V("tap"),m?V("doubleTap"):_=setTimeout(function(){V("singleTap")},250)),V("end"),j()}}function I(){clearTimeout(_),j(),p&&V("panend"),V("end")}function j(){p=!1,u=!1,m=!1,f=0,A=[],l=[],d=[],s=[],h=0,y=0,k=0,x=0,w=0,b=0,B=0,o=void 0,window.removeEventListener("mousemove",G),window.removeEventListener("mouseup",S),window.removeEventListener("blur",I),bn||E||(E=setTimeout(()=>{bn=!0,E=0},100))}function U(W){const D=W.target;Eo=!1,D&&!W.defaultPrevented&&(bn||(xl(W),W.stopPropagation()))}const de={init:function(){if(e)return e.addEventListener("click",U,ya),e.addEventListener("mousedown",X,ya),e.addEventListener("touchstart",X,ya),e.addEventListener("touchmove",G,ya),e.addEventListener("touchend",S),e.addEventListener("touchcancel",S),de},on:function(W,D){return function(ie,ne){C.set(ie,[...C.get(ie)||[],ne])}(W,D),de},off:function(W,D){return C.has(W)&&C.set(W,C.get(W).filter(ie=>ie!==D)),de},isPointerDown:()=>f>0,destroy:function(){clearTimeout(_),clearTimeout(E),E=0,e&&(e.removeEventListener("click",U,ya),e.removeEventListener("mousedown",X,ya),e.removeEventListener("touchstart",X,ya),e.removeEventListener("touchmove",G,ya),e.removeEventListener("touchend",S),e.removeEventListener("touchcancel",S)),e=null,j()}};return de};xn.isClickAllowed=()=>bn;/*! License details at fancyapps.com/license */const Co={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 rr=e=>{e.cancelable&&e.preventDefault()},St=(e,a=1e4)=>(e=parseFloat(e+"")||0,Math.round((e+Number.EPSILON)*a)/a);var we,wl;(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"}(wl||(wl={}));const Nt={x:0,y:0,scale:1,angle:0,flipX:1,flipY:1},So={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:Co,maxScale:4,minScale:1,mouseMoveFactor:1,panMode:"drag",protected:!1,singleClickAction:!1,spinnerTpl:'<div class="f-spinner"></div>',wheelAction:we.Zoom,width:"auto"};let or,vl=0,El=0,ir=0;const Mo=(e,a={},n={})=>{let r,o,i,s,l,d,p,u=0,m=Object.assign(Object.assign({},So),a),c={},f=Object.assign({},Nt),h=Object.assign({},Nt);const y=[];function k(v){let g=m[v];return g&&typeof g=="function"?g($):g}const x=new Map;function w(v,...g){const N=x.get(v)||[];m.on&&N.push(m.on[v]);for(const L of N)L&&L instanceof Function&&L($,...g);v!=="*"&&w("*",v,...g)}function b(v){if(u!==3)return;const g=v.target;if(kn(g))return;const N=Date.now(),L=[-v.deltaX||0,-v.deltaY||0,-v.detail||0].reduce(function(ce,ge){return Math.abs(ge)>Math.abs(ce)?ge:ce}),F=$e(-1,L,1);w("wheel",v,F);const J=k("wheelAction");if(!J||v.defaultPrevented)return;const H=h.scale;let te=H*(F>0?1.5:.5);if(J===we.Zoom){const ce=Math.abs(v.deltaY)<100&&Math.abs(v.deltaX)<100;if(N-El<(ce?200:45))return void rr(v);El=N;const ge=X(),be=j();if(St(te)<St(ge)&&St(H)<=St(ge)?(ir+=Math.abs(F),te=ge):St(te)>St(be)&&St(H)>=St(be)?(ir+=Math.abs(F),te=be):(ir=0,te=$e(ge,te,be)),ir>7)return}switch(rr(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,N;const L=v.composedPath()[0];if(!xn.isClickAllowed()||!Ua(L)||v.defaultPrevented||!(e!=null&&e.contains(L))||L.hasAttribute("disabled")||L.hasAttribute("aria-disabled"))return;const F=L.closest("[data-panzoom-action]"),J=(g=F==null?void 0:F.dataset)===null||g===void 0?void 0:g.panzoomAction,H=((N=F==null?void 0:F.dataset)===null||N===void 0?void 0:N.panzoomValue)||"";if(J){switch(J){case we.ZoomTo:case we.ZoomIn:case we.ZoomOut:D(J,{scale:parseFloat(H||"")||void 0});break;case we.MoveLeft:case we.MoveRight:D(J,{deltaX:parseFloat(H||"")||void 0});break;case we.MoveUp:case we.MoveDown:D(J,{deltaY:parseFloat(H||"")||void 0});break;default:D(J)}return}if(!(r!=null&&r.contains(L)))return;const te={srcEvent:v};if(D(k("clickAction"),te),k("dblClickAction")){const ce=Date.now(),ge=ce-(vl||ce);vl=ce,ge>0&&ge<=250?(or&&(clearTimeout(or),or=void 0),D(k("dblClickAction"),te)):or=setTimeout(()=>{D(k("singleClickAction"),te)},250)}}function A(v){if(p=v,!V()||u!==3||f.scale<=1||h.scale<=1||((r==null?void 0:r.dataset.animationName)||"").indexOf("zoom")>-1)return;const g=T(h.scale);if(!g)return;const{x:N,y:L}=g;D(we.Pan,{deltaX:N-h.x,deltaY:L-h.y})}function _(){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}=C();o&&(o.setAttribute("width",g+""),o.setAttribute("height",N+"")),r&&(r.classList.remove("has-error"),r.setAttribute("width",g+""),r.setAttribute("height",N+""),r.style.aspectRatio=`${g/N||""}`),l=pa().on("start",(F,J)=>{h=Object.assign(Object.assign({},Nt),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),W(),w("animationStart")}).on("pause",F=>{h=Object.assign(Object.assign({},Nt),F)}).on("step",F=>{if(u!==3||!l)return;if(!e||!e.parentElement)return void l.end();if(f=Object.assign(Object.assign({},Nt),F),V()||!k("bounds")||(s==null?void 0:s.isPointerDown())||h.scale>f.scale||h.scale<G())return void ie();const J=U(h.scale);let H=!1,te=!1,ce=!1,ge=!1;f.x<J.x[0]&&(H=!0),f.x>J.x[1]&&(te=!0),f.y<J.y[0]&&(ge=!0),f.y>J.y[1]&&(ce=!0);let be=!1,ue=!1,Me=!1,De=!1;h.x<J.x[0]&&(be=!0),h.x>J.x[1]&&(ue=!0),h.y<J.y[0]&&(De=!0),h.y>J.y[1]&&(Me=!0);let _e=!1;(te&&ue||H&&be)&&(h.x=$e(J.x[0],h.x,J.x[1]),_e=!0),(ce&&Me||ge&&De)&&(h.y=$e(J.y[0],h.y,J.y[1]),_e=!0),_e&&l.spring({tension:94,friction:17,maxSpeed:555*h.scale,restDelta:.1,restSpeed:.1,velocity:l.getCurrentVelocities()}).from(f).to(h).start(),ie()}).on("end",()=>{de(),l!=null&&l.isRunning()||(W(),w("animationEnd"))}),function(){const F=k("gestures");F&&i&&o&&(s=xn(i,F).on("start",J=>{if(!l)return;const H=J.srcEvent;V()||((f.scale>1||J.currentTouch.length>1)&&(H==null||H.stopPropagation(),l.pause()),J.currentTouch.length===1&&w("touchStart"))}).on("move",J=>{V()||(h.scale!==1||J.currentTouch.length>1)&&(J.srcEvent.preventDefault(),J.srcEvent.stopPropagation())}).on("pan",J=>{if(V())return;const H=J.srcEvent;(h.scale!==1||J.currentTouch.length>1)&&(rr(H),D(we.Pan,J))}).on("swipe",J=>{V()||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=>{V()||(J.scale>G()?D(we.ZoomIn,J):J.scale<G()?D(we.ZoomOut,J):D(we.Pan,J))}).on("end",J=>{V()||(J.currentTouch.length?(J.srcEvent.stopPropagation(),rr(J.srcEvent),l==null||l.end()):(W(),de(),w("touchEnd")))}).init())}(),i&&(i.addEventListener("wheel",b,{passive:!1}),y.push(()=>{i==null||i.removeEventListener("wheel",b,{passive:!1})})),e==null||e.addEventListener("click",B),document==null||document.addEventListener("mousemove",A),y.push(()=>{e==null||e.removeEventListener("click",B),document==null||document.removeEventListener("mousemove",A)});const L=Object.assign(Object.assign({},k("startPos")||{}),{scale:G()});if(f=Object.assign(Object.assign({},Nt),L),h=Object.assign(Object.assign({},Nt),L),V()){const F=T(h.scale);if(F){const{x:J,y:H}=F;f.x=J,f.y=H,h.x=J,h.y=H}}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 C(){let v=k("width"),g=k("height");if(o&&v==="auto"){const N=o.getAttribute("width");v=N?parseFloat(N+""):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 N=o.getAttribute("height");g=N?parseFloat(N+""):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 V(){return k("panMode")==="mousemove"&&matchMedia("(hover: hover)").matches}function T(v){const g=p||k("event"),N=r==null?void 0:r.getBoundingClientRect();if(!g||!N||v<=1)return{x:0,y:0};const L=(g.clientX||0)-N.left,F=(g.clientY||0)-N.top,J=N.width,H=N.height,te=U(v);if(v>1){const Me=k("mouseMoveFactor");Me>1&&(v*=Me)}let ce=J*v,ge=H*v,be=.5*(ce-J)-L/J*100/100*(ce-J),ue=.5*(ge-H)-F/H*100/100*(ge-H);return be=$e(te.x[0],be,te.x[1]),ue=$e(te.y[0],ue,te.y[1]),{x:be,y:ue}}function Y(v="base"){if(!e)return 1;const g=e.getBoundingClientRect(),N=E(),{width:L,height:F}=C(),J=be=>{if(typeof be=="number")return be;switch(be){case"min":case"base":return 1;case"cover":return Math.max(g.height/N.height,g.width/N.width)||1;case"full":case"max":{const ue=h.angle%180==90?F:L;return ue&&N.width?ue/N.width:1}}},H=k("minScale"),te=k("maxScale"),ce=Math.min(J("full"),J(H)),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 Y("min")}function G(){return Y("base")}function S(){return Y("cover")}function I(){return Y("full")}function j(){return Y("max")}function U(v){const g={x:[0,0],y:[0,0]},N=e==null?void 0:e.getBoundingClientRect();if(!N)return g;const L=E(),F=N.width,J=N.height;let H=L.width,te=L.height,ce=v=v===void 0?h.scale:v,ge=v;if(V()&&v>1){const be=k("mouseMoveFactor");be>1&&(H*v>F+.01&&(ce*=be),te*v>J+.01&&(ge*=be))}return H*=ce,te*=ge,v>1&&(H>F&&(g.x[0]=.5*(F-H),g.x[1]=.5*(H-F)),g.x[0]-=.5*(L.left-N.left),g.x[1]-=.5*(L.left-N.left),g.x[0]-=.5*(L.left+L.width-N.right),g.x[1]-=.5*(L.left+L.width-N.right),te>J&&(g.y[0]=.5*(J-te),g.y[1]=.5*(te-J)),g.y[0]-=.5*(L.top-N.top),g.y[1]-=.5*(L.top-N.top),g.y[0]-=.5*(L.top+L.height-N.bottom),g.y[1]-=.5*(L.top+L.height-N.bottom)),g}function de(){if(!k("bounds")||u!==3||!(e!=null&&e.parentElement)||!l)return;const v=X(),g=j(),N=$e(v,h.scale,g);if(h.scale<v-.01||h.scale>g+.01)return void D(we.ZoomTo,{scale:N});if(l.isRunning()||s!=null&&s.isPointerDown())return;const L=U(N);h.x<L.x[0]||h.x>L.x[1]||h.y<L.y[0]||h.y>L.y[1]?(h.x=$e(L.x[0],h.x,L.x[1]),h.y=$e(L.y[0],h.y,L.y[1]),l.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:l.getCurrentVelocities()}),l.from(f).to(h).start()):ie()}function W(){if(!e||!e.parentElement||!r)return;const v=R(),g=ye(),N=Z(),L=me(),F=K(),J=M();r.classList.toggle("is-fullsize",L),r.classList.toggle("is-expanded",N),r.classList.toggle("is-dragging",g),r.classList.toggle("can-drag",v),r.classList.toggle("will-zoom-in",F),r.classList.toggle("will-zoom-out",J);const H=Q(),te=fe(),ce=u!==3;for(const ge of(e==null?void 0:e.querySelectorAll("[data-panzoom-action]"))||[]){const be=ge.dataset.panzoomAction;let ue=!1;if(ce)ue=!0;else switch(be){case we.ZoomIn:H||(ue=!0);break;case we.ZoomOut:te||(ue=!0);break;case we.ToggleFull:H||te||(ue=!0);const Me=ge.querySelector("g");Me&&(Me.style.display=L?"none":"");break;case we.ToggleCover:case we.ToggleMax:H||te||(ue=!0)}ue?(ge.setAttribute("aria-disabled",""),ge.setAttribute("tabindex","-1")):(ge.removeAttribute("aria-disabled"),ge.removeAttribute("tabindex"))}}function D(v,g){var N;if(!e||!o||!l||v===we.Swipe&&Math.abs(l.getCurrentVelocities().scale)>.01)return;let L=Object.assign({},h),F=U(V()?h.scale:f.scale);const J=l.getCurrentVelocities(),H=E(),te=(((N=(g=g||{}).currentTouch)===null||N===void 0?void 0:N.length)||0)>1,ce=g.velocityX||0,ge=g.velocityY||0;let be=g.center;!be&&g.srcEvent&&(be=ga(bl(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 De=[];switch(v){case we.Reset:h=Object.assign({},Nt),h.scale=G();break;case we.Pan:case we.Move:case we.MoveLeft:case we.MoveRight:case we.MoveUp:case we.MoveDown:if(s!=null&&s.isPointerDown()){let Le=1,Be=1;h.x<=F.x[0]&&ce<=0&&(Le=Math.max(.01,1-Math.abs(1/H.width*Math.abs(h.x-F.x[0]))),Le*=.2),h.x>=F.x[1]&&ce>=0&&(Le=Math.max(.01,1-Math.abs(1/H.width*Math.abs(h.x-F.x[1]))),Le*=.2),h.y<=F.y[0]&&ge<=0&&(Be=Math.max(.01,1-Math.abs(1/H.height*Math.abs(h.y-F.y[0]))),Be*=.2),h.y>=F.y[1]&&ge>=0&&(Be=Math.max(.01,1-Math.abs(1/H.height*Math.abs(h.y-F.y[1]))),Be*=.2),h.x+=ue*Le,h.y+=Me*Be}else h.x=$e(F.x[0],h.x+ue,F.x[1]),h.y=$e(F.y[0],h.y+Me,F.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(F.x[0],h.x,F.x[1])),!ge&&ce&&(h.y=$e(F.y[0],h.y,F.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,j()));break;case we.ZoomOut:h.scale=h.scale*(g.scale||.5),te||(h.scale=Math.max(h.scale,X()));break;case we.ToggleCover:De=[G(),S()];break;case we.ToggleFull:De=[G(),I()];break;case we.ToggleMax:De=[G(),j()];break;case we.IterateZoom:De=[G(),I(),j()];break;case we.Zoom:const Se=I();h.scale>=Se-.05?h.scale=G():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)),De.length){const _e=De.findIndex(Se=>Se>h.scale+1e-4);h.scale=De[_e]||De[0]}if(te&&(h.scale=$e(X()*(te?.8:1),h.scale,j()*(te?1.6:1))),V()){const _e=T(h.scale);if(_e){const{x:Se,y:Le}=_e;h.x=Se,h.y=Le}}else if(h.scale!==L.scale){let _e=0,Se=0;if(be)_e=be.x,Se=be.y;else{const re=e.getBoundingClientRect();_e=re.x+.5*re.width,Se=re.y+.5*re.height}let Le=_e-H.left,Be=Se-H.top;Le-=.5*H.width,Be-=.5*H.height;const q=(Le-L.x)/L.scale,ae=(Be-L.y)/L.scale;h.x=Le-q*h.scale,h.y=Be-ae*h.scale,!te&&k("bounds")&&(F=U(h.scale),h.x=$e(F.x[0],h.x,F.x[1]),h.y=$e(F.y[0],h.y,F.y[1]))}if(v===we.Swipe){let _e=94,Se=17,Le=500*h.scale,Be=J;l.spring({tension:_e,friction:Se,maxSpeed:Le,restDelta:.1,restSpeed:.1,velocity:Be})}else v===we.Pan||te?l.spring({tension:750,friction:17,restDelta:.01,restSpeed:.01,maxSpeed:1}):l.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:J});v===we.Reset&&g.velocity===0?f=Object.assign({},h):l.from(f).to(h).start(),w("action",v)}function ie(){if(!r||!o)return;if(o instanceof HTMLImageElement){const{width:te,height:ce}=C();r.style.maxWidth=`min(${te}px, 100%)`,r.style.maxHeight=`min(${ce}px, 100%)`}let{x:v,y:g,scale:N,angle:L,flipX:F,flipY:J}=f;const H=function(){const te=E(),ce=te.width,ge=te.height,{width:be,height:ue}=C();if(!e)return{x:0,y:0,width:0,height:0,scale:0,flipX:0,flipY:0,angle:0,fitWidth:ce,fitHeight:ge,fullWidth:be,fullHeight:ue};let{x:Me,y:De,scale:_e,angle:Se,flipX:Le,flipY:Be}=f,q=1/I(),ae=be,re=ue,le=f.scale*q,Ee=h.scale*q;const he=Math.max(ce,ge),ke=Math.min(ce,ge);be>ue?(ae=he,re=ke):(ae=ke,re=he),le=be>ue?he*_e/be||1:he*_e/ue||1;let z=ae?be*Ee:0,O=re?ue*Ee:0;return Me=Me+.5*ae-.5*z,De=De+.5*re-.5*O,{x:Me,y:De,width:z,height:O,scale:ae&&re?be*le/z:0,flipX:Le,flipY:Be,angle:Se,fitWidth:ce,fitHeight:ge,fullWidth:be,fullHeight:ue}}();if(r&&H){const{x:te,y:ce,width:ge,height:be,scale:ue,flipX:Me,flipY:De}=H;let _e=`translate(${St(te)}px, ${St(ce)}px)`;_e+=Me!==1||De!==1?` scaleX(${St(ue*Me)}) scaleY(${St(ue*De)})`:` scale(${St(ue)})`,L!==0&&(_e+=` rotate(${L}deg)`),i&&(i.style.width=`${St(ge)}px`,i.style.height=`${St(be)}px`,i.style.transform=`${_e}`)}w("render")}function ne(){let v=h.scale;const g=k("clickAction");let N=G();if(g){let L=[];switch(g){case we.ZoomIn:N=2*v;break;case we.ZoomOut:N=.5*v;break;case we.ToggleCover:L=[G(),S()];break;case we.ToggleFull:L=[G(),I()];break;case we.ToggleMax:L=[G(),j()];break;case we.IterateZoom:L=[G(),I(),j()];break;case we.Zoom:const F=I();N=v>=F-.05?G():Math.min(F,2*v)}if(L.length){const F=L.findIndex(J=>J>v+1e-4);N=L[F]||G()}}return N=$e(X(),N,j()),N}function K(){return u===3&&ne()>h.scale}function M(){return u===3&&ne()<h.scale}function Q(){return u===3&&h.scale<j()}function fe(){return u===3&&h.scale>X()}function R(){return u===3&&Z()&&!!s&&!V()}function ye(){return u===3&&(s==null?void 0:s.isPointerDown())&&!V()}function Z(){return u===3&&h.scale>G()}function me(){return u===3&&h.scale>=I()}const $={canDrag:R,canZoomIn:Q,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({},Nt),h=Object.assign({},Nt),l==null||l.destroy(),l=void 0,s==null||s.destroy(),s=void 0,u=4,$},emit:w,execute:D,getBoundaries:U,getContainer:function(){return e},getFullDim:C,getGestures:function(){return s},getMousemovePos:T,getOptions:function(){return m},getScale:Y,getState:function(){return u},getTransform:function(v){return v===!0?h:f},getTween:function(){return l},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 N=g();N.init($),c[v]=N}w("initPlugins")}(),function(){if(!e)return;const v=Object.assign(Object.assign({},So.classes),k("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",k("protected")){i.addEventListener("contextmenu",N=>{N.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(()=>{_()})}).catch(()=>{_()})};if(o.src&&o.complete)return void v();(function(){const g=e==null?void 0:e.querySelector(".f-spinner");if(!e||g)return;const N=k("spinnerTpl"),L=fa(N);L&&(L.classList.add("f-spinner"),e.classList.add("is-loading"),r==null||r.insertAdjacentElement("afterbegin",L))})(),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(),de(),w("refresh")),v=null}))}),d.observe(r),y.push(()=>{d==null||d.disconnect(),d=void 0,v&&(cancelAnimationFrame(v),v=null)})}}(),$},isDragging:ye,isExpanded:Z,isFullsize:me,localize:function(v,g=[]){const N=k("l10n")||{};v=String(v).replace(/\{\{(\w+)\}\}/g,(L,F)=>N[F]||L);for(let L=0;L<g.length;L++)v=v.split(g[L][0]).join(g[L][1]);return v=v.replace(/\{\{(.*?)\}\}/g,(L,F)=>F)},off:function(v,g){for(const N of v instanceof Array?v:[v])x.has(N)&&x.set(N,x.get(N).filter(L=>L!==g));return $},on:function(v,g){for(const N of v instanceof Array?v:[v])x.set(N,[...x.get(N)||[],g]);return $},version:"6.0.16",willZoomIn:K,willZoomOut:M};return $};Mo.l10n={en_EN:Co},Mo.getDefaults=()=>So;/*! License details at fancyapps.com/license */const Bo=(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,s])=>{const l=Array.isArray(s)?[]:{};e[i]||Object.assign(e,{[i]:l}),Et(s)?Object.assign(e[i],Tt(l,s)):Array.isArray(s)?Object.assign(e,{[i]:[...s]}):Object.assign(e,{[i]:s})})}return e};/*! License details at fancyapps.com/license */const Ao=function(e=0,a=0,n=0,r=0,o=0,i=!1){const s=(e-a)/(n-a)*(o-r)+r;return i?r<o?$e(r,s,o):$e(o,s,r):s};/*! 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 Vo=Object.assign(Object.assign({},Co),{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:Vo,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 Cl,Sl=0;const sr=(e,a={},n={})=>{Sl++;let r,o,i,s,l,d=0,p=Object.assign({},Ka),u=Object.assign({},Ka),m={},c=null,f=null,h=!1,y=!1,k=!1,x=!1,w="height",b=0,B=!0,A=0,_=0,E=0,C=0,V="*",T=[],Y=[];const X=new Set;let G=[],S=[],I=0,j=0;function U(q,...ae){let re=u[q];return re&&re instanceof Function?re(Be,...ae):re}function de(q,ae=[]){const re=U("l10n")||{};q=String(q).replace(/\{\{(\w+)\}\}/g,(le,Ee)=>re[Ee]||le);for(let le=0;le<ae.length;le++)q=q.split(ae[le][0]).join(ae[le][1]);return q=q.replace(/\{\{(.*?)\}\}/g,(le,Ee)=>Ee)}const W=new Map;function D(q,...ae){const re=W.get(q)||[];u.on&&re.push(u.on[q]);for(const le of re)le&&le instanceof Function&&le(Be,...ae);q!=="*"&&D("*",q,...ae)}function ie(){var q,ae;const re=Tt({},Ka,p);Tt(re,Ka,p);let le="";const Ee=p.breakpoints||{};if(Ee)for(const[he,ke]of Object.entries(Ee))window.matchMedia(he).matches&&(le+=he,Tt(re,ke));if(l===void 0||le!==l){if(l=le,d!==0){let he=(ae=(q=S[A])===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 T)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 z=ke();z.init(Be,sr),m[he]=z}D("initPlugins")}(),function(){if(!c)return;const he=U("classes")||{};ze(c,he.container),ze(c,he.isEnabled);const ke=U("style");if(ke&&Et(ke))for(const[z,O]of Object.entries(ke))c.style.setProperty(z,O);f=c.querySelector(`.${he.viewport}`),f||(f=document.createElement("div"),ze(f,he.viewport),f.append(...Bo(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=U("classes")||{};T=[],[...Bo(f,`.${he.slide}`)].forEach(ke=>{ke.parentElement&&(T.push(g(Object.assign({el:ke,isVirtual:!1},ke.dataset||{}))),ke.parentElement.removeChild(ke))}),v(U("slides"));for(const ke of T)D("addSlide",ke);D("initSlides")}(),o=pa().on("start",()=>{B=!1,r&&r.isPointerDown()||(M(),Se())}).on("step",he=>{b=he.pos,Se()}).on("end",he=>{r!=null&&r.isPointerDown()||(b=he.pos,o&&!y&&(b<E||b>C)?o.spring({clamp:!0,mass:1,tension:200,friction:25,velocity:0,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:$e(E,b,C)}).start():B||(B=!0,D("settle")))}),function(){const he=U("gestures");f&&he!==!1&&(r=xn(f,he).on("start",ke=>{var z,O;if(!o)return;const{srcEvent:P}=ke;function ee(xe){const Ae=window.getComputedStyle(xe),Ne=new DOMMatrixReadOnly(Ae.transform);return{width:Ne.m41||0,height:Ne.m42||0}}x&&Qa(P),o.pause(),o.getCurrentVelocities().pos=0;const se=(z=S[A])===null||z===void 0?void 0:z.slides[0];se&&X.has(se.index)&&se.el&&(b=se.offset||0,b+=(ee(se.el)[w]||0)*(k&&!x?1:-1)),ce(),y||(b<E||b>C)&&o.spring({clamp:!0,mass:1,tension:500,friction:25,velocity:((O=o.getCurrentVelocities())===null||O===void 0?void 0:O.pos)||0,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:$e(E,b,C)}).start()}).on("move",ke=>{const{srcEvent:z,axis:O}=ke,P=ke.srcEvent.target;P&&kn(P)||(O||(z.stopPropagation(),z.stopImmediatePropagation()),(O==="y"&&x||O==="x"&&!x)&&(Qa(z),z.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 z;const{deltaX:O,deltaY:P,currentTouch:ee,axis:se}=ke;if(!o||ee.length>1||se==="y"&&!x||se==="x"&&x)return;const xe=k&&!x?1:-1;let Ae=x?P:O,Ne=o!=null&&o.isRunning()?o.getEndValues().pos:b,Pe=1;y||(Ne<=E&&Ae*xe<0?(Pe=Math.max(.01,1-Math.abs(1/Z()*Math.abs(Ne-E))),Pe*=.2):Ne>=C&&Ae*xe>0&&(Pe=Math.max(.01,1-Math.abs(1/Z()*Math.abs(Ne-C))),Pe*=.2)),Ne+=Ae*Pe*xe,o.spring({clamp:!0,mass:1,tension:700,friction:25,velocity:((z=o.getCurrentVelocities())===null||z===void 0?void 0:z.pos)||0,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:Ne}).start()}).on("end",ke=>{var z,O;const{axis:P,velocityX:ee,velocityY:se,currentTouch:xe}=ke,Ae=S.length,Ne=U("dragFree");if(xe.length>0||!o||!Ae)return;const Pe=U("vertical")?se:ee;let je=o!=null&&o.isRunning()?o.getEndValues().pos:b;const nt=k&&!x?1:-1;if(je+=Pe*(Ne?5:1)*nt,!y&&(Pe*nt<=0&&je<E||Pe*nt>=0&&je>C)){let lt=0;return Math.abs(Pe)>0&&(lt=2*Math.abs(Pe),lt=Math.min(.3*Z(),lt)),je=$e(E+-1*lt,je,C+lt),void o.spring({clamp:!0,mass:1,tension:380,friction:25,velocity:-1*Pe,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:je}).start()}if(Ne||!((z=m.Autoscroll)===null||z===void 0)&&z.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:b}).to({pos:je}).start():o.isRunning()||B||(B=!0,D("settle")));if(!Ne&&!(!((O=m.Autoscroll)===null||O===void 0)&&O.isEnabled())&&(!ke.offsetX&&!ke.offsetY||P==="y"&&!x||P==="x"&&x))return void _e(A,{transition:"tween"});let bt=R(je);Math.abs(Pe)>10&&bt===A&&(bt+=Pe>0?k&&!x?1:-1:k&&!x?-1:1),_e(bt,{transition:"tween",tween:{tension:160,friction:25,velocity:-1*Pe}})}).init())}(),H(),function(){if(c&&(c.addEventListener("click",be,{passive:!1}),document.addEventListener("mousemove",ne),!i)){let he=null;i=new ResizeObserver(ke=>{he||(he=requestAnimationFrame(()=>{(function(z){if(!c)return;let O=z[0].contentBoxSize[0].blockSize,P=z[0].contentBoxSize[0].inlineSize;if(d===0)return I=O,j=P,d=1,Se(),Q(),void D("ready");if(d!==1)return;const ee=S.length;H();const se=c.getBoundingClientRect();O=se.height,P=se.width,ee>1&&(x&&Math.abs(O-I)<.5||!x&&Math.abs(P-j)<.5)||(I=O,j=P,x&&!O||!x&&!P||c&&f&&(ee===S.length&&(r!=null&&r.isPointerDown())||(U("dragFree")&&(y||b>E&&b<C)?(M(),Se()):_e(A,{transition:!1}))))})(ke),he=null}))}),i.observe(c)}}())}}function ne(q){Cl=q}function K(q="*"){var ae;const re=[];for(const le of T)(q==="*"||le.class&&le.class.includes(q)||le.el&&(!((ae=le.el)===null||ae===void 0)&&ae.classList.contains(q)))&&re.push(le);s=void 0,V=q,Y=[...re]}function M(){if(!o)return;const q=R(o!=null&&o.isRunning()?o.getEndValues().pos:b);q!==A&&(s=A,A=q,De(),Q(),fe(),D("change",A,s))}function Q(){var q;if(!c)return;ka(f,"is-draggable",!!r&&S.length>0);for(const le of c.querySelectorAll("[data-carousel-index]"))le.innerHTML=A+"";for(const le of c.querySelectorAll("[data-carousel-page]"))le.innerHTML=A+1+"";for(const le of c.querySelectorAll("[data-carousel-pages]"))le.innerHTML=S.length+"";let ae=!1;const re=(q=S[A])===null||q===void 0?void 0:q.slides[0];re&&(re.downloadSrc||re.type==="image"&&re.src)&&(ae=!0);for(const le of c.querySelectorAll("[data-carousel-download]"))le.toggleAttribute("aria-disabled",!ae)}function fe(q){var ae;if(!c)return;q||(q=(ae=S[A])===null||ae===void 0?void 0:ae.slides[0]);const re=q.el;if(re)for(const le of re.querySelectorAll("[data-slide-index]"))le.innerHTML=q.index+1+""}function R(q){if(!S.length||!o)return 0;const ae=me();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 le=new Map;let Ee=0;for(const ke of S){const z=Math.abs(ke.pos-re),O=Math.abs(ke.pos-re-ae),P=Math.abs(ke.pos-re+ae),ee=Math.min(z,O,P);le.set(Ee,ee),Ee++}const he=le.size>0?[...le.entries()].reduce((ke,z)=>z[1]<ke[1]?z:ke):[A,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(q=!0){const ae=ye();return Y.reduce((re,le)=>re+le.dim,0)+(Y.length-(y&&q?0:1))*ae}function $(q){const ae=ye(),re=me();let le=Z();if(!f)return[];const Ee=[];if(!re||!le)return[];q=q===void 0?b:q,y&&(q-=Math.floor(q/re)*re);let he=0,ke=0;if(h){const O=f.getBoundingClientRect();he=O.left,ke=O.right-O.width}let z=0;for(let O of Y){const P=(ee=0)=>{Ee.indexOf(O)>-1||(O.pos=z-q+ee||0,O.offset+ee>q-O.dim-he+.51&&O.offset+ee<q+le+ke-.51&&Ee.push(O))};if(O.offset=z,y)for(let ee=-1;ee<=1;ee++)P(re*ee);else P();z+=O.dim+ae}return Ee}function v(q,ae){const re=[];for(const le of Array.isArray(q)?q:[q]){const Ee=g(Object.assign(Object.assign({},le),{isVirtual:!0}));re.push(Ee)}T.splice(ae===void 0?T.length:ae,0,...re),J();for(const le of re)N(le);return K(V),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 N(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),D("contentReady",q))}function L(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),De(q);for(const le of T)if(le.index>q.index){re=le.el;break}f.insertBefore(ae,re&&f.contains(re)?re:null),D("attachSlideEl",q)}return ae}}function F(q){const ae=q==null?void 0:q.el;ae&&(ae.remove(),te(ae),D("detachSlideEl",q))}function J(){for(let q=0;q<T.length;q++){const ae=T[q],re=ae.el;re&&(ae.index!==q&&te(re),re.setAttribute("index",`${q}`)),ae.index=q}}function H(){var q,ae,re,le;if(!c||!f)return;k=U("rtl"),x=U("vertical"),w=x?"height":"width";const Ee=U("classes");ka(c,Ee.isLTR,!k),ka(c,Ee.isRTL,k),ka(c,Ee.isHorizontal,!x),ka(c,Ee.isVertical,x),ka(c,Ee.hasAdaptiveHeight,U("adaptiveHeight"));const he=f.getBoundingClientRect();if(!he.width&&!he.height)return;const ke=function(){let O=0;if(f){let P=document.createElement("div");ze(P,u.classes.slide),f.appendChild(P),O=P.getBoundingClientRect()[w],P.remove(),P=void 0}return O}();for(const O of Y){const P=O.el;let ee=0;if(!O.isVirtual&&P&&Ua(P)){let se=!1;P.parentElement&&P.parentElement===f||(f.appendChild(P),se=!0),ee=P.getBoundingClientRect()[w],se&&((q=P.parentElement)===null||q===void 0||q.removeChild(P))}else ee=ke;O.dim=ee}(function(){if(!c)return;J();const O=Z(),P=ye(),ee=me(!1);let se=U("slidesPerPage");se=se==="auto"?1/0:parseFloat(se+""),S=[];let xe=0,Ae=0;for(const Je of Y)(!S.length||xe+Je.dim-O>.05||Ae>=se)&&(S.push({index:S.length,slides:[],dim:0,offset:0,pos:0}),xe=0,Ae=0),S[S.length-1].slides.push(Je),xe+=Je.dim+P,Ae++;const Ne=U("center"),Pe=U("fill"),je=U("infinite");let nt=0;for(const Je of S){Je.dim=(Je.slides.length-1)*P;for(const xa of Je.slides)Je.dim+=xa.dim;Je.offset=nt,Je.pos=nt,Ne!==!1&&(Je.pos-=.5*(O-Je.dim)),Pe&&!je&&ee>O&&(Je.pos=$e(0,Je.pos,ee-O)),nt+=Je.dim+P}const bt=[];let lt;for(const Je of S){const xa=Object.assign({},Je);lt&&xa.pos===lt.pos?(lt.dim+=xa.dim,lt.slides=[...lt.slides,...xa.slides]):(lt=xa,xa.index=bt.length,bt.push(xa))}S=bt,Q()})();let z=Z();if(h){const O=f.getBoundingClientRect();z+=O.left,z+=O.right-O.width}if(y=U("infinite")&&S.length>1&&me()-(z+(((ae=Y[0])===null||ae===void 0?void 0:ae.dim)||0))>-.5,E=((re=S[0])===null||re===void 0?void 0:re.pos)||0,C=((le=S[S.length-1])===null||le===void 0?void 0:le.pos)||0,d===0)(function(){var O;s=void 0,A=U("initialPage");const P=U("initialSlide")||void 0;P!==void 0&&(A=Be.getPageIndex(P)||0),A=$e(0,A,S.length-1),b=((O=S[A])===null||O===void 0?void 0:O.pos)||0,_=b})();else{const O=o!=null&&o.isRunning()?o.getEndValues().pos:b;(O<E||O>C)&&(A=$e(0,A,S.length-1),_=S[A||0].pos||0)}D("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 le=[`f-${re}Out`,`f-${re}In`,"to-prev","to-next","from-prev","from-next"];q.removeEventListener("animationend",ge),Jt(q,le.join(" ")),X.delete(ae)}function ce(){if(!f)return;const q=X.size;for(const ae of Y)te(ae.el);X.clear(),q&&Se()}function ge(q){q.animationName.substring(0,2)==="f-"&&(te(q.target),X.size||(Jt(c,"in-transition"),!B&&Math.abs(Be.getPosition(!0)-_)<.5&&(B=!0,D("settle"))),Se())}function be(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 le=S[A].slides[0];if(le.downloadSrc||le.type==="image"&&le.src){const Ee=le.downloadFilename,he=document.createElement("a"),ke=le.downloadSrc||le.src||"";he.href=ke,he.target="_blank",he.download=Ee||ke,he.click()}}else D("click",q)}function ue(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 De(q){var ae;q||(q=(ae=S[A])===null||ae===void 0?void 0:ae.slides[0]);const re=q==null?void 0:q.el;if(!re)return;let le=U("formatCaption",q);le===void 0&&(le=q.caption),le=le||"";const Ee=U("captionEl");if(Ee&&Ee instanceof HTMLElement){if(q.index!==A)return;if(ft(le)&&(Ee.innerHTML=de(le+"")),le instanceof HTMLElement){if(le.parentElement===Ee)return;Ee.innerHTML="",le.parentElement&&(le=le.cloneNode(!0)),Ee.append(le)}return}if(!le)return;let he=q.captionEl||re.querySelector(".f-caption");!he&&le instanceof HTMLElement&&le.classList.contains("f-caption")&&(he=le),he||(he=document.createElement("div"),ze(he,"f-caption"),ft(le)?he.innerHTML=de(le+""):le instanceof HTMLElement&&(le.parentElement&&(le=le.cloneNode(!0)),he.append(le)));const ke=`f-caption-${Sl}_${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:le}=Object.assign({transition:u.transition,tween:u.tween},ae||{});if(!c||!o)return;const Ee=S.length;if(!Ee||function(ke,z){var O,P,ee,se;if(!(c&&o&&z&&ft(z)&&z!=="tween")||((O=S[A])===null||O===void 0?void 0:O.slides.length)>1)return!1;const xe=S.length;let Ae=ke>A?1:-1;ke=y?(ke%xe+xe)%xe:$e(0,ke,xe-1),k&&(Ae*=-1);const Ne=(P=S[A])===null||P===void 0?void 0:P.slides[0],Pe=Ne==null?void 0:Ne.index,je=(ee=S[ke])===null||ee===void 0?void 0:ee.slides[0],nt=je==null?void 0:je.index,bt=(se=S[ke])===null||se===void 0?void 0:se.pos;if(nt===void 0||Pe===void 0||Pe===nt||b===bt||Math.abs(Z()-((je==null?void 0:je.dim)||0))>1)return!1;B=!1,o.pause(),ce(),ze(c,"in-transition"),b=_=bt;const lt=L(Ne),Je=L(je);return M(),lt&&(X.add(Pe),lt.style.transform="",lt.addEventListener("animationend",ge),Jt(lt,u.classes.isSelected),ze(lt,`f-${z}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-${z}In from-${Ae>0?"prev":"next"}`)),Se(),!0}(q,re))return;q=y?(q%Ee+Ee)%Ee:$e(0,q,Ee-1),_=S[q||0].pos||0;const he=o.isRunning()?o.getEndValues().pos:b;if(Math.abs(_-he)<1)return b=_,A!==q&&(De(),Q(),fe(),s=A,A=q,D("change",A,s)),Se(),void(B||(B=!0,D("settle")));if(o.pause(),ce(),y){const ke=me(),z=Math.floor((he-S[0].pos)/ke),O=_+z*ke;_=[O+ke,O,O-ke].reduce(function(P,ee){return Math.abs(ee-he)<Math.abs(P-he)?ee:P})}re!==!1&&Et(le)?o.spring(le).from({pos:b}).to({pos:_}).start():(b=_,M(),Se(),B||(B=!0,D("settle")))}function Se(){var q;if(!c||!f)return;const ae=S[A];G=$();const re=new Set;let le;const Ee=[];for(const he of Y){if(he.isVirtual&&!X.has(he.index)&&G.indexOf(he)<0)continue;let ke=L(he);if(!ke)continue;Ee.push(he);const z=((q=ae==null?void 0:ae.slides)===null||q===void 0?void 0:q.indexOf(he))>-1;if(z&&re.add(ke),!X.has(he.index)){const O=he.pos?Math.round(1e4*he.pos)/1e4:0,P=x?0:k?-1*O:O,ee=x?O:0,se=Ao(P,0,he.dim,0,100),xe=Ao(ee,0,he.dim,0,100),Ae=u.setTransform||void 0;Ae instanceof Function?Ae(Be,he,{x:P,y:ee,xPercent:se,yPercent:xe}):ke.style.transform=P||ee?`translate3d(${se}%, ${xe}%,0)`:""}if(U("adaptiveHeight")&&z){const O=(ke.firstElementChild||ke).getBoundingClientRect().height;le=le==null?O:Math.max(le,O)}}[...Bo(f,`.${u.classes.slide}`)].forEach(he=>{const ke=parseInt(he.getAttribute("index")||"-1"),z=T[ke];z||he.remove(),ka(he,u.classes.isSelected,re.has(he)),z.isVirtual&&!X.has(z.index)&&G.indexOf(z)<0&&F(z)}),f&&le&&(f.style.height=`${le}px`),D("render",Ee)}function Le(){var q;c==null||c.removeEventListener("click",be),ce(),document.removeEventListener("mousemove",ne),i==null||i.disconnect(),i=void 0;for(const ae of T)ae.el&&Ua(ae.el)&&(ae.state=void 0,ue(ae),Me(ae),F(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=b,le=_,Ee=v(q,ae);for(const he of Ee)D("addSlide",he);return K(V),H(),o&&le!==_&&o.spring({clamp:!0,mass:1,tension:300,friction:25,restDelta:1,restSpeed:1}).from({pos:re}).to({pos:_}).start(),Se(),Be},canGoPrev:function(){return y||A>0},canGoNext:function(){return y||A<S.length-1},destroy:function(){return D("destroy"),window.removeEventListener("resize",ie),Le(),W.clear(),c=null,S=[],T=[],u=Object.assign({},Ka),m={},Y=[],l="",V="*",d=2,Be},emit:D,filter:function(q="*"){return K(q),H(),Se(),D("filter",q),Be},getContainer:function(){return c},getGapDim:ye,getGestures:function(){return r},getLastMouseMove:function(){return Cl},getOptions:function(){return u},getPage:function(){return S[A]},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 A},getPageProgress:function(q,ae){q===void 0&&(q=A);const re=S[q];if(!re)return q>A?-1:1;const le=me(),Ee=ye();let he=re.pos,ke=Be.getPosition();if(y&&ae!==!0){const z=Math.floor((ke-S[0].pos)/le);ke-=z*le,he=[he+le,he,he-le].reduce(function(O,P){return Math.abs(P-ke)<Math.abs(O-ke)?P:O})}return(ke-he)/(re.dim+Ee)},getPageVisibility:function(q){q===void 0&&(q=A);const ae=S[q];if(!ae)return q>A?-1:1;const re=Be.getPosition(),le=Z();let Ee=ae.pos;if(y){const he=Be.getPosition(),ke=me(),z=Ee+Math.floor((he-S[0].pos)/ke)*ke;Ee=[z+ke,z,z-ke].reduce(function(O,P){return Math.abs(P-he)<Math.abs(O-he)?P:O})}return Ee>re&&Ee+ae.dim<re+le?1:Ee<re?(Ee+ae.dim-re)/ae.dim:Ee+ae.dim>re+le?(re+le-Ee)/ae.dim:0},getPages:function(){return S},getPlugins:function(){return m},getPosition:function(q){var ae;let re=b;if(y&&q!==!0){const le=me();re-=Math.floor((b-((ae=S[0])===null||ae===void 0?void 0:ae.pos)||0)/le)*le}return re},getSlides:function(){return T},getState:function(){return d},getTotalSlideDim:me,getTween:function(){return o},getViewport:function(){return f},getViewportDim:Z,getVisibleSlides:function(q){return q===void 0?G:$(q)},goTo:_e,hasNavigated:function(){return s!==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 k},isSettled:function(){return B},localize:function(q,ae=[]){return de(q,ae)},next:function(q={}){return _e(A+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(le=>le!==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(A-1,q),Be},remove:function(q){q===void 0&&(q=T.length-1);const ae=T[q];return ae&&(D("removeSlide",ae),ae.el&&(te(ae.el),ae.el.remove(),ae.el=void 0),T.splice(q,1),K(V),H(),Se()),Be},setPosition:function(q){b=q,M(),Se()},showError:function(q,ae){ue(q),Me(q);const re=q.el;if(re){const le=document.createElement("div");ze(le,"f-html"),ze(le,"is-error"),le.innerHTML=de(ae||"<p>{{ERROR}}</p>"),q.htmlEl=le,ze(re,"has-html"),ze(re,"has-error"),re.insertAdjacentElement("afterbegin",le),D("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 le=U("spinnerTpl"),Ee=fa(le);return Ee&&(ze(Ee,"f-spinner"),ze(ae,"is-loading"),ae.insertAdjacentElement("beforeend",Ee)),Be},version:"6.0.16"};return Be};sr.l10n={en_EN:Vo},sr.getDefaults=()=>Ka;/*! License details at fancyapps.com/license */const Ml=(e=!0,a="--f-scrollbar-compensate",n="--f-body-margin",r="hide-scrollbar")=>{const o=document,i=o.body,s=o.documentElement;if(e){if(i.classList.contains(r))return;let l=window.innerWidth-s.getBoundingClientRect().width;l<0&&(l=0),s.style.setProperty(a,`${l}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 Bl(){return!(typeof window>"u"||!window.document||!window.document.createElement)}/*! License details at fancyapps.com/license */const ba=function(e="",a="",n=""){return e.split(a).join(n)};/*! License details at fancyapps.com/license */const Al={tpl:e=>`<img class="f-panzoom__content"
7
7
  ${e.srcset?'data-lazy-srcset="{{srcset}}"':""}
8
8
  ${e.sizes?'data-lazy-sizes="{{sizes}}"':""}
9
9
  data-lazy-src="{{src}}" alt="{{alt}}" />`},A7=()=>{let e;function a(u,m){const c=e==null?void 0:e.getOptions().Zoomable;let f=(Et(c)?Object.assign(Object.assign({},Al),c):Al)[u];return f&&typeof f=="function"&&m?f(m):f}function n(){e&&(e.on("addSlide",i),e.on("removeSlide",s),e.on("attachSlideEl",l),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||"",k=m.sizes||m.lazySizes||"";if(f&&ft(f)&&!m.html&&(!m.type||m.type==="image")){m.type="image";let B=a("tpl",m);B=ba(B,"{{src}}",f+""),B=ba(B,"{{alt}}",h+""),B=ba(B,"{{srcset}}",y+""),B=ba(B,"{{sizes}}",k+""),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",b=Mo(c,Object.assign({width:x,height:w,event:()=>e==null?void 0:e.getLastMouseMove(),classes:{container:"f-zoomable"}},a("Panzoom")));b.on("*",(B,A,..._)=>{e&&(A==="loading"&&(m.state=0),A==="loaded"&&(m.state=1),A==="error"&&(m.state=2,e==null||e.showError(m,"{{IMAGE_ERROR}}")),e.emit(`panzoom:${A}`,m,..._),A==="ready"&&e.emit("contentReady",m),m.index===e.getPageIndex()&&d())}),m.panzoomRef=b}function s(u,m){m.panzoomRef&&(m.panzoomRef.destroy(),m.panzoomRef=void 0)}function l(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,k=!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 b=!1;if(k)b=!0;else switch(w){case we.ZoomIn:f||(b=!0);break;case we.ZoomOut:h||(b=!0);break;case we.ToggleFull:f||h||(b=!0);const B=x.querySelector("g");B&&(B.style.display=y?"none":"");break;case we.ToggleCover:case we.ToggleMax:f||h||(b=!0)}b?(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",s),e.off("attachSlideEl",l),e.off("change",r);for(const u of e.getSlides())s(0,u)}e=void 0},execute:p}};/*! License details at fancyapps.com/license */const Vl={syncOnChange:!1,syncOnClick:!0,syncOnHover:!1},Dl=()=>{let e,a;function n(){const f=e==null?void 0:e.getOptions().Sync;return Et(f)?Object.assign(Object.assign({},Vl),f):Vl}function r(f){var h,y,k;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",s),n().syncOnClick&&e.on("click",d),n().syncOnHover&&((k=e.getViewport())===null||k===void 0||k.addEventListener("mouseover",p)),function(){!e||!a||(e.on("ready",i),e.on("refresh",u),a.on("change",l),a.on("filter",m))}())}function o(){const f=n().target;e&&f&&r(f)}function i(){c()}function s(){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 l(){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 k=e==null?void 0:e.getOptions().classes.slide;if(!k)return;const x=k?h.target.closest(`.${k}`):null;if(x){const w=parseInt(x.getAttribute("index")||"")||0,b=a.getPageIndex(w);a.goTo(b)}}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),l())}function c(){var f,h,y;if(!a)return;const k=((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===k)}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",s),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",l),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 _l={showLoading:!0,preload:1},lr="is-lazyloading",Nl="is-lazyloaded",Tl=()=>{let e;function a(){const o=e==null?void 0:e.getOptions().Lazyload;return Et(o)?Object.assign(Object.assign({},_l),o):_l}function n(o){const i=o.el;if(!i)return;const s="[data-lazy-src],[data-lazy-srcset],[data-lazy-bg]",l=Array.from(i.querySelectorAll(s));i.matches(s)&&l.push(i);for(const d of l){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(lr),d.classList.add(Nl)}):(d.classList.remove(lr),d.classList.add(Nl)),e==null||e.emit("lazyLoad:loaded",o,d,y)}),d.addEventListener("error",()=>{e==null||e.hideLoading(o),d.classList.remove(lr),d.classList.add("has-lazyerror"),e==null||e.emit("lazyLoad:error",o,d,y)}),d.classList.add("f-lazyload"),d.classList.add(lr),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()],s=e.getPosition(),l=e.getViewportDim();i.push(...e.getVisibleSlides(s+l*o),...e.getVisibleSlides(s-l*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 Pl={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>'},V7=()=>{let e,a,n;function r(s){if(!e)return;const l=`<button data-carousel-go-${s} tabindex="0" class="f-button is-arrow is-${s}" title="{{${s.toUpperCase()}}}">`+function(){const d=e==null?void 0:e.getOptions().Arrows;return Et(d)?Object.assign(Object.assign({},Pl),d):Pl}()[`${s}Tpl`]+"</button";return fa(e.localize(l))||void 0}function o(){var s;a==null||a.remove(),a=void 0,n==null||n.remove(),n=void 0,(s=e==null?void 0:e.getContainer())===null||s===void 0||s.classList.remove("has-arrows")}function i(){e&&e.getOptions().Arrows!==!1&&e.getPages().length>1?(function(){if(!e)return;const s=e.getViewport();s&&(a||(a=r("prev"),a&&s.insertAdjacentElement("beforebegin",a)),n||(n=r("next"),n&&s.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(s){e=s.on(["change","refresh"],i)},destroy:function(){o(),e==null||e.off(["change","refresh"],i),e=void 0}}};/*! License details at fancyapps.com/license */const Ol={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 Fl;(function(e){e.Left="left",e.middle="middle",e.right="right"})(Fl||(Fl={}));const Ll=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>'}},Ol),$l={absolute:!1,display:{left:[],middle:["zoomIn","zoomOut","toggle1to1","rotateCCW","rotateCW","flipX","flipY","reset"],right:[]},enabled:"auto",items:{}},Hl=()=>{let e,a;function n(){const o=e==null?void 0:e.getOptions().Toolbar;return Et(o)?Object.assign(Object.assign({},$l),o):$l}function r(){var o,i,s;if(!(e!=null&&e.getOptions().Toolbar)||!e||a)return;let l=n().enabled;if(!l)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(l==="auto"&&(l=u),!l)return;a=document.createElement("div"),a.classList.add("f-carousel__toolbar");const y=n().display,k=Tt({},Ll,n().items);for(const x of["left","middle","right"]){const w=y[x]||[],b=document.createElement("div");b.classList.add("f-carousel__toolbar__column"),b.classList.add(`is-${x}`);for(const B of w){let A;if(ft(B)){if(B==="counter"&&!p||B==="autoplay"&&!f||Ol[B]&&!u||B==="fullscreen"&&!h||B==="thumbs"&&!c||B==="download"&&!m)continue;A=k[B]}if(typeof B=="object"&&(A=B),A&&A.tpl){let _=e.localize(A.tpl);_=_.split("<svg>").join('<svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24">');const E=fa(_);E&&(typeof A.click=="function"&&e&&E.addEventListener("click",C=>{C.preventDefault(),C.stopPropagation(),typeof A.click=="function"&&e&&A.click(e,C)}),b.append(E))}}a.append(b)}a.childElementCount&&(d===!0&&a.classList.add("is-absolute"),(i=e.getContainer())===null||i===void 0||i.classList.add("has-toolbar"),(s=e.getViewport())===null||s===void 0||s.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){Ll[o]=i},isEnabled:function(){return!!a}}};/*! License details at fancyapps.com/license */const Rl={autoStart:!0,pauseOnHover:!0,showProgressbar:!0,timeout:2e3},D7=()=>{let e,a,n=!1,r=!1,o=!1,i=null;function s(_){const E=e==null?void 0:e.getOptions().Autoplay;let C=(Et(E)?Object.assign(Object.assign({},Rl),E):Rl)[_];return C&&typeof C=="function"&&e?C(e):C}function l(){var _;const E=((_=e==null?void 0:e.getPage())===null||_===void 0?void 0:_.slides)||[];for(const C of E)if(C.state===0)return!0;return!1}function d(){clearTimeout(a),a=void 0}function p(){if(a||o||l()||!(e!=null&&e.isSettled()))return;(function(){var E,C,V,T;if(!e||(c(),!s("showProgressbar")))return;let Y=s("progressbarParentEl");if(!Y&&(!((E=e.getPlugins().Toolbar)===null||E===void 0)&&E.isEnabled())&&(Y=e.getContainer()),!Y&&((C=e.getPlugins().Toolbar)===null||C===void 0?void 0:C.isEnabled())!==!0){const G=((V=e.getPages()[0])===null||V===void 0?void 0:V.slides)||[],S=((T=e.getPage())===null||T===void 0?void 0:T.slides)||[];G.length===1&&S.length===1&&(Y=S[0].el)}if(Y||(Y=e.getViewport()),!Y)return;i=document.createElement("div"),i.classList.add("f-progressbar"),Y.prepend(i);const X=s("timeout")||1e3;i.style.animationDuration=`${X}ms`})();const _=s("timeout");a=setTimeout(()=>{e&&n&&!r&&(e.isInfinite()||e.getPageIndex()!==e.getPages().length-1?e.next():e.goTo(0))},_)}function u(){var _,E;if(!e||e.getPages().length<2||e.getOptions().Autoplay===!1||n)return;n=!0,e.emit("autoplay:start",s("timeout")),(_=e.getContainer())===null||_===void 0||_.classList.add("has-autoplay"),(E=e.getTween())===null||E===void 0||E.on("start",w);const C=e==null?void 0:e.getContainer();C&&s("pauseOnHover")&&matchMedia("(hover: hover)").matches&&(C.addEventListener("mouseenter",b,!1),C.addEventListener("mouseleave",B,!1)),e.on("change",k),e.on("settle",x),e.on("contentReady",h),e.on("panzoom:animationStart",m),e.isSettled()&&p()}function m(){var _,E;if(d(),c(),n&&e){e.emit("autoplay:end"),(_=e.getContainer())===null||_===void 0||_.classList.remove("has-autoplay"),(E=e.getTween())===null||E===void 0||E.off("start",w);const C=e==null?void 0:e.getContainer();C&&(C.removeEventListener("mouseenter",b,!1),C.removeEventListener("mouseleave",B,!1))}e&&(e.off("change",k),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&&s("autoStart")&&u()}function h(_){e&&e.getPageIndex(_.index)===e.getPageIndex()&&(!n||o||l()||p())}function y(_,E){const C=E.target;C&&!E.defaultPrevented&&C.dataset.autoplayAction==="toggle"&&A.toggle()}function k(){!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 b(){o=!0,n&&(c(),d())}function B(){o=!1,n&&!r&&(e!=null&&e.isSettled())&&p()}const A={init:function(_){e=_,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 A};/*! License details at fancyapps.com/license */const Do={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 _o;const _7=()=>{let e,a,n,r=0,o=0,i=!0;function s(b){const B=e==null?void 0:e.getOptions().Thumbs;let A=(Et(B)?Object.assign(Object.assign({},Do),B):Do)[b];return A&&typeof A=="function"?A():A}function l(){if(!e||(e==null?void 0:e.getOptions().Thumbs)===!1)return!1;let b=0;for(const B of e.getSlides())B.thumbSrc&&b++;return b>=s("minCount")}function d(){return s("type")==="modern"}function p(b=!1){const B=e==null?void 0:e.getContainer();if(e&&B&&!n&&l()){if(!n){const A=B.nextElementSibling;A!=null&&A.classList.contains("f-thumbs")&&(n=A)}if(!n){n=document.createElement("div"),n.classList.add("f-thumbs");const A=s("parentEl");A?A.insertAdjacentElement("beforeend",n):B.insertAdjacentElement("afterend",n)}n.classList.add(`is-${s("type")}`),n.classList.add("is-syncing"),b&&(n.style.maxHeight="0px")}}function u(b){let B=b.thumb?b.thumb instanceof HTMLImageElement?b.thumb.src:b.thumb:b.thumbSrc||void 0,A=s("thumbTpl");return A=ba(A,"{{alt}}",`Thumbnail #${b.index}`),A=ba(A,"{{src}}",B+""),A=ba(A,"{{index}}",`${b.index}`),A=ba(A,"{{page}}",`${b.index||1}`),{html:A,class:b.thumbClass}}function m(){var b,B;if(!_o||!e||!n||a)return;const A=[];for(const _ of e.getSlides())A.push(u(_));A.length&&(a=_o(n,Tt({},{Sync:{target:e},Lazyload:{preload:1},slides:A,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:_=>{let E=0;return d()&&(function(){if(!d()||!n)return;const C=V=>n&&parseFloat(getComputedStyle(n).getPropertyValue("--f-thumb-"+V))||0;r=C("width"),o=C("clip-width")}(),E=4*(r-o)),_&&_.getTotalSlideDim()<=_.getViewportDim()-E?1/0:1}},Do.Carousel||{},s("Carousel")||{}),{Sync:Dl,Lazyload:Tl}).init(),(b=a.getGestures())===null||b===void 0||b.on("start",()=>{i=!1}),a.on("click",(_,E)=>{const C=E.target;if(C){const V=C.matches("button")?C:C.firstElementChild;V&&V.matches("button")&&V.focus({})}}),(B=e.getContainer())===null||B===void 0||B.classList.add("has-thumbs"),w())}function c(){var b;l()&&(s("showOnStart")&&(p(),m()),(b=e==null?void 0:e.getGestures())===null||b===void 0||b.on("start",f),e==null||e.on("addSlide",k),e==null||e.on("click",x))}function f(){var b,B;i=!0,!((b=document.activeElement)===null||b===void 0)&&b.closest(".f-thumbs")&&((B=document.activeElement)===null||B===void 0||B.blur())}function h(){var b,B;n==null||n.classList.toggle("is-syncing",(e==null?void 0:e.hasNavigated())===!1||((b=e==null?void 0:e.getTween())===null||b===void 0?void 0:b.isRunning())),w(),!((B=e==null?void 0:e.getGestures())===null||B===void 0)&&B.isPointerDown()&&function(){if(!d()||!e||!a||!i)return;const A=a.getTween(),_=a.getPages(),E=e.getPageIndex()||0,C=e.getPageProgress()||0;if(!(e&&_&&_[E]&&A))return;const V=A.isRunning()?A.getCurrentValues().pos:a.getPosition();if(V===void 0)return;let T=_[E].pos+C*(r-o);T=$e(_[0].pos,T,_[_.length-1].pos),A.from({pos:V}).to({pos:T}).start()}()}function y(){i=!0}function k(b,B){a==null||a.add(u(B),B.index)}function x(b,B){const A=B.target;A&&!B.defaultPrevented&&A.dataset.thumbsAction==="toggle"&&function(){if(n||(p(!0),m()),!n)return;const _=n.style.maxHeight;n.style.maxHeight=_?"":"0px"}()}function w(){if(!d()||!e||!a)return;const b=(a==null?void 0:a.getSlides())||[];let B=-.5*r;for(const A of b){const _=A.el;if(!_)continue;let E=e.getPageProgress(A.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,_.style.setProperty("--progress",`${Math.abs(E)}`),_.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(b,B){_o=B,e=b,e.on("ready",c),e.on("render",h),e.on("change",y)},destroy:function(){var b,B;e==null||e.off("ready",c),e==null||e.off("render",h),e==null||e.off("change",y),e==null||e.off("addSlide",k),e==null||e.off("click",x),(b=e==null?void 0:e.getGestures())===null||b===void 0||b.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 l()}}};/*! License details at fancyapps.com/license */const zl={iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"}},N7=()=>{let e;function a(o,i){let s=i.src;if(!ft(s))return;let l=i.type;if(!l){if(l||(s.charAt(0)==="#"?l="inline":s.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.((a)?png|avif|gif|jp(g|eg)|pjp(eg)?|jfif|svg|webp|bmp|ico|tif(f)?)((\?|#).*)?$)/i)?l="image":s.match(/\.(pdf)((\?|#).*)?$/i)?l="pdf":s.match(/\.(html|php)((\?|#).*)?$/i)&&(l="iframe")),!l){const d=s.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i);d&&(s=`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"}`,l="gmap")}if(!l){const d=s.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i);d&&(s=`https://maps.google.${d[1]}/maps?q=${d[2].replace("query=","q=").replace("api=1","")}&output=embed`,l="gmap")}i.src=s,i.type=l}}function n(o,i){i.type!=="iframe"&&i.type!=="pdf"&&i.type!=="gmap"||function(s){if(!e||!s.el||!s.src)return;const l=document.createElement("iframe");l.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({},zl),m):zl}().iframeAttr||{}))l.setAttribute(p,u);l.onerror=()=>{e&&e.getState()===1&&e.showError(s,"{{IFRAME_ERROR}}")},l.src=s.src;const d=document.createElement("div");if(d.classList.add("f-html"),d.append(l),s.width){let p=`${s.width}`;p.match(/^\d+$/)&&(p+="px"),d.style.maxWidth=`${p}`}if(s.height){let p=`${s.height}`;p.match(/^\d+$/)&&(p+="px"),d.style.maxHeight=`${p}`}if(s.aspectRatio){const p=s.el.getBoundingClientRect();d.style.aspectRatio=`${s.aspectRatio}`,d.style[p.width>p.height?"width":"height"]="auto",d.style[p.width>p.height?"maxWidth":"maxHeight"]="none"}s.contentEl=l,s.htmlEl=d,s.el.classList.add("has-html"),s.el.classList.add("has-iframe"),s.el.classList.add(`has-${s.type}`),s.el.prepend(d),e.emit("contentReady",s)}(i)}function r(o,i){var s,l;i.type!=="iframe"&&i.type!=="pdf"&&i.type!=="gmap"||(e==null||e.hideError(i),(s=i.contentEl)===null||s===void 0||s.remove(),i.contentEl=void 0,(l=i.htmlEl)===null||l===void 0||l.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 Il=(e,a={})=>{const n=new URL(e),r=new URLSearchParams(n.search),o=new URLSearchParams;for(const[l,d]of[...r,...Object.entries(a)]){let p=d+"";if(l==="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(l,p)}let i=o+"",s=e.match(/#t=((.*)?\d+s)/);return s&&(i+=`#t=${s[1]}`),i},Gl={autoplay:!1,html5videoTpl:`<video class="f-html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">
@@ -89,11 +89,11 @@
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 s(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 l=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 s(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,a8)):e.mimetype==="application/pdf"&&e.mode==="miniature"?(t.openBlock(),t.createElementBlock("svg",n8,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,r8)):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:l(e.base64)?e.base64:e.base64.replace("+","%2B")},null,10,o8)):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,s8)],8,i8)):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",l8,[t.createElementVNode("div",c8,[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",d8,[(t.openBlock(),t.createElementBlock("svg",u8,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",m8,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",f8,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",h8,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,p8)])):(t.openBlock(),t.createElementBlock("span",g8,"Carregando..."))])):d(e.mimetype)&&e.mode==="miniature"?(t.openBlock(),t.createElementBlock("svg",y8,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",k8,[t.createVNode(e1,{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",b8,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",x8,[t.createElementVNode("p",w8,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",v8,[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",E8,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"]]),C8={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 s=e.width/r*2.5,l=e.height/2;let d=0;a.strokeStyle="green",a.lineWidth=2,a.beginPath(),a.moveTo(0,l),a.lineTo(e.width,l),a.stroke(),o.forEach(p=>{const u=p;a.fillStyle=`rgb(50, ${u+100}, 50)`,a.fillRect(d,l-u/2,s,u),d+=s+1}),this.audioStream.active&&requestAnimationFrame(i)};i()}}},S8={ref:"canvas",width:"200",height:"40",class:"mx-auto flex items-center rounded"};function M8(e,a,n,r,o,i){return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("canvas",S8,null,512)])}const B8=qe(C8,[["render",M8],["__scopeId","data-v-d91f4ade"]]),A8={key:0,class:"flex w-full items-center space-x-3 text-white dark:text-black"},V8=["disabled"],D8=["disabled"],_8={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"},N8={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"},T8={key:5,class:"flex w-full items-center space-x-2"},P8={class:"text-xs"},O8={key:0},F8={key:1,class:"flex items-center px-2 pr-[21px]"},L8=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),s=t.ref(!1),l=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),k=t.ref(!1),x=t.ref(!1),w=G=>{f.value=G},b=G=>{h.value=G},B=G=>{const S=Math.floor(G/60),I=(G%60).toFixed(0),j=S.toString().padStart(2,"0"),U=I.toString().padStart(2,"0");return`${j}:${U}`},A=async()=>{try{u.value=null,c.value=await navigator.mediaDevices.getUserMedia({audio:!0}),o.value=new MediaRecorder(c.value),o.value.ondataavailable=_,o.value.start(),E(),i.value=!0,r("recording",!0)}catch(G){console.error("Erro ao iniciar a gravação:",G)}},_=G=>{G.data.size>0&&!k.value&&(p.value=new Blob([G.data]),y.value=URL.createObjectURL(p.value),T())},E=()=>{let G=Date.now();m.value=setInterval(()=>{l.value=d.value+Math.floor((Date.now()-G)/1e3)},1e3)},C=async()=>{u.value=null,o.value&&i.value&&(s.value?(o.value.resume(),E()):(o.value.pause(),clearInterval(m.value),d.value=l.value),s.value=!s.value)},V=async()=>{o.value&&i.value&&(await o.value.stop(),clearInterval(m.value),i.value=!1,s.value=!1,T()),c.value&&c.value.getTracks().forEach(G=>G.stop()),console.log(u.value)},T=async()=>{if(p.value){const G=new Blob([p.value],{type:"audio/mpeg"}),S=new FileReader;S.onload=()=>{u.value=S.result},S.readAsDataURL(G)}},Y=async()=>{x.value=!0,r("b64Audio",u.value);const S={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,S,n.attendant,!0),r("recording",!1),x.value=!1,c.value=null,u.value=null,p.value=null,i.value=!1,s.value=!1,l.value=0},X=async()=>{k.value=!0,i.value=!1,r("recording",!1),await o.value.stop(),c.value&&(c.value.getTracks().forEach(G=>G.stop()),c.value=null),p.value=null,clearInterval(m.value),u.value=null,s.value=!1,l.value=0};return(G,S)=>{var I;return x.value?(t.openBlock(),t.createElementBlock("div",F8,S[9]||(S[9]=[t.createElementVNode("span",{class:"loader-audio-recorder"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",A8,[!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=>(A(),d.value=0,k.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,V8)):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=>X())},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&&!s.value,onClick:C},[s.value?(t.openBlock(),t.createElementBlock("svg",N8,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",_8,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,D8)):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:V},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&&!s.value?(t.openBlock(),t.createBlock(B8,{key:4,"audio-stream":c.value},null,8,["audio-stream"])):t.createCommentVNode("",!0),u.value?(t.openBlock(),t.createElementBlock("div",T8,[t.createVNode(e1,{avatar:((I=e.attendant)==null?void 0:I.photo)||null,audio:u.value,onDuration:w,onCurrentTime:b},null,8,["avatar","audio"]),t.createElementVNode("main",P8,[t.createElementVNode("div",null,t.toDisplayString(B(h.value)),1),i.value||p.value?(t.openBlock(),t.createElementBlock("div",O8,t.toDisplayString(B(l.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:S[2]||(S[2]=j=>Y())},S[8]||(S[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"]]);/*! Capacitor: https://capacitorjs.com/ - MIT License */var Ja;(function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"})(Ja||(Ja={}));class Ho extends Error{constructor(a,n,r){super(a),this.message=a,this.code=n,this.data=r}}const $8=e=>{var a,n;return e!=null&&e.androidBridge?"android":!((n=(a=e==null?void 0:e.webkit)===null||a===void 0?void 0:a.messageHandlers)===null||n===void 0)&&n.bridge?"ios":"web"},H8=e=>{const a=e.CapacitorCustomPlatform||null,n=e.Capacitor||{},r=n.Plugins=n.Plugins||{},o=()=>a!==null?a.name:$8(e),i=()=>o()!=="web",s=m=>{const c=p.get(m);return!!(c!=null&&c.platforms.has(o())||l(m))},l=m=>{var c;return(c=n.PluginHeaders)===null||c===void 0?void 0:c.find(f=>f.name===m)},d=m=>e.console.error(m),p=new Map,u=(m,c={})=>{const f=p.get(m);if(f)return console.warn(`Capacitor plugin "${m}" already registered. Cannot register plugins twice.`),f.proxy;const h=o(),y=l(m);let k;const x=async()=>(!k&&h in c?k=typeof c[h]=="function"?k=await c[h]():k=c[h]:a!==null&&!k&&"web"in c&&(k=typeof c.web=="function"?k=await c.web():k=c.web),k),w=(C,V)=>{var T,Y;if(y){const X=y==null?void 0:y.methods.find(G=>V===G.name);if(X)return X.rtype==="promise"?G=>n.nativePromise(m,V.toString(),G):(G,S)=>n.nativeCallback(m,V.toString(),G,S);if(C)return(T=C[V])===null||T===void 0?void 0:T.bind(C)}else{if(C)return(Y=C[V])===null||Y===void 0?void 0:Y.bind(C);throw new Ho(`"${m}" plugin is not implemented on ${h}`,Ja.Unimplemented)}},b=C=>{let V;const T=(...Y)=>{const X=x().then(G=>{const S=w(G,C);if(S){const I=S(...Y);return V=I==null?void 0:I.remove,I}else throw new Ho(`"${m}.${C}()" is not implemented on ${h}`,Ja.Unimplemented)});return C==="addListener"&&(X.remove=async()=>V()),X};return T.toString=()=>`${C.toString()}() { [capacitor code] }`,Object.defineProperty(T,"name",{value:C,writable:!1,configurable:!1}),T},B=b("addListener"),A=b("removeListener"),_=(C,V)=>{const T=B({eventName:C},V),Y=async()=>{const G=await T;A({eventName:C,callbackId:G},V)},X=new Promise(G=>T.then(()=>G({remove:Y})));return X.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await Y()},X},E=new Proxy({},{get(C,V){switch(V){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return y?_:B;case"removeListener":return A;default:return b(V)}}});return r[m]=E,p.set(m,{name:m,proxy:E,platforms:new Set([...Object.keys(c),...y?[h]:[]])}),E};return n.convertFileSrc||(n.convertFileSrc=m=>m),n.getPlatform=o,n.handleError=d,n.isNativePlatform=i,n.isPluginAvailable=s,n.registerPlugin=u,n.Exception=Ho,n.DEBUG=!!n.DEBUG,n.isLoggingEnabled=!!n.isLoggingEnabled,n},Ro=(e=>e.Capacitor=H8(e))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Cn=Ro.registerPlugin;class Sn{constructor(){this.listeners={},this.retainedEventArguments={},this.windowListeners={}}addListener(a,n){let r=!1;this.listeners[a]||(this.listeners[a]=[],r=!0),this.listeners[a].push(n);const i=this.windowListeners[a];i&&!i.registered&&this.addWindowListener(i),r&&this.sendRetainedArgumentsForEvent(a);const s=async()=>this.removeListener(a,n);return Promise.resolve({remove:s})}async removeAllListeners(){this.listeners={};for(const a in this.windowListeners)this.removeWindowListener(this.windowListeners[a]);this.windowListeners={}}notifyListeners(a,n,r){const o=this.listeners[a];if(!o){if(r){let i=this.retainedEventArguments[a];i||(i=[]),i.push(n),this.retainedEventArguments[a]=i}return}o.forEach(i=>i(n))}hasListeners(a){var n;return!!(!((n=this.listeners[a])===null||n===void 0)&&n.length)}registerWindowListener(a,n){this.windowListeners[n]={registered:!1,windowEventName:a,pluginEventName:n,handler:r=>{this.notifyListeners(n,r)}}}unimplemented(a="not implemented"){return new Ro.Exception(a,Ja.Unimplemented)}unavailable(a="not available"){return new Ro.Exception(a,Ja.Unavailable)}async removeListener(a,n){const r=this.listeners[a];if(!r)return;const o=r.indexOf(n);this.listeners[a].splice(o,1),this.listeners[a].length||this.removeWindowListener(this.windowListeners[a])}addWindowListener(a){window.addEventListener(a.windowEventName,a.handler),a.registered=!0}removeWindowListener(a){a&&(window.removeEventListener(a.windowEventName,a.handler),a.registered=!1)}sendRetainedArgumentsForEvent(a){const n=this.retainedEventArguments[a];n&&(delete this.retainedEventArguments[a],n.forEach(r=>{this.notifyListeners(a,r)}))}}const t1=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),a1=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class R8 extends Sn{async getCookies(){const a=document.cookie,n={};return a.split(";").forEach(r=>{if(r.length<=0)return;let[o,i]=r.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");o=a1(o).trim(),i=a1(i).trim(),n[o]=i}),n}async setCookie(a){try{const n=t1(a.key),r=t1(a.value),o=`; expires=${(a.expires||"").replace("expires=","")}`,i=(a.path||"/").replace("path=",""),s=a.url!=null&&a.url.length>0?`domain=${a.url}`:"";document.cookie=`${n}=${r||""}${o}; path=${i}; ${s};`}catch(n){return Promise.reject(n)}}async deleteCookie(a){try{document.cookie=`${a.key}=; Max-Age=0`}catch(n){return Promise.reject(n)}}async clearCookies(){try{const a=document.cookie.split(";")||[];for(const n of a)document.cookie=n.replace(/^ +/,"").replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)}catch(a){return Promise.reject(a)}}async clearAllCookies(){try{await this.clearCookies()}catch(a){return Promise.reject(a)}}}Cn("CapacitorCookies",{web:()=>new R8});const z8=async e=>new Promise((a,n)=>{const r=new FileReader;r.onload=()=>{const o=r.result;a(o.indexOf(",")>=0?o.split(",")[1]:o)},r.onerror=o=>n(o),r.readAsDataURL(e)}),I8=(e={})=>{const a=Object.keys(e);return Object.keys(e).map(o=>o.toLocaleLowerCase()).reduce((o,i,s)=>(o[i]=e[a[s]],o),{})},G8=(e,a=!0)=>e?Object.entries(e).reduce((r,o)=>{const[i,s]=o;let l,d;return Array.isArray(s)?(d="",s.forEach(p=>{l=a?encodeURIComponent(p):p,d+=`${i}=${l}&`}),d.slice(0,-1)):(l=a?encodeURIComponent(s):s,d=`${i}=${l}`),`${r}&${d}`},"").substr(1):null,n1=(e,a={})=>{const n=Object.assign({method:e.method||"GET",headers:e.headers},a),o=I8(e.headers)["content-type"]||"";if(typeof e.data=="string")n.body=e.data;else if(o.includes("application/x-www-form-urlencoded")){const i=new URLSearchParams;for(const[s,l]of Object.entries(e.data||{}))i.set(s,l);n.body=i.toString()}else if(o.includes("multipart/form-data")||e.data instanceof FormData){const i=new FormData;if(e.data instanceof FormData)e.data.forEach((l,d)=>{i.append(d,l)});else for(const l of Object.keys(e.data))i.append(l,e.data[l]);n.body=i;const s=new Headers(n.headers);s.delete("content-type"),n.headers=s}else(o.includes("application/json")||typeof e.data=="object")&&(n.body=JSON.stringify(e.data));return n};class j8 extends Sn{async request(a){const n=n1(a,a.webFetchExtra),r=G8(a.params,a.shouldEncodeUrlParams),o=r?`${a.url}?${r}`:a.url,i=await fetch(o,n),s=i.headers.get("content-type")||"";let{responseType:l="text"}=i.ok?a:{};s.includes("application/json")&&(l="json");let d,p;switch(l){case"arraybuffer":case"blob":p=await i.blob(),d=await z8(p);break;case"json":d=await i.json();break;case"document":case"text":default:d=await i.text()}const u={};return i.headers.forEach((m,c)=>{u[c]=m}),{data:d,headers:u,status:i.status,url:i.url}}async get(a){return this.request(Object.assign(Object.assign({},a),{method:"GET"}))}async post(a){return this.request(Object.assign(Object.assign({},a),{method:"POST"}))}async put(a){return this.request(Object.assign(Object.assign({},a),{method:"PUT"}))}async patch(a){return this.request(Object.assign(Object.assign({},a),{method:"PATCH"}))}async delete(a){return this.request(Object.assign(Object.assign({},a),{method:"DELETE"}))}}Cn("CapacitorHttp",{web:()=>new j8});function q8(e){e.CapacitorUtils.Synapse=new Proxy({},{get(a,n){return new Proxy({},{get(r,o){return(i,s,l)=>{const d=e.Capacitor.Plugins[n];if(d===void 0){l(new Error(`Capacitor plugin ${n} not found`));return}if(typeof d[o]!="function"){l(new Error(`Method ${o} not found in Capacitor plugin ${n}`));return}(async()=>{try{const p=await d[o](i);s(p)}catch(p){l(p)}})()}}})}})}function W8(e){e.CapacitorUtils.Synapse=new Proxy({},{get(a,n){return e.cordova.plugins[n]}})}function Y8(e=!1){typeof window>"u"||(window.CapacitorUtils=window.CapacitorUtils||{},window.Capacitor!==void 0&&!e?q8(window):window.cordova!==void 0&&W8(window))}var zo;(function(e){e.Documents="DOCUMENTS",e.Data="DATA",e.Library="LIBRARY",e.Cache="CACHE",e.External="EXTERNAL",e.ExternalStorage="EXTERNAL_STORAGE",e.ExternalCache="EXTERNAL_CACHE",e.LibraryNoCloud="LIBRARY_NO_CLOUD",e.Temporary="TEMPORARY"})(zo||(zo={}));var Io;(function(e){e.UTF8="utf8",e.ASCII="ascii",e.UTF16="utf16"})(Io||(Io={}));const U8=Cn("Filesystem",{web:()=>Promise.resolve().then(()=>Sw).then(e=>new e.FilesystemWeb)});Y8();const X8=Cn("Media",{web:()=>Promise.resolve().then(()=>Bw).then(e=>new e.MediaWeb)}),Z8=Cn("Share",{web:()=>Promise.resolve().then(()=>Vw).then(e=>new e.ShareWeb)});async function Q8(e={url,type,title},a="",n){try{console.log("funcionou");const r=await fetch(e.url);if(!r.ok)throw new Error("Falha ao buscar o arquivo",JSON.stringify(r.ok));const o=await r.blob(),i=await convertBlobToBase64(o),s=typeof e.type=="string"&&e.type.includes("/")?e.type.split("/")[1]:e.type||"unknown",l=hashString(e.url),d=e.title||`${a==="file"?`smclick-${s}`:a}-${l}.${s}`,p=await U8.writeFile({path:d,data:i,directory:zo.Documents});if(n==="ios"){if(s==="jpeg")await X8.savePhoto({path:p.uri,album:"MyApp"});else if(["pdf","mpeg"].includes(s)){console.log("share func"),await Z8.share({title:d,url:p.uri});return}}const m={mpeg:"Áudio",jpeg:"Imagem",pdf:"PDF"}[s]||"Arquivo";Zn({group:"success",title:"Sucesso",text:`${m} ${m==="Imagem"?"salva":"salvo"} com sucesso`},2e3)}catch(r){if(console.error({message:r.message,stack:r.stack,name:r.name,...r}),console.error(JSON.stringify(r)),r.errorMessage==="Share canceled")return;Zn({group:"error",title:"Erro",text:"Erro ao salvar imagem no dispositivo"},2e3)}}const K8={class:"messages-container bg-base-300"},J8={class:"header-intern bg-base-300"},em={class:"atendente-name"},tm={key:0,class:"date-separator bg-base-100/50"},am={class:"date-separator-text"},nm={key:0,class:"dropdown-container-internal-messages"},rm=["onClick"],om={key:0},im={class:"message-time"},sm={key:1},lm={class:"message-time"},cm={class:"input-area"},r1=qe({__name:"ChatMessages",props:{deviceType:{type:String},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),s=t.ref(!1),l=t.ref(!1),d=t.ref(!1),p=t.computed(()=>{var E;return((E=n.selectedAtendente)==null?void 0:E.messages)||[]}),u=(E,C)=>{const V=n.deviceType!=="web";console.log(V),V?Q8(E,C,n.deviceType):_(E,C)},m=t.computed(()=>n.hasNextPageForAtendente(n.selectedAtendente.id)),c=E=>{const C=new Date(E),V=C.getHours(),T=C.getMinutes();return`${V.toString().padStart(2,"0")}:${T.toString().padStart(2,"0")}`},f=E=>{const C=new Date(E);return X6(C)?"Hoje":Q6(C)?"Ontem":U6(C)?pl(C,"EEEE",{locale:gl}):pl(C,"dd 'de' MMMM 'de' yyyy",{locale:gl})},h=E=>{if(E===0)return!0;const C=new Date(p.value[E].created_at),V=new Date(p.value[E-1].created_at);return C.toDateString()!==V.toDateString()},y=E=>{E.key==="Enter"&&!E.shiftKey&&(E.preventDefault(),w())},k=()=>{i.value&&i.value.scrollTo({top:i.value.scrollHeight,behavior:"instant"})},x=async E=>{try{if(!m.value){E.complete();return}const C=i.value.scrollHeight,V=i.value.scrollTop;await n.loadMessagesForAtendente(n.selectedAtendente.id),await t.nextTick(),i.value.scrollTop=i.value.scrollHeight-C+V-32,E.loaded()}catch(C){console.error(C),E.complete()}},w=async()=>{if(o.value.trim()!=="")try{const E=JSON.parse(JSON.stringify(o.value));o.value="",await n.sendMessageToAtendente(n.selectedAtendente.id,E,n.attendant),await t.nextTick(),k()}catch(E){console.error("Erro ao enviar mensagem:",E)}},b=()=>{w();const E=document.querySelector(".send-button");E.classList.add("clicked"),setTimeout(()=>{E.classList.remove("clicked")},200)},B=()=>{r("send-files");const E=document.querySelector(".send-files-button");E.classList.add("clicked"),setTimeout(()=>{E.classList.remove("clicked")},200)};t.onMounted(async()=>{console.log(n.deviceType),await t.nextTick(()=>{k(),s.value=!0})}),t.watch(()=>{var E;return(E=p.value)==null?void 0:E.length},(E,C)=>{p.value&&A()&&setTimeout(()=>{i.value.scrollTo({top:i.value.scrollHeight,behavior:"instant"})},100)});function A(){const C=i.value.scrollTop+i.value.clientHeight;return i.value.scrollHeight-C<=80}const _=async(E,C="undefined")=>{const V=E.endsWith("svg+xml");try{const T=await fetch(V?E.replace("+","%2B"):E);if(!T.ok)throw new Error("Erro ao baixar o arquivo");const Y=await T.blob(),X=window.URL.createObjectURL(Y),G=document.createElement("a");G.href=X,G.download=C,document.body.appendChild(G),G.click(),document.body.removeChild(G),window.URL.revokeObjectURL(X)}catch(T){console.error("Erro no download:",T)}};return(E,C)=>{const V=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("div",K8,[t.createElementVNode("div",J8,[t.createElementVNode("button",{onClick:C[0]||(C[0]=T=>r("voltar")),class:"back-button"},C[3]||(C[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(go,{url:e.selectedAtendente.photo},null,8,["url"]),t.createElementVNode("h3",em,t.toDisplayString(e.selectedAtendente.name),1)]),t.createElementVNode("div",{class:"message-area",ref_key:"chatArea",ref:i},[!d.value&&m.value&&s.value?(t.openBlock(),t.createBlock(t.unref(yo),{key:0,onInfinite:x,distance:30,top:!0,direction:"top",class:"p-3"},{complete:t.withCtx(()=>C[4]||(C[4]=[t.createElementVNode("span",null,null,-1)])),spinner:t.withCtx(()=>C[5]||(C[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,(T,Y)=>(t.openBlock(),t.createElementBlock("div",{key:Y},[h(Y)?(t.openBlock(),t.createElementBlock("div",tm,[C[6]||(C[6]=t.createElementVNode("div",{class:"date-separator-line"},null,-1)),t.createElementVNode("div",am,t.toDisplayString(f(T.created_at)),1),C[7]||(C[7]=t.createElementVNode("div",{class:"date-separator-line"},null,-1))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["message",{me:T.sender.id===e.attendant.id,"not-me":T.sender.id!==e.attendant.id,"new-message":Y===p.value.length-1}])},[t.createElementVNode("div",{class:t.normalizeClass(["relative",T.sender.id===e.attendant.id?"text-right":"text-left"])},[T.content&&T.content.media&&T.content.media.data?(t.openBlock(),t.createElementBlock("div",nm,[t.createVNode(V,{hover:"",class:"label-popper-internal-messages",placement:"left"},{content:t.withCtx(()=>[t.createElementVNode("button",{class:"download-button-internal-messages",onClick:X=>u(T.content.media.data,T.content.media.name)}," Baixar ",8,rm)]),default:t.withCtx(()=>[C[8]||(C[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:T.sender.id===e.attendant.id,"not-me":T.sender.id!==e.attendant.id}]])},[T.content&&T.content.media&&T.content.media.data?(t.openBlock(),t.createElementBlock("section",om,[t.createVNode($o,{mode:"message",onDownload:X=>u(T.content.media.data,T.content.media.name),avatar:T.sender.id===e.attendant.id?e.attendant.photo:T.sender.photo,fileName:T.content.media.name,base64:T.content.media.data,mimetype:T.content.media.mimetype},{"content-message":t.withCtx(()=>[t.createElementVNode("p",null,t.toDisplayString(T.content.content),1)]),"time-message":t.withCtx(()=>[t.createElementVNode("div",im,t.toDisplayString(c(T.created_at))+" "+t.toDisplayString(e.deviceType),1)]),_:2},1032,["onDownload","avatar","fileName","base64","mimetype"])])):(t.openBlock(),t.createElementBlock("section",sm,[t.createElementVNode("p",null,t.toDisplayString(T.content.content),1),t.createElementVNode("div",lm,t.toDisplayString(c(T.created_at))+" "+t.toDisplayString(e.deviceType),1)]))],2)],2)],2)]))),128))])],512),t.createElementVNode("div",cm,[t.withDirectives(t.createElementVNode("textarea",{type:"text","onUpdate:modelValue":C[1]||(C[1]=T=>o.value=T),class:"message-input bg-base-300 focus:ring-0",placeholder:"Digite sua mensagem...",onKeydown:y},null,544),[[t.vModelText,o.value]]),t.createElementVNode("button",{onClick:B,class:"send-files-button"},C[9]||(C[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:b,class:"send-button"},C[10]||(C[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:l.value}]])},[t.createVNode(L8,{"can-send-message":!0,attendant:e.attendant,selectedAttendant:e.selectedAtendente,sendAudioToAttendant:e.sendMessageToAtendente,onRecording:C[2]||(C[2]=T=>l.value=T)},null,8,["attendant","selectedAttendant","sendAudioToAttendant"])],2))])])}}},[["__scopeId","data-v-2c8ffde2"]]),dm={},um={class:"loading"};function mm(e,a){return t.openBlock(),t.createElementBlock("div",um,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 o1=qe(dm,[["render",mm],["__scopeId","data-v-bd52ddea"]]);/**
92
+ `,caption:c}]):Ye.show([{src:u,type:"image",caption:c}]))};function s(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 l=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 s(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,a8)):e.mimetype==="application/pdf"&&e.mode==="miniature"?(t.openBlock(),t.createElementBlock("svg",n8,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,r8)):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:l(e.base64)?e.base64:e.base64.replace("+","%2B")},null,10,o8)):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,s8)],8,i8)):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",l8,[t.createElementVNode("div",c8,[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",d8,[(t.openBlock(),t.createElementBlock("svg",u8,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",m8,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",f8,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",h8,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,p8)])):(t.openBlock(),t.createElementBlock("span",g8,"Carregando..."))])):d(e.mimetype)&&e.mode==="miniature"?(t.openBlock(),t.createElementBlock("svg",y8,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",k8,[t.createVNode(e1,{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",b8,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",x8,[t.createElementVNode("p",w8,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",v8,[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",E8,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"]]),C8={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 s=e.width/r*2.5,l=e.height/2;let d=0;a.strokeStyle="green",a.lineWidth=2,a.beginPath(),a.moveTo(0,l),a.lineTo(e.width,l),a.stroke(),o.forEach(p=>{const u=p;a.fillStyle=`rgb(50, ${u+100}, 50)`,a.fillRect(d,l-u/2,s,u),d+=s+1}),this.audioStream.active&&requestAnimationFrame(i)};i()}}},S8={ref:"canvas",width:"200",height:"40",class:"mx-auto flex items-center rounded"};function M8(e,a,n,r,o,i){return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("canvas",S8,null,512)])}const B8=qe(C8,[["render",M8],["__scopeId","data-v-d91f4ade"]]),A8={key:0,class:"flex w-full items-center space-x-3 text-white dark:text-black"},V8=["disabled"],D8=["disabled"],_8={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"},N8={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"},T8={key:5,class:"flex w-full items-center space-x-2"},P8={class:"text-xs"},O8={key:0},F8={key:1,class:"flex items-center px-2 pr-[21px]"},L8=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),s=t.ref(!1),l=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),k=t.ref(!1),x=t.ref(!1),w=G=>{f.value=G},b=G=>{h.value=G},B=G=>{const S=Math.floor(G/60),I=(G%60).toFixed(0),j=S.toString().padStart(2,"0"),U=I.toString().padStart(2,"0");return`${j}:${U}`},A=async()=>{try{u.value=null,c.value=await navigator.mediaDevices.getUserMedia({audio:!0}),o.value=new MediaRecorder(c.value),o.value.ondataavailable=_,o.value.start(),E(),i.value=!0,r("recording",!0)}catch(G){console.error("Erro ao iniciar a gravação:",G)}},_=G=>{G.data.size>0&&!k.value&&(p.value=new Blob([G.data]),y.value=URL.createObjectURL(p.value),T())},E=()=>{let G=Date.now();m.value=setInterval(()=>{l.value=d.value+Math.floor((Date.now()-G)/1e3)},1e3)},C=async()=>{u.value=null,o.value&&i.value&&(s.value?(o.value.resume(),E()):(o.value.pause(),clearInterval(m.value),d.value=l.value),s.value=!s.value)},V=async()=>{o.value&&i.value&&(await o.value.stop(),clearInterval(m.value),i.value=!1,s.value=!1,T()),c.value&&c.value.getTracks().forEach(G=>G.stop()),console.log(u.value)},T=async()=>{if(p.value){const G=new Blob([p.value],{type:"audio/mpeg"}),S=new FileReader;S.onload=()=>{u.value=S.result},S.readAsDataURL(G)}},Y=async()=>{x.value=!0,r("b64Audio",u.value);const S={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,S,n.attendant,!0),r("recording",!1),x.value=!1,c.value=null,u.value=null,p.value=null,i.value=!1,s.value=!1,l.value=0},X=async()=>{k.value=!0,i.value=!1,r("recording",!1),await o.value.stop(),c.value&&(c.value.getTracks().forEach(G=>G.stop()),c.value=null),p.value=null,clearInterval(m.value),u.value=null,s.value=!1,l.value=0};return(G,S)=>{var I;return x.value?(t.openBlock(),t.createElementBlock("div",F8,S[9]||(S[9]=[t.createElementVNode("span",{class:"loader-audio-recorder"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",A8,[!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=>(A(),d.value=0,k.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,V8)):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=>X())},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&&!s.value,onClick:C},[s.value?(t.openBlock(),t.createElementBlock("svg",N8,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",_8,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,D8)):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:V},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&&!s.value?(t.openBlock(),t.createBlock(B8,{key:4,"audio-stream":c.value},null,8,["audio-stream"])):t.createCommentVNode("",!0),u.value?(t.openBlock(),t.createElementBlock("div",T8,[t.createVNode(e1,{avatar:((I=e.attendant)==null?void 0:I.photo)||null,audio:u.value,onDuration:w,onCurrentTime:b},null,8,["avatar","audio"]),t.createElementVNode("main",P8,[t.createElementVNode("div",null,t.toDisplayString(B(h.value)),1),i.value||p.value?(t.openBlock(),t.createElementBlock("div",O8,t.toDisplayString(B(l.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:S[2]||(S[2]=j=>Y())},S[8]||(S[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"]]);/*! Capacitor: https://capacitorjs.com/ - MIT License */var Ja;(function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"})(Ja||(Ja={}));class Ho extends Error{constructor(a,n,r){super(a),this.message=a,this.code=n,this.data=r}}const $8=e=>{var a,n;return e!=null&&e.androidBridge?"android":!((n=(a=e==null?void 0:e.webkit)===null||a===void 0?void 0:a.messageHandlers)===null||n===void 0)&&n.bridge?"ios":"web"},H8=e=>{const a=e.CapacitorCustomPlatform||null,n=e.Capacitor||{},r=n.Plugins=n.Plugins||{},o=()=>a!==null?a.name:$8(e),i=()=>o()!=="web",s=m=>{const c=p.get(m);return!!(c!=null&&c.platforms.has(o())||l(m))},l=m=>{var c;return(c=n.PluginHeaders)===null||c===void 0?void 0:c.find(f=>f.name===m)},d=m=>e.console.error(m),p=new Map,u=(m,c={})=>{const f=p.get(m);if(f)return console.warn(`Capacitor plugin "${m}" already registered. Cannot register plugins twice.`),f.proxy;const h=o(),y=l(m);let k;const x=async()=>(!k&&h in c?k=typeof c[h]=="function"?k=await c[h]():k=c[h]:a!==null&&!k&&"web"in c&&(k=typeof c.web=="function"?k=await c.web():k=c.web),k),w=(C,V)=>{var T,Y;if(y){const X=y==null?void 0:y.methods.find(G=>V===G.name);if(X)return X.rtype==="promise"?G=>n.nativePromise(m,V.toString(),G):(G,S)=>n.nativeCallback(m,V.toString(),G,S);if(C)return(T=C[V])===null||T===void 0?void 0:T.bind(C)}else{if(C)return(Y=C[V])===null||Y===void 0?void 0:Y.bind(C);throw new Ho(`"${m}" plugin is not implemented on ${h}`,Ja.Unimplemented)}},b=C=>{let V;const T=(...Y)=>{const X=x().then(G=>{const S=w(G,C);if(S){const I=S(...Y);return V=I==null?void 0:I.remove,I}else throw new Ho(`"${m}.${C}()" is not implemented on ${h}`,Ja.Unimplemented)});return C==="addListener"&&(X.remove=async()=>V()),X};return T.toString=()=>`${C.toString()}() { [capacitor code] }`,Object.defineProperty(T,"name",{value:C,writable:!1,configurable:!1}),T},B=b("addListener"),A=b("removeListener"),_=(C,V)=>{const T=B({eventName:C},V),Y=async()=>{const G=await T;A({eventName:C,callbackId:G},V)},X=new Promise(G=>T.then(()=>G({remove:Y})));return X.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await Y()},X},E=new Proxy({},{get(C,V){switch(V){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return y?_:B;case"removeListener":return A;default:return b(V)}}});return r[m]=E,p.set(m,{name:m,proxy:E,platforms:new Set([...Object.keys(c),...y?[h]:[]])}),E};return n.convertFileSrc||(n.convertFileSrc=m=>m),n.getPlatform=o,n.handleError=d,n.isNativePlatform=i,n.isPluginAvailable=s,n.registerPlugin=u,n.Exception=Ho,n.DEBUG=!!n.DEBUG,n.isLoggingEnabled=!!n.isLoggingEnabled,n},Ro=(e=>e.Capacitor=H8(e))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Cn=Ro.registerPlugin;class Sn{constructor(){this.listeners={},this.retainedEventArguments={},this.windowListeners={}}addListener(a,n){let r=!1;this.listeners[a]||(this.listeners[a]=[],r=!0),this.listeners[a].push(n);const i=this.windowListeners[a];i&&!i.registered&&this.addWindowListener(i),r&&this.sendRetainedArgumentsForEvent(a);const s=async()=>this.removeListener(a,n);return Promise.resolve({remove:s})}async removeAllListeners(){this.listeners={};for(const a in this.windowListeners)this.removeWindowListener(this.windowListeners[a]);this.windowListeners={}}notifyListeners(a,n,r){const o=this.listeners[a];if(!o){if(r){let i=this.retainedEventArguments[a];i||(i=[]),i.push(n),this.retainedEventArguments[a]=i}return}o.forEach(i=>i(n))}hasListeners(a){var n;return!!(!((n=this.listeners[a])===null||n===void 0)&&n.length)}registerWindowListener(a,n){this.windowListeners[n]={registered:!1,windowEventName:a,pluginEventName:n,handler:r=>{this.notifyListeners(n,r)}}}unimplemented(a="not implemented"){return new Ro.Exception(a,Ja.Unimplemented)}unavailable(a="not available"){return new Ro.Exception(a,Ja.Unavailable)}async removeListener(a,n){const r=this.listeners[a];if(!r)return;const o=r.indexOf(n);this.listeners[a].splice(o,1),this.listeners[a].length||this.removeWindowListener(this.windowListeners[a])}addWindowListener(a){window.addEventListener(a.windowEventName,a.handler),a.registered=!0}removeWindowListener(a){a&&(window.removeEventListener(a.windowEventName,a.handler),a.registered=!1)}sendRetainedArgumentsForEvent(a){const n=this.retainedEventArguments[a];n&&(delete this.retainedEventArguments[a],n.forEach(r=>{this.notifyListeners(a,r)}))}}const t1=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),a1=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class R8 extends Sn{async getCookies(){const a=document.cookie,n={};return a.split(";").forEach(r=>{if(r.length<=0)return;let[o,i]=r.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");o=a1(o).trim(),i=a1(i).trim(),n[o]=i}),n}async setCookie(a){try{const n=t1(a.key),r=t1(a.value),o=`; expires=${(a.expires||"").replace("expires=","")}`,i=(a.path||"/").replace("path=",""),s=a.url!=null&&a.url.length>0?`domain=${a.url}`:"";document.cookie=`${n}=${r||""}${o}; path=${i}; ${s};`}catch(n){return Promise.reject(n)}}async deleteCookie(a){try{document.cookie=`${a.key}=; Max-Age=0`}catch(n){return Promise.reject(n)}}async clearCookies(){try{const a=document.cookie.split(";")||[];for(const n of a)document.cookie=n.replace(/^ +/,"").replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)}catch(a){return Promise.reject(a)}}async clearAllCookies(){try{await this.clearCookies()}catch(a){return Promise.reject(a)}}}Cn("CapacitorCookies",{web:()=>new R8});const z8=async e=>new Promise((a,n)=>{const r=new FileReader;r.onload=()=>{const o=r.result;a(o.indexOf(",")>=0?o.split(",")[1]:o)},r.onerror=o=>n(o),r.readAsDataURL(e)}),I8=(e={})=>{const a=Object.keys(e);return Object.keys(e).map(o=>o.toLocaleLowerCase()).reduce((o,i,s)=>(o[i]=e[a[s]],o),{})},G8=(e,a=!0)=>e?Object.entries(e).reduce((r,o)=>{const[i,s]=o;let l,d;return Array.isArray(s)?(d="",s.forEach(p=>{l=a?encodeURIComponent(p):p,d+=`${i}=${l}&`}),d.slice(0,-1)):(l=a?encodeURIComponent(s):s,d=`${i}=${l}`),`${r}&${d}`},"").substr(1):null,n1=(e,a={})=>{const n=Object.assign({method:e.method||"GET",headers:e.headers},a),o=I8(e.headers)["content-type"]||"";if(typeof e.data=="string")n.body=e.data;else if(o.includes("application/x-www-form-urlencoded")){const i=new URLSearchParams;for(const[s,l]of Object.entries(e.data||{}))i.set(s,l);n.body=i.toString()}else if(o.includes("multipart/form-data")||e.data instanceof FormData){const i=new FormData;if(e.data instanceof FormData)e.data.forEach((l,d)=>{i.append(d,l)});else for(const l of Object.keys(e.data))i.append(l,e.data[l]);n.body=i;const s=new Headers(n.headers);s.delete("content-type"),n.headers=s}else(o.includes("application/json")||typeof e.data=="object")&&(n.body=JSON.stringify(e.data));return n};class j8 extends Sn{async request(a){const n=n1(a,a.webFetchExtra),r=G8(a.params,a.shouldEncodeUrlParams),o=r?`${a.url}?${r}`:a.url,i=await fetch(o,n),s=i.headers.get("content-type")||"";let{responseType:l="text"}=i.ok?a:{};s.includes("application/json")&&(l="json");let d,p;switch(l){case"arraybuffer":case"blob":p=await i.blob(),d=await z8(p);break;case"json":d=await i.json();break;case"document":case"text":default:d=await i.text()}const u={};return i.headers.forEach((m,c)=>{u[c]=m}),{data:d,headers:u,status:i.status,url:i.url}}async get(a){return this.request(Object.assign(Object.assign({},a),{method:"GET"}))}async post(a){return this.request(Object.assign(Object.assign({},a),{method:"POST"}))}async put(a){return this.request(Object.assign(Object.assign({},a),{method:"PUT"}))}async patch(a){return this.request(Object.assign(Object.assign({},a),{method:"PATCH"}))}async delete(a){return this.request(Object.assign(Object.assign({},a),{method:"DELETE"}))}}Cn("CapacitorHttp",{web:()=>new j8});function q8(e){e.CapacitorUtils.Synapse=new Proxy({},{get(a,n){return new Proxy({},{get(r,o){return(i,s,l)=>{const d=e.Capacitor.Plugins[n];if(d===void 0){l(new Error(`Capacitor plugin ${n} not found`));return}if(typeof d[o]!="function"){l(new Error(`Method ${o} not found in Capacitor plugin ${n}`));return}(async()=>{try{const p=await d[o](i);s(p)}catch(p){l(p)}})()}}})}})}function W8(e){e.CapacitorUtils.Synapse=new Proxy({},{get(a,n){return e.cordova.plugins[n]}})}function Y8(e=!1){typeof window>"u"||(window.CapacitorUtils=window.CapacitorUtils||{},window.Capacitor!==void 0&&!e?q8(window):window.cordova!==void 0&&W8(window))}var zo;(function(e){e.Documents="DOCUMENTS",e.Data="DATA",e.Library="LIBRARY",e.Cache="CACHE",e.External="EXTERNAL",e.ExternalStorage="EXTERNAL_STORAGE",e.ExternalCache="EXTERNAL_CACHE",e.LibraryNoCloud="LIBRARY_NO_CLOUD",e.Temporary="TEMPORARY"})(zo||(zo={}));var Io;(function(e){e.UTF8="utf8",e.ASCII="ascii",e.UTF16="utf16"})(Io||(Io={}));const U8=Cn("Filesystem",{web:()=>Promise.resolve().then(()=>Bw).then(e=>new e.FilesystemWeb)});Y8();const X8=Cn("Media",{web:()=>Promise.resolve().then(()=>Vw).then(e=>new e.MediaWeb)}),Z8=Cn("Share",{web:()=>Promise.resolve().then(()=>_w).then(e=>new e.ShareWeb)});function Q8(e){return new Promise((a,n)=>{const r=new FileReader;r.onerror=n,r.onload=()=>{a(r.result)},r.readAsDataURL(e)})}function K8(e){let a=0;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);a=(a<<5)-a+r,a|=0}return a.toString()}async function J8(e,a="",n){try{console.log("funcionou"),console.log(e,a,n);const r=await fetch(e.url);if(!r.ok)throw new Error("Falha ao buscar o arquivo",JSON.stringify(r.ok));const o=await r.blob(),i=await Q8(o),s=typeof e.type=="string"&&e.type.includes("/")?e.type.split("/")[1]:e.type||"unknown",l=K8(e),d=e.title||`${a==="file"?`smclick-${s}`:a}-${l}.${s}`,p=await U8.writeFile({path:d,data:i,directory:zo.Documents});if(n==="ios"){if(s==="jpeg")await X8.savePhoto({path:p.uri,album:"MyApp"});else if(["pdf","mpeg"].includes(s)){console.log("share func"),await Z8.share({title:d,url:p.uri});return}}const m={mpeg:"Áudio",jpeg:"Imagem",pdf:"PDF"}[s]||"Arquivo";Zn({group:"success",title:"Sucesso",text:`${m} ${m==="Imagem"?"salva":"salvo"} com sucesso`},2e3),console.log("uhu")}catch(r){if(console.error({message:r.message,stack:r.stack,name:r.name,...r}),console.error(JSON.stringify(r)),r.errorMessage==="Share canceled")return;Zn({group:"error",title:"Erro",text:"Erro ao salvar imagem no dispositivo"},2e3)}}const em={class:"messages-container bg-base-300"},tm={class:"header-intern bg-base-300"},am={class:"atendente-name"},nm={key:0,class:"date-separator bg-base-100/50"},rm={class:"date-separator-text"},om={key:0,class:"dropdown-container-internal-messages"},im=["onClick"],sm={key:0},lm={class:"message-time"},cm={key:1},dm={class:"message-time"},um={class:"input-area"},r1=qe({__name:"ChatMessages",props:{deviceType:{type:String},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),s=t.ref(!1),l=t.ref(!1),d=t.ref(!1),p=t.computed(()=>{var E;return((E=n.selectedAtendente)==null?void 0:E.messages)||[]}),u=(E,C)=>{const V=n.deviceType!=="web";console.log(V),V?J8(E,C,n.deviceType):_(E,C)},m=t.computed(()=>n.hasNextPageForAtendente(n.selectedAtendente.id)),c=E=>{const C=new Date(E),V=C.getHours(),T=C.getMinutes();return`${V.toString().padStart(2,"0")}:${T.toString().padStart(2,"0")}`},f=E=>{const C=new Date(E);return X6(C)?"Hoje":Q6(C)?"Ontem":U6(C)?pl(C,"EEEE",{locale:gl}):pl(C,"dd 'de' MMMM 'de' yyyy",{locale:gl})},h=E=>{if(E===0)return!0;const C=new Date(p.value[E].created_at),V=new Date(p.value[E-1].created_at);return C.toDateString()!==V.toDateString()},y=E=>{E.key==="Enter"&&!E.shiftKey&&(E.preventDefault(),w())},k=()=>{i.value&&i.value.scrollTo({top:i.value.scrollHeight,behavior:"instant"})},x=async E=>{try{if(!m.value){E.complete();return}const C=i.value.scrollHeight,V=i.value.scrollTop;await n.loadMessagesForAtendente(n.selectedAtendente.id),await t.nextTick(),i.value.scrollTop=i.value.scrollHeight-C+V-32,E.loaded()}catch(C){console.error(C),E.complete()}},w=async()=>{if(o.value.trim()!=="")try{const E=JSON.parse(JSON.stringify(o.value));o.value="",await n.sendMessageToAtendente(n.selectedAtendente.id,E,n.attendant),await t.nextTick(),k()}catch(E){console.error("Erro ao enviar mensagem:",E)}},b=()=>{w();const E=document.querySelector(".send-button");E.classList.add("clicked"),setTimeout(()=>{E.classList.remove("clicked")},200)},B=()=>{r("send-files");const E=document.querySelector(".send-files-button");E.classList.add("clicked"),setTimeout(()=>{E.classList.remove("clicked")},200)};t.onMounted(async()=>{console.log(n.deviceType),await t.nextTick(()=>{k(),s.value=!0})}),t.watch(()=>{var E;return(E=p.value)==null?void 0:E.length},(E,C)=>{p.value&&A()&&setTimeout(()=>{i.value.scrollTo({top:i.value.scrollHeight,behavior:"instant"})},100)});function A(){const C=i.value.scrollTop+i.value.clientHeight;return i.value.scrollHeight-C<=80}const _=async(E,C="undefined")=>{const V=E.endsWith("svg+xml");try{const T=await fetch(V?E.replace("+","%2B"):E);if(!T.ok)throw new Error("Erro ao baixar o arquivo");const Y=await T.blob(),X=window.URL.createObjectURL(Y),G=document.createElement("a");G.href=X,G.download=C,document.body.appendChild(G),G.click(),document.body.removeChild(G),window.URL.revokeObjectURL(X)}catch(T){console.error("Erro no download:",T)}};return(E,C)=>{const V=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("div",em,[t.createElementVNode("div",tm,[t.createElementVNode("button",{onClick:C[0]||(C[0]=T=>r("voltar")),class:"back-button"},C[3]||(C[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(go,{url:e.selectedAtendente.photo},null,8,["url"]),t.createElementVNode("h3",am,t.toDisplayString(e.selectedAtendente.name),1)]),t.createElementVNode("div",{class:"message-area",ref_key:"chatArea",ref:i},[!d.value&&m.value&&s.value?(t.openBlock(),t.createBlock(t.unref(yo),{key:0,onInfinite:x,distance:30,top:!0,direction:"top",class:"p-3"},{complete:t.withCtx(()=>C[4]||(C[4]=[t.createElementVNode("span",null,null,-1)])),spinner:t.withCtx(()=>C[5]||(C[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,(T,Y)=>(t.openBlock(),t.createElementBlock("div",{key:Y},[h(Y)?(t.openBlock(),t.createElementBlock("div",nm,[C[6]||(C[6]=t.createElementVNode("div",{class:"date-separator-line"},null,-1)),t.createElementVNode("div",rm,t.toDisplayString(f(T.created_at)),1),C[7]||(C[7]=t.createElementVNode("div",{class:"date-separator-line"},null,-1))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["message",{me:T.sender.id===e.attendant.id,"not-me":T.sender.id!==e.attendant.id,"new-message":Y===p.value.length-1}])},[t.createElementVNode("div",{class:t.normalizeClass(["relative",T.sender.id===e.attendant.id?"text-right":"text-left"])},[T.content&&T.content.media&&T.content.media.data?(t.openBlock(),t.createElementBlock("div",om,[t.createVNode(V,{hover:"",class:"label-popper-internal-messages",placement:"left"},{content:t.withCtx(()=>[t.createElementVNode("button",{class:"download-button-internal-messages",onClick:X=>u(T.content.media.data,T.content.media.name)}," Baixar ",8,im)]),default:t.withCtx(()=>[C[8]||(C[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:T.sender.id===e.attendant.id,"not-me":T.sender.id!==e.attendant.id}]])},[T.content&&T.content.media&&T.content.media.data?(t.openBlock(),t.createElementBlock("section",sm,[t.createVNode($o,{mode:"message",onDownload:X=>u(T.content.media.data,T.content.media.name),avatar:T.sender.id===e.attendant.id?e.attendant.photo:T.sender.photo,fileName:T.content.media.name,base64:T.content.media.data,mimetype:T.content.media.mimetype},{"content-message":t.withCtx(()=>[t.createElementVNode("p",null,t.toDisplayString(T.content.content),1)]),"time-message":t.withCtx(()=>[t.createElementVNode("div",lm,t.toDisplayString(c(T.created_at))+" "+t.toDisplayString(e.deviceType),1)]),_:2},1032,["onDownload","avatar","fileName","base64","mimetype"])])):(t.openBlock(),t.createElementBlock("section",cm,[t.createElementVNode("p",null,t.toDisplayString(T.content.content),1),t.createElementVNode("div",dm,t.toDisplayString(c(T.created_at))+" "+t.toDisplayString(e.deviceType),1)]))],2)],2)],2)]))),128))])],512),t.createElementVNode("div",um,[t.withDirectives(t.createElementVNode("textarea",{type:"text","onUpdate:modelValue":C[1]||(C[1]=T=>o.value=T),class:"message-input bg-base-300 focus:ring-0",placeholder:"Digite sua mensagem...",onKeydown:y},null,544),[[t.vModelText,o.value]]),t.createElementVNode("button",{onClick:B,class:"send-files-button"},C[9]||(C[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:b,class:"send-button"},C[10]||(C[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:l.value}]])},[t.createVNode(L8,{"can-send-message":!0,attendant:e.attendant,selectedAttendant:e.selectedAtendente,sendAudioToAttendant:e.sendMessageToAtendente,onRecording:C[2]||(C[2]=T=>l.value=T)},null,8,["attendant","selectedAttendant","sendAudioToAttendant"])],2))])])}}},[["__scopeId","data-v-2c8ffde2"]]),mm={},fm={class:"loading"};function hm(e,a){return t.openBlock(),t.createElementBlock("div",fm,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 o1=qe(mm,[["render",hm],["__scopeId","data-v-bd52ddea"]]);/**
93
93
  * Vue 3 Carousel 0.16.0
94
94
  * (c) 2025
95
95
  * @license MIT
96
- */const i1=["viewport","carousel"],mr={"bottom-to-top":"btt","left-to-right":"ltr","right-to-left":"rtl","top-to-bottom":"ttb"},s1=["ltr","left-to-right","rtl","right-to-left","ttb","top-to-bottom","btt","bottom-to-top"],fm={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}"},l1=["slide","fade"],c1=["center","start","end","center-even","center-odd"],d1=10,fr=.08,at={autoplay:0,breakpointMode:i1[0],breakpoints:void 0,dir:s1[0],enabled:!0,gap:0,height:"auto",i18n:fm,ignoreAnimations:!1,itemsToScroll:1,itemsToShow:1,modelValue:0,mouseDrag:!0,mouseWheel:!1,pauseAutoplayOnHover:!1,preventExcessiveDragging:!1,slideEffect:l1[0],snapAlign:c1[0],touchDrag:!0,transition:300,wrapAround:!1},Na=Symbol("carousel"),hm=e=>{const a=t.shallowReactive([]),n=r=>{r!==void 0?a.slice(r).forEach((o,i)=>{var s;(s=o.exposed)===null||s===void 0||s.setIndex(r+i)}):a.forEach((o,i)=>{var s;(s=o.exposed)===null||s===void 0||s.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 pm(e){return e.length===0?0:e.reduce((n,r)=>n+r,0)/e.length}function u1({slides:e,position:a,toShow:n}){const r=[],o=a==="before",i=o?-n:0,s=o?0:n;if(e.length<=0)return r;for(let l=i;l<s;l++){const p={index:o?l:l+e.length,isClone:!0,id:void 0,key:`clone-${a}-${l}`},u=e[(l%e.length+e.length)%e.length].vnode,m=t.cloneVNode(u,p);m.el=null,r.push(m)}return r}const gm='a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])';function m1(e){if(!e.el||!(e.el instanceof Element))return;const a=e.el.querySelectorAll(gm);for(const n of a)n instanceof HTMLElement&&!n.hasAttribute("disabled")&&n.getAttribute("aria-hidden")!=="true"&&n.setAttribute("tabindex","-1")}function ym(e,a){return Object.keys(e).filter(n=>!a.includes(n)).reduce((n,r)=>(n[r]=e[r],n),{})}function km(e){const{isVertical:a,isReversed:n,dragged:r,effectiveSlideSize:o,threshold:i}=e,s=a?r.y:r.x;if(s===0)return 0;const l=s/o,d=Math.abs(l);if(d<i)return 0;const p=d<1?Math.sign(l):Math.round(l);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 bm(e){const{transform:a}=window.getComputedStyle(e);return a.split(/[(,)]/).slice(1,-1).map(n=>parseFloat(n))}function xm(e){let a=1,n=1;return e.forEach(r=>{const o=bm(r);o.length===6&&(a/=o[0],n/=o[3])}),{widthMultiplier:a,heightMultiplier:n}}function wm(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 vm(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 Go({slideSize:e,viewportSize:a,align:n,itemsToShow:r}){return r!==void 0?wm(n,r):e!==void 0&&a!==void 0?vm(n,e,a):0}function f1(e="",a={}){return Object.entries(a).reduce((n,[r,o])=>n.replace(`{${r}}`,String(o)),e)}function h1({val:e,max:a,min:n=0}){const r=a-n+1;return((e-n)%r+r)%r+n}function jo(e,a=0){let n=!1,r=0,o=null;function i(...s){if(n)return;n=!0;const l=()=>{o=requestAnimationFrame(d=>{d-r>a?(r=d,e(...s),n=!1):l()})};l()}return i.cancel=()=>{o&&(cancelAnimationFrame(o),o=null,n=!1)},i}function hr(e,a="px"){if(!(e==null||e===""))return typeof e=="number"||parseFloat(e).toString()===e?`${e}${a}`:e}const Em=t.defineComponent({name:"CarouselAria",setup(){const e=t.inject(Na);return e?()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},f1(e.config.i18n.itemXofY,{currentSlide:e.currentSlide+1,slidesCount:e.slidesCount})):()=>""}});function Cm(e){let a=!1;const n={x:0,y:0},r=t.reactive({x:0,y:0}),o=t.ref(!1),{isSliding:i}=e,s=t.computed(()=>typeof i=="boolean"?i:i.value),l=u=>{var m;const c=u.target.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(c)||s.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=jo(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:l}}function Sm(){const e=t.ref(!1);return{isHover:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function Mm(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:l=>{var d,p;if(l.preventDefault(),!r.mouseWheel||i.value)return;const u=typeof r.mouseWheel=="object"&&(d=r.mouseWheel.threshold)!==null&&d!==void 0?d:d1,m=Math.abs(l.deltaY)>u?l.deltaY:0,c=Math.abs(l.deltaX)>u?l.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 Bm={autoplay:{default:at.autoplay,type:Number},breakpoints:{default:at.breakpoints,type:Object},breakpointMode:{default:at.breakpointMode,validator(e){return i1.includes(e)}},clamp:{type:Boolean},dir:{type:String,default:at.dir,validator(e,a){if(!s1.includes(e))return!1;const n=e in mr?mr[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 l1.includes(e)}},snapAlign:{default:at.snapAlign,validator(e){return c1.includes(e)}},touchDrag:{default:at.touchDrag,type:[Boolean,Object]},transition:{default:at.transition,type:Number},wrapAround:{default:at.wrapAround,type:Boolean}},Am=t.defineComponent({name:"VueCarousel",props:Bm,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=hm(n),s=i.getSlides(),l=t.computed(()=>s.length),d=t.ref(null),p=t.ref(null),u=t.ref(0),m=t.computed(()=>Object.assign(Object.assign(Object.assign({},at),ym(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,O=>h.value=O);const y=t.ref(0),k=t.computed(()=>Math.ceil((l.value-1)/2)),x=t.computed(()=>l.value-1),w=t.computed(()=>0);let b=null,B=null,A=null;const _=t.computed(()=>u.value+c.gap),E=t.computed(()=>{const O=c.dir||"ltr";return O in mr?mr[O]:O}),C=t.computed(()=>["rtl","btt"].includes(E.value)),V=t.computed(()=>["ttb","btt"].includes(E.value)),T=t.computed(()=>c.itemsToShow==="auto"),Y=t.computed(()=>V.value?"height":"width");function X(){var O;if(!Q.value)return;const P=(m.value.breakpointMode==="carousel"?(O=d.value)===null||O===void 0?void 0:O.getBoundingClientRect().width:typeof window<"u"?window.innerWidth:0)||0,ee=Object.keys(e.breakpoints||{}).map(xe=>Number(xe)).sort((xe,Ae)=>+Ae-+xe),se={};ee.some(xe=>P>=xe?(Object.assign(se,e.breakpoints[xe]),se.i18n&&Object.assign(se.i18n,m.value.i18n,e.breakpoints[xe].i18n),!0):!1),Object.assign(c,m.value,se),T.value||(c.itemsToShow=ta({val:Number(c.itemsToShow),max:e.clamp?l.value:1/0,min:1}))}const G=jo(()=>{X(),D(),W()}),S=t.shallowReactive(new Set),I=t.ref([]);function j({widthMultiplier:O,heightMultiplier:P}){I.value=s.map(ee=>{var se;const xe=(se=ee.exposed)===null||se===void 0?void 0:se.getBoundingRect();return{width:xe.width*O,height:xe.height*P}})}const U=t.ref({width:0,height:0});function de({widthMultiplier:O,heightMultiplier:P}){var ee;const se=((ee=p.value)===null||ee===void 0?void 0:ee.getBoundingClientRect())||{width:0,height:0};U.value={width:se.width*O,height:se.height*P}}function W(){if(!p.value)return;const O=xm(S);if(de(O),j(O),T.value)u.value=pm(I.value.map(P=>P[Y.value]));else{const P=Number(c.itemsToShow),ee=(P-1)*c.gap;u.value=(U.value[Y.value]-ee)/P}}function D(){!c.wrapAround&&l.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(()=>{W()});let ne;const K=O=>{const P=O.target;if(!(!(P!=null&&P.contains(d.value))||Array.isArray(ie.value)&&ie.value.includes(O.animationName))&&(S.add(P),!ne)){const ee=()=>{ne=requestAnimationFrame(()=>{W(),ee()})};ee()}},M=O=>{const P=O.target;P&&S.delete(P),ne&&S.size===0&&(cancelAnimationFrame(ne),W())},Q=t.ref(!1);typeof document<"u"&&t.watchEffect(()=>{Q.value&&ie.value!==!1?(document.addEventListener("animationstart",K),document.addEventListener("animationend",M)):(document.removeEventListener("animationstart",K),document.removeEventListener("animationend",M))}),t.onMounted(()=>{Q.value=!0,X(),v(),d.value&&(A=new ResizeObserver(G),A.observe(d.value)),n("init")}),t.onBeforeUnmount(()=>{Q.value=!1,i.cleanup(),B&&clearTimeout(B),ne&&cancelAnimationFrame(ne),b&&clearInterval(b),A&&(A.disconnect(),A=null),typeof document<"u"&&me(),d.value&&(d.value.removeEventListener("transitionend",W),d.value.removeEventListener("animationiteration",W))});const{isHover:fe,handleMouseEnter:R,handleMouseLeave:ye}=Sm(),Z=jo(O=>{if(!O.ctrlKey)switch(O.key){case"ArrowLeft":case"ArrowUp":V.value===O.key.endsWith("Up")&&(C.value?ue(!0):Me(!0));break;case"ArrowRight":case"ArrowDown":V.value===O.key.endsWith("Down")&&(C.value?Me(!0):ue(!0));break}},200),me=()=>{document.removeEventListener("keydown",Z)},$=()=>{document.addEventListener("keydown",Z)};function v(){!c.autoplay||c.autoplay<=0||(b=setInterval(()=>{c.pauseAutoplayOnHover&&fe.value||ue()},c.autoplay))}function g(){N(),v()}function N(){b&&(clearInterval(b),b=null)}const L=t.ref(!1),F=({deltaX:O,deltaY:P,isTouch:ee})=>{var se,xe,Ae,Ne;n("drag",{deltaX:O,deltaY:P});const Pe=ee?typeof c.touchDrag=="object"&&(xe=(se=c.touchDrag)===null||se===void 0?void 0:se.threshold)!==null&&xe!==void 0?xe:fr:typeof c.mouseDrag=="object"&&(Ne=(Ae=c.mouseDrag)===null||Ae===void 0?void 0:Ae.threshold)!==null&&Ne!==void 0?Ne:fr,je=km({isVertical:V.value,isReversed:C.value,dragged:{x:O,y:P},effectiveSlideSize:_.value,threshold:Pe});je!==0&&(h.value=c.wrapAround?f.value+je:ta({val:f.value+je,max:x.value,min:w.value}))},J=()=>De(h.value),{dragged:H,isDragging:te,handleDragStart:ce}=Cm({isSliding:L,onDrag:F,onDragEnd:J}),ge=({deltaX:O,deltaY:P,isScrollingForward:ee})=>{n("wheel",{deltaX:O,deltaY:P}),ee?C.value?Me():ue():C.value?ue():Me()},{handleScroll:be}=Mm({isVertical:V,isSliding:L,config:c,onWheel:ge});function ue(O=!1){De(f.value+c.itemsToScroll,O)}function Me(O=!1){De(f.value-c.itemsToScroll,O)}function De(O,P=!1){if(!P&&L.value)return;const ee=(c.wrapAround?h1:ta)({val:O,max:x.value,min:w.value});if(f.value===ee)return;y.value=f.value,n("slide-start",{slidingToIndex:O,currentSlideIndex:f.value,prevSlideIndex:y.value,slidesCount:l.value}),N(),L.value=!0,f.value=O,ee!==O&&Se.pause(),n("update:modelValue",ee),B=setTimeout(()=>{c.wrapAround&&ee!==O&&(Se.resume(),f.value=ee,n("loop",{currentSlideIndex:f.value,slidingToIndex:O})),n("slide-end",{currentSlideIndex:f.value,prevSlideIndex:y.value,slidesCount:l.value}),L.value=!1,g()},c.transition)}function _e(){X(),D(),W(),g()}t.watch(()=>[m.value,e.breakpoints],()=>X(),{deep:!0}),t.watch(()=>e.autoplay,()=>g());const Se=t.watch(()=>e.modelValue,O=>{O!==f.value&&De(Number(O),!0)});n("before-init");const Le=t.computed(()=>{if(!c.wrapAround)return{before:0,after:0};if(T.value)return{before:s.length,after:s.length};const O=Number(c.itemsToShow),P=Math.ceil(O+(c.itemsToScroll-1)),ee=P-h.value,se=P-(l.value-(h.value+1));return{before:Math.max(0,ee),after:Math.max(0,se)}}),Be=t.computed(()=>Le.value.before?T.value?I.value.slice(-1*Le.value.before).reduce((O,P)=>O+P[Y.value]+c.gap,0)*-1:Le.value.before*_.value*-1:0),q=t.computed(()=>{var O;if(T.value){const P=(f.value%s.length+s.length)%s.length;return Go({slideSize:(O=I.value[P])===null||O===void 0?void 0:O[Y.value],viewportSize:U.value[Y.value],align:c.snapAlign})}return Go({align:c.snapAlign,itemsToShow:+c.itemsToShow})}),ae=t.computed(()=>{let O=0;if(T.value){if(f.value<0?O=I.value.slice(f.value).reduce((P,ee)=>P+ee[Y.value]+c.gap,0)*-1:O=I.value.slice(0,f.value).reduce((P,ee)=>P+ee[Y.value]+c.gap,0),O-=q.value,!c.wrapAround){const P=I.value.reduce((ee,se)=>ee+se[Y.value]+c.gap,0)-U.value[Y.value]-c.gap;O=ta({val:O,max:P,min:0})}}else{let P=f.value-q.value;c.wrapAround||(P=ta({val:P,max:l.value-+c.itemsToShow,min:0})),O=P*_.value}return O*(C.value?1:-1)}),re=t.computed(()=>{var O,P;if(!T.value){const xe=f.value-q.value;return c.wrapAround?{min:Math.floor(xe),max:Math.ceil(xe+Number(c.itemsToShow)-1)}:{min:Math.floor(ta({val:xe,max:l.value-Number(c.itemsToShow),min:0})),max:Math.ceil(ta({val:xe+Number(c.itemsToShow)-1,max:l.value-1,min:0}))}}let ee=0;{let xe=0,Ae=0-Le.value.before;const Ne=Math.abs(ae.value+Be.value);for(;xe<=Ne;){const Pe=(Ae%s.length+s.length)%s.length;xe+=((O=I.value[Pe])===null||O===void 0?void 0:O[Y.value])+c.gap,Ae++}ee=Ae-1}let se=0;{let xe=ee,Ae=0;for(xe<0?Ae=I.value.slice(0,xe).reduce((Ne,Pe)=>Ne+Pe[Y.value]+c.gap,0)-Math.abs(ae.value+Be.value):Ae=I.value.slice(0,xe).reduce((Ne,Pe)=>Ne+Pe[Y.value]+c.gap,0)-Math.abs(ae.value);Ae<U.value[Y.value];){const Ne=(xe%s.length+s.length)%s.length;Ae+=((P=I.value[Ne])===null||P===void 0?void 0:P[Y.value])+c.gap,xe++}se=xe-1}return{min:Math.floor(ee),max:Math.ceil(se)}}),le=t.computed(()=>{if(c.slideEffect==="fade")return;const O=V.value?"Y":"X",P=V.value?H.y:H.x;let ee=ae.value+P;if(!c.wrapAround&&c.preventExcessiveDragging){let se=0;T.value?se=I.value.reduce((Ne,Pe)=>Ne+Pe[Y.value],0):se=(l.value-Number(c.itemsToShow))*_.value;const xe=C.value?0:-1*se,Ae=C.value?se:0;ee=ta({val:ee,min:xe,max:Ae})}return`translate${O}(${ee}px)`}),Ee=t.computed(()=>({"--vc-carousel-height":hr(c.height),"--vc-cloned-offset":hr(Be.value),"--vc-slide-gap":hr(c.gap),"--vc-transition-duration":L.value?hr(c.transition,"ms"):void 0})),he={slideTo:De,next:ue,prev:Me},ke=t.reactive({activeSlide:h,config:c,currentSlide:f,isSliding:L,isVertical:V,maxSlide:x,minSlide:w,nav:he,normalizedDir:E,slideRegistry:i,slideSize:u,slides:s,slidesCount:l,viewport:p,visibleRange:re});t.provide(Na,ke);const z=t.reactive({config:c,currentSlide:f,maxSlide:x,middleSlide:k,minSlide:w,slideSize:u,slidesCount:l});return r(t.reactive(Object.assign({data:z,next:ue,prev:Me,restartCarousel:_e,slideTo:De,updateBreakpointsConfig:X,updateSlideSize:W,updateSlidesData:D},t.toRefs(ke)))),()=>{var O;const P=a.default||a.slides,ee=(P==null?void 0:P(z))||[],{before:se,after:xe}=Le.value,Ae=u1({slides:s,position:"before",toShow:se}),Ne=u1({slides:s,position:"after",toShow:xe}),Pe=[...Ae,...ee,...Ne];if(!c.enabled||!Pe.length)return t.h("section",{ref:d,class:["carousel","is-disabled"]},Pe);const je=((O=a.addons)===null||O===void 0?void 0:O.call(a,z))||[],nt=t.h("ol",{class:"carousel__track",onMousedownCapture:c.mouseDrag?ce:null,onTouchstartPassiveCapture:c.touchDrag?ce:null,onWheel:c.mouseWheel?be:null,style:{transform:le.value}},Pe),bt=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":L.value,"is-vertical":V.value}],dir:E.value,style:Ee.value,"aria-label":c.i18n.ariaGallery,tabindex:"0",onBlur:me,onFocus:$,onMouseenter:R,onMouseleave:ye},[bt,je,t.h(Em)])}}});var qo;(function(e){e.arrowDown="arrowDown",e.arrowLeft="arrowLeft",e.arrowRight="arrowRight",e.arrowUp="arrowUp"})(qo||(qo={}));const p1=e=>`icon${e.charAt(0).toUpperCase()+e.slice(1)}`,Vm={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 Dm(e){return e in qo}const g1=e=>e&&Dm(e),y1=t.defineComponent({props:{name:{type:String,required:!0,validator:g1},title:{type:String,default:e=>e.name?at.i18n[p1(e.name)]:""}},setup(e){const a=t.inject(Na,null);return()=>{const n=e.name;if(!n||!g1(n))return;const r=Vm[n],o=t.h("path",{d:r}),i=(a==null?void 0:a.config.i18n[p1(n)])||e.title,s=t.h("title",i);return t.h("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img","aria-label":i},[s,o])}}});t.defineComponent({name:"CarouselNavigation",inheritAttrs:!1,props:{carousel:{type:Object}},setup(e,{slots:a,attrs:n}){let r=t.inject(Na,null);const{next:o,prev:i}=a,s=()=>({btt:"arrowDown",ltr:"arrowLeft",rtl:"arrowRight",ttb:"arrowUp"})[r.normalizedDir],l=()=>({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(y1,{name:s()})),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(y1,{name:l()}));return[m,c]}}}),t.defineComponent({name:"CarouselPagination",props:{disableOnClick:{type:Boolean},paginateByItemsToShow:{type:Boolean},carousel:{type:Object}},setup(e){let a=t.inject(Na,null);const n=t.computed(()=>a.config.itemsToShow),r=t.computed(()=>Go({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)),s=t.computed(()=>Math.ceil(a.slidesCount/n.value)),l=d=>h1(o.value?{val:i.value,max:s.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?s.value-1:a.maxSlide);m++){const c=f1(a.config.i18n[o.value?"ariaNavigateToPage":"ariaNavigateToSlide"],{slideNumber:m+1}),f=l(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 _m=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(Na);if(t.provide(Na,void 0),!o)return()=>"";const i=t.ref(e.index),s=h=>{i.value=h},l=t.getCurrentInstance(),d=()=>{const h=l.vnode.el;return h?h.getBoundingClientRect():{width:0,height:0}};r({id:e.id,setIndex:s,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(l,e.index),t.onUnmounted(()=>{o.slideRegistry.unregisterSlide(l)}),e.isClone&&(t.onMounted(()=>{m1(l.vnode)}),t.onUpdated(()=>{m1(l.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)}}}),Nm={key:0,class:"preview-overlay bg-base-300"},Tm={class:"preview-info"},Pm={class:"queue-info"},Om={class:"carousel-container bg-base-200"},Fm={class:"carousel-item"},Lm=["onClick"],$m=["onClick"],Hm={class:"send-footer"},Rm={key:1,class:"toast-loader-files"},zm=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(""),s=t.ref(null),l=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((G,S)=>{const I=new FileReader;I.readAsDataURL(X),I.onload=()=>{G(I.result)},I.onerror=j=>{S(j)}}),y=()=>{o.value=!0},k=()=>{o.value=!1},x=()=>{d.value=[],l.value=[],i.value="",p.value=null,u.value=0},w=X=>{if(!(X<0||X>=d.value.length)){if(d.value.splice(X,1),l.value.splice(X,1),d.value.length===0){p.value=null,u.value=0;return}if(X===u.value){const G=X>0?X-1:0;p.value=d.value[G],u.value=G}else X<u.value&&(u.value-=1)}},b=()=>{s.value.click()},B=async X=>{const G=Array.from(X.target.files);l.value=G,d.value=await Promise.all(G.map(async S=>({name:S.name,base64:await h(S)}))),p.value=d.value[0],t.nextTick(()=>{V()})},A=async X=>{o.value=!1;const G=Array.from(X.dataTransfer.files);l.value.push(...G);const S=await Promise.all(G.map(async I=>({name:I.name,base64:await h(I)})));d.value.push(...S),p.value||(p.value=d.value[0],u.value=0),t.nextTick(()=>{V()})},_=X=>X?X.split(";")[0].split(":")[1]:null,E=async()=>{try{m.value=!0,c.value=l.value.length,f.value=0;for(let X=0;X<l.value.length;X++){const G=X===l.value.length-1,S={type:"file",media:{name:d.value[X].name,mimetype:_(d.value[X].base64),data:d.value[X].base64}};G&&(S.content=i.value),await n.sendFilesToAttendant(n.selectedAttendant.id,S,n.attendant,!0),f.value++}await t.nextTick()}catch(X){console.error(X)}finally{m.value=!1,x(),k()}},C=t.ref(null),V=()=>{C.value&&C.value.focus()},T=(X,G)=>{p.value=X,u.value=G},Y=async X=>{var I;const G=(I=X.clipboardData)==null?void 0:I.items;if(!G)return;const S=[];for(const j of G)if(j.kind==="file"){const U=j.getAsFile();U&&S.push(U)}if(S.length>0){const j=new Set(l.value.map(W=>W.name));if(S.filter(W=>!j.has(W.name)).length===0)return;l.value.push(...S);const de=await Promise.all(S.map(async W=>({name:W.name,base64:await h(W)})));d.value.push(...de),p.value||(p.value=de[0],u.value=0)}t.nextTick(()=>{V()})};return t.watch(u,(X,G)=>{p.value=d.value[X]}),t.onMounted(()=>{window.addEventListener("paste",Y)}),t.onUnmounted(()=>{window.removeEventListener("paste",Y)}),a({chooseFiles:b}),(X,G)=>{var S,I,j;return t.openBlock(),t.createElementBlock("main",{onDragover:t.withModifiers(y,["prevent"]),onDragleave:k,onDrop:t.withModifiers(A,["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",Nm,[t.createElementVNode("button",{onClick:G[0]||(G[0]=U=>x()),class:"close-button"},G[6]||(G[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",Tm,[t.createElementVNode("p",null,t.toDisplayString((S=p.value)==null?void 0:S.name),1),t.createVNode($o,{mode:"preview",base64:(I=p.value)==null?void 0:I.base64,mimetype:_((j=p.value)==null?void 0:j.base64)},null,8,["base64","mimetype"]),t.withDirectives(t.createElementVNode("input",{ref_key:"textInput",ref:C,onKeydown:G[1]||(G[1]=t.withKeys(U=>E(),["enter"])),placeholder:"Digite uma mensagem para acompanhar o arquivo",class:"input-drop-files-area bg-base-200","onUpdate:modelValue":G[2]||(G[2]=U=>i.value=U),type:"text"},null,544),[[t.vModelText,i.value]])]),t.createElementVNode("div",Pm,[G[8]||(G[8]=t.createElementVNode("p",null,"fila de envio",-1)),t.createElementVNode("section",Om,[t.createVNode(t.unref(Am),t.mergeProps({modelValue:u.value,"onUpdate:modelValue":G[4]||(G[4]=U=>u.value=U)},r),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.value,(U,de)=>(t.openBlock(),t.createBlock(t.unref(_m),{key:de},{default:t.withCtx(()=>[t.createElementVNode("section",Fm,[u.value===de?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:W=>w(de),class:"remove-file-btn"},G[7]||(G[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,Lm)):t.createCommentVNode("",!0),t.createElementVNode("button",{class:t.normalizeClass(["bg-base-100",["carousel-preview",{active:u.value===de}]]),onDragstart:G[3]||(G[3]=t.withModifiers(()=>{},["prevent"])),onClick:W=>T(U,de)},[t.createVNode($o,{mode:"miniature",base64:U.base64,mimetype:_(U.base64)},null,8,["base64","mimetype"])],42,$m)])]),_:2},1024))),128))]),_:1},16,["modelValue"])])]),t.createElementVNode("footer",Hm,[t.createElementVNode("button",{class:"send-button",onClick:G[5]||(G[5]=U=>E())},G[9]||(G[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",Rm," 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:s,type:"file",hidden:""},null,544)],32)}}},[["__scopeId","data-v-839bc4f1"]]),Im={key:0,class:"chat-icon"},Gm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},jm={key:0,class:"unread-count"},qm={key:0,class:"chat-content"},Wm={key:1,class:"h-full"},k1=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"},deviceType:{type:String}},emits:["unreadMessagesEmit"],setup(e,{emit:a}){const n=e,{attendants:r,loadingMessages:o,fetchMessagesForAtendente:i,addMessageToAtendente:s,hasNextPageForAtendente:l,sendMessageToAtendente:d,loadMessagesForAtendente:p,resetUnreadMessages:u,loadingAttendants:m}=Js(),c=t.ref(!1),f=t.ref(!1),h=t.ref(null),y=t.ref(null),k=a,x=t.ref(null),w=()=>{var Y;(Y=x.value)==null||Y.chooseFiles()},b=t.computed(()=>{if(h.value){const Y=r.value.find(X=>X.id===h.value.id);return Y?Y.internal_chat.unread:0}return 0}),B=Y=>{var S;const X=(S=y.value)==null?void 0:S.contains(Y.target),G=Y.target.closest(".fancybox__container");!X&&!G&&c.value&&C()};t.onMounted(()=>{document.addEventListener("click",B)}),t.onBeforeUnmount(()=>{document.removeEventListener("click",B)});const A=t.ref(!1),_=t.ref(!1),E=t.computed(()=>_.value?{position:"absolute",width:"42px",height:"42px",transition:"width 0.2s ease-in, height 0.2s ease-out"}:A.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"}),C=()=>{c.value?(_.value=!0,setTimeout(()=>{c.value=!1,_.value=!1},200)):(c.value=!0,A.value=!0,setTimeout(()=>{A.value=!1},200))},V=()=>{c.value||C()},T=async Y=>{const X=r.value.find(S=>S.id===Y.id),G=X?X.internal_chat.unread:0;k("unreadMessagesEmit",G),h.value=Y,u(Y.id),Y.hasNextPage||await i(Y.id)};return t.watch(()=>n.socketMessage,(Y,X)=>{var G;Y!==X&&s(Y,c.value,(G=h.value)==null?void 0:G.id)}),t.watch(c,Y=>{Y&&setTimeout(()=>{f.value=!0},400)}),(Y,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(C,["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(V,["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",Im,[(t.openBlock(),t.createElementBlock("svg",Gm,[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)])),b.value>0?(t.openBlock(),t.createElementBlock("span",jm,t.toDisplayString(b.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&&!_.value?(t.openBlock(),t.createElementBlock("div",qm,[t.createElementVNode("button",{onClick:t.withModifiers(C,["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(o1,{key:0})):h.value&&!t.unref(o)?(t.openBlock(),t.createElementBlock("div",Wm,[t.createVNode(zm,{ref_key:"dropFilesRef",ref:x,attendant:e.attendant,selectedAttendant:h.value,sendFilesToAttendant:t.unref(d)},{default:t.withCtx(()=>[t.createVNode(r1,{deviceType:e.deviceType,onSendFiles:w,attendant:e.attendant,selectedAtendente:h.value,onVoltar:X[0]||(X[0]=G=>h.value=null),loadMessagesForAtendente:t.unref(p),sendMessageToAtendente:t.unref(d),hasNextPageForAtendente:t.unref(l)},null,8,["deviceType","attendant","selectedAtendente","loadMessagesForAtendente","sendMessageToAtendente","hasNextPageForAtendente"])]),_:1},8,["attendant","selectedAttendant","sendFilesToAttendant"])])):t.createCommentVNode("",!0),!h.value&&!t.unref(m)?(t.openBlock(),t.createBlock(el,{key:2,attendant:e.attendant,atendentes:t.unref(r),onAtendenteSelecionado:T},null,8,["attendant","atendentes"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),_:1})],6)],512))}},[["__scopeId","data-v-57268dc3"]]),Ym={class:"chat-content"},Um={key:1,class:"h-full"},b1=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},deviceType:{type:String}},emits:["unreadMessagesEmit"],setup(e,{emit:a}){const n=e,{attendants:r,loadingMessages:o,fetchMessagesForAtendente:i,addMessageToAtendente:s,hasNextPageForAtendente:l,sendMessageToAtendente:d,loadMessagesForAtendente:p,resetUnreadMessages:u,loadingAttendants:m}=Js(),c=t.ref(!1),f=t.ref(!1),h=t.ref(null),y=t.ref(null),k=a;t.computed(()=>{if(h.value){const _=r.value.find(E=>E.id===h.value.id);return _?_.internal_chat.unread:0}return 0});const x=_=>{y.value&&!y.value.contains(_.target)&&c.value&&B()};t.onMounted(()=>{document.addEventListener("click",x)}),t.onBeforeUnmount(()=>{document.removeEventListener("click",x)});const w=t.ref(!1),b=t.ref(!1),B=()=>{c.value?(b.value=!0,setTimeout(()=>{c.value=!1,b.value=!1},200)):(c.value=!0,w.value=!0,setTimeout(()=>{w.value=!1},200))},A=async _=>{const E=r.value.find(V=>V.id===_.id),C=E?E.internal_chat.unread:0;k("unreadMessagesEmit",C),h.value=_,u(_.id),_.hasNextPage||await i(_.id)};return t.watch(()=>n.socketMessage,(_,E)=>{var C;_!==E&&s(_,c.value,(C=h.value)==null?void 0:C.id)}),t.watch(c,_=>{_&&setTimeout(()=>{f.value=!0},400)}),(_,E)=>(t.openBlock(),t.createElementBlock("div",Ym,[t.unref(o)||t.unref(m)?(t.openBlock(),t.createBlock(o1,{key:0})):h.value&&!t.unref(o)?(t.openBlock(),t.createElementBlock("div",Um,[t.createVNode(r1,{deviceType:e.deviceType,attendant:e.attendant,selectedAtendente:h.value,onVoltar:E[0]||(E[0]=C=>h.value=null),loadMessagesForAtendente:t.unref(p),sendMessageToAtendente:t.unref(d),hasNextPageForAtendente:t.unref(l)},null,8,["deviceType","attendant","selectedAtendente","loadMessagesForAtendente","sendMessageToAtendente","hasNextPageForAtendente"])])):t.createCommentVNode("",!0),!h.value&&!t.unref(m)?(t.openBlock(),t.createBlock(el,{key:2,mobile:!0,attendant:e.attendant,atendentes:t.unref(r),onAtendenteSelecionado:A},null,8,["attendant","atendentes"])):t.createCommentVNode("",!0)]))}},[["__scopeId","data-v-fae29419"]]),Wo=zt.defineStore("department",{state:()=>({departments:[],count:null,loaded:!1}),actions:{async fetchDepartments(e=""){try{let a=`${Tc}`;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)}}}),Xm={class:"depart-select-container"},Zm={class:"search-container relative shadow shadow-gray-900 dark:shadow-gray-500"},Qm=["placeholder"],Km={key:0,class:"selection-container bg-base-300 border-b border-base-200"},Jm=["onClick"],ef={class:"department-list"},tf=["onClick"],af={key:0,style:{width:"150px"}},nf=["onUpdate:modelValue","onChange"],rf={key:0,class:"no-departments bg-base-300"},of={key:1,class:"library-loading-spinner"},x1=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=Wo(),i=t.ref(""),s=t.ref([]),l=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}),s.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 b=(n.externalDepartments||o.departments).findIndex(B=>B.id===x);b!==-1&&(s.value=s.value.filter(B=>B.id!==x),n.externalDepartments?n.externalDepartments.splice(b,1):o.removeDepartments(x),r("depart",s.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}),s.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 b=x.find(B=>B.id===w.id);b&&(b.selected=!0,w.permission&&(b.permission=w.permission),s.value.some(A=>A.id===w.id)||s.value.push(b))}),r("depart",s.value))}function h(x){const w=s.value.findIndex(b=>b.id===x.id);w!==-1?(x.selected=!1,s.value.splice(w,1)):(n.multiSelect||c(),x.selected=!0,s.value.push(x)),r("depart",s.value)}function y(x){r("depart",s.value)}function k(x,w){x.selected=!1,s.value.splice(w,1),r("depart",s.value)}return(x,w)=>(t.openBlock(),t.createElementBlock("div",Xm,[t.createElementVNode("div",Zm,[t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper bg-base-300 border-b border-base-200",{expanded:l.value||s.value.length>0}]),onClick:w[1]||(w[1]=b=>l.value=!l.value)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":w[0]||(w[0]=b=>i.value=b),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,Qm),[[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),s.value.length>0&&e.multiSelect&&t.unref(o).loaded?(t.openBlock(),t.createElementBlock("main",Km,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,(b,B)=>(t.openBlock(),t.createElementBlock("div",{key:b.id,class:"selection-item"},[t.createTextVNode(t.toDisplayString(b.name)+" ",1),t.createElementVNode("button",{onClick:A=>k(b,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,Jm)]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass([s.value.length>0&&e.multiSelect?"dropdown-depart-expanded":"dropdown-depart","dropdown-depart bg-base-300"])},[t.createElementVNode("div",ef,[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,b=>(t.openBlock(),t.createElementBlock("div",{key:b.id,class:t.normalizeClass([{selected:b.selected},"department-item line-clamp-1 bg-slate-500/20 hover:bg-teal-600"])},[t.createElementVNode("span",{onClick:B=>h(b),class:"department-name h-full w-full"},t.toDisplayString(b.name),9,tf),e.multiSelect&&e.permissions?(t.openBlock(),t.createElementBlock("div",af,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":B=>b.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,nf),[[t.vModelSelect,b.permission]])])):t.createCommentVNode("",!0)],2))),128)):t.createCommentVNode("",!0)],2)]),t.unref(o).loaded&&p.value.length===0?(t.openBlock(),t.createElementBlock("div",rf," Nenhum departamento disponível. ")):t.createCommentVNode("",!0),t.unref(o).loaded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",of,w[5]||(w[5]=[t.createTextVNode(" Inicializando departamentos "),t.createElementVNode("div",{class:"library-loader"},null,-1)])))],2)])]))}},[["__scopeId","data-v-bc69772b"]]),sf={class:"depart-select-container"},lf={class:"search-container relative shadow shadow-gray-900 dark:shadow-gray-500"},cf=["placeholder"],df={key:0,class:"selection-container bg-base-300 border-b border-base-200"},uf=["onClick"],mf={class:"department-list"},ff={style:{"padding-left":"5px"}},hf=["src"],pf={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"},gf=["onClick"],yf={key:0,class:"no-departments bg-base-300"},kf={key:1,class:"library-loading-spinner"},w1=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=Qn(),i=t.ref(""),s=t.ref(!1),l=t.ref([]),d=t.computed(()=>{const k=o.attendants.filter(w=>w.status===!0),x=i.value?k.filter(w=>w.name.toLowerCase().includes(i.value.toLowerCase())):k;return u(p(x))});function p(k){return n.method==="remove"?(n.attendance||k).filter(w=>{var b;return(w==null?void 0:w.id)!==((b=n==null?void 0:n.attDel)==null?void 0:b.id)}):n.method==="transfer"?k:n.method==="addParticipant"?k.filter(x=>{var w;return(x==null?void 0:x.id)!==((w=n==null?void 0:n.attDel)==null?void 0:w.id)}):k}function u(k){return Array.isArray(n.department)&&n.department.length>0?k.filter(x=>x.department.some(w=>n.department.some(b=>b.id===w.id))):k}t.onMounted(()=>{m(),r("component-mounted")}),t.watch(()=>o.attendants.length,async(k,x)=>{Number.isInteger(x)&&Number.isInteger(k)&&(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}),l.value=[]}function f(){const k=o.attendants;!k||k.length===0||(n.attendance&&n.attendance.length>0&&n.attendance.forEach(x=>{const w=k.find(b=>b.id===x.id);w&&!l.value.some(b=>b.id===x.id)&&(w.selected=!0,l.value.push(w))}),r("attend",l.value))}function h(k){const x=l.value.findIndex(w=>w.id===k.id);x!==-1?(k.selected=!1,l.value.splice(x,1)):(n.multiSelect||c(),k.selected=!0,l.value.push(k)),r("attend",l.value)}function y(k,x){k.selected=!1,l.value.splice(x,1),r("attend",l.value)}return(k,x)=>(t.openBlock(),t.createElementBlock("div",sf,[t.createElementVNode("div",lf,[t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper bg-base-300 border-b border-base-200",{expanded:s.value||l.value.length>0}]),onClick:x[1]||(x[1]=w=>s.value=!s.value)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":x[0]||(x[0]=w=>i.value=w),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,cf),[[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),l.value.length>0&&e.multiSelect&&t.unref(o).loaded?(t.openBlock(),t.createElementBlock("main",df,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(w,b)=>(t.openBlock(),t.createElementBlock("div",{key:w,class:"selection-item"},[t.createTextVNode(t.toDisplayString(w.name)+" ",1),t.createElementVNode("button",{onClick:B=>y(w,b),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,uf)]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass([l.value.length>0&&e.multiSelect?"dropdown-attendance-expanded":"dropdown-attendance","dropdown-attendance bg-base-300"])},[t.createElementVNode("div",mf,[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",ff,[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,hf)):(t.openBlock(),t.createElementBlock("svg",pf,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:b=>h(w),class:"department-name h-full w-full"},t.toDisplayString(w.name),9,gf)],2))),128)):t.createCommentVNode("",!0)],2)]),t.unref(o).loaded&&d.value.length===0?(t.openBlock(),t.createElementBlock("div",yf," Nenhum atendente disponível. ")):t.createCommentVNode("",!0),t.unref(o).loaded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",kf,x[5]||(x[5]=[t.createTextVNode(" Inicializando atendentes "),t.createElementVNode("div",{class:"library-loader"},null,-1)])))],2)])]))}},[["__scopeId","data-v-d6ad7ae5"]]),bf={class:""},xf={class:"flex justify-between mb-3"},wf={class:""},v1=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",bf,[t.createElementVNode("div",null,[t.createElementVNode("div",xf,[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",wf,[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 vf(e,a){return t.openBlock(),t.createElementBlock("svg")}const Ef={render:vf},Cf=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),Sf=[Cf];function Mf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Sf])}const Bf={render:Mf},Af=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),Vf=[Af];function Df(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Vf])}const _f={render:Df},Nf=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),Tf=[Nf];function Pf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Tf])}const Of={render:Pf},Ff=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),Lf=[Ff];function $f(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Lf])}const Hf={render:$f},Rf=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),zf=[Rf];function If(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...zf])}const Gf={render:If},jf=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),qf=[jf];function Wf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...qf])}const Yf={render:Wf},Uf={Blank:Ef,Prescription01:Bf,Round:_f,Wayfarers:Of,Kurt:Hf,Prescription02:Gf,Sunglasses:Yf},Xf=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),Zf=[Xf];function Qf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zf])}const Kf={render:Qf},Jf=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),e9=[Jf];function t9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...e9])}const a9={render:t9},n9=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),r9=[n9];function o9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...r9])}const i9={render:o9},s9=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),l9=[s9];function c9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...l9])}const d9={render:c9},u9=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),m9=[u9];function f9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...m9])}const h9={render:f9},p9=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),g9=[p9];function y9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...g9])}const k9={render:y9},b9=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),x9=[b9];function w9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...x9])}const v9={render:w9},E9=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),C9=[E9];function S9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...C9])}const M9={render:S9},B9=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),A9=[B9];function V9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...A9])}const D9={render:V9},_9={BlazerShirt:Kf,CollarSweater:i9,BlazerSweater:a9,Hoodie:d9,GraphicShirt:h9,Overall:k9,ShirtCrewNeck:v9,ShirtVNeck:M9,ShirtScoopNeck:D9},N9=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),T9=[N9];function P9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...T9])}const O9={render:P9},F9=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),L9=[F9];function $9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...L9])}const H9={render:$9},R9=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),z9=[R9];function I9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...z9])}const G9={render:I9},j9=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),q9=[j9];function W9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...q9])}const Y9={render:W9},U9=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),X9=[U9];function Z9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...X9])}const Q9={render:Z9},K9=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),J9=[K9];function eh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...J9])}const th={render:eh},ah=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),nh=[ah];function rh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...nh])}const oh={render:rh},ih=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),sh=[ih];function lh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sh])}const ch={render:lh},dh=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),uh=[dh];function mh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...uh])}const fh={render:mh},hh=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),ph=[hh];function gh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ph])}const yh={render:gh},kh=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),bh=[kh];function xh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bh])}const wh={render:xh},vh=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),Eh=[vh];function Ch(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Eh])}const Sh={render:Ch},Mh=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),Bh=[Mh];function Ah(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Bh])}const Vh={render:Ah},Dh=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),_h=[Dh];function Nh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[..._h])}const Th={render:Nh},Ph=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),Oh=[Ph];function Fh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Oh])}const Lh={render:Fh},$h=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),Hh=[$h];function Rh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Hh])}const zh={render:Rh},Ih=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=[Ih];function jh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Gh])}const qh={render:jh},Wh=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),Yh=[Wh];function Uh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Yh])}const Xh={render:Uh},Zh=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),Qh=[Zh];function Kh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Qh])}const Jh={render:Kh};function ep(e,a){return t.openBlock(),t.createElementBlock("svg")}const tp={render:ep},ap=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),np=[ap];function rp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...np])}const op={render:rp},ip=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),sp=[ip];function lp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sp])}const cp={render:lp},dp=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),up=[dp];function mp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...up])}const fp={render:mp},hp=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),pp=[hp];function gp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...pp])}const yp={render:gp},kp=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),bp=[kp];function xp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bp])}const wp={render:xp},vp=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),Ep=[vp];function Cp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ep])}const Sp={render:Cp},Mp=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),Bp=[Mp];function Ap(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Bp])}const Vp={render:Ap},Dp=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),_p=[Dp];function Np(e,a){return t.openBlock(),t.createElementBlock("svg",null,[..._p])}const Tp={render:Np},Pp=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),Op=[Pp];function Fp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Op])}const Lp={render:Fp},$p=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),Hp=[$p];function Rp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Hp])}const zp={render:Rp},Ip=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=[Ip];function jp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Gp])}const qp={render:jp},Wp=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),Yp=[Wp];function Up(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Yp])}const Xp={render:Up},Zp=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),Qp=[Zp];function Kp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Qp])}const Jp={render:Kp},eg=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),tg=[eg];function ag(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...tg])}const ng={render:ag},rg=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),og=[rg];function ig(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...og])}const sg={render:ig},lg=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),cg=[lg];function dg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...cg])}const ug={render:dg},mg={Eyepatch:O9,Hat:Y9,Hijab:oh,LongHairBigHair:yh,LongHairBob:Vh,LongHairBun:zh,LongHairCurly:Jh,LongHairCurvy:cp,LongHairDreads:wp,LongHairFrida:Tp,LongHairFro:qp,LongHairFroBand:ng,LongHairMiaWallace:H9,LongHairNotTooLong:Q9,LongHairShavedSides:ch,LongHairStraight:wh,LongHairStraight2:Th,LongHairStraightStrand:qh,NoHair:tp,ShortHairDreads01:fp,ShortHairDreads02:Sp,ShortHairFrizzle:Lp,ShortHairShaggy:Xp,ShortHairShaggyMullet:sg,ShortHairShortCurly:G9,ShortHairShortFlat:th,ShortHairShortRound:fh,ShortHairShortWaved:Sh,ShortHairSides:Lh,ShortHairTheCaesar:Xh,ShortHairTheCaesarSidePart:op,Turban:yp,WinterHat1:Vp,WinterHat2:zp,WinterHat3:Jp,WinterHat4:ug},fg=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),hg=[fg];function pg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...hg])}const gg={render:pg},yg=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),kg=[yg];function bg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...kg])}const xg={render:bg},wg=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),vg=[wg];function Eg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vg])}const Cg={render:Eg},Sg=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),Mg=[Sg];function Bg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mg])}const Ag={render:Bg};function Vg(e,a){return t.openBlock(),t.createElementBlock("svg")}const Dg={render:Vg},_g=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),Ng=[_g];function Tg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ng])}const Pg={render:Tg},Og={BeardMajestic:xg,BeardLight:gg,MoustacheFancy:Cg,BeardMedium:Ag,Blank:Dg,MoustacheMagnum:Pg},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/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),Lg=[Fg];function $g(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Lg])}const Hg={render:$g},Rg=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),zg=[Rg];function Ig(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...zg])}const Gg={render:Ig},jg=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),qg=[jg];function Wg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...qg])}const Yg={render:Wg},Ug=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),Xg=[Ug];function Zg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Xg])}const Qg={render:Zg},Kg=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),Jg=[Kg];function ey(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Jg])}const ty={render:ey},ay=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),ny=[ay];function ry(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ny])}const oy={render:ry},iy=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),sy=[iy];function ly(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sy])}const cy={render:ly},dy=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),uy=[dy];function my(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...uy])}const fy={render:my},hy=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),py=[hy];function gy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...py])}const yy={render:gy},ky=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),by=[ky];function xy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...by])}const wy={render:xy},vy=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),Ey=[vy];function Cy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ey])}const Sy={render:Cy},My={Bat:Hg,Cumbia:Gg,Diamond:Yg,Pizza:Qg,Selena:ty,SkullOutline:oy,Bear:cy,Deer:fy,Hola:yy,Resist:wy,Skull:Sy},By=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),Ay=[By];function Vy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ay])}const Dy={render:Vy},_y=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),Ny=[_y];function Ty(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ny])}const Py={render:Ty},Oy=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),Fy=[Oy];function Ly(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Fy])}const $y={render:Ly},Hy=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),Ry=[Hy];function zy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ry])}const Iy={render:zy},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),jy=[Gy];function qy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...jy])}const Wy={render:qy},Yy=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),Uy=[Yy];function Xy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Uy])}const Zy={render:Xy},Qy=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),Ky=[Qy];function Jy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ky])}const ek={render:Jy},tk=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),ak=[tk];function nk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ak])}const rk={render:nk},ok=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),ik=[ok];function sk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ik])}const lk={render:sk},ck=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),dk=[ck];function uk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...dk])}const mk={render:uk},fk=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),hk=[fk];function pk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...hk])}const gk={render:pk},yk=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),kk=[yk];function bk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...kk])}const xk={render:bk},wk={Close:Dy,Default:Py,EyeRoll:$y,Hearts:Iy,Squint:Wy,Wink:Zy,Cry:ek,Dizzy:rk,Happy:lk,Side:mk,Surprised:gk,WinkWacky:xk},vk=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),Ek=[vk];function Ck(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ek])}const Sk={render:Ck},Mk=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),Bk=[Mk];function Ak(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Bk])}const Vk={render:Ak},Dk=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),_k=[Dk];function Nk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[..._k])}const Tk={render:Nk},Pk=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),Ok=[Pk];function Fk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ok])}const Lk={render:Fk},$k=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),Hk=[$k];function Rk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Hk])}const zk={render:Rk},Ik=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=[Ik];function jk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Gk])}const qk={render:jk},Wk=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),Yk=[Wk];function Uk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Yk])}const Xk={render:Uk},Zk=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),Qk=[Zk];function Kk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Qk])}const Jk={render:Kk},eb=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),tb=[eb];function ab(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...tb])}const nb={render:ab},rb=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),ob=[rb];function ib(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ob])}const sb={render:ib},lb=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),cb=[lb];function db(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...cb])}const ub={render:db},mb=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),fb=[mb];function hb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...fb])}const pb={render:hb},gb=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),yb=[gb];function kb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...yb])}const bb={render:kb},xb={Angry:Sk,FlatNatural:Vk,SadConcerned:Tk,UpDownNatural:Lk,AngryNatural:zk,FrownNatural:qk,SadConcernedNatural:Xk,Default:Jk,RaisedExcited:nb,UnibrowNatural:sb,DefaultNatural:ub,RaisedExcitedNatural:pb,UpDown:bb},wb=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),vb=[wb];function Eb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vb])}const Cb={render:Eb},Sb=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),Mb=[Sb];function Bb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mb])}const Ab={render:Bb},Vb=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),Db=[Vb];function _b(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Db])}const Nb={render:_b},Tb=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),Pb=[Tb];function Ob(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pb])}const Fb={render:Ob},Lb=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),$b=[Lb];function Hb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$b])}const Rb={render:Hb},zb=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),Ib=[zb];function Gb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ib])}const jb={render:Gb},qb=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),Wb=[qb];function Yb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wb])}const Ub={render:Yb},Xb=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),Zb=[Xb];function Qb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zb])}const Kb={render:Qb},Jb=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),ex=[Jb];function tx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ex])}const ax={render:tx},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),rx=[nx];function ox(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...rx])}const ix={render:ox},sx=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),lx=[sx];function cx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...lx])}const dx={render:cx},ux=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),mx=[ux];function fx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...mx])}const hx={render:fx},px={Concerned:Cb,Disbelief:Ab,Grimace:Nb,ScreamOpen:Fb,Smile:Rb,Twinkle:jb,Default:Ub,Eating:Kb,Sad:ax,Serious:ix,Tongue:dx,Vomit:hx},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"})])],yx=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(_9[e.clothes]),e.clothes==="GraphicShirt"?t.h(My[e.graphicShirt]):null,t.h(wk[e.eyes]),t.h(xb[e.eyebrows]),t.h(px[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(mg[e.top]),t.h(Og[e.facialHair]),t.h(Uf[e.accessories])])])])])])};function aa(e){return e[Math.floor(Math.random()*e.length)]}function kx(e){return aa(Object.keys(e))}function Mn(e){return e[kx(e)]}const E1={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"},C1={Auburn:"#A55728",Black:"#2C1B18",Blonde:"#B58143",BlondeGolden:"#D6B370",Brown:"#724133",BrownDark:"#4A312C",PastelPink:"#F59797",Platinum:"#ECDCBF",Red:"#C93305",SilverGray:"#E8E1E1"},bx={Tanned:"#FD9841",Yellow:"#F8D25C",Pale:"#FFDBB4",Light:"#EDB98A",Brown:"#D08B5B",DarkBrown:"#AE5D29",Black:"#614335"},xx=["Blank","Prescription01","Round","Wayfarers","Kurt","Prescription02","Sunglasses"],wx=["Close","Default","EyeRoll","Hearts","Squint","Wink","Cry","Dizzy","Happy","Side","Surprised","WinkWacky"],vx=["Angry","FlatNatural","SadConcerned","UpDownNatural","AngryNatural","FrownNatural","SadConcernedNatural","Default","RaisedExcited","UnibrowNatural","DefaultNatural","RaisedExcitedNatural","UpDown"],Ex=["BeardMajestic","BeardLight","MoustacheFancy","BeardMedium","Blank","MoustacheMagnum"],Cx=["Concerned","Disbelief","Grimace","ScreamOpen","Smile","Twinkle","Default","Eating","Sad","Serious","Tongue","Vomit"],Sx=["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"],Mx=["BlazerShirt","CollarSweater","BlazerSweater","Hoodie","GraphicShirt","Overall","ShirtCrewNeck","ShirtVNeck","ShirtScoopNeck"],Bx=["Bat","Cumbia","Diamond","Pizza","Selena","SkullOutline","Bear","Deer","Hola","Resist","Skull"],pr=(e={})=>{var a,n,r,o,i,s,l,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:Mn(bx),hairColor:(r=e.hairColor)!=null?r:Mn(C1),topColor:(o=e.topColor)!=null?o:Mn(E1),clothesColor:(i=e.clothesColor)!=null?i:Mn(E1),facialHairColor:(s=e.facialHairColor)!=null?s:Mn(C1),accessories:(l=e.accessories)!=null?l:aa(xx),eyes:(d=e.eyes)!=null?d:aa(wx),eyebrows:(p=e.eyebrows)!=null?p:aa(vx),mouth:(u=e.mouth)!=null?u:aa(Cx),top:(m=e.top)!=null?m:aa(Sx),clothes:(c=e.clothes)!=null?c:aa(Mx),graphicShirt:(f=e.graphicShirt)!=null?f:aa(Bx),facialHair:(h=e.facialHair)!=null?h:aa(Ex)}},S1={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"},Ax={class:"main-container"},Vx=["src"],Dx={key:1,class:"avatar-section flex flex-col"},_x={id:"avatar-container",class:"avatar-container"},Nx={class:"controls"},Tx={class:"checkbox-label checkbox-wrapper-2",for:"avatarLabel"},M1=qe({__name:"randomAvatar",props:{content:{type:String,default:null}},emits:["base64","random"],setup(e,{emit:a}){const n=t.ref(S1),r=t.ref(S1),o=t.ref(!1);t.onMounted(async()=>{n.value=pr(n.value),await t.nextTick(),p()});const i=a,s=e,l=async()=>{if(o.value)n.value=pr(r.value);else{const u={...r.value,facialHair:"Blank"};n.value=pr(u)}await t.nextTick(),p()},d=async()=>{n.value=pr({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",Ax,[s.content?(t.openBlock(),t.createElementBlock("img",{key:0,class:"max-w-[45%] max-h-[45%] flex items-center justify-center mx-auto",src:s.content},null,8,Vx)):(t.openBlock(),t.createElementBlock("section",Dx,[t.createElementVNode("div",_x,[t.createVNode(t.unref(yx),t.normalizeProps(t.guardReactiveProps(n.value)),null,16)]),t.createElementVNode("div",Nx,[t.createElementVNode("label",Tx,[t.withDirectives(t.createElementVNode("input",{id:"avatarLabel","onUpdate:modelValue":m[0]||(m[0]=c=>o.value=c),type:"checkbox",onInput:l,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"]]),Px={class:"modal_container"},Ox={class:"modal_box"},Fx={class:"modal_header"},B1=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",Px,[t.createElementVNode("div",{class:t.normalizeClass(["modal_content ",e.defineWidth])},[t.createElementVNode("div",Ox,[t.createElementVNode("div",Fx,[t.renderSlot(o.$slots,"header",{},void 0,!0),t.createElementVNode("button",{class:"modal_close",onClick:i[0]||(i[0]=s=>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"]]),Lx={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 i1=["viewport","carousel"],mr={"bottom-to-top":"btt","left-to-right":"ltr","right-to-left":"rtl","top-to-bottom":"ttb"},s1=["ltr","left-to-right","rtl","right-to-left","ttb","top-to-bottom","btt","bottom-to-top"],pm={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}"},l1=["slide","fade"],c1=["center","start","end","center-even","center-odd"],d1=10,fr=.08,at={autoplay:0,breakpointMode:i1[0],breakpoints:void 0,dir:s1[0],enabled:!0,gap:0,height:"auto",i18n:pm,ignoreAnimations:!1,itemsToScroll:1,itemsToShow:1,modelValue:0,mouseDrag:!0,mouseWheel:!1,pauseAutoplayOnHover:!1,preventExcessiveDragging:!1,slideEffect:l1[0],snapAlign:c1[0],touchDrag:!0,transition:300,wrapAround:!1},Na=Symbol("carousel"),gm=e=>{const a=t.shallowReactive([]),n=r=>{r!==void 0?a.slice(r).forEach((o,i)=>{var s;(s=o.exposed)===null||s===void 0||s.setIndex(r+i)}):a.forEach((o,i)=>{var s;(s=o.exposed)===null||s===void 0||s.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 ym(e){return e.length===0?0:e.reduce((n,r)=>n+r,0)/e.length}function u1({slides:e,position:a,toShow:n}){const r=[],o=a==="before",i=o?-n:0,s=o?0:n;if(e.length<=0)return r;for(let l=i;l<s;l++){const p={index:o?l:l+e.length,isClone:!0,id:void 0,key:`clone-${a}-${l}`},u=e[(l%e.length+e.length)%e.length].vnode,m=t.cloneVNode(u,p);m.el=null,r.push(m)}return r}const km='a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])';function m1(e){if(!e.el||!(e.el instanceof Element))return;const a=e.el.querySelectorAll(km);for(const n of a)n instanceof HTMLElement&&!n.hasAttribute("disabled")&&n.getAttribute("aria-hidden")!=="true"&&n.setAttribute("tabindex","-1")}function bm(e,a){return Object.keys(e).filter(n=>!a.includes(n)).reduce((n,r)=>(n[r]=e[r],n),{})}function xm(e){const{isVertical:a,isReversed:n,dragged:r,effectiveSlideSize:o,threshold:i}=e,s=a?r.y:r.x;if(s===0)return 0;const l=s/o,d=Math.abs(l);if(d<i)return 0;const p=d<1?Math.sign(l):Math.round(l);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 wm(e){const{transform:a}=window.getComputedStyle(e);return a.split(/[(,)]/).slice(1,-1).map(n=>parseFloat(n))}function vm(e){let a=1,n=1;return e.forEach(r=>{const o=wm(r);o.length===6&&(a/=o[0],n/=o[3])}),{widthMultiplier:a,heightMultiplier:n}}function Em(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 Cm(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 Go({slideSize:e,viewportSize:a,align:n,itemsToShow:r}){return r!==void 0?Em(n,r):e!==void 0&&a!==void 0?Cm(n,e,a):0}function f1(e="",a={}){return Object.entries(a).reduce((n,[r,o])=>n.replace(`{${r}}`,String(o)),e)}function h1({val:e,max:a,min:n=0}){const r=a-n+1;return((e-n)%r+r)%r+n}function jo(e,a=0){let n=!1,r=0,o=null;function i(...s){if(n)return;n=!0;const l=()=>{o=requestAnimationFrame(d=>{d-r>a?(r=d,e(...s),n=!1):l()})};l()}return i.cancel=()=>{o&&(cancelAnimationFrame(o),o=null,n=!1)},i}function hr(e,a="px"){if(!(e==null||e===""))return typeof e=="number"||parseFloat(e).toString()===e?`${e}${a}`:e}const Sm=t.defineComponent({name:"CarouselAria",setup(){const e=t.inject(Na);return e?()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},f1(e.config.i18n.itemXofY,{currentSlide:e.currentSlide+1,slidesCount:e.slidesCount})):()=>""}});function Mm(e){let a=!1;const n={x:0,y:0},r=t.reactive({x:0,y:0}),o=t.ref(!1),{isSliding:i}=e,s=t.computed(()=>typeof i=="boolean"?i:i.value),l=u=>{var m;const c=u.target.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(c)||s.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=jo(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:l}}function Bm(){const e=t.ref(!1);return{isHover:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function Am(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:l=>{var d,p;if(l.preventDefault(),!r.mouseWheel||i.value)return;const u=typeof r.mouseWheel=="object"&&(d=r.mouseWheel.threshold)!==null&&d!==void 0?d:d1,m=Math.abs(l.deltaY)>u?l.deltaY:0,c=Math.abs(l.deltaX)>u?l.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 Vm={autoplay:{default:at.autoplay,type:Number},breakpoints:{default:at.breakpoints,type:Object},breakpointMode:{default:at.breakpointMode,validator(e){return i1.includes(e)}},clamp:{type:Boolean},dir:{type:String,default:at.dir,validator(e,a){if(!s1.includes(e))return!1;const n=e in mr?mr[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 l1.includes(e)}},snapAlign:{default:at.snapAlign,validator(e){return c1.includes(e)}},touchDrag:{default:at.touchDrag,type:[Boolean,Object]},transition:{default:at.transition,type:Number},wrapAround:{default:at.wrapAround,type:Boolean}},Dm=t.defineComponent({name:"VueCarousel",props:Vm,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=gm(n),s=i.getSlides(),l=t.computed(()=>s.length),d=t.ref(null),p=t.ref(null),u=t.ref(0),m=t.computed(()=>Object.assign(Object.assign(Object.assign({},at),bm(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,O=>h.value=O);const y=t.ref(0),k=t.computed(()=>Math.ceil((l.value-1)/2)),x=t.computed(()=>l.value-1),w=t.computed(()=>0);let b=null,B=null,A=null;const _=t.computed(()=>u.value+c.gap),E=t.computed(()=>{const O=c.dir||"ltr";return O in mr?mr[O]:O}),C=t.computed(()=>["rtl","btt"].includes(E.value)),V=t.computed(()=>["ttb","btt"].includes(E.value)),T=t.computed(()=>c.itemsToShow==="auto"),Y=t.computed(()=>V.value?"height":"width");function X(){var O;if(!Q.value)return;const P=(m.value.breakpointMode==="carousel"?(O=d.value)===null||O===void 0?void 0:O.getBoundingClientRect().width:typeof window<"u"?window.innerWidth:0)||0,ee=Object.keys(e.breakpoints||{}).map(xe=>Number(xe)).sort((xe,Ae)=>+Ae-+xe),se={};ee.some(xe=>P>=xe?(Object.assign(se,e.breakpoints[xe]),se.i18n&&Object.assign(se.i18n,m.value.i18n,e.breakpoints[xe].i18n),!0):!1),Object.assign(c,m.value,se),T.value||(c.itemsToShow=ta({val:Number(c.itemsToShow),max:e.clamp?l.value:1/0,min:1}))}const G=jo(()=>{X(),D(),W()}),S=t.shallowReactive(new Set),I=t.ref([]);function j({widthMultiplier:O,heightMultiplier:P}){I.value=s.map(ee=>{var se;const xe=(se=ee.exposed)===null||se===void 0?void 0:se.getBoundingRect();return{width:xe.width*O,height:xe.height*P}})}const U=t.ref({width:0,height:0});function de({widthMultiplier:O,heightMultiplier:P}){var ee;const se=((ee=p.value)===null||ee===void 0?void 0:ee.getBoundingClientRect())||{width:0,height:0};U.value={width:se.width*O,height:se.height*P}}function W(){if(!p.value)return;const O=vm(S);if(de(O),j(O),T.value)u.value=ym(I.value.map(P=>P[Y.value]));else{const P=Number(c.itemsToShow),ee=(P-1)*c.gap;u.value=(U.value[Y.value]-ee)/P}}function D(){!c.wrapAround&&l.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(()=>{W()});let ne;const K=O=>{const P=O.target;if(!(!(P!=null&&P.contains(d.value))||Array.isArray(ie.value)&&ie.value.includes(O.animationName))&&(S.add(P),!ne)){const ee=()=>{ne=requestAnimationFrame(()=>{W(),ee()})};ee()}},M=O=>{const P=O.target;P&&S.delete(P),ne&&S.size===0&&(cancelAnimationFrame(ne),W())},Q=t.ref(!1);typeof document<"u"&&t.watchEffect(()=>{Q.value&&ie.value!==!1?(document.addEventListener("animationstart",K),document.addEventListener("animationend",M)):(document.removeEventListener("animationstart",K),document.removeEventListener("animationend",M))}),t.onMounted(()=>{Q.value=!0,X(),v(),d.value&&(A=new ResizeObserver(G),A.observe(d.value)),n("init")}),t.onBeforeUnmount(()=>{Q.value=!1,i.cleanup(),B&&clearTimeout(B),ne&&cancelAnimationFrame(ne),b&&clearInterval(b),A&&(A.disconnect(),A=null),typeof document<"u"&&me(),d.value&&(d.value.removeEventListener("transitionend",W),d.value.removeEventListener("animationiteration",W))});const{isHover:fe,handleMouseEnter:R,handleMouseLeave:ye}=Bm(),Z=jo(O=>{if(!O.ctrlKey)switch(O.key){case"ArrowLeft":case"ArrowUp":V.value===O.key.endsWith("Up")&&(C.value?ue(!0):Me(!0));break;case"ArrowRight":case"ArrowDown":V.value===O.key.endsWith("Down")&&(C.value?Me(!0):ue(!0));break}},200),me=()=>{document.removeEventListener("keydown",Z)},$=()=>{document.addEventListener("keydown",Z)};function v(){!c.autoplay||c.autoplay<=0||(b=setInterval(()=>{c.pauseAutoplayOnHover&&fe.value||ue()},c.autoplay))}function g(){N(),v()}function N(){b&&(clearInterval(b),b=null)}const L=t.ref(!1),F=({deltaX:O,deltaY:P,isTouch:ee})=>{var se,xe,Ae,Ne;n("drag",{deltaX:O,deltaY:P});const Pe=ee?typeof c.touchDrag=="object"&&(xe=(se=c.touchDrag)===null||se===void 0?void 0:se.threshold)!==null&&xe!==void 0?xe:fr:typeof c.mouseDrag=="object"&&(Ne=(Ae=c.mouseDrag)===null||Ae===void 0?void 0:Ae.threshold)!==null&&Ne!==void 0?Ne:fr,je=xm({isVertical:V.value,isReversed:C.value,dragged:{x:O,y:P},effectiveSlideSize:_.value,threshold:Pe});je!==0&&(h.value=c.wrapAround?f.value+je:ta({val:f.value+je,max:x.value,min:w.value}))},J=()=>De(h.value),{dragged:H,isDragging:te,handleDragStart:ce}=Mm({isSliding:L,onDrag:F,onDragEnd:J}),ge=({deltaX:O,deltaY:P,isScrollingForward:ee})=>{n("wheel",{deltaX:O,deltaY:P}),ee?C.value?Me():ue():C.value?ue():Me()},{handleScroll:be}=Am({isVertical:V,isSliding:L,config:c,onWheel:ge});function ue(O=!1){De(f.value+c.itemsToScroll,O)}function Me(O=!1){De(f.value-c.itemsToScroll,O)}function De(O,P=!1){if(!P&&L.value)return;const ee=(c.wrapAround?h1:ta)({val:O,max:x.value,min:w.value});if(f.value===ee)return;y.value=f.value,n("slide-start",{slidingToIndex:O,currentSlideIndex:f.value,prevSlideIndex:y.value,slidesCount:l.value}),N(),L.value=!0,f.value=O,ee!==O&&Se.pause(),n("update:modelValue",ee),B=setTimeout(()=>{c.wrapAround&&ee!==O&&(Se.resume(),f.value=ee,n("loop",{currentSlideIndex:f.value,slidingToIndex:O})),n("slide-end",{currentSlideIndex:f.value,prevSlideIndex:y.value,slidesCount:l.value}),L.value=!1,g()},c.transition)}function _e(){X(),D(),W(),g()}t.watch(()=>[m.value,e.breakpoints],()=>X(),{deep:!0}),t.watch(()=>e.autoplay,()=>g());const Se=t.watch(()=>e.modelValue,O=>{O!==f.value&&De(Number(O),!0)});n("before-init");const Le=t.computed(()=>{if(!c.wrapAround)return{before:0,after:0};if(T.value)return{before:s.length,after:s.length};const O=Number(c.itemsToShow),P=Math.ceil(O+(c.itemsToScroll-1)),ee=P-h.value,se=P-(l.value-(h.value+1));return{before:Math.max(0,ee),after:Math.max(0,se)}}),Be=t.computed(()=>Le.value.before?T.value?I.value.slice(-1*Le.value.before).reduce((O,P)=>O+P[Y.value]+c.gap,0)*-1:Le.value.before*_.value*-1:0),q=t.computed(()=>{var O;if(T.value){const P=(f.value%s.length+s.length)%s.length;return Go({slideSize:(O=I.value[P])===null||O===void 0?void 0:O[Y.value],viewportSize:U.value[Y.value],align:c.snapAlign})}return Go({align:c.snapAlign,itemsToShow:+c.itemsToShow})}),ae=t.computed(()=>{let O=0;if(T.value){if(f.value<0?O=I.value.slice(f.value).reduce((P,ee)=>P+ee[Y.value]+c.gap,0)*-1:O=I.value.slice(0,f.value).reduce((P,ee)=>P+ee[Y.value]+c.gap,0),O-=q.value,!c.wrapAround){const P=I.value.reduce((ee,se)=>ee+se[Y.value]+c.gap,0)-U.value[Y.value]-c.gap;O=ta({val:O,max:P,min:0})}}else{let P=f.value-q.value;c.wrapAround||(P=ta({val:P,max:l.value-+c.itemsToShow,min:0})),O=P*_.value}return O*(C.value?1:-1)}),re=t.computed(()=>{var O,P;if(!T.value){const xe=f.value-q.value;return c.wrapAround?{min:Math.floor(xe),max:Math.ceil(xe+Number(c.itemsToShow)-1)}:{min:Math.floor(ta({val:xe,max:l.value-Number(c.itemsToShow),min:0})),max:Math.ceil(ta({val:xe+Number(c.itemsToShow)-1,max:l.value-1,min:0}))}}let ee=0;{let xe=0,Ae=0-Le.value.before;const Ne=Math.abs(ae.value+Be.value);for(;xe<=Ne;){const Pe=(Ae%s.length+s.length)%s.length;xe+=((O=I.value[Pe])===null||O===void 0?void 0:O[Y.value])+c.gap,Ae++}ee=Ae-1}let se=0;{let xe=ee,Ae=0;for(xe<0?Ae=I.value.slice(0,xe).reduce((Ne,Pe)=>Ne+Pe[Y.value]+c.gap,0)-Math.abs(ae.value+Be.value):Ae=I.value.slice(0,xe).reduce((Ne,Pe)=>Ne+Pe[Y.value]+c.gap,0)-Math.abs(ae.value);Ae<U.value[Y.value];){const Ne=(xe%s.length+s.length)%s.length;Ae+=((P=I.value[Ne])===null||P===void 0?void 0:P[Y.value])+c.gap,xe++}se=xe-1}return{min:Math.floor(ee),max:Math.ceil(se)}}),le=t.computed(()=>{if(c.slideEffect==="fade")return;const O=V.value?"Y":"X",P=V.value?H.y:H.x;let ee=ae.value+P;if(!c.wrapAround&&c.preventExcessiveDragging){let se=0;T.value?se=I.value.reduce((Ne,Pe)=>Ne+Pe[Y.value],0):se=(l.value-Number(c.itemsToShow))*_.value;const xe=C.value?0:-1*se,Ae=C.value?se:0;ee=ta({val:ee,min:xe,max:Ae})}return`translate${O}(${ee}px)`}),Ee=t.computed(()=>({"--vc-carousel-height":hr(c.height),"--vc-cloned-offset":hr(Be.value),"--vc-slide-gap":hr(c.gap),"--vc-transition-duration":L.value?hr(c.transition,"ms"):void 0})),he={slideTo:De,next:ue,prev:Me},ke=t.reactive({activeSlide:h,config:c,currentSlide:f,isSliding:L,isVertical:V,maxSlide:x,minSlide:w,nav:he,normalizedDir:E,slideRegistry:i,slideSize:u,slides:s,slidesCount:l,viewport:p,visibleRange:re});t.provide(Na,ke);const z=t.reactive({config:c,currentSlide:f,maxSlide:x,middleSlide:k,minSlide:w,slideSize:u,slidesCount:l});return r(t.reactive(Object.assign({data:z,next:ue,prev:Me,restartCarousel:_e,slideTo:De,updateBreakpointsConfig:X,updateSlideSize:W,updateSlidesData:D},t.toRefs(ke)))),()=>{var O;const P=a.default||a.slides,ee=(P==null?void 0:P(z))||[],{before:se,after:xe}=Le.value,Ae=u1({slides:s,position:"before",toShow:se}),Ne=u1({slides:s,position:"after",toShow:xe}),Pe=[...Ae,...ee,...Ne];if(!c.enabled||!Pe.length)return t.h("section",{ref:d,class:["carousel","is-disabled"]},Pe);const je=((O=a.addons)===null||O===void 0?void 0:O.call(a,z))||[],nt=t.h("ol",{class:"carousel__track",onMousedownCapture:c.mouseDrag?ce:null,onTouchstartPassiveCapture:c.touchDrag?ce:null,onWheel:c.mouseWheel?be:null,style:{transform:le.value}},Pe),bt=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":L.value,"is-vertical":V.value}],dir:E.value,style:Ee.value,"aria-label":c.i18n.ariaGallery,tabindex:"0",onBlur:me,onFocus:$,onMouseenter:R,onMouseleave:ye},[bt,je,t.h(Sm)])}}});var qo;(function(e){e.arrowDown="arrowDown",e.arrowLeft="arrowLeft",e.arrowRight="arrowRight",e.arrowUp="arrowUp"})(qo||(qo={}));const p1=e=>`icon${e.charAt(0).toUpperCase()+e.slice(1)}`,_m={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 Nm(e){return e in qo}const g1=e=>e&&Nm(e),y1=t.defineComponent({props:{name:{type:String,required:!0,validator:g1},title:{type:String,default:e=>e.name?at.i18n[p1(e.name)]:""}},setup(e){const a=t.inject(Na,null);return()=>{const n=e.name;if(!n||!g1(n))return;const r=_m[n],o=t.h("path",{d:r}),i=(a==null?void 0:a.config.i18n[p1(n)])||e.title,s=t.h("title",i);return t.h("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img","aria-label":i},[s,o])}}});t.defineComponent({name:"CarouselNavigation",inheritAttrs:!1,props:{carousel:{type:Object}},setup(e,{slots:a,attrs:n}){let r=t.inject(Na,null);const{next:o,prev:i}=a,s=()=>({btt:"arrowDown",ltr:"arrowLeft",rtl:"arrowRight",ttb:"arrowUp"})[r.normalizedDir],l=()=>({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(y1,{name:s()})),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(y1,{name:l()}));return[m,c]}}}),t.defineComponent({name:"CarouselPagination",props:{disableOnClick:{type:Boolean},paginateByItemsToShow:{type:Boolean},carousel:{type:Object}},setup(e){let a=t.inject(Na,null);const n=t.computed(()=>a.config.itemsToShow),r=t.computed(()=>Go({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)),s=t.computed(()=>Math.ceil(a.slidesCount/n.value)),l=d=>h1(o.value?{val:i.value,max:s.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?s.value-1:a.maxSlide);m++){const c=f1(a.config.i18n[o.value?"ariaNavigateToPage":"ariaNavigateToSlide"],{slideNumber:m+1}),f=l(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 Tm=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(Na);if(t.provide(Na,void 0),!o)return()=>"";const i=t.ref(e.index),s=h=>{i.value=h},l=t.getCurrentInstance(),d=()=>{const h=l.vnode.el;return h?h.getBoundingClientRect():{width:0,height:0}};r({id:e.id,setIndex:s,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(l,e.index),t.onUnmounted(()=>{o.slideRegistry.unregisterSlide(l)}),e.isClone&&(t.onMounted(()=>{m1(l.vnode)}),t.onUpdated(()=>{m1(l.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)}}}),Pm={key:0,class:"preview-overlay bg-base-300"},Om={class:"preview-info"},Fm={class:"queue-info"},Lm={class:"carousel-container bg-base-200"},$m={class:"carousel-item"},Hm=["onClick"],Rm=["onClick"],zm={class:"send-footer"},Im={key:1,class:"toast-loader-files"},Gm=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(""),s=t.ref(null),l=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((G,S)=>{const I=new FileReader;I.readAsDataURL(X),I.onload=()=>{G(I.result)},I.onerror=j=>{S(j)}}),y=()=>{o.value=!0},k=()=>{o.value=!1},x=()=>{d.value=[],l.value=[],i.value="",p.value=null,u.value=0},w=X=>{if(!(X<0||X>=d.value.length)){if(d.value.splice(X,1),l.value.splice(X,1),d.value.length===0){p.value=null,u.value=0;return}if(X===u.value){const G=X>0?X-1:0;p.value=d.value[G],u.value=G}else X<u.value&&(u.value-=1)}},b=()=>{s.value.click()},B=async X=>{const G=Array.from(X.target.files);l.value=G,d.value=await Promise.all(G.map(async S=>({name:S.name,base64:await h(S)}))),p.value=d.value[0],t.nextTick(()=>{V()})},A=async X=>{o.value=!1;const G=Array.from(X.dataTransfer.files);l.value.push(...G);const S=await Promise.all(G.map(async I=>({name:I.name,base64:await h(I)})));d.value.push(...S),p.value||(p.value=d.value[0],u.value=0),t.nextTick(()=>{V()})},_=X=>X?X.split(";")[0].split(":")[1]:null,E=async()=>{try{m.value=!0,c.value=l.value.length,f.value=0;for(let X=0;X<l.value.length;X++){const G=X===l.value.length-1,S={type:"file",media:{name:d.value[X].name,mimetype:_(d.value[X].base64),data:d.value[X].base64}};G&&(S.content=i.value),await n.sendFilesToAttendant(n.selectedAttendant.id,S,n.attendant,!0),f.value++}await t.nextTick()}catch(X){console.error(X)}finally{m.value=!1,x(),k()}},C=t.ref(null),V=()=>{C.value&&C.value.focus()},T=(X,G)=>{p.value=X,u.value=G},Y=async X=>{var I;const G=(I=X.clipboardData)==null?void 0:I.items;if(!G)return;const S=[];for(const j of G)if(j.kind==="file"){const U=j.getAsFile();U&&S.push(U)}if(S.length>0){const j=new Set(l.value.map(W=>W.name));if(S.filter(W=>!j.has(W.name)).length===0)return;l.value.push(...S);const de=await Promise.all(S.map(async W=>({name:W.name,base64:await h(W)})));d.value.push(...de),p.value||(p.value=de[0],u.value=0)}t.nextTick(()=>{V()})};return t.watch(u,(X,G)=>{p.value=d.value[X]}),t.onMounted(()=>{window.addEventListener("paste",Y)}),t.onUnmounted(()=>{window.removeEventListener("paste",Y)}),a({chooseFiles:b}),(X,G)=>{var S,I,j;return t.openBlock(),t.createElementBlock("main",{onDragover:t.withModifiers(y,["prevent"]),onDragleave:k,onDrop:t.withModifiers(A,["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",Pm,[t.createElementVNode("button",{onClick:G[0]||(G[0]=U=>x()),class:"close-button"},G[6]||(G[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",Om,[t.createElementVNode("p",null,t.toDisplayString((S=p.value)==null?void 0:S.name),1),t.createVNode($o,{mode:"preview",base64:(I=p.value)==null?void 0:I.base64,mimetype:_((j=p.value)==null?void 0:j.base64)},null,8,["base64","mimetype"]),t.withDirectives(t.createElementVNode("input",{ref_key:"textInput",ref:C,onKeydown:G[1]||(G[1]=t.withKeys(U=>E(),["enter"])),placeholder:"Digite uma mensagem para acompanhar o arquivo",class:"input-drop-files-area bg-base-200","onUpdate:modelValue":G[2]||(G[2]=U=>i.value=U),type:"text"},null,544),[[t.vModelText,i.value]])]),t.createElementVNode("div",Fm,[G[8]||(G[8]=t.createElementVNode("p",null,"fila de envio",-1)),t.createElementVNode("section",Lm,[t.createVNode(t.unref(Dm),t.mergeProps({modelValue:u.value,"onUpdate:modelValue":G[4]||(G[4]=U=>u.value=U)},r),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.value,(U,de)=>(t.openBlock(),t.createBlock(t.unref(Tm),{key:de},{default:t.withCtx(()=>[t.createElementVNode("section",$m,[u.value===de?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:W=>w(de),class:"remove-file-btn"},G[7]||(G[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,Hm)):t.createCommentVNode("",!0),t.createElementVNode("button",{class:t.normalizeClass(["bg-base-100",["carousel-preview",{active:u.value===de}]]),onDragstart:G[3]||(G[3]=t.withModifiers(()=>{},["prevent"])),onClick:W=>T(U,de)},[t.createVNode($o,{mode:"miniature",base64:U.base64,mimetype:_(U.base64)},null,8,["base64","mimetype"])],42,Rm)])]),_:2},1024))),128))]),_:1},16,["modelValue"])])]),t.createElementVNode("footer",zm,[t.createElementVNode("button",{class:"send-button",onClick:G[5]||(G[5]=U=>E())},G[9]||(G[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",Im," 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:s,type:"file",hidden:""},null,544)],32)}}},[["__scopeId","data-v-839bc4f1"]]),jm={key:0,class:"chat-icon"},qm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},Wm={key:0,class:"unread-count"},Ym={key:0,class:"chat-content"},Um={key:1,class:"h-full"},k1=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"},deviceType:{type:String}},emits:["unreadMessagesEmit"],setup(e,{emit:a}){const n=e,{attendants:r,loadingMessages:o,fetchMessagesForAtendente:i,addMessageToAtendente:s,hasNextPageForAtendente:l,sendMessageToAtendente:d,loadMessagesForAtendente:p,resetUnreadMessages:u,loadingAttendants:m}=Js(),c=t.ref(!1),f=t.ref(!1),h=t.ref(null),y=t.ref(null),k=a,x=t.ref(null),w=()=>{var Y;(Y=x.value)==null||Y.chooseFiles()},b=t.computed(()=>{if(h.value){const Y=r.value.find(X=>X.id===h.value.id);return Y?Y.internal_chat.unread:0}return 0}),B=Y=>{var S;const X=(S=y.value)==null?void 0:S.contains(Y.target),G=Y.target.closest(".fancybox__container");!X&&!G&&c.value&&C()};t.onMounted(()=>{document.addEventListener("click",B)}),t.onBeforeUnmount(()=>{document.removeEventListener("click",B)});const A=t.ref(!1),_=t.ref(!1),E=t.computed(()=>_.value?{position:"absolute",width:"42px",height:"42px",transition:"width 0.2s ease-in, height 0.2s ease-out"}:A.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"}),C=()=>{c.value?(_.value=!0,setTimeout(()=>{c.value=!1,_.value=!1},200)):(c.value=!0,A.value=!0,setTimeout(()=>{A.value=!1},200))},V=()=>{c.value||C()},T=async Y=>{const X=r.value.find(S=>S.id===Y.id),G=X?X.internal_chat.unread:0;k("unreadMessagesEmit",G),h.value=Y,u(Y.id),Y.hasNextPage||await i(Y.id)};return t.watch(()=>n.socketMessage,(Y,X)=>{var G;Y!==X&&s(Y,c.value,(G=h.value)==null?void 0:G.id)}),t.watch(c,Y=>{Y&&setTimeout(()=>{f.value=!0},400)}),(Y,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(C,["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(V,["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",jm,[(t.openBlock(),t.createElementBlock("svg",qm,[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)])),b.value>0?(t.openBlock(),t.createElementBlock("span",Wm,t.toDisplayString(b.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&&!_.value?(t.openBlock(),t.createElementBlock("div",Ym,[t.createElementVNode("button",{onClick:t.withModifiers(C,["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(o1,{key:0})):h.value&&!t.unref(o)?(t.openBlock(),t.createElementBlock("div",Um,[t.createVNode(Gm,{ref_key:"dropFilesRef",ref:x,attendant:e.attendant,selectedAttendant:h.value,sendFilesToAttendant:t.unref(d)},{default:t.withCtx(()=>[t.createVNode(r1,{deviceType:e.deviceType,onSendFiles:w,attendant:e.attendant,selectedAtendente:h.value,onVoltar:X[0]||(X[0]=G=>h.value=null),loadMessagesForAtendente:t.unref(p),sendMessageToAtendente:t.unref(d),hasNextPageForAtendente:t.unref(l)},null,8,["deviceType","attendant","selectedAtendente","loadMessagesForAtendente","sendMessageToAtendente","hasNextPageForAtendente"])]),_:1},8,["attendant","selectedAttendant","sendFilesToAttendant"])])):t.createCommentVNode("",!0),!h.value&&!t.unref(m)?(t.openBlock(),t.createBlock(el,{key:2,attendant:e.attendant,atendentes:t.unref(r),onAtendenteSelecionado:T},null,8,["attendant","atendentes"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),_:1})],6)],512))}},[["__scopeId","data-v-57268dc3"]]),Xm={class:"chat-content"},Zm={key:1,class:"h-full"},b1=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},deviceType:{type:String}},emits:["unreadMessagesEmit"],setup(e,{emit:a}){const n=e,{attendants:r,loadingMessages:o,fetchMessagesForAtendente:i,addMessageToAtendente:s,hasNextPageForAtendente:l,sendMessageToAtendente:d,loadMessagesForAtendente:p,resetUnreadMessages:u,loadingAttendants:m}=Js(),c=t.ref(!1),f=t.ref(!1),h=t.ref(null),y=t.ref(null),k=a;t.computed(()=>{if(h.value){const _=r.value.find(E=>E.id===h.value.id);return _?_.internal_chat.unread:0}return 0});const x=_=>{y.value&&!y.value.contains(_.target)&&c.value&&B()};t.onMounted(()=>{document.addEventListener("click",x)}),t.onBeforeUnmount(()=>{document.removeEventListener("click",x)});const w=t.ref(!1),b=t.ref(!1),B=()=>{c.value?(b.value=!0,setTimeout(()=>{c.value=!1,b.value=!1},200)):(c.value=!0,w.value=!0,setTimeout(()=>{w.value=!1},200))},A=async _=>{const E=r.value.find(V=>V.id===_.id),C=E?E.internal_chat.unread:0;k("unreadMessagesEmit",C),h.value=_,u(_.id),_.hasNextPage||await i(_.id)};return t.watch(()=>n.socketMessage,(_,E)=>{var C;_!==E&&s(_,c.value,(C=h.value)==null?void 0:C.id)}),t.watch(c,_=>{_&&setTimeout(()=>{f.value=!0},400)}),(_,E)=>(t.openBlock(),t.createElementBlock("div",Xm,[t.unref(o)||t.unref(m)?(t.openBlock(),t.createBlock(o1,{key:0})):h.value&&!t.unref(o)?(t.openBlock(),t.createElementBlock("div",Zm,[t.createVNode(r1,{deviceType:e.deviceType,attendant:e.attendant,selectedAtendente:h.value,onVoltar:E[0]||(E[0]=C=>h.value=null),loadMessagesForAtendente:t.unref(p),sendMessageToAtendente:t.unref(d),hasNextPageForAtendente:t.unref(l)},null,8,["deviceType","attendant","selectedAtendente","loadMessagesForAtendente","sendMessageToAtendente","hasNextPageForAtendente"])])):t.createCommentVNode("",!0),!h.value&&!t.unref(m)?(t.openBlock(),t.createBlock(el,{key:2,mobile:!0,attendant:e.attendant,atendentes:t.unref(r),onAtendenteSelecionado:A},null,8,["attendant","atendentes"])):t.createCommentVNode("",!0)]))}},[["__scopeId","data-v-fae29419"]]),Wo=zt.defineStore("department",{state:()=>({departments:[],count:null,loaded:!1}),actions:{async fetchDepartments(e=""){try{let a=`${Tc}`;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)}}}),Qm={class:"depart-select-container"},Km={class:"search-container relative shadow shadow-gray-900 dark:shadow-gray-500"},Jm=["placeholder"],ef={key:0,class:"selection-container bg-base-300 border-b border-base-200"},tf=["onClick"],af={class:"department-list"},nf=["onClick"],rf={key:0,style:{width:"150px"}},of=["onUpdate:modelValue","onChange"],sf={key:0,class:"no-departments bg-base-300"},lf={key:1,class:"library-loading-spinner"},x1=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=Wo(),i=t.ref(""),s=t.ref([]),l=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}),s.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 b=(n.externalDepartments||o.departments).findIndex(B=>B.id===x);b!==-1&&(s.value=s.value.filter(B=>B.id!==x),n.externalDepartments?n.externalDepartments.splice(b,1):o.removeDepartments(x),r("depart",s.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}),s.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 b=x.find(B=>B.id===w.id);b&&(b.selected=!0,w.permission&&(b.permission=w.permission),s.value.some(A=>A.id===w.id)||s.value.push(b))}),r("depart",s.value))}function h(x){const w=s.value.findIndex(b=>b.id===x.id);w!==-1?(x.selected=!1,s.value.splice(w,1)):(n.multiSelect||c(),x.selected=!0,s.value.push(x)),r("depart",s.value)}function y(x){r("depart",s.value)}function k(x,w){x.selected=!1,s.value.splice(w,1),r("depart",s.value)}return(x,w)=>(t.openBlock(),t.createElementBlock("div",Qm,[t.createElementVNode("div",Km,[t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper bg-base-300 border-b border-base-200",{expanded:l.value||s.value.length>0}]),onClick:w[1]||(w[1]=b=>l.value=!l.value)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":w[0]||(w[0]=b=>i.value=b),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,Jm),[[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),s.value.length>0&&e.multiSelect&&t.unref(o).loaded?(t.openBlock(),t.createElementBlock("main",ef,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,(b,B)=>(t.openBlock(),t.createElementBlock("div",{key:b.id,class:"selection-item"},[t.createTextVNode(t.toDisplayString(b.name)+" ",1),t.createElementVNode("button",{onClick:A=>k(b,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,tf)]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass([s.value.length>0&&e.multiSelect?"dropdown-depart-expanded":"dropdown-depart","dropdown-depart bg-base-300"])},[t.createElementVNode("div",af,[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,b=>(t.openBlock(),t.createElementBlock("div",{key:b.id,class:t.normalizeClass([{selected:b.selected},"department-item line-clamp-1 bg-slate-500/20 hover:bg-teal-600"])},[t.createElementVNode("span",{onClick:B=>h(b),class:"department-name h-full w-full"},t.toDisplayString(b.name),9,nf),e.multiSelect&&e.permissions?(t.openBlock(),t.createElementBlock("div",rf,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":B=>b.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,of),[[t.vModelSelect,b.permission]])])):t.createCommentVNode("",!0)],2))),128)):t.createCommentVNode("",!0)],2)]),t.unref(o).loaded&&p.value.length===0?(t.openBlock(),t.createElementBlock("div",sf," Nenhum departamento disponível. ")):t.createCommentVNode("",!0),t.unref(o).loaded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",lf,w[5]||(w[5]=[t.createTextVNode(" Inicializando departamentos "),t.createElementVNode("div",{class:"library-loader"},null,-1)])))],2)])]))}},[["__scopeId","data-v-bc69772b"]]),cf={class:"depart-select-container"},df={class:"search-container relative shadow shadow-gray-900 dark:shadow-gray-500"},uf=["placeholder"],mf={key:0,class:"selection-container bg-base-300 border-b border-base-200"},ff=["onClick"],hf={class:"department-list"},pf={style:{"padding-left":"5px"}},gf=["src"],yf={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"},kf=["onClick"],bf={key:0,class:"no-departments bg-base-300"},xf={key:1,class:"library-loading-spinner"},w1=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=Qn(),i=t.ref(""),s=t.ref(!1),l=t.ref([]),d=t.computed(()=>{const k=o.attendants.filter(w=>w.status===!0),x=i.value?k.filter(w=>w.name.toLowerCase().includes(i.value.toLowerCase())):k;return u(p(x))});function p(k){return n.method==="remove"?(n.attendance||k).filter(w=>{var b;return(w==null?void 0:w.id)!==((b=n==null?void 0:n.attDel)==null?void 0:b.id)}):n.method==="transfer"?k:n.method==="addParticipant"?k.filter(x=>{var w;return(x==null?void 0:x.id)!==((w=n==null?void 0:n.attDel)==null?void 0:w.id)}):k}function u(k){return Array.isArray(n.department)&&n.department.length>0?k.filter(x=>x.department.some(w=>n.department.some(b=>b.id===w.id))):k}t.onMounted(()=>{m(),r("component-mounted")}),t.watch(()=>o.attendants.length,async(k,x)=>{Number.isInteger(x)&&Number.isInteger(k)&&(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}),l.value=[]}function f(){const k=o.attendants;!k||k.length===0||(n.attendance&&n.attendance.length>0&&n.attendance.forEach(x=>{const w=k.find(b=>b.id===x.id);w&&!l.value.some(b=>b.id===x.id)&&(w.selected=!0,l.value.push(w))}),r("attend",l.value))}function h(k){const x=l.value.findIndex(w=>w.id===k.id);x!==-1?(k.selected=!1,l.value.splice(x,1)):(n.multiSelect||c(),k.selected=!0,l.value.push(k)),r("attend",l.value)}function y(k,x){k.selected=!1,l.value.splice(x,1),r("attend",l.value)}return(k,x)=>(t.openBlock(),t.createElementBlock("div",cf,[t.createElementVNode("div",df,[t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper bg-base-300 border-b border-base-200",{expanded:s.value||l.value.length>0}]),onClick:x[1]||(x[1]=w=>s.value=!s.value)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":x[0]||(x[0]=w=>i.value=w),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,uf),[[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),l.value.length>0&&e.multiSelect&&t.unref(o).loaded?(t.openBlock(),t.createElementBlock("main",mf,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(w,b)=>(t.openBlock(),t.createElementBlock("div",{key:w,class:"selection-item"},[t.createTextVNode(t.toDisplayString(w.name)+" ",1),t.createElementVNode("button",{onClick:B=>y(w,b),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,ff)]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass([l.value.length>0&&e.multiSelect?"dropdown-attendance-expanded":"dropdown-attendance","dropdown-attendance bg-base-300"])},[t.createElementVNode("div",hf,[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",pf,[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,gf)):(t.openBlock(),t.createElementBlock("svg",yf,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:b=>h(w),class:"department-name h-full w-full"},t.toDisplayString(w.name),9,kf)],2))),128)):t.createCommentVNode("",!0)],2)]),t.unref(o).loaded&&d.value.length===0?(t.openBlock(),t.createElementBlock("div",bf," Nenhum atendente disponível. ")):t.createCommentVNode("",!0),t.unref(o).loaded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",xf,x[5]||(x[5]=[t.createTextVNode(" Inicializando atendentes "),t.createElementVNode("div",{class:"library-loader"},null,-1)])))],2)])]))}},[["__scopeId","data-v-d6ad7ae5"]]),wf={class:""},vf={class:"flex justify-between mb-3"},Ef={class:""},v1=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",wf,[t.createElementVNode("div",null,[t.createElementVNode("div",vf,[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",Ef,[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 Cf(e,a){return t.openBlock(),t.createElementBlock("svg")}const Sf={render:Cf},Mf=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),Bf=[Mf];function Af(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Bf])}const Vf={render:Af},Df=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),_f=[Df];function Nf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[..._f])}const Tf={render:Nf},Pf=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),Of=[Pf];function Ff(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Of])}const Lf={render:Ff},$f=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),Hf=[$f];function Rf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Hf])}const zf={render:Rf},If=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),Gf=[If];function jf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Gf])}const qf={render:jf},Wf=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),Yf=[Wf];function Uf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Yf])}const Xf={render:Uf},Zf={Blank:Sf,Prescription01:Vf,Round:Tf,Wayfarers:Lf,Kurt:zf,Prescription02:qf,Sunglasses:Xf},Qf=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),Kf=[Qf];function Jf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Kf])}const e9={render:Jf},t9=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),a9=[t9];function n9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...a9])}const r9={render:n9},o9=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),i9=[o9];function s9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...i9])}const l9={render:s9},c9=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),d9=[c9];function u9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...d9])}const m9={render:u9},f9=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),h9=[f9];function p9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...h9])}const g9={render:p9},y9=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),k9=[y9];function b9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...k9])}const x9={render:b9},w9=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),v9=[w9];function E9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...v9])}const C9={render:E9},S9=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),M9=[S9];function B9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...M9])}const A9={render:B9},V9=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),D9=[V9];function _9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...D9])}const N9={render:_9},T9={BlazerShirt:e9,CollarSweater:l9,BlazerSweater:r9,Hoodie:m9,GraphicShirt:g9,Overall:x9,ShirtCrewNeck:C9,ShirtVNeck:A9,ShirtScoopNeck:N9},P9=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),O9=[P9];function F9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...O9])}const L9={render:F9},$9=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),H9=[$9];function R9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...H9])}const z9={render:R9},I9=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),G9=[I9];function j9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...G9])}const q9={render:j9},W9=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),Y9=[W9];function U9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Y9])}const X9={render:U9},Z9=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),Q9=[Z9];function K9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Q9])}const J9={render:K9},eh=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),th=[eh];function ah(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...th])}const nh={render:ah},rh=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),oh=[rh];function ih(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...oh])}const sh={render:ih},lh=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),ch=[lh];function dh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ch])}const uh={render:dh},mh=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),fh=[mh];function hh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...fh])}const ph={render:hh},gh=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),yh=[gh];function kh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...yh])}const bh={render:kh},xh=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),wh=[xh];function vh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...wh])}const Eh={render:vh},Ch=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),Sh=[Ch];function Mh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Sh])}const Bh={render:Mh},Ah=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),Vh=[Ah];function Dh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Vh])}const _h={render:Dh},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),Th=[Nh];function Ph(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Th])}const Oh={render:Ph},Fh=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),Lh=[Fh];function $h(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Lh])}const Hh={render:$h},Rh=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),zh=[Rh];function Ih(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...zh])}const Gh={render:Ih},jh=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),qh=[jh];function Wh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...qh])}const Yh={render:Wh},Uh=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),Xh=[Uh];function Zh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Xh])}const Qh={render:Zh},Kh=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),Jh=[Kh];function ep(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Jh])}const tp={render:ep};function ap(e,a){return t.openBlock(),t.createElementBlock("svg")}const np={render:ap},rp=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),op=[rp];function ip(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...op])}const sp={render:ip},lp=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),cp=[lp];function dp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...cp])}const up={render:dp},mp=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),fp=[mp];function hp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...fp])}const pp={render:hp},gp=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),yp=[gp];function kp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...yp])}const bp={render:kp},xp=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),wp=[xp];function vp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...wp])}const Ep={render:vp},Cp=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),Sp=[Cp];function Mp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Sp])}const Bp={render:Mp},Ap=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),Vp=[Ap];function Dp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Vp])}const _p={render:Dp},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),Tp=[Np];function Pp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Tp])}const Op={render:Pp},Fp=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),Lp=[Fp];function $p(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Lp])}const Hp={render:$p},Rp=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),zp=[Rp];function Ip(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...zp])}const Gp={render:Ip},jp=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),qp=[jp];function Wp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...qp])}const Yp={render:Wp},Up=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),Xp=[Up];function Zp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Xp])}const Qp={render:Zp},Kp=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),Jp=[Kp];function eg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Jp])}const tg={render:eg},ag=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),ng=[ag];function rg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ng])}const og={render:rg},ig=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),sg=[ig];function lg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sg])}const cg={render:lg},dg=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),ug=[dg];function mg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ug])}const fg={render:mg},hg={Eyepatch:L9,Hat:X9,Hijab:sh,LongHairBigHair:bh,LongHairBob:_h,LongHairBun:Gh,LongHairCurly:tp,LongHairCurvy:up,LongHairDreads:Ep,LongHairFrida:Op,LongHairFro:Yp,LongHairFroBand:og,LongHairMiaWallace:z9,LongHairNotTooLong:J9,LongHairShavedSides:uh,LongHairStraight:Eh,LongHairStraight2:Oh,LongHairStraightStrand:Yh,NoHair:np,ShortHairDreads01:pp,ShortHairDreads02:Bp,ShortHairFrizzle:Hp,ShortHairShaggy:Qp,ShortHairShaggyMullet:cg,ShortHairShortCurly:q9,ShortHairShortFlat:nh,ShortHairShortRound:ph,ShortHairShortWaved:Bh,ShortHairSides:Hh,ShortHairTheCaesar:Qh,ShortHairTheCaesarSidePart:sp,Turban:bp,WinterHat1:_p,WinterHat2:Gp,WinterHat3:tg,WinterHat4:fg},pg=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),gg=[pg];function yg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...gg])}const kg={render:yg},bg=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),xg=[bg];function wg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...xg])}const vg={render:wg},Eg=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),Cg=[Eg];function Sg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Cg])}const Mg={render:Sg},Bg=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),Ag=[Bg];function Vg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ag])}const Dg={render:Vg};function _g(e,a){return t.openBlock(),t.createElementBlock("svg")}const Ng={render:_g},Tg=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),Pg=[Tg];function Og(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pg])}const Fg={render:Og},Lg={BeardMajestic:vg,BeardLight:kg,MoustacheFancy:Mg,BeardMedium:Dg,Blank:Ng,MoustacheMagnum:Fg},$g=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),Hg=[$g];function Rg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Hg])}const zg={render:Rg},Ig=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),Gg=[Ig];function jg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Gg])}const qg={render:jg},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/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),Yg=[Wg];function Ug(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Yg])}const Xg={render:Ug},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/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),Qg=[Zg];function Kg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Qg])}const Jg={render:Kg},ey=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),ty=[ey];function ay(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ty])}const ny={render:ay},ry=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),oy=[ry];function iy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...oy])}const sy={render:iy},ly=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),cy=[ly];function dy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...cy])}const uy={render:dy},my=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),fy=[my];function hy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...fy])}const py={render:hy},gy=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),yy=[gy];function ky(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...yy])}const by={render:ky},xy=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),wy=[xy];function vy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...wy])}const Ey={render:vy},Cy=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),Sy=[Cy];function My(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Sy])}const By={render:My},Ay={Bat:zg,Cumbia:qg,Diamond:Xg,Pizza:Jg,Selena:ny,SkullOutline:sy,Bear:uy,Deer:py,Hola:by,Resist:Ey,Skull:By},Vy=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),Dy=[Vy];function _y(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Dy])}const Ny={render:_y},Ty=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),Py=[Ty];function Oy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Py])}const Fy={render:Oy},Ly=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),$y=[Ly];function Hy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$y])}const Ry={render:Hy},zy=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),Iy=[zy];function Gy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Iy])}const jy={render:Gy},qy=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),Wy=[qy];function Yy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wy])}const Uy={render:Yy},Xy=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),Zy=[Xy];function Qy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zy])}const Ky={render:Qy},Jy=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),ek=[Jy];function tk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ek])}const ak={render:tk},nk=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),rk=[nk];function ok(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...rk])}const ik={render:ok},sk=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),lk=[sk];function ck(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...lk])}const dk={render:ck},uk=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),mk=[uk];function fk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...mk])}const hk={render:fk},pk=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),gk=[pk];function yk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...gk])}const kk={render:yk},bk=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),xk=[bk];function wk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...xk])}const vk={render:wk},Ek={Close:Ny,Default:Fy,EyeRoll:Ry,Hearts:jy,Squint:Uy,Wink:Ky,Cry:ak,Dizzy:ik,Happy:dk,Side:hk,Surprised:kk,WinkWacky:vk},Ck=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),Sk=[Ck];function Mk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Sk])}const Bk={render:Mk},Ak=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),Vk=[Ak];function Dk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Vk])}const _k={render:Dk},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),Tk=[Nk];function Pk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Tk])}const Ok={render:Pk},Fk=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),Lk=[Fk];function $k(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Lk])}const Hk={render:$k},Rk=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),zk=[Rk];function Ik(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...zk])}const Gk={render:Ik},jk=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),qk=[jk];function Wk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...qk])}const Yk={render:Wk},Uk=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),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:"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),Jk=[Kk];function eb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Jk])}const tb={render:eb},ab=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),nb=[ab];function rb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...nb])}const ob={render:rb},ib=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),sb=[ib];function lb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sb])}const cb={render:lb},db=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),ub=[db];function mb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ub])}const fb={render:mb},hb=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),pb=[hb];function gb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...pb])}const yb={render:gb},kb=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),bb=[kb];function xb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bb])}const wb={render:xb},vb={Angry:Bk,FlatNatural:_k,SadConcerned:Ok,UpDownNatural:Hk,AngryNatural:Gk,FrownNatural:Yk,SadConcernedNatural:Qk,Default:tb,RaisedExcited:ob,UnibrowNatural:cb,DefaultNatural:fb,RaisedExcitedNatural:yb,UpDown:wb},Eb=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),Cb=[Eb];function Sb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Cb])}const Mb={render:Sb},Bb=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),Ab=[Bb];function Vb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ab])}const Db={render:Vb},_b=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),Nb=[_b];function Tb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Nb])}const Pb={render:Tb},Ob=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),Fb=[Ob];function Lb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Fb])}const $b={render:Lb},Hb=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),Rb=[Hb];function zb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Rb])}const Ib={render:zb},Gb=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),jb=[Gb];function qb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...jb])}const Wb={render:qb},Yb=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),Ub=[Yb];function Xb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ub])}const Zb={render:Xb},Qb=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),Kb=[Qb];function Jb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Kb])}const ex={render:Jb},tx=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),ax=[tx];function nx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ax])}const rx={render:nx},ox=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),ix=[ox];function sx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ix])}const lx={render:sx},cx=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),dx=[cx];function ux(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...dx])}const mx={render:ux},fx=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=[fx];function px(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...hx])}const gx={render:px},yx={Concerned:Mb,Disbelief:Db,Grimace:Pb,ScreamOpen:$b,Smile:Ib,Twinkle:Wb,Default:Zb,Eating:ex,Sad:rx,Serious:lx,Tongue:mx,Vomit:gx},kx=(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"})])],bx=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?kx(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(T9[e.clothes]),e.clothes==="GraphicShirt"?t.h(Ay[e.graphicShirt]):null,t.h(Ek[e.eyes]),t.h(vb[e.eyebrows]),t.h(yx[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(hg[e.top]),t.h(Lg[e.facialHair]),t.h(Zf[e.accessories])])])])])])};function aa(e){return e[Math.floor(Math.random()*e.length)]}function xx(e){return aa(Object.keys(e))}function Mn(e){return e[xx(e)]}const E1={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"},C1={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"},vx=["Blank","Prescription01","Round","Wayfarers","Kurt","Prescription02","Sunglasses"],Ex=["Close","Default","EyeRoll","Hearts","Squint","Wink","Cry","Dizzy","Happy","Side","Surprised","WinkWacky"],Cx=["Angry","FlatNatural","SadConcerned","UpDownNatural","AngryNatural","FrownNatural","SadConcernedNatural","Default","RaisedExcited","UnibrowNatural","DefaultNatural","RaisedExcitedNatural","UpDown"],Sx=["BeardMajestic","BeardLight","MoustacheFancy","BeardMedium","Blank","MoustacheMagnum"],Mx=["Concerned","Disbelief","Grimace","ScreamOpen","Smile","Twinkle","Default","Eating","Sad","Serious","Tongue","Vomit"],Bx=["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"],Ax=["BlazerShirt","CollarSweater","BlazerSweater","Hoodie","GraphicShirt","Overall","ShirtCrewNeck","ShirtVNeck","ShirtScoopNeck"],Vx=["Bat","Cumbia","Diamond","Pizza","Selena","SkullOutline","Bear","Deer","Hola","Resist","Skull"],pr=(e={})=>{var a,n,r,o,i,s,l,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:Mn(wx),hairColor:(r=e.hairColor)!=null?r:Mn(C1),topColor:(o=e.topColor)!=null?o:Mn(E1),clothesColor:(i=e.clothesColor)!=null?i:Mn(E1),facialHairColor:(s=e.facialHairColor)!=null?s:Mn(C1),accessories:(l=e.accessories)!=null?l:aa(vx),eyes:(d=e.eyes)!=null?d:aa(Ex),eyebrows:(p=e.eyebrows)!=null?p:aa(Cx),mouth:(u=e.mouth)!=null?u:aa(Mx),top:(m=e.top)!=null?m:aa(Bx),clothes:(c=e.clothes)!=null?c:aa(Ax),graphicShirt:(f=e.graphicShirt)!=null?f:aa(Vx),facialHair:(h=e.facialHair)!=null?h:aa(Sx)}},S1={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"},Dx={class:"main-container"},_x=["src"],Nx={key:1,class:"avatar-section flex flex-col"},Tx={id:"avatar-container",class:"avatar-container"},Px={class:"controls"},Ox={class:"checkbox-label checkbox-wrapper-2",for:"avatarLabel"},M1=qe({__name:"randomAvatar",props:{content:{type:String,default:null}},emits:["base64","random"],setup(e,{emit:a}){const n=t.ref(S1),r=t.ref(S1),o=t.ref(!1);t.onMounted(async()=>{n.value=pr(n.value),await t.nextTick(),p()});const i=a,s=e,l=async()=>{if(o.value)n.value=pr(r.value);else{const u={...r.value,facialHair:"Blank"};n.value=pr(u)}await t.nextTick(),p()},d=async()=>{n.value=pr({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",Dx,[s.content?(t.openBlock(),t.createElementBlock("img",{key:0,class:"max-w-[45%] max-h-[45%] flex items-center justify-center mx-auto",src:s.content},null,8,_x)):(t.openBlock(),t.createElementBlock("section",Nx,[t.createElementVNode("div",Tx,[t.createVNode(t.unref(bx),t.normalizeProps(t.guardReactiveProps(n.value)),null,16)]),t.createElementVNode("div",Px,[t.createElementVNode("label",Ox,[t.withDirectives(t.createElementVNode("input",{id:"avatarLabel","onUpdate:modelValue":m[0]||(m[0]=c=>o.value=c),type:"checkbox",onInput:l,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"]]),Fx={class:"modal_container"},Lx={class:"modal_box"},$x={class:"modal_header"},B1=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",Fx,[t.createElementVNode("div",{class:t.normalizeClass(["modal_content ",e.defineWidth])},[t.createElementVNode("div",Lx,[t.createElementVNode("div",$x,[t.renderSlot(o.$slots,"header",{},void 0,!0),t.createElementVNode("button",{class:"modal_close",onClick:i[0]||(i[0]=s=>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"]]),Hx={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:[]},$x={class:"main-send-suggestion"},Hx={key:0,class:"sent-suggestion-section"},Rx={class:"sent-suggestion-content"},zx={class:"container-send-suggestion"},Ix={key:0,class:"tool_tip_suggestion_error"},Gx={key:0,class:"loader-suggestion"},jx={key:1},qx=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(s,l)=>{const d=t.resolveComponent("Vue3Lottie");return t.openBlock(),t.createElementBlock("main",$x,[e.sentSuccess?(t.openBlock(),t.createElementBlock("section",Hx,[t.createElementVNode("div",Rx,[l[2]||(l[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(Lx),height:200,width:200,"auto-play":!0,loop:!0},null,8,["animation-data"]),l[3]||(l[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)),l[4]||(l[4]=t.createElementVNode("p",{class:"font-bold"},"Agradecemos sua colaboração",-1))])])):t.createCommentVNode("",!0),t.createElementVNode("section",zx,[l[5]||(l[5]=t.createElementVNode("h1",{class:"header_send_suggestion"},"Envie sua sugestão para nós",-1)),t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":l[0]||(l[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",Ix," Por favor, preencha o campo antes de continuar ")):t.createCommentVNode("",!0),t.createElementVNode("button",{onClick:l[1]||(l[1]=p=>i()),class:"submit-button-send-suggestion"},[e.loader?(t.openBlock(),t.createElementBlock("div",Gx)):(t.openBlock(),t.createElementBlock("p",jx,"Enviar"))])])])}}},[["__scopeId","data-v-839ab724"]]),Wx=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>`,Yx=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>`,Ux=["innerHTML"],A1={__name:"svg",props:{svgContent:{type:String,required:!0}},setup(e){return(a,n)=>(t.openBlock(),t.createElementBlock("div",{innerHTML:e.svgContent},null,8,Ux))}},Xx={class:"feature-card__header"},Zx={class:"feature-card__title"},Qx={class:"flex items-center gap-2"},Kx={key:0,class:"sparkle-badge"},Jx={key:0},ew={class:"feature-card__content"},tw={class:"feature-card__description scroll_area_feature_card"},aw=["innerHTML"],nw=["href"],rw={class:"feature-card__footer"},ow={class:"feature-card__footer-section"},V1=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;Ko(n,()=>{a.value=!1});const i=t.computed(()=>({"arrow-icon-patch-notes":!0,rotate:!a.value})),s=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"})),l=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",s.value]),ref_key:"targetFeatureCard",ref:n,onClick:m[0]||(m[0]=f=>a.value=!a.value)},[t.createElementVNode("header",Xx,[t.createElementVNode("h1",Zx,t.toDisplayString(e.title),1),t.createElementVNode("section",Qx,[(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",Kx,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",Jx,[m[4]||(m[4]=t.createElementVNode("hr",{class:"feature-card__divider"},null,-1)),t.createElementVNode("section",ew,[t.createElementVNode("span",tw,[t.createElementVNode("p",{class:"feature-card__paragraph",innerHTML:e.description.replace(/\n/g,"<br>")},null,8,aw)]),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(A1,{svgContent:t.unref(Wx)("size-4 text-blue-900")},null,8,["svgContent"])],8,nw)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]),_:1}),t.createElementVNode("footer",rw,[t.createElementVNode("section",ow,[t.createElementVNode("span",{class:t.normalizeClass(l.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(A1,{svgContent:t.unref(Yx)("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"]]),iw={class:"modal-container-patch-notes"},sw={class:"modal-content-patch-notes scroll_area_patch_notes_latest_update"},lw={class:"modal-header-patch-notes"},cw={class:"modal-body-patch-notes"},dw={class:"modal-body-control"},uw={class:"modal-section-patch-notes updates-section-patch-notes"},mw={key:0,class:"sections-skeleton-loader"},fw={class:"skeleton-loader skeleton-color-latest_update"},hw={key:1,class:"text-not-patchs"},pw={class:"modal-section-patch-notes future-section-patch-notes"},gw={key:0,class:"sections-skeleton-loader"},yw={class:"skeleton-loader skeleton-color-latest_update"},kw={key:1,class:"text-not-patchs"},D1=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),s=a,l=c=>{s("postSuggestion",c)},d=()=>{s("close"),n.value=1,r.value=1},p=({loaded:c,complete:f})=>{s("loadMoreFutureUpdates",{loaded:c,complete:f,page:n.value}),n.value++},u=({loaded:c,complete:f})=>{s("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",iw,[t.createElementVNode("div",sw,[t.createElementVNode("div",lw,[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",cw,[t.createElementVNode("div",dw,[t.createElementVNode("section",uw,[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",hw," Nenhuma atualização programada ")):t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("section",mw,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(15,h=>t.createElementVNode("div",fw)),64))])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.latest_update,(h,y)=>(t.openBlock(),t.createBlock(V1,{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(yo),{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",pw,[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",kw," Nenhuma atualização programada ")):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(e.future_updates,(h,y)=>(t.openBlock(),t.createBlock(V1,{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",gw,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(15,h=>t.createElementVNode("div",yw)),64))])),t.createVNode(t.unref(yo),{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(qx,{loader:e.loader,sentSuccess:e.sentSuccess,onPostSuccess:l},null,8,["loader","sentSuccess"])])])])]))}},[["__scopeId","data-v-f7b5b5bc"]]),bw={key:0,class:"sparkle-badge"},xw={key:0,class:"text-white text-center flex-1"},ww={key:1,class:"sparkle-badge"},_1=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=(l,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[l]||p.attendant},i=t.computed(()=>o(r.type,r.sparkles)),s=()=>{n("openNewUpdates")};return(l,d)=>(t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass(["relative",i.value.container]),onClick:s},[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",bw,[(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",xw,t.toDisplayString(i.value.text),1)):t.createCommentVNode("",!0),e.sparkles?(t.openBlock(),t.createElementBlock("div",ww,[(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 vw(e){e.component("primarySelect",Jo),e.component("departSelect",x1),e.component("attendantSelect",w1),e.component("SimpleModal",ei),e.component("simpleCard",ti),e.component("instanceSelect",Ri),e.component("calendar",Zs),e.component("MFA",Qs),e.component("MfaQrCode",p5),e.component("chatWindow",k1),e.component("FilterSelectLib",v1),e.component("MobileInternalChat",b1),e.component("RandomAvatar",M1),e.component("MinModal",B1),e.component("LibPatchNotes",D1),e.component("BtnNewUpdates",_1)}function N1(e,a="add"){const n=Wo();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 T1(e,a="add"){const n=Qn();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 P1(e,a="add"){const n=_r();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 O1(e,a,n,r=[],o=[],i=[]){try{const s=await Hi(e);a&&await s.setToken(a),n&&(na.defaults.baseURL=n);const l=Wo(e);o.length>0&&(l.departments=o,l.count=o.length);const d=Qn(e);r.length>0&&(d.attendants=r,d.count=r.length),await _r(e).fetchInstances()}catch(s){console.error("Erro no setupLibrary:",s)}}const Ew={install:vw,setupLibrary:O1,attLibDeparts:N1,attLibAttendants:T1,attLibInstances:P1,primarySelect:Jo,simpleModal:ei,simpleCard:ti,instanceSelect:Ri,calendar:Zs,MFA:Qs,chatWindow:k1,departSelect:x1,attendantSelect:w1,FilterSelectLib:v1,MobileInternalChat:b1,RandomAvatar:M1,MinModal:B1,libPatchNotes:D1,btnNewUpdates:_1};function F1(e){const a=e.split("/").filter(r=>r!=="."),n=[];return a.forEach(r=>{r===".."&&n.length>0&&n[n.length-1]!==".."?n.pop():n.push(r)}),n.join("/")}function Cw(e,a){e=F1(e),a=F1(a);const n=e.split("/"),r=a.split("/");return e!==a&&n.every((o,i)=>o===r[i])}class gr extends Sn{constructor(){super(...arguments),this.DB_VERSION=1,this.DB_NAME="Disc",this._writeCmds=["add","put","delete"],this.downloadFile=async a=>{var n,r;const o=n1(a,a.webFetchExtra),i=await fetch(a.url,o);let s;if(!a.progress)s=await i.blob();else if(!(i!=null&&i.body))s=new Blob;else{const d=i.body.getReader();let p=0;const u=[],m=i.headers.get("content-type"),c=parseInt(i.headers.get("content-length")||"0",10);for(;;){const{done:y,value:k}=await d.read();if(y)break;u.push(k),p+=(k==null?void 0:k.length)||0;const x={url:a.url,bytes:p,contentLength:c};this.notifyListeners("progress",x)}const f=new Uint8Array(p);let h=0;for(const y of u)typeof y>"u"||(f.set(y,h),h+=y.length);s=new Blob([f.buffer],{type:m||void 0})}return{path:(await this.writeFile({path:a.path,directory:(n=a.directory)!==null&&n!==void 0?n:void 0,recursive:(r=a.recursive)!==null&&r!==void 0?r:!1,data:s})).uri,blob:s}}}readFileInChunks(a,n){throw this.unavailable("Method not implemented.")}async initDb(){if(this._db!==void 0)return this._db;if(!("indexedDB"in window))throw this.unavailable("This browser doesn't support IndexedDB");return new Promise((a,n)=>{const r=indexedDB.open(this.DB_NAME,this.DB_VERSION);r.onupgradeneeded=gr.doUpgrade,r.onsuccess=()=>{this._db=r.result,a(r.result)},r.onerror=()=>n(r.error),r.onblocked=()=>{console.warn("db blocked")}})}static doUpgrade(a){const r=a.target.result;switch(a.oldVersion){case 0:case 1:default:r.objectStoreNames.contains("FileStorage")&&r.deleteObjectStore("FileStorage"),r.createObjectStore("FileStorage",{keyPath:"path"}).createIndex("by_folder","folder")}}async dbRequest(a,n){const r=this._writeCmds.indexOf(a)!==-1?"readwrite":"readonly";return this.initDb().then(o=>new Promise((i,s)=>{const p=o.transaction(["FileStorage"],r).objectStore("FileStorage")[a](...n);p.onsuccess=()=>i(p.result),p.onerror=()=>s(p.error)}))}async dbIndexRequest(a,n,r){const o=this._writeCmds.indexOf(n)!==-1?"readwrite":"readonly";return this.initDb().then(i=>new Promise((s,l)=>{const m=i.transaction(["FileStorage"],o).objectStore("FileStorage").index(a)[n](...r);m.onsuccess=()=>s(m.result),m.onerror=()=>l(m.error)}))}getPath(a,n){const r=n!==void 0?n.replace(/^[/]+|[/]+$/g,""):"";let o="";return a!==void 0&&(o+="/"+a),n!==""&&(o+="/"+r),o}async clear(){(await this.initDb()).transaction(["FileStorage"],"readwrite").objectStore("FileStorage").clear()}async readFile(a){const n=this.getPath(a.directory,a.path),r=await this.dbRequest("get",[n]);if(r===void 0)throw Error("File does not exist.");return{data:r.content?r.content:""}}async writeFile(a){const n=this.getPath(a.directory,a.path);let r=a.data;const o=a.encoding,i=a.recursive,s=await this.dbRequest("get",[n]);if(s&&s.type==="directory")throw Error("The supplied path is a directory.");const l=n.substr(0,n.lastIndexOf("/"));if(await this.dbRequest("get",[l])===void 0){const m=l.indexOf("/",1);if(m!==-1){const c=l.substr(m);await this.mkdir({path:c,directory:a.directory,recursive:i})}}if(!o&&!(r instanceof Blob)&&(r=r.indexOf(",")>=0?r.split(",")[1]:r,!this.isBase64String(r)))throw Error("The supplied data is not valid base64 content.");const p=Date.now(),u={path:n,folder:l,type:"file",size:r instanceof Blob?r.size:r.length,ctime:p,mtime:p,content:r};return await this.dbRequest("put",[u]),{uri:u.path}}async appendFile(a){const n=this.getPath(a.directory,a.path);let r=a.data;const o=a.encoding,i=n.substr(0,n.lastIndexOf("/")),s=Date.now();let l=s;const d=await this.dbRequest("get",[n]);if(d&&d.type==="directory")throw Error("The supplied path is a directory.");if(await this.dbRequest("get",[i])===void 0){const m=i.indexOf("/",1);if(m!==-1){const c=i.substr(m);await this.mkdir({path:c,directory:a.directory,recursive:!0})}}if(!o&&!this.isBase64String(r))throw Error("The supplied data is not valid base64 content.");if(d!==void 0){if(d.content instanceof Blob)throw Error("The occupied entry contains a Blob object which cannot be appended to.");d.content!==void 0&&!o?r=btoa(atob(d.content)+atob(r)):r=d.content+r,l=d.ctime}const u={path:n,folder:i,type:"file",size:r.length,ctime:l,mtime:s,content:r};await this.dbRequest("put",[u])}async deleteFile(a){const n=this.getPath(a.directory,a.path);if(await this.dbRequest("get",[n])===void 0)throw Error("File does not exist.");if((await this.dbIndexRequest("by_folder","getAllKeys",[IDBKeyRange.only(n)])).length!==0)throw Error("Folder is not empty.");await this.dbRequest("delete",[n])}async mkdir(a){const n=this.getPath(a.directory,a.path),r=a.recursive,o=n.substr(0,n.lastIndexOf("/")),i=(n.match(/\//g)||[]).length,s=await this.dbRequest("get",[o]),l=await this.dbRequest("get",[n]);if(i===1)throw Error("Cannot create Root directory");if(l!==void 0)throw Error("Current directory does already exist.");if(!r&&i!==2&&s===void 0)throw Error("Parent directory must exist");if(r&&i!==2&&s===void 0){const u=o.substr(o.indexOf("/",1));await this.mkdir({path:u,directory:a.directory,recursive:r})}const d=Date.now(),p={path:n,folder:o,type:"directory",size:0,ctime:d,mtime:d};await this.dbRequest("put",[p])}async rmdir(a){const{path:n,directory:r,recursive:o}=a,i=this.getPath(r,n),s=await this.dbRequest("get",[i]);if(s===void 0)throw Error("Folder does not exist.");if(s.type!=="directory")throw Error("Requested path is not a directory");const l=await this.readdir({path:n,directory:r});if(l.files.length!==0&&!o)throw Error("Folder is not empty");for(const d of l.files){const p=`${n}/${d.name}`;(await this.stat({path:p,directory:r})).type==="file"?await this.deleteFile({path:p,directory:r}):await this.rmdir({path:p,directory:r,recursive:o})}await this.dbRequest("delete",[i])}async readdir(a){const n=this.getPath(a.directory,a.path),r=await this.dbRequest("get",[n]);if(a.path!==""&&r===void 0)throw Error("Folder does not exist.");const o=await this.dbIndexRequest("by_folder","getAllKeys",[IDBKeyRange.only(n)]);return{files:await Promise.all(o.map(async s=>{let l=await this.dbRequest("get",[s]);return l===void 0&&(l=await this.dbRequest("get",[s+"/"])),{name:s.substring(n.length+1),type:l.type,size:l.size,ctime:l.ctime,mtime:l.mtime,uri:l.path}}))}}async getUri(a){const n=this.getPath(a.directory,a.path);let r=await this.dbRequest("get",[n]);return r===void 0&&(r=await this.dbRequest("get",[n+"/"])),{uri:(r==null?void 0:r.path)||n}}async stat(a){const n=this.getPath(a.directory,a.path);let r=await this.dbRequest("get",[n]);if(r===void 0&&(r=await this.dbRequest("get",[n+"/"])),r===void 0)throw Error("Entry does not exist.");return{name:r.path.substring(n.length+1),type:r.type,size:r.size,ctime:r.ctime,mtime:r.mtime,uri:r.path}}async rename(a){await this._copy(a,!0)}async copy(a){return this._copy(a,!1)}async requestPermissions(){return{publicStorage:"granted"}}async checkPermissions(){return{publicStorage:"granted"}}async _copy(a,n=!1){let{toDirectory:r}=a;const{to:o,from:i,directory:s}=a;if(!o||!i)throw Error("Both to and from must be provided");r||(r=s);const l=this.getPath(s,i),d=this.getPath(r,o);if(l===d)return{uri:d};if(Cw(l,d))throw Error("To path cannot contain the from path");let p;try{p=await this.stat({path:o,directory:r})}catch{const h=o.split("/");h.pop();const y=h.join("/");if(h.length>0&&(await this.stat({path:y,directory:r})).type!=="directory")throw new Error("Parent directory of the to path is a file")}if(p&&p.type==="directory")throw new Error("Cannot overwrite a directory with a file");const u=await this.stat({path:i,directory:s}),m=async(f,h,y)=>{const k=this.getPath(r,f),x=await this.dbRequest("get",[k]);x.ctime=h,x.mtime=y,await this.dbRequest("put",[x])},c=u.ctime?u.ctime:Date.now();switch(u.type){case"file":{const f=await this.readFile({path:i,directory:s});n&&await this.deleteFile({path:i,directory:s});let h;!(f.data instanceof Blob)&&!this.isBase64String(f.data)&&(h=Io.UTF8);const y=await this.writeFile({path:o,directory:r,data:f.data,encoding:h});return n&&await m(o,c,u.mtime),y}case"directory":{if(p)throw Error("Cannot move a directory over an existing object");try{await this.mkdir({path:o,directory:r,recursive:!1}),n&&await m(o,c,u.mtime)}catch{}const f=(await this.readdir({path:i,directory:s})).files;for(const h of f)await this._copy({from:`${i}/${h.name}`,to:`${o}/${h.name}`,directory:s,toDirectory:r},n);n&&await this.rmdir({path:i,directory:s})}}return{uri:d}}isBase64String(a){try{return btoa(atob(a))==a}catch{return!1}}}gr._debug=!0;const Sw=Object.freeze(Object.defineProperty({__proto__:null,FilesystemWeb:gr},Symbol.toStringTag,{value:"Module"}));class Mw extends Sn{getMedias(a){throw console.log("getMedias",a),this.unimplemented("Not implemented on web.")}getMediaByIdentifier(a){throw console.log("getMediaByIdentifier",a),this.unimplemented("Not implemented on web.")}getAlbums(){throw this.unimplemented("Not implemented on web.")}savePhoto(a){throw console.log("savePhoto",a),this.unimplemented("Not implemented on web.")}saveVideo(a){throw console.log("saveVideo",a),this.unimplemented("Not implemented on web.")}createAlbum(a){throw console.log("createAlbum",a),this.unimplemented("Not implemented on web.")}getAlbumsPath(){throw console.log("getAlbumsPath"),this.unimplemented("Not implemented on web.")}}const Bw=Object.freeze(Object.defineProperty({__proto__:null,MediaWeb:Mw},Symbol.toStringTag,{value:"Module"}));class Aw extends Sn{async canShare(){return typeof navigator>"u"||!navigator.share?{value:!1}:{value:!0}}async share(a){if(typeof navigator>"u"||!navigator.share)throw this.unavailable("Share API not available in this browser");return await navigator.share({title:a.title,text:a.text,url:a.url}),{}}}const Vw=Object.freeze(Object.defineProperty({__proto__:null,ShareWeb:Aw},Symbol.toStringTag,{value:"Module"}));ut.attLibAttendants=T1,ut.attLibDeparts=N1,ut.attLibInstances=P1,ut.default=Ew,ut.setupLibrary=O1,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:[]},Rx={class:"main-send-suggestion"},zx={key:0,class:"sent-suggestion-section"},Ix={class:"sent-suggestion-content"},Gx={class:"container-send-suggestion"},jx={key:0,class:"tool_tip_suggestion_error"},qx={key:0,class:"loader-suggestion"},Wx={key:1},Yx=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(s,l)=>{const d=t.resolveComponent("Vue3Lottie");return t.openBlock(),t.createElementBlock("main",Rx,[e.sentSuccess?(t.openBlock(),t.createElementBlock("section",zx,[t.createElementVNode("div",Ix,[l[2]||(l[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(Hx),height:200,width:200,"auto-play":!0,loop:!0},null,8,["animation-data"]),l[3]||(l[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)),l[4]||(l[4]=t.createElementVNode("p",{class:"font-bold"},"Agradecemos sua colaboração",-1))])])):t.createCommentVNode("",!0),t.createElementVNode("section",Gx,[l[5]||(l[5]=t.createElementVNode("h1",{class:"header_send_suggestion"},"Envie sua sugestão para nós",-1)),t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":l[0]||(l[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",jx," Por favor, preencha o campo antes de continuar ")):t.createCommentVNode("",!0),t.createElementVNode("button",{onClick:l[1]||(l[1]=p=>i()),class:"submit-button-send-suggestion"},[e.loader?(t.openBlock(),t.createElementBlock("div",qx)):(t.openBlock(),t.createElementBlock("p",Wx,"Enviar"))])])])}}},[["__scopeId","data-v-839ab724"]]),Ux=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>`,Xx=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>`,Zx=["innerHTML"],A1={__name:"svg",props:{svgContent:{type:String,required:!0}},setup(e){return(a,n)=>(t.openBlock(),t.createElementBlock("div",{innerHTML:e.svgContent},null,8,Zx))}},Qx={class:"feature-card__header"},Kx={class:"feature-card__title"},Jx={class:"flex items-center gap-2"},ew={key:0,class:"sparkle-badge"},tw={key:0},aw={class:"feature-card__content"},nw={class:"feature-card__description scroll_area_feature_card"},rw=["innerHTML"],ow=["href"],iw={class:"feature-card__footer"},sw={class:"feature-card__footer-section"},V1=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;Ko(n,()=>{a.value=!1});const i=t.computed(()=>({"arrow-icon-patch-notes":!0,rotate:!a.value})),s=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"})),l=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",s.value]),ref_key:"targetFeatureCard",ref:n,onClick:m[0]||(m[0]=f=>a.value=!a.value)},[t.createElementVNode("header",Qx,[t.createElementVNode("h1",Kx,t.toDisplayString(e.title),1),t.createElementVNode("section",Jx,[(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",ew,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",tw,[m[4]||(m[4]=t.createElementVNode("hr",{class:"feature-card__divider"},null,-1)),t.createElementVNode("section",aw,[t.createElementVNode("span",nw,[t.createElementVNode("p",{class:"feature-card__paragraph",innerHTML:e.description.replace(/\n/g,"<br>")},null,8,rw)]),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(A1,{svgContent:t.unref(Ux)("size-4 text-blue-900")},null,8,["svgContent"])],8,ow)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]),_:1}),t.createElementVNode("footer",iw,[t.createElementVNode("section",sw,[t.createElementVNode("span",{class:t.normalizeClass(l.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(A1,{svgContent:t.unref(Xx)("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"]]),lw={class:"modal-container-patch-notes"},cw={class:"modal-content-patch-notes scroll_area_patch_notes_latest_update"},dw={class:"modal-header-patch-notes"},uw={class:"modal-body-patch-notes"},mw={class:"modal-body-control"},fw={class:"modal-section-patch-notes updates-section-patch-notes"},hw={key:0,class:"sections-skeleton-loader"},pw={class:"skeleton-loader skeleton-color-latest_update"},gw={key:1,class:"text-not-patchs"},yw={class:"modal-section-patch-notes future-section-patch-notes"},kw={key:0,class:"sections-skeleton-loader"},bw={class:"skeleton-loader skeleton-color-latest_update"},xw={key:1,class:"text-not-patchs"},D1=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),s=a,l=c=>{s("postSuggestion",c)},d=()=>{s("close"),n.value=1,r.value=1},p=({loaded:c,complete:f})=>{s("loadMoreFutureUpdates",{loaded:c,complete:f,page:n.value}),n.value++},u=({loaded:c,complete:f})=>{s("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",lw,[t.createElementVNode("div",cw,[t.createElementVNode("div",dw,[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",uw,[t.createElementVNode("div",mw,[t.createElementVNode("section",fw,[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",gw," Nenhuma atualização programada ")):t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("section",hw,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(15,h=>t.createElementVNode("div",pw)),64))])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.latest_update,(h,y)=>(t.openBlock(),t.createBlock(V1,{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(yo),{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",yw,[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",xw," Nenhuma atualização programada ")):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(e.future_updates,(h,y)=>(t.openBlock(),t.createBlock(V1,{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",kw,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(15,h=>t.createElementVNode("div",bw)),64))])),t.createVNode(t.unref(yo),{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(Yx,{loader:e.loader,sentSuccess:e.sentSuccess,onPostSuccess:l},null,8,["loader","sentSuccess"])])])])]))}},[["__scopeId","data-v-f7b5b5bc"]]),ww={key:0,class:"sparkle-badge"},vw={key:0,class:"text-white text-center flex-1"},Ew={key:1,class:"sparkle-badge"},_1=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=(l,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[l]||p.attendant},i=t.computed(()=>o(r.type,r.sparkles)),s=()=>{n("openNewUpdates")};return(l,d)=>(t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass(["relative",i.value.container]),onClick:s},[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",ww,[(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",vw,t.toDisplayString(i.value.text),1)):t.createCommentVNode("",!0),e.sparkles?(t.openBlock(),t.createElementBlock("div",Ew,[(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 Cw(e){e.component("primarySelect",Jo),e.component("departSelect",x1),e.component("attendantSelect",w1),e.component("SimpleModal",ei),e.component("simpleCard",ti),e.component("instanceSelect",Ri),e.component("calendar",Zs),e.component("MFA",Qs),e.component("MfaQrCode",p5),e.component("chatWindow",k1),e.component("FilterSelectLib",v1),e.component("MobileInternalChat",b1),e.component("RandomAvatar",M1),e.component("MinModal",B1),e.component("LibPatchNotes",D1),e.component("BtnNewUpdates",_1)}function N1(e,a="add"){const n=Wo();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 T1(e,a="add"){const n=Qn();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 P1(e,a="add"){const n=_r();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 O1(e,a,n,r=[],o=[],i=[]){try{const s=await Hi(e);a&&await s.setToken(a),n&&(na.defaults.baseURL=n);const l=Wo(e);o.length>0&&(l.departments=o,l.count=o.length);const d=Qn(e);r.length>0&&(d.attendants=r,d.count=r.length),await _r(e).fetchInstances()}catch(s){console.error("Erro no setupLibrary:",s)}}const Sw={install:Cw,setupLibrary:O1,attLibDeparts:N1,attLibAttendants:T1,attLibInstances:P1,primarySelect:Jo,simpleModal:ei,simpleCard:ti,instanceSelect:Ri,calendar:Zs,MFA:Qs,chatWindow:k1,departSelect:x1,attendantSelect:w1,FilterSelectLib:v1,MobileInternalChat:b1,RandomAvatar:M1,MinModal:B1,libPatchNotes:D1,btnNewUpdates:_1};function F1(e){const a=e.split("/").filter(r=>r!=="."),n=[];return a.forEach(r=>{r===".."&&n.length>0&&n[n.length-1]!==".."?n.pop():n.push(r)}),n.join("/")}function Mw(e,a){e=F1(e),a=F1(a);const n=e.split("/"),r=a.split("/");return e!==a&&n.every((o,i)=>o===r[i])}class gr extends Sn{constructor(){super(...arguments),this.DB_VERSION=1,this.DB_NAME="Disc",this._writeCmds=["add","put","delete"],this.downloadFile=async a=>{var n,r;const o=n1(a,a.webFetchExtra),i=await fetch(a.url,o);let s;if(!a.progress)s=await i.blob();else if(!(i!=null&&i.body))s=new Blob;else{const d=i.body.getReader();let p=0;const u=[],m=i.headers.get("content-type"),c=parseInt(i.headers.get("content-length")||"0",10);for(;;){const{done:y,value:k}=await d.read();if(y)break;u.push(k),p+=(k==null?void 0:k.length)||0;const x={url:a.url,bytes:p,contentLength:c};this.notifyListeners("progress",x)}const f=new Uint8Array(p);let h=0;for(const y of u)typeof y>"u"||(f.set(y,h),h+=y.length);s=new Blob([f.buffer],{type:m||void 0})}return{path:(await this.writeFile({path:a.path,directory:(n=a.directory)!==null&&n!==void 0?n:void 0,recursive:(r=a.recursive)!==null&&r!==void 0?r:!1,data:s})).uri,blob:s}}}readFileInChunks(a,n){throw this.unavailable("Method not implemented.")}async initDb(){if(this._db!==void 0)return this._db;if(!("indexedDB"in window))throw this.unavailable("This browser doesn't support IndexedDB");return new Promise((a,n)=>{const r=indexedDB.open(this.DB_NAME,this.DB_VERSION);r.onupgradeneeded=gr.doUpgrade,r.onsuccess=()=>{this._db=r.result,a(r.result)},r.onerror=()=>n(r.error),r.onblocked=()=>{console.warn("db blocked")}})}static doUpgrade(a){const r=a.target.result;switch(a.oldVersion){case 0:case 1:default:r.objectStoreNames.contains("FileStorage")&&r.deleteObjectStore("FileStorage"),r.createObjectStore("FileStorage",{keyPath:"path"}).createIndex("by_folder","folder")}}async dbRequest(a,n){const r=this._writeCmds.indexOf(a)!==-1?"readwrite":"readonly";return this.initDb().then(o=>new Promise((i,s)=>{const p=o.transaction(["FileStorage"],r).objectStore("FileStorage")[a](...n);p.onsuccess=()=>i(p.result),p.onerror=()=>s(p.error)}))}async dbIndexRequest(a,n,r){const o=this._writeCmds.indexOf(n)!==-1?"readwrite":"readonly";return this.initDb().then(i=>new Promise((s,l)=>{const m=i.transaction(["FileStorage"],o).objectStore("FileStorage").index(a)[n](...r);m.onsuccess=()=>s(m.result),m.onerror=()=>l(m.error)}))}getPath(a,n){const r=n!==void 0?n.replace(/^[/]+|[/]+$/g,""):"";let o="";return a!==void 0&&(o+="/"+a),n!==""&&(o+="/"+r),o}async clear(){(await this.initDb()).transaction(["FileStorage"],"readwrite").objectStore("FileStorage").clear()}async readFile(a){const n=this.getPath(a.directory,a.path),r=await this.dbRequest("get",[n]);if(r===void 0)throw Error("File does not exist.");return{data:r.content?r.content:""}}async writeFile(a){const n=this.getPath(a.directory,a.path);let r=a.data;const o=a.encoding,i=a.recursive,s=await this.dbRequest("get",[n]);if(s&&s.type==="directory")throw Error("The supplied path is a directory.");const l=n.substr(0,n.lastIndexOf("/"));if(await this.dbRequest("get",[l])===void 0){const m=l.indexOf("/",1);if(m!==-1){const c=l.substr(m);await this.mkdir({path:c,directory:a.directory,recursive:i})}}if(!o&&!(r instanceof Blob)&&(r=r.indexOf(",")>=0?r.split(",")[1]:r,!this.isBase64String(r)))throw Error("The supplied data is not valid base64 content.");const p=Date.now(),u={path:n,folder:l,type:"file",size:r instanceof Blob?r.size:r.length,ctime:p,mtime:p,content:r};return await this.dbRequest("put",[u]),{uri:u.path}}async appendFile(a){const n=this.getPath(a.directory,a.path);let r=a.data;const o=a.encoding,i=n.substr(0,n.lastIndexOf("/")),s=Date.now();let l=s;const d=await this.dbRequest("get",[n]);if(d&&d.type==="directory")throw Error("The supplied path is a directory.");if(await this.dbRequest("get",[i])===void 0){const m=i.indexOf("/",1);if(m!==-1){const c=i.substr(m);await this.mkdir({path:c,directory:a.directory,recursive:!0})}}if(!o&&!this.isBase64String(r))throw Error("The supplied data is not valid base64 content.");if(d!==void 0){if(d.content instanceof Blob)throw Error("The occupied entry contains a Blob object which cannot be appended to.");d.content!==void 0&&!o?r=btoa(atob(d.content)+atob(r)):r=d.content+r,l=d.ctime}const u={path:n,folder:i,type:"file",size:r.length,ctime:l,mtime:s,content:r};await this.dbRequest("put",[u])}async deleteFile(a){const n=this.getPath(a.directory,a.path);if(await this.dbRequest("get",[n])===void 0)throw Error("File does not exist.");if((await this.dbIndexRequest("by_folder","getAllKeys",[IDBKeyRange.only(n)])).length!==0)throw Error("Folder is not empty.");await this.dbRequest("delete",[n])}async mkdir(a){const n=this.getPath(a.directory,a.path),r=a.recursive,o=n.substr(0,n.lastIndexOf("/")),i=(n.match(/\//g)||[]).length,s=await this.dbRequest("get",[o]),l=await this.dbRequest("get",[n]);if(i===1)throw Error("Cannot create Root directory");if(l!==void 0)throw Error("Current directory does already exist.");if(!r&&i!==2&&s===void 0)throw Error("Parent directory must exist");if(r&&i!==2&&s===void 0){const u=o.substr(o.indexOf("/",1));await this.mkdir({path:u,directory:a.directory,recursive:r})}const d=Date.now(),p={path:n,folder:o,type:"directory",size:0,ctime:d,mtime:d};await this.dbRequest("put",[p])}async rmdir(a){const{path:n,directory:r,recursive:o}=a,i=this.getPath(r,n),s=await this.dbRequest("get",[i]);if(s===void 0)throw Error("Folder does not exist.");if(s.type!=="directory")throw Error("Requested path is not a directory");const l=await this.readdir({path:n,directory:r});if(l.files.length!==0&&!o)throw Error("Folder is not empty");for(const d of l.files){const p=`${n}/${d.name}`;(await this.stat({path:p,directory:r})).type==="file"?await this.deleteFile({path:p,directory:r}):await this.rmdir({path:p,directory:r,recursive:o})}await this.dbRequest("delete",[i])}async readdir(a){const n=this.getPath(a.directory,a.path),r=await this.dbRequest("get",[n]);if(a.path!==""&&r===void 0)throw Error("Folder does not exist.");const o=await this.dbIndexRequest("by_folder","getAllKeys",[IDBKeyRange.only(n)]);return{files:await Promise.all(o.map(async s=>{let l=await this.dbRequest("get",[s]);return l===void 0&&(l=await this.dbRequest("get",[s+"/"])),{name:s.substring(n.length+1),type:l.type,size:l.size,ctime:l.ctime,mtime:l.mtime,uri:l.path}}))}}async getUri(a){const n=this.getPath(a.directory,a.path);let r=await this.dbRequest("get",[n]);return r===void 0&&(r=await this.dbRequest("get",[n+"/"])),{uri:(r==null?void 0:r.path)||n}}async stat(a){const n=this.getPath(a.directory,a.path);let r=await this.dbRequest("get",[n]);if(r===void 0&&(r=await this.dbRequest("get",[n+"/"])),r===void 0)throw Error("Entry does not exist.");return{name:r.path.substring(n.length+1),type:r.type,size:r.size,ctime:r.ctime,mtime:r.mtime,uri:r.path}}async rename(a){await this._copy(a,!0)}async copy(a){return this._copy(a,!1)}async requestPermissions(){return{publicStorage:"granted"}}async checkPermissions(){return{publicStorage:"granted"}}async _copy(a,n=!1){let{toDirectory:r}=a;const{to:o,from:i,directory:s}=a;if(!o||!i)throw Error("Both to and from must be provided");r||(r=s);const l=this.getPath(s,i),d=this.getPath(r,o);if(l===d)return{uri:d};if(Mw(l,d))throw Error("To path cannot contain the from path");let p;try{p=await this.stat({path:o,directory:r})}catch{const h=o.split("/");h.pop();const y=h.join("/");if(h.length>0&&(await this.stat({path:y,directory:r})).type!=="directory")throw new Error("Parent directory of the to path is a file")}if(p&&p.type==="directory")throw new Error("Cannot overwrite a directory with a file");const u=await this.stat({path:i,directory:s}),m=async(f,h,y)=>{const k=this.getPath(r,f),x=await this.dbRequest("get",[k]);x.ctime=h,x.mtime=y,await this.dbRequest("put",[x])},c=u.ctime?u.ctime:Date.now();switch(u.type){case"file":{const f=await this.readFile({path:i,directory:s});n&&await this.deleteFile({path:i,directory:s});let h;!(f.data instanceof Blob)&&!this.isBase64String(f.data)&&(h=Io.UTF8);const y=await this.writeFile({path:o,directory:r,data:f.data,encoding:h});return n&&await m(o,c,u.mtime),y}case"directory":{if(p)throw Error("Cannot move a directory over an existing object");try{await this.mkdir({path:o,directory:r,recursive:!1}),n&&await m(o,c,u.mtime)}catch{}const f=(await this.readdir({path:i,directory:s})).files;for(const h of f)await this._copy({from:`${i}/${h.name}`,to:`${o}/${h.name}`,directory:s,toDirectory:r},n);n&&await this.rmdir({path:i,directory:s})}}return{uri:d}}isBase64String(a){try{return btoa(atob(a))==a}catch{return!1}}}gr._debug=!0;const Bw=Object.freeze(Object.defineProperty({__proto__:null,FilesystemWeb:gr},Symbol.toStringTag,{value:"Module"}));class Aw extends Sn{getMedias(a){throw console.log("getMedias",a),this.unimplemented("Not implemented on web.")}getMediaByIdentifier(a){throw console.log("getMediaByIdentifier",a),this.unimplemented("Not implemented on web.")}getAlbums(){throw this.unimplemented("Not implemented on web.")}savePhoto(a){throw console.log("savePhoto",a),this.unimplemented("Not implemented on web.")}saveVideo(a){throw console.log("saveVideo",a),this.unimplemented("Not implemented on web.")}createAlbum(a){throw console.log("createAlbum",a),this.unimplemented("Not implemented on web.")}getAlbumsPath(){throw console.log("getAlbumsPath"),this.unimplemented("Not implemented on web.")}}const Vw=Object.freeze(Object.defineProperty({__proto__:null,MediaWeb:Aw},Symbol.toStringTag,{value:"Module"}));class Dw extends Sn{async canShare(){return typeof navigator>"u"||!navigator.share?{value:!1}:{value:!0}}async share(a){if(typeof navigator>"u"||!navigator.share)throw this.unavailable("Share API not available in this browser");return await navigator.share({title:a.title,text:a.text,url:a.url}),{}}}const _w=Object.freeze(Object.defineProperty({__proto__:null,ShareWeb:Dw},Symbol.toStringTag,{value:"Module"}));ut.attLibAttendants=T1,ut.attLibDeparts=N1,ut.attLibInstances=P1,ut.default=Sw,ut.setupLibrary=O1,Object.defineProperties(ut,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});