@qaecy/cue-ui 0.0.44 → 0.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/149.js +1 -0
- package/153.js +1 -1
- package/245.js +1 -0
- package/311.js +1 -1
- package/336.js +1 -1
- package/36.js +1 -1
- package/393.js +1 -1
- package/399.js +1 -1
- package/4.js +1 -1
- package/41.js +1 -1
- package/418.js +1 -1
- package/419.js +1 -1
- package/423.js +1 -1
- package/560.js +1 -1
- package/598.js +1 -1
- package/613.js +1 -1
- package/673.js +1 -1
- package/7.js +1 -1
- package/719.js +1 -1
- package/724.js +1 -1
- package/799.js +1 -0
- package/802.js +1 -1
- package/836.js +1 -1
- package/872.js +1 -1
- package/879.js +1 -1
- package/882.js +1 -1
- package/911.js +1 -1
- package/928.js +1 -1
- package/931.js +1 -0
- package/981.js +1 -1
- package/common.js +1 -1
- package/index.js +1 -1
- package/main.js +1 -1
- package/package.json +1 -1
- package/187.js +0 -1
- package/189.js +0 -1
- package/29.js +0 -1
- package/319.js +0 -1
- package/448.js +0 -1
- package/629.js +0 -1
- package/89.js +0 -1
- package/971.js +0 -1
package/89.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[89],{7089(di,Cr,Xe){Xe.d(Cr,{d:()=>ai});var Lt=Xe(5802),Rt=Xe(5547),Me=Xe(7705);function U(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function de(e){return e instanceof U(e).Element||e instanceof Element}function X(e){return e instanceof U(e).HTMLElement||e instanceof HTMLElement}function lt(e){return!(typeof ShadowRoot>"u")&&(e instanceof U(e).ShadowRoot||e instanceof ShadowRoot)}var ve=Math.max,Ye=Math.min,we=Math.round;function dt(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function jt(){return!/^((?!chrome|android).)*safari/i.test(dt())}function Oe(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var i=e.getBoundingClientRect(),o=1,a=1;t&&X(e)&&(o=e.offsetWidth>0&&we(i.width)/e.offsetWidth||1,a=e.offsetHeight>0&&we(i.height)/e.offsetHeight||1);var u=(de(e)?U(e):window).visualViewport,f=!jt()&&r,l=(i.left+(f&&u?u.offsetLeft:0))/o,c=(i.top+(f&&u?u.offsetTop:0))/a,E=i.width/o,O=i.height/a;return{width:E,height:O,top:c,right:l+E,bottom:c+O,left:l,x:l,y:c}}function vt(e){var t=U(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function K(e){return e?(e.nodeName||"").toLowerCase():null}function se(e){return((de(e)?e.ownerDocument:e.document)||window.document).documentElement}function mt(e){return Oe(se(e)).left+vt(e).scrollLeft}function re(e){return U(e).getComputedStyle(e)}function ht(e){var t=re(e);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function Sr(e,t,r){void 0===r&&(r=!1);var i=X(t),o=X(t)&&function Pr(e){var t=e.getBoundingClientRect(),r=we(t.width)/e.offsetWidth||1,i=we(t.height)/e.offsetHeight||1;return 1!==r||1!==i}(t),a=se(t),s=Oe(e,o,r),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!r)&&(("body"!==K(t)||ht(a))&&(u=function Dr(e){return e!==U(e)&&X(e)?function Ar(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):vt(e)}(t)),X(t)?((f=Oe(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=mt(a))),{x:s.left+u.scrollLeft-f.x,y:s.top+u.scrollTop-f.y,width:s.width,height:s.height}}function gt(e){var t=Oe(e),r=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:i}}function ze(e){return"html"===K(e)?e:e.assignedSlot||e.parentNode||(lt(e)?e.host:null)||se(e)}function Bt(e){return["html","body","#document"].indexOf(K(e))>=0?e.ownerDocument.body:X(e)&&ht(e)?e:Bt(ze(e))}function Le(e,t){var r;void 0===t&&(t=[]);var i=Bt(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=U(i),s=o?[a].concat(a.visualViewport||[],ht(i)?i:[]):i,u=t.concat(s);return o?u:u.concat(Le(ze(s)))}function Mr(e){return["table","td","th"].indexOf(K(e))>=0}function kt(e){return X(e)&&"fixed"!==re(e).position?e.offsetParent:null}function Re(e){for(var t=U(e),r=kt(e);r&&Mr(r)&&"static"===re(r).position;)r=kt(r);return r&&("html"===K(r)||"body"===K(r)&&"static"===re(r).position)?t:r||function Lr(e){var t=/firefox/i.test(dt());if(/Trident/i.test(dt())&&X(e)&&"fixed"===re(e).position)return null;var o=ze(e);for(lt(o)&&(o=o.host);X(o)&&["html","body"].indexOf(K(o))<0;){var a=re(o);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||t&&"filter"===a.willChange||t&&a.filter&&"none"!==a.filter)return o;o=o.parentNode}return null}(e)||t}var H="top",Y="bottom",z="right",W="left",yt="auto",je=[H,Y,z,W],xe="start",Be="end",It="viewport",ke="popper",Vt=je.reduce(function(e,t){return e.concat([t+"-"+xe,t+"-"+Be])},[]),Nt=[].concat(je,[yt]).reduce(function(e,t){return e.concat([t,t+"-"+xe,t+"-"+Be])},[]),Ur=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _r(e){var t=new Map,r=new Set,i=[];function o(a){r.add(a.name),[].concat(a.requires||[],a.requiresIfExists||[]).forEach(function(u){if(!r.has(u)){var f=t.get(u);f&&o(f)}}),i.push(a)}return e.forEach(function(a){t.set(a.name,a)}),e.forEach(function(a){r.has(a.name)||o(a)}),i}function Yr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var Ft={placement:"bottom",modifiers:[],strategy:"absolute"};function Ht(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(i){return!(i&&"function"==typeof i.getBoundingClientRect)})}function qr(e){void 0===e&&(e={});var r=e.defaultModifiers,i=void 0===r?[]:r,o=e.defaultOptions,a=void 0===o?Ft:o;return function(u,f,l){void 0===l&&(l=a);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ft,a),modifiersData:{},elements:{reference:u,popper:f},attributes:{},styles:{}},E=[],O=!1,y={state:c,setOptions:function(d){var x="function"==typeof d?d(c.options):d;h(),c.options=Object.assign({},a,c.options,x),c.scrollParents={reference:de(u)?Le(u):u.contextElement?Le(u.contextElement):[],popper:Le(f)};var C=function Xr(e){var t=_r(e);return Ur.reduce(function(r,i){return r.concat(t.filter(function(o){return o.phase===i}))},[])}(function zr(e){var t=e.reduce(function(r,i){var o=r[i.name];return r[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,r},{});return Object.keys(t).map(function(r){return t[r]})}([].concat(i,c.options.modifiers)));return c.orderedModifiers=C.filter(function(n){return n.enabled}),function w(){c.orderedModifiers.forEach(function(m){var x=m.options,n=m.effect;if("function"==typeof n){var g=n({state:c,name:m.name,instance:y,options:void 0===x?{}:x});E.push(g||function(){})}})}(),y.update()},forceUpdate:function(){if(!O){var d=c.elements,x=d.reference,C=d.popper;if(Ht(x,C)){c.rects={reference:Sr(x,Re(C),"fixed"===c.options.strategy),popper:gt(C)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(L){return c.modifiersData[L.name]=Object.assign({},L.data)});for(var n=0;n<c.orderedModifiers.length;n++)if(!0!==c.reset){var g=c.orderedModifiers[n],v=g.fn,A=g.options;"function"==typeof v&&(c=v({state:c,options:void 0===A?{}:A,name:g.name,instance:y})||c)}else c.reset=!1,n=-1}}},update:Yr(function(){return new Promise(function(m){y.forceUpdate(),m(c)})}),destroy:function(){h(),O=!0}};if(!Ht(u,f))return y;function h(){E.forEach(function(m){return m()}),E=[]}return y.setOptions(l).then(function(m){!O&&l.onFirstUpdate&&l.onFirstUpdate(m)}),y}}var qe={passive:!0};function Q(e){return e.split("-")[0]}function Ee(e){return e.split("-")[1]}function bt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Wt(e){var f,t=e.reference,r=e.element,i=e.placement,o=i?Q(i):null,a=i?Ee(i):null,s=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2;switch(o){case H:f={x:s,y:t.y-r.height};break;case Y:f={x:s,y:t.y+t.height};break;case z:f={x:t.x+t.width,y:u};break;case W:f={x:t.x-r.width,y:u};break;default:f={x:t.x,y:t.y}}var l=o?bt(o):null;if(null!=l){var c="y"===l?"height":"width";switch(a){case xe:f[l]=f[l]-(t[c]/2-r[c]/2);break;case Be:f[l]=f[l]+(t[c]/2-r[c]/2)}}return f}var Zr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $t(e){var t,r=e.popper,i=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,u=e.position,f=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,E=e.isFixed,O=s.x,y=void 0===O?0:O,w=s.y,h=void 0===w?0:w,m="function"==typeof c?c({x:y,y:h}):{x:y,y:h};y=m.x,h=m.y;var d=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),C=W,n=H,g=window;if(l){var v=Re(r),A="clientHeight",P="clientWidth";v===U(r)&&"static"!==re(v=se(r)).position&&"absolute"===u&&(A="scrollHeight",P="scrollWidth"),(o===H||(o===W||o===z)&&a===Be)&&(n=Y,h-=(E&&v===g&&g.visualViewport?g.visualViewport.height:v[A])-i.height,h*=f?1:-1),o!==W&&(o!==H&&o!==Y||a!==Be)||(C=z,y-=(E&&v===g&&g.visualViewport?g.visualViewport.width:v[P])-i.width,y*=f?1:-1)}var R,B=Object.assign({position:u},l&&Zr),j=!0===c?function en(e,t){var i=e.y,o=t.devicePixelRatio||1;return{x:we(e.x*o)/o||0,y:we(i*o)/o||0}}({x:y,y:h},U(r)):{x:y,y:h};return y=j.x,h=j.y,Object.assign({},B,f?((R={})[n]=x?"0":"",R[C]=d?"0":"",R.transform=(g.devicePixelRatio||1)<=1?"translate("+y+"px, "+h+"px)":"translate3d("+y+"px, "+h+"px, 0)",R):((t={})[n]=x?h+"px":"",t[C]=d?y+"px":"",t.transform="",t))}const Ut={name:"applyStyles",enabled:!0,phase:"write",fn:function nn(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var i=t.styles[r]||{},o=t.attributes[r]||{},a=t.elements[r];!X(a)||!K(a)||(Object.assign(a.style,i),Object.keys(o).forEach(function(s){var u=o[s];!1===u?a.removeAttribute(s):a.setAttribute(s,!0===u?"":u)}))})},effect:function on(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(i){var o=t.elements[i],a=t.attributes[i]||{},u=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:r[i]).reduce(function(f,l){return f[l]="",f},{});!X(o)||!K(o)||(Object.assign(o.style,u),Object.keys(a).forEach(function(f){o.removeAttribute(f)}))})}},requires:["computeStyles"]};var fn={left:"right",right:"left",bottom:"top",top:"bottom"};function Ge(e){return e.replace(/left|right|bottom|top/g,function(t){return fn[t]})}var pn={start:"end",end:"start"};function _t(e){return e.replace(/start|end/g,function(t){return pn[t]})}function Xt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&<(r)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function wt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Yt(e,t,r){return t===It?wt(function cn(e,t){var r=U(e),i=se(e),o=r.visualViewport,a=i.clientWidth,s=i.clientHeight,u=0,f=0;if(o){a=o.width,s=o.height;var l=jt();(l||!l&&"fixed"===t)&&(u=o.offsetLeft,f=o.offsetTop)}return{width:a,height:s,x:u+mt(e),y:f}}(e,r)):de(t)?function dn(e,t){var r=Oe(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):wt(function ln(e){var t,r=se(e),i=vt(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=ve(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=ve(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-i.scrollLeft+mt(e),f=-i.scrollTop;return"rtl"===re(o||r).direction&&(u+=ve(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:u,y:f}}(se(e)))}function qt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Gt(e,t){return t.reduce(function(r,i){return r[i]=e,r},{})}function Ie(e,t){void 0===t&&(t={});var i=t.placement,o=void 0===i?e.placement:i,a=t.strategy,s=void 0===a?e.strategy:a,u=t.boundary,f=void 0===u?"clippingParents":u,l=t.rootBoundary,c=void 0===l?It:l,E=t.elementContext,O=void 0===E?ke:E,y=t.altBoundary,w=void 0!==y&&y,h=t.padding,m=void 0===h?0:h,d=qt("number"!=typeof m?m:Gt(m,je)),C=e.rects.popper,n=e.elements[w?O===ke?"reference":ke:O],g=function mn(e,t,r,i){var o="clippingParents"===t?function vn(e){var t=Le(ze(e)),i=["absolute","fixed"].indexOf(re(e).position)>=0&&X(e)?Re(e):e;return de(i)?t.filter(function(o){return de(o)&&Xt(o,i)&&"body"!==K(o)}):[]}(e):[].concat(t),a=[].concat(o,[r]),u=a.reduce(function(f,l){var c=Yt(e,l,i);return f.top=ve(c.top,f.top),f.right=Ye(c.right,f.right),f.bottom=Ye(c.bottom,f.bottom),f.left=ve(c.left,f.left),f},Yt(e,a[0],i));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}(de(n)?n:n.contextElement||se(e.elements.popper),f,c,s),v=Oe(e.elements.reference),A=Wt({reference:v,element:C,strategy:"absolute",placement:o}),P=wt(Object.assign({},C,A)),M=O===ke?P:v,L={top:g.top-M.top+d.top,bottom:M.bottom-g.bottom+d.bottom,left:g.left-M.left+d.left,right:M.right-g.right+d.right},B=e.modifiersData.offset;if(O===ke&&B){var j=B[o];Object.keys(L).forEach(function(R){var I=[z,Y].indexOf(R)>=0?1:-1,_=[H,Y].indexOf(R)>=0?"y":"x";L[R]+=j[_]*I})}return L}function Ve(e,t,r){return ve(e,Ye(t,r))}function Kt(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Qt(e){return[H,z,Y,W].some(function(t){return e[t]>=0})}var Mn=qr({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function Gr(e){var t=e.state,r=e.instance,i=e.options,o=i.scroll,a=void 0===o||o,s=i.resize,u=void 0===s||s,f=U(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(c){c.addEventListener("scroll",r.update,qe)}),u&&f.addEventListener("resize",r.update,qe),function(){a&&l.forEach(function(c){c.removeEventListener("scroll",r.update,qe)}),u&&f.removeEventListener("resize",r.update,qe)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function Qr(e){var t=e.state;t.modifiersData[e.name]=Wt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function tn(e){var t=e.state,r=e.options,i=r.gpuAcceleration,o=void 0===i||i,a=r.adaptive,s=void 0===a||a,u=r.roundOffsets,f=void 0===u||u,l={placement:Q(t.placement),variation:Ee(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,$t(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,$t(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ut,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function sn(e){var t=e.state,i=e.name,o=e.options.offset,a=void 0===o?[0,0]:o,s=Nt.reduce(function(c,E){return c[E]=function an(e,t,r){var i=Q(e),o=[W,H].indexOf(i)>=0?-1:1,a="function"==typeof r?r(Object.assign({},t,{placement:e})):r,s=a[0],u=a[1];return s=s||0,u=(u||0)*o,[W,z].indexOf(i)>=0?{x:u,y:s}:{x:s,y:u}}(E,t.rects,a),c},{}),u=s[t.placement],l=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u.x,t.modifiersData.popperOffsets.y+=l),t.modifiersData[i]=s}},{name:"flip",enabled:!0,phase:"main",fn:function yn(e){var t=e.state,r=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=r.mainAxis,a=void 0===o||o,s=r.altAxis,u=void 0===s||s,f=r.fallbackPlacements,l=r.padding,c=r.boundary,E=r.rootBoundary,O=r.altBoundary,y=r.flipVariations,w=void 0===y||y,h=r.allowedAutoPlacements,m=t.options.placement,d=Q(m),C=f||(d!==m&&w?function gn(e){if(Q(e)===yt)return[];var t=Ge(e);return[_t(e),t,_t(t)]}(m):[Ge(m)]),n=[m].concat(C).reduce(function(ne,G){return ne.concat(Q(G)===yt?function hn(e,t){void 0===t&&(t={});var o=t.boundary,a=t.rootBoundary,s=t.padding,u=t.flipVariations,f=t.allowedAutoPlacements,l=void 0===f?Nt:f,c=Ee(t.placement),E=c?u?Vt:Vt.filter(function(w){return Ee(w)===c}):je,O=E.filter(function(w){return l.indexOf(w)>=0});0===O.length&&(O=E);var y=O.reduce(function(w,h){return w[h]=Ie(e,{placement:h,boundary:o,rootBoundary:a,padding:s})[Q(h)],w},{});return Object.keys(y).sort(function(w,h){return y[w]-y[h]})}(t,{placement:G,boundary:c,rootBoundary:E,padding:l,flipVariations:w,allowedAutoPlacements:h}):G)},[]),g=t.rects.reference,v=t.rects.popper,A=new Map,P=!0,M=n[0],L=0;L<n.length;L++){var B=n[L],j=Q(B),R=Ee(B)===xe,I=[H,Y].indexOf(j)>=0,_=I?"width":"height",V=Ie(t,{placement:B,boundary:c,rootBoundary:E,altBoundary:O,padding:l}),N=I?R?z:W:R?Y:H;g[_]>v[_]&&(N=Ge(N));var k=Ge(N),Z=[];if(a&&Z.push(V[j]<=0),u&&Z.push(V[N]<=0,V[k]<=0),Z.every(function(ne){return ne})){M=B,P=!1;break}A.set(B,Z)}if(P)for(var he=function(G){var ie=n.find(function(Ce){var oe=A.get(Ce);if(oe)return oe.slice(0,G).every(function(Ae){return Ae})});if(ie)return M=ie,"break"},te=w?3:1;te>0&&"break"!==he(te);te--);t.placement!==M&&(t.modifiersData[i]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function xn(e){var t=e.state,r=e.options,i=e.name,o=r.mainAxis,a=void 0===o||o,s=r.altAxis,u=void 0!==s&&s,O=r.tether,y=void 0===O||O,w=r.tetherOffset,h=void 0===w?0:w,m=Ie(t,{boundary:r.boundary,rootBoundary:r.rootBoundary,padding:r.padding,altBoundary:r.altBoundary}),d=Q(t.placement),x=Ee(t.placement),C=!x,n=bt(d),g=function wn(e){return"x"===e?"y":"x"}(n),v=t.modifiersData.popperOffsets,A=t.rects.reference,P=t.rects.popper,M="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,L="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(v){if(a){var R,I="y"===n?H:W,_="y"===n?Y:z,V="y"===n?"height":"width",N=v[n],k=N+m[I],Z=N-m[_],ee=y?-P[V]/2:0,he=x===xe?A[V]:P[V],te=x===xe?-P[V]:-A[V],ge=t.elements.arrow,ne=y&&ge?gt(ge):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ie=G[I],Ce=G[_],oe=Ve(0,A[V],ne[V]),Ae=C?A[V]/2-ee-oe-ie-L.mainAxis:he-oe-ie-L.mainAxis,ce=C?-A[V]/2+ee+oe+Ce+L.mainAxis:te+oe+Ce+L.mainAxis,De=t.elements.arrow&&Re(t.elements.arrow),tt=De?"y"===n?De.clientTop||0:De.clientLeft||0:0,He=null!=(R=B?.[n])?R:0,nt=N+ce-He,We=Ve(y?Ye(k,N+Ae-He-tt):k,N,y?ve(Z,nt):Z);v[n]=We,j[n]=We-N}if(u){var $e,ae=v[g],le="y"===g?"height":"width",Ue=ae+m["x"===n?H:W],ye=ae-m["x"===n?Y:z],_e=-1!==[H,W].indexOf(d),at=null!=($e=B?.[g])?$e:0,st=_e?Ue:ae-A[le]-P[le]-at+L.altAxis,ut=_e?ae+A[le]+P[le]-at-L.altAxis:ye,ft=y&&_e?function On(e,t,r){var i=Ve(e,t,r);return i>r?r:i}(st,ae,ut):Ve(y?st:Ue,ae,y?ut:ye);v[g]=ft,j[g]=ft-ae}t.modifiersData[i]=j}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function Cn(e){var t,r=e.state,i=e.name,o=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,u=Q(r.placement),f=bt(u),c=[W,z].indexOf(u)>=0?"height":"width";if(a&&s){var E=function(t,r){return qt("number"!=typeof(t="function"==typeof t?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:Gt(t,je))}(o.padding,r),O=gt(a),y="y"===f?H:W,w="y"===f?Y:z,h=r.rects.reference[c]+r.rects.reference[f]-s[f]-r.rects.popper[c],m=s[f]-r.rects.reference[f],d=Re(a),x=d?"y"===f?d.clientHeight||0:d.clientWidth||0:0,v=x/2-O[c]/2+(h/2-m/2),A=Ve(E[y],v,x-O[c]-E[w]);r.modifiersData[i]=((t={})[f]=A,t.centerOffset=A-v,t)}},effect:function An(e){var t=e.state,i=e.options.element,o=void 0===i?"[data-popper-arrow]":i;null!=o&&("string"==typeof o&&!(o=t.elements.popper.querySelector(o))||Xt(t.elements.popper,o)&&(t.elements.arrow=o))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function Pn(e){var t=e.state,r=e.name,i=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,s=Ie(t,{elementContext:"reference"}),u=Ie(t,{altBoundary:!0}),f=Kt(s,i),l=Kt(u,o,a),c=Qt(f),E=Qt(l);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:E},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":E})}}]}),Jt="tippy-content",er="tippy-arrow",tr="tippy-svg-arrow",ue={passive:!0,capture:!0},rr=function(){return document.body};function Ot(e,t,r){return Array.isArray(e)?e[t]??(Array.isArray(r)?r[t]:r):e}function xt(e,t){var r={}.toString.call(e);return 0===r.indexOf("[object")&&r.indexOf(t+"]")>-1}function nr(e,t){return"function"==typeof e?e.apply(void 0,t):e}function ir(e,t){return 0===t?e:function(i){clearTimeout(r),r=setTimeout(function(){e(i)},t)};var r}function fe(e){return[].concat(e)}function or(e,t){-1===e.indexOf(t)&&e.push(t)}function Te(e){return[].slice.call(e)}function sr(e){return Object.keys(e).reduce(function(t,r){return void 0!==e[r]&&(t[r]=e[r]),t},{})}function me(){return document.createElement("div")}function Ke(e){return["Element","Fragment"].some(function(t){return xt(e,t)})}function Ct(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function Ne(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function At(e,t,r){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[i](o,r)})}function pr(e,t){for(var r=t;r;){var i;if(e.contains(r))return!0;r=null==r.getRootNode||null==(i=r.getRootNode())?void 0:i.host}return!1}var J={isTouch:!1},cr=0;function Nn(){J.isTouch||(J.isTouch=!0,window.performance&&document.addEventListener("mousemove",lr))}function lr(){var e=performance.now();e-cr<20&&(J.isTouch=!1,document.removeEventListener("mousemove",lr)),cr=e}function Fn(){var e=document.activeElement;(function ur(e){return!(!e||!e._tippy||e._tippy.reference!==e)})(e)&&e.blur&&!e._tippy.state.isVisible&&e.blur()}var $n=!!(typeof window<"u"&&typeof document<"u")&&!!window.msCrypto,$=Object.assign({appendTo:rr,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}),Yn=Object.keys($);function gr(e){var r=(e.plugins||[]).reduce(function(i,o){var u,a=o.name;return a&&(i[a]=void 0!==e[a]?e[a]:null!=(u=$[a])?u:o.defaultValue),i},{});return Object.assign({},e,r)}function yr(e,t){var r=Object.assign({},t,{content:nr(t.content,[e])},t.ignoreAttributes?{}:function qn(e,t){return(t?Object.keys(gr(Object.assign({},$,{plugins:t}))):Yn).reduce(function(o,a){var s=(e.getAttribute("data-tippy-"+a)||"").trim();if(!s)return o;if("content"===a)o[a]=s;else try{o[a]=JSON.parse(s)}catch{o[a]=s}return o},{})}(e,t.plugins));return r.aria=Object.assign({},$.aria,r.aria),r.aria={expanded:"auto"===r.aria.expanded?t.interactive:r.aria.expanded,content:"auto"===r.aria.content?t.interactive?null:"describedby":r.aria.content},r}function Dt(e,t){e.innerHTML=t}function br(e){var t=me();return!0===e?t.className=er:(t.className=tr,Ke(e)?t.appendChild(e):Dt(t,e)),t}function wr(e,t){Ke(t.content)?(Dt(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Dt(e,t.content):e.textContent=t.content)}function Qe(e){var t=e.firstElementChild,r=Te(t.children);return{box:t,content:r.find(function(i){return i.classList.contains(Jt)}),arrow:r.find(function(i){return i.classList.contains(er)||i.classList.contains(tr)}),backdrop:r.find(function(i){return i.classList.contains("tippy-backdrop")})}}function Or(e){var t=me(),r=me();r.className="tippy-box",r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var i=me();function o(a,s){var u=Qe(t),f=u.box,l=u.content,c=u.arrow;s.theme?f.setAttribute("data-theme",s.theme):f.removeAttribute("data-theme"),"string"==typeof s.animation?f.setAttribute("data-animation",s.animation):f.removeAttribute("data-animation"),s.inertia?f.setAttribute("data-inertia",""):f.removeAttribute("data-inertia"),f.style.maxWidth="number"==typeof s.maxWidth?s.maxWidth+"px":s.maxWidth,s.role?f.setAttribute("role",s.role):f.removeAttribute("role"),(a.content!==s.content||a.allowHTML!==s.allowHTML)&&wr(l,e.props),s.arrow?c?a.arrow!==s.arrow&&(f.removeChild(c),f.appendChild(br(s.arrow))):f.appendChild(br(s.arrow)):c&&f.removeChild(c)}return i.className=Jt,i.setAttribute("data-state","hidden"),wr(i,e.props),t.appendChild(r),r.appendChild(i),o(e.props,e.props),{popper:t,onUpdate:o}}Or.$$tippy=!0;var Kn=1,Je=[],Ze=[];function Qn(e,t){var i,o,a,c,E,O,h,r=yr(e,Object.assign({},$,gr(sr(t)))),s=!1,u=!1,f=!1,l=!1,y=[],w=ir(rt,r.interactiveDebounce),m=Kn++,x=function Bn(e){return e.filter(function(t,r){return e.indexOf(t)===r})}(r.plugins),n={id:m,reference:e,popper:me(),popperInstance:null,props:r,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:x,clearDelayTimeouts:function st(){clearTimeout(i),clearTimeout(o),cancelAnimationFrame(a)},setProps:function ut(p){if(!n.state.isDestroyed){k("onBeforeUpdate",[n,p]),tt();var b=n.props,T=yr(e,Object.assign({},b,sr(p),{ignoreAttributes:!0}));n.props=T,De(),b.interactiveDebounce!==T.interactiveDebounce&&(he(),w=ir(rt,T.interactiveDebounce)),b.triggerTarget&&!T.triggerTarget?fe(b.triggerTarget).forEach(function(S){S.removeAttribute("aria-expanded")}):T.triggerTarget&&e.removeAttribute("aria-expanded"),ee(),N(),A&&A(b,T),n.popperInstance&&(it(),le().forEach(function(S){requestAnimationFrame(S._tippy.popperInstance.forceUpdate)})),k("onAfterUpdate",[n,p])}},setContent:function ft(p){n.setProps({content:p})},show:function si(){var p=n.state.isVisible,b=n.state.isDestroyed,T=!n.state.isEnabled,S=J.isTouch&&!n.props.touch,D=Ot(n.props.duration,0,$.duration);if(!(p||b||T||S||R().hasAttribute("disabled")||(k("onShow",[n],!1),!1===n.props.onShow(n)))){if(n.state.isVisible=!0,j()&&(v.style.visibility="visible"),N(),G(),n.state.isMounted||(v.style.transition="none"),j()){var F=_();Ct([F.box,F.content],0)}O=function(){var be;if(n.state.isVisible&&!l){if(l=!0,v.style.transition=n.props.moveTransition,j()&&n.props.animation){var St=_(),pt=St.box,Se=St.content;Ct([pt,Se],D),Ne([pt,Se],"visible")}Z(),ee(),or(Ze,n),null==(be=n.popperInstance)||be.forceUpdate(),k("onMount",[n]),n.props.animation&&j()&&function oe(p,b){Ae(p,b)}(D,function(){n.state.isShown=!0,k("onShown",[n])})}},function ae(){var b,p=n.props.appendTo,T=R();(b=n.props.interactive&&p===rr||"parent"===p?T.parentNode:nr(p,[T])).contains(v)||b.appendChild(v),n.state.isMounted=!0,it()}()}},hide:function ui(){var p=!n.state.isVisible,b=n.state.isDestroyed,T=!n.state.isEnabled,S=Ot(n.props.duration,1,$.duration);if(!(p||b||T)&&(k("onHide",[n],!1),!1!==n.props.onHide(n))){if(n.state.isVisible=!1,n.state.isShown=!1,l=!1,s=!1,j()&&(v.style.visibility="hidden"),he(),ie(),N(!0),j()){var D=_(),F=D.box,q=D.content;n.props.animation&&(Ct([F,q],S),Ne([F,q],"hidden"))}Z(),ee(),n.props.animation?j()&&function Ce(p,b){Ae(p,function(){!n.state.isVisible&&v.parentNode&&v.parentNode.contains(v)&&b()})}(S,n.unmount):n.unmount()}},hideWithInteractivity:function fi(p){I().addEventListener("mousemove",w),or(Je,w),w(p)},enable:function _e(){n.state.isEnabled=!0},disable:function at(){n.hide(),n.state.isEnabled=!1},unmount:function pi(){n.state.isVisible&&n.hide(),n.state.isMounted&&(ot(),le().forEach(function(p){p._tippy.unmount()}),v.parentNode&&v.parentNode.removeChild(v),Ze=Ze.filter(function(p){return p!==n}),n.state.isMounted=!1,k("onHidden",[n]))},destroy:function ci(){n.state.isDestroyed||(n.clearDelayTimeouts(),n.unmount(),tt(),delete e._tippy,n.state.isDestroyed=!0,k("onDestroy",[n]))}};if(!r.render)return n;var g=r.render(n),v=g.popper,A=g.onUpdate;v.setAttribute("data-tippy-root",""),v.id="tippy-"+n.id,n.popper=v,e._tippy=n,v._tippy=n;var P=x.map(function(p){return p.fn(n)}),M=e.hasAttribute("aria-expanded");return De(),ee(),N(),k("onCreate",[n]),r.showOnCreate&&Ue(),v.addEventListener("mouseenter",function(){n.props.interactive&&n.state.isVisible&&n.clearDelayTimeouts()}),v.addEventListener("mouseleave",function(){n.props.interactive&&n.props.trigger.indexOf("mouseenter")>=0&&I().addEventListener("mousemove",w)}),n;function L(){var p=n.props.touch;return Array.isArray(p)?p:[p,0]}function B(){return"hold"===L()[0]}function j(){var p;return!(null==(p=n.props.render)||!p.$$tippy)}function R(){return h||e}function I(){var p=R().parentNode;return p?function fr(e){var t,i=fe(e)[0];return null!=i&&null!=(t=i.ownerDocument)&&t.body?i.ownerDocument:document}(p):document}function _(){return Qe(v)}function V(p){return n.state.isMounted&&!n.state.isVisible||J.isTouch||c&&"focus"===c.type?0:Ot(n.props.delay,p?0:1,$.delay)}function N(p){void 0===p&&(p=!1),v.style.pointerEvents=n.props.interactive&&!p?"":"none",v.style.zIndex=""+n.props.zIndex}function k(p,b,T){var S;void 0===T&&(T=!0),P.forEach(function(D){D[p]&&D[p].apply(D,b)}),T&&(S=n.props)[p].apply(S,b)}function Z(){var p=n.props.aria;if(p.content){var b="aria-"+p.content,T=v.id;fe(n.props.triggerTarget||e).forEach(function(D){var F=D.getAttribute(b);if(n.state.isVisible)D.setAttribute(b,F?F+" "+T:T);else{var q=F&&F.replace(T,"").trim();q?D.setAttribute(b,q):D.removeAttribute(b)}})}}function ee(){!M&&n.props.aria.expanded&&fe(n.props.triggerTarget||e).forEach(function(b){n.props.interactive?b.setAttribute("aria-expanded",n.state.isVisible&&b===R()?"true":"false"):b.removeAttribute("aria-expanded")})}function he(){I().removeEventListener("mousemove",w),Je=Je.filter(function(p){return p!==w})}function te(p){if(!J.isTouch||!f&&"mousedown"!==p.type){var b=p.composedPath&&p.composedPath()[0]||p.target;if(!n.props.interactive||!pr(v,b)){if(fe(n.props.triggerTarget||e).some(function(T){return pr(T,b)})){if(J.isTouch||n.state.isVisible&&n.props.trigger.indexOf("click")>=0)return}else k("onClickOutside",[n,p]);!0===n.props.hideOnClick&&(n.clearDelayTimeouts(),n.hide(),u=!0,setTimeout(function(){u=!1}),n.state.isMounted||ie())}}}function ge(){f=!0}function ne(){f=!1}function G(){var p=I();p.addEventListener("mousedown",te,!0),p.addEventListener("touchend",te,ue),p.addEventListener("touchstart",ne,ue),p.addEventListener("touchmove",ge,ue)}function ie(){var p=I();p.removeEventListener("mousedown",te,!0),p.removeEventListener("touchend",te,ue),p.removeEventListener("touchstart",ne,ue),p.removeEventListener("touchmove",ge,ue)}function Ae(p,b){var T=_().box;function S(D){D.target===T&&(At(T,"remove",S),b())}if(0===p)return b();At(T,"remove",E),At(T,"add",S),E=S}function ce(p,b,T){void 0===T&&(T=!1),fe(n.props.triggerTarget||e).forEach(function(D){D.addEventListener(p,b,T),y.push({node:D,eventType:p,handler:b,options:T})})}function De(){B()&&(ce("touchstart",He,{passive:!0}),ce("touchend",nt,{passive:!0})),function jn(e){return e.split(/\s+/).filter(Boolean)}(n.props.trigger).forEach(function(p){if("manual"!==p)switch(ce(p,He),p){case"mouseenter":ce("mouseleave",nt);break;case"focus":ce($n?"focusout":"blur",We);break;case"focusin":ce("focusout",We)}})}function tt(){y.forEach(function(p){p.node.removeEventListener(p.eventType,p.handler,p.options)}),y=[]}function He(p){var b,T=!1;if(n.state.isEnabled&&!$e(p)&&!u){var S="focus"===(null==(b=c)?void 0:b.type);c=p,h=p.currentTarget,ee(),!n.state.isVisible&&function Tt(e){return xt(e,"MouseEvent")}(p)&&Je.forEach(function(D){return D(p)}),"click"===p.type&&(n.props.trigger.indexOf("mouseenter")<0||s)&&!1!==n.props.hideOnClick&&n.state.isVisible?T=!0:Ue(p),"click"===p.type&&(s=!T),T&&!S&&ye(p)}}function rt(p){var b=p.target,T=R().contains(b)||v.contains(b);"mousemove"===p.type&&T||function Vn(e,t){var r=t.clientX,i=t.clientY;return e.every(function(o){var a=o.popperRect,s=o.popperState,f=o.props.interactiveBorder,l=function ar(e){return e.split("-")[0]}(s.placement),c=s.modifiersData.offset;return!c||a.top-i+("bottom"===l?c.top.y:0)>f||i-a.bottom-("top"===l?c.bottom.y:0)>f||a.left-r+("right"===l?c.left.x:0)>f||r-a.right-("left"===l?c.right.x:0)>f})}(le().concat(v).map(function(D){var F,Pe=null==(F=D._tippy.popperInstance)?void 0:F.state;return Pe?{popperRect:D.getBoundingClientRect(),popperState:Pe,props:r}:null}).filter(Boolean),p)&&(he(),ye(p))}function nt(p){if(!($e(p)||n.props.trigger.indexOf("click")>=0&&s)){if(n.props.interactive)return void n.hideWithInteractivity(p);ye(p)}}function We(p){n.props.trigger.indexOf("focusin")<0&&p.target!==R()||n.props.interactive&&p.relatedTarget&&v.contains(p.relatedTarget)||ye(p)}function $e(p){return!!J.isTouch&&B()!==p.type.indexOf("touch")>=0}function it(){ot();var p=n.props,b=p.popperOptions,T=p.placement,S=p.offset,D=p.getReferenceClientRect,F=p.moveTransition,q=j()?Qe(v).arrow:null,Pe=D?{getBoundingClientRect:D,contextElement:D.contextElement||R()}:e,be=[{name:"offset",options:{offset:S}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!F}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(pt){var Se=pt.state;if(j()){var Mt=_().box;["placement","reference-hidden","escaped"].forEach(function(ct){"placement"===ct?Mt.setAttribute("data-placement",Se.placement):Se.attributes.popper["data-popper-"+ct]?Mt.setAttribute("data-"+ct,""):Mt.removeAttribute("data-"+ct)}),Se.attributes.popper={}}}}];j()&&q&&be.push({name:"arrow",options:{element:q,padding:3}}),be.push.apply(be,b?.modifiers||[]),n.popperInstance=Mn(Pe,v,Object.assign({},b,{placement:T,onFirstUpdate:O,modifiers:be}))}function ot(){n.popperInstance&&(n.popperInstance.destroy(),n.popperInstance=null)}function le(){return Te(v.querySelectorAll("[data-tippy-root]"))}function Ue(p){n.clearDelayTimeouts(),p&&k("onTrigger",[n,p]),G();var b=V(!0),T=L(),D=T[1];J.isTouch&&"hold"===T[0]&&D&&(b=D),b?i=setTimeout(function(){n.show()},b):n.show()}function ye(p){if(n.clearDelayTimeouts(),k("onUntrigger",[n,p]),n.state.isVisible){if(!(n.props.trigger.indexOf("mouseenter")>=0&&n.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(p.type)>=0&&s)){var b=V(!1);b?o=setTimeout(function(){n.state.isVisible&&n.hide()},b):a=requestAnimationFrame(function(){n.hide()})}}else ie()}}function pe(e,t){void 0===t&&(t={});var r=$.plugins.concat(t.plugins||[]);!function Hn(){document.addEventListener("touchstart",Nn,ue),window.addEventListener("blur",Fn)}();var i=Object.assign({},t,{plugins:r}),u=function In(e){return Ke(e)?[e]:function kn(e){return xt(e,"NodeList")}(e)?Te(e):Array.isArray(e)?e:Te(document.querySelectorAll(e))}(e).reduce(function(f,l){var c=l&&Qn(l,i);return c&&f.push(c),f},[]);return Ke(e)?u[0]:u}pe.defaultProps=$,pe.setDefaultProps=function(t){Object.keys(t).forEach(function(i){$[i]=t[i]})},pe.currentInput=J,Object.assign({},Ut,{effect:function(t){var r=t.state,i={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,i.popper),r.styles=i,r.elements.arrow&&Object.assign(r.elements.arrow.style,i.arrow)}}),pe.setDefaultProps({render:Or});const oi=pe;let ai=(()=>{class e{_el=(0,Lt.WQX)(Rt.aKT);cueTooltip=Me.hFB.required();tooltipPlacement=(0,Me.hFB)(void 0);tooltipFlip=(0,Me.hFB)(!0);tooltipColor=(0,Me.hFB)("primary");tooltipSize=(0,Me.hFB)("medium");static _styleAppended=!1;_tippyInstance;constructor(){(0,Lt.QZP)(()=>{const r=this.cueTooltip(),i=this.tooltipPlacement(),o=this.tooltipFlip();this._tippyInstance&&(this._tippyInstance.destroy(),this._tippyInstance=void 0),r&&(this._tippyInstance=oi(this._el.nativeElement,{content:r,placement:i,animation:"shift-away",theme:"cue",appendTo:()=>this._el.nativeElement.closest("dialog")||document.body,popperOptions:o?{}:{modifiers:[{name:"flip",enabled:!1}]}}))})}ngOnDestroy(){this._tippyInstance&&this._tippyInstance.destroy()}static \u0275fac=function(i){return new(i||e)};static \u0275dir=Rt.FsC({type:e,selectors:[["","cueTooltip",""]],inputs:{cueTooltip:[1,"cueTooltip"],tooltipPlacement:[1,"tooltipPlacement"],tooltipFlip:[1,"tooltipFlip"],tooltipColor:[1,"tooltipColor"],tooltipSize:[1,"tooltipSize"]}})}return e})()}}]);
|
package/971.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[971],{5971(_e,z,m){m.d(z,{Button:()=>H});var U=m(9769),F=m(7705),T=m(2271),K=m(7089),I=m(2403),w=m(5547);const P=["buttonElement"],R=["*"];let H=(()=>{class A{variant=(0,F.hFB)("primary");size=(0,F.hFB)("m");tooltip=(0,F.hFB)("");disabled=(0,F.hFB)(!1);selected=(0,F.geq)(!1);toggleButton=(0,F.hFB)(!1);loading=(0,F.hFB)(!1);fitParentWidth=(0,F.hFB)(!1);noWrap=(0,F.hFB)(!0);buttonElement=F.ebz.required("buttonElement");getStyles=(0,T.EW)(()=>[`\n padding: 0 var(--cue-button-${this.size()}-padding-x);\n\n --focus-color: var(--cue-button-${this.variant()}-focus-color);\n --cue-button-border-color: var(--cue-button-${this.variant()}-border-color);\n color: var(--cue-button-${this.variant()}-foreground);\n --background-color: var(--cue-button-${this.variant()}-background);\n\n --cue-icon-width: var(--cue-button-${this.size()}-icon-width);\n --button-height: var(--cue-button-${this.size()}-height);\n --cue-button-border-radius: var(--cue-button-border-radius, 9999px);\n --button-label-padding-x: var(--cue-button-${this.size()}-label-padding-x);\n `,this.disabled()?`\n color: var(--cue-button-${this.variant()}-disabled-foreground);\n --cue-button-border-color: var(--cue-button-${this.variant()}-disabled-border-color);\n --background-color: var(--cue-button-${this.variant()}-disabled-background);\n `:""].join(""));handleClick(i){i.detail>0&&this.buttonElement().nativeElement.blur(),this.toggleButton()&&(i.stopPropagation(),this.selected.set(!this.selected()))}static \u0275fac=function(B){return new(B||A)};static \u0275cmp=w.VBU({type:A,selectors:[["cue-button"]],viewQuery:function(B,M){1&B&&w.wEZ(M.buttonElement,P,5),2&B&&w.NyB()},inputs:{variant:[1,"variant"],size:[1,"size"],tooltip:[1,"tooltip"],disabled:[1,"disabled"],selected:[1,"selected"],toggleButton:[1,"toggleButton"],loading:[1,"loading"],fitParentWidth:[1,"fitParentWidth"],noWrap:[1,"noWrap"]},outputs:{selected:"selectedChange"},ngContentSelectors:R,decls:3,vars:18,consts:[["buttonElement",""],["tooltipSize","small",3,"click","disabled","cueTooltip","tooltipPlacement","cuePulse"]],template:function(B,M){1&B&&(w.NAR(),w.j41(0,"button",1,0),w.bIt("click",function($){return M.handleClick($)}),w.SdG(2),w.k0s()),2&B&&(w.Aen(M.getStyles()),w.xc7("white-space",M.noWrap()?"nowrap":"normal")("flex-basis",M.noWrap()?null:"auto")("min-width",M.noWrap()?null:"fit-content"),w.AVh("selected",M.selected())("ghost","ghost"===M.variant())("fit-parent-width",M.fitParentWidth()),w.Y8G("disabled",M.disabled())("cueTooltip",M.tooltip())("tooltipPlacement","top")("cuePulse",M.loading()))},dependencies:[U.MD,K.d,I.V],styles:['[_nghost-%COMP%]:has(.fit-parent-width){display:contents}@keyframes _ngcontent-%COMP%_pulse-border{0%{box-shadow:0 0 0 0 var(--focus-color)}50%{box-shadow:0 0 0 8px transparent}to{box-shadow:0 0 0 0 transparent}}button[_ngcontent-%COMP%]{min-width:0;pulse-border-radius:var(--cue-button-border-radius);appearance:none;padding:0;font:inherit;border:var(--cue-button-border-width) var(--cue-button-border-style) var(--cue-button-border-color);display:flex;justify-content:space-between;align-items:center;gap:var(--cue-button-gap);min-height:var(--button-height);height:auto;background-color:var(--background-color);border-radius:var(--cue-button-border-radius, 9999px);margin:3px;position:relative}button[style*="white-space: normal"][_ngcontent-%COMP%]{border-radius:30px!important;padding:10px!important}button.fit-parent-width[_ngcontent-%COMP%]{width:100%;min-width:0;margin-inline:0}button[_ngcontent-%COMP%]:not(.fit-parent-width){min-width:fit-content;width:auto}button[_ngcontent-%COMP%]:focus{outline:none}button[_ngcontent-%COMP%]:hover:not(:disabled), button[_ngcontent-%COMP%]:focus-within:not(:disabled){outline:1px solid var(--focus-color);outline-offset:2px;cursor:pointer}button.selected[_ngcontent-%COMP%]{outline:1px solid currentColor!important;outline-offset:2px;margin:3px}button.ghost[_ngcontent-%COMP%]:not(.selected){border:none}']})}return A})()},2403(_e,z,m){m.d(z,{V:()=>K});var U=m(7705),F=m(5802),T=m(5547);let K=(()=>{class I{el=(0,F.WQX)(T.aKT);renderer=(0,F.WQX)(T.sFG);cuePulse=(0,U.hFB)(!1);cuePulseColor=(0,U.hFB)("");cuePulseMode=(0,U.hFB)("border");activeClass="";constructor(){this.ensureGlobalStyles()}onPulseChanged=(0,F.QZP)(()=>{const P=this.cuePulse(),R=this.cuePulseColor(),H=this.cuePulseMode(),A=this.el.nativeElement;if(this.activeClass&&(this.renderer.removeClass(A,this.activeClass),this.activeClass=""),this.renderer.removeStyle(A,"--cue-pulse-color"),this.renderer.removeStyle(A,"border-radius"),P){const d="text"===H?"cue-pulse-text":"cue-pulse-border";this.renderer.addClass(A,d),this.activeClass=d,R&&this.renderer.setStyle(A,"--cue-pulse-color",R),"border"===H&&setTimeout(()=>{const i=A.firstElementChild;if(i){const B=getComputedStyle(i).borderRadius;B&&"0px"!==B&&this.renderer.setStyle(A,"border-radius",B)}})}});ngOnDestroy(){const P=this.el.nativeElement;this.activeClass&&this.renderer.removeClass(P,this.activeClass),this.renderer.removeStyle(P,"border-radius")}ensureGlobalStyles(){const P="cue-pulse-global-styles";if(document.getElementById(P))return;const R=document.createElement("style");R.id=P,R.textContent="\n @keyframes cue-pulse-border-anim {\n 0% {\n box-shadow: 0 0 0 0 var(--cue-pulse-color, currentColor);\n }\n 70% {\n box-shadow: 0 0 0 8px transparent;\n }\n 100% {\n box-shadow: 0 0 0 0 transparent;\n }\n }\n\n @keyframes cue-pulse-text-anim {\n 0%, 100% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n }\n\n .cue-pulse-border {\n animation: cue-pulse-border-anim 1.5s infinite ease-in-out;\n }\n\n .cue-pulse-text {\n animation: cue-pulse-text-anim 1.5s infinite ease-in-out;\n }\n ",document.head.appendChild(R)}static \u0275fac=function(R){return new(R||I)};static \u0275dir=T.FsC({type:I,selectors:[["","cuePulse",""]],inputs:{cuePulse:[1,"cuePulse"],cuePulseColor:[1,"cuePulseColor"],cuePulseMode:[1,"cuePulseMode"]}})}return I})()},9769(_e,z,m){m.d(z,{B3:()=>Ne,MD:()=>en,T3:()=>ke});var A=m(7705),d=m(5802),i=m(5547);m(2271);let Ne=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,n,r){this._ngEl=t,this._differs=n,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,n){const[r,s]=t.split("."),o=-1===r.indexOf("-")?void 0:i.czy.DashCase;null!=n?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${n}${s}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||e)(i.rXU(i.aKT),i.rXU(A.MKu),i.rXU(i.sFG))};static \u0275dir=i.FsC({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),ke=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=(0,d.WQX)(d.zZn);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){const n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this._getInjector()})}}_getInjector(){return"outlet"===this.ngTemplateOutletInjector?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,n,r),get:(t,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||e)(i.rXU(i.c1b))};static \u0275dir=i.FsC({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[i.OA$]})}return e})(),en=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=i.$C({type:e});static \u0275inj=d.G2t({})}return e})()}}]);
|