@pod-os/elements 0.37.0-rc.c8b54d1.0 → 0.37.0

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.
Files changed (144) hide show
  1. package/dist/cjs/{chunk.URTPIBTY-DdK9pL5v.js → chunk.URTPIBTY-DcQsb_nW.js} +2 -2
  2. package/dist/cjs/{chunk.XQ2OKYYA-DEkhm1i7.js → chunk.XQ2OKYYA-D224sdKt.js} +3 -3
  3. package/dist/cjs/{chunk.ZGGPD2XJ-uKZZdqOH.js → chunk.ZGGPD2XJ-Cj6xUx2M.js} +1 -1
  4. package/dist/cjs/{class-map-DAZXfKKA.js → class-map-Nx8L8ElN.js} +1 -1
  5. package/dist/cjs/elements.cjs.js +3 -3
  6. package/dist/cjs/{index-DCpu_nnH.js → index-Be_lnf0w.js} +547 -2001
  7. package/dist/cjs/{index-FUnpyb19.js → index-OR1wNkjG.js} +1052 -489
  8. package/dist/cjs/{jsonld-V2RB47OZ-BerQ9IRa.js → jsonld-V2RB47OZ-B82QNsYZ.js} +1 -1
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/pos-add-literal-value_3.cjs.entry.js +6 -6
  11. package/dist/cjs/{pos-add-new-thing_31.cjs.entry.js → pos-add-new-thing_32.cjs.entry.js} +411 -227
  12. package/dist/cjs/pos-app-document-viewer.cjs.entry.js +1 -1
  13. package/dist/cjs/pos-app-generic.cjs.entry.js +1 -1
  14. package/dist/cjs/pos-app-image-viewer.cjs.entry.js +1 -1
  15. package/dist/cjs/pos-app-ldp-container.cjs.entry.js +1 -1
  16. package/dist/cjs/pos-app-rdf-document.cjs.entry.js +1 -1
  17. package/dist/cjs/pos-attachments.cjs.entry.js +2 -2
  18. package/dist/cjs/pos-case.cjs.entry.js +24 -0
  19. package/dist/cjs/pos-container-contents.cjs.entry.js +13 -4
  20. package/dist/cjs/pos-container-item_3.cjs.entry.js +4 -4
  21. package/dist/cjs/pos-document.cjs.entry.js +4 -4
  22. package/dist/cjs/pos-list.cjs.entry.js +1 -1
  23. package/dist/cjs/pos-markdown-document.cjs.entry.js +442 -2327
  24. package/dist/cjs/pos-relations_2.cjs.entry.js +1 -1
  25. package/dist/cjs/pos-subjects.cjs.entry.js +2 -2
  26. package/dist/cjs/pos-switch.cjs.entry.js +64 -0
  27. package/dist/cjs/pos-tool-attachments.cjs.entry.js +2 -2
  28. package/dist/cjs/pos-value.cjs.entry.js +1 -1
  29. package/dist/collection/collection-manifest.json +5 -1
  30. package/dist/collection/components/pos-app/pos-app.js +2 -1
  31. package/dist/collection/components/pos-attachments/pos-attachments.js +2 -1
  32. package/dist/collection/components/pos-container-contents/pos-container-contents.js +10 -1
  33. package/dist/collection/components/pos-container-contents/pos-create-new-container-item/pos-create-new-container-item.js +4 -2
  34. package/dist/collection/components/pos-markdown-document/pos-markdown-document.js +2 -1
  35. package/dist/collection/components/pos-navigation/bar/pos-navigation-bar.css +42 -22
  36. package/dist/collection/components/pos-navigation/bar/pos-navigation-bar.js +3 -2
  37. package/dist/collection/components/pos-new-thing-form/pos-new-thing-form.js +1 -1
  38. package/dist/collection/components/pos-router/pos-router.js +1 -1
  39. package/dist/collection/components/pos-select-term/pos-select-term.js +1 -1
  40. package/dist/collection/components/pos-share/openNewTab.js +3 -0
  41. package/dist/collection/components/pos-share/pos-share.css +36 -0
  42. package/dist/collection/components/pos-share/pos-share.js +111 -0
  43. package/dist/collection/components/pos-switch/pos-case/pos-case.js +88 -0
  44. package/dist/collection/components/pos-switch/pos-switch.js +89 -0
  45. package/dist/collection/components/pos-tool-select/pos-tool-select.js +6 -3
  46. package/dist/collection/components/pos-upload/pos-upload.js +7 -4
  47. package/dist/collection/components/pos-user-menu/pos-user-menu.js +1 -1
  48. package/dist/collection/tools/pos-tool-attachments/pos-tool-attachments.js +1 -1
  49. package/dist/components/chunk.IVVHNXMC.js +20 -0
  50. package/dist/components/index.js +1 -1
  51. package/dist/components/index2.js +2 -2
  52. package/dist/components/pos-add-literal-value2.js +1 -1
  53. package/dist/components/pos-app-browser.js +1 -1
  54. package/dist/components/pos-attachments2.js +1 -1
  55. package/dist/components/pos-case.d.ts +11 -0
  56. package/dist/components/pos-case.js +1 -0
  57. package/dist/components/pos-container-contents2.js +1 -1
  58. package/dist/components/pos-make-findable2.js +1 -1
  59. package/dist/components/pos-markdown-document2.js +1 -1
  60. package/dist/components/pos-navigation-bar2.js +1 -1
  61. package/dist/components/pos-navigation2.js +1 -1
  62. package/dist/components/pos-new-thing-form2.js +1 -1
  63. package/dist/components/pos-router2.js +1 -1
  64. package/dist/components/pos-select-term2.js +1 -1
  65. package/dist/components/pos-share.d.ts +11 -0
  66. package/dist/components/pos-share.js +1 -0
  67. package/dist/components/pos-share2.js +1 -0
  68. package/dist/components/pos-switch.d.ts +11 -0
  69. package/dist/components/pos-switch.js +1 -0
  70. package/dist/components/pos-tool-attachments.js +1 -1
  71. package/dist/components/pos-tool-select2.js +1 -1
  72. package/dist/components/pos-type-index-entries2.js +1 -1
  73. package/dist/components/pos-upload2.js +12 -3
  74. package/dist/components/pos-user-menu2.js +6 -25
  75. package/dist/elements/elements.esm.js +1 -1
  76. package/dist/elements/{p-6561f1b7.entry.js → p-03464a71.entry.js} +1 -1
  77. package/dist/elements/{p-52a612ed.entry.js → p-272209e3.entry.js} +1 -1
  78. package/dist/elements/{p-a9a18aa8.entry.js → p-38aa17bc.entry.js} +1 -1
  79. package/dist/elements/p-3a890f5f.entry.js +1 -0
  80. package/dist/elements/{p-9ad80b52.entry.js → p-4cd2f9da.entry.js} +1 -1
  81. package/dist/elements/{p-0e7413e6.entry.js → p-5126fb6e.entry.js} +1 -1
  82. package/dist/elements/p-53610ccd.entry.js +1 -0
  83. package/dist/elements/{p-b5d64c6f.entry.js → p-631976a8.entry.js} +1 -1
  84. package/dist/elements/{p-fe628201.entry.js → p-6d628d74.entry.js} +1 -1
  85. package/dist/elements/{p-b363349c.entry.js → p-7c3785d8.entry.js} +1 -1
  86. package/dist/elements/p-8934c5ea.entry.js +1 -0
  87. package/dist/elements/p-8e76e9dc.entry.js +1 -0
  88. package/dist/elements/{p-3e18b5dd.entry.js → p-9bf6c310.entry.js} +1 -1
  89. package/dist/elements/{p-Doy_38_j.js → p-BLUiM5OK.js} +1 -1
  90. package/dist/elements/{p-BkAnMOpW.js → p-CSTMd_cW.js} +2 -2
  91. package/dist/elements/{p-CrxYqX8r.js → p-CVwgVrbO.js} +7 -7
  92. package/dist/elements/{p-8ggjG2YF.js → p-CnIOZlf7.js} +1 -1
  93. package/dist/elements/p-DHl0QGLf.js +67 -0
  94. package/dist/elements/p-DzbCx-pP.js +2 -0
  95. package/dist/elements/{p-c8ee910c.entry.js → p-a1dd6b42.entry.js} +1 -1
  96. package/dist/elements/p-ab4eba43.entry.js +859 -0
  97. package/dist/elements/{p-dff14248.entry.js → p-c7032012.entry.js} +1 -1
  98. package/dist/elements/{p-a20b72d8.entry.js → p-d396cc56.entry.js} +1 -1
  99. package/dist/elements/p-dc4c38c8.entry.js +1 -0
  100. package/dist/elements/{p-0a087865.entry.js → p-e0660718.entry.js} +1 -1
  101. package/dist/elements/{p-8q-RA2Uq.js → p-mIPOXLnA.js} +3 -3
  102. package/dist/esm/{chunk.URTPIBTY-CNA3-SLq.js → chunk.URTPIBTY-yxgfEQ1K.js} +2 -2
  103. package/dist/esm/{chunk.XQ2OKYYA-CXNlpYUG.js → chunk.XQ2OKYYA-Cr3bMzqn.js} +3 -3
  104. package/dist/esm/{chunk.ZGGPD2XJ-BjT6fS1o.js → chunk.ZGGPD2XJ-SJISSXOc.js} +1 -1
  105. package/dist/esm/{class-map-CUYFUkXU.js → class-map-DEweE_Cr.js} +1 -1
  106. package/dist/esm/elements.js +4 -4
  107. package/dist/esm/{index-DFqG64hG.js → index-CXK32bJz.js} +1052 -489
  108. package/dist/esm/{index-VMHzF3uY.js → index-DzbCx-pP.js} +547 -2001
  109. package/dist/esm/{jsonld-V2RB47OZ-CaIJ08AA.js → jsonld-V2RB47OZ-BbN7F0s8.js} +1 -1
  110. package/dist/esm/loader.js +3 -3
  111. package/dist/esm/pos-add-literal-value_3.entry.js +6 -6
  112. package/dist/esm/{pos-add-new-thing_31.entry.js → pos-add-new-thing_32.entry.js} +411 -228
  113. package/dist/esm/pos-app-document-viewer.entry.js +1 -1
  114. package/dist/esm/pos-app-generic.entry.js +1 -1
  115. package/dist/esm/pos-app-image-viewer.entry.js +1 -1
  116. package/dist/esm/pos-app-ldp-container.entry.js +1 -1
  117. package/dist/esm/pos-app-rdf-document.entry.js +1 -1
  118. package/dist/esm/pos-attachments.entry.js +2 -2
  119. package/dist/esm/pos-case.entry.js +22 -0
  120. package/dist/esm/pos-container-contents.entry.js +12 -3
  121. package/dist/esm/pos-container-item_3.entry.js +4 -4
  122. package/dist/esm/pos-document.entry.js +4 -4
  123. package/dist/esm/pos-list.entry.js +1 -1
  124. package/dist/esm/pos-markdown-document.entry.js +442 -2327
  125. package/dist/esm/pos-relations_2.entry.js +1 -1
  126. package/dist/esm/pos-subjects.entry.js +2 -2
  127. package/dist/esm/pos-switch.entry.js +62 -0
  128. package/dist/esm/pos-tool-attachments.entry.js +2 -2
  129. package/dist/esm/pos-value.entry.js +1 -1
  130. package/dist/jest-setup.js +4 -0
  131. package/dist/types/components/pos-container-contents/pos-container-contents.d.ts +2 -0
  132. package/dist/types/components/pos-share/openNewTab.d.ts +1 -0
  133. package/dist/types/components/pos-share/pos-share.d.ts +28 -0
  134. package/dist/types/components/pos-switch/pos-case/pos-case.d.ts +22 -0
  135. package/dist/types/components/pos-switch/pos-switch.d.ts +19 -0
  136. package/dist/types/components.d.ts +300 -74
  137. package/dist/types/stencil-public-runtime.d.ts +52 -2
  138. package/package.json +13 -12
  139. package/dist/elements/p-637a38d9.entry.js +0 -1
  140. package/dist/elements/p-701f2c84.entry.js +0 -850
  141. package/dist/elements/p-9b74c400.entry.js +0 -1
  142. package/dist/elements/p-LoCE14bN.js +0 -67
  143. package/dist/elements/p-VMHzF3uY.js +0 -2
  144. package/dist/elements/p-ac17ed6a.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as t,b as e,i,c as n,_ as o,n as r,S as s,x as a,w as l}from"./p-CrxYqX8r.js";import{e as c}from"./p-8ggjG2YF.js";
1
+ import{a as t,b as e,i,c as n,_ as o,n as r,S as s,x as a,w as l}from"./p-CVwgVrbO.js";import{e as c}from"./p-CnIOZlf7.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
@@ -67,7 +67,7 @@ function h(t){return(e,i)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.
67
67
  var(--hover-bridge-bottom-left-x, 0) var(--hover-bridge-bottom-left-y, 0)
68
68
  );
69
69
  }
70
- `;const R=Math.min,_=Math.max,E=Math.round,N=Math.floor,j=t=>({x:t,y:t}),D={left:"right",right:"left",bottom:"top",top:"bottom"},M={start:"end",end:"start"};function L(t,e,i){return _(t,R(e,i))}function H(t,e){return"function"==typeof t?t(e):t}function I(t){return t.split("-")[0]}function q(t){return t.split("-")[1]}function W(t){return"x"===t?"y":"x"}function Y(t){return"y"===t?"height":"width"}const U=new Set(["top","bottom"]);function G(t){return U.has(I(t))?"y":"x"}function V(t){return W(G(t))}function X(t){return t.replace(/start|end/g,(t=>M[t]))}const J=["left","right"],K=["right","left"],Q=["top","bottom"],Z=["bottom","top"];function tt(t){return t.replace(/left|right|bottom|top/g,(t=>D[t]))}function et(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function it(t){const{x:e,y:i,width:n,height:o}=t;return{width:n,height:o,top:i,left:e,right:e+n,bottom:i+o,x:e,y:i}}function nt(t,e,i){let{reference:n,floating:o}=t;const r=G(e),s=V(e),a=Y(s),l=I(e),c="y"===r,h=n.x+n.width/2-o.width/2,u=n.y+n.height/2-o.height/2,p=n[a]/2-o[a]/2;let d;switch(l){case"top":d={x:h,y:n.y-o.height};break;case"bottom":d={x:h,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:u};break;case"left":d={x:n.x-o.width,y:u};break;default:d={x:n.x,y:n.y}}switch(q(e)){case"start":d[s]-=p*(i&&c?-1:1);break;case"end":d[s]+=p*(i&&c?-1:1)}return d}async function ot(t,e){var i;void 0===e&&(e={});const{x:n,y:o,platform:r,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:p=!1,padding:d=0}=H(e,t),f=et(d),m=a[p?"floating"===u?"reference":"floating":u],g=it(await r.getClippingRect({element:null==(i=await(null==r.isElement?void 0:r.isElement(m)))||i?m:m.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(a.floating)),boundary:c,rootBoundary:h,strategy:l})),y="floating"===u?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(null==r.getOffsetParent?void 0:r.getOffsetParent(a.floating)),v=await(null==r.isElement?void 0:r.isElement(b))&&await(null==r.getScale?void 0:r.getScale(b))||{x:1,y:1},w=it(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:b,strategy:l}):y);return{top:(g.top-w.top+f.top)/v.y,bottom:(w.bottom-g.bottom+f.bottom)/v.y,left:(g.left-w.left+f.left)/v.x,right:(w.right-g.right+f.right)/v.x}}const rt=new Set(["left","top"]);function st(){return"undefined"!=typeof window}function at(t){return ht(t)?(t.nodeName||"").toLowerCase():"#document"}function lt(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function ct(t){var e;return null==(e=(ht(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function ht(t){return!!st()&&(t instanceof Node||t instanceof lt(t).Node)}function ut(t){return!!st()&&(t instanceof Element||t instanceof lt(t).Element)}function pt(t){return!!st()&&(t instanceof HTMLElement||t instanceof lt(t).HTMLElement)}function dt(t){return!(!st()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof lt(t).ShadowRoot)}const ft=new Set(["inline","contents"]);function mt(t){const{overflow:e,overflowX:i,overflowY:n,display:o}=At(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+i)&&!ft.has(o)}const gt=new Set(["table","td","th"]);function yt(t){return gt.has(at(t))}const bt=[":popover-open",":modal"];function vt(t){return bt.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}const wt=["transform","translate","scale","rotate","perspective"],xt=["transform","translate","scale","rotate","perspective","filter"],St=["paint","layout","strict","content"];function $t(t){const e=zt(),i=ut(t)?At(t):t;return wt.some((t=>!!i[t]&&"none"!==i[t]))||!!i.containerType&&"normal"!==i.containerType||!e&&!!i.backdropFilter&&"none"!==i.backdropFilter||!e&&!!i.filter&&"none"!==i.filter||xt.some((t=>(i.willChange||"").includes(t)))||St.some((t=>(i.contain||"").includes(t)))}function zt(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const kt=new Set(["html","body","#document"]);function Ct(t){return kt.has(at(t))}function At(t){return lt(t).getComputedStyle(t)}function Ot(t){return ut(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Pt(t){if("html"===at(t))return t;const e=t.assignedSlot||t.parentNode||dt(t)&&t.host||ct(t);return dt(e)?e.host:e}function Ft(t){const e=Pt(t);return Ct(e)?t.ownerDocument?t.ownerDocument.body:t.body:pt(e)&&mt(e)?e:Ft(e)}function Tt(t,e,i){var n;void 0===e&&(e=[]),void 0===i&&(i=!0);const o=Ft(t),r=o===(null==(n=t.ownerDocument)?void 0:n.body),s=lt(o);if(r){const t=Bt(s);return e.concat(s,s.visualViewport||[],mt(o)?o:[],t&&i?Tt(t):[])}return e.concat(o,Tt(o,[],i))}function Bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Rt(t){const e=At(t);let i=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const o=pt(t),r=o?t.offsetWidth:i,s=o?t.offsetHeight:n,a=E(i)!==r||E(n)!==s;return a&&(i=r,n=s),{width:i,height:n,$:a}}function _t(t){return ut(t)?t:t.contextElement}function Et(t){const e=_t(t);if(!pt(e))return j(1);const i=e.getBoundingClientRect(),{width:n,height:o,$:r}=Rt(e);let s=(r?E(i.width):i.width)/n,a=(r?E(i.height):i.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Nt=j(0);function jt(t){const e=lt(t);return zt()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Nt}function Dt(t,e,i,n){void 0===e&&(e=!1),void 0===i&&(i=!1);const o=t.getBoundingClientRect(),r=_t(t);let s=j(1);e&&(n?ut(n)&&(s=Et(n)):s=Et(t));const a=function(t,e,i){return void 0===e&&(e=!1),!(!i||e&&i!==lt(t))&&e}(r,i,n)?jt(r):j(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,h=o.width/s.x,u=o.height/s.y;if(r){const t=lt(r),e=n&&ut(n)?lt(n):n;let i=t,o=Bt(i);for(;o&&n&&e!==i;){const t=Et(o),e=o.getBoundingClientRect(),n=At(o),r=e.left+(o.clientLeft+parseFloat(n.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(n.paddingTop))*t.y;l*=t.x,c*=t.y,h*=t.x,u*=t.y,l+=r,c+=s,i=lt(o),o=Bt(i)}}return it({width:h,height:u,x:l,y:c})}function Mt(t,e){const i=Ot(t).scrollLeft;return e?e.left+i:Dt(ct(t)).left+i}function Lt(t,e,i){void 0===i&&(i=!1);const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-(i?0:Mt(t,n)),y:n.top+e.scrollTop}}const Ht=new Set(["absolute","fixed"]);function It(t,e,i){let n;if("viewport"===e)n=function(t,e){const i=lt(t),n=ct(t),o=i.visualViewport;let r=n.clientWidth,s=n.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;const t=zt();(!t||t&&"fixed"===e)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a,y:l}}(t,i);else if("document"===e)n=function(t){const e=ct(t),i=Ot(t),n=t.ownerDocument.body,o=_(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),r=_(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-i.scrollLeft+Mt(t);const a=-i.scrollTop;return"rtl"===At(n).direction&&(s+=_(e.clientWidth,n.clientWidth)-o),{width:o,height:r,x:s,y:a}}(ct(t));else if(ut(e))n=function(t,e){const i=Dt(t,!0,"fixed"===e),n=i.top+t.clientTop,o=i.left+t.clientLeft,r=pt(t)?Et(t):j(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:o*r.x,y:n*r.y}}(e,i);else{const i=jt(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return it(n)}function qt(t,e){const i=Pt(t);return!(i===e||!ut(i)||Ct(i))&&("fixed"===At(i).position||qt(i,e))}function Wt(t,e,i){const n=pt(e),o=ct(e),r="fixed"===i,s=Dt(t,!0,r,e);let a={scrollLeft:0,scrollTop:0};const l=j(0);function c(){l.x=Mt(o)}if(n||!n&&!r)if(("body"!==at(e)||mt(o))&&(a=Ot(e)),n){const t=Dt(e,!0,r,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else o&&c();r&&!n&&o&&c();const h=!o||n||r?j(0):Lt(o,a);return{x:s.left+a.scrollLeft-l.x-h.x,y:s.top+a.scrollTop-l.y-h.y,width:s.width,height:s.height}}function Yt(t){return"static"===At(t).position}function Ut(t,e){if(!pt(t)||"fixed"===At(t).position)return null;if(e)return e(t);let i=t.offsetParent;return ct(t)===i&&(i=i.ownerDocument.body),i}function Gt(t,e){const i=lt(t);if(vt(t))return i;if(!pt(t)){let e=Pt(t);for(;e&&!Ct(e);){if(ut(e)&&!Yt(e))return e;e=Pt(e)}return i}let n=Ut(t,e);for(;n&&yt(n)&&Yt(n);)n=Ut(n,e);return n&&Ct(n)&&Yt(n)&&!$t(n)?i:n||function(t){let e=Pt(t);for(;pt(e)&&!Ct(e);){if($t(e))return e;if(vt(e))return null;e=Pt(e)}return null}(t)||i}const Vt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:i,offsetParent:n,strategy:o}=t;const r="fixed"===o,s=ct(n),a=!!e&&vt(e.floating);if(n===s||a&&r)return i;let l={scrollLeft:0,scrollTop:0},c=j(1);const h=j(0),u=pt(n);if((u||!u&&!r)&&(("body"!==at(n)||mt(s))&&(l=Ot(n)),pt(n))){const t=Dt(n);c=Et(n),h.x=t.x+n.clientLeft,h.y=t.y+n.clientTop}const p=!s||u||r?j(0):Lt(s,l,!0);return{width:i.width*c.x,height:i.height*c.y,x:i.x*c.x-l.scrollLeft*c.x+h.x+p.x,y:i.y*c.y-l.scrollTop*c.y+h.y+p.y}},getDocumentElement:ct,getClippingRect:function(t){let{element:e,boundary:i,rootBoundary:n,strategy:o}=t;const r=[..."clippingAncestors"===i?vt(e)?[]:function(t,e){const i=e.get(t);if(i)return i;let n=Tt(t,[],!1).filter((t=>ut(t)&&"body"!==at(t))),o=null;const r="fixed"===At(t).position;let s=r?Pt(t):t;for(;ut(s)&&!Ct(s);){const e=At(s),i=$t(s);i||"fixed"!==e.position||(o=null),(r?!i&&!o:!i&&"static"===e.position&&o&&Ht.has(o.position)||mt(s)&&!i&&qt(t,s))?n=n.filter((t=>t!==s)):o=e,s=Pt(s)}return e.set(t,n),n}(e,this._c):[].concat(i),n],s=r.reduce(((t,i)=>{const n=It(e,i,o);return t.top=_(n.top,t.top),t.right=R(n.right,t.right),t.bottom=R(n.bottom,t.bottom),t.left=_(n.left,t.left),t}),It(e,r[0],o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Gt,getElementRects:async function(t){const e=this.getOffsetParent||Gt,i=this.getDimensions,n=await i(t.floating);return{reference:Wt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:i}=Rt(t);return{width:e,height:i}},getScale:Et,isElement:ut,isRTL:function(t){return"rtl"===At(t).direction}};function Xt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const Jt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var i,n;const{placement:o,middlewareData:r,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...g}=H(t,e);if(null!=(i=r.arrow)&&i.alignmentOffset)return{};const y=I(o),b=G(a),v=I(a)===a,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=p||(v||!m?[tt(a)]:function(t){const e=tt(t);return[X(t),e,X(e)]}(a)),S="none"!==f;!p&&S&&x.push(...function(t,e,i,n){const o=q(t);let r=function(t,e,i){switch(t){case"top":case"bottom":return i?e?K:J:e?J:K;case"left":case"right":return e?Q:Z;default:return[]}}(I(t),"start"===i,n);return o&&(r=r.map((t=>t+"-"+o)),e&&(r=r.concat(r.map(X)))),r}(a,m,f,w));const $=[a,...x],z=await ot(e,g),k=[];let C=(null==(n=r.flip)?void 0:n.overflows)||[];if(h&&k.push(z[y]),u){const t=function(t,e,i){void 0===i&&(i=!1);const n=q(t),o=V(t),r=Y(o);let s="x"===o?n===(i?"end":"start")?"right":"left":"start"===n?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=tt(s)),[s,tt(s)]}(o,s,w);k.push(z[t[0]],z[t[1]])}if(C=[...C,{placement:o,overflows:k}],!k.every((t=>t<=0))){var A,O;const t=((null==(A=r.flip)?void 0:A.index)||0)+1,e=$[t];if(e&&("alignment"!==u||b===G(e)||C.every((t=>t.overflows[0]>0&&G(t.placement)===b))))return{data:{index:t,overflows:C},reset:{placement:e}};let i=null==(O=C.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:O.placement;if(!i)switch(d){case"bestFit":{var P;const t=null==(P=C.filter((t=>{if(S){const e=G(t.placement);return e===b||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:P[0];t&&(i=t);break}case"initialPlacement":i=a}if(o!==i)return{reset:{placement:i}}}return{}}}},Kt=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var i,n;const{placement:o,rects:r,platform:s,elements:a}=e,{apply:l=()=>{},...c}=H(t,e),h=await ot(e,c),u=I(o),p=q(o),d="y"===G(o),{width:f,height:m}=r.floating;let g,y;"top"===u||"bottom"===u?(g=u,y=p===(await(null==s.isRTL?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(y=u,g="end"===p?"top":"bottom");const b=m-h.top-h.bottom,v=f-h.left-h.right;let w=R(m-h[g],b),x=R(f-h[y],v);if(null!=(i=e.middlewareData.shift)&&i.enabled.x&&(x=v),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(w=b),!e.middlewareData.shift&&!p){const t=_(h.left,0),e=_(h.right,0),i=_(h.top,0),n=_(h.bottom,0);d?x=f-2*(0!==t||0!==e?t+e:_(h.left,h.right)):w=m-2*(0!==i||0!==n?i+n:_(h.top,h.bottom))}await l({...e,availableWidth:x,availableHeight:w});const S=await s.getDimensions(a.floating);return f!==S.width||m!==S.height?{reset:{rects:!0}}:{}}}};function Qt(t){return function(t){for(let e=t;e;e=Zt(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Zt(t);e;e=Zt(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||$t(t))return e;if("BODY"===e.tagName)return e}}return null}(t)}function Zt(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var te=class extends s{constructor(){super(...arguments),this.localize=new S(this),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0,this.hoverBridge=!1,this.updateHoverBridge=()=>{if(this.hoverBridge&&this.anchorEl){const t=this.anchorEl.getBoundingClientRect(),e=this.popup.getBoundingClientRect();let i=0,n=0,o=0,r=0,s=0,a=0,l=0,c=0;this.placement.includes("top")||this.placement.includes("bottom")?t.top<e.top?(i=t.left,n=t.bottom,o=t.right,r=t.bottom,s=e.left,a=e.top,l=e.right,c=e.top):(i=e.left,n=e.bottom,o=e.right,r=e.bottom,s=t.left,a=t.top,l=t.right,c=t.top):t.left<e.left?(i=t.right,n=t.top,o=e.left,r=e.top,s=t.right,a=t.bottom,l=e.left,c=e.bottom):(i=e.right,n=e.top,o=t.left,r=t.top,s=e.right,a=e.bottom,l=t.left,c=t.bottom),this.style.setProperty("--hover-bridge-top-left-x",`${i}px`),this.style.setProperty("--hover-bridge-top-left-y",`${n}px`),this.style.setProperty("--hover-bridge-top-right-x",`${o}px`),this.style.setProperty("--hover-bridge-top-right-y",`${r}px`),this.style.setProperty("--hover-bridge-bottom-left-x",`${s}px`),this.style.setProperty("--hover-bridge-bottom-left-y",`${a}px`),this.style.setProperty("--hover-bridge-bottom-right-x",`${l}px`),this.style.setProperty("--hover-bridge-bottom-right-y",`${c}px`)}}}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){super.disconnectedCallback(),this.stop()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&"string"==typeof this.anchor){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchorEl=this.anchor instanceof Element||function(t){return null!==t&&"object"==typeof t&&"getBoundingClientRect"in t&&(!("contextElement"in t)||t.contextElement instanceof Element)}(this.anchor)?this.anchor:this.querySelector('[slot="anchor"]');this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),this.anchorEl&&this.active&&this.start()}start(){this.anchorEl&&this.active&&(this.cleanup=function(t,e,i,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=_t(t),h=o||r?[...c?Tt(c):[],...Tt(e)]:[];h.forEach((t=>{o&&t.addEventListener("scroll",i,{passive:!0}),r&&t.addEventListener("resize",i)}));const u=c&&a?function(t,e){let i,n=null;const o=ct(t);function r(){var t;clearTimeout(i),null==(t=n)||t.disconnect(),n=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),r();const c=t.getBoundingClientRect(),{left:h,top:u,width:p,height:d}=c;if(a||e(),!p||!d)return;const f={rootMargin:-N(u)+"px "+-N(o.clientWidth-(h+p))+"px "+-N(o.clientHeight-(u+d))+"px "+-N(h)+"px",threshold:_(0,R(1,l))||1};let m=!0;function g(e){const n=e[0].intersectionRatio;if(n!==l){if(!m)return s();n?s(!1,n):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==n||Xt(c,t.getBoundingClientRect())||s(),m=!1}try{n=new IntersectionObserver(g,{...f,root:o.ownerDocument})}catch(t){n=new IntersectionObserver(g,f)}n.observe(t)}(!0),r}(c,i):null;let p,d=-1,f=null;s&&(f=new ResizeObserver((t=>{let[n]=t;n&&n.target===c&&f&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame((()=>{var t;null==(t=f)||t.observe(e)}))),i()})),c&&!l&&f.observe(c),f.observe(e));let m=l?Dt(t):null;return l&&function e(){const n=Dt(t);m&&!Xt(m,n)&&i(),m=n,p=requestAnimationFrame(e)}(),i(),()=>{var t;h.forEach((t=>{o&&t.removeEventListener("scroll",i),r&&t.removeEventListener("resize",i)})),null==u||u(),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(p)}}(this.anchorEl,this.popup,(()=>{this.reposition()})))}async stop(){return new Promise((t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame((()=>t()))):t()}))}reposition(){if(!this.active||!this.anchorEl)return;const i=[(n={mainAxis:this.distance,crossAxis:this.skidding},void 0===n&&(n=0),{name:"offset",options:n,async fn(t){var e,i;const{x:o,y:r,placement:s,middlewareData:a}=t,l=await async function(t,e){const{placement:i,platform:n,elements:o}=t,r=await(null==n.isRTL?void 0:n.isRTL(o.floating)),s=I(i),a=q(i),l="y"===G(i),c=rt.has(s)?-1:1,h=r&&l?-1:1,u=H(e,t);let{mainAxis:p,crossAxis:d,alignmentAxis:f}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof f&&(d="end"===a?-1*f:f),l?{x:d*h,y:p*c}:{x:p*c,y:d*h}}(t,n);return s===(null==(e=a.offset)?void 0:e.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:o+l.x,y:r+l.y,data:{...l,placement:s}}}})];var n;this.sync?i.push(Kt({apply:({rects:t})=>{const e="height"===this.sync||"both"===this.sync;this.popup.style.width="width"===this.sync||"both"===this.sync?`${t.reference.width}px`:"",this.popup.style.height=e?`${t.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&i.push(Jt({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:"best-fit"===this.flipFallbackStrategy?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&i.push(function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:i,y:n,placement:o}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:i}=t;return{x:e,y:i}}},...l}=H(t,e),c={x:i,y:n},h=await ot(e,l),u=G(I(o)),p=W(u);let d=c[p],f=c[u];r&&(d=L(d+h["y"===p?"top":"left"],d,d-h["y"===p?"bottom":"right"])),s&&(f=L(f+h["y"===u?"top":"left"],f,f-h["y"===u?"bottom":"right"]));const m=a.fn({...e,[p]:d,[u]:f});return{...m,data:{x:m.x-i,y:m.y-n,enabled:{[p]:r,[u]:s}}}}}}({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?i.push(Kt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:t,availableHeight:e})=>{"vertical"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-height",`${e}px`):this.style.removeProperty("--auto-size-available-height"),"horizontal"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-width",`${t}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&i.push((t=>({name:"arrow",options:t,async fn(e){const{x:i,y:n,placement:o,rects:r,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:h=0}=H(t,e)||{};if(null==c)return{};const u=et(h),p={x:i,y:n},d=V(o),f=Y(d),m=await s.getDimensions(c),g="y"===d,y=g?"top":"left",b=g?"bottom":"right",v=g?"clientHeight":"clientWidth",w=r.reference[f]+r.reference[d]-p[d]-r.floating[f],x=p[d]-r.reference[d],S=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let $=S?S[v]:0;$&&await(null==s.isElement?void 0:s.isElement(S))||($=a.floating[v]||r.floating[f]);const z=w/2-x/2,k=$/2-m[f]/2-1,C=R(u[y],k),A=R(u[b],k),O=C,P=$-m[f]-A,F=$/2-m[f]/2+z,T=L(O,F,P),B=!l.arrow&&null!=q(o)&&F!==T&&r.reference[f]/2-(F<O?C:A)-m[f]/2<0,_=B?F<O?F-O:F-P:0;return{[d]:p[d]+_,data:{[d]:T,centerOffset:F-T-_,...B&&{alignmentOffset:_}},reset:B}}}))({element:this.arrowEl,padding:this.arrowPadding}));const o="absolute"===this.strategy?t=>Vt.getOffsetParent(t,Qt):Vt.getOffsetParent;((t,e,i)=>{const n=new Map,o={platform:Vt,...i},r={...o.platform,_c:n};return(async(t,e,i)=>{const{placement:n="bottom",strategy:o="absolute",middleware:r=[],platform:s}=i,a=r.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:h,y:u}=nt(c,n,l),p=n,d={},f=0;for(let i=0;i<a.length;i++){const{name:r,fn:m}=a[i],{x:g,y,data:b,reset:v}=await m({x:h,y:u,initialPlacement:n,placement:p,strategy:o,middlewareData:d,rects:c,platform:s,elements:{reference:t,floating:e}});h=null!=g?g:h,u=null!=y?y:u,d={...d,[r]:{...d[r],...b}},v&&f<=50&&(f++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await s.getElementRects({reference:t,floating:e,strategy:o}):v.rects),({x:h,y:u}=nt(c,p,l))),i=-1)}return{x:h,y:u,placement:p,strategy:o,middlewareData:d}})(t,e,{...o,platform:r})})(this.anchorEl,this.popup,{placement:this.placement,middleware:i,strategy:this.strategy,platform:t(e({},Vt),{getOffsetParent:o})}).then((({x:t,y:e,middlewareData:i,placement:n})=>{const o="rtl"===this.localize.dir(),r={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];if(this.setAttribute("data-current-placement",n),Object.assign(this.popup.style,{left:`${t}px`,top:`${e}px`}),this.arrow){const t=i.arrow.x,e=i.arrow.y;let n="",s="",a="",l="";if("start"===this.arrowPlacement){const i="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";n="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",s=o?i:"",l=o?"":i}else if("end"===this.arrowPlacement){const i="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";s=o?"":i,l=o?i:"",a="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else"center"===this.arrowPlacement?(l="number"==typeof t?"calc(50% - var(--arrow-size-diagonal))":"",n="number"==typeof e?"calc(50% - var(--arrow-size-diagonal))":""):(l="number"==typeof t?`${t}px`:"",n="number"==typeof e?`${e}px`:"");Object.assign(this.arrowEl.style,{top:n,right:s,bottom:a,left:l,[r]:"calc(var(--arrow-size-diagonal) * -1)"})}})),requestAnimationFrame((()=>this.updateHoverBridge())),this.emit("sl-reposition")}render(){return a`
70
+ `;const R=Math.min,_=Math.max,E=Math.round,N=Math.floor,j=t=>({x:t,y:t}),D={left:"right",right:"left",bottom:"top",top:"bottom"},M={start:"end",end:"start"};function L(t,e,i){return _(t,R(e,i))}function I(t,e){return"function"==typeof t?t(e):t}function H(t){return t.split("-")[0]}function W(t){return t.split("-")[1]}function q(t){return"x"===t?"y":"x"}function V(t){return"y"===t?"height":"width"}const U=new Set(["top","bottom"]);function Y(t){return U.has(H(t))?"y":"x"}function G(t){return q(Y(t))}function X(t){return t.replace(/start|end/g,(t=>M[t]))}const Z=["left","right"],J=["right","left"],K=["top","bottom"],Q=["bottom","top"];function tt(t){return t.replace(/left|right|bottom|top/g,(t=>D[t]))}function et(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function it(t){const{x:e,y:i,width:n,height:o}=t;return{width:n,height:o,top:i,left:e,right:e+n,bottom:i+o,x:e,y:i}}function nt(t,e,i){let{reference:n,floating:o}=t;const r=Y(e),s=G(e),a=V(s),l=H(e),c="y"===r,h=n.x+n.width/2-o.width/2,u=n.y+n.height/2-o.height/2,p=n[a]/2-o[a]/2;let d;switch(l){case"top":d={x:h,y:n.y-o.height};break;case"bottom":d={x:h,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:u};break;case"left":d={x:n.x-o.width,y:u};break;default:d={x:n.x,y:n.y}}switch(W(e)){case"start":d[s]-=p*(i&&c?-1:1);break;case"end":d[s]+=p*(i&&c?-1:1)}return d}async function ot(t,e){var i;void 0===e&&(e={});const{x:n,y:o,platform:r,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:p=!1,padding:d=0}=I(e,t),f=et(d),m=a[p?"floating"===u?"reference":"floating":u],g=it(await r.getClippingRect({element:null==(i=await(null==r.isElement?void 0:r.isElement(m)))||i?m:m.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(a.floating)),boundary:c,rootBoundary:h,strategy:l})),y="floating"===u?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(null==r.getOffsetParent?void 0:r.getOffsetParent(a.floating)),v=await(null==r.isElement?void 0:r.isElement(b))&&await(null==r.getScale?void 0:r.getScale(b))||{x:1,y:1},w=it(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:b,strategy:l}):y);return{top:(g.top-w.top+f.top)/v.y,bottom:(w.bottom-g.bottom+f.bottom)/v.y,left:(g.left-w.left+f.left)/v.x,right:(w.right-g.right+f.right)/v.x}}const rt=new Set(["left","top"]);function st(){return"undefined"!=typeof window}function at(t){return ht(t)?(t.nodeName||"").toLowerCase():"#document"}function lt(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function ct(t){var e;return null==(e=(ht(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function ht(t){return!!st()&&(t instanceof Node||t instanceof lt(t).Node)}function ut(t){return!!st()&&(t instanceof Element||t instanceof lt(t).Element)}function pt(t){return!!st()&&(t instanceof HTMLElement||t instanceof lt(t).HTMLElement)}function dt(t){return!(!st()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof lt(t).ShadowRoot)}const ft=new Set(["inline","contents"]);function mt(t){const{overflow:e,overflowX:i,overflowY:n,display:o}=At(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+i)&&!ft.has(o)}const gt=new Set(["table","td","th"]);function yt(t){return gt.has(at(t))}const bt=[":popover-open",":modal"];function vt(t){return bt.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}const wt=["transform","translate","scale","rotate","perspective"],xt=["transform","translate","scale","rotate","perspective","filter"],St=["paint","layout","strict","content"];function $t(t){const e=zt(),i=ut(t)?At(t):t;return wt.some((t=>!!i[t]&&"none"!==i[t]))||!!i.containerType&&"normal"!==i.containerType||!e&&!!i.backdropFilter&&"none"!==i.backdropFilter||!e&&!!i.filter&&"none"!==i.filter||xt.some((t=>(i.willChange||"").includes(t)))||St.some((t=>(i.contain||"").includes(t)))}function zt(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const kt=new Set(["html","body","#document"]);function Ct(t){return kt.has(at(t))}function At(t){return lt(t).getComputedStyle(t)}function Ot(t){return ut(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Pt(t){if("html"===at(t))return t;const e=t.assignedSlot||t.parentNode||dt(t)&&t.host||ct(t);return dt(e)?e.host:e}function Ft(t){const e=Pt(t);return Ct(e)?t.ownerDocument?t.ownerDocument.body:t.body:pt(e)&&mt(e)?e:Ft(e)}function Tt(t,e,i){var n;void 0===e&&(e=[]),void 0===i&&(i=!0);const o=Ft(t),r=o===(null==(n=t.ownerDocument)?void 0:n.body),s=lt(o);if(r){const t=Bt(s);return e.concat(s,s.visualViewport||[],mt(o)?o:[],t&&i?Tt(t):[])}return e.concat(o,Tt(o,[],i))}function Bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Rt(t){const e=At(t);let i=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const o=pt(t),r=o?t.offsetWidth:i,s=o?t.offsetHeight:n,a=E(i)!==r||E(n)!==s;return a&&(i=r,n=s),{width:i,height:n,$:a}}function _t(t){return ut(t)?t:t.contextElement}function Et(t){const e=_t(t);if(!pt(e))return j(1);const i=e.getBoundingClientRect(),{width:n,height:o,$:r}=Rt(e);let s=(r?E(i.width):i.width)/n,a=(r?E(i.height):i.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Nt=j(0);function jt(t){const e=lt(t);return zt()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Nt}function Dt(t,e,i,n){void 0===e&&(e=!1),void 0===i&&(i=!1);const o=t.getBoundingClientRect(),r=_t(t);let s=j(1);e&&(n?ut(n)&&(s=Et(n)):s=Et(t));const a=function(t,e,i){return void 0===e&&(e=!1),!(!i||e&&i!==lt(t))&&e}(r,i,n)?jt(r):j(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,h=o.width/s.x,u=o.height/s.y;if(r){const t=lt(r),e=n&&ut(n)?lt(n):n;let i=t,o=Bt(i);for(;o&&n&&e!==i;){const t=Et(o),e=o.getBoundingClientRect(),n=At(o),r=e.left+(o.clientLeft+parseFloat(n.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(n.paddingTop))*t.y;l*=t.x,c*=t.y,h*=t.x,u*=t.y,l+=r,c+=s,i=lt(o),o=Bt(i)}}return it({width:h,height:u,x:l,y:c})}function Mt(t,e){const i=Ot(t).scrollLeft;return e?e.left+i:Dt(ct(t)).left+i}function Lt(t,e,i){void 0===i&&(i=!1);const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-(i?0:Mt(t,n)),y:n.top+e.scrollTop}}const It=new Set(["absolute","fixed"]);function Ht(t,e,i){let n;if("viewport"===e)n=function(t,e){const i=lt(t),n=ct(t),o=i.visualViewport;let r=n.clientWidth,s=n.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;const t=zt();(!t||t&&"fixed"===e)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a,y:l}}(t,i);else if("document"===e)n=function(t){const e=ct(t),i=Ot(t),n=t.ownerDocument.body,o=_(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),r=_(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-i.scrollLeft+Mt(t);const a=-i.scrollTop;return"rtl"===At(n).direction&&(s+=_(e.clientWidth,n.clientWidth)-o),{width:o,height:r,x:s,y:a}}(ct(t));else if(ut(e))n=function(t,e){const i=Dt(t,!0,"fixed"===e),n=i.top+t.clientTop,o=i.left+t.clientLeft,r=pt(t)?Et(t):j(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:o*r.x,y:n*r.y}}(e,i);else{const i=jt(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return it(n)}function Wt(t,e){const i=Pt(t);return!(i===e||!ut(i)||Ct(i))&&("fixed"===At(i).position||Wt(i,e))}function qt(t,e,i){const n=pt(e),o=ct(e),r="fixed"===i,s=Dt(t,!0,r,e);let a={scrollLeft:0,scrollTop:0};const l=j(0);function c(){l.x=Mt(o)}if(n||!n&&!r)if(("body"!==at(e)||mt(o))&&(a=Ot(e)),n){const t=Dt(e,!0,r,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else o&&c();r&&!n&&o&&c();const h=!o||n||r?j(0):Lt(o,a);return{x:s.left+a.scrollLeft-l.x-h.x,y:s.top+a.scrollTop-l.y-h.y,width:s.width,height:s.height}}function Vt(t){return"static"===At(t).position}function Ut(t,e){if(!pt(t)||"fixed"===At(t).position)return null;if(e)return e(t);let i=t.offsetParent;return ct(t)===i&&(i=i.ownerDocument.body),i}function Yt(t,e){const i=lt(t);if(vt(t))return i;if(!pt(t)){let e=Pt(t);for(;e&&!Ct(e);){if(ut(e)&&!Vt(e))return e;e=Pt(e)}return i}let n=Ut(t,e);for(;n&&yt(n)&&Vt(n);)n=Ut(n,e);return n&&Ct(n)&&Vt(n)&&!$t(n)?i:n||function(t){let e=Pt(t);for(;pt(e)&&!Ct(e);){if($t(e))return e;if(vt(e))return null;e=Pt(e)}return null}(t)||i}const Gt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:i,offsetParent:n,strategy:o}=t;const r="fixed"===o,s=ct(n),a=!!e&&vt(e.floating);if(n===s||a&&r)return i;let l={scrollLeft:0,scrollTop:0},c=j(1);const h=j(0),u=pt(n);if((u||!u&&!r)&&(("body"!==at(n)||mt(s))&&(l=Ot(n)),pt(n))){const t=Dt(n);c=Et(n),h.x=t.x+n.clientLeft,h.y=t.y+n.clientTop}const p=!s||u||r?j(0):Lt(s,l,!0);return{width:i.width*c.x,height:i.height*c.y,x:i.x*c.x-l.scrollLeft*c.x+h.x+p.x,y:i.y*c.y-l.scrollTop*c.y+h.y+p.y}},getDocumentElement:ct,getClippingRect:function(t){let{element:e,boundary:i,rootBoundary:n,strategy:o}=t;const r=[..."clippingAncestors"===i?vt(e)?[]:function(t,e){const i=e.get(t);if(i)return i;let n=Tt(t,[],!1).filter((t=>ut(t)&&"body"!==at(t))),o=null;const r="fixed"===At(t).position;let s=r?Pt(t):t;for(;ut(s)&&!Ct(s);){const e=At(s),i=$t(s);i||"fixed"!==e.position||(o=null),(r?!i&&!o:!i&&"static"===e.position&&o&&It.has(o.position)||mt(s)&&!i&&Wt(t,s))?n=n.filter((t=>t!==s)):o=e,s=Pt(s)}return e.set(t,n),n}(e,this._c):[].concat(i),n],s=r.reduce(((t,i)=>{const n=Ht(e,i,o);return t.top=_(n.top,t.top),t.right=R(n.right,t.right),t.bottom=R(n.bottom,t.bottom),t.left=_(n.left,t.left),t}),Ht(e,r[0],o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Yt,getElementRects:async function(t){const e=this.getOffsetParent||Yt,i=this.getDimensions,n=await i(t.floating);return{reference:qt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:i}=Rt(t);return{width:e,height:i}},getScale:Et,isElement:ut,isRTL:function(t){return"rtl"===At(t).direction}};function Xt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const Zt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var i,n;const{placement:o,middlewareData:r,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...g}=I(t,e);if(null!=(i=r.arrow)&&i.alignmentOffset)return{};const y=H(o),b=Y(a),v=H(a)===a,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=p||(v||!m?[tt(a)]:function(t){const e=tt(t);return[X(t),e,X(e)]}(a)),S="none"!==f;!p&&S&&x.push(...function(t,e,i,n){const o=W(t);let r=function(t,e,i){switch(t){case"top":case"bottom":return i?e?J:Z:e?Z:J;case"left":case"right":return e?K:Q;default:return[]}}(H(t),"start"===i,n);return o&&(r=r.map((t=>t+"-"+o)),e&&(r=r.concat(r.map(X)))),r}(a,m,f,w));const $=[a,...x],z=await ot(e,g),k=[];let C=(null==(n=r.flip)?void 0:n.overflows)||[];if(h&&k.push(z[y]),u){const t=function(t,e,i){void 0===i&&(i=!1);const n=W(t),o=G(t),r=V(o);let s="x"===o?n===(i?"end":"start")?"right":"left":"start"===n?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=tt(s)),[s,tt(s)]}(o,s,w);k.push(z[t[0]],z[t[1]])}if(C=[...C,{placement:o,overflows:k}],!k.every((t=>t<=0))){var A,O;const t=((null==(A=r.flip)?void 0:A.index)||0)+1,e=$[t];if(e&&("alignment"!==u||b===Y(e)||C.every((t=>t.overflows[0]>0&&Y(t.placement)===b))))return{data:{index:t,overflows:C},reset:{placement:e}};let i=null==(O=C.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:O.placement;if(!i)switch(d){case"bestFit":{var P;const t=null==(P=C.filter((t=>{if(S){const e=Y(t.placement);return e===b||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:P[0];t&&(i=t);break}case"initialPlacement":i=a}if(o!==i)return{reset:{placement:i}}}return{}}}},Jt=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var i,n;const{placement:o,rects:r,platform:s,elements:a}=e,{apply:l=()=>{},...c}=I(t,e),h=await ot(e,c),u=H(o),p=W(o),d="y"===Y(o),{width:f,height:m}=r.floating;let g,y;"top"===u||"bottom"===u?(g=u,y=p===(await(null==s.isRTL?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(y=u,g="end"===p?"top":"bottom");const b=m-h.top-h.bottom,v=f-h.left-h.right;let w=R(m-h[g],b),x=R(f-h[y],v);if(null!=(i=e.middlewareData.shift)&&i.enabled.x&&(x=v),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(w=b),!e.middlewareData.shift&&!p){const t=_(h.left,0),e=_(h.right,0),i=_(h.top,0),n=_(h.bottom,0);d?x=f-2*(0!==t||0!==e?t+e:_(h.left,h.right)):w=m-2*(0!==i||0!==n?i+n:_(h.top,h.bottom))}await l({...e,availableWidth:x,availableHeight:w});const S=await s.getDimensions(a.floating);return f!==S.width||m!==S.height?{reset:{rects:!0}}:{}}}};function Kt(t){return function(t){for(let e=t;e;e=Qt(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Qt(t);e;e=Qt(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||$t(t))return e;if("BODY"===e.tagName)return e}}return null}(t)}function Qt(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var te=class extends s{constructor(){super(...arguments),this.localize=new S(this),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0,this.hoverBridge=!1,this.updateHoverBridge=()=>{if(this.hoverBridge&&this.anchorEl){const t=this.anchorEl.getBoundingClientRect(),e=this.popup.getBoundingClientRect();let i=0,n=0,o=0,r=0,s=0,a=0,l=0,c=0;this.placement.includes("top")||this.placement.includes("bottom")?t.top<e.top?(i=t.left,n=t.bottom,o=t.right,r=t.bottom,s=e.left,a=e.top,l=e.right,c=e.top):(i=e.left,n=e.bottom,o=e.right,r=e.bottom,s=t.left,a=t.top,l=t.right,c=t.top):t.left<e.left?(i=t.right,n=t.top,o=e.left,r=e.top,s=t.right,a=t.bottom,l=e.left,c=e.bottom):(i=e.right,n=e.top,o=t.left,r=t.top,s=e.right,a=e.bottom,l=t.left,c=t.bottom),this.style.setProperty("--hover-bridge-top-left-x",`${i}px`),this.style.setProperty("--hover-bridge-top-left-y",`${n}px`),this.style.setProperty("--hover-bridge-top-right-x",`${o}px`),this.style.setProperty("--hover-bridge-top-right-y",`${r}px`),this.style.setProperty("--hover-bridge-bottom-left-x",`${s}px`),this.style.setProperty("--hover-bridge-bottom-left-y",`${a}px`),this.style.setProperty("--hover-bridge-bottom-right-x",`${l}px`),this.style.setProperty("--hover-bridge-bottom-right-y",`${c}px`)}}}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){super.disconnectedCallback(),this.stop()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&"string"==typeof this.anchor){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchorEl=this.anchor instanceof Element||function(t){return null!==t&&"object"==typeof t&&"getBoundingClientRect"in t&&(!("contextElement"in t)||t.contextElement instanceof Element)}(this.anchor)?this.anchor:this.querySelector('[slot="anchor"]');this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),this.anchorEl&&this.active&&this.start()}start(){this.anchorEl&&this.active&&(this.cleanup=function(t,e,i,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=_t(t),h=o||r?[...c?Tt(c):[],...Tt(e)]:[];h.forEach((t=>{o&&t.addEventListener("scroll",i,{passive:!0}),r&&t.addEventListener("resize",i)}));const u=c&&a?function(t,e){let i,n=null;const o=ct(t);function r(){var t;clearTimeout(i),null==(t=n)||t.disconnect(),n=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),r();const c=t.getBoundingClientRect(),{left:h,top:u,width:p,height:d}=c;if(a||e(),!p||!d)return;const f={rootMargin:-N(u)+"px "+-N(o.clientWidth-(h+p))+"px "+-N(o.clientHeight-(u+d))+"px "+-N(h)+"px",threshold:_(0,R(1,l))||1};let m=!0;function g(e){const n=e[0].intersectionRatio;if(n!==l){if(!m)return s();n?s(!1,n):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==n||Xt(c,t.getBoundingClientRect())||s(),m=!1}try{n=new IntersectionObserver(g,{...f,root:o.ownerDocument})}catch(t){n=new IntersectionObserver(g,f)}n.observe(t)}(!0),r}(c,i):null;let p,d=-1,f=null;s&&(f=new ResizeObserver((t=>{let[n]=t;n&&n.target===c&&f&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame((()=>{var t;null==(t=f)||t.observe(e)}))),i()})),c&&!l&&f.observe(c),f.observe(e));let m=l?Dt(t):null;return l&&function e(){const n=Dt(t);m&&!Xt(m,n)&&i(),m=n,p=requestAnimationFrame(e)}(),i(),()=>{var t;h.forEach((t=>{o&&t.removeEventListener("scroll",i),r&&t.removeEventListener("resize",i)})),null==u||u(),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(p)}}(this.anchorEl,this.popup,(()=>{this.reposition()})))}async stop(){return new Promise((t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame((()=>t()))):t()}))}reposition(){if(!this.active||!this.anchorEl)return;const i=[(n={mainAxis:this.distance,crossAxis:this.skidding},void 0===n&&(n=0),{name:"offset",options:n,async fn(t){var e,i;const{x:o,y:r,placement:s,middlewareData:a}=t,l=await async function(t,e){const{placement:i,platform:n,elements:o}=t,r=await(null==n.isRTL?void 0:n.isRTL(o.floating)),s=H(i),a=W(i),l="y"===Y(i),c=rt.has(s)?-1:1,h=r&&l?-1:1,u=I(e,t);let{mainAxis:p,crossAxis:d,alignmentAxis:f}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof f&&(d="end"===a?-1*f:f),l?{x:d*h,y:p*c}:{x:p*c,y:d*h}}(t,n);return s===(null==(e=a.offset)?void 0:e.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:o+l.x,y:r+l.y,data:{...l,placement:s}}}})];var n;this.sync?i.push(Jt({apply:({rects:t})=>{const e="height"===this.sync||"both"===this.sync;this.popup.style.width="width"===this.sync||"both"===this.sync?`${t.reference.width}px`:"",this.popup.style.height=e?`${t.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&i.push(Zt({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:"best-fit"===this.flipFallbackStrategy?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&i.push(function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:i,y:n,placement:o}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:i}=t;return{x:e,y:i}}},...l}=I(t,e),c={x:i,y:n},h=await ot(e,l),u=Y(H(o)),p=q(u);let d=c[p],f=c[u];r&&(d=L(d+h["y"===p?"top":"left"],d,d-h["y"===p?"bottom":"right"])),s&&(f=L(f+h["y"===u?"top":"left"],f,f-h["y"===u?"bottom":"right"]));const m=a.fn({...e,[p]:d,[u]:f});return{...m,data:{x:m.x-i,y:m.y-n,enabled:{[p]:r,[u]:s}}}}}}({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?i.push(Jt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:t,availableHeight:e})=>{"vertical"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-height",`${e}px`):this.style.removeProperty("--auto-size-available-height"),"horizontal"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-width",`${t}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&i.push((t=>({name:"arrow",options:t,async fn(e){const{x:i,y:n,placement:o,rects:r,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:h=0}=I(t,e)||{};if(null==c)return{};const u=et(h),p={x:i,y:n},d=G(o),f=V(d),m=await s.getDimensions(c),g="y"===d,y=g?"top":"left",b=g?"bottom":"right",v=g?"clientHeight":"clientWidth",w=r.reference[f]+r.reference[d]-p[d]-r.floating[f],x=p[d]-r.reference[d],S=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let $=S?S[v]:0;$&&await(null==s.isElement?void 0:s.isElement(S))||($=a.floating[v]||r.floating[f]);const z=w/2-x/2,k=$/2-m[f]/2-1,C=R(u[y],k),A=R(u[b],k),O=C,P=$-m[f]-A,F=$/2-m[f]/2+z,T=L(O,F,P),B=!l.arrow&&null!=W(o)&&F!==T&&r.reference[f]/2-(F<O?C:A)-m[f]/2<0,_=B?F<O?F-O:F-P:0;return{[d]:p[d]+_,data:{[d]:T,centerOffset:F-T-_,...B&&{alignmentOffset:_}},reset:B}}}))({element:this.arrowEl,padding:this.arrowPadding}));const o="absolute"===this.strategy?t=>Gt.getOffsetParent(t,Kt):Gt.getOffsetParent;((t,e,i)=>{const n=new Map,o={platform:Gt,...i},r={...o.platform,_c:n};return(async(t,e,i)=>{const{placement:n="bottom",strategy:o="absolute",middleware:r=[],platform:s}=i,a=r.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:h,y:u}=nt(c,n,l),p=n,d={},f=0;for(let i=0;i<a.length;i++){const{name:r,fn:m}=a[i],{x:g,y,data:b,reset:v}=await m({x:h,y:u,initialPlacement:n,placement:p,strategy:o,middlewareData:d,rects:c,platform:s,elements:{reference:t,floating:e}});h=null!=g?g:h,u=null!=y?y:u,d={...d,[r]:{...d[r],...b}},v&&f<=50&&(f++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await s.getElementRects({reference:t,floating:e,strategy:o}):v.rects),({x:h,y:u}=nt(c,p,l))),i=-1)}return{x:h,y:u,placement:p,strategy:o,middlewareData:d}})(t,e,{...o,platform:r})})(this.anchorEl,this.popup,{placement:this.placement,middleware:i,strategy:this.strategy,platform:t(e({},Gt),{getOffsetParent:o})}).then((({x:t,y:e,middlewareData:i,placement:n})=>{const o="rtl"===this.localize.dir(),r={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];if(this.setAttribute("data-current-placement",n),Object.assign(this.popup.style,{left:`${t}px`,top:`${e}px`}),this.arrow){const t=i.arrow.x,e=i.arrow.y;let n="",s="",a="",l="";if("start"===this.arrowPlacement){const i="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";n="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",s=o?i:"",l=o?"":i}else if("end"===this.arrowPlacement){const i="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";s=o?"":i,l=o?i:"",a="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else"center"===this.arrowPlacement?(l="number"==typeof t?"calc(50% - var(--arrow-size-diagonal))":"",n="number"==typeof e?"calc(50% - var(--arrow-size-diagonal))":""):(l="number"==typeof t?`${t}px`:"",n="number"==typeof e?`${e}px`:"");Object.assign(this.arrowEl.style,{top:n,right:s,bottom:a,left:l,[r]:"calc(var(--arrow-size-diagonal) * -1)"})}})),requestAnimationFrame((()=>this.updateHoverBridge())),this.emit("sl-reposition")}render(){return a`
71
71
  <slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
72
72
 
73
73
  <span
@@ -1,4 +1,4 @@
1
- import{f as t}from"./p-VMHzF3uY.js";var s=Object.defineProperty,i=Object.defineProperties,e=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,l=(t,s)=>(s=Symbol[t])?s:Symbol.for("Symbol."+t),a=t=>{throw TypeError(t)},c=(t,i,e)=>i in t?s(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,d=(t,s)=>{for(var i in s||(s={}))o.call(s,i)&&c(t,i,s[i]);if(r)for(var i of r(s))h.call(s,i)&&c(t,i,s[i]);return t},u=(t,s)=>i(t,n(s)),v=(t,i,n,r)=>{for(var o,h=r>1?void 0:r?e(i,n):i,l=t.length-1;l>=0;l--)(o=t[l])&&(h=(r?o(i,n,h):o(h))||h);return r&&h&&s(i,n,h),h},f=(t,s,i)=>s.has(t)||a("Cannot "+i),p=function(t,s){this[0]=t,this[1]=s},g=t=>{var s,i=t[l("asyncIterator")],e=!1,n={};return null==i?(i=t[l("iterator")](),s=t=>n[t]=s=>i[t](s)):(i=i.call(t),s=t=>n[t]=s=>{if(e){if(e=!1,"throw"===t)throw s;return s}return e=!0,{done:!1,value:new p(new Promise((e=>{var n=i[t](s);n instanceof Object||a("Object expected"),e(n)})),1)}}),n[l("iterator")]=()=>n,s("next"),"throw"in i?s("throw"):n.throw=t=>{throw t},"return"in i&&s("return"),n},w={caret:'\n <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <polyline points="6 9 12 15 18 9"></polyline>\n </svg>\n ',check:'\n <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor">\n <g transform="translate(3.428571, 3.428571)">\n <path d="M0,5.71428571 L3.42857143,9.14285714"></path>\n <path d="M9.14285714,0 L3.42857143,9.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"chevron-down":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',"chevron-left":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>\n </svg>\n ',"chevron-right":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',copy:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>\n </svg>\n ',eye:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">\n <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>\n <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>\n </svg>\n ',"eye-slash":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">\n <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>\n <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>\n <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>\n </svg>\n ',eyedropper:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">\n <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>\n </svg>\n ',"grip-vertical":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">\n <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>\n </svg>\n ',indeterminate:'\n <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor" stroke-width="2">\n <g transform="translate(2.285714, 6.857143)">\n <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"person-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">\n <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>\n </svg>\n ',"play-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">\n <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>\n </svg>\n ',"pause-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">\n <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>\n </svg>\n ',radio:'\n <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g fill="currentColor">\n <circle cx="8" cy="8" r="3.42857143"></circle>\n </g>\n </g>\n </svg>\n ',"star-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">\n <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>\n </svg>\n ',"x-lg":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">\n <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>\n </svg>\n ',"x-circle-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">\n <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>\n </svg>\n '},b=[{name:"default",resolver:s=>t(`assets/icons/${s}.svg`)},{name:"system",resolver:t=>t in w?`data:image/svg+xml,${encodeURIComponent(w[t])}`:""}],m=[];function y(t){return b.find((s=>s.name===t))}
1
+ import{f as t}from"./p-DzbCx-pP.js";var s=Object.defineProperty,i=Object.defineProperties,e=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,l=(t,s)=>(s=Symbol[t])?s:Symbol.for("Symbol."+t),a=t=>{throw TypeError(t)},c=(t,i,e)=>i in t?s(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,d=(t,s)=>{for(var i in s||(s={}))o.call(s,i)&&c(t,i,s[i]);if(r)for(var i of r(s))h.call(s,i)&&c(t,i,s[i]);return t},u=(t,s)=>i(t,n(s)),v=(t,i,n,r)=>{for(var o,h=r>1?void 0:r?e(i,n):i,l=t.length-1;l>=0;l--)(o=t[l])&&(h=(r?o(i,n,h):o(h))||h);return r&&h&&s(i,n,h),h},f=(t,s,i)=>s.has(t)||a("Cannot "+i),p=function(t,s){this[0]=t,this[1]=s},g=t=>{var s,i=t[l("asyncIterator")],e=!1,n={};return null==i?(i=t[l("iterator")](),s=t=>n[t]=s=>i[t](s)):(i=i.call(t),s=t=>n[t]=s=>{if(e){if(e=!1,"throw"===t)throw s;return s}return e=!0,{done:!1,value:new p(new Promise((e=>{var n=i[t](s);n instanceof Object||a("Object expected"),e(n)})),1)}}),n[l("iterator")]=()=>n,s("next"),"throw"in i?s("throw"):n.throw=t=>{throw t},"return"in i&&s("return"),n},w={caret:'\n <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <polyline points="6 9 12 15 18 9"></polyline>\n </svg>\n ',check:'\n <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor">\n <g transform="translate(3.428571, 3.428571)">\n <path d="M0,5.71428571 L3.42857143,9.14285714"></path>\n <path d="M9.14285714,0 L3.42857143,9.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"chevron-down":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',"chevron-left":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>\n </svg>\n ',"chevron-right":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',copy:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>\n </svg>\n ',eye:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">\n <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>\n <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>\n </svg>\n ',"eye-slash":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">\n <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>\n <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>\n <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>\n </svg>\n ',eyedropper:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">\n <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>\n </svg>\n ',"grip-vertical":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">\n <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>\n </svg>\n ',indeterminate:'\n <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor" stroke-width="2">\n <g transform="translate(2.285714, 6.857143)">\n <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"person-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">\n <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>\n </svg>\n ',"play-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">\n <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>\n </svg>\n ',"pause-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">\n <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>\n </svg>\n ',radio:'\n <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g fill="currentColor">\n <circle cx="8" cy="8" r="3.42857143"></circle>\n </g>\n </g>\n </svg>\n ',"star-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">\n <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>\n </svg>\n ',"x-lg":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">\n <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>\n </svg>\n ',"x-circle-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">\n <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>\n </svg>\n '},b=[{name:"default",resolver:s=>t(`assets/icons/${s}.svg`)},{name:"system",resolver:t=>t in w?`data:image/svg+xml,${encodeURIComponent(w[t])}`:""}],m=[];function y(t){return b.find((s=>s.name===t))}
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
@@ -8,18 +8,18 @@ import{f as t}from"./p-VMHzF3uY.js";var s=Object.defineProperty,i=Object.defineP
8
8
  * @license
9
9
  * Copyright 2017 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
- */,{is:A,defineProperty:L,getOwnPropertyDescriptor:_,getOwnPropertyNames:E,getOwnPropertySymbols:O,getPrototypeOf:j}=Object,B=globalThis,U=B.trustedTypes,P=U?U.emptyScript:"",T=B.reactiveElementPolyfillSupport,I={toAttribute(t,s){switch(s){case Boolean:t=t?P:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},H=(t,s)=>!A(t,s),N={attribute:!0,type:String,converter:I,reflect:!1,useDefault:!1,hasChanged:H};Symbol.metadata??=Symbol("metadata"),B.litPropertyMetadata??=new WeakMap;let R=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=N){if(s.state&&(s.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=!0),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),e=this.getPropertyDescriptor(t,i,s);void 0!==e&&L(this.prototype,t,e)}}static getPropertyDescriptor(t,s,i){const{get:e,set:n}=_(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get:e,set(s){const r=e?.call(this);n?.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??N}static _$Ei(){if(this.hasOwnProperty("elementProperties"))return;const t=j(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty("finalized"))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){const t=this.properties,s=[...E(t),...O(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const s=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)s.unshift(z(t))}else void 0!==t&&s.push(z(t));return s}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,s)=>{if(C)t.adoptedStyleSheets=s.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of s){const s=document.createElement("style"),e=x.litNonce;void 0!==e&&s.setAttribute("nonce",e),s.textContent=i.cssText,t.appendChild(s)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const n=(void 0!==i.converter?.toAttribute?i.converter:I).toAttribute(s,i.type);this._$Em=t,null==n?this.removeAttribute(e):this.setAttribute(e,n),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:I;this._$Em=e;const r=n.fromAttribute(s,t.type);this[e]=r??this._$Ej?.get(e)??r,this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){const e=this.constructor,n=this[t];if(i??=e.getPropertyOptions(t),!((i.hasChanged??H)(n,s)||i.useDefault&&i.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(e._$Eu(t,i))))return;this.C(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,s,{useDefault:i,reflect:e,wrapped:n},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),!0!==n||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),!0===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t){const{wrapped:t}=i,e=this[s];!0!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e)}}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}};R.elementStyles=[],R.shadowRootOptions={mode:"open"},R.elementProperties=new Map,R.finalized=new Map,T?.({ReactiveElement:R}),(B.reactiveElementVersions??=[]).push("2.1.1");
11
+ */,{is:A,defineProperty:L,getOwnPropertyDescriptor:_,getOwnPropertyNames:E,getOwnPropertySymbols:O,getPrototypeOf:j}=Object,B=globalThis,U=B.trustedTypes,P=U?U.emptyScript:"",T=B.reactiveElementPolyfillSupport,I={toAttribute(t,s){switch(s){case Boolean:t=t?P:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},N=(t,s)=>!A(t,s),R={attribute:!0,type:String,converter:I,reflect:!1,useDefault:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),B.litPropertyMetadata??=new WeakMap;let H=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=R){if(s.state&&(s.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=!0),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),e=this.getPropertyDescriptor(t,i,s);void 0!==e&&L(this.prototype,t,e)}}static getPropertyDescriptor(t,s,i){const{get:e,set:n}=_(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get:e,set(s){const r=e?.call(this);n?.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??R}static _$Ei(){if(this.hasOwnProperty("elementProperties"))return;const t=j(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty("finalized"))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){const t=this.properties,s=[...E(t),...O(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const s=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)s.unshift(z(t))}else void 0!==t&&s.push(z(t));return s}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,s)=>{if(C)t.adoptedStyleSheets=s.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of s){const s=document.createElement("style"),e=x.litNonce;void 0!==e&&s.setAttribute("nonce",e),s.textContent=i.cssText,t.appendChild(s)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const n=(void 0!==i.converter?.toAttribute?i.converter:I).toAttribute(s,i.type);this._$Em=t,null==n?this.removeAttribute(e):this.setAttribute(e,n),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:I;this._$Em=e;const r=n.fromAttribute(s,t.type);this[e]=r??this._$Ej?.get(e)??r,this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){const e=this.constructor,n=this[t];if(i??=e.getPropertyOptions(t),!((i.hasChanged??N)(n,s)||i.useDefault&&i.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(e._$Eu(t,i))))return;this.C(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,s,{useDefault:i,reflect:e,wrapped:n},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),!0!==n||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),!0===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t){const{wrapped:t}=i,e=this[s];!0!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e)}}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}};H.elementStyles=[],H.shadowRootOptions={mode:"open"},H.elementProperties=new Map,H.finalized=new Map,T?.({ReactiveElement:H}),(B.reactiveElementVersions??=[]).push("2.1.1");
12
12
  /**
13
13
  * @license
14
14
  * Copyright 2017 Google LLC
15
15
  * SPDX-License-Identifier: BSD-3-Clause
16
16
  */
17
- const V=globalThis,D=V.trustedTypes,Z=D?D.createPolicy("lit-html",{createHTML:t=>t}):void 0,W="$lit$",F=`lit$${Math.random().toFixed(9).slice(2)}$`,J="?"+F,q=`<${J}>`,K=document,Y=()=>K.createComment(""),G=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Q=Array.isArray,X="[ \t\n\f\r]",tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,st=/-->/g,it=/>/g,et=RegExp(`>|${X}(?:([^\\s"'>=/]+)(${X}*=${X}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),nt=/'/g,rt=/"/g,ot=/^(?:script|style|textarea|title)$/i,ht=(t,...s)=>({_$litType$:1,strings:t,values:s}),lt=Symbol.for("lit-noChange"),at=Symbol.for("lit-nothing"),ct=new WeakMap,dt=K.createTreeWalker(K,129);function ut(t,s){if(!Q(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Z?Z.createHTML(s):s}const vt=(t,s)=>{const i=t.length-1,e=[];let n,r=2===s?"<svg>":3===s?"<math>":"",o=tt;for(let s=0;s<i;s++){const i=t[s];let h,l,a=-1,c=0;for(;c<i.length&&(o.lastIndex=c,l=o.exec(i),null!==l);)c=o.lastIndex,o===tt?"!--"===l[1]?o=st:void 0!==l[1]?o=it:void 0!==l[2]?(ot.test(l[2])&&(n=RegExp("</"+l[2],"g")),o=et):void 0!==l[3]&&(o=et):o===et?">"===l[0]?(o=n??tt,a=-1):void 0===l[1]?a=-2:(a=o.lastIndex-l[2].length,h=l[1],o=void 0===l[3]?et:'"'===l[3]?rt:nt):o===rt||o===nt?o=et:o===st||o===it?o=tt:(o=et,n=void 0);const d=o===et&&t[s+1].startsWith("/>")?" ":"";r+=o===tt?i+q:a>=0?(e.push(h),i.slice(0,a)+W+i.slice(a)+F+d):i+F+(-2===a?s:d)}return[ut(t,r+(t[i]||"<?>")+(2===s?"</svg>":3===s?"</math>":"")),e]};class ft{constructor({strings:t,_$litType$:s},i){let e;this.parts=[];let n=0,r=0;const o=t.length-1,h=this.parts,[l,a]=vt(t,s);if(this.el=ft.createElement(l,i),dt.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(e=dt.nextNode())&&h.length<o;){if(1===e.nodeType){if(e.hasAttributes())for(const t of e.getAttributeNames())if(t.endsWith(W)){const s=a[r++],i=e.getAttribute(t).split(F),o=/([.?@])?(.*)/.exec(s);h.push({type:1,index:n,name:o[2],strings:i,ctor:"."===o[1]?mt:"?"===o[1]?yt:"@"===o[1]?xt:bt}),e.removeAttribute(t)}else t.startsWith(F)&&(h.push({type:6,index:n}),e.removeAttribute(t));if(ot.test(e.tagName)){const t=e.textContent.split(F),s=t.length-1;if(s>0){e.textContent=D?D.emptyScript:"";for(let i=0;i<s;i++)e.append(t[i],Y()),dt.nextNode(),h.push({type:2,index:++n});e.append(t[s],Y())}}}else if(8===e.nodeType)if(e.data===J)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=e.data.indexOf(F,t+1));)h.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,s){const i=K.createElement("template");return i.innerHTML=t,i}}function pt(t,s,i=t,e){if(s===lt)return s;let n=void 0!==e?i._$Co?.[e]:i._$Cl;const r=G(s)?void 0:s._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,i,e)),void 0!==e?(i._$Co??=[])[e]=n:i._$Cl=n),void 0!==n&&(s=pt(t,n._$AS(t,s.values),n,e)),s}class gt{constructor(t,s){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=s}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:s},parts:i}=this._$AD,e=(t?.creationScope??K).importNode(s,!0);dt.currentNode=e;let n=dt.nextNode(),r=0,o=0,h=i[0];for(;void 0!==h;){if(r===h.index){let s;2===h.type?s=new wt(n,n.nextSibling,this,t):1===h.type?s=new h.ctor(n,h.name,h.strings,this,t):6===h.type&&(s=new Ct(n,this,t)),this._$AV.push(s),h=i[++o]}r!==h?.index&&(n=dt.nextNode(),r++)}return dt.currentNode=K,e}p(t){let s=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,s),s+=i.strings.length-2):i._$AI(t[s])),s++}}class wt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,s,i,e){this.type=2,this._$AH=at,this._$AN=void 0,this._$AA=t,this._$AB=s,this._$AM=i,this.options=e,this._$Cv=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const s=this._$AM;return void 0!==s&&11===t?.nodeType&&(t=s.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,s=this){t=pt(this,t,s),G(t)?t===at||null==t||""===t?(this._$AH!==at&&this._$AR(),this._$AH=at):t!==this._$AH&&t!==lt&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>Q(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==at&&G(this._$AH)?this._$AA.nextSibling.data=t:this.T(K.createTextNode(t)),this._$AH=t}$(t){const{values:s,_$litType$:i}=t,e="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=ft.createElement(ut(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===e)this._$AH.p(s);else{const t=new gt(e,this),i=t.u(this.options);t.p(s),this.T(i),this._$AH=t}}_$AC(t){let s=ct.get(t.strings);return void 0===s&&ct.set(t.strings,s=new ft(t)),s}k(t){Q(this._$AH)||(this._$AH=[],this._$AR());const s=this._$AH;let i,e=0;for(const n of t)e===s.length?s.push(i=new wt(this.O(Y()),this.O(Y()),this,this.options)):i=s[e],i._$AI(n),e++;e<s.length&&(this._$AR(i&&i._$AB.nextSibling,e),s.length=e)}_$AR(t=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class bt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,s,i,e,n){this.type=1,this._$AH=at,this._$AN=void 0,this.element=t,this.name=s,this._$AM=e,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=at}_$AI(t,s=this,i,e){const n=this.strings;let r=!1;if(void 0===n)t=pt(this,t,s,0),r=!G(t)||t!==this._$AH&&t!==lt,r&&(this._$AH=t);else{const e=t;let o,h;for(t=n[0],o=0;o<n.length-1;o++)h=pt(this,e[i+o],s,o),h===lt&&(h=this._$AH[o]),r||=!G(h)||h!==this._$AH[o],h===at?t=at:t!==at&&(t+=(h??"")+n[o+1]),this._$AH[o]=h}r&&!e&&this.j(t)}j(t){t===at?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class mt extends bt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===at?void 0:t}}class yt extends bt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==at)}}class xt extends bt{constructor(t,s,i,e,n){super(t,s,i,e,n),this.type=5}_$AI(t,s=this){if((t=pt(this,t,s,0)??at)===lt)return;const i=this._$AH,e=t===at&&i!==at||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==at&&(i===at||e);e&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Ct{constructor(t,s,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=s,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){pt(this,t)}}const St=V.litHtmlPolyfillSupport;St?.(ft,wt),(V.litHtmlVersions??=[]).push("3.3.1");const Mt=globalThis;
17
+ const D=globalThis,V=D.trustedTypes,Z=V?V.createPolicy("lit-html",{createHTML:t=>t}):void 0,W="$lit$",J=`lit$${Math.random().toFixed(9).slice(2)}$`,q="?"+J,F=`<${q}>`,K=document,G=()=>K.createComment(""),Q=t=>null===t||"object"!=typeof t&&"function"!=typeof t,X=Array.isArray,Y="[ \t\n\f\r]",tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,st=/-->/g,it=/>/g,et=RegExp(`>|${Y}(?:([^\\s"'>=/]+)(${Y}*=${Y}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),nt=/'/g,rt=/"/g,ot=/^(?:script|style|textarea|title)$/i,ht=(t,...s)=>({_$litType$:1,strings:t,values:s}),lt=Symbol.for("lit-noChange"),at=Symbol.for("lit-nothing"),ct=new WeakMap,dt=K.createTreeWalker(K,129);function ut(t,s){if(!X(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Z?Z.createHTML(s):s}const vt=(t,s)=>{const i=t.length-1,e=[];let n,r=2===s?"<svg>":3===s?"<math>":"",o=tt;for(let s=0;s<i;s++){const i=t[s];let h,l,a=-1,c=0;for(;c<i.length&&(o.lastIndex=c,l=o.exec(i),null!==l);)c=o.lastIndex,o===tt?"!--"===l[1]?o=st:void 0!==l[1]?o=it:void 0!==l[2]?(ot.test(l[2])&&(n=RegExp("</"+l[2],"g")),o=et):void 0!==l[3]&&(o=et):o===et?">"===l[0]?(o=n??tt,a=-1):void 0===l[1]?a=-2:(a=o.lastIndex-l[2].length,h=l[1],o=void 0===l[3]?et:'"'===l[3]?rt:nt):o===rt||o===nt?o=et:o===st||o===it?o=tt:(o=et,n=void 0);const d=o===et&&t[s+1].startsWith("/>")?" ":"";r+=o===tt?i+F:a>=0?(e.push(h),i.slice(0,a)+W+i.slice(a)+J+d):i+J+(-2===a?s:d)}return[ut(t,r+(t[i]||"<?>")+(2===s?"</svg>":3===s?"</math>":"")),e]};class ft{constructor({strings:t,_$litType$:s},i){let e;this.parts=[];let n=0,r=0;const o=t.length-1,h=this.parts,[l,a]=vt(t,s);if(this.el=ft.createElement(l,i),dt.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(e=dt.nextNode())&&h.length<o;){if(1===e.nodeType){if(e.hasAttributes())for(const t of e.getAttributeNames())if(t.endsWith(W)){const s=a[r++],i=e.getAttribute(t).split(J),o=/([.?@])?(.*)/.exec(s);h.push({type:1,index:n,name:o[2],strings:i,ctor:"."===o[1]?mt:"?"===o[1]?yt:"@"===o[1]?xt:bt}),e.removeAttribute(t)}else t.startsWith(J)&&(h.push({type:6,index:n}),e.removeAttribute(t));if(ot.test(e.tagName)){const t=e.textContent.split(J),s=t.length-1;if(s>0){e.textContent=V?V.emptyScript:"";for(let i=0;i<s;i++)e.append(t[i],G()),dt.nextNode(),h.push({type:2,index:++n});e.append(t[s],G())}}}else if(8===e.nodeType)if(e.data===q)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=e.data.indexOf(J,t+1));)h.push({type:7,index:n}),t+=J.length-1}n++}}static createElement(t,s){const i=K.createElement("template");return i.innerHTML=t,i}}function pt(t,s,i=t,e){if(s===lt)return s;let n=void 0!==e?i._$Co?.[e]:i._$Cl;const r=Q(s)?void 0:s._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,i,e)),void 0!==e?(i._$Co??=[])[e]=n:i._$Cl=n),void 0!==n&&(s=pt(t,n._$AS(t,s.values),n,e)),s}class gt{constructor(t,s){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=s}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:s},parts:i}=this._$AD,e=(t?.creationScope??K).importNode(s,!0);dt.currentNode=e;let n=dt.nextNode(),r=0,o=0,h=i[0];for(;void 0!==h;){if(r===h.index){let s;2===h.type?s=new wt(n,n.nextSibling,this,t):1===h.type?s=new h.ctor(n,h.name,h.strings,this,t):6===h.type&&(s=new Ct(n,this,t)),this._$AV.push(s),h=i[++o]}r!==h?.index&&(n=dt.nextNode(),r++)}return dt.currentNode=K,e}p(t){let s=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,s),s+=i.strings.length-2):i._$AI(t[s])),s++}}class wt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,s,i,e){this.type=2,this._$AH=at,this._$AN=void 0,this._$AA=t,this._$AB=s,this._$AM=i,this.options=e,this._$Cv=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const s=this._$AM;return void 0!==s&&11===t?.nodeType&&(t=s.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,s=this){t=pt(this,t,s),Q(t)?t===at||null==t||""===t?(this._$AH!==at&&this._$AR(),this._$AH=at):t!==this._$AH&&t!==lt&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>X(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==at&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(K.createTextNode(t)),this._$AH=t}$(t){const{values:s,_$litType$:i}=t,e="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=ft.createElement(ut(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===e)this._$AH.p(s);else{const t=new gt(e,this),i=t.u(this.options);t.p(s),this.T(i),this._$AH=t}}_$AC(t){let s=ct.get(t.strings);return void 0===s&&ct.set(t.strings,s=new ft(t)),s}k(t){X(this._$AH)||(this._$AH=[],this._$AR());const s=this._$AH;let i,e=0;for(const n of t)e===s.length?s.push(i=new wt(this.O(G()),this.O(G()),this,this.options)):i=s[e],i._$AI(n),e++;e<s.length&&(this._$AR(i&&i._$AB.nextSibling,e),s.length=e)}_$AR(t=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class bt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,s,i,e,n){this.type=1,this._$AH=at,this._$AN=void 0,this.element=t,this.name=s,this._$AM=e,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=at}_$AI(t,s=this,i,e){const n=this.strings;let r=!1;if(void 0===n)t=pt(this,t,s,0),r=!Q(t)||t!==this._$AH&&t!==lt,r&&(this._$AH=t);else{const e=t;let o,h;for(t=n[0],o=0;o<n.length-1;o++)h=pt(this,e[i+o],s,o),h===lt&&(h=this._$AH[o]),r||=!Q(h)||h!==this._$AH[o],h===at?t=at:t!==at&&(t+=(h??"")+n[o+1]),this._$AH[o]=h}r&&!e&&this.j(t)}j(t){t===at?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class mt extends bt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===at?void 0:t}}class yt extends bt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==at)}}class xt extends bt{constructor(t,s,i,e,n){super(t,s,i,e,n),this.type=5}_$AI(t,s=this){if((t=pt(this,t,s,0)??at)===lt)return;const i=this._$AH,e=t===at&&i!==at||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==at&&(i===at||e);e&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Ct{constructor(t,s,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=s,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){pt(this,t)}}const St=D.litHtmlPolyfillSupport;St?.(ft,wt),(D.litHtmlVersions??=[]).push("3.3.1");const Mt=globalThis;
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */class $t extends R{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,s,i)=>{const e=i?.renderBefore??s;let n=e._$litPart$;if(void 0===n){const t=i?.renderBefore??null;e._$litPart$=n=new wt(s.insertBefore(Y(),t),t,void 0,i??{})}return n._$AI(t),n})(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return lt}}$t._$litElement$=!0,$t.finalized=!0,Mt.litElementHydrateSupport?.({LitElement:$t});const kt=Mt.litElementPolyfillSupport;kt?.({LitElement:$t}),(Mt.litElementVersions??=[]).push("4.2.1");var zt=k`
22
+ */class $t extends H{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,s,i)=>{const e=i?.renderBefore??s;let n=e._$litPart$;if(void 0===n){const t=i?.renderBefore??null;e._$litPart$=n=new wt(s.insertBefore(G(),t),t,void 0,i??{})}return n._$AI(t),n})(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return lt}}$t._$litElement$=!0,$t.finalized=!0,Mt.litElementHydrateSupport?.({LitElement:$t});const kt=Mt.litElementPolyfillSupport;kt?.({LitElement:$t}),(Mt.litElementVersions??=[]).push("4.2.1");var zt=k`
23
23
  :host {
24
24
  display: inline-block;
25
25
  width: 1em;
@@ -51,7 +51,7 @@ const V=globalThis,D=V.trustedTypes,Z=D?D.createPolicy("lit-html",{createHTML:t=
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
- */;const _t={attribute:!0,type:String,converter:I,reflect:!1,hasChanged:H},Et=(t=_t,s,i)=>{const{kind:e,metadata:n}=i;let r=globalThis.litPropertyMetadata.get(n);if(void 0===r&&globalThis.litPropertyMetadata.set(n,r=new Map),"setter"===e&&((t=Object.create(t)).wrapped=!0),r.set(i.name,t),"accessor"===e){const{name:e}=i;return{set(i){const n=s.get.call(this);s.set.call(this,i),this.requestUpdate(e,n,t)},init(s){return void 0!==s&&this.C(e,void 0,t,s),s}}}if("setter"===e){const{name:e}=i;return function(i){const n=this[e];s.call(this,i),this.requestUpdate(e,n,t)}}throw Error("Unsupported decorator location: "+e)};function Ot(t){return(s,i)=>"object"==typeof i?Et(t,s,i):((t,s,i)=>{const e=s.hasOwnProperty(i);return s.constructor.createProperty(i,t),e?Object.getOwnPropertyDescriptor(s,i):void 0})(t,s,i)
54
+ */;const _t={attribute:!0,type:String,converter:I,reflect:!1,hasChanged:N},Et=(t=_t,s,i)=>{const{kind:e,metadata:n}=i;let r=globalThis.litPropertyMetadata.get(n);if(void 0===r&&globalThis.litPropertyMetadata.set(n,r=new Map),"setter"===e&&((t=Object.create(t)).wrapped=!0),r.set(i.name,t),"accessor"===e){const{name:e}=i;return{set(i){const n=s.get.call(this);s.set.call(this,i),this.requestUpdate(e,n,t)},init(s){return void 0!==s&&this.C(e,void 0,t,s),s}}}if("setter"===e){const{name:e}=i;return function(i){const n=this[e];s.call(this,i),this.requestUpdate(e,n,t)}}throw Error("Unsupported decorator location: "+e)};function Ot(t){return(s,i)=>"object"==typeof i?Et(t,s,i):((t,s,i)=>{const e=s.hasOwnProperty(i);return s.constructor.createProperty(i,t),e?Object.getOwnPropertyDescriptor(s,i):void 0})(t,s,i)
55
55
  /**
56
56
  * @license
57
57
  * Copyright 2017 Google LLC
@@ -62,6 +62,6 @@ const V=globalThis,D=V.trustedTypes,Z=D?D.createPolicy("lit-html",{createHTML:t=
62
62
  * Copyright 2020 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
64
  */
65
- const Pt=t=>void 0===t.strings;var Tt,It=Symbol(),Ht=Symbol(),Nt=new Map,Rt=class extends Ut{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label="",this.library="default"}async resolveIcon(t,s){var i;let e;if(null==s?void 0:s.spriteSheet)return this.svg=ht`<svg part="svg">
65
+ const Pt=t=>void 0===t.strings;var Tt,It=Symbol(),Nt=Symbol(),Rt=new Map,Ht=class extends Ut{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label="",this.library="default"}async resolveIcon(t,s){var i;let e;if(null==s?void 0:s.spriteSheet)return this.svg=ht`<svg part="svg">
66
66
  <use part="use" href="${t}"></use>
67
- </svg>`,this.svg;try{if(e=await fetch(t,{mode:"cors"}),!e.ok)return 410===e.status?It:Ht}catch(t){return Ht}try{const t=document.createElement("div");t.innerHTML=await e.text();const s=t.firstElementChild;if("svg"!==(null==(i=null==s?void 0:s.tagName)?void 0:i.toLowerCase()))return It;Tt||(Tt=new DOMParser);const n=Tt.parseFromString(s.outerHTML,"text/html").body.querySelector("svg");return n?(n.part.add("svg"),document.adoptNode(n)):It}catch(t){return It}}connectedCallback(){super.connectedCallback(),m.push(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){var t;super.disconnectedCallback(),t=this,m=m.filter((s=>s!==t))}getIconSource(){const t=y(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){"string"==typeof this.label&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const{url:s,fromLibrary:i}=this.getIconSource(),e=i?y(this.library):void 0;if(!s)return void(this.svg=null);let n=Nt.get(s);if(n||(n=this.resolveIcon(s,e),Nt.set(s,n)),!this.initialRender)return;const r=await n;if(r===Ht&&Nt.delete(s),s===this.getIconSource().url)if((t=>void 0!==t?._$litType$)(r)){if(this.svg=r,e){await this.updateComplete;const t=this.shadowRoot.querySelector("[part='svg']");"function"==typeof e.mutator&&t&&e.mutator(t)}}else switch(r){case Ht:case It:this.svg=null,this.emit("sl-error");break;default:this.svg=r.cloneNode(!0),null==(t=null==e?void 0:e.mutator)||t.call(e,this.svg),this.emit("sl-load")}}render(){return this.svg}};Rt.styles=[Lt,zt],v([jt()],Rt.prototype,"svg",2),v([Ot({reflect:!0})],Rt.prototype,"name",2),v([Ot()],Rt.prototype,"src",2),v([Ot()],Rt.prototype,"label",2),v([Ot({reflect:!0})],Rt.prototype,"library",2),v([At("label")],Rt.prototype,"handleLabelChange",1),v([At(["name","src","library"])],Rt.prototype,"setIcon",1),Rt.define("sl-icon");export{at as E,Ut as S,lt as T,v as _,u as a,d as b,Lt as c,Rt as d,g as e,Pt as f,k as i,Ot as n,jt as r,At as w,ht as x}
67
+ </svg>`,this.svg;try{if(e=await fetch(t,{mode:"cors"}),!e.ok)return 410===e.status?It:Nt}catch(t){return Nt}try{const t=document.createElement("div");t.innerHTML=await e.text();const s=t.firstElementChild;if("svg"!==(null==(i=null==s?void 0:s.tagName)?void 0:i.toLowerCase()))return It;Tt||(Tt=new DOMParser);const n=Tt.parseFromString(s.outerHTML,"text/html").body.querySelector("svg");return n?(n.part.add("svg"),document.adoptNode(n)):It}catch(t){return It}}connectedCallback(){super.connectedCallback(),m.push(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){var t;super.disconnectedCallback(),t=this,m=m.filter((s=>s!==t))}getIconSource(){const t=y(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){"string"==typeof this.label&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const{url:s,fromLibrary:i}=this.getIconSource(),e=i?y(this.library):void 0;if(!s)return void(this.svg=null);let n=Rt.get(s);if(n||(n=this.resolveIcon(s,e),Rt.set(s,n)),!this.initialRender)return;const r=await n;if(r===Nt&&Rt.delete(s),s===this.getIconSource().url)if((t=>void 0!==t?._$litType$)(r)){if(this.svg=r,e){await this.updateComplete;const t=this.shadowRoot.querySelector("[part='svg']");"function"==typeof e.mutator&&t&&e.mutator(t)}}else switch(r){case Nt:case It:this.svg=null,this.emit("sl-error");break;default:this.svg=r.cloneNode(!0),null==(t=null==e?void 0:e.mutator)||t.call(e,this.svg),this.emit("sl-load")}}render(){return this.svg}};Ht.styles=[Lt,zt],v([jt()],Ht.prototype,"svg",2),v([Ot({reflect:!0})],Ht.prototype,"name",2),v([Ot()],Ht.prototype,"src",2),v([Ot()],Ht.prototype,"label",2),v([Ot({reflect:!0})],Ht.prototype,"library",2),v([At("label")],Ht.prototype,"handleLabelChange",1),v([At(["name","src","library"])],Ht.prototype,"setIcon",1),Ht.define("sl-icon");export{at as E,Ut as S,lt as T,v as _,u as a,d as b,Lt as c,Ht as d,g as e,Pt as f,k as i,Ot as n,jt as r,At as w,ht as x}
@@ -1,4 +1,4 @@
1
- import{T as t}from"./p-CrxYqX8r.js";
1
+ import{T as t}from"./p-CVwgVrbO.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC