@bluepic/embed 0.4.0-next.152 → 0.4.0-next.154

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.cjs CHANGED
@@ -72,7 +72,7 @@ list should be an Array.`),P.length===0)return new w(0);if(P.length===1)return P
72
72
  left: -100%;
73
73
  top: -100%;
74
74
  visibility: hidden;
75
- `});n.addEventListener("change",()=>{n.files&&t(Array.from(n.files).filter(a=>a.size<=e.maxSize))}),document.body.append(n),n.click()})}const LZ=o.defineComponent({__name:"BxSpin",props:{size:{default:"medium"}},setup(e){return(t,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["bx-spin",{[`size-${e.size}`]:!0}])},null,2))}}),ps=Je(LZ,[["__scopeId","data-v-1167b242"]]),OZ={key:0,class:"icon-wrapper"},PZ={key:1,class:"label"},MZ=o.defineComponent({__name:"BxButton",props:{size:{default:"medium"},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},tertiary:{type:Boolean,default:!1},quaternary:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},centered:{type:Boolean},active:{type:Boolean,default:!1},tag:{default:"button"},loading:{type:Boolean,default:!1},iconOnly:{type:Boolean,default:!1},iconPosition:{default:"left"},state:{default:"default"},ariaLabel:{}},emits:["click"],setup(e,{emit:t}){const r=e,n=t,a=o.useSlots(),i=o.computed(()=>a.default?a.default():[]),s=o.computed(()=>typeof i.value=="string"?i.value==="":!1),d=o.computed(()=>r.disabled||r.loading);o.computed(()=>!!a.default&&!s.value);function l(c){if(d.value){c.preventDefault(),c.stopPropagation();return}n("click",c)}return(c,f)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.tag),{class:o.normalizeClass(["bx-button",{"has-icon":!!a.icon,circle:e.circle,round:e.round,"has-label":!!a.default&&!s.value,secondary:e.secondary,tertiary:e.tertiary,quaternary:e.quaternary,disabled:e.disabled,["size-"+e.size]:!0,centered:e.centered,active:e.active,loading:e.loading,["icon-position-"+e.iconPosition]:!!a.icon,"icon-only":e.iconOnly,["state-"+e.state]:e.state&&e.state!=="default"}]),disabled:e.tag==="button"&&d.value?!0:void 0,"aria-disabled":e.tag!=="button"&&d.value?"true":void 0,tabindex:e.tag!=="button"&&d.value?-1:void 0,"aria-busy":e.loading?"true":void 0,"aria-label":e.ariaLabel,onClick:l},{default:o.withCtx(()=>[a.icon||e.loading?(o.openBlock(),o.createElementBlock("div",OZ,[e.loading?(o.openBlock(),o.createBlock(ps,{key:0,size:"small"})):o.renderSlot(c.$slots,"icon",{},void 0,!0,1)])):o.createCommentVNode("",!0),a.default?(o.openBlock(),o.createElementBlock("span",PZ,[o.renderSlot(c.$slots,"default",{},void 0,!0)])):o.createCommentVNode("",!0)]),_:3},8,["class","disabled","aria-disabled","tabindex","aria-busy","aria-label"]))}}),yt=Je(MZ,[["__scopeId","data-v-458b2067"]]),TZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Vx=o.defineComponent({name:"AddOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",TZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 112v288"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M400 256H112"},null,-1)]))}}),$Z={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Mb=o.defineComponent({name:"AlertCircleOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",$Z,r[0]||(r[0]=[o.createElementVNode("path",{d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M250.26 166.05L256 288l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 6z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M256 367.91a20 20 0 1 1 20-20a20 20 0 0 1-20 20z",fill:"currentColor"},null,-1)]))}}),DZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Ux=o.defineComponent({name:"AlertOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",DZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M256 80c-8.66 0-16.58 7.36-16 16l8 216a8 8 0 0 0 8 8h0a8 8 0 0 0 8-8l8-216c.58-8.64-7.34-16-16-16z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("circle",{cx:"256",cy:"416",r:"16",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),NZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Z7=o.defineComponent({name:"ArchiveOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",NZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M80 152v256a40.12 40.12 0 0 0 40 40h272a40.12 40.12 0 0 0 40-40V152",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("rect",{x:"48",y:"64",width:"416",height:"80",rx:"28",ry:"28",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 304l-64 64l-64-64"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 345.89V224"},null,-1)]))}}),jZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Tb=o.defineComponent({name:"ArrowBackOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",jZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M120 256h292"},null,-1)]))}}),RZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},n1=o.defineComponent({name:"ArrowRedoOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",RZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M448 256L272 88v96C103.57 184 64 304.77 64 424c48.61-62.24 91.6-96 208-96v96z",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),FZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},q7=o.defineComponent({name:"CalendarOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",FZ,r[0]||(r[0]=[o.createStaticVNode('<rect fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" x="48" y="80" width="416" height="384" rx="48"></rect><circle cx="296" cy="232" r="24" fill="currentColor"></circle><circle cx="376" cy="232" r="24" fill="currentColor"></circle><circle cx="296" cy="312" r="24" fill="currentColor"></circle><circle cx="376" cy="312" r="24" fill="currentColor"></circle><circle cx="136" cy="312" r="24" fill="currentColor"></circle><circle cx="216" cy="312" r="24" fill="currentColor"></circle><circle cx="136" cy="392" r="24" fill="currentColor"></circle><circle cx="216" cy="392" r="24" fill="currentColor"></circle><circle cx="296" cy="392" r="24" fill="currentColor"></circle><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" stroke-linecap="round" d="M128 48v32"></path><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" stroke-linecap="round" d="M384 48v32"></path><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M464 160H48"></path>',13)]))}}),VZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},UZ=o.defineComponent({name:"CaretBackOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",VZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M321.94 98L158.82 237.78a24 24 0 0 0 0 36.44L321.94 414c15.57 13.34 39.62 2.28 39.62-18.22v-279.6c0-20.5-24.05-31.56-39.62-18.18z",fill:"currentColor"},null,-1)]))}}),ZZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},H7=o.defineComponent({name:"CaretForwardOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",ZZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M190.06 414l163.12-139.78a24 24 0 0 0 0-36.44L190.06 98c-15.57-13.34-39.62-2.28-39.62 18.22v279.6c0 20.5 24.05 31.56 39.62 18.18z",fill:"currentColor"},null,-1)]))}}),qZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},HZ=o.defineComponent({name:"CheckmarkCircle",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",qZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48zm108.25 138.29l-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32l122.59-145.91a16 16 0 0 1 24.5 20.58z",fill:"currentColor"},null,-1)]))}}),WZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},$b=o.defineComponent({name:"CheckmarkCircleOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",WZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M352 176L217.6 336L160 272"},null,-1)]))}}),GZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Db=o.defineComponent({name:"CheckmarkOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",GZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M416 128L192 384l-96-96"},null,-1)]))}}),XZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},il=o.defineComponent({name:"ChevronBackOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",XZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M328 112L184 256l144 144"},null,-1)]))}}),YZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Nb=o.defineComponent({name:"ChevronDownOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",YZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M112 184l144 144l144-144"},null,-1)]))}}),KZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Ks=o.defineComponent({name:"ChevronForwardOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",KZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M184 112l144 144l-144 144"},null,-1)]))}}),JZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},QZ=o.defineComponent({name:"ChevronUpOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",JZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M112 328l144-144l144 144"},null,-1)]))}}),eq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Lo=o.defineComponent({name:"CloseOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",eq,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 144L144 368"},null,-1)]))}}),tq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Zx=o.defineComponent({name:"CloudUploadOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",tq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 255.79l-64-64l-64 64"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 448.21V207.79"},null,-1)]))}}),rq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},jb=o.defineComponent({name:"CopyOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",rq,r[0]||(r[0]=[o.createElementVNode("rect",{x:"128",y:"128",width:"336",height:"336",rx:"57",ry:"57",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M383.5 128l.5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),nq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Rb=o.defineComponent({name:"CropOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",nq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M144 48v272a48 48 0 0 0 48 48h272",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M368 304V192a48 48 0 0 0-48-48H208",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368v96"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 144H48"},null,-1)]))}}),aq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},W7=o.defineComponent({name:"DownloadOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",aq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M336 176h40a40 40 0 0 1 40 40v208a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V216a40 40 0 0 1 40-40h40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M176 272l80 80l80-80"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 48v288"},null,-1)]))}}),oq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},qx=o.defineComponent({name:"EllipsisVerticalOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",oq,r[0]||(r[0]=[o.createElementVNode("circle",{cx:"256",cy:"256",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("circle",{cx:"256",cy:"416",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("circle",{cx:"256",cy:"96",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1)]))}}),iq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},sq=o.defineComponent({name:"ExpandOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",iq,r[0]||(r[0]=[o.createStaticVNode('<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M432 320v112H320"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M421.8 421.77L304 304"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M80 192V80h112"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M90.2 90.23L208 208"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M320 80h112v112"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M421.77 90.2L304 208"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M192 432H80V320"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M90.23 421.8L208 304"></path>',8)]))}}),lq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},cq=o.defineComponent({name:"EyedropOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",lq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M262.51 204.22L70 396.69C57.56 409.15 48 464 48 464s54.38-9.09 67.31-22L307.8 249.51",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("rect",{x:"211.72",y:"172.19",width:"192.15",height:"64.05",rx:"32.03",ry:"32.03",transform:"rotate(45 307.788 204.2)",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M289.91 141s20.57 8.57 37.22-8.08l54.67-70.63c18.5-19.41 49.26-18.69 67.94 0h0c18.68 18.68 19.34 48.81 0 67.93l-70.68 54.67c-15.65 15.65-8.08 37.22-8.08 37.22",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M115.31 442s-26.48 17.34-44.56-.73s-.75-44.58-.75-44.58",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),uq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Hx=o.defineComponent({name:"HelpOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",uq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M160 164s1.44-33 33.54-59.46C212.6 88.83 235.49 84.28 256 84c18.73-.23 35.47 2.94 45.48 7.82C318.59 100.2 352 120.6 352 164c0 45.67-29.18 66.37-62.35 89.18S248 298.36 248 324",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"40"},null,-1),o.createElementVNode("circle",{cx:"248",cy:"399.99",r:"32",fill:"currentColor"},null,-1)]))}}),dq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Gi=o.defineComponent({name:"ImageOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",dq,r[0]||(r[0]=[o.createElementVNode("rect",{x:"48",y:"80",width:"416",height:"352",rx:"48",ry:"48",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("circle",{cx:"336",cy:"176",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M304 335.79l-90.66-90.49a32 32 0 0 0-43.87-1.3L48 352",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M224 432l123.34-123.34a32 32 0 0 1 43.11-2L464 368",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),fq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},xd=o.defineComponent({name:"InformationCircleOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",fq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184s184-82.39 184-184S349.61 64 248 64z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M220 220h32v116"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M208 340h88"},null,-1),o.createElementVNode("path",{d:"M248 130a26 26 0 1 0 26 26a26 26 0 0 0-26-26z",fill:"currentColor"},null,-1)]))}}),pq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},mq=o.defineComponent({name:"InformationOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",pq,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"40",d:"M196 220h64v172"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"40",d:"M187 396h138"},null,-1),o.createElementVNode("path",{d:"M256 160a32 32 0 1 1 32-32a32 32 0 0 1-32 32z",fill:"currentColor"},null,-1)]))}}),hq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},gq=o.defineComponent({name:"LogOutOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",hq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M304 336v40a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V136a40 40 0 0 1 40-40h152c22.09 0 48 17.91 48 40v40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 336l80-80l-80-80"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M176 256h256"},null,-1)]))}}),vq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},bq=o.defineComponent({name:"LogoFacebook",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",vq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M480 257.35c0-123.7-100.3-224-224-224s-224 100.3-224 224c0 111.8 81.9 204.47 189 221.29V322.12h-56.89v-64.77H221V208c0-56.13 33.45-87.16 84.61-87.16c24.51 0 50.15 4.38 50.15 4.38v55.13H327.5c-27.81 0-36.51 17.26-36.51 35v42h62.12l-9.92 64.77H291v156.54c107.1-16.81 189-109.48 189-221.31z","fill-rule":"evenodd",fill:"currentColor"},null,-1)]))}}),yq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},wq=o.defineComponent({name:"LogoInstagram",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",yq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M349.33 69.33a93.62 93.62 0 0 1 93.34 93.34v186.66a93.62 93.62 0 0 1-93.34 93.34H162.67a93.62 93.62 0 0 1-93.34-93.34V162.67a93.62 93.62 0 0 1 93.34-93.34h186.66m0-37.33H162.67C90.8 32 32 90.8 32 162.67v186.66C32 421.2 90.8 480 162.67 480h186.66C421.2 480 480 421.2 480 349.33V162.67C480 90.8 421.2 32 349.33 32z",fill:"currentColor"},null,-1),o.createElementVNode("path",{d:"M377.33 162.67a28 28 0 1 1 28-28a27.94 27.94 0 0 1-28 28z",fill:"currentColor"},null,-1),o.createElementVNode("path",{d:"M256 181.33A74.67 74.67 0 1 1 181.33 256A74.75 74.75 0 0 1 256 181.33m0-37.33a112 112 0 1 0 112 112a112 112 0 0 0-112-112z",fill:"currentColor"},null,-1)]))}}),xq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Cq=o.defineComponent({name:"LogoLinkedin",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",xq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M444.17 32H70.28C49.85 32 32 46.7 32 66.89v374.72C32 461.91 49.85 480 70.28 480h373.78c20.54 0 35.94-18.21 35.94-38.39V66.89C480.12 46.7 464.6 32 444.17 32zm-273.3 373.43h-64.18V205.88h64.18zM141 175.54h-.46c-20.54 0-33.84-15.29-33.84-34.43c0-19.49 13.65-34.42 34.65-34.42s33.85 14.82 34.31 34.42c-.01 19.14-13.31 34.43-34.66 34.43zm264.43 229.89h-64.18V296.32c0-26.14-9.34-44-32.56-44c-17.74 0-28.24 12-32.91 23.69c-1.75 4.2-2.22 9.92-2.22 15.76v113.66h-64.18V205.88h64.18v27.77c9.34-13.3 23.93-32.44 57.88-32.44c42.13 0 74 27.77 74 87.64z",fill:"currentColor"},null,-1)]))}}),Sq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},kq=o.defineComponent({name:"LogoTwitter",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Sq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M496 109.5a201.8 201.8 0 0 1-56.55 15.3a97.51 97.51 0 0 0 43.33-53.6a197.74 197.74 0 0 1-62.56 23.5A99.14 99.14 0 0 0 348.31 64c-54.42 0-98.46 43.4-98.46 96.9a93.21 93.21 0 0 0 2.54 22.1a280.7 280.7 0 0 1-203-101.3A95.69 95.69 0 0 0 36 130.4c0 33.6 17.53 63.3 44 80.7A97.5 97.5 0 0 1 35.22 199v1.2c0 47 34 86.1 79 95a100.76 100.76 0 0 1-25.94 3.4a94.38 94.38 0 0 1-18.51-1.8c12.51 38.5 48.92 66.5 92.05 67.3A199.59 199.59 0 0 1 39.5 405.6a203 203 0 0 1-23.5-1.4A278.68 278.68 0 0 0 166.74 448c181.36 0 280.44-147.7 280.44-275.8c0-4.2-.11-8.4-.31-12.5A198.48 198.48 0 0 0 496 109.5z",fill:"currentColor"},null,-1)]))}}),_q={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Eq=o.defineComponent({name:"LogoWhatsapp",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",_q,r[0]||(r[0]=[o.createElementVNode("path",{d:"M414.73 97.1A222.14 222.14 0 0 0 256.94 32C134 32 33.92 131.58 33.87 254a220.61 220.61 0 0 0 29.78 111L32 480l118.25-30.87a223.63 223.63 0 0 0 106.6 27h.09c122.93 0 223-99.59 223.06-222A220.18 220.18 0 0 0 414.73 97.1zM256.94 438.66h-.08a185.75 185.75 0 0 1-94.36-25.72l-6.77-4l-70.17 18.32l18.73-68.09l-4.41-7A183.46 183.46 0 0 1 71.53 254c0-101.73 83.21-184.5 185.48-184.5a185 185 0 0 1 185.33 184.64c-.04 101.74-83.21 184.52-185.4 184.52zm101.69-138.19c-5.57-2.78-33-16.2-38.08-18.05s-8.83-2.78-12.54 2.78s-14.4 18-17.65 21.75s-6.5 4.16-12.07 1.38s-23.54-8.63-44.83-27.53c-16.57-14.71-27.75-32.87-31-38.42s-.35-8.56 2.44-11.32c2.51-2.49 5.57-6.48 8.36-9.72s3.72-5.56 5.57-9.26s.93-6.94-.46-9.71s-12.54-30.08-17.18-41.19c-4.53-10.82-9.12-9.35-12.54-9.52c-3.25-.16-7-.2-10.69-.2a20.53 20.53 0 0 0-14.86 6.94c-5.11 5.56-19.51 19-19.51 46.28s20 53.68 22.76 57.38s39.3 59.73 95.21 83.76a323.11 323.11 0 0 0 31.78 11.68c13.35 4.22 25.5 3.63 35.1 2.2c10.71-1.59 33-13.42 37.63-26.38s4.64-24.06 3.25-26.37s-5.11-3.71-10.69-6.48z","fill-rule":"evenodd",fill:"currentColor"},null,-1)]))}}),zq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Iq=o.defineComponent({name:"MailOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",zq,r[0]||(r[0]=[o.createElementVNode("rect",{x:"48",y:"96",width:"416",height:"320",rx:"40",ry:"40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M112 160l144 112l144-112"},null,-1)]))}}),Aq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Bq=o.defineComponent({name:"MapOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Aq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M313.27 124.64L198.73 51.36a32 32 0 0 0-29.28.35L56.51 127.49A16 16 0 0 0 48 141.63v295.8a16 16 0 0 0 23.49 14.14l97.82-63.79a32 32 0 0 1 29.5-.24l111.86 73a32 32 0 0 0 29.27-.11l115.43-75.94a16 16 0 0 0 8.63-14.2V74.57a16 16 0 0 0-23.49-14.14l-98 63.86a32 32 0 0 1-29.24.35z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M328 128v336"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M184 48v336"},null,-1)]))}}),Lq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Oq=o.defineComponent({name:"MenuOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Lq,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 160h352"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 256h352"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 352h352"},null,-1)]))}}),Pq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Mq=o.defineComponent({name:"Pause",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Pq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M208 432h-48a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h48a16 16 0 0 1 16 16v320a16 16 0 0 1-16 16z",fill:"currentColor"},null,-1),o.createElementVNode("path",{d:"M352 432h-48a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h48a16 16 0 0 1 16 16v320a16 16 0 0 1-16 16z",fill:"currentColor"},null,-1)]))}}),Tq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},$q=o.defineComponent({name:"Play",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Tq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M133 440a35.37 35.37 0 0 1-17.5-4.67c-12-6.8-19.46-20-19.46-34.33V111c0-14.37 7.46-27.53 19.46-34.33a35.13 35.13 0 0 1 35.77.45l247.85 148.36a36 36 0 0 1 0 61l-247.89 148.4A35.5 35.5 0 0 1 133 440z",fill:"currentColor"},null,-1)]))}}),Dq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Nq=o.defineComponent({name:"PlayBack",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Dq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M30.71 229.47l188.87-113a30.54 30.54 0 0 1 31.09-.39a33.74 33.74 0 0 1 16.76 29.47v79.05l180.72-108.16a30.54 30.54 0 0 1 31.09-.39A33.74 33.74 0 0 1 496 145.52v221A33.73 33.73 0 0 1 479.24 396a30.54 30.54 0 0 1-31.09-.39L267.43 287.4v79.08A33.73 33.73 0 0 1 250.67 396a30.54 30.54 0 0 1-31.09-.39l-188.87-113a31.27 31.27 0 0 1 0-53z",fill:"currentColor"},null,-1)]))}}),jq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Rq=o.defineComponent({name:"PlayForward",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",jq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M481.29 229.47l-188.87-113a30.54 30.54 0 0 0-31.09-.39a33.74 33.74 0 0 0-16.76 29.47v79.05L63.85 116.44a30.54 30.54 0 0 0-31.09-.39A33.74 33.74 0 0 0 16 145.52v221A33.74 33.74 0 0 0 32.76 396a30.54 30.54 0 0 0 31.09-.39L244.57 287.4v79.08A33.74 33.74 0 0 0 261.33 396a30.54 30.54 0 0 0 31.09-.39l188.87-113a31.27 31.27 0 0 0 0-53z",fill:"currentColor"},null,-1)]))}}),Fq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Vq=o.defineComponent({name:"RemoveOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Fq,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M400 256H112"},null,-1)]))}}),Uq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Zq=o.defineComponent({name:"SearchOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Uq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M338.29 338.29L448 448"},null,-1)]))}}),qq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Hq=o.defineComponent({name:"SettingsOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",qq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M262.29 192.31a64 64 0 1 0 57.4 57.4a64.13 64.13 0 0 0-57.4-57.4zM416.39 256a154.34 154.34 0 0 1-1.53 20.79l45.21 35.46a10.81 10.81 0 0 1 2.45 13.75l-42.77 74a10.81 10.81 0 0 1-13.14 4.59l-44.9-18.08a16.11 16.11 0 0 0-15.17 1.75A164.48 164.48 0 0 1 325 400.8a15.94 15.94 0 0 0-8.82 12.14l-6.73 47.89a11.08 11.08 0 0 1-10.68 9.17h-85.54a11.11 11.11 0 0 1-10.69-8.87l-6.72-47.82a16.07 16.07 0 0 0-9-12.22a155.3 155.3 0 0 1-21.46-12.57a16 16 0 0 0-15.11-1.71l-44.89 18.07a10.81 10.81 0 0 1-13.14-4.58l-42.77-74a10.8 10.8 0 0 1 2.45-13.75l38.21-30a16.05 16.05 0 0 0 6-14.08c-.36-4.17-.58-8.33-.58-12.5s.21-8.27.58-12.35a16 16 0 0 0-6.07-13.94l-38.19-30A10.81 10.81 0 0 1 49.48 186l42.77-74a10.81 10.81 0 0 1 13.14-4.59l44.9 18.08a16.11 16.11 0 0 0 15.17-1.75A164.48 164.48 0 0 1 187 111.2a15.94 15.94 0 0 0 8.82-12.14l6.73-47.89A11.08 11.08 0 0 1 213.23 42h85.54a11.11 11.11 0 0 1 10.69 8.87l6.72 47.82a16.07 16.07 0 0 0 9 12.22a155.3 155.3 0 0 1 21.46 12.57a16 16 0 0 0 15.11 1.71l44.89-18.07a10.81 10.81 0 0 1 13.14 4.58l42.77 74a10.8 10.8 0 0 1-2.45 13.75l-38.21 30a16.05 16.05 0 0 0-6.05 14.08c.33 4.14.55 8.3.55 12.47z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),Wq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Fb=o.defineComponent({name:"WarningOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Wq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M85.57 446.25h340.86a32 32 0 0 0 28.17-47.17L284.18 82.58c-12.09-22.44-44.27-22.44-56.36 0L57.4 399.08a32 32 0 0 0 28.17 47.17z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M250.26 195.39l5.74 122l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 5.95z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M256 397.25a20 20 0 1 1 20-20a20 20 0 0 1-20 20z",fill:"currentColor"},null,-1)]))}}),Gq=o.defineComponent({__name:"BxIcon",props:{size:{}},setup(e){return(t,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["bx-icon",{...typeof e.size=="string"?{["size-"+e.size]:!0}:{}}]),style:o.normalizeStyle({...typeof e.size=="number"?{"--icon-size":`${e.size}px`}:{}})},[o.renderSlot(t.$slots,"default",{},void 0,!0)],6))}}),rt=Je(Gq,[["__scopeId","data-v-74c5df5a"]]),Wx=Symbol.for("bx-popup-header-tools");function Xq(){const e=o.ref(null);return o.provide(Wx,e),e}function Yq(){return o.inject(Wx,o.ref(null))}const Kq={key:0,class:"icon-wrapper"},Jq={class:"title-wrapper"},Qq=["title"],eH={key:1,class:"actions-wrapper"},tH=o.defineComponent({__name:"PopupElement",props:{type:{},title:{},fullscreen:{type:Boolean},closeable:{type:Boolean},transculent:{type:Boolean},customClasses:{},fullLayer:{type:Boolean},draggable:{type:Boolean,default:!0},drawerPlacement:{},drawerWidth:{},drawerHeight:{},capturedContext:{default:()=>({})}},emits:["close"],setup(e,{emit:t}){const r=Xq(),n=e;n.capturedContext&&Object.entries(n.capturedContext).forEach(([g,y])=>{const w=typeof g=="string"&&g.startsWith("Symbol(")?Symbol.for(g.slice(7,-1)):g;o.provide(w,y)});const a=t,i=o.useSlots(),s=o.ref({x:0,y:0}),d=o.ref(!1);let l={x:0,y:0,offsetX:0,offsetY:0};const c=o.computed(()=>n.type!=="frame"||!n.draggable?{}:{transform:`translate(${s.value.x}px, ${s.value.y}px)`,cursor:d.value?"grabbing":"grab",userSelect:d.value?"none":void 0});function f(g){if(n.type!=="frame"||!n.draggable)return;let y=g.target;for(;y;){if(y.classList.contains("popup-no-drag")||y.classList.contains("n-dialog-no-drag"))return;if(y===g.currentTarget)break;y=y.parentElement}d.value=!0,l={x:g.clientX,y:g.clientY,offsetX:s.value.x,offsetY:s.value.y},document.addEventListener("mousemove",p),document.addEventListener("mouseup",u),g.preventDefault()}function p(g){s.value={x:l.offsetX+g.clientX-l.x,y:l.offsetY+g.clientY-l.y}}function u(){d.value=!1,document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",u)}o.onUnmounted(()=>{document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",u)});function h(){a("close")}return(g,y)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["popup-element",{["type-"+e.type]:!0,["drawer-"+(e.drawerPlacement??"right")]:e.type==="drawer",...Object.fromEntries(e.customClasses.map(w=>[w,!0])),"full-layer":e.fullLayer}]),style:o.normalizeStyle(e.type==="drawer"?{"--drawer-width":e.drawerWidth??"400px","--drawer-height":e.drawerHeight??"400px"}:{})},[o.createElementVNode("div",{class:o.normalizeClass(["popup-content",{fullscreen:e.fullscreen,transculent:e.transculent}]),style:o.normalizeStyle(c.value),onMousedown:f},[o.createElementVNode("header",{class:o.normalizeClass({"has-title":!!i.title||e.title,"has-icon":!!i.icon})},[i.icon!==void 0?(o.openBlock(),o.createElementBlock("div",Kq,[o.createVNode(rt,null,{default:o.withCtx(()=>[o.renderSlot(g.$slots,"icon",o.normalizeProps(o.guardReactiveProps({close:h})),void 0,!0)]),_:3})])):o.createCommentVNode("",!0),o.createElementVNode("div",Jq,[i.title!==void 0?o.renderSlot(g.$slots,"title",o.normalizeProps(o.guardReactiveProps({close:h})),void 0,!0,0):e.title?(o.openBlock(),o.createElementBlock("h3",{key:1,title:e.title},o.toDisplayString(e.title),9,Qq)):o.createCommentVNode("",!0)]),i["header-actions"]!==void 0||e.closeable?(o.openBlock(),o.createElementBlock("div",eH,[o.createElementVNode("div",{ref_key:"headerToolsHost",ref:r,class:"header-tools-host"},null,512),i["header-actions"]!==void 0?o.renderSlot(g.$slots,"header-actions",o.normalizeProps(o.guardReactiveProps({close:h})),void 0,!0,0):o.createCommentVNode("",!0),i["close-btn"]?o.renderSlot(g.$slots,"close-btn",o.normalizeProps(o.guardReactiveProps({close:h})),void 0,!0,1):e.closeable?(o.openBlock(),o.createBlock(yt,{key:2,tertiary:"",circle:"",onClick:h,class:"popup-close-btn",style:{padding:"8px"}},{icon:o.withCtx(()=>[o.createVNode(rt,{size:18},{default:o.withCtx(()=>[o.createVNode(o.unref(Lo))]),_:1})]),_:1})):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],2),o.createElementVNode("main",null,[o.renderSlot(g.$slots,"default",o.normalizeProps(o.guardReactiveProps({close:h})),void 0,!0)])],38)],6))}}),Gx=Je(tH,[["__scopeId","data-v-b6d885f0"]]),rH={key:0,class:"icon-wrapper"},nH={class:"content-wrapper"},aH={key:0,class:"title-text"},oH={key:1},iH={key:1,class:"message-text"},sH={key:1},lH=o.defineComponent({__name:"MessageElement",props:{type:{},showIcon:{type:Boolean,default:!0},title:{},message:{},closeable:{type:Boolean,default:!0},customClasses:{default:()=>[]},maxWidth:{},capturedContext:{default:()=>({})}},emits:["close"],setup(e,{emit:t}){const r=e,n=o.useSlots(),a=t;return r.capturedContext&&Object.entries(r.capturedContext).forEach(([i,s])=>{const d=typeof i=="string"&&i.startsWith("Symbol(")?Symbol.for(i.slice(7,-1)):i;o.provide(d,s)}),(i,s)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["message-element",[`type-${e.type}`,...e.customClasses]]),style:o.normalizeStyle({maxWidth:e.maxWidth})},[e.showIcon?(o.openBlock(),o.createElementBlock("div",rH,[o.createVNode(rt,null,{default:o.withCtx(()=>[n.icon?o.renderSlot(i.$slots,"icon",{},void 0,!0,0):e.type==="success"?(o.openBlock(),o.createBlock(o.unref($b),{key:1})):e.type==="error"?(o.openBlock(),o.createBlock(o.unref(Mb),{key:2})):e.type==="warning"?(o.openBlock(),o.createBlock(o.unref(Fb),{key:3})):e.type==="info"?(o.openBlock(),o.createBlock(o.unref(xd),{key:4})):o.createCommentVNode("",!0)]),_:3})])):o.createCommentVNode("",!0),o.createElementVNode("div",nH,[n.title||e.title?(o.openBlock(),o.createElementBlock("div",aH,[n.title?o.renderSlot(i.$slots,"title",{},void 0,!0,0):(o.openBlock(),o.createElementBlock("span",oH,o.toDisplayString(e.title),1))])):o.createCommentVNode("",!0),n.message||e.message?(o.openBlock(),o.createElementBlock("div",iH,[n.message?o.renderSlot(i.$slots,"message",{},void 0,!0,0):(o.openBlock(),o.createElementBlock("span",sH,o.toDisplayString(e.message),1))])):o.createCommentVNode("",!0)]),e.closeable?(o.openBlock(),o.createElementBlock("div",{key:1,class:"close-btn",onClick:s[0]||(s[0]=d=>a("close"))},[o.createVNode(rt,{size:14},{default:o.withCtx(()=>[o.createVNode(o.unref(Lo))]),_:1})])):o.createCommentVNode("",!0)],6))}}),cH=Je(lH,[["__scopeId","data-v-37d75e2a"]]);function wl(){const e=o.getCurrentInstance(),t={};if(!e)return t;let r=e.parent;for(;r;){const n=r;n.provides&&Object.assign(t,n.provides),r=r.parent}return t}function a1(e){const t=o.ref(),r=()=>{e.value&&(t.value=e.value.getBoundingClientRect())};o.onMounted(()=>{r(),window.addEventListener("resize",r)});const n=new ResizeObserver(()=>{r()}),a=new MutationObserver(()=>{r()}),i=o.watch(e,(s,d)=>{s&&!d&&(s instanceof Element&&(n.observe(s),a.observe(s,{attributes:!0,childList:!0,subtree:!0})),r())});return o.onBeforeUnmount(()=>{window.removeEventListener("resize",r),i(),n.disconnect(),a.disconnect()}),{rect:t,width:o.computed(()=>{var s;return(s=t.value)==null?void 0:s.width}),height:o.computed(()=>{var s;return(s=t.value)==null?void 0:s.height}),x:o.computed(()=>{var s;return(s=t.value)==null?void 0:s.x}),y:o.computed(()=>{var s;return(s=t.value)==null?void 0:s.y})}}const uH=["top","right","bottom","left"],G7=["start","end"],X7=uH.reduce((e,t)=>e.concat(t,t+"-"+G7[0],t+"-"+G7[1]),[]),Cd=Math.min,rs=Math.max,G1=Math.round,si=e=>({x:e,y:e}),dH={left:"right",right:"left",bottom:"top",top:"bottom"};function fH(e,t,r){return rs(e,Cd(t,r))}function Zp(e,t){return typeof e=="function"?e(t):e}function a0(e){return e.split("-")[0]}function ns(e){return e.split("-")[1]}function Xx(e){return e==="x"?"y":"x"}function Yx(e){return e==="y"?"height":"width"}function qp(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Kx(e){return Xx(qp(e))}function pH(e,t,r){r===void 0&&(r=!1);const n=ns(e),a=Kx(e),i=Yx(a);let s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Y7(s)),[s,Y7(s)]}function mH(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Y7(e){const t=a0(e);return dH[t]+e.slice(t.length)}function hH(e){var t,r,n,a;return{top:(t=e.top)!=null?t:0,right:(r=e.right)!=null?r:0,bottom:(n=e.bottom)!=null?n:0,left:(a=e.left)!=null?a:0}}function gH(e){return typeof e!="number"?hH(e):{top:e,right:e,bottom:e,left:e}}function X1(e){const{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function K7(e,t,r){let{reference:n,floating:a}=e;const i=qp(t),s=Kx(t),d=Yx(s),l=a0(t),c=i==="y",f=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,u=n[d]/2-a[d]/2;let h;switch(l){case"top":h={x:f,y:n.y-a.height};break;case"bottom":h={x:f,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:p};break;case"left":h={x:n.x-a.width,y:p};break;default:h={x:n.x,y:n.y}}const g=ns(t);return g&&(h[s]+=u*(g==="end"?1:-1)*(r&&c?-1:1)),h}async function vH(e,t){var r;t===void 0&&(t={});const{x:n,y:a,platform:i,rects:s,elements:d,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:u=!1,padding:h=0}=Zp(t,e),g=gH(h),w=d[u?p==="floating"?"reference":"floating":p],x=X1(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(w)))==null||r?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:c,rootBoundary:f,strategy:l})),S=p==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),E=await(i.isElement==null?void 0:i.isElement(C))&&await(i.getScale==null?void 0:i.getScale(C))||{x:1,y:1},_=X1(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:S,offsetParent:C,strategy:l}):S);return{top:(x.top-_.top+g.top)/E.y,bottom:(_.bottom-x.bottom+g.bottom)/E.y,left:(x.left-_.left+g.left)/E.x,right:(_.right-x.right+g.right)/E.x}}const bH=50,yH=async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,d=s.detectOverflow?s:{...s,detectOverflow:vH},l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:p}=K7(c,n,l),u=n,h=0;const g={};for(let y=0;y<i.length;y++){const w=i[y];if(!w)continue;const{name:x,fn:S}=w,{x:C,y:E,data:_,reset:I}=await S({x:f,y:p,initialPlacement:n,placement:u,strategy:a,middlewareData:g,rects:c,platform:d,elements:{reference:e,floating:t}});f=C??f,p=E??p,g[x]={...g[x],..._},I&&h<bH&&(h++,typeof I=="object"&&(I.placement&&(u=I.placement),I.rects&&(c=I.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):I.rects),{x:f,y:p}=K7(c,u,l)),y=-1)}return{x:f,y:p,placement:u,strategy:a,middlewareData:g}};function wH(e,t,r){return(e?[...r.filter(a=>ns(a)===e),...r.filter(a=>ns(a)!==e)]:r.filter(a=>a0(a)===a)).filter(a=>e?ns(a)===e||(t?mH(a)!==a:!1):!0)}const xH=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,a;const{rects:i,middlewareData:s,placement:d,platform:l,elements:c}=t,{crossAxis:f=!1,alignment:p,allowedPlacements:u=X7,autoAlignment:h=!0,...g}=Zp(e,t),y=p!==void 0||u===X7?wH(p||null,h,u):u,w=((r=s.autoPlacement)==null?void 0:r.index)||0,x=y[w];if(x==null)return{};if(d!==x)return{reset:{placement:y[0]}};const S=await l.detectOverflow(t,g),C=pH(x,i,await(l.isRTL==null?void 0:l.isRTL(c.floating))),E=[S[a0(x)],S[C[0]],S[C[1]]],_=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:x,overflows:E}],I=y[w+1];if(I)return{data:{index:w+1,overflows:_},reset:{placement:I}};const B=_.map(z=>{const D=ns(z.placement);return[z.placement,D&&f?z.overflows.slice(0,2).reduce((j,m)=>j+m,0):z.overflows[0],z.overflows]}).sort((z,D)=>z[1]-D[1]),M=((a=B.filter(z=>z[2].slice(0,ns(z[0])?2:3).every(D=>D<=0))[0])==null?void 0:a[0])||B[0][0];return M!==d?{data:{index:w+1,overflows:_},reset:{placement:M}}:{}}}},CH=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:d=!1,limiter:l={fn:S=>{let{x:C,y:E}=S;return{x:C,y:E}}},...c}=Zp(e,t),f={x:r,y:n},p=await i.detectOverflow(t,c),u=qp(a),h=Xx(u);let g=f[h],y=f[u];const w=(S,C)=>fH(C+p[S==="y"?"top":"left"],C,C-p[S==="y"?"bottom":"right"]);s&&(g=w(h,g)),d&&(y=w(u,y));const x=l.fn({...t,[h]:g,[u]:y});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[h]:s,[u]:d}}}}}},SH=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:a,elements:i}=t,{apply:s=()=>{},...d}=Zp(e,t),l=await a.detectOverflow(t,d),c=a0(r),f=ns(r),p=qp(r)==="y",{width:u,height:h}=n.floating;let g,y;c==="top"||c==="bottom"?(g=c,y=f===(await(a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(y=c,g=f==="end"?"top":"bottom");const w=h-l.top-l.bottom,x=u-l.left-l.right,S=Cd(h-l[g],w),C=Cd(u-l[y],x),E=t.middlewareData.shift,_=!E;let I=S,B=C;E!=null&&E.enabled.x&&(B=x),E!=null&&E.enabled.y&&(I=w),_&&!f&&(p?B=u-2*rs(l.left,l.right):I=h-2*rs(l.top,l.bottom)),await s({...t,availableWidth:B,availableHeight:I});const k=await a.getDimensions(i.floating);return u!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function Hp(){return typeof window<"u"}function xl(e){return Vb(e)?(e.nodeName||"").toLowerCase():"#document"}function ca(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bs(e){var t;return(t=(Vb(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Vb(e){return Hp()?e instanceof Node||e instanceof ca(e).Node:!1}function Oo(e){return Hp()?e instanceof Element||e instanceof ca(e).Element:!1}function ys(e){return Hp()?e instanceof HTMLElement||e instanceof ca(e).HTMLElement:!1}function J7(e){return!Hp()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ca(e).ShadowRoot}function Wp(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=Po(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&a!=="inline"&&a!=="contents"}function kH(e){return/^(table|td|th)$/.test(xl(e))}function Gp(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const _H=/transform|translate|scale|rotate|perspective|filter/,EH=/paint|layout|strict|content/,Ts=e=>!!e&&e!=="none";let x2;function Ub(e){const t=Oo(e)?Po(e):e;return Ts(t.transform)||Ts(t.translate)||Ts(t.scale)||Ts(t.rotate)||Ts(t.perspective)||!Zb()&&(Ts(t.backdropFilter)||Ts(t.filter))||_H.test(t.willChange||"")||EH.test(t.contain||"")}function zH(e){let t=pl(e);for(;ys(t)&&!Sd(t);){if(Ub(t))return t;if(Gp(t))return null;t=pl(t)}return null}function Zb(){return x2==null&&(x2=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),x2}function Sd(e){return/^(html|body|#document)$/.test(xl(e))}function Po(e){return ca(e).getComputedStyle(e)}function Xp(e){return Oo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function pl(e){if(xl(e)==="html")return e;const t=e.assignedSlot||e.parentNode||J7(e)&&e.host||bs(e);return J7(t)?t.host:t}function Jx(e){const t=pl(e);return Sd(t)?(e.ownerDocument||e).body:ys(t)&&Wp(t)?t:Jx(t)}function Qx(e,t,r){var n;t===void 0&&(t=[]);const a=Jx(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=ca(a);return i?(Ng(s),t.concat(s,s.visualViewport||[],Wp(a)?a:[],[])):t.concat(a,Qx(a,[]))}function Ng(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eC(e){const t=Po(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=ys(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,d=G1(r)!==i||G1(n)!==s;return d&&(r=i,n=s),{width:r,height:n,$:d}}function tC(e){return Oo(e)?e:e.contextElement}function gc(e){const t=tC(e);if(!ys(t))return si(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:i}=eC(t);let s=(i?G1(r.width):r.width)/n,d=(i?G1(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!d||!Number.isFinite(d))&&(d=1),{x:s,y:d}}const IH=si(0);function rC(e){const t=ca(e);return!Zb()||!t.visualViewport?IH:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function AH(e,t,r){return t===void 0&&(t=!1),!!r&&t&&r===ca(e)}function kd(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),i=tC(e);let s=si(1);t&&(n?Oo(n)&&(s=gc(n)):s=gc(e));const d=AH(i,r,n)?rC(i):si(0);let l=(a.left+d.x)/s.x,c=(a.top+d.y)/s.y,f=a.width/s.x,p=a.height/s.y;if(i&&n){const u=ca(i),h=Oo(n)?ca(n):n;let g=u,y=Ng(g);for(;y&&h!==g;){const w=gc(y),x=y.getBoundingClientRect(),S=Po(y),C=x.left+(y.clientLeft+parseFloat(S.paddingLeft))*w.x,E=x.top+(y.clientTop+parseFloat(S.paddingTop))*w.y;l*=w.x,c*=w.y,f*=w.x,p*=w.y,l+=C,c+=E,g=ca(y),y=Ng(g)}}return X1({width:f,height:p,x:l,y:c})}function Yp(e,t){const r=Xp(e).scrollLeft;return t?t.left+r:kd(bs(e)).left+r}function nC(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-Yp(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function BH(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e;const i=a==="fixed",s=bs(n),d=t?Gp(t.floating):!1;if(n===s||d&&i)return r;let l={scrollLeft:0,scrollTop:0},c=si(1);const f=si(0),p=ys(n);if((p||!i)&&((xl(n)!=="body"||Wp(s))&&(l=Xp(n)),p)){const h=kd(n);c=gc(n),f.x=h.x+n.clientLeft,f.y=h.y+n.clientTop}const u=s&&!p&&!i?nC(s,l):si(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+f.x+u.x,y:r.y*c.y-l.scrollTop*c.y+f.y+u.y}}function LH(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function OH(e){const t=Xp(e),r=e.ownerDocument.body,n=rs(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=rs(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let i=-t.scrollLeft+Yp(e);const s=-t.scrollTop;return Po(r).direction==="rtl"&&(i+=rs(e.clientWidth,r.clientWidth)-n),{width:n,height:a,x:i,y:s}}const PH=25;function MH(e,t,r){r===void 0&&(r="viewport");const n=r==="layoutViewport",a=ca(e),i=bs(e),s=a.visualViewport;let d=i.clientWidth,l=i.clientHeight,c=0,f=0;if(s){const u=!Zb()||t==="fixed";n?u||(c=-s.offsetLeft,f=-s.offsetTop):(d=s.width,l=s.height,u&&(c=s.offsetLeft,f=s.offsetTop))}if(Yp(i)<=0){const u=i.ownerDocument,h=u.body,g=getComputedStyle(h),y=u.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,w=Math.abs(i.clientWidth-h.clientWidth-y),x=getComputedStyle(i).scrollbarGutter==="stable both-edges"?w/2:w;x<=PH&&(d-=x)}return{width:d,height:l,x:c,y:f}}function TH(e,t){const r=kd(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=gc(e),s=e.clientWidth*i.x,d=e.clientHeight*i.y,l=a*i.x,c=n*i.y;return{width:s,height:d,x:l,y:c}}function Q7(e,t,r){let n;if(t==="viewport"||t==="layoutViewport")n=MH(e,r,t);else if(t==="document")n=OH(bs(e));else if(Oo(t))n=TH(t,r);else{const a=rC(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return X1(n)}function $H(e,t){const r=t.get(e);if(r)return r;let n=Qx(e,[]).filter(d=>Oo(d)&&xl(d)!=="body"),a=null;const i=Po(e).position==="fixed";let s=i?pl(e):e;for(;Oo(s)&&!Sd(s);){const d=Po(s),l=Ub(s),c=a?a.position:i?"fixed":"";!l&&(c==="fixed"||c==="absolute"&&d.position==="static")?n=n.filter(p=>p!==s):a=d,s=pl(s)}return t.set(e,n),n}function DH(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const s=[...r==="clippingAncestors"?Gp(t)?[]:$H(t,this._c):[].concat(r),n],d=Q7(t,s[0],a);let l=d.top,c=d.right,f=d.bottom,p=d.left;for(let u=1;u<s.length;u++){const h=Q7(t,s[u],a);l=rs(h.top,l),c=Cd(h.right,c),f=Cd(h.bottom,f),p=rs(h.left,p)}return{width:c-p,height:f-l,x:p,y:l}}function NH(e){const{width:t,height:r}=eC(e);return{width:t,height:r}}function jH(e,t,r){const n=ys(t),a=bs(t),i=r==="fixed",s=kd(e,!0,i,t);let d={scrollLeft:0,scrollTop:0};const l=si(0);if((n||!i)&&((xl(t)!=="body"||Wp(a))&&(d=Xp(t)),n)){const u=kd(t,!0,i,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}!n&&a&&(l.x=Yp(a));const c=a&&!n&&!i?nC(a,d):si(0),f=s.left+d.scrollLeft-l.x-c.x,p=s.top+d.scrollTop-l.y-c.y;return{x:f,y:p,width:s.width,height:s.height}}function C2(e){return Po(e).position==="static"}function e8(e,t){if(!ys(e)||Po(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return bs(e)===r&&(r=r.ownerDocument.body),r}function aC(e,t){const r=ca(e);if(Gp(e))return r;if(!ys(e)){let a=pl(e);for(;a&&!Sd(a);){if(Oo(a)&&!C2(a))return a;a=pl(a)}return r}let n=e8(e,t);for(;n&&kH(n)&&C2(n);)n=e8(n,t);return n&&Sd(n)&&C2(n)&&!Ub(n)?r:n||zH(e)||r}const RH=async function(e){const t=this.getOffsetParent||aC,r=this.getDimensions,n=await r(e.floating);return{reference:jH(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function FH(e){return Po(e).direction==="rtl"}const VH={convertOffsetParentRelativeRectToViewportRelativeRect:BH,getDocumentElement:bs,getClippingRect:DH,getOffsetParent:aC,getElementRects:RH,getClientRects:LH,getDimensions:NH,getScale:gc,isElement:Oo,isRTL:FH},UH=xH,ZH=CH,qH=SH,HH=(e,t,r)=>{const n=new Map,a=r??{},i={...VH,...a.platform,_c:n};return yH(e,t,{...a,platform:i})};function WH(e){return e!=null&&typeof e=="object"&&"$el"in e}function t8(e){if(WH(e)){const t=e.$el;return Vb(t)&&xl(t)==="#comment"?null:t}return e}function _u(e){return typeof e=="function"?e():o.unref(e)}function oC(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function r8(e,t){const r=oC(e);return Math.round(t*r)/r}function GH(e,t,r){r===void 0&&(r={});const n=r.whileElementsMounted,a=o.computed(()=>{var B;return(B=_u(r.open))!=null?B:!0}),i=o.computed(()=>_u(r.middleware)),s=o.computed(()=>{var B;return(B=_u(r.placement))!=null?B:"bottom"}),d=o.computed(()=>{var B;return(B=_u(r.strategy))!=null?B:"absolute"}),l=o.computed(()=>{var B;return(B=_u(r.transform))!=null?B:!0}),c=o.computed(()=>t8(e.value)),f=o.computed(()=>t8(t.value)),p=o.ref(0),u=o.ref(0),h=o.ref(d.value),g=o.ref(s.value),y=o.shallowRef({}),w=o.ref(!1),x=o.computed(()=>{const B={position:h.value,left:"0",top:"0"};if(!f.value)return B;const k=r8(f.value,p.value),M=r8(f.value,u.value);return l.value?{...B,transform:"translate("+k+"px, "+M+"px)",...oC(f.value)>=1.5&&{willChange:"transform"}}:{position:h.value,left:k+"px",top:M+"px"}});let S;function C(){if(c.value==null||f.value==null)return;const B=a.value;HH(c.value,f.value,{middleware:i.value,placement:s.value,strategy:d.value}).then(k=>{p.value=k.x,u.value=k.y,h.value=k.strategy,g.value=k.placement,y.value=k.middlewareData,w.value=B!==!1})}function E(){typeof S=="function"&&(S(),S=void 0)}function _(){if(E(),n===void 0){C();return}if(c.value!=null&&f.value!=null){S=n(c.value,f.value,C);return}}function I(){a.value||(w.value=!1)}return o.watch([i,s,d,a],C,{flush:"sync"}),o.watch([c,f],_,{flush:"sync"}),o.watch(a,I,{flush:"sync"}),o.getCurrentScope()&&o.onScopeDispose(E),{x:o.shallowReadonly(p),y:o.shallowReadonly(u),strategy:o.shallowReadonly(h),placement:o.shallowReadonly(g),middlewareData:o.shallowReadonly(y),isPositioned:o.shallowReadonly(w),floatingStyles:x,update:C}}const XH=["data-bx-popover-id"],YH=["data-origin","data-placement"],KH={class:"popover-frame-inner"},n8=`
75
+ `});n.addEventListener("change",()=>{n.files&&t(Array.from(n.files).filter(a=>a.size<=e.maxSize))}),document.body.append(n),n.click()})}const LZ=o.defineComponent({__name:"BxSpin",props:{size:{default:"medium"}},setup(e){return(t,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["bx-spin",{[`size-${e.size}`]:!0}])},null,2))}}),ps=Je(LZ,[["__scopeId","data-v-1167b242"]]),OZ={key:0,class:"icon-wrapper"},PZ={key:1,class:"label"},MZ=o.defineComponent({__name:"BxButton",props:{size:{default:"medium"},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},tertiary:{type:Boolean,default:!1},quaternary:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},centered:{type:Boolean},active:{type:Boolean,default:!1},tag:{default:"button"},loading:{type:Boolean,default:!1},iconOnly:{type:Boolean,default:!1},iconPosition:{default:"left"},state:{default:"default"},ariaLabel:{}},emits:["click"],setup(e,{emit:t}){const r=e,n=t,a=o.useSlots(),i=o.computed(()=>a.default?a.default():[]),s=o.computed(()=>typeof i.value=="string"?i.value==="":!1),d=o.computed(()=>r.disabled||r.loading);o.computed(()=>!!a.default&&!s.value);function l(c){if(d.value){c.preventDefault(),c.stopPropagation();return}n("click",c)}return(c,f)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.tag),{class:o.normalizeClass(["bx-button",{"has-icon":!!a.icon,circle:e.circle,round:e.round,"has-label":!!a.default&&!s.value,secondary:e.secondary,tertiary:e.tertiary,quaternary:e.quaternary,disabled:e.disabled,["size-"+e.size]:!0,centered:e.centered,active:e.active,loading:e.loading,["icon-position-"+e.iconPosition]:!!a.icon,"icon-only":e.iconOnly,["state-"+e.state]:e.state&&e.state!=="default"}]),disabled:e.tag==="button"&&d.value?!0:void 0,"aria-disabled":e.tag!=="button"&&d.value?"true":void 0,tabindex:e.tag!=="button"&&d.value?-1:void 0,"aria-busy":e.loading?"true":void 0,"aria-label":e.ariaLabel,onClick:l},{default:o.withCtx(()=>[a.icon||e.loading?(o.openBlock(),o.createElementBlock("div",OZ,[e.loading?(o.openBlock(),o.createBlock(ps,{key:0,size:"small"})):o.renderSlot(c.$slots,"icon",{},void 0,!0,1)])):o.createCommentVNode("",!0),a.default?(o.openBlock(),o.createElementBlock("span",PZ,[o.renderSlot(c.$slots,"default",{},void 0,!0)])):o.createCommentVNode("",!0)]),_:3},8,["class","disabled","aria-disabled","tabindex","aria-busy","aria-label"]))}}),yt=Je(MZ,[["__scopeId","data-v-458b2067"]]),TZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Vx=o.defineComponent({name:"AddOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",TZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 112v288"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M400 256H112"},null,-1)]))}}),$Z={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Mb=o.defineComponent({name:"AlertCircleOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",$Z,r[0]||(r[0]=[o.createElementVNode("path",{d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M250.26 166.05L256 288l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 6z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M256 367.91a20 20 0 1 1 20-20a20 20 0 0 1-20 20z",fill:"currentColor"},null,-1)]))}}),DZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Ux=o.defineComponent({name:"AlertOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",DZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M256 80c-8.66 0-16.58 7.36-16 16l8 216a8 8 0 0 0 8 8h0a8 8 0 0 0 8-8l8-216c.58-8.64-7.34-16-16-16z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("circle",{cx:"256",cy:"416",r:"16",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),NZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Z7=o.defineComponent({name:"ArchiveOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",NZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M80 152v256a40.12 40.12 0 0 0 40 40h272a40.12 40.12 0 0 0 40-40V152",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("rect",{x:"48",y:"64",width:"416",height:"80",rx:"28",ry:"28",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 304l-64 64l-64-64"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 345.89V224"},null,-1)]))}}),jZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Tb=o.defineComponent({name:"ArrowBackOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",jZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M120 256h292"},null,-1)]))}}),RZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},n1=o.defineComponent({name:"ArrowRedoOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",RZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M448 256L272 88v96C103.57 184 64 304.77 64 424c48.61-62.24 91.6-96 208-96v96z",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),FZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},q7=o.defineComponent({name:"CalendarOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",FZ,r[0]||(r[0]=[o.createStaticVNode('<rect fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" x="48" y="80" width="416" height="384" rx="48"></rect><circle cx="296" cy="232" r="24" fill="currentColor"></circle><circle cx="376" cy="232" r="24" fill="currentColor"></circle><circle cx="296" cy="312" r="24" fill="currentColor"></circle><circle cx="376" cy="312" r="24" fill="currentColor"></circle><circle cx="136" cy="312" r="24" fill="currentColor"></circle><circle cx="216" cy="312" r="24" fill="currentColor"></circle><circle cx="136" cy="392" r="24" fill="currentColor"></circle><circle cx="216" cy="392" r="24" fill="currentColor"></circle><circle cx="296" cy="392" r="24" fill="currentColor"></circle><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" stroke-linecap="round" d="M128 48v32"></path><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" stroke-linecap="round" d="M384 48v32"></path><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M464 160H48"></path>',13)]))}}),VZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},UZ=o.defineComponent({name:"CaretBackOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",VZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M321.94 98L158.82 237.78a24 24 0 0 0 0 36.44L321.94 414c15.57 13.34 39.62 2.28 39.62-18.22v-279.6c0-20.5-24.05-31.56-39.62-18.18z",fill:"currentColor"},null,-1)]))}}),ZZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},H7=o.defineComponent({name:"CaretForwardOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",ZZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M190.06 414l163.12-139.78a24 24 0 0 0 0-36.44L190.06 98c-15.57-13.34-39.62-2.28-39.62 18.22v279.6c0 20.5 24.05 31.56 39.62 18.18z",fill:"currentColor"},null,-1)]))}}),qZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},HZ=o.defineComponent({name:"CheckmarkCircle",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",qZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48zm108.25 138.29l-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32l122.59-145.91a16 16 0 0 1 24.5 20.58z",fill:"currentColor"},null,-1)]))}}),WZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},$b=o.defineComponent({name:"CheckmarkCircleOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",WZ,r[0]||(r[0]=[o.createElementVNode("path",{d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M352 176L217.6 336L160 272"},null,-1)]))}}),GZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Db=o.defineComponent({name:"CheckmarkOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",GZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M416 128L192 384l-96-96"},null,-1)]))}}),XZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},il=o.defineComponent({name:"ChevronBackOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",XZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M328 112L184 256l144 144"},null,-1)]))}}),YZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Nb=o.defineComponent({name:"ChevronDownOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",YZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M112 184l144 144l144-144"},null,-1)]))}}),KZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Ks=o.defineComponent({name:"ChevronForwardOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",KZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M184 112l144 144l-144 144"},null,-1)]))}}),JZ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},QZ=o.defineComponent({name:"ChevronUpOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",JZ,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M112 328l144-144l144 144"},null,-1)]))}}),eq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Lo=o.defineComponent({name:"CloseOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",eq,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 144L144 368"},null,-1)]))}}),tq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Zx=o.defineComponent({name:"CloudUploadOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",tq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 255.79l-64-64l-64 64"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 448.21V207.79"},null,-1)]))}}),rq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},jb=o.defineComponent({name:"CopyOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",rq,r[0]||(r[0]=[o.createElementVNode("rect",{x:"128",y:"128",width:"336",height:"336",rx:"57",ry:"57",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M383.5 128l.5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),nq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Rb=o.defineComponent({name:"CropOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",nq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M144 48v272a48 48 0 0 0 48 48h272",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M368 304V192a48 48 0 0 0-48-48H208",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368v96"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 144H48"},null,-1)]))}}),aq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},W7=o.defineComponent({name:"DownloadOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",aq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M336 176h40a40 40 0 0 1 40 40v208a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V216a40 40 0 0 1 40-40h40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M176 272l80 80l80-80"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 48v288"},null,-1)]))}}),oq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},qx=o.defineComponent({name:"EllipsisVerticalOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",oq,r[0]||(r[0]=[o.createElementVNode("circle",{cx:"256",cy:"256",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("circle",{cx:"256",cy:"416",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("circle",{cx:"256",cy:"96",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1)]))}}),iq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},sq=o.defineComponent({name:"ExpandOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",iq,r[0]||(r[0]=[o.createStaticVNode('<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M432 320v112H320"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M421.8 421.77L304 304"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M80 192V80h112"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M90.2 90.23L208 208"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M320 80h112v112"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M421.77 90.2L304 208"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M192 432H80V320"></path><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M90.23 421.8L208 304"></path>',8)]))}}),lq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},cq=o.defineComponent({name:"EyedropOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",lq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M262.51 204.22L70 396.69C57.56 409.15 48 464 48 464s54.38-9.09 67.31-22L307.8 249.51",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("rect",{x:"211.72",y:"172.19",width:"192.15",height:"64.05",rx:"32.03",ry:"32.03",transform:"rotate(45 307.788 204.2)",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M289.91 141s20.57 8.57 37.22-8.08l54.67-70.63c18.5-19.41 49.26-18.69 67.94 0h0c18.68 18.68 19.34 48.81 0 67.93l-70.68 54.67c-15.65 15.65-8.08 37.22-8.08 37.22",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M115.31 442s-26.48 17.34-44.56-.73s-.75-44.58-.75-44.58",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),uq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Hx=o.defineComponent({name:"HelpOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",uq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M160 164s1.44-33 33.54-59.46C212.6 88.83 235.49 84.28 256 84c18.73-.23 35.47 2.94 45.48 7.82C318.59 100.2 352 120.6 352 164c0 45.67-29.18 66.37-62.35 89.18S248 298.36 248 324",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"40"},null,-1),o.createElementVNode("circle",{cx:"248",cy:"399.99",r:"32",fill:"currentColor"},null,-1)]))}}),dq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Gi=o.defineComponent({name:"ImageOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",dq,r[0]||(r[0]=[o.createElementVNode("rect",{x:"48",y:"80",width:"416",height:"352",rx:"48",ry:"48",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("circle",{cx:"336",cy:"176",r:"32",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M304 335.79l-90.66-90.49a32 32 0 0 0-43.87-1.3L48 352",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M224 432l123.34-123.34a32 32 0 0 1 43.11-2L464 368",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),fq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},xd=o.defineComponent({name:"InformationCircleOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",fq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184s184-82.39 184-184S349.61 64 248 64z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M220 220h32v116"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M208 340h88"},null,-1),o.createElementVNode("path",{d:"M248 130a26 26 0 1 0 26 26a26 26 0 0 0-26-26z",fill:"currentColor"},null,-1)]))}}),pq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},mq=o.defineComponent({name:"InformationOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",pq,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"40",d:"M196 220h64v172"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"40",d:"M187 396h138"},null,-1),o.createElementVNode("path",{d:"M256 160a32 32 0 1 1 32-32a32 32 0 0 1-32 32z",fill:"currentColor"},null,-1)]))}}),hq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},gq=o.defineComponent({name:"LogOutOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",hq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M304 336v40a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V136a40 40 0 0 1 40-40h152c22.09 0 48 17.91 48 40v40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 336l80-80l-80-80"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M176 256h256"},null,-1)]))}}),vq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},bq=o.defineComponent({name:"LogoFacebook",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",vq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M480 257.35c0-123.7-100.3-224-224-224s-224 100.3-224 224c0 111.8 81.9 204.47 189 221.29V322.12h-56.89v-64.77H221V208c0-56.13 33.45-87.16 84.61-87.16c24.51 0 50.15 4.38 50.15 4.38v55.13H327.5c-27.81 0-36.51 17.26-36.51 35v42h62.12l-9.92 64.77H291v156.54c107.1-16.81 189-109.48 189-221.31z","fill-rule":"evenodd",fill:"currentColor"},null,-1)]))}}),yq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},wq=o.defineComponent({name:"LogoInstagram",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",yq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M349.33 69.33a93.62 93.62 0 0 1 93.34 93.34v186.66a93.62 93.62 0 0 1-93.34 93.34H162.67a93.62 93.62 0 0 1-93.34-93.34V162.67a93.62 93.62 0 0 1 93.34-93.34h186.66m0-37.33H162.67C90.8 32 32 90.8 32 162.67v186.66C32 421.2 90.8 480 162.67 480h186.66C421.2 480 480 421.2 480 349.33V162.67C480 90.8 421.2 32 349.33 32z",fill:"currentColor"},null,-1),o.createElementVNode("path",{d:"M377.33 162.67a28 28 0 1 1 28-28a27.94 27.94 0 0 1-28 28z",fill:"currentColor"},null,-1),o.createElementVNode("path",{d:"M256 181.33A74.67 74.67 0 1 1 181.33 256A74.75 74.75 0 0 1 256 181.33m0-37.33a112 112 0 1 0 112 112a112 112 0 0 0-112-112z",fill:"currentColor"},null,-1)]))}}),xq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Cq=o.defineComponent({name:"LogoLinkedin",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",xq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M444.17 32H70.28C49.85 32 32 46.7 32 66.89v374.72C32 461.91 49.85 480 70.28 480h373.78c20.54 0 35.94-18.21 35.94-38.39V66.89C480.12 46.7 464.6 32 444.17 32zm-273.3 373.43h-64.18V205.88h64.18zM141 175.54h-.46c-20.54 0-33.84-15.29-33.84-34.43c0-19.49 13.65-34.42 34.65-34.42s33.85 14.82 34.31 34.42c-.01 19.14-13.31 34.43-34.66 34.43zm264.43 229.89h-64.18V296.32c0-26.14-9.34-44-32.56-44c-17.74 0-28.24 12-32.91 23.69c-1.75 4.2-2.22 9.92-2.22 15.76v113.66h-64.18V205.88h64.18v27.77c9.34-13.3 23.93-32.44 57.88-32.44c42.13 0 74 27.77 74 87.64z",fill:"currentColor"},null,-1)]))}}),Sq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},kq=o.defineComponent({name:"LogoTwitter",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Sq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M496 109.5a201.8 201.8 0 0 1-56.55 15.3a97.51 97.51 0 0 0 43.33-53.6a197.74 197.74 0 0 1-62.56 23.5A99.14 99.14 0 0 0 348.31 64c-54.42 0-98.46 43.4-98.46 96.9a93.21 93.21 0 0 0 2.54 22.1a280.7 280.7 0 0 1-203-101.3A95.69 95.69 0 0 0 36 130.4c0 33.6 17.53 63.3 44 80.7A97.5 97.5 0 0 1 35.22 199v1.2c0 47 34 86.1 79 95a100.76 100.76 0 0 1-25.94 3.4a94.38 94.38 0 0 1-18.51-1.8c12.51 38.5 48.92 66.5 92.05 67.3A199.59 199.59 0 0 1 39.5 405.6a203 203 0 0 1-23.5-1.4A278.68 278.68 0 0 0 166.74 448c181.36 0 280.44-147.7 280.44-275.8c0-4.2-.11-8.4-.31-12.5A198.48 198.48 0 0 0 496 109.5z",fill:"currentColor"},null,-1)]))}}),_q={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Eq=o.defineComponent({name:"LogoWhatsapp",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",_q,r[0]||(r[0]=[o.createElementVNode("path",{d:"M414.73 97.1A222.14 222.14 0 0 0 256.94 32C134 32 33.92 131.58 33.87 254a220.61 220.61 0 0 0 29.78 111L32 480l118.25-30.87a223.63 223.63 0 0 0 106.6 27h.09c122.93 0 223-99.59 223.06-222A220.18 220.18 0 0 0 414.73 97.1zM256.94 438.66h-.08a185.75 185.75 0 0 1-94.36-25.72l-6.77-4l-70.17 18.32l18.73-68.09l-4.41-7A183.46 183.46 0 0 1 71.53 254c0-101.73 83.21-184.5 185.48-184.5a185 185 0 0 1 185.33 184.64c-.04 101.74-83.21 184.52-185.4 184.52zm101.69-138.19c-5.57-2.78-33-16.2-38.08-18.05s-8.83-2.78-12.54 2.78s-14.4 18-17.65 21.75s-6.5 4.16-12.07 1.38s-23.54-8.63-44.83-27.53c-16.57-14.71-27.75-32.87-31-38.42s-.35-8.56 2.44-11.32c2.51-2.49 5.57-6.48 8.36-9.72s3.72-5.56 5.57-9.26s.93-6.94-.46-9.71s-12.54-30.08-17.18-41.19c-4.53-10.82-9.12-9.35-12.54-9.52c-3.25-.16-7-.2-10.69-.2a20.53 20.53 0 0 0-14.86 6.94c-5.11 5.56-19.51 19-19.51 46.28s20 53.68 22.76 57.38s39.3 59.73 95.21 83.76a323.11 323.11 0 0 0 31.78 11.68c13.35 4.22 25.5 3.63 35.1 2.2c10.71-1.59 33-13.42 37.63-26.38s4.64-24.06 3.25-26.37s-5.11-3.71-10.69-6.48z","fill-rule":"evenodd",fill:"currentColor"},null,-1)]))}}),zq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Iq=o.defineComponent({name:"MailOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",zq,r[0]||(r[0]=[o.createElementVNode("rect",{x:"48",y:"96",width:"416",height:"320",rx:"40",ry:"40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M112 160l144 112l144-112"},null,-1)]))}}),Aq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Bq=o.defineComponent({name:"MapOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Aq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M313.27 124.64L198.73 51.36a32 32 0 0 0-29.28.35L56.51 127.49A16 16 0 0 0 48 141.63v295.8a16 16 0 0 0 23.49 14.14l97.82-63.79a32 32 0 0 1 29.5-.24l111.86 73a32 32 0 0 0 29.27-.11l115.43-75.94a16 16 0 0 0 8.63-14.2V74.57a16 16 0 0 0-23.49-14.14l-98 63.86a32 32 0 0 1-29.24.35z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M328 128v336"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M184 48v336"},null,-1)]))}}),Lq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Oq=o.defineComponent({name:"MenuOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Lq,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 160h352"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 256h352"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 352h352"},null,-1)]))}}),Pq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Mq=o.defineComponent({name:"Pause",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Pq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M208 432h-48a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h48a16 16 0 0 1 16 16v320a16 16 0 0 1-16 16z",fill:"currentColor"},null,-1),o.createElementVNode("path",{d:"M352 432h-48a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h48a16 16 0 0 1 16 16v320a16 16 0 0 1-16 16z",fill:"currentColor"},null,-1)]))}}),Tq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},$q=o.defineComponent({name:"Play",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Tq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M133 440a35.37 35.37 0 0 1-17.5-4.67c-12-6.8-19.46-20-19.46-34.33V111c0-14.37 7.46-27.53 19.46-34.33a35.13 35.13 0 0 1 35.77.45l247.85 148.36a36 36 0 0 1 0 61l-247.89 148.4A35.5 35.5 0 0 1 133 440z",fill:"currentColor"},null,-1)]))}}),Dq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Nq=o.defineComponent({name:"PlayBack",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Dq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M30.71 229.47l188.87-113a30.54 30.54 0 0 1 31.09-.39a33.74 33.74 0 0 1 16.76 29.47v79.05l180.72-108.16a30.54 30.54 0 0 1 31.09-.39A33.74 33.74 0 0 1 496 145.52v221A33.73 33.73 0 0 1 479.24 396a30.54 30.54 0 0 1-31.09-.39L267.43 287.4v79.08A33.73 33.73 0 0 1 250.67 396a30.54 30.54 0 0 1-31.09-.39l-188.87-113a31.27 31.27 0 0 1 0-53z",fill:"currentColor"},null,-1)]))}}),jq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Rq=o.defineComponent({name:"PlayForward",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",jq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M481.29 229.47l-188.87-113a30.54 30.54 0 0 0-31.09-.39a33.74 33.74 0 0 0-16.76 29.47v79.05L63.85 116.44a30.54 30.54 0 0 0-31.09-.39A33.74 33.74 0 0 0 16 145.52v221A33.74 33.74 0 0 0 32.76 396a30.54 30.54 0 0 0 31.09-.39L244.57 287.4v79.08A33.74 33.74 0 0 0 261.33 396a30.54 30.54 0 0 0 31.09-.39l188.87-113a31.27 31.27 0 0 0 0-53z",fill:"currentColor"},null,-1)]))}}),Fq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Vq=o.defineComponent({name:"RemoveOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Fq,r[0]||(r[0]=[o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M400 256H112"},null,-1)]))}}),Uq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Zq=o.defineComponent({name:"SearchOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Uq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),o.createElementVNode("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M338.29 338.29L448 448"},null,-1)]))}}),qq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Hq=o.defineComponent({name:"SettingsOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",qq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M262.29 192.31a64 64 0 1 0 57.4 57.4a64.13 64.13 0 0 0-57.4-57.4zM416.39 256a154.34 154.34 0 0 1-1.53 20.79l45.21 35.46a10.81 10.81 0 0 1 2.45 13.75l-42.77 74a10.81 10.81 0 0 1-13.14 4.59l-44.9-18.08a16.11 16.11 0 0 0-15.17 1.75A164.48 164.48 0 0 1 325 400.8a15.94 15.94 0 0 0-8.82 12.14l-6.73 47.89a11.08 11.08 0 0 1-10.68 9.17h-85.54a11.11 11.11 0 0 1-10.69-8.87l-6.72-47.82a16.07 16.07 0 0 0-9-12.22a155.3 155.3 0 0 1-21.46-12.57a16 16 0 0 0-15.11-1.71l-44.89 18.07a10.81 10.81 0 0 1-13.14-4.58l-42.77-74a10.8 10.8 0 0 1 2.45-13.75l38.21-30a16.05 16.05 0 0 0 6-14.08c-.36-4.17-.58-8.33-.58-12.5s.21-8.27.58-12.35a16 16 0 0 0-6.07-13.94l-38.19-30A10.81 10.81 0 0 1 49.48 186l42.77-74a10.81 10.81 0 0 1 13.14-4.59l44.9 18.08a16.11 16.11 0 0 0 15.17-1.75A164.48 164.48 0 0 1 187 111.2a15.94 15.94 0 0 0 8.82-12.14l6.73-47.89A11.08 11.08 0 0 1 213.23 42h85.54a11.11 11.11 0 0 1 10.69 8.87l6.72 47.82a16.07 16.07 0 0 0 9 12.22a155.3 155.3 0 0 1 21.46 12.57a16 16 0 0 0 15.11 1.71l44.89-18.07a10.81 10.81 0 0 1 13.14 4.58l42.77 74a10.8 10.8 0 0 1-2.45 13.75l-38.21 30a16.05 16.05 0 0 0-6.05 14.08c.33 4.14.55 8.3.55 12.47z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),Wq={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Fb=o.defineComponent({name:"WarningOutline",render:function(t,r){return o.openBlock(),o.createElementBlock("svg",Wq,r[0]||(r[0]=[o.createElementVNode("path",{d:"M85.57 446.25h340.86a32 32 0 0 0 28.17-47.17L284.18 82.58c-12.09-22.44-44.27-22.44-56.36 0L57.4 399.08a32 32 0 0 0 28.17 47.17z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M250.26 195.39l5.74 122l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 5.95z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),o.createElementVNode("path",{d:"M256 397.25a20 20 0 1 1 20-20a20 20 0 0 1-20 20z",fill:"currentColor"},null,-1)]))}}),Gq=o.defineComponent({__name:"BxIcon",props:{size:{}},setup(e){return(t,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["bx-icon",{...typeof e.size=="string"?{["size-"+e.size]:!0}:{}}]),style:o.normalizeStyle({...typeof e.size=="number"?{"--icon-size":`${e.size}px`}:{}})},[o.renderSlot(t.$slots,"default",{},void 0,!0)],6))}}),rt=Je(Gq,[["__scopeId","data-v-74c5df5a"]]),Wx=Symbol.for("bx-popup-header-tools");function Xq(){const e=o.ref(null);return o.provide(Wx,e),e}function Yq(){return o.inject(Wx,o.ref(null))}const Kq={key:0,class:"icon-wrapper"},Jq={class:"title-wrapper"},Qq=["title"],eH={key:1,class:"actions-wrapper"},tH=o.defineComponent({__name:"PopupElement",props:{type:{},title:{},fullscreen:{type:Boolean},closeable:{type:Boolean},transculent:{type:Boolean},customClasses:{},fullLayer:{type:Boolean},draggable:{type:Boolean,default:!0},drawerPlacement:{},drawerWidth:{},drawerHeight:{},capturedContext:{default:()=>({})}},emits:["close"],setup(e,{emit:t}){const r=Xq(),n=o.ref(null);let a;o.onMounted(()=>{const w=n.value;if(!w||typeof ResizeObserver>"u")return;const x=()=>{var S;return(S=w.parentElement)==null?void 0:S.style.setProperty("--bx-popup-header-height",`${Math.ceil(w.getBoundingClientRect().height)}px`)};x(),a=new ResizeObserver(x),a.observe(w)}),o.onUnmounted(()=>a==null?void 0:a.disconnect());const i=e;i.capturedContext&&Object.entries(i.capturedContext).forEach(([w,x])=>{const S=typeof w=="string"&&w.startsWith("Symbol(")?Symbol.for(w.slice(7,-1)):w;o.provide(S,x)});const s=t,d=o.useSlots(),l=o.ref({x:0,y:0}),c=o.ref(!1);let f={x:0,y:0,offsetX:0,offsetY:0};const p=o.computed(()=>i.type!=="frame"||!i.draggable?{}:{transform:`translate(${l.value.x}px, ${l.value.y}px)`,cursor:c.value?"grabbing":"grab",userSelect:c.value?"none":void 0});function u(w){if(i.type!=="frame"||!i.draggable)return;let x=w.target;for(;x;){if(x.classList.contains("popup-no-drag")||x.classList.contains("n-dialog-no-drag"))return;if(x===w.currentTarget)break;x=x.parentElement}c.value=!0,f={x:w.clientX,y:w.clientY,offsetX:l.value.x,offsetY:l.value.y},document.addEventListener("mousemove",h),document.addEventListener("mouseup",g),w.preventDefault()}function h(w){l.value={x:f.offsetX+w.clientX-f.x,y:f.offsetY+w.clientY-f.y}}function g(){c.value=!1,document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",g)}o.onUnmounted(()=>{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",g)});function y(){s("close")}return(w,x)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["popup-element",{["type-"+e.type]:!0,["drawer-"+(e.drawerPlacement??"right")]:e.type==="drawer",...Object.fromEntries(e.customClasses.map(S=>[S,!0])),"full-layer":e.fullLayer}]),style:o.normalizeStyle(e.type==="drawer"?{"--drawer-width":e.drawerWidth??"400px","--drawer-height":e.drawerHeight??"400px"}:{})},[o.createElementVNode("div",{class:o.normalizeClass(["popup-content",{fullscreen:e.fullscreen,transculent:e.transculent}]),style:o.normalizeStyle(p.value),onMousedown:u},[o.createElementVNode("header",{ref_key:"headerRef",ref:n,class:o.normalizeClass({"has-title":!!d.title||e.title,"has-icon":!!d.icon})},[d.icon!==void 0?(o.openBlock(),o.createElementBlock("div",Kq,[o.createVNode(rt,null,{default:o.withCtx(()=>[o.renderSlot(w.$slots,"icon",o.normalizeProps(o.guardReactiveProps({close:y})),void 0,!0)]),_:3})])):o.createCommentVNode("",!0),o.createElementVNode("div",Jq,[d.title!==void 0?o.renderSlot(w.$slots,"title",o.normalizeProps(o.guardReactiveProps({close:y})),void 0,!0,0):e.title?(o.openBlock(),o.createElementBlock("h3",{key:1,title:e.title},o.toDisplayString(e.title),9,Qq)):o.createCommentVNode("",!0)]),d["header-actions"]!==void 0||e.closeable?(o.openBlock(),o.createElementBlock("div",eH,[o.createElementVNode("div",{ref_key:"headerToolsHost",ref:r,class:"header-tools-host"},null,512),d["header-actions"]!==void 0?o.renderSlot(w.$slots,"header-actions",o.normalizeProps(o.guardReactiveProps({close:y})),void 0,!0,0):o.createCommentVNode("",!0),d["close-btn"]?o.renderSlot(w.$slots,"close-btn",o.normalizeProps(o.guardReactiveProps({close:y})),void 0,!0,1):e.closeable?(o.openBlock(),o.createBlock(yt,{key:2,tertiary:"",circle:"",onClick:y,class:"popup-close-btn",style:{padding:"8px"}},{icon:o.withCtx(()=>[o.createVNode(rt,{size:18},{default:o.withCtx(()=>[o.createVNode(o.unref(Lo))]),_:1})]),_:1})):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],2),o.createElementVNode("main",null,[o.renderSlot(w.$slots,"default",o.normalizeProps(o.guardReactiveProps({close:y})),void 0,!0)])],38)],6))}}),Gx=Je(tH,[["__scopeId","data-v-750d20a4"]]),rH={key:0,class:"icon-wrapper"},nH={class:"content-wrapper"},aH={key:0,class:"title-text"},oH={key:1},iH={key:1,class:"message-text"},sH={key:1},lH=o.defineComponent({__name:"MessageElement",props:{type:{},showIcon:{type:Boolean,default:!0},title:{},message:{},closeable:{type:Boolean,default:!0},customClasses:{default:()=>[]},maxWidth:{},capturedContext:{default:()=>({})}},emits:["close"],setup(e,{emit:t}){const r=e,n=o.useSlots(),a=t;return r.capturedContext&&Object.entries(r.capturedContext).forEach(([i,s])=>{const d=typeof i=="string"&&i.startsWith("Symbol(")?Symbol.for(i.slice(7,-1)):i;o.provide(d,s)}),(i,s)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["message-element",[`type-${e.type}`,...e.customClasses]]),style:o.normalizeStyle({maxWidth:e.maxWidth})},[e.showIcon?(o.openBlock(),o.createElementBlock("div",rH,[o.createVNode(rt,null,{default:o.withCtx(()=>[n.icon?o.renderSlot(i.$slots,"icon",{},void 0,!0,0):e.type==="success"?(o.openBlock(),o.createBlock(o.unref($b),{key:1})):e.type==="error"?(o.openBlock(),o.createBlock(o.unref(Mb),{key:2})):e.type==="warning"?(o.openBlock(),o.createBlock(o.unref(Fb),{key:3})):e.type==="info"?(o.openBlock(),o.createBlock(o.unref(xd),{key:4})):o.createCommentVNode("",!0)]),_:3})])):o.createCommentVNode("",!0),o.createElementVNode("div",nH,[n.title||e.title?(o.openBlock(),o.createElementBlock("div",aH,[n.title?o.renderSlot(i.$slots,"title",{},void 0,!0,0):(o.openBlock(),o.createElementBlock("span",oH,o.toDisplayString(e.title),1))])):o.createCommentVNode("",!0),n.message||e.message?(o.openBlock(),o.createElementBlock("div",iH,[n.message?o.renderSlot(i.$slots,"message",{},void 0,!0,0):(o.openBlock(),o.createElementBlock("span",sH,o.toDisplayString(e.message),1))])):o.createCommentVNode("",!0)]),e.closeable?(o.openBlock(),o.createElementBlock("div",{key:1,class:"close-btn",onClick:s[0]||(s[0]=d=>a("close"))},[o.createVNode(rt,{size:14},{default:o.withCtx(()=>[o.createVNode(o.unref(Lo))]),_:1})])):o.createCommentVNode("",!0)],6))}}),cH=Je(lH,[["__scopeId","data-v-37d75e2a"]]);function wl(){const e=o.getCurrentInstance(),t={};if(!e)return t;let r=e.parent;for(;r;){const n=r;n.provides&&Object.assign(t,n.provides),r=r.parent}return t}function a1(e){const t=o.ref(),r=()=>{e.value&&(t.value=e.value.getBoundingClientRect())};o.onMounted(()=>{r(),window.addEventListener("resize",r)});const n=new ResizeObserver(()=>{r()}),a=new MutationObserver(()=>{r()}),i=o.watch(e,(s,d)=>{s&&!d&&(s instanceof Element&&(n.observe(s),a.observe(s,{attributes:!0,childList:!0,subtree:!0})),r())});return o.onBeforeUnmount(()=>{window.removeEventListener("resize",r),i(),n.disconnect(),a.disconnect()}),{rect:t,width:o.computed(()=>{var s;return(s=t.value)==null?void 0:s.width}),height:o.computed(()=>{var s;return(s=t.value)==null?void 0:s.height}),x:o.computed(()=>{var s;return(s=t.value)==null?void 0:s.x}),y:o.computed(()=>{var s;return(s=t.value)==null?void 0:s.y})}}const uH=["top","right","bottom","left"],G7=["start","end"],X7=uH.reduce((e,t)=>e.concat(t,t+"-"+G7[0],t+"-"+G7[1]),[]),Cd=Math.min,rs=Math.max,G1=Math.round,si=e=>({x:e,y:e}),dH={left:"right",right:"left",bottom:"top",top:"bottom"};function fH(e,t,r){return rs(e,Cd(t,r))}function Zp(e,t){return typeof e=="function"?e(t):e}function a0(e){return e.split("-")[0]}function ns(e){return e.split("-")[1]}function Xx(e){return e==="x"?"y":"x"}function Yx(e){return e==="y"?"height":"width"}function qp(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Kx(e){return Xx(qp(e))}function pH(e,t,r){r===void 0&&(r=!1);const n=ns(e),a=Kx(e),i=Yx(a);let s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Y7(s)),[s,Y7(s)]}function mH(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Y7(e){const t=a0(e);return dH[t]+e.slice(t.length)}function hH(e){var t,r,n,a;return{top:(t=e.top)!=null?t:0,right:(r=e.right)!=null?r:0,bottom:(n=e.bottom)!=null?n:0,left:(a=e.left)!=null?a:0}}function gH(e){return typeof e!="number"?hH(e):{top:e,right:e,bottom:e,left:e}}function X1(e){const{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function K7(e,t,r){let{reference:n,floating:a}=e;const i=qp(t),s=Kx(t),d=Yx(s),l=a0(t),c=i==="y",f=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,u=n[d]/2-a[d]/2;let h;switch(l){case"top":h={x:f,y:n.y-a.height};break;case"bottom":h={x:f,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:p};break;case"left":h={x:n.x-a.width,y:p};break;default:h={x:n.x,y:n.y}}const g=ns(t);return g&&(h[s]+=u*(g==="end"?1:-1)*(r&&c?-1:1)),h}async function vH(e,t){var r;t===void 0&&(t={});const{x:n,y:a,platform:i,rects:s,elements:d,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:u=!1,padding:h=0}=Zp(t,e),g=gH(h),w=d[u?p==="floating"?"reference":"floating":p],x=X1(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(w)))==null||r?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:c,rootBoundary:f,strategy:l})),S=p==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),E=await(i.isElement==null?void 0:i.isElement(C))&&await(i.getScale==null?void 0:i.getScale(C))||{x:1,y:1},_=X1(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:S,offsetParent:C,strategy:l}):S);return{top:(x.top-_.top+g.top)/E.y,bottom:(_.bottom-x.bottom+g.bottom)/E.y,left:(x.left-_.left+g.left)/E.x,right:(_.right-x.right+g.right)/E.x}}const bH=50,yH=async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,d=s.detectOverflow?s:{...s,detectOverflow:vH},l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:p}=K7(c,n,l),u=n,h=0;const g={};for(let y=0;y<i.length;y++){const w=i[y];if(!w)continue;const{name:x,fn:S}=w,{x:C,y:E,data:_,reset:I}=await S({x:f,y:p,initialPlacement:n,placement:u,strategy:a,middlewareData:g,rects:c,platform:d,elements:{reference:e,floating:t}});f=C??f,p=E??p,g[x]={...g[x],..._},I&&h<bH&&(h++,typeof I=="object"&&(I.placement&&(u=I.placement),I.rects&&(c=I.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):I.rects),{x:f,y:p}=K7(c,u,l)),y=-1)}return{x:f,y:p,placement:u,strategy:a,middlewareData:g}};function wH(e,t,r){return(e?[...r.filter(a=>ns(a)===e),...r.filter(a=>ns(a)!==e)]:r.filter(a=>a0(a)===a)).filter(a=>e?ns(a)===e||(t?mH(a)!==a:!1):!0)}const xH=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,a;const{rects:i,middlewareData:s,placement:d,platform:l,elements:c}=t,{crossAxis:f=!1,alignment:p,allowedPlacements:u=X7,autoAlignment:h=!0,...g}=Zp(e,t),y=p!==void 0||u===X7?wH(p||null,h,u):u,w=((r=s.autoPlacement)==null?void 0:r.index)||0,x=y[w];if(x==null)return{};if(d!==x)return{reset:{placement:y[0]}};const S=await l.detectOverflow(t,g),C=pH(x,i,await(l.isRTL==null?void 0:l.isRTL(c.floating))),E=[S[a0(x)],S[C[0]],S[C[1]]],_=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:x,overflows:E}],I=y[w+1];if(I)return{data:{index:w+1,overflows:_},reset:{placement:I}};const B=_.map(z=>{const D=ns(z.placement);return[z.placement,D&&f?z.overflows.slice(0,2).reduce((j,m)=>j+m,0):z.overflows[0],z.overflows]}).sort((z,D)=>z[1]-D[1]),M=((a=B.filter(z=>z[2].slice(0,ns(z[0])?2:3).every(D=>D<=0))[0])==null?void 0:a[0])||B[0][0];return M!==d?{data:{index:w+1,overflows:_},reset:{placement:M}}:{}}}},CH=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:d=!1,limiter:l={fn:S=>{let{x:C,y:E}=S;return{x:C,y:E}}},...c}=Zp(e,t),f={x:r,y:n},p=await i.detectOverflow(t,c),u=qp(a),h=Xx(u);let g=f[h],y=f[u];const w=(S,C)=>fH(C+p[S==="y"?"top":"left"],C,C-p[S==="y"?"bottom":"right"]);s&&(g=w(h,g)),d&&(y=w(u,y));const x=l.fn({...t,[h]:g,[u]:y});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[h]:s,[u]:d}}}}}},SH=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:a,elements:i}=t,{apply:s=()=>{},...d}=Zp(e,t),l=await a.detectOverflow(t,d),c=a0(r),f=ns(r),p=qp(r)==="y",{width:u,height:h}=n.floating;let g,y;c==="top"||c==="bottom"?(g=c,y=f===(await(a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(y=c,g=f==="end"?"top":"bottom");const w=h-l.top-l.bottom,x=u-l.left-l.right,S=Cd(h-l[g],w),C=Cd(u-l[y],x),E=t.middlewareData.shift,_=!E;let I=S,B=C;E!=null&&E.enabled.x&&(B=x),E!=null&&E.enabled.y&&(I=w),_&&!f&&(p?B=u-2*rs(l.left,l.right):I=h-2*rs(l.top,l.bottom)),await s({...t,availableWidth:B,availableHeight:I});const k=await a.getDimensions(i.floating);return u!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function Hp(){return typeof window<"u"}function xl(e){return Vb(e)?(e.nodeName||"").toLowerCase():"#document"}function ca(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bs(e){var t;return(t=(Vb(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Vb(e){return Hp()?e instanceof Node||e instanceof ca(e).Node:!1}function Oo(e){return Hp()?e instanceof Element||e instanceof ca(e).Element:!1}function ys(e){return Hp()?e instanceof HTMLElement||e instanceof ca(e).HTMLElement:!1}function J7(e){return!Hp()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ca(e).ShadowRoot}function Wp(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=Po(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&a!=="inline"&&a!=="contents"}function kH(e){return/^(table|td|th)$/.test(xl(e))}function Gp(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const _H=/transform|translate|scale|rotate|perspective|filter/,EH=/paint|layout|strict|content/,Ts=e=>!!e&&e!=="none";let x2;function Ub(e){const t=Oo(e)?Po(e):e;return Ts(t.transform)||Ts(t.translate)||Ts(t.scale)||Ts(t.rotate)||Ts(t.perspective)||!Zb()&&(Ts(t.backdropFilter)||Ts(t.filter))||_H.test(t.willChange||"")||EH.test(t.contain||"")}function zH(e){let t=pl(e);for(;ys(t)&&!Sd(t);){if(Ub(t))return t;if(Gp(t))return null;t=pl(t)}return null}function Zb(){return x2==null&&(x2=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),x2}function Sd(e){return/^(html|body|#document)$/.test(xl(e))}function Po(e){return ca(e).getComputedStyle(e)}function Xp(e){return Oo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function pl(e){if(xl(e)==="html")return e;const t=e.assignedSlot||e.parentNode||J7(e)&&e.host||bs(e);return J7(t)?t.host:t}function Jx(e){const t=pl(e);return Sd(t)?(e.ownerDocument||e).body:ys(t)&&Wp(t)?t:Jx(t)}function Qx(e,t,r){var n;t===void 0&&(t=[]);const a=Jx(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=ca(a);return i?(Ng(s),t.concat(s,s.visualViewport||[],Wp(a)?a:[],[])):t.concat(a,Qx(a,[]))}function Ng(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eC(e){const t=Po(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=ys(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,d=G1(r)!==i||G1(n)!==s;return d&&(r=i,n=s),{width:r,height:n,$:d}}function tC(e){return Oo(e)?e:e.contextElement}function gc(e){const t=tC(e);if(!ys(t))return si(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:i}=eC(t);let s=(i?G1(r.width):r.width)/n,d=(i?G1(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!d||!Number.isFinite(d))&&(d=1),{x:s,y:d}}const IH=si(0);function rC(e){const t=ca(e);return!Zb()||!t.visualViewport?IH:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function AH(e,t,r){return t===void 0&&(t=!1),!!r&&t&&r===ca(e)}function kd(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),i=tC(e);let s=si(1);t&&(n?Oo(n)&&(s=gc(n)):s=gc(e));const d=AH(i,r,n)?rC(i):si(0);let l=(a.left+d.x)/s.x,c=(a.top+d.y)/s.y,f=a.width/s.x,p=a.height/s.y;if(i&&n){const u=ca(i),h=Oo(n)?ca(n):n;let g=u,y=Ng(g);for(;y&&h!==g;){const w=gc(y),x=y.getBoundingClientRect(),S=Po(y),C=x.left+(y.clientLeft+parseFloat(S.paddingLeft))*w.x,E=x.top+(y.clientTop+parseFloat(S.paddingTop))*w.y;l*=w.x,c*=w.y,f*=w.x,p*=w.y,l+=C,c+=E,g=ca(y),y=Ng(g)}}return X1({width:f,height:p,x:l,y:c})}function Yp(e,t){const r=Xp(e).scrollLeft;return t?t.left+r:kd(bs(e)).left+r}function nC(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-Yp(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function BH(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e;const i=a==="fixed",s=bs(n),d=t?Gp(t.floating):!1;if(n===s||d&&i)return r;let l={scrollLeft:0,scrollTop:0},c=si(1);const f=si(0),p=ys(n);if((p||!i)&&((xl(n)!=="body"||Wp(s))&&(l=Xp(n)),p)){const h=kd(n);c=gc(n),f.x=h.x+n.clientLeft,f.y=h.y+n.clientTop}const u=s&&!p&&!i?nC(s,l):si(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+f.x+u.x,y:r.y*c.y-l.scrollTop*c.y+f.y+u.y}}function LH(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function OH(e){const t=Xp(e),r=e.ownerDocument.body,n=rs(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=rs(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let i=-t.scrollLeft+Yp(e);const s=-t.scrollTop;return Po(r).direction==="rtl"&&(i+=rs(e.clientWidth,r.clientWidth)-n),{width:n,height:a,x:i,y:s}}const PH=25;function MH(e,t,r){r===void 0&&(r="viewport");const n=r==="layoutViewport",a=ca(e),i=bs(e),s=a.visualViewport;let d=i.clientWidth,l=i.clientHeight,c=0,f=0;if(s){const u=!Zb()||t==="fixed";n?u||(c=-s.offsetLeft,f=-s.offsetTop):(d=s.width,l=s.height,u&&(c=s.offsetLeft,f=s.offsetTop))}if(Yp(i)<=0){const u=i.ownerDocument,h=u.body,g=getComputedStyle(h),y=u.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,w=Math.abs(i.clientWidth-h.clientWidth-y),x=getComputedStyle(i).scrollbarGutter==="stable both-edges"?w/2:w;x<=PH&&(d-=x)}return{width:d,height:l,x:c,y:f}}function TH(e,t){const r=kd(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=gc(e),s=e.clientWidth*i.x,d=e.clientHeight*i.y,l=a*i.x,c=n*i.y;return{width:s,height:d,x:l,y:c}}function Q7(e,t,r){let n;if(t==="viewport"||t==="layoutViewport")n=MH(e,r,t);else if(t==="document")n=OH(bs(e));else if(Oo(t))n=TH(t,r);else{const a=rC(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return X1(n)}function $H(e,t){const r=t.get(e);if(r)return r;let n=Qx(e,[]).filter(d=>Oo(d)&&xl(d)!=="body"),a=null;const i=Po(e).position==="fixed";let s=i?pl(e):e;for(;Oo(s)&&!Sd(s);){const d=Po(s),l=Ub(s),c=a?a.position:i?"fixed":"";!l&&(c==="fixed"||c==="absolute"&&d.position==="static")?n=n.filter(p=>p!==s):a=d,s=pl(s)}return t.set(e,n),n}function DH(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const s=[...r==="clippingAncestors"?Gp(t)?[]:$H(t,this._c):[].concat(r),n],d=Q7(t,s[0],a);let l=d.top,c=d.right,f=d.bottom,p=d.left;for(let u=1;u<s.length;u++){const h=Q7(t,s[u],a);l=rs(h.top,l),c=Cd(h.right,c),f=Cd(h.bottom,f),p=rs(h.left,p)}return{width:c-p,height:f-l,x:p,y:l}}function NH(e){const{width:t,height:r}=eC(e);return{width:t,height:r}}function jH(e,t,r){const n=ys(t),a=bs(t),i=r==="fixed",s=kd(e,!0,i,t);let d={scrollLeft:0,scrollTop:0};const l=si(0);if((n||!i)&&((xl(t)!=="body"||Wp(a))&&(d=Xp(t)),n)){const u=kd(t,!0,i,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}!n&&a&&(l.x=Yp(a));const c=a&&!n&&!i?nC(a,d):si(0),f=s.left+d.scrollLeft-l.x-c.x,p=s.top+d.scrollTop-l.y-c.y;return{x:f,y:p,width:s.width,height:s.height}}function C2(e){return Po(e).position==="static"}function e8(e,t){if(!ys(e)||Po(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return bs(e)===r&&(r=r.ownerDocument.body),r}function aC(e,t){const r=ca(e);if(Gp(e))return r;if(!ys(e)){let a=pl(e);for(;a&&!Sd(a);){if(Oo(a)&&!C2(a))return a;a=pl(a)}return r}let n=e8(e,t);for(;n&&kH(n)&&C2(n);)n=e8(n,t);return n&&Sd(n)&&C2(n)&&!Ub(n)?r:n||zH(e)||r}const RH=async function(e){const t=this.getOffsetParent||aC,r=this.getDimensions,n=await r(e.floating);return{reference:jH(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function FH(e){return Po(e).direction==="rtl"}const VH={convertOffsetParentRelativeRectToViewportRelativeRect:BH,getDocumentElement:bs,getClippingRect:DH,getOffsetParent:aC,getElementRects:RH,getClientRects:LH,getDimensions:NH,getScale:gc,isElement:Oo,isRTL:FH},UH=xH,ZH=CH,qH=SH,HH=(e,t,r)=>{const n=new Map,a=r??{},i={...VH,...a.platform,_c:n};return yH(e,t,{...a,platform:i})};function WH(e){return e!=null&&typeof e=="object"&&"$el"in e}function t8(e){if(WH(e)){const t=e.$el;return Vb(t)&&xl(t)==="#comment"?null:t}return e}function _u(e){return typeof e=="function"?e():o.unref(e)}function oC(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function r8(e,t){const r=oC(e);return Math.round(t*r)/r}function GH(e,t,r){r===void 0&&(r={});const n=r.whileElementsMounted,a=o.computed(()=>{var B;return(B=_u(r.open))!=null?B:!0}),i=o.computed(()=>_u(r.middleware)),s=o.computed(()=>{var B;return(B=_u(r.placement))!=null?B:"bottom"}),d=o.computed(()=>{var B;return(B=_u(r.strategy))!=null?B:"absolute"}),l=o.computed(()=>{var B;return(B=_u(r.transform))!=null?B:!0}),c=o.computed(()=>t8(e.value)),f=o.computed(()=>t8(t.value)),p=o.ref(0),u=o.ref(0),h=o.ref(d.value),g=o.ref(s.value),y=o.shallowRef({}),w=o.ref(!1),x=o.computed(()=>{const B={position:h.value,left:"0",top:"0"};if(!f.value)return B;const k=r8(f.value,p.value),M=r8(f.value,u.value);return l.value?{...B,transform:"translate("+k+"px, "+M+"px)",...oC(f.value)>=1.5&&{willChange:"transform"}}:{position:h.value,left:k+"px",top:M+"px"}});let S;function C(){if(c.value==null||f.value==null)return;const B=a.value;HH(c.value,f.value,{middleware:i.value,placement:s.value,strategy:d.value}).then(k=>{p.value=k.x,u.value=k.y,h.value=k.strategy,g.value=k.placement,y.value=k.middlewareData,w.value=B!==!1})}function E(){typeof S=="function"&&(S(),S=void 0)}function _(){if(E(),n===void 0){C();return}if(c.value!=null&&f.value!=null){S=n(c.value,f.value,C);return}}function I(){a.value||(w.value=!1)}return o.watch([i,s,d,a],C,{flush:"sync"}),o.watch([c,f],_,{flush:"sync"}),o.watch(a,I,{flush:"sync"}),o.getCurrentScope()&&o.onScopeDispose(E),{x:o.shallowReadonly(p),y:o.shallowReadonly(u),strategy:o.shallowReadonly(h),placement:o.shallowReadonly(g),middlewareData:o.shallowReadonly(y),isPositioned:o.shallowReadonly(w),floatingStyles:x,update:C}}const XH=["data-bx-popover-id"],YH=["data-origin","data-placement"],KH={class:"popover-frame-inner"},n8=`
76
76
  <g transform="matrix(-1,0,-0,-1,539.059,810)">
77
77
  <path d="M11.046,422.072C-6.191,410.25 -0.941,397.5 11.046,387.928L539.059,0L539.059,810L11.046,422.072Z"/>
78
78
  </g>
@@ -2161,4 +2161,4 @@ https://github.com/highlightjs/highlight.js/issues/2277`),R=Z,$=L),O===void 0&&(
2161
2161
  `?n.push([]):n[n.length-1].push(f);for(const c of l.slice(1))n.push(c)}return n.filter(i=>i.length>0)}function js(e,t,r){return e.map(({text:n,format:a},i)=>{const s=e.slice(0,i).reduce((l,{text:c})=>l+c.length,0),d=s+n.length;return{text:t<d&&s<r?n.slice(Math.max(t-s,0),r-s):"",format:a}}).filter(({text:n})=>n.length>0)}function Xf(e){return e.reduce((t,{text:r})=>t+r.length,0)}function cge(e,t,r,n){const a=o.ref(t.value),i=o.ref(t.value);o.watch(t,()=>{vn(a.value,t.value)||(a.value=t.value,s.value=Zr())});const s=o.ref(Zr()),d=sge(e),l=!0,c=g=>{if(e.value){const y=JE(e.value,{},l),x=y.reduce((B,k)=>{const M=KE(k);return[...B,...M]},[]).filter((B,k)=>[].concat(...y.slice(k)).length>0),S=r.maxLengthPerLine??1/0,C=r.maxLength??1/0,E=r.maxLines??1/0;let _=0;i.value=x.map((B,k)=>{if(B.length===1&&B[0].text==="")return B;const M=js(B,0,S),z=Xf(M);_+=z;const D=_+k,j=k>=E?0:Math.min(z-Math.max(D-C,0),S);return[...js(B,0,j),...js(B,j,1/0).map(m=>({text:m.text,format:{...m.format,lineOverflow:!0}}))]});const I=i.value.map(B=>B.filter(k=>!k.format.lineOverflow));a.value=I}};function f(g,y){return{start:g+Math.min(0,y),length:Math.abs(y)}}const p=(g,y,w,x)=>{const S=y+w;return ms(g.map((C,E)=>{const _=E+g.slice(0,E).map(Xf).reduce((k,M)=>k+M,0),I=Xf(C),B=js(C,y-_,S-_).map(({text:k})=>k).join("");return _+I>=y&&_<S?[...js(C,0,y-_),{text:B,format:x},...js(C,S-_,1/0)]:C})).map(C=>{const E=[];for(let _=0;_<C.length;_++){const I=C[_],B=C[_-1];B&&vn(I.format,B.format)?E[E.length-1].text+=I.text:E.push(I)}return E})};return{selection:d,paragraphs:a,visibleParagraphs:i,manipulationState:s,handleInputEvent:c,applyFormat:(g,y,w,x=!0)=>{const{start:S,length:C}=f(g,y);a.value=p(a.value,S,C,w),i.value=p(i.value,S,C,w),s.value=Zr(),o.nextTick(()=>{e.value&&x&&dge(e.value,S,C)})},resolveFeatures:(g,y)=>{const w=g+y;return a.value.map((x,S)=>{const C=S+a.value.slice(0,S).map(Xf).reduce((E,_)=>E+_,0);return js(x,g-C,w-C)})}}}function uge(e,t){var i;const r=document.createTreeWalker(t);let n=r.nextNode(),a=0;for(;n;){if(n===e)return a;n.nodeType===Node.TEXT_NODE?a+=((i=n.textContent)==null?void 0:i.length)??0:n.nodeType===Node.ELEMENT_NODE&&n.tagName.toLowerCase()==="br"&&(a+=1),n=r.nextNode()}return null}function dge(e,t,r){var c;const n=t+r,a=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null);let i=[],s=a.nextNode();for(;s;){const f=((c=s.textContent)==null?void 0:c.length)??0;if(f>0){const p=uge(s,e);if(p!==null&&p<n&&p+f>t){const u=Math.max(0,t-p),h=Math.min(Math.max(0,n-p),p+f);i.push({node:s,start:u,end:h})}}s=a.nextNode()}const d=document.createRange();for(let f=0;f<i.length;f++){const{node:p,start:u,end:h}=i[f];f===0&&d.setStart(p,u),f===i.length-1&&d.setEnd(p,h)}const l=window.getSelection();l&&(l.removeAllRanges(),l.addRange(d),e.focus())}const fge=["contenteditable","data-ghost"],pge=["data-paragraph"],mge=o.defineComponent({__name:"RichTextDisplay",props:{paragraphs:{},noLazy:{type:Boolean},ghost:{type:Boolean},debug:{type:Boolean}},emits:["update","focus","blur"],setup(e,{expose:t,emit:r}){const n=e,a=r,i=o.ref(),s=o.ref(n.paragraphs);o.watch(()=>n.paragraphs,()=>{n.noLazy&&(s.value=n.paragraphs)},{deep:!0}),o.watchEffect(()=>{n.debug&&console.log("lazyParagraphs",s.value)});const d=p=>{a("update",p)},l=p=>{a("focus",p)},c=p=>{a("blur",p)};Zr();const f=p=>{const u=Object.fromEntries(Object.entries(typeof p=="object"&&p!==null?p:{}).filter(([,y])=>y!==void 0)),h=`rich-text-${Up(u)}`;let g=document.querySelector(`[data-rich-text-global-style='${h}']`);return g||(g=document.createElement("style"),g.lang="css",g.setAttribute("data-rich-text-global-style",h),document.head.appendChild(g)),g.innerHTML=`.${h} { ${Object.entries(u).map(([y,w])=>`${y}: ${w};`).join(" ")} }`,h};return t({richTextEditorDivRef:i}),(p,u)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"richTextEditorDivRef",ref:i,class:o.normalizeClass(["rich-text-editor",{ghost:e.ghost}]),contenteditable:!e.ghost,onInput:d,onFocus:l,onBlur:c,"data-ghost":e.ghost},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.value,(h,g)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:g},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h,(y,w)=>o.renderSlot(p.$slots,"feature",{key:w,text:y.text,format:y.format,cssclass:f},void 0,!0)),128)),g<s.value.length-1?(o.openBlock(),o.createElementBlock("br",{key:0,"data-custom-br":"true","data-paragraph":JSON.stringify(h)},null,8,pge)):o.createCommentVNode("",!0)],64))),128))],42,fge))}}),L9=Je(mge,[["__scopeId","data-v-88776d3a"]]),hge={class:"rich-text-wrapper"},gge=["data-feature-format"],vge=["data-feature-format"],bge=o.defineComponent({__name:"RichText",props:{value:{},selection:{},userAgentRichText:{type:Boolean},renderFeatureInlineStyle:{},maxLength:{},maxLengthPerLine:{},maxLines:{},multiline:{type:Boolean,default:!0}},emits:["update:value","update:visible-value","update:selection","update:warning-message","update:focus"],setup(e,{expose:t,emit:r}){const n=e,a=r;o.computed(()=>!n.multiline);const i=o.ref(),s=o.ref(),d=o.computed(()=>{var _;return(_=i.value)==null?void 0:_.richTextEditorDivRef}),{handleInputEvent:l,paragraphs:c,visibleParagraphs:f,manipulationState:p,applyFormat:u,resolveFeatures:h,selection:g}=cge(d,o.toRef(n,"value"),{maxLength:n.maxLength,maxLengthPerLine:n.maxLengthPerLine,maxLines:n.maxLines}),y=_=>{n.multiline||_.key==="Enter"&&_.preventDefault()},w=o.computed(()=>vn(c.value,f.value)?void 0:"Text is too long");o.watchEffect(()=>{a("update:warning-message",w.value)});const x=o.ref(!1);o.watch(x,()=>{a("update:focus",x.value)},{immediate:!0});const S=()=>{x.value=!0},C=()=>{x.value=!1};o.watch(d,(_,I)=>{I&&(I.removeEventListener("focus",S),I.removeEventListener("blur",C)),_&&(_.addEventListener("focus",S),_.addEventListener("blur",C))}),o.watch(g,()=>{vn(g.value,n.selection)||a("update:selection",g.value??void 0)}),o.watch(c,()=>{vn(c.value,n.value)||a("update:value",c.value)}),o.watch(f,()=>{a("update:visible-value",f.value)}),window.addEventListener("touchmove",_=>{g.value&&_.preventDefault()});let E;return o.onMounted(()=>{var I;if(!((I=s.value)!=null&&I.richTextEditorDivRef))return;const _=(B,k)=>{var M,z;(M=i.value)==null||M.richTextEditorDivRef,(z=s.value)==null||z.richTextEditorDivRef;for(const D of B);};E=new MutationObserver(_),E.observe(s.value.richTextEditorDivRef,{attributes:!0,childList:!0,subtree:!0})}),o.onUnmounted(()=>{E.disconnect()}),t({applyFormat:u,resolveFeatures:h}),(_,I)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["rich-text",{focus:x.value}])},[o.createElementVNode("div",hge,[o.createVNode(L9,{ref_key:"richTextDisplayGhostInstance",ref:s,paragraphs:o.unref(f),"no-lazy":"",ghost:"",debug:!1},{feature:o.withCtx(B=>[o.createElementVNode("span",{"data-feature-format":JSON.stringify(B.format),class:o.normalizeClass(["feature-wrapper feature-wrapper-ghost",{[B.cssclass(e.renderFeatureInlineStyle(B.format))]:!0,"line-overflow":!!B.format.lineOverflow,overflow:!!B.format.overflow}])},o.toDisplayString(B.text),11,gge)]),_:1},8,["paragraphs"]),(o.openBlock(),o.createBlock(L9,{ref_key:"richTextDisplayInstance",ref:i,key:o.unref(p),paragraphs:o.unref(c),onUpdate:o.unref(l),onKeydown:y,style:o.normalizeStyle({"-webkit-user-modify":e.userAgentRichText?"read-write":"read-write-plaintext-only"})},{feature:o.withCtx(B=>[o.createElementVNode("span",{"data-feature-format":JSON.stringify(B.format),class:o.normalizeClass(["feature-wrapper",{[B.cssclass(e.renderFeatureInlineStyle(B.format))]:!0}])},o.toDisplayString(B.text),11,vge)]),_:1},8,["paragraphs","onUpdate","style"]))])],2))}}),yge=Je(bge,[["__scopeId","data-v-53250444"]]);function QE(e){var t;return(((t=e.canvases)==null?void 0:t.length)??0)>=2}function nb(e){const t=new Map;for(const a in e){const i=e[a];if(!i)continue;const s=QE(i)?a:i.name;t.has(s)||t.set(s,{}),t.get(s)[a]=i}const r=(a,i)=>{var s;return((s=Object.values(a)[0])==null?void 0:s.name)??i},n=Array.from(t.entries()).sort(([a,i],[s,d])=>r(i,a).toLowerCase().localeCompare(r(d,s).toLowerCase()));return Object.fromEntries(n)}const ez="Other";function tz(e,t,r){const n=t??[],a=new Set((r??[]).flatMap(f=>f.items)),i=f=>{const p={};for(const u in e)e[u]&&f(u)&&(p[u]=e[u]);return p},s=(f,p)=>f.title.toLowerCase().localeCompare(p.title.toLowerCase()),d=(r??[]).map(f=>({category:f.label,templatesByName:nb(i(p=>f.items.includes(p))),assets:n.filter(p=>f.items.includes(p.id)).sort(s)})),l=i(f=>!a.has(f)),c=n.filter(f=>!a.has(f.id)).sort(s);return(Object.keys(l).length>0||c.length>0)&&d.push({category:ez,templatesByName:nb(l),assets:c}),d.filter(f=>Object.keys(f.templatesByName).length>0||f.assets.length>0)}function wge(e,t,r){return tz(e,t,r).map(n=>n.category)}function rz(e,t){let r=[0,1],n=[1,0];for(;;){const a=[r[0]+n[0],r[1]+n[1]];if(e*a[1]>a[0]){if(t<a[1])return n;r=a}else{if(e*a[1]==a[0])return t>=a[1]?a:r[1]<n[1]?r:n;if(t<a[1])return r;n=a}}}const nz=(e,t)=>{const r=rz(e/t,50);return`${r[0]}:${r[1]}`};function xge(e){const t=e.meta.width,r=e.meta.height,n=YE(t,r,300);return n?n.level:nz(t,r)}const Cge={class:"viewer-header-tools"},Sge=["aria-pressed"],kge=["disabled"],_ge={class:"page-label"},Ege=["disabled"],zge=["aria-label"],Ige={key:0,class:"page-rail","aria-label":"Pages"},Age=["aria-current","aria-label","onClick"],Bge={class:"rail-number"},Lge=["src"],Oge=["src","alt"],Pge=["src","poster"],Mge={key:4,class:"audio-player"},Tge={class:"transport"},$ge=["aria-label"],Dge={viewBox:"0 0 24 24",width:"22",height:"22","aria-hidden":"true"},Nge={key:0,x:"6",y:"5",width:"4",height:"14",rx:"1.5",fill:"currentColor"},jge={key:1,x:"14",y:"5",width:"4",height:"14",rx:"1.5",fill:"currentColor"},Rge={key:2,d:"M8 5.5v13l11-6.5z",fill:"currentColor"},Fge={class:"time"},Vge={class:"time total"},Uge=["src"],Zge={key:5,class:"sheet-view"},qge={key:0,class:"text-status"},Hge={key:0,class:"doc-toolbar"},Wge={class:"sheet-scroll"},Gge={class:"sheet-table"},Xge={class:"row-number"},Yge={key:1,class:"text-status"},Kge={key:2,class:"text-status"},Jge={key:6,class:"email-view"},Qge={key:0,class:"text-status"},eve={class:"email-headers"},tve={key:0},rve={key:1},nve={key:0,class:"email-attachments"},ave={class:"attachment-label"},ove=["innerHTML"],ive={key:2,class:"text-status"},sve={key:7,class:"markdown-view"},lve={key:0,class:"text-status"},cve=["innerHTML"],uve={key:2,class:"text-status"},dve={key:8,class:"text-view"},fve={key:0,class:"text-status"},pve={class:"text-body"},mve={key:0,class:"text-status"},hve={key:2,class:"text-status"},gve={key:0,class:"font-error"},vve={class:"specimen-controls"},bve={class:"specimen-scale"},yve={class:"scale-label"},wve={key:2,class:"font-loading"},xve=["src","alt"],Cve={key:11,class:"no-preview"},Sve={class:"ext-badge"},kve={class:"name"},_ve={key:12,class:"rendering","aria-live":"polite"},Eve={key:1,class:"description"},zve=3,Ive=2,ig=512*1024,Ql=500,Ave=o.defineComponent({__name:"AssetViewer",props:{asset:{},renderPage:{type:Function},getPageCount:{type:Function}},emits:["close","download"],setup(e,{emit:t}){const r=e,n=t,a=/pdf|postscript|illustrator|photoshop|eps|psd/,i=/csv|tab-separated|spreadsheet|ms-excel/,s=/font|opentype|truetype|woff/,d=o.computed(()=>{const De=r.asset.mime;return r.asset.kind==="image"?"image":De.startsWith("video/")?"video":De.startsWith("audio/")?"audio":s.test(De)?"font":i.test(De)||/\.(csv|tsv|xlsx?|ods)$/i.test(r.asset.filename)?"sheet":De==="message/rfc822"||/\.eml$/i.test(r.asset.filename)?"email":De==="text/markdown"||/\.mdx?$/i.test(r.asset.filename)?"markdown":De.startsWith("text/")||De==="application/json"?"text":r.renderPage&&(r.asset.documentUrl||a.test(De))?"page":"none"}),l=o.computed(()=>r.asset.downloadUrl.replace(/\/download(?=$|\?)/,"/preview")),c=o.ref(),f=o.ref(),p=o.ref(),u=o.ref(!1),h=o.ref();async function g(){if(!(d.value!=="text"&&d.value!=="markdown"||p.value!==void 0)){h.value=void 0;try{const De=await fetch(l.value,{credentials:"omit"});if(!De.ok)throw new Error(`Could not load the file (${De.status})`);const Ze=await De.arrayBuffer();u.value=Ze.byteLength>ig,p.value=new TextDecoder("utf-8",{fatal:!1}).decode(Ze.slice(0,ig)),bt.value=!0,d.value==="markdown"&&await R(p.value)}catch(De){console.warn("[AssetViewer] text could not be loaded",De),h.value="This file could not be loaded for preview. You can still download it."}}}const y=o.ref([]),w=o.ref([]),x=o.ref(""),S=o.ref(!1),C=o.ref();let E;function _(De){return De!==""&&!Number.isNaN(Number(De.replace(",",".")))}function I(De,Ze){const tt=[];let gt=[],jt="",T=!1;for(let te=0;te<De.length;te++){const de=De[te];if(T){de==='"'?De[te+1]==='"'?(jt+='"',te++):T=!1:jt+=de;continue}if(de==='"')T=!0;else if(de===Ze)gt.push(jt),jt="";else if(de===`
2162
2162
  `){if(gt.push(jt),tt.push(gt),gt=[],jt="",tt.length>Ql)break}else de!=="\r"&&(jt+=de)}return(jt!==""||gt.length)&&(gt.push(jt),tt.push(gt)),tt}function B(De){const Ze=De.slice(0,4096);return[",",";"," ","|"].map(tt=>({d:tt,count:(Ze.match(new RegExp(`\\${tt===" "?"t":tt}`,"g"))??[]).length})).sort((tt,gt)=>gt.count-tt.count)[0].d}function k(De){if(De){if(x.value=De,!E)return;M(De)}}async function M(De){const Ze=await Promise.resolve().then(()=>require("./xlsx-qn1xoUuv.cjs")),tt=E.Sheets[De],gt=Ze.utils.sheet_to_json(tt,{header:1,raw:!1,defval:""});S.value=gt.length>Ql,y.value=gt.slice(0,Ql).map(jt=>jt.map(T=>String(T??"")))}async function z(){if(!(d.value!=="sheet"||y.value.length||C.value))try{const De=await fetch(l.value,{credentials:"omit"});if(!De.ok)throw new Error(`Could not load the file (${De.status})`);const Ze=await De.arrayBuffer();if(/sheet|ms-excel/.test(r.asset.mime)||/\.(xlsx?|ods)$/i.test(r.asset.filename))E=(await Promise.resolve().then(()=>require("./xlsx-qn1xoUuv.cjs"))).read(Ze,{type:"array"}),w.value=E.SheetNames,x.value=w.value[0]??"",x.value&&await M(x.value);else{const gt=new TextDecoder("utf-8",{fatal:!1}).decode(Ze),jt=I(gt,B(gt));S.value=jt.length>Ql,y.value=jt.slice(0,Ql)}bt.value=!0}catch(De){console.warn("[AssetViewer] spreadsheet could not be loaded",De),C.value="This file could not be opened as a table. You can still download it."}}const D=o.ref(),j=o.ref(),m=o.computed(()=>{var De,Ze,tt,gt,jt;return[{label:"From",value:(De=D.value)==null?void 0:De.from},{label:"To",value:(Ze=D.value)==null?void 0:Ze.to},{label:"Cc",value:(tt=D.value)==null?void 0:tt.cc},{label:"Subject",value:(gt=D.value)==null?void 0:gt.subject},{label:"Date",value:(jt=D.value)==null?void 0:jt.date}]});function W(De){return De.replace(/[&<>"']/g,Ze=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"})[Ze])}async function q(){if(!(d.value!=="email"||D.value||j.value))try{const De=await fetch(l.value,{credentials:"omit"});if(!De.ok)throw new Error(`Could not load the file (${De.status})`);const{default:Ze}=await Promise.resolve().then(()=>require("./postal-mime-_7WF5UBe.cjs")),tt=await new Ze().parse(await De.arrayBuffer()),gt=T=>(T??[]).map(te=>te.name?`${te.name} <${te.address??""}>`:te.address??"").join(", "),jt=tt.text??Z(tt.html??"");D.value={from:tt.from?gt([tt.from]):"",to:gt(tt.to),cc:gt(tt.cc),subject:tt.subject??"",date:tt.date??"",bodyHtml:`<pre>${W(jt)}</pre>`,attachments:(tt.attachments??[]).map(T=>T.filename??"attachment")},bt.value=!0}catch(De){console.warn("[AssetViewer] email could not be parsed",De),j.value="This email could not be opened. You can still download it."}}function Z(De){var tt;const Ze=new DOMParser().parseFromString(De,"text/html");return Ze.querySelectorAll("script,style,head").forEach(gt=>gt.remove()),(((tt=Ze.body)==null?void 0:tt.textContent)??"").replace(/\n{3,}/g,`
2163
2163
 
2164
- `).trim()}const L=o.ref(!1),O=o.ref(""),$=o.ref(!1);async function R(De){try{const{default:Ze}=await Promise.resolve().then(()=>require("./markdown-it-D-2rX95W.cjs"));O.value=new Ze({html:!1,linkify:!0,breaks:!1}).render(De)}catch(Ze){console.warn("[AssetViewer] markdown could not be rendered",Ze),L.value=!0}}const H=o.computed(()=>w.value.map(De=>({name:De,label:De}))),Y=o.computed(()=>d.value==="markdown"||d.value==="page"&&pt.value>1),re=Yq(),J=[{name:"preview",label:"Preview"},{name:"source",label:"Source"}],le=o.computed({get:()=>L.value?"source":"preview",set:De=>L.value=De==="source"});async function ce(De){try{await navigator.clipboard.writeText(De),$.value=!0,setTimeout(()=>$.value=!1,1600)}catch(Ze){console.warn("[AssetViewer] clipboard write failed",Ze)}}const he=o.ref(""),K=o.ref(64),P=o.ref(!1),N=o.ref(),U=o.computed(()=>`bx-asset-font-${r.asset.id.replace(/[^a-zA-Z0-9_-]/g,"")}`);let ae;async function ie(){if(!(d.value!=="font"||ae)){N.value=void 0;try{const De=await fetch(l.value,{credentials:"omit"});if(!De.ok)throw new Error(`Could not load the font (${De.status})`);const Ze=new FontFace(U.value,await De.arrayBuffer());await Ze.load(),document.fonts.add(Ze),ae=Ze,P.value=!0,bt.value=!0}catch(De){console.warn("[AssetViewer] font could not be loaded",De),N.value="This font could not be loaded for preview. You can still download it."}}}function oe(){ae&&(document.fonts.delete(ae),ae=void 0,P.value=!1)}const pe=o.ref(),Oe=o.ref(),Se=o.ref(!1),be=o.ref(0),Ne=o.ref(0);let Ue,$e,Fe,me=[];function Ae(){var De;be.value=((De=pe.value)==null?void 0:De.duration)??0}function Xe(){Se.value=!0,Ie(),ue()}function Ie(){if(!($e||!pe.value))try{const De=window.AudioContext??window.webkitAudioContext;if(!De)return;Ue=new De;const Ze=Ue.createMediaElementSource(pe.value);$e=Ue.createAnalyser(),$e.fftSize=512,Ze.connect($e),$e.connect(Ue.destination)}catch(De){console.warn("[AssetViewer] live waveform unavailable",De),$e=void 0}}function ue(){const De=Oe.value;if(!De)return;const Ze=De.getContext("2d");if(!Ze)return;const tt=()=>{const{clientWidth:gt,clientHeight:jt}=De,T=Math.min(window.devicePixelRatio||1,2);(De.width!==gt*T||De.height!==jt*T)&&(De.width=gt*T,De.height=jt*T),Ze.setTransform(T,0,0,T,0,0),Ze.clearRect(0,0,gt,jt);const te=10,ze=te-4,ot=Math.max(8,Math.floor(gt/te)),tr=jt/2,er=be.value?Ne.value/be.value:0;let Ma;if($e){const or=new Uint8Array($e.frequencyBinCount);$e.getByteTimeDomainData(or);const Cn=Math.floor(or.length/ot);Ma=Array.from({length:ot},(Sn,gi)=>{let Ta=0;for(let vi=0;vi<Cn;vi++)Ta=Math.max(Ta,Math.abs(or[gi*Cn+vi]-128)/128);return Ta})}else{const or=Date.now()/240;Ma=Array.from({length:ot},(Cn,Sn)=>.12+.1*Math.abs(Math.sin(or+Sn/5)))}me.length!==ot&&(me=new Array(ot).fill(0));for(let or=0;or<ot;or++){const Cn=Ma[or],Sn=Cn>me[or]?.55:.12;me[or]+=(Cn-me[or])*Sn}for(let or=0;or<ot;or++){const Cn=Math.min(1,me[or]**.7),Sn=Math.max(ze,Cn*jt*.86+ze),gi=or*te;Ze.fillStyle=or/ot<=er?"rgba(255, 255, 255, 0.95)":"rgba(255, 255, 255, 0.22)",Ze.beginPath(),Ze.roundRect(gi,tr-Sn/2,ze,Sn,ze/2),Ze.fill()}Se.value?Fe=requestAnimationFrame(tt):Fe=void 0};Fe===void 0&&(Fe=requestAnimationFrame(tt))}function Ce(De){const Ze=pe.value;!Ze||!Number.isFinite(De)||(Ze.currentTime=De,Ne.value=De)}function Ye(){const De=pe.value;De&&(De.paused?De.play().catch(()=>{}):De.pause())}function Qe(De){if(!Number.isFinite(De)||De<0)return"0:00";const Ze=Math.floor(De);return`${Math.floor(Ze/60)}:${String(Ze%60).padStart(2,"0")}`}const et=o.ref();function ct(De){const Ze=De.target;Ze.naturalWidth&&Ze.naturalHeight&&(et.value=Ze.naturalWidth/Ze.naturalHeight),bt.value=!0}const bt=o.ref(!1),ke=o.ref(!1),Me=o.ref(!1),We=o.ref(1),pt=o.ref(r.asset.pageCount??1),Et=o.computed(()=>((r.asset.filename.includes(".")?r.asset.filename.split(".").pop():void 0)??r.asset.mime.split("/").pop()??"file").toUpperCase().slice(0,5));o.computed(()=>{const De=r.asset.size;if(!De)return"—";if(De<1024)return`${De} B`;const Ze=["KB","MB","GB"];let tt=De/1024,gt=0;for(;tt>=1024&&gt<Ze.length-1;)tt/=1024,gt++;return`${tt<10?tt.toFixed(1):Math.round(tt)} ${Ze[gt]}`});const Jt=o.ref(!1);function Qt(){Jt.value=typeof window<"u"&&window.innerWidth<768}let Xt;const dr=new Map;let ar=0,Ir=!1;async function ln(){if(Xt)return Xt;const De=r.asset.documentUrl??l.value,Ze=await fetch(De,{credentials:"omit"});if(!Ze.ok)throw new Error(`Could not load file (${Ze.status})`);return Xt=await Ze.arrayBuffer(),Xt}async function wn(De){if(d.value!=="page")return;const Ze=++ar;ke.value=!0,Me.value=!1;try{const tt=await ln();if(Ir||Ze!==ar)return;if(!r.asset.pageCount&&r.getPageCount)try{pt.value=await r.getPageCount(tt)}catch{}if(Ir||Ze!==ar)return;const gt=f.value;if(!gt)return;const jt=Math.min(typeof window<"u"&&window.devicePixelRatio||1,Ive);if(await r.renderPage(tt,gt,{page:De,dpi:96*jt}),Ir||Ze!==ar)return;if(gt.width&&gt.height&&(et.value=gt.width/gt.height),bt.value=!0,dr.set(De,gt),dr.size>zve){const T=dr.keys().next().value;T!==void 0&&dr.delete(T)}}catch(tt){!Ir&&Ze===ar&&(Me.value=!0,console.warn("[AssetViewer] render failed; falling back to the generated preview",tt))}finally{Ze===ar&&(ke.value=!1)}}const jn=o.ref(!1),ro=o.computed(()=>jn.value&&d.value==="page"&&pt.value>1),Ba=new Map,Jn=new Set;let La=Promise.resolve();function ua(De,Ze){Ze?(Ba.set(De,Ze),Oa(De)):Ba.delete(De)}function Oa(De){Jn.has(De)||!r.renderPage||(Jn.add(De),La=La.then(async()=>{const Ze=Ba.get(De);if(!Ze||Ir)return;const tt=await ln();await r.renderPage(tt,Ze,{page:De,dpi:24})}).catch(()=>{Jn.delete(De)}))}o.watch(()=>r.asset.id,()=>{Jn.clear(),Ba.clear()});function xn(De){De<1||De>pt.value||(We.value=De)}o.watch(We,De=>wn(De));function Pa(De){switch(De.key){case"Escape":n("close");break;case"ArrowLeft":pt.value>1&&xn(We.value-1);break;case"ArrowRight":pt.value>1&&xn(We.value+1);break;case"d":case"D":n("download",r.asset);break}}return o.watch(d,ie,{immediate:!0}),o.watch(d,g,{immediate:!0}),o.watch(d,z,{immediate:!0}),o.watch(d,q,{immediate:!0}),o.onMounted(()=>{Qt(),window.addEventListener("resize",Qt),window.addEventListener("keydown",Pa),d.value==="page"&&wn(We.value)}),o.onBeforeUnmount(()=>{Fe!==void 0&&cancelAnimationFrame(Fe),Ue==null||Ue.close().catch(()=>{}),oe(),Ir=!0,ar++,dr.clear(),Xt=void 0,window.removeEventListener("resize",Qt),window.removeEventListener("keydown",Pa)}),(De,Ze)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[Y.value?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(re)?o.Teleport:"div"),{key:0,to:o.unref(re)||void 0},{default:o.withCtx(()=>[o.createElementVNode("div",Cge,[d.value==="page"&&pt.value>1?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("button",{class:o.normalizeClass(["tool-btn rail-toggle",{active:jn.value}]),type:"button","aria-pressed":jn.value,"aria-label":"Toggle page thumbnails",onClick:Ze[0]||(Ze[0]=tt=>jn.value=!jn.value)},[...Ze[13]||(Ze[13]=[o.createElementVNode("svg",{viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":"true"},[o.createElementVNode("rect",{x:"3",y:"4",width:"6",height:"7",rx:"1.2",fill:"currentColor"}),o.createElementVNode("rect",{x:"3",y:"13",width:"6",height:"7",rx:"1.2",fill:"currentColor"}),o.createElementVNode("rect",{x:"11",y:"4",width:"10",height:"16",rx:"1.2",fill:"none",stroke:"currentColor","stroke-width":"1.6"})],-1)])],10,Sge),o.createElementVNode("button",{class:"tool-btn",type:"button",disabled:We.value<=1,"aria-label":"Previous page",onClick:Ze[1]||(Ze[1]=tt=>xn(We.value-1))},"‹",8,kge),o.createElementVNode("span",_ge,o.toDisplayString(We.value)+" / "+o.toDisplayString(pt.value),1),o.createElementVNode("button",{class:"tool-btn",type:"button",disabled:We.value>=pt.value,"aria-label":"Next page",onClick:Ze[2]||(Ze[2]=tt=>xn(We.value+1))},"›",8,Ege)],64)):o.createCommentVNode("",!0),d.value==="markdown"?(o.openBlock(),o.createBlock(Xv,{key:1,modelValue:le.value,"onUpdate:modelValue":Ze[3]||(Ze[3]=tt=>le.value=tt),tabs:J,size:"small","aria-label":"Markdown view"},null,8,["modelValue"])):o.createCommentVNode("",!0),d.value==="markdown"?(o.openBlock(),o.createBlock(yt,{key:2,secondary:"",circle:"",size:"medium",disabled:$.value||p.value===void 0,"aria-label":$.value?"Copied":"Copy source",title:$.value?"Copied":"Copy source",onClick:Ze[4]||(Ze[4]=tt=>ce(p.value??""))},{icon:o.withCtx(()=>[o.createVNode(rt,{size:18},{default:o.withCtx(()=>[$.value?(o.openBlock(),o.createBlock(o.unref(Db),{key:0})):(o.openBlock(),o.createBlock(o.unref(jb),{key:1}))]),_:1})]),_:1},8,["disabled","aria-label","title"])):o.createCommentVNode("",!0)])]),_:1},8,["to"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["bx-asset-viewer",{mobile:Jt.value,"with-rail":ro.value}]),style:o.normalizeStyle(et.value?{"--content-aspect":String(et.value)}:void 0),role:"dialog","aria-modal":"true","aria-label":e.asset.title},[ro.value?(o.openBlock(),o.createElementBlock("aside",Ige,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(pt.value,tt=>(o.openBlock(),o.createElementBlock("button",{key:tt,class:o.normalizeClass(["rail-item",{current:tt===We.value}]),type:"button","aria-current":tt===We.value?"page":void 0,"aria-label":`Page ${tt}`,onClick:gt=>xn(tt)},[o.createElementVNode("canvas",{ref_for:!0,ref:gt=>ua(tt,gt),class:"rail-thumb"},null,512),o.createElementVNode("span",Bge,o.toDisplayString(tt),1)],10,Age))),128))])):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"stageRef",ref:c,class:o.normalizeClass(["stage",{"alpha-grid":d.value==="image"}])},[e.asset.previewUrl&&!bt.value?(o.openBlock(),o.createElementBlock("img",{key:0,class:"placeholder",src:e.asset.previewUrl,alt:"","aria-hidden":"true"},null,8,Lge)):o.createCommentVNode("",!0),d.value==="image"?(o.openBlock(),o.createElementBlock("img",{key:1,class:"full",src:l.value,alt:e.asset.title,onLoad:ct},null,40,Oge)):d.value==="page"&&!Me.value?(o.openBlock(),o.createElementBlock("canvas",{key:2,ref_key:"canvasRef",ref:f,class:"full"},null,512)):d.value==="video"?(o.openBlock(),o.createElementBlock("video",{key:3,class:"media",src:l.value,poster:e.asset.previewUrl??void 0,controls:"",playsinline:"",onLoadeddata:Ze[5]||(Ze[5]=tt=>bt.value=!0)},null,40,Pge)):d.value==="audio"?(o.openBlock(),o.createElementBlock("div",Mge,[o.createElementVNode("canvas",{ref_key:"waveCanvasRef",ref:Oe,class:"wave","aria-hidden":"true"},null,512),o.createElementVNode("div",Tge,[o.createElementVNode("button",{class:"play",type:"button","aria-label":Se.value?"Pause":"Play",onClick:Ye},[(o.openBlock(),o.createElementBlock("svg",Dge,[Se.value?(o.openBlock(),o.createElementBlock("rect",Nge)):o.createCommentVNode("",!0),Se.value?(o.openBlock(),o.createElementBlock("rect",jge)):(o.openBlock(),o.createElementBlock("path",Rge))]))],8,$ge),o.createElementVNode("span",Fge,o.toDisplayString(Qe(Ne.value)),1),o.createVNode(Oc,{class:"seek","model-value":Ne.value,min:0,max:Math.max(be.value,.1),step:.1,"aria-label":"Seek","aria-valuetext":`${Qe(Ne.value)} of ${Qe(be.value)}`,"onUpdate:modelValue":Ce},null,8,["model-value","max","aria-valuetext"]),o.createElementVNode("span",Vge,o.toDisplayString(Qe(be.value)),1)]),o.createElementVNode("audio",{ref_key:"audioRef",ref:pe,class:"native",src:l.value,preload:"metadata",crossorigin:"anonymous",onLoadedmetadata:Ae,onLoadeddata:Ze[6]||(Ze[6]=tt=>bt.value=!0),onTimeupdate:Ze[7]||(Ze[7]=tt=>{var gt;return Ne.value=((gt=pe.value)==null?void 0:gt.currentTime)??0}),onPlay:Xe,onPause:Ze[8]||(Ze[8]=tt=>Se.value=!1),onEnded:Ze[9]||(Ze[9]=tt=>Se.value=!1)},null,40,Uge)])):d.value==="sheet"?(o.openBlock(),o.createElementBlock("div",Zge,[C.value?(o.openBlock(),o.createElementBlock("div",qge,o.toDisplayString(C.value),1)):y.value.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[w.value.length>1?(o.openBlock(),o.createElementBlock("div",Hge,[o.createVNode(Xv,{"model-value":x.value,tabs:H.value,size:"small","aria-label":"Sheets","onUpdate:modelValue":k},null,8,["model-value","tabs"])])):o.createCommentVNode("",!0),o.createElementVNode("div",Wge,[o.createElementVNode("table",Gge,[o.createElementVNode("thead",null,[o.createElementVNode("tr",null,[Ze[14]||(Ze[14]=o.createElementVNode("th",{class:"row-number",scope:"col"},null,-1)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(y.value[0],(tt,gt)=>(o.openBlock(),o.createElementBlock("th",{key:gt,scope:"col"},o.toDisplayString(tt),1))),128))])]),o.createElementVNode("tbody",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(y.value.slice(1),(tt,gt)=>(o.openBlock(),o.createElementBlock("tr",{key:gt},[o.createElementVNode("td",Xge,o.toDisplayString(gt+2),1),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(tt,(jt,T)=>(o.openBlock(),o.createElementBlock("td",{key:T,class:o.normalizeClass({numeric:_(jt)})},o.toDisplayString(jt),3))),128))]))),128))])])]),S.value?(o.openBlock(),o.createElementBlock("div",Yge,"Showing the first "+o.toDisplayString(Ql)+" rows — download the file for the rest.")):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock("div",Kge,"Loading…"))])):d.value==="email"?(o.openBlock(),o.createElementBlock("div",Jge,[j.value?(o.openBlock(),o.createElementBlock("div",Qge,o.toDisplayString(j.value),1)):D.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("dl",eve,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(m.value,tt=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:tt.label},[tt.value?(o.openBlock(),o.createElementBlock("dt",tve,o.toDisplayString(tt.label),1)):o.createCommentVNode("",!0),tt.value?(o.openBlock(),o.createElementBlock("dd",rve,o.toDisplayString(tt.value),1)):o.createCommentVNode("",!0)],64))),128))]),D.value.attachments.length?(o.openBlock(),o.createElementBlock("div",nve,[o.createElementVNode("span",ave,o.toDisplayString(D.value.attachments.length)+" attachment"+o.toDisplayString(D.value.attachments.length===1?"":"s")+":",1),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(D.value.attachments,tt=>(o.openBlock(),o.createElementBlock("span",{key:tt,class:"attachment-chip"},o.toDisplayString(tt),1))),128))])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"email-body",innerHTML:D.value.bodyHtml},null,8,ove)],64)):(o.openBlock(),o.createElementBlock("div",ive,"Loading…"))])):d.value==="markdown"?(o.openBlock(),o.createElementBlock("div",sve,[h.value?(o.openBlock(),o.createElementBlock("div",lve,o.toDisplayString(h.value),1)):p.value!==void 0?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[L.value?(o.openBlock(),o.createBlock(AE,{key:1,code:p.value,language:"markdown",wrap:""},null,8,["code"])):(o.openBlock(),o.createElementBlock("div",{key:0,class:"markdown-body",innerHTML:O.value},null,8,cve))],64)):(o.openBlock(),o.createElementBlock("div",uve,"Loading…"))])):d.value==="text"?(o.openBlock(),o.createElementBlock("div",dve,[h.value?(o.openBlock(),o.createElementBlock("div",fve,o.toDisplayString(h.value),1)):p.value!==void 0?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("pre",pve,o.toDisplayString(p.value),1),u.value?(o.openBlock(),o.createElementBlock("div",mve," Showing the first "+o.toDisplayString(Math.round(ig/1024))+" KB — download the file for the rest. ",1)):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock("div",hve,"Loading…"))])):d.value==="font"?(o.openBlock(),o.createElementBlock("div",{key:9,class:"font-book",style:o.normalizeStyle({"--specimen-family":U.value})},[N.value?(o.openBlock(),o.createElementBlock("div",gve,o.toDisplayString(N.value),1)):P.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",vve,[o.createVNode(Sl,{modelValue:he.value,"onUpdate:modelValue":Ze[10]||(Ze[10]=tt=>he.value=tt),class:"specimen-input","aria-label":"Sample text",placeholder:"Type to preview"},null,8,["modelValue"]),o.createVNode(Oc,{modelValue:K.value,"onUpdate:modelValue":Ze[11]||(Ze[11]=tt=>K.value=tt),class:"specimen-size",min:12,max:160,step:1,"aria-label":"Sample size","aria-valuetext":`${K.value}px`},null,8,["modelValue","aria-valuetext"])]),o.createElementVNode("div",{class:"specimen",style:o.normalizeStyle({fontSize:`${K.value}px`})},o.toDisplayString(he.value||e.asset.title),5),Ze[16]||(Ze[16]=o.createElementVNode("div",{class:"glyph-rows"},[o.createElementVNode("div",{class:"glyph-row"},"ABCDEFGHIJKLMNOPQRSTUVWXYZ"),o.createElementVNode("div",{class:"glyph-row"},"abcdefghijklmnopqrstuvwxyz"),o.createElementVNode("div",{class:"glyph-row"},"0123456789 & ! ? @ # € $ % ( ) [ ] { } / \\ — “ ” ‘ ’")],-1)),o.createElementVNode("div",bve,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList([12,16,24,36,48],tt=>o.createElementVNode("div",{key:tt,class:"scale-row",style:o.normalizeStyle({fontSize:`${tt}px`})},[o.createElementVNode("span",yve,o.toDisplayString(tt),1),Ze[15]||(Ze[15]=o.createElementVNode("span",{class:"scale-sample"},"The quick brown fox jumps over the lazy dog",-1))],4)),64))])],64)):(o.openBlock(),o.createElementBlock("div",wve,"Loading typeface…"))],4)):e.asset.previewUrl?(o.openBlock(),o.createElementBlock("img",{key:10,class:"full generated-preview",src:e.asset.previewUrl,alt:e.asset.title,onLoad:Ze[12]||(Ze[12]=tt=>bt.value=!0)},null,40,xve)):(o.openBlock(),o.createElementBlock("div",Cve,[o.createElementVNode("div",Sve,o.toDisplayString(Et.value),1),o.createElementVNode("p",kve,o.toDisplayString(e.asset.filename),1),Ze[17]||(Ze[17]=o.createElementVNode("p",{class:"hint"},"This file type can’t be previewed here.",-1))])),ke.value?(o.openBlock(),o.createElementBlock("div",_ve,"Rendering…")):o.createCommentVNode("",!0)],2),e.asset.description?(o.openBlock(),o.createElementBlock("p",Eve,o.toDisplayString(e.asset.description),1)):o.createCommentVNode("",!0)],14,zge)],64))}}),Bve=Je(Ave,[["__scopeId","data-v-00678169"]]);let ec;function Lve(){const e=o.ref(!1),t=o.ref(!1),r=o.ref(0),n=o.ref(!1);let a,i,s=0;function d(){i&&(URL.revokeObjectURL(i),i=void 0),a&&(a.pause(),a.removeAttribute("src"),a.load(),a=void 0),n.value=!1,e.value=!1,t.value=!1,r.value=0}function l(){s++,ec===d&&(ec=void 0),d()}async function c(f,p){if(a){a.paused?(await a.play().catch(()=>{}),e.value=!a.paused):a.pause();return}const u=++s;ec==null||ec(),ec=d,t.value=!0;let h;try{h=typeof f=="function"?await f():f}catch{t.value=!1;return}if(u!==s){h.startsWith("blob:")&&URL.revokeObjectURL(h);return}h.startsWith("blob:")&&(i=h);const g=p??new Audio;g.preload="none",g.crossOrigin="anonymous",g.src=h,a=g,g.addEventListener("timeupdate",()=>{r.value=g.duration?g.currentTime/g.duration:0}),g.addEventListener("ended",()=>{e.value=!1,r.value=0,n.value=!0}),g.addEventListener("playing",()=>{n.value=!1}),g.addEventListener("pause",()=>{e.value=!1}),g.addEventListener("play",()=>{e.value=!0});try{await g.play()}catch{d()}finally{t.value=!1}}return o.onBeforeUnmount(l),{toggle:c,stop:l,playing:e,loading:t,progress:r,ended:n}}const Ove=["aria-label","aria-busy"],Pve={class:"ring",viewBox:"0 0 44 44","aria-hidden":"true"},Mve=["stroke-dashoffset"],Tve={class:"glyph",viewBox:"0 0 24 24","aria-hidden":"true"},$ve={key:1,d:"M8.5 5.5v13l10-6.5z",fill:"currentColor"},Dve=o.defineComponent({__name:"BxAudioPlayButton",props:{playing:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},progress:{default:0}},emits:["toggle"],setup(e,{emit:t}){const r=e,n=t,a=2*Math.PI*20,i=o.computed(()=>Math.min(1,Math.max(0,r.progress)));return(s,d)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["bx-audio-play-button",{playing:e.playing,loading:e.loading}]),type:"button","aria-label":e.playing?"Pause":"Play","aria-busy":e.loading||void 0,onClick:d[0]||(d[0]=o.withModifiers(l=>n("toggle"),["stop"]))},[(o.openBlock(),o.createElementBlock("svg",Pve,[d[1]||(d[1]=o.createElementVNode("circle",{class:"track",cx:"22",cy:"22",r:"20"},null,-1)),o.createElementVNode("circle",{class:"value",cx:"22",cy:"22",r:"20","stroke-dasharray":a,"stroke-dashoffset":a*(1-i.value)},null,8,Mve)])),(o.openBlock(),o.createElementBlock("svg",Tve,[e.playing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[d[2]||(d[2]=o.createElementVNode("rect",{x:"7",y:"5",width:"3.5",height:"14",rx:"1.25",fill:"currentColor"},null,-1)),d[3]||(d[3]=o.createElementVNode("rect",{x:"13.5",y:"5",width:"3.5",height:"14",rx:"1.25",fill:"currentColor"},null,-1))],64)):(o.openBlock(),o.createElementBlock("path",$ve))]))],10,Ove))}}),Nve=Je(Dve,[["__scopeId","data-v-09ee9555"]]),az="bluepic-app-wrapper",Ss=`.${az}`;D_();window.bluepicPopupProvider=new $ue;exports.ASSET_PROXY_KEY=n0;exports.BluepicEmbed=b4;exports.BluepicFieldComponents=up;exports.BluepicLogo=U_;exports.BluepicSpinner=Ime;exports.BxAlert=Nme;exports.BxAssetViewer=Bve;exports.BxAudioPlayButton=Nve;exports.BxAvatar=Cme;exports.BxBadge=kme;exports.BxButton=yt;exports.BxButtonGroup=M_;exports.BxCard=s0;exports.BxCheckbox=i_;exports.BxCode=AE;exports.BxColorPicker=L_;exports.BxColorPickerPopover=O_;exports.BxCropper=_C;exports.BxDatePicker=BE;exports.BxDatePickerPopover=Uhe;exports.BxDrawer=fme;exports.BxDropdown=Qp;exports.BxEmbedThemeDarkmode=Td;exports.BxEmbedThemeDarkmodeWcag=j2e;exports.BxEmbedThemeLightmode=$d;exports.BxEmbedThemeLightmodeWcag=R2e;exports.BxEmpty=Wb;exports.BxFields=$_;exports.BxIcon=rt;exports.BxImageCropper=EC;exports.BxInput=Sl;exports.BxList=xC;exports.BxListItem=CC;exports.BxLiveTemplate=R_;exports.BxMenu=yC;exports.BxNumberInput=P_;exports.BxPopover=Kc;exports.BxPopup=Cl;exports.BxProgress=i0;exports.BxRadio=r2e;exports.BxRadioGroup=Jhe;exports.BxScrollbar=r4;exports.BxSelect=pi;exports.BxSlider=Oc;exports.BxSpin=ps;exports.BxStepper=dme;exports.BxSwitch=tme;exports.BxTab=Whe;exports.BxTabs=Xv;exports.BxTag=Ome;exports.BxTemplateEditor=gE;exports.BxTooltip=l0;exports.BxUpload=cC;exports.CSS_COLOR_NAMES=Yv;exports.CircularProgress=Z_;exports.CollectionFieldPopup=Fue;exports.DIN_LEVELS=y4;exports.ExportAnalytics=sE;exports.FACE_VERTICAL_ANCHOR=IC;exports.FieldIcons=e4;exports.GLOBAL_APP_WRAPPER_CLASS=az;exports.GLOBAL_APP_WRAPPER_SELECTOR=Ss;exports.LEGACY_BRIDGE=f4;exports.MIN_FACE_SCORE=zC;exports.MapboxMap=Gv;exports.OTHER_CATEGORY=ez;exports.RichText=yge;exports.SEMANTIC_PREFIX=Od;exports.SEMANTIC_TOKEN_GROUPS=p2e;exports.SEMANTIC_TOKEN_NAMES=ld;exports.STATUS_BASES=DE;exports.SlidesNavigation=V_;exports.THEME_HOUSE_PRESETS=m2e;exports.THEME_PRESETS=$E;exports.Tabs=nge;exports.TemplateView=F_;exports.UserAvatar=TE;exports.UserInfo=J2e;exports.anyTextToRichText=uC;exports.applyAutoCrop=LC;exports.applyColorMatricesToImage=IZ;exports.applyColorMatrix=BZ;exports.applyColorMatrixToColor=jx;exports.applyTheme=N2e;exports.aspectRatio=rz;exports.aspectRatioStr=nz;exports.collectPortalCategories=wge;exports.convertDeprecatedField=N_;exports.cropImage=aE;exports.cropToVisibleBBox=Fx;exports.cssFontsCache=t1;exports.cyrb53=I_;exports.cyrb53ToHex=A_;exports.dinPixels=oge;exports.exportSVGDocument=Dg;exports.extractHost=Ad;exports.fetchWithProgress=F2e;exports.fetchWithProgressV1=HE;exports.flattenFieldTable=w_;exports.flattenFields=x_;exports.getDefaultValueForFieldModel=k_;exports.getFieldDescription=gm;exports.getFieldsDescription=lp;exports.getInitials=ME;exports.getRawText=K1;exports.getTemplateAspectRatioHumanReadable=xge;exports.getTemplateLiveUrl=o2e;exports.getTemplatePreviewUrl=a2e;exports.getTemplateSerialUrl=OE;exports.getThemeStyle=m4;exports.getVisibleBBox=Rx;exports.groupFeatureByLinebreaks=Y1;exports.groupPortalItemsByCategory=tz;exports.groupTemplatesByName=nb;exports.hasFaceDetector=BC;exports.hslToRgb=cp;exports.identifyDin=YE;exports.imageInfo=wc;exports.imagesCache=r1;exports.initEmbeds=WE;exports.initInputModality=D_;exports.injectPortal=lC;exports.isDark=z_;exports.isMultiCanvasTemplateDescriptor=QE;exports.looksLikeThemeInput=p4;exports.modelField=Qle;exports.normalizeAdjust=J1;exports.normalizeCrop=SC;exports.optimizePreviewUrl=PE;exports.parseColor=ic;exports.rasterize=AZ;exports.realizeField=tce;exports.renderFieldIcon=__;exports.renderSVG=W1;exports.resolveAssetUrl=ui;exports.resolveCSSFontFile=$x;exports.resolveImage=Dx;exports.resolveTheme=UE;exports.resolveThemeStyle=D2e;exports.rgbToHex=Kv;exports.rgbToHsv=v1;exports.rgba=t4;exports.setFaceDetector=wY;exports.setInputModality=Due;exports.solveAutoCrop=AC;exports.stringToHslColor=B_;exports.stringifyField=rce;exports.textIsInUnicodeRange=Tx;exports.themeColor=A2e;exports.themeInputFromLegacyCustomStyle=ZE;exports.themeToCssText=$2e;exports.themeToCssVars=k0;exports.toHex2=Zu;exports.ungroupFeaturesDividedByLinebreaks=Hb;exports.useAssetProxy=vs;exports.useAudioPlayback=Lve;exports.useFields=S_;exports.useMobileFields=C_;exports.usePopup=Kp;exports.useTheme=Hu;exports.useThemeV2=qE;exports.useUpload=yp;exports.waitUntil=f2e;
2164
+ `).trim()}const L=o.ref(!1),O=o.ref(""),$=o.ref(!1);async function R(De){try{const{default:Ze}=await Promise.resolve().then(()=>require("./markdown-it-D-2rX95W.cjs"));O.value=new Ze({html:!1,linkify:!0,breaks:!1}).render(De)}catch(Ze){console.warn("[AssetViewer] markdown could not be rendered",Ze),L.value=!0}}const H=o.computed(()=>w.value.map(De=>({name:De,label:De}))),Y=o.computed(()=>d.value==="markdown"||d.value==="page"&&pt.value>1),re=Yq(),J=[{name:"preview",label:"Preview"},{name:"source",label:"Source"}],le=o.computed({get:()=>L.value?"source":"preview",set:De=>L.value=De==="source"});async function ce(De){try{await navigator.clipboard.writeText(De),$.value=!0,setTimeout(()=>$.value=!1,1600)}catch(Ze){console.warn("[AssetViewer] clipboard write failed",Ze)}}const he=o.ref(""),K=o.ref(64),P=o.ref(!1),N=o.ref(),U=o.computed(()=>`bx-asset-font-${r.asset.id.replace(/[^a-zA-Z0-9_-]/g,"")}`);let ae;async function ie(){if(!(d.value!=="font"||ae)){N.value=void 0;try{const De=await fetch(l.value,{credentials:"omit"});if(!De.ok)throw new Error(`Could not load the font (${De.status})`);const Ze=new FontFace(U.value,await De.arrayBuffer());await Ze.load(),document.fonts.add(Ze),ae=Ze,P.value=!0,bt.value=!0}catch(De){console.warn("[AssetViewer] font could not be loaded",De),N.value="This font could not be loaded for preview. You can still download it."}}}function oe(){ae&&(document.fonts.delete(ae),ae=void 0,P.value=!1)}const pe=o.ref(),Oe=o.ref(),Se=o.ref(!1),be=o.ref(0),Ne=o.ref(0);let Ue,$e,Fe,me=[];function Ae(){var De;be.value=((De=pe.value)==null?void 0:De.duration)??0}function Xe(){Se.value=!0,Ie(),ue()}function Ie(){if(!($e||!pe.value))try{const De=window.AudioContext??window.webkitAudioContext;if(!De)return;Ue=new De;const Ze=Ue.createMediaElementSource(pe.value);$e=Ue.createAnalyser(),$e.fftSize=512,Ze.connect($e),$e.connect(Ue.destination)}catch(De){console.warn("[AssetViewer] live waveform unavailable",De),$e=void 0}}function ue(){const De=Oe.value;if(!De)return;const Ze=De.getContext("2d");if(!Ze)return;const tt=()=>{const{clientWidth:gt,clientHeight:jt}=De,T=Math.min(window.devicePixelRatio||1,2);(De.width!==gt*T||De.height!==jt*T)&&(De.width=gt*T,De.height=jt*T),Ze.setTransform(T,0,0,T,0,0),Ze.clearRect(0,0,gt,jt);const te=10,ze=te-4,ot=Math.max(8,Math.floor(gt/te)),tr=jt/2,er=be.value?Ne.value/be.value:0;let Ma;if($e){const or=new Uint8Array($e.frequencyBinCount);$e.getByteTimeDomainData(or);const Cn=Math.floor(or.length/ot);Ma=Array.from({length:ot},(Sn,gi)=>{let Ta=0;for(let vi=0;vi<Cn;vi++)Ta=Math.max(Ta,Math.abs(or[gi*Cn+vi]-128)/128);return Ta})}else{const or=Date.now()/240;Ma=Array.from({length:ot},(Cn,Sn)=>.12+.1*Math.abs(Math.sin(or+Sn/5)))}me.length!==ot&&(me=new Array(ot).fill(0));for(let or=0;or<ot;or++){const Cn=Ma[or],Sn=Cn>me[or]?.55:.12;me[or]+=(Cn-me[or])*Sn}for(let or=0;or<ot;or++){const Cn=Math.min(1,me[or]**.7),Sn=Math.max(ze,Cn*jt*.86+ze),gi=or*te;Ze.fillStyle=or/ot<=er?"rgba(255, 255, 255, 0.95)":"rgba(255, 255, 255, 0.22)",Ze.beginPath(),Ze.roundRect(gi,tr-Sn/2,ze,Sn,ze/2),Ze.fill()}Se.value?Fe=requestAnimationFrame(tt):Fe=void 0};Fe===void 0&&(Fe=requestAnimationFrame(tt))}function Ce(De){const Ze=pe.value;!Ze||!Number.isFinite(De)||(Ze.currentTime=De,Ne.value=De)}function Ye(){const De=pe.value;De&&(De.paused?De.play().catch(()=>{}):De.pause())}function Qe(De){if(!Number.isFinite(De)||De<0)return"0:00";const Ze=Math.floor(De);return`${Math.floor(Ze/60)}:${String(Ze%60).padStart(2,"0")}`}const et=o.ref();function ct(De){const Ze=De.target;Ze.naturalWidth&&Ze.naturalHeight&&(et.value=Ze.naturalWidth/Ze.naturalHeight),bt.value=!0}const bt=o.ref(!1),ke=o.ref(!1),Me=o.ref(!1),We=o.ref(1),pt=o.ref(r.asset.pageCount??1),Et=o.computed(()=>((r.asset.filename.includes(".")?r.asset.filename.split(".").pop():void 0)??r.asset.mime.split("/").pop()??"file").toUpperCase().slice(0,5));o.computed(()=>{const De=r.asset.size;if(!De)return"—";if(De<1024)return`${De} B`;const Ze=["KB","MB","GB"];let tt=De/1024,gt=0;for(;tt>=1024&&gt<Ze.length-1;)tt/=1024,gt++;return`${tt<10?tt.toFixed(1):Math.round(tt)} ${Ze[gt]}`});const Jt=o.ref(!1);function Qt(){Jt.value=typeof window<"u"&&window.innerWidth<768}let Xt;const dr=new Map;let ar=0,Ir=!1;async function ln(){if(Xt)return Xt;const De=r.asset.documentUrl??l.value,Ze=await fetch(De,{credentials:"omit"});if(!Ze.ok)throw new Error(`Could not load file (${Ze.status})`);return Xt=await Ze.arrayBuffer(),Xt}async function wn(De){if(d.value!=="page")return;const Ze=++ar;ke.value=!0,Me.value=!1;try{const tt=await ln();if(Ir||Ze!==ar)return;if(!r.asset.pageCount&&r.getPageCount)try{pt.value=await r.getPageCount(tt)}catch{}if(Ir||Ze!==ar)return;const gt=f.value;if(!gt)return;const jt=Math.min(typeof window<"u"&&window.devicePixelRatio||1,Ive);if(await r.renderPage(tt,gt,{page:De,dpi:96*jt}),Ir||Ze!==ar)return;if(gt.width&&gt.height&&(et.value=gt.width/gt.height),bt.value=!0,dr.set(De,gt),dr.size>zve){const T=dr.keys().next().value;T!==void 0&&dr.delete(T)}}catch(tt){!Ir&&Ze===ar&&(Me.value=!0,console.warn("[AssetViewer] render failed; falling back to the generated preview",tt))}finally{Ze===ar&&(ke.value=!1)}}const jn=o.ref(typeof window<"u"&&window.innerWidth>=768),ro=o.computed(()=>jn.value&&d.value==="page"&&pt.value>1),Ba=new Map,Jn=new Set;let La=Promise.resolve();function ua(De,Ze){Ze?(Ba.set(De,Ze),Oa(De)):Ba.delete(De)}function Oa(De){Jn.has(De)||!r.renderPage||(Jn.add(De),La=La.then(async()=>{const Ze=Ba.get(De);if(!Ze||Ir)return;const tt=await ln();await r.renderPage(tt,Ze,{page:De,dpi:24})}).catch(()=>{Jn.delete(De)}))}o.watch(()=>r.asset.id,()=>{Jn.clear(),Ba.clear()});function xn(De){De<1||De>pt.value||(We.value=De)}o.watch(We,De=>wn(De));function Pa(De){switch(De.key){case"Escape":n("close");break;case"ArrowLeft":pt.value>1&&xn(We.value-1);break;case"ArrowRight":pt.value>1&&xn(We.value+1);break;case"d":case"D":n("download",r.asset);break}}return o.watch(d,ie,{immediate:!0}),o.watch(d,g,{immediate:!0}),o.watch(d,z,{immediate:!0}),o.watch(d,q,{immediate:!0}),o.onMounted(()=>{Qt(),window.addEventListener("resize",Qt),window.addEventListener("keydown",Pa),d.value==="page"&&wn(We.value)}),o.onBeforeUnmount(()=>{Fe!==void 0&&cancelAnimationFrame(Fe),Ue==null||Ue.close().catch(()=>{}),oe(),Ir=!0,ar++,dr.clear(),Xt=void 0,window.removeEventListener("resize",Qt),window.removeEventListener("keydown",Pa)}),(De,Ze)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[Y.value?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(re)?o.Teleport:"div"),{key:0,to:o.unref(re)||void 0},{default:o.withCtx(()=>[o.createElementVNode("div",Cge,[d.value==="page"&&pt.value>1?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("button",{class:o.normalizeClass(["tool-btn rail-toggle",{active:jn.value}]),type:"button","aria-pressed":jn.value,"aria-label":"Toggle page thumbnails",onClick:Ze[0]||(Ze[0]=tt=>jn.value=!jn.value)},[...Ze[13]||(Ze[13]=[o.createElementVNode("svg",{viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":"true"},[o.createElementVNode("rect",{x:"3",y:"4",width:"6",height:"7",rx:"1.2",fill:"currentColor"}),o.createElementVNode("rect",{x:"3",y:"13",width:"6",height:"7",rx:"1.2",fill:"currentColor"}),o.createElementVNode("rect",{x:"11",y:"4",width:"10",height:"16",rx:"1.2",fill:"none",stroke:"currentColor","stroke-width":"1.6"})],-1)])],10,Sge),o.createElementVNode("button",{class:"tool-btn",type:"button",disabled:We.value<=1,"aria-label":"Previous page",onClick:Ze[1]||(Ze[1]=tt=>xn(We.value-1))},"‹",8,kge),o.createElementVNode("span",_ge,o.toDisplayString(We.value)+" / "+o.toDisplayString(pt.value),1),o.createElementVNode("button",{class:"tool-btn",type:"button",disabled:We.value>=pt.value,"aria-label":"Next page",onClick:Ze[2]||(Ze[2]=tt=>xn(We.value+1))},"›",8,Ege)],64)):o.createCommentVNode("",!0),d.value==="markdown"?(o.openBlock(),o.createBlock(Xv,{key:1,modelValue:le.value,"onUpdate:modelValue":Ze[3]||(Ze[3]=tt=>le.value=tt),tabs:J,size:"small","aria-label":"Markdown view"},null,8,["modelValue"])):o.createCommentVNode("",!0),d.value==="markdown"?(o.openBlock(),o.createBlock(yt,{key:2,secondary:"",circle:"",size:"medium",disabled:$.value||p.value===void 0,"aria-label":$.value?"Copied":"Copy source",title:$.value?"Copied":"Copy source",onClick:Ze[4]||(Ze[4]=tt=>ce(p.value??""))},{icon:o.withCtx(()=>[o.createVNode(rt,{size:18},{default:o.withCtx(()=>[$.value?(o.openBlock(),o.createBlock(o.unref(Db),{key:0})):(o.openBlock(),o.createBlock(o.unref(jb),{key:1}))]),_:1})]),_:1},8,["disabled","aria-label","title"])):o.createCommentVNode("",!0)])]),_:1},8,["to"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["bx-asset-viewer",{mobile:Jt.value,"with-rail":ro.value}]),style:o.normalizeStyle(et.value?{"--content-aspect":String(et.value)}:void 0),role:"dialog","aria-modal":"true","aria-label":e.asset.title},[ro.value?(o.openBlock(),o.createElementBlock("aside",Ige,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(pt.value,tt=>(o.openBlock(),o.createElementBlock("button",{key:tt,class:o.normalizeClass(["rail-item",{current:tt===We.value}]),type:"button","aria-current":tt===We.value?"page":void 0,"aria-label":`Page ${tt}`,onClick:gt=>xn(tt)},[o.createElementVNode("canvas",{ref_for:!0,ref:gt=>ua(tt,gt),class:"rail-thumb"},null,512),o.createElementVNode("span",Bge,o.toDisplayString(tt),1)],10,Age))),128))])):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"stageRef",ref:c,class:o.normalizeClass(["stage",{"alpha-grid":d.value==="image"}])},[e.asset.previewUrl&&!bt.value?(o.openBlock(),o.createElementBlock("img",{key:0,class:"placeholder",src:e.asset.previewUrl,alt:"","aria-hidden":"true"},null,8,Lge)):o.createCommentVNode("",!0),d.value==="image"?(o.openBlock(),o.createElementBlock("img",{key:1,class:"full",src:l.value,alt:e.asset.title,onLoad:ct},null,40,Oge)):d.value==="page"&&!Me.value?(o.openBlock(),o.createElementBlock("canvas",{key:2,ref_key:"canvasRef",ref:f,class:"full"},null,512)):d.value==="video"?(o.openBlock(),o.createElementBlock("video",{key:3,class:"media",src:l.value,poster:e.asset.previewUrl??void 0,controls:"",playsinline:"",onLoadeddata:Ze[5]||(Ze[5]=tt=>bt.value=!0)},null,40,Pge)):d.value==="audio"?(o.openBlock(),o.createElementBlock("div",Mge,[o.createElementVNode("canvas",{ref_key:"waveCanvasRef",ref:Oe,class:"wave","aria-hidden":"true"},null,512),o.createElementVNode("div",Tge,[o.createElementVNode("button",{class:"play",type:"button","aria-label":Se.value?"Pause":"Play",onClick:Ye},[(o.openBlock(),o.createElementBlock("svg",Dge,[Se.value?(o.openBlock(),o.createElementBlock("rect",Nge)):o.createCommentVNode("",!0),Se.value?(o.openBlock(),o.createElementBlock("rect",jge)):(o.openBlock(),o.createElementBlock("path",Rge))]))],8,$ge),o.createElementVNode("span",Fge,o.toDisplayString(Qe(Ne.value)),1),o.createVNode(Oc,{class:"seek","model-value":Ne.value,min:0,max:Math.max(be.value,.1),step:.1,"aria-label":"Seek","aria-valuetext":`${Qe(Ne.value)} of ${Qe(be.value)}`,"onUpdate:modelValue":Ce},null,8,["model-value","max","aria-valuetext"]),o.createElementVNode("span",Vge,o.toDisplayString(Qe(be.value)),1)]),o.createElementVNode("audio",{ref_key:"audioRef",ref:pe,class:"native",src:l.value,preload:"metadata",crossorigin:"anonymous",onLoadedmetadata:Ae,onLoadeddata:Ze[6]||(Ze[6]=tt=>bt.value=!0),onTimeupdate:Ze[7]||(Ze[7]=tt=>{var gt;return Ne.value=((gt=pe.value)==null?void 0:gt.currentTime)??0}),onPlay:Xe,onPause:Ze[8]||(Ze[8]=tt=>Se.value=!1),onEnded:Ze[9]||(Ze[9]=tt=>Se.value=!1)},null,40,Uge)])):d.value==="sheet"?(o.openBlock(),o.createElementBlock("div",Zge,[C.value?(o.openBlock(),o.createElementBlock("div",qge,o.toDisplayString(C.value),1)):y.value.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[w.value.length>1?(o.openBlock(),o.createElementBlock("div",Hge,[o.createVNode(Xv,{"model-value":x.value,tabs:H.value,size:"small","aria-label":"Sheets","onUpdate:modelValue":k},null,8,["model-value","tabs"])])):o.createCommentVNode("",!0),o.createElementVNode("div",Wge,[o.createElementVNode("table",Gge,[o.createElementVNode("thead",null,[o.createElementVNode("tr",null,[Ze[14]||(Ze[14]=o.createElementVNode("th",{class:"row-number",scope:"col"},null,-1)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(y.value[0],(tt,gt)=>(o.openBlock(),o.createElementBlock("th",{key:gt,scope:"col"},o.toDisplayString(tt),1))),128))])]),o.createElementVNode("tbody",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(y.value.slice(1),(tt,gt)=>(o.openBlock(),o.createElementBlock("tr",{key:gt},[o.createElementVNode("td",Xge,o.toDisplayString(gt+2),1),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(tt,(jt,T)=>(o.openBlock(),o.createElementBlock("td",{key:T,class:o.normalizeClass({numeric:_(jt)})},o.toDisplayString(jt),3))),128))]))),128))])])]),S.value?(o.openBlock(),o.createElementBlock("div",Yge,"Showing the first "+o.toDisplayString(Ql)+" rows — download the file for the rest.")):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock("div",Kge,"Loading…"))])):d.value==="email"?(o.openBlock(),o.createElementBlock("div",Jge,[j.value?(o.openBlock(),o.createElementBlock("div",Qge,o.toDisplayString(j.value),1)):D.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("dl",eve,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(m.value,tt=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:tt.label},[tt.value?(o.openBlock(),o.createElementBlock("dt",tve,o.toDisplayString(tt.label),1)):o.createCommentVNode("",!0),tt.value?(o.openBlock(),o.createElementBlock("dd",rve,o.toDisplayString(tt.value),1)):o.createCommentVNode("",!0)],64))),128))]),D.value.attachments.length?(o.openBlock(),o.createElementBlock("div",nve,[o.createElementVNode("span",ave,o.toDisplayString(D.value.attachments.length)+" attachment"+o.toDisplayString(D.value.attachments.length===1?"":"s")+":",1),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(D.value.attachments,tt=>(o.openBlock(),o.createElementBlock("span",{key:tt,class:"attachment-chip"},o.toDisplayString(tt),1))),128))])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"email-body",innerHTML:D.value.bodyHtml},null,8,ove)],64)):(o.openBlock(),o.createElementBlock("div",ive,"Loading…"))])):d.value==="markdown"?(o.openBlock(),o.createElementBlock("div",sve,[h.value?(o.openBlock(),o.createElementBlock("div",lve,o.toDisplayString(h.value),1)):p.value!==void 0?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[L.value?(o.openBlock(),o.createBlock(AE,{key:1,code:p.value,language:"markdown",wrap:""},null,8,["code"])):(o.openBlock(),o.createElementBlock("div",{key:0,class:"markdown-body",innerHTML:O.value},null,8,cve))],64)):(o.openBlock(),o.createElementBlock("div",uve,"Loading…"))])):d.value==="text"?(o.openBlock(),o.createElementBlock("div",dve,[h.value?(o.openBlock(),o.createElementBlock("div",fve,o.toDisplayString(h.value),1)):p.value!==void 0?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("pre",pve,o.toDisplayString(p.value),1),u.value?(o.openBlock(),o.createElementBlock("div",mve," Showing the first "+o.toDisplayString(Math.round(ig/1024))+" KB — download the file for the rest. ",1)):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock("div",hve,"Loading…"))])):d.value==="font"?(o.openBlock(),o.createElementBlock("div",{key:9,class:"font-book",style:o.normalizeStyle({"--specimen-family":U.value})},[N.value?(o.openBlock(),o.createElementBlock("div",gve,o.toDisplayString(N.value),1)):P.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",vve,[o.createVNode(Sl,{modelValue:he.value,"onUpdate:modelValue":Ze[10]||(Ze[10]=tt=>he.value=tt),class:"specimen-input","aria-label":"Sample text",placeholder:"Type to preview"},null,8,["modelValue"]),o.createVNode(Oc,{modelValue:K.value,"onUpdate:modelValue":Ze[11]||(Ze[11]=tt=>K.value=tt),class:"specimen-size",min:12,max:160,step:1,"aria-label":"Sample size","aria-valuetext":`${K.value}px`},null,8,["modelValue","aria-valuetext"])]),o.createElementVNode("div",{class:"specimen",style:o.normalizeStyle({fontSize:`${K.value}px`})},o.toDisplayString(he.value||e.asset.title),5),Ze[16]||(Ze[16]=o.createElementVNode("div",{class:"glyph-rows"},[o.createElementVNode("div",{class:"glyph-row"},"ABCDEFGHIJKLMNOPQRSTUVWXYZ"),o.createElementVNode("div",{class:"glyph-row"},"abcdefghijklmnopqrstuvwxyz"),o.createElementVNode("div",{class:"glyph-row"},"0123456789 & ! ? @ # € $ % ( ) [ ] { } / \\ — “ ” ‘ ’")],-1)),o.createElementVNode("div",bve,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList([12,16,24,36,48],tt=>o.createElementVNode("div",{key:tt,class:"scale-row",style:o.normalizeStyle({fontSize:`${tt}px`})},[o.createElementVNode("span",yve,o.toDisplayString(tt),1),Ze[15]||(Ze[15]=o.createElementVNode("span",{class:"scale-sample"},"The quick brown fox jumps over the lazy dog",-1))],4)),64))])],64)):(o.openBlock(),o.createElementBlock("div",wve,"Loading typeface…"))],4)):e.asset.previewUrl?(o.openBlock(),o.createElementBlock("img",{key:10,class:"full generated-preview",src:e.asset.previewUrl,alt:e.asset.title,onLoad:Ze[12]||(Ze[12]=tt=>bt.value=!0)},null,40,xve)):(o.openBlock(),o.createElementBlock("div",Cve,[o.createElementVNode("div",Sve,o.toDisplayString(Et.value),1),o.createElementVNode("p",kve,o.toDisplayString(e.asset.filename),1),Ze[17]||(Ze[17]=o.createElementVNode("p",{class:"hint"},"This file type can’t be previewed here.",-1))])),ke.value?(o.openBlock(),o.createElementBlock("div",_ve,"Rendering…")):o.createCommentVNode("",!0)],2),e.asset.description?(o.openBlock(),o.createElementBlock("p",Eve,o.toDisplayString(e.asset.description),1)):o.createCommentVNode("",!0)],14,zge)],64))}}),Bve=Je(Ave,[["__scopeId","data-v-17261a86"]]);let ec;function Lve(){const e=o.ref(!1),t=o.ref(!1),r=o.ref(0),n=o.ref(!1);let a,i,s=0;function d(){i&&(URL.revokeObjectURL(i),i=void 0),a&&(a.pause(),a.removeAttribute("src"),a.load(),a=void 0),n.value=!1,e.value=!1,t.value=!1,r.value=0}function l(){s++,ec===d&&(ec=void 0),d()}async function c(f,p){if(a){a.paused?(await a.play().catch(()=>{}),e.value=!a.paused):a.pause();return}const u=++s;ec==null||ec(),ec=d,t.value=!0;let h;try{h=typeof f=="function"?await f():f}catch{t.value=!1;return}if(u!==s){h.startsWith("blob:")&&URL.revokeObjectURL(h);return}h.startsWith("blob:")&&(i=h);const g=p??new Audio;g.preload="none",g.crossOrigin="anonymous",g.src=h,a=g,g.addEventListener("timeupdate",()=>{r.value=g.duration?g.currentTime/g.duration:0}),g.addEventListener("ended",()=>{e.value=!1,r.value=0,n.value=!0}),g.addEventListener("playing",()=>{n.value=!1}),g.addEventListener("pause",()=>{e.value=!1}),g.addEventListener("play",()=>{e.value=!0});try{await g.play()}catch{d()}finally{t.value=!1}}return o.onBeforeUnmount(l),{toggle:c,stop:l,playing:e,loading:t,progress:r,ended:n}}const Ove=["aria-label","aria-busy"],Pve={class:"ring",viewBox:"0 0 44 44","aria-hidden":"true"},Mve=["stroke-dashoffset"],Tve={class:"glyph",viewBox:"0 0 24 24","aria-hidden":"true"},$ve={key:1,d:"M8.5 5.5v13l10-6.5z",fill:"currentColor"},Dve=o.defineComponent({__name:"BxAudioPlayButton",props:{playing:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},progress:{default:0}},emits:["toggle"],setup(e,{emit:t}){const r=e,n=t,a=2*Math.PI*20,i=o.computed(()=>Math.min(1,Math.max(0,r.progress)));return(s,d)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["bx-audio-play-button",{playing:e.playing,loading:e.loading}]),type:"button","aria-label":e.playing?"Pause":"Play","aria-busy":e.loading||void 0,onClick:d[0]||(d[0]=o.withModifiers(l=>n("toggle"),["stop"]))},[(o.openBlock(),o.createElementBlock("svg",Pve,[d[1]||(d[1]=o.createElementVNode("circle",{class:"track",cx:"22",cy:"22",r:"20"},null,-1)),o.createElementVNode("circle",{class:"value",cx:"22",cy:"22",r:"20","stroke-dasharray":a,"stroke-dashoffset":a*(1-i.value)},null,8,Mve)])),(o.openBlock(),o.createElementBlock("svg",Tve,[e.playing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[d[2]||(d[2]=o.createElementVNode("rect",{x:"7",y:"5",width:"3.5",height:"14",rx:"1.25",fill:"currentColor"},null,-1)),d[3]||(d[3]=o.createElementVNode("rect",{x:"13.5",y:"5",width:"3.5",height:"14",rx:"1.25",fill:"currentColor"},null,-1))],64)):(o.openBlock(),o.createElementBlock("path",$ve))]))],10,Ove))}}),Nve=Je(Dve,[["__scopeId","data-v-09ee9555"]]),az="bluepic-app-wrapper",Ss=`.${az}`;D_();window.bluepicPopupProvider=new $ue;exports.ASSET_PROXY_KEY=n0;exports.BluepicEmbed=b4;exports.BluepicFieldComponents=up;exports.BluepicLogo=U_;exports.BluepicSpinner=Ime;exports.BxAlert=Nme;exports.BxAssetViewer=Bve;exports.BxAudioPlayButton=Nve;exports.BxAvatar=Cme;exports.BxBadge=kme;exports.BxButton=yt;exports.BxButtonGroup=M_;exports.BxCard=s0;exports.BxCheckbox=i_;exports.BxCode=AE;exports.BxColorPicker=L_;exports.BxColorPickerPopover=O_;exports.BxCropper=_C;exports.BxDatePicker=BE;exports.BxDatePickerPopover=Uhe;exports.BxDrawer=fme;exports.BxDropdown=Qp;exports.BxEmbedThemeDarkmode=Td;exports.BxEmbedThemeDarkmodeWcag=j2e;exports.BxEmbedThemeLightmode=$d;exports.BxEmbedThemeLightmodeWcag=R2e;exports.BxEmpty=Wb;exports.BxFields=$_;exports.BxIcon=rt;exports.BxImageCropper=EC;exports.BxInput=Sl;exports.BxList=xC;exports.BxListItem=CC;exports.BxLiveTemplate=R_;exports.BxMenu=yC;exports.BxNumberInput=P_;exports.BxPopover=Kc;exports.BxPopup=Cl;exports.BxProgress=i0;exports.BxRadio=r2e;exports.BxRadioGroup=Jhe;exports.BxScrollbar=r4;exports.BxSelect=pi;exports.BxSlider=Oc;exports.BxSpin=ps;exports.BxStepper=dme;exports.BxSwitch=tme;exports.BxTab=Whe;exports.BxTabs=Xv;exports.BxTag=Ome;exports.BxTemplateEditor=gE;exports.BxTooltip=l0;exports.BxUpload=cC;exports.CSS_COLOR_NAMES=Yv;exports.CircularProgress=Z_;exports.CollectionFieldPopup=Fue;exports.DIN_LEVELS=y4;exports.ExportAnalytics=sE;exports.FACE_VERTICAL_ANCHOR=IC;exports.FieldIcons=e4;exports.GLOBAL_APP_WRAPPER_CLASS=az;exports.GLOBAL_APP_WRAPPER_SELECTOR=Ss;exports.LEGACY_BRIDGE=f4;exports.MIN_FACE_SCORE=zC;exports.MapboxMap=Gv;exports.OTHER_CATEGORY=ez;exports.RichText=yge;exports.SEMANTIC_PREFIX=Od;exports.SEMANTIC_TOKEN_GROUPS=p2e;exports.SEMANTIC_TOKEN_NAMES=ld;exports.STATUS_BASES=DE;exports.SlidesNavigation=V_;exports.THEME_HOUSE_PRESETS=m2e;exports.THEME_PRESETS=$E;exports.Tabs=nge;exports.TemplateView=F_;exports.UserAvatar=TE;exports.UserInfo=J2e;exports.anyTextToRichText=uC;exports.applyAutoCrop=LC;exports.applyColorMatricesToImage=IZ;exports.applyColorMatrix=BZ;exports.applyColorMatrixToColor=jx;exports.applyTheme=N2e;exports.aspectRatio=rz;exports.aspectRatioStr=nz;exports.collectPortalCategories=wge;exports.convertDeprecatedField=N_;exports.cropImage=aE;exports.cropToVisibleBBox=Fx;exports.cssFontsCache=t1;exports.cyrb53=I_;exports.cyrb53ToHex=A_;exports.dinPixels=oge;exports.exportSVGDocument=Dg;exports.extractHost=Ad;exports.fetchWithProgress=F2e;exports.fetchWithProgressV1=HE;exports.flattenFieldTable=w_;exports.flattenFields=x_;exports.getDefaultValueForFieldModel=k_;exports.getFieldDescription=gm;exports.getFieldsDescription=lp;exports.getInitials=ME;exports.getRawText=K1;exports.getTemplateAspectRatioHumanReadable=xge;exports.getTemplateLiveUrl=o2e;exports.getTemplatePreviewUrl=a2e;exports.getTemplateSerialUrl=OE;exports.getThemeStyle=m4;exports.getVisibleBBox=Rx;exports.groupFeatureByLinebreaks=Y1;exports.groupPortalItemsByCategory=tz;exports.groupTemplatesByName=nb;exports.hasFaceDetector=BC;exports.hslToRgb=cp;exports.identifyDin=YE;exports.imageInfo=wc;exports.imagesCache=r1;exports.initEmbeds=WE;exports.initInputModality=D_;exports.injectPortal=lC;exports.isDark=z_;exports.isMultiCanvasTemplateDescriptor=QE;exports.looksLikeThemeInput=p4;exports.modelField=Qle;exports.normalizeAdjust=J1;exports.normalizeCrop=SC;exports.optimizePreviewUrl=PE;exports.parseColor=ic;exports.rasterize=AZ;exports.realizeField=tce;exports.renderFieldIcon=__;exports.renderSVG=W1;exports.resolveAssetUrl=ui;exports.resolveCSSFontFile=$x;exports.resolveImage=Dx;exports.resolveTheme=UE;exports.resolveThemeStyle=D2e;exports.rgbToHex=Kv;exports.rgbToHsv=v1;exports.rgba=t4;exports.setFaceDetector=wY;exports.setInputModality=Due;exports.solveAutoCrop=AC;exports.stringToHslColor=B_;exports.stringifyField=rce;exports.textIsInUnicodeRange=Tx;exports.themeColor=A2e;exports.themeInputFromLegacyCustomStyle=ZE;exports.themeToCssText=$2e;exports.themeToCssVars=k0;exports.toHex2=Zu;exports.ungroupFeaturesDividedByLinebreaks=Hb;exports.useAssetProxy=vs;exports.useAudioPlayback=Lve;exports.useFields=S_;exports.useMobileFields=C_;exports.usePopup=Kp;exports.useTheme=Hu;exports.useThemeV2=qE;exports.useUpload=yp;exports.waitUntil=f2e;