@digital-blueprint/dispatch-app
Version:
[GitHub Repository](https://github.com/digital-blueprint/dispatch-app) | [npmjs package](https://www.npmjs.com/package/@digital-blueprint/dispatch-app) | [Unpkg CDN](https://unpkg.com/browse/@digital-blueprint/dispatch-app/) | [Dispatch Bundle](https://gi
145 lines (138 loc) • 43.2 kB
JavaScript
let e=e=>e,t,n,r,i,a,o;function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?s(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function l(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){var t=d(e,`string`);return typeof t==`symbol`?t:t+``}function d(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}
/*!
* License: LGPL-2.1-or-later
* Dependencies:
*
* @webcomponents/scoped-custom-element-registry: BSD-3-Clause
* @dbp-toolkit/app-shell: LGPL-2.1-or-later
* @dbp-toolkit/language-select: LGPL-2.1-or-later
* @dbp-toolkit/auth: LGPL-2.1-or-later
* lit-html: BSD-3-Clause
* @dbp-toolkit/notification: LGPL-2.1-or-later
* @dbp-toolkit/theme-switcher: LGPL-2.1-or-later
* universal-router: MIT
* @dbp-toolkit/matomo: LGPL-2.1-or-later
* @digital-blueprint/esign-app: LGPL-2.1-or-later
* exceljs: MIT
* fabric: MIT
* jspdf-autotable: MIT
* keycloak-js: Apache-2.0
* jszip: (MIT OR GPL-3.0-or-later)
* pdfjs-dist: Apache-2.0
* path2d: MIT
* fflate: MIT
* @babel/runtime: MIT
* iobuffer: MIT
* pako: (MIT AND Zlib)
* fast-png: MIT
* jspdf: MIT
* core-js: MIT
* performance-now: MIT
* raf: MIT
* rgbcolor: MIT OR SEE LICENSE IN FEEL-FREE.md
* svg-pathdata: MIT
* stackblur-canvas: MIT
* canvg: MIT
* dompurify: (MPL-2.0 OR Apache-2.0)
* html2canvas: MIT
* i18next: MIT
* @dbp-toolkit/common: LGPL-2.1-or-later
* @lit/reactive-element: BSD-3-Clause
* lit-element: BSD-3-Clause
* @open-wc/dedupe-mixin: MIT
* @open-wc/scoped-elements: MIT
* dialog-polyfill: BSD
* @dbp-toolkit/person-select: LGPL-2.1-or-later
* @dbp-toolkit/file-handling: LGPL-2.1-or-later
* @dbp-toolkit/tabulator-table: LGPL-2.1-or-later
* webdav: MIT
* tabulator-tables: MIT
* jose: MIT
* file-saver: MIT
* @dbp-toolkit/pdf-viewer: LGPL-2.1-or-later
* jquery: MIT
* select2: MIT
* @dbp-toolkit/resource-select: LGPL-2.1-or-later
* @popperjs/core: MIT
* tippy.js: MIT
* @dbp-toolkit/tooltip: LGPL-2.1-or-later
*/
import{$ as f,C as p,H as m,I as h,N as g,P as _,Q as v,T as y,v as b}from"./dbp-lit-element.BfjLvJVI.js";var x=`top`,S=`bottom`,C=`right`,w=`left`,T=`auto`,E=[x,S,C,w],D=`start`,O=`end`,k=`clippingParents`,A=`viewport`,j=`popper`,M=`reference`,N=E.reduce(function(e,t){return e.concat([t+`-`+D,t+`-`+O])},[]),P=[].concat(E,[T]).reduce(function(e,t){return e.concat([t,t+`-`+D,t+`-`+O])},[]),F=[`beforeRead`,`read`,`afterRead`,`beforeMain`,`main`,`afterMain`,`beforeWrite`,`write`,`afterWrite`];function I(e){return e?(e.nodeName||``).toLowerCase():null}function L(e){if(e==null)return window;if(e.toString()!==`[object Window]`){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function R(e){return e instanceof L(e).Element||e instanceof Element}function z(e){return e instanceof L(e).HTMLElement||e instanceof HTMLElement}function B(e){return typeof ShadowRoot>`u`?!1:e instanceof L(e).ShadowRoot||e instanceof ShadowRoot}function ee(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];!z(i)||!I(i)||(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];t===!1?i.removeAttribute(e):i.setAttribute(e,t===!0?``:t)}))})}function te(e){var t=e.state,n={popper:{position:t.options.strategy,left:`0`,top:`0`,margin:`0`},arrow:{position:`absolute`},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]=``,e},{});!z(r)||!I(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}}var V={name:`applyStyles`,enabled:!0,phase:`write`,fn:ee,effect:te,requires:[`computeStyles`]};function H(e){return e.split(`-`)[0]}var U=Math.max,ne=Math.min,W=Math.round;function G(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+`/`+e.version}).join(` `):navigator.userAgent}function re(){return!/^((?!chrome|android).)*safari/i.test(G())}function K(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&z(e)&&(i=e.offsetWidth>0&&W(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&W(r.height)/e.offsetHeight||1);var o=(R(e)?L(e):window).visualViewport,s=!re()&&n,c=(r.left+(s&&o?o.offsetLeft:0))/i,l=(r.top+(s&&o?o.offsetTop:0))/a,u=r.width/i,d=r.height/a;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}function ie(e){var t=K(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function q(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&B(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function J(e){return L(e).getComputedStyle(e)}function ae(e){return[`table`,`td`,`th`].indexOf(I(e))>=0}function Y(e){return((R(e)?e.ownerDocument:e.document)||window.document).documentElement}function X(e){return I(e)===`html`?e:e.assignedSlot||e.parentNode||(B(e)?e.host:null)||Y(e)}function oe(e){return!z(e)||J(e).position===`fixed`?null:e.offsetParent}function se(e){var t=/firefox/i.test(G());if(/Trident/i.test(G())&&z(e)&&J(e).position===`fixed`)return null;var n=X(e);for(B(n)&&(n=n.host);z(n)&&[`html`,`body`].indexOf(I(n))<0;){var r=J(n);if(r.transform!==`none`||r.perspective!==`none`||r.contain===`paint`||[`transform`,`perspective`].indexOf(r.willChange)!==-1||t&&r.willChange===`filter`||t&&r.filter&&r.filter!==`none`)return n;n=n.parentNode}return null}function ce(e){for(var t=L(e),n=oe(e);n&&ae(n)&&J(n).position===`static`;)n=oe(n);return n&&(I(n)===`html`||I(n)===`body`&&J(n).position===`static`)?t:n||se(e)||t}function le(e){return[`top`,`bottom`].indexOf(e)>=0?`x`:`y`}function ue(e,t,n){return U(e,ne(t,n))}function de(e,t,n){var r=ue(e,t,n);return r>n?n:r}function fe(){return{top:0,right:0,bottom:0,left:0}}function pe(e){return Object.assign({},fe(),e)}function me(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var he=function(e,t){return e=typeof e==`function`?e(Object.assign({},t.rects,{placement:t.placement})):e,pe(typeof e==`number`?me(e,E):e)};function ge(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=H(n.placement),c=le(s),l=[w,C].indexOf(s)>=0?`height`:`width`;if(!(!a||!o)){var u=he(i.padding,n),d=ie(a),f=c===`y`?x:w,p=c===`y`?S:C,m=n.rects.reference[l]+n.rects.reference[c]-o[c]-n.rects.popper[l],h=o[c]-n.rects.reference[c],g=ce(a),_=g?c===`y`?g.clientHeight||0:g.clientWidth||0:0,v=m/2-h/2,y=u[f],b=_-d[l]-u[p],T=_/2-d[l]/2+v,E=ue(y,T,b),D=c;n.modifiersData[r]=(t={},t[D]=E,t.centerOffset=E-T,t)}}function Z(e){var t=e.state,n=e.options.element,r=n===void 0?`[data-popper-arrow]`:n;r!=null&&(typeof r==`string`&&(r=t.elements.popper.querySelector(r),!r)||q(t.elements.popper,r)&&(t.elements.arrow=r))}var _e={name:`arrow`,enabled:!0,phase:`main`,fn:ge,effect:Z,requires:[`popperOffsets`],requiresIfExists:[`preventOverflow`]};function ve(e){return e.split(`-`)[1]}var ye={top:`auto`,right:`auto`,bottom:`auto`,left:`auto`};function be(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:W(n*i)/i||0,y:W(r*i)/i||0}}function xe(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=o.x,p=f===void 0?0:f,m=o.y,h=m===void 0?0:m,g=typeof u==`function`?u({x:p,y:h}):{x:p,y:h};p=g.x,h=g.y;var _=o.hasOwnProperty(`x`),v=o.hasOwnProperty(`y`),y=w,b=x,T=window;if(l){var E=ce(n),D=`clientHeight`,k=`clientWidth`;if(E===L(n)&&(E=Y(n),J(E).position!==`static`&&s===`absolute`&&(D=`scrollHeight`,k=`scrollWidth`)),E=E,i===x||(i===w||i===C)&&a===O){b=S;var A=d&&E===T&&T.visualViewport?T.visualViewport.height:E[D];h-=A-r.height,h*=c?1:-1}if(i===w||(i===x||i===S)&&a===O){y=C;var j=d&&E===T&&T.visualViewport?T.visualViewport.width:E[k];p-=j-r.width,p*=c?1:-1}}var M=Object.assign({position:s},l&&ye),N=u===!0?be({x:p,y:h},L(n)):{x:p,y:h};if(p=N.x,h=N.y,c){var P;return Object.assign({},M,(P={},P[b]=v?`0`:``,P[y]=_?`0`:``,P.transform=(T.devicePixelRatio||1)<=1?`translate(`+p+`px, `+h+`px)`:`translate3d(`+p+`px, `+h+`px, 0)`,P))}return Object.assign({},M,(t={},t[b]=v?h+`px`:``,t[y]=_?p+`px`:``,t.transform=``,t))}function Se(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,o=a===void 0?!0:a,s=n.roundOffsets,c=s===void 0?!0:s,l={placement:H(t.placement),variation:ve(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy===`fixed`};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,xe(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,xe(Object.assign({},l,{offsets:t.modifiersData.arrow,position:`absolute`,adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Ce={name:`computeStyles`,enabled:!0,phase:`beforeWrite`,fn:Se,data:{}},we={passive:!0};function Te(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,o=r.resize,s=o===void 0?!0:o,c=L(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(e){e.addEventListener(`scroll`,n.update,we)}),s&&c.addEventListener(`resize`,n.update,we),function(){a&&l.forEach(function(e){e.removeEventListener(`scroll`,n.update,we)}),s&&c.removeEventListener(`resize`,n.update,we)}}var Ee={name:`eventListeners`,enabled:!0,phase:`write`,fn:function(){},effect:Te,data:{}},De={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Oe(e){return e.replace(/left|right|bottom|top/g,function(e){return De[e]})}var ke={start:`end`,end:`start`};function Ae(e){return e.replace(/start|end/g,function(e){return ke[e]})}function je(e){var t=L(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Me(e){return K(Y(e)).left+je(e).scrollLeft}function Ne(e,t){var n=L(e),r=Y(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;var l=re();(l||!l&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s+Me(e),y:c}}function Pe(e){var t=Y(e),n=je(e),r=e.ownerDocument?.body,i=U(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=U(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-n.scrollLeft+Me(e),s=-n.scrollTop;return J(r||t).direction===`rtl`&&(o+=U(t.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:o,y:s}}function Fe(e){var t=J(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Ie(e){return[`html`,`body`,`#document`].indexOf(I(e))>=0?e.ownerDocument.body:z(e)&&Fe(e)?e:Ie(X(e))}function Le(e,t){t===void 0&&(t=[]);var n=Ie(e),r=n===e.ownerDocument?.body,i=L(n),a=r?[i].concat(i.visualViewport||[],Fe(n)?n:[]):n,o=t.concat(a);return r?o:o.concat(Le(X(a)))}function Re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ze(e,t){var n=K(e,!1,t===`fixed`);return n.top+=e.clientTop,n.left+=e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Be(e,t,n){return t===A?Re(Ne(e,n)):R(t)?ze(t,n):Re(Pe(Y(e)))}function Ve(e){var t=Le(X(e)),n=[`absolute`,`fixed`].indexOf(J(e).position)>=0&&z(e)?ce(e):e;return R(n)?t.filter(function(e){return R(e)&&q(e,n)&&I(e)!==`body`}):[]}function He(e,t,n,r){var i=t===`clippingParents`?Ve(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(t,n){var i=Be(e,n,r);return t.top=U(i.top,t.top),t.right=ne(i.right,t.right),t.bottom=ne(i.bottom,t.bottom),t.left=U(i.left,t.left),t},Be(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Ue(e){var t=e.reference,n=e.element,r=e.placement,i=r?H(r):null,a=r?ve(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,c;switch(i){case x:c={x:o,y:t.y-n.height};break;case S:c={x:o,y:t.y+t.height};break;case C:c={x:t.x+t.width,y:s};break;case w:c={x:t.x-n.width,y:s};break;default:c={x:t.x,y:t.y}}var l=i?le(i):null;if(l!=null){var u=l===`y`?`height`:`width`;switch(a){case D:c[l]=c[l]-(t[u]/2-n[u]/2);break;case O:c[l]=c[l]+(t[u]/2-n[u]/2);break;default:}}return c}function We(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,o=a===void 0?e.strategy:a,s=n.boundary,c=s===void 0?k:s,l=n.rootBoundary,u=l===void 0?A:l,d=n.elementContext,f=d===void 0?j:d,p=n.altBoundary,m=p===void 0?!1:p,h=n.padding,g=h===void 0?0:h,_=pe(typeof g==`number`?me(g,E):g),v=f===j?M:j,y=e.rects.popper,b=e.elements[m?v:f],w=He(R(b)?b:b.contextElement||Y(e.elements.popper),c,u,o),T=K(e.elements.reference),D=Ue({reference:T,element:y,strategy:`absolute`,placement:i}),O=Re(Object.assign({},y,D)),N=f===j?O:T,P={top:w.top-N.top+_.top,bottom:N.bottom-w.bottom+_.bottom,left:w.left-N.left+_.left,right:N.right-w.right+_.right},F=e.modifiersData.offset;if(f===j&&F){var I=F[i];Object.keys(P).forEach(function(e){var t=[C,S].indexOf(e)>=0?1:-1,n=[x,S].indexOf(e)>=0?`y`:`x`;P[e]+=I[n]*t})}return P}function Ge(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=c===void 0?P:c,u=ve(r),d=u?s?N:N.filter(function(e){return ve(e)===u}):E,f=d.filter(function(e){return l.indexOf(e)>=0});f.length===0&&(f=d);var p=f.reduce(function(t,n){return t[n]=We(e,{placement:n,boundary:i,rootBoundary:a,padding:o})[H(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}function Ke(e){if(H(e)===T)return[];var t=Oe(e);return[Ae(e),t,Ae(t)]}function qe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!0:o,c=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=p===void 0?!0:p,h=n.allowedAutoPlacements,g=t.options.placement,_=H(g)===g,v=c||(_||!m?[Oe(g)]:Ke(g)),y=[g].concat(v).reduce(function(e,n){return e.concat(H(n)===T?Ge(t,{placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:m,allowedAutoPlacements:h}):n)},[]),b=t.rects.reference,E=t.rects.popper,O=new Map,k=!0,A=y[0],j=0;j<y.length;j++){var M=y[j],N=H(M),P=ve(M)===D,F=[x,S].indexOf(N)>=0,I=F?`width`:`height`,L=We(t,{placement:M,boundary:u,rootBoundary:d,altBoundary:f,padding:l}),R=F?P?C:w:P?S:x;b[I]>E[I]&&(R=Oe(R));var z=Oe(R),B=[];if(a&&B.push(L[N]<=0),s&&B.push(L[R]<=0,L[z]<=0),B.every(function(e){return e})){A=M,k=!1;break}O.set(M,B)}if(k)for(var ee=m?3:1,te=function(e){var t=y.find(function(t){var n=O.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return A=t,`break`},V=ee;V>0&&te(V)!==`break`;V--);t.placement!==A&&(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}}var Je={name:`flip`,enabled:!0,phase:`main`,fn:qe,requiresIfExists:[`offset`],data:{_skip:!1}};function Ye(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Xe(e){return[x,C,S,w].some(function(t){return e[t]>=0})}function Ze(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=We(t,{elementContext:`reference`}),s=We(t,{altBoundary:!0}),c=Ye(o,r),l=Ye(s,i,a),u=Xe(c),d=Xe(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var Qe={name:`hide`,enabled:!0,phase:`main`,requiresIfExists:[`preventOverflow`],fn:Ze};function $e(e,t,n){var r=H(e),i=[w,x].indexOf(r)>=0?-1:1,a=typeof n==`function`?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o||=0,s=(s||0)*i,[w,C].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function et(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=P.reduce(function(e,n){return e[n]=$e(n,t.rects,a),e},{}),s=o[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=o}var tt={name:`offset`,enabled:!0,phase:`main`,requires:[`popperOffsets`],fn:et};function nt(e){var t=e.state,n=e.name;t.modifiersData[n]=Ue({reference:t.rects.reference,element:t.rects.popper,strategy:`absolute`,placement:t.placement})}var rt={name:`popperOffsets`,enabled:!0,phase:`read`,fn:nt,data:{}};function it(e){return e===`x`?`y`:`x`}function at(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!1:o,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,m=n.tetherOffset,h=m===void 0?0:m,g=We(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),_=H(t.placement),v=ve(t.placement),y=!v,b=le(_),T=it(b),E=t.modifiersData.popperOffsets,O=t.rects.reference,k=t.rects.popper,A=typeof h==`function`?h(Object.assign({},t.rects,{placement:t.placement})):h,j=typeof A==`number`?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(E){if(a){var P=b===`y`?x:w,F=b===`y`?S:C,I=b===`y`?`height`:`width`,L=E[b],R=L+g[P],z=L-g[F],B=p?-k[I]/2:0,ee=v===D?O[I]:k[I],te=v===D?-k[I]:-O[I],V=t.elements.arrow,W=p&&V?ie(V):{width:0,height:0},G=t.modifiersData[`arrow#persistent`]?t.modifiersData[`arrow#persistent`].padding:fe(),re=G[P],K=G[F],q=ue(0,O[I],W[I]),J=y?O[I]/2-B-q-re-j.mainAxis:ee-q-re-j.mainAxis,ae=y?-O[I]/2+B+q+K+j.mainAxis:te+q+K+j.mainAxis,Y=t.elements.arrow&&ce(t.elements.arrow),X=Y?b===`y`?Y.clientTop||0:Y.clientLeft||0:0,oe=M?.[b]??0,se=L+J-oe-X,pe=L+ae-oe,me=ue(p?ne(R,se):R,L,p?U(z,pe):z);E[b]=me,N[b]=me-L}if(s){var he=b===`x`?x:w,ge=b===`x`?S:C,Z=E[T],_e=T===`y`?`height`:`width`,ye=Z+g[he],be=Z-g[ge],xe=[x,w].indexOf(_)!==-1,Se=M?.[T]??0,Ce=xe?ye:Z-O[_e]-k[_e]-Se+j.altAxis,we=xe?Z+O[_e]+k[_e]-Se-j.altAxis:be,Te=p&&xe?de(Ce,Z,we):ue(p?Ce:ye,Z,p?we:be);E[T]=Te,N[T]=Te-Z}t.modifiersData[r]=N}}var ot={name:`preventOverflow`,enabled:!0,phase:`main`,fn:at,requiresIfExists:[`offset`]};function st(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ct(e){return e===L(e)||!z(e)?je(e):st(e)}function lt(e){var t=e.getBoundingClientRect(),n=W(t.width)/e.offsetWidth||1,r=W(t.height)/e.offsetHeight||1;return n!==1||r!==1}function ut(e,t,n){n===void 0&&(n=!1);var r=z(t),i=z(t)&<(t),a=Y(t),o=K(e,i,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((I(t)!==`body`||Fe(a))&&(s=ct(t)),z(t)?(c=K(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Me(a))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}function dt(e){var t=new Map,n=new Set,r=[];e.forEach(function(e){t.set(e.name,e)});function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){n.has(e.name)||i(e)}),r}function ft(e){var t=dt(e);return F.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function pt(e){var t;return function(){return t||=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})}),t}}function mt(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var ht={placement:`bottom`,modifiers:[],strategy:`absolute`};function gt(){return![...arguments].some(function(e){return!(e&&typeof e.getBoundingClientRect==`function`)})}function _t(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?ht:i;return function(e,t,n){n===void 0&&(n=a);var i={placement:`bottom`,orderedModifiers:[],options:Object.assign({},ht,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,c={state:i,setOptions:function(n){var o=typeof n==`function`?n(i.options):n;u(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:R(e)?Le(e):e.contextElement?Le(e.contextElement):[],popper:Le(t)};var s=ft(mt([].concat(r,i.options.modifiers)));return i.orderedModifiers=s.filter(function(e){return e.enabled}),l(),c.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(gt(t,n)){i.rects={reference:ut(t,ce(n),i.options.strategy===`fixed`),popper:ie(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<i.orderedModifiers.length;r++){if(i.reset===!0){i.reset=!1,r=-1;continue}var a=i.orderedModifiers[r],o=a.fn,l=a.options,u=l===void 0?{}:l,d=a.name;typeof o==`function`&&(i=o({state:i,options:u,name:d,instance:c})||i)}}}},update:pt(function(){return new Promise(function(e){c.forceUpdate(),e(i)})}),destroy:function(){u(),s=!0}};if(!gt(e,t))return c;c.setOptions(n).then(function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)});function l(){i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=n===void 0?{}:n,a=e.effect;if(typeof a==`function`){var s=a({state:i,name:t,instance:c,options:r});o.push(s||function(){})}})}function u(){o.forEach(function(e){return e()}),o=[]}return c}}var vt=_t({defaultModifiers:[Ee,rt,Ce,V,tt,Je,ot,_e,Qe]}),yt=`tippy-box`,bt=`tippy-content`,xt=`tippy-backdrop`,St=`tippy-arrow`,Ct=`tippy-svg-arrow`,wt={passive:!0,capture:!0},Tt=function(){return document.body};function Et(e,t,n){return Array.isArray(e)?e[t]??(Array.isArray(n)?n[t]:n):e}function Dt(e,t){var n={}.toString.call(e);return n.indexOf(`[object`)===0&&n.indexOf(t+`]`)>-1}function Ot(e,t){return typeof e==`function`?e.apply(void 0,t):e}function kt(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function At(e){return e.split(/\s+/).filter(Boolean)}function jt(e){return[].concat(e)}function Mt(e,t){e.indexOf(t)===-1&&e.push(t)}function Nt(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Pt(e){return e.split(`-`)[0]}function Ft(e){return[].slice.call(e)}function It(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function Lt(){return document.createElement(`div`)}function Rt(e){return[`Element`,`Fragment`].some(function(t){return Dt(e,t)})}function zt(e){return Dt(e,`NodeList`)}function Bt(e){return Dt(e,`MouseEvent`)}function Vt(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Ht(e){return Rt(e)?[e]:zt(e)?Ft(e):Array.isArray(e)?e:Ft(document.querySelectorAll(e))}function Ut(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+`ms`)})}function Wt(e,t){e.forEach(function(e){e&&e.setAttribute(`data-state`,t)})}function Gt(e){var t,n=jt(e)[0];return n!=null&&(t=n.ownerDocument)!=null&&t.body?n.ownerDocument:document}function Kt(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,i=e.popperState,a=e.props.interactiveBorder,o=Pt(i.placement),s=i.modifiersData.offset;if(!s)return!0;var c=o===`bottom`?s.top.y:0,l=o===`top`?s.bottom.y:0,u=o===`right`?s.left.x:0,d=o===`left`?s.right.x:0,f=t.top-r+c>a,p=r-t.bottom-l>a,m=t.left-n+u>a,h=n-t.right-d>a;return f||p||m||h})}function qt(e,t,n){var r=t+`EventListener`;[`transitionend`,`webkitTransitionEnd`].forEach(function(t){e[r](t,n)})}function Jt(e,t){for(var n=t;n;){if(e.contains(n))return!0;n=n.getRootNode==null?void 0:n.getRootNode()?.host}return!1}var Q={isTouch:!1},Yt=0;function Xt(){Q.isTouch||(Q.isTouch=!0,window.performance&&document.addEventListener(`mousemove`,Zt))}function Zt(){var e=performance.now();e-Yt<20&&(Q.isTouch=!1,document.removeEventListener(`mousemove`,Zt)),Yt=e}function Qt(){var e=document.activeElement;if(Vt(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function $t(){document.addEventListener(`touchstart`,Xt,wt),window.addEventListener(`blur`,Qt)}var en=typeof window<`u`&&typeof document<`u`?!!window.msCrypto:!1,$=Object.assign({appendTo:Tt,aria:{content:`auto`,expanded:`auto`},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:``,offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:`top`,plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:`mouseenter focus`,triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:`fade`,arrow:!0,content:``,inertia:!1,maxWidth:350,role:`tooltip`,theme:``,zIndex:9999}),tn=Object.keys($),nn=function(e){Object.keys(e).forEach(function(t){$[t]=e[t]})};function rn(e){var t=(e.plugins||[]).reduce(function(t,n){var r=n.name,i=n.defaultValue;return r&&(t[r]=e[r]===void 0?$[r]??i:e[r]),t},{});return Object.assign({},e,t)}function an(e,t){return(t?Object.keys(rn(Object.assign({},$,{plugins:t}))):tn).reduce(function(t,n){var r=(e.getAttribute(`data-tippy-`+n)||``).trim();if(!r)return t;if(n===`content`)t[n]=r;else try{t[n]=JSON.parse(r)}catch{t[n]=r}return t},{})}function on(e,t){var n=Object.assign({},t,{content:Ot(t.content,[e])},t.ignoreAttributes?{}:an(e,t.plugins));return n.aria=Object.assign({},$.aria,n.aria),n.aria={expanded:n.aria.expanded===`auto`?t.interactive:n.aria.expanded,content:n.aria.content===`auto`?t.interactive?null:`describedby`:n.aria.content},n}var sn=function(){return`innerHTML`};function cn(e,t){e[sn()]=t}function ln(e){var t=Lt();return e===!0?t.className=St:(t.className=Ct,Rt(e)?t.appendChild(e):cn(t,e)),t}function un(e,t){Rt(t.content)?(cn(e,``),e.appendChild(t.content)):typeof t.content!=`function`&&(t.allowHTML?cn(e,t.content):e.textContent=t.content)}function dn(e){var t=e.firstElementChild,n=Ft(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(bt)}),arrow:n.find(function(e){return e.classList.contains(St)||e.classList.contains(Ct)}),backdrop:n.find(function(e){return e.classList.contains(xt)})}}function fn(e){var t=Lt(),n=Lt();n.className=yt,n.setAttribute(`data-state`,`hidden`),n.setAttribute(`tabindex`,`-1`);var r=Lt();r.className=bt,r.setAttribute(`data-state`,`hidden`),un(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(n,r){var i=dn(t),a=i.box,o=i.content,s=i.arrow;r.theme?a.setAttribute(`data-theme`,r.theme):a.removeAttribute(`data-theme`),typeof r.animation==`string`?a.setAttribute(`data-animation`,r.animation):a.removeAttribute(`data-animation`),r.inertia?a.setAttribute(`data-inertia`,``):a.removeAttribute(`data-inertia`),a.style.maxWidth=typeof r.maxWidth==`number`?r.maxWidth+`px`:r.maxWidth,r.role?a.setAttribute(`role`,r.role):a.removeAttribute(`role`),(n.content!==r.content||n.allowHTML!==r.allowHTML)&&un(o,e.props),r.arrow?s?n.arrow!==r.arrow&&(a.removeChild(s),a.appendChild(ln(r.arrow))):a.appendChild(ln(r.arrow)):s&&a.removeChild(s)}return{popper:t,onUpdate:i}}fn.$$tippy=!0;var pn=1,mn=[],hn=[];function gn(e,t){var n=on(e,Object.assign({},$,rn(It(t)))),r,i,a,o=!1,s=!1,c=!1,l=!1,u,d,f,p=[],m=kt(re,n.interactiveDebounce),h,g=pn++,_=null,v=Nt(n.plugins),y={id:g,reference:e,popper:Lt(),popperInstance:_,props:n,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:v,clearDelayTimeouts:ue,setProps:de,setContent:fe,show:pe,hide:me,hideWithInteractivity:he,enable:ce,disable:le,unmount:ge,destroy:Z};if(!n.render)return y;var b=n.render(y),x=b.popper,S=b.onUpdate;x.setAttribute(`data-tippy-root`,``),x.id=`tippy-`+y.id,y.popper=x,e._tippy=y,x._tippy=y;var C=v.map(function(e){return e.fn(y)}),w=e.hasAttribute(`aria-expanded`);return ne(),F(),M(),N(`onCreate`,[y]),n.showOnCreate&&oe(),x.addEventListener(`mouseenter`,function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()}),x.addEventListener(`mouseleave`,function(){y.props.interactive&&y.props.trigger.indexOf(`mouseenter`)>=0&&k().addEventListener(`mousemove`,m)}),y;function T(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function E(){return T()[0]===`hold`}function D(){var e;return!!((e=y.props.render)!=null&&e.$$tippy)}function O(){return h||e}function k(){var e=O().parentNode;return e?Gt(e):document}function A(){return dn(x)}function j(e){return y.state.isMounted&&!y.state.isVisible||Q.isTouch||u&&u.type===`focus`?0:Et(y.props.delay,e?0:1,$.delay)}function M(e){e===void 0&&(e=!1),x.style.pointerEvents=y.props.interactive&&!e?``:`none`,x.style.zIndex=``+y.props.zIndex}function N(e,t,n){if(n===void 0&&(n=!0),C.forEach(function(n){n[e]&&n[e].apply(n,t)}),n){var r;(r=y.props)[e].apply(r,t)}}function P(){var t=y.props.aria;if(t.content){var n=`aria-`+t.content,r=x.id;jt(y.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+` `+r:r);else{var i=t&&t.replace(r,``).trim();i?e.setAttribute(n,i):e.removeAttribute(n)}})}}function F(){w||!y.props.aria.expanded||jt(y.props.triggerTarget||e).forEach(function(e){y.props.interactive?e.setAttribute(`aria-expanded`,y.state.isVisible&&e===O()?`true`:`false`):e.removeAttribute(`aria-expanded`)})}function I(){k().removeEventListener(`mousemove`,m),mn=mn.filter(function(e){return e!==m})}function L(t){if(!(Q.isTouch&&(c||t.type===`mousedown`))){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!(y.props.interactive&&Jt(x,n))){if(jt(y.props.triggerTarget||e).some(function(e){return Jt(e,n)})){if(Q.isTouch||y.state.isVisible&&y.props.trigger.indexOf(`click`)>=0)return}else N(`onClickOutside`,[y,t]);y.props.hideOnClick===!0&&(y.clearDelayTimeouts(),y.hide(),s=!0,setTimeout(function(){s=!1}),y.state.isMounted||ee())}}}function R(){c=!0}function z(){c=!1}function B(){var e=k();e.addEventListener(`mousedown`,L,!0),e.addEventListener(`touchend`,L,wt),e.addEventListener(`touchstart`,z,wt),e.addEventListener(`touchmove`,R,wt)}function ee(){var e=k();e.removeEventListener(`mousedown`,L,!0),e.removeEventListener(`touchend`,L,wt),e.removeEventListener(`touchstart`,z,wt),e.removeEventListener(`touchmove`,R,wt)}function te(e,t){H(e,function(){!y.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}function V(e,t){H(e,t)}function H(e,t){var n=A().box;function r(e){e.target===n&&(qt(n,`remove`,r),t())}if(e===0)return t();qt(n,`remove`,d),qt(n,`add`,r),d=r}function U(t,n,r){r===void 0&&(r=!1),jt(y.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),p.push({node:e,eventType:t,handler:n,options:r})})}function ne(){E()&&(U(`touchstart`,G,{passive:!0}),U(`touchend`,K,{passive:!0})),At(y.props.trigger).forEach(function(e){if(e!==`manual`)switch(U(e,G),e){case`mouseenter`:U(`mouseleave`,K);break;case`focus`:U(en?`focusout`:`blur`,ie);break;case`focusin`:U(`focusout`,ie);break}})}function W(){p.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),p=[]}function G(e){var t=!1;if(!(!y.state.isEnabled||q(e)||s)){var n=u?.type===`focus`;u=e,h=e.currentTarget,F(),!y.state.isVisible&&Bt(e)&&mn.forEach(function(t){return t(e)}),e.type===`click`&&(y.props.trigger.indexOf(`mouseenter`)<0||o)&&y.props.hideOnClick!==!1&&y.state.isVisible?t=!0:oe(e),e.type===`click`&&(o=!t),t&&!n&&se(e)}}function re(e){var t=e.target,r=O().contains(t)||x.contains(t);e.type===`mousemove`&&r||Kt(X().concat(x).map(function(e){var t=e._tippy.popperInstance?.state;return t?{popperRect:e.getBoundingClientRect(),popperState:t,props:n}:null}).filter(Boolean),e)&&(I(),se(e))}function K(e){if(!(q(e)||y.props.trigger.indexOf(`click`)>=0&&o)){if(y.props.interactive){y.hideWithInteractivity(e);return}se(e)}}function ie(e){y.props.trigger.indexOf(`focusin`)<0&&e.target!==O()||y.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||se(e)}function q(e){return Q.isTouch?E()!==e.type.indexOf(`touch`)>=0:!1}function J(){ae();var t=y.props,n=t.popperOptions,r=t.placement,i=t.offset,a=t.getReferenceClientRect,o=t.moveTransition,s=D()?dn(x).arrow:null,c=a?{getBoundingClientRect:a,contextElement:a.contextElement||O()}:e,l=[{name:`offset`,options:{offset:i}},{name:`preventOverflow`,options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:`flip`,options:{padding:5}},{name:`computeStyles`,options:{adaptive:!o}},{name:`$$tippy`,enabled:!0,phase:`beforeWrite`,requires:[`computeStyles`],fn:function(e){var t=e.state;if(D()){var n=A().box;[`placement`,`reference-hidden`,`escaped`].forEach(function(e){e===`placement`?n.setAttribute(`data-placement`,t.placement):t.attributes.popper[`data-popper-`+e]?n.setAttribute(`data-`+e,``):n.removeAttribute(`data-`+e)}),t.attributes.popper={}}}}];D()&&s&&l.push({name:`arrow`,options:{element:s,padding:3}}),l.push.apply(l,n?.modifiers||[]),y.popperInstance=vt(c,x,Object.assign({},n,{placement:r,onFirstUpdate:f,modifiers:l}))}function ae(){y.popperInstance&&=(y.popperInstance.destroy(),null)}function Y(){var e=y.props.appendTo,t,n=O();t=y.props.interactive&&e===Tt||e===`parent`?n.parentNode:Ot(e,[n]),t.contains(x)||t.appendChild(x),y.state.isMounted=!0,J()}function X(){return Ft(x.querySelectorAll(`[data-tippy-root]`))}function oe(e){y.clearDelayTimeouts(),e&&N(`onTrigger`,[y,e]),B();var t=j(!0),n=T(),i=n[0],a=n[1];Q.isTouch&&i===`hold`&&a&&(t=a),t?r=setTimeout(function(){y.show()},t):y.show()}function se(e){if(y.clearDelayTimeouts(),N(`onUntrigger`,[y,e]),!y.state.isVisible){ee();return}if(!(y.props.trigger.indexOf(`mouseenter`)>=0&&y.props.trigger.indexOf(`click`)>=0&&[`mouseleave`,`mousemove`].indexOf(e.type)>=0&&o)){var t=j(!1);t?i=setTimeout(function(){y.state.isVisible&&y.hide()},t):a=requestAnimationFrame(function(){y.hide()})}}function ce(){y.state.isEnabled=!0}function le(){y.hide(),y.state.isEnabled=!1}function ue(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(a)}function de(t){if(!y.state.isDestroyed){N(`onBeforeUpdate`,[y,t]),W();var n=y.props,r=on(e,Object.assign({},n,It(t),{ignoreAttributes:!0}));y.props=r,ne(),n.interactiveDebounce!==r.interactiveDebounce&&(I(),m=kt(re,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?jt(n.triggerTarget).forEach(function(e){e.removeAttribute(`aria-expanded`)}):r.triggerTarget&&e.removeAttribute(`aria-expanded`),F(),M(),S&&S(n,r),y.popperInstance&&(J(),X().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),N(`onAfterUpdate`,[y,t])}}function fe(e){y.setProps({content:e})}function pe(){var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=Q.isTouch&&!y.props.touch,i=Et(y.props.duration,0,$.duration);if(!(e||t||n||r)&&!O().hasAttribute(`disabled`)&&(N(`onShow`,[y],!1),y.props.onShow(y)!==!1)){if(y.state.isVisible=!0,D()&&(x.style.visibility=`visible`),M(),B(),y.state.isMounted||(x.style.transition=`none`),D()){var a=A(),o=a.box,s=a.content;Ut([o,s],0)}f=function(){var e;if(!(!y.state.isVisible||l)){if(l=!0,x.offsetHeight,x.style.transition=y.props.moveTransition,D()&&y.props.animation){var t=A(),n=t.box,r=t.content;Ut([n,r],i),Wt([n,r],`visible`)}P(),F(),Mt(hn,y),(e=y.popperInstance)==null||e.forceUpdate(),N(`onMount`,[y]),y.props.animation&&D()&&V(i,function(){y.state.isShown=!0,N(`onShown`,[y])})}},Y()}}function me(){var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=Et(y.props.duration,1,$.duration);if(!(e||t||n)&&(N(`onHide`,[y],!1),y.props.onHide(y)!==!1)){if(y.state.isVisible=!1,y.state.isShown=!1,l=!1,o=!1,D()&&(x.style.visibility=`hidden`),I(),ee(),M(!0),D()){var i=A(),a=i.box,s=i.content;y.props.animation&&(Ut([a,s],r),Wt([a,s],`hidden`))}P(),F(),y.props.animation?D()&&te(r,y.unmount):y.unmount()}}function he(e){k().addEventListener(`mousemove`,m),Mt(mn,m),m(e)}function ge(){y.state.isVisible&&y.hide(),y.state.isMounted&&(ae(),X().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),hn=hn.filter(function(e){return e!==y}),y.state.isMounted=!1,N(`onHidden`,[y]))}function Z(){y.state.isDestroyed||(y.clearDelayTimeouts(),y.unmount(),W(),delete e._tippy,y.state.isDestroyed=!0,N(`onDestroy`,[y]))}}function _n(e,t){t===void 0&&(t={});var n=$.plugins.concat(t.plugins||[]);$t();var r=Object.assign({},t,{plugins:n}),i=Ht(e).reduce(function(e,t){var n=t&&gn(t,r);return n&&e.push(n),e},[]);return Rt(e)?i[0]:i}_n.defaultProps=$,_n.setDefaultProps=nn,_n.currentInput=Q,Object.assign({},V,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:`0`,top:`0`,margin:`0`},arrow:{position:`absolute`},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),_n.setDefaultProps({render:fn});var vn=_n,yn=`shared/tippy.e012f5144451ed83.css`,bn=class extends _(b){constructor(){super(),this.textContent=`missing text.`,this.interactive=!1}static get scopedElements(){return{"dbp-icon":h}}static get properties(){return c(c({},super.properties),{},{textContent:{type:String,attribute:`text-content`},interactive:{type:Boolean,attribute:!0}})}firstUpdated(){this.setOrUpdateTippy()}setOrUpdateTippy(){this._(`#info-tooltip-icon`)&&(this._(`#info-tooltip-icon`)._tippy?this._(`#info-tooltip-icon`)._tippy.setProps({content:this.textContent,appendTo:this.shadowRoot,interactive:this.interactive,allowHTML:!!this.interactive,hideOnClick:!this.interactive}):vn(this._(`#info-tooltip-icon`),{content:this.textContent,appendTo:this.shadowRoot,interactive:this.interactive,allowHTML:!!this.interactive,hideOnClick:!this.interactive}))}static get styles(){return f(t||=e`
${0}
${0}
${0}
.info-icon {
display: inline;
opacity: 0.7;
font-size: 18px;
padding: 4.5px 7px;
}
a {
text-decoration-line: underline;
text-decoration-style: dotted;
}
.tippy-box {
background-color: var(--dbp-tooltip-box-bg-color, var(--dbp-content-surface));
color: var(--dbp-tooltip-box-font-color, var(--dbp-on-content-surface));
font-weight: var(--dbp-tooltip-box-font-weight, normal);
}
.tippy-arrow {
color: var(--dbp-tooltip-arrow-color, var(--dbp-content));
}
`,g(),y(!1),p())}render(){let t=m(yn);return this.setOrUpdateTippy(),v(n||=e`
<link rel="stylesheet" href="${0}" />
<div class="info-icon" id="info-tooltip-icon">
<dbp-icon name="information-circle"></dbp-icon>
</div>
`,t)}},xn=class extends _(b){constructor(){super(),this.textContent=`missing text.`,this.iconName=``}static get scopedElements(){return{"dbp-icon":h}}static get properties(){return c(c({},super.properties),{},{textContent:{type:String,attribute:`text-content`},iconName:{type:String,attribute:`icon-name`}})}firstUpdated(){this.setOrUpdateTippy()}setOrUpdateTippy(){this._(`#tooltip-icon`)&&(this._(`#tooltip-icon`)._tippy?this._(`#tooltip-icon`)._tippy.setProps({content:this.textContent,appendTo:this.shadowRoot}):vn(this._(`#tooltip-icon`),{content:this.textContent,appendTo:this.shadowRoot}))}static get styles(){return f(r||=e`
${0}
${0}
${0}
.tooltip-icon {
display: inline;
color: var(--dbp-tooltip-icon-color, var(--dbp-content));
}
.tippy-box {
background-color: var(--dbp-tooltip-box-bg-color, var(--dbp-content-surface));
color: var(--dbp-tooltip-box-font-color, var(--dbp-on-content-surface));
font-weight: var(--dbp-tooltip-box-font-weight, normal);
}
.tippy-arrow {
color: var(--dbp-tooltip-arrow-color, var(--dbp-content));
}
`,g(),y(!1),p())}render(){let t=m(yn);return this.setOrUpdateTippy(),v(i||=e`
<link rel="stylesheet" href="${0}" />
<div class="tooltip-icon">
${0}
</div>
`,t,this.iconName?v(a||=e`
<dbp-icon name="${0}" id="tooltip-icon"></dbp-icon>
`,this.iconName):v(o||=e`
<!-- https://www.svgrepo.com/svg/89416/skull -->
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
fill="currentColor"
id="tooltip-icon"
x="0"
y="0"
viewBox="0 0 360 360"
xml:space="preserve">
<g>
<path
d="M180,0C97.157,0,30,67.157,30,150v109.667h0.016c0.337,13.559,7.045,22.475,19.879,26.753L105,305v30
c0,13.75,11.25,25,25,25h100c13.75,0,25-11.25,25-25v-30l55.051-18.668c12.834-4.278,19.597-13.106,19.934-26.665H330V150
C330,67.157,262.843,0,180,0z M300,258.063l-54.635,18.526L225,283.495V305v25h-90v-25v-21.544l-20.415-6.884L60,258.168V150
c0-32.053,12.482-62.188,35.147-84.853C117.813,42.482,147.947,30,180,30s62.188,12.482,84.853,35.147
C287.518,87.813,300,117.947,300,150V258.063z" />
<path
d="M160,281c0,11.046,8.954,20,20,20s20-8.954,20-20s-20-40-20-40S160,269.954,160,281z" />
<path
d="M125,161c-24.854,0-45,20.146-45,45s20.146,45,45,45s45-20.146,45-45S149.854,161,125,161z M125,221c-8.271,0-15-6.729-15-15s6.729-15,15-15s15,6.729,15,15S133.271,221,125,221z" />
<path
d="M190,206c0,24.854,20.146,45,45,45s45-20.146,45-45s-20.147-45-45-45S190,181.146,190,206z M250,206c0,8.271-6.729,15-15,15s-15-6.729-15-15s6.729-15,15-15S250,197.729,250,206z" />
</g>
</svg>
`))}};export{bn as n,xn as t};
//# sourceMappingURL=src.WsPj5v14.js.map