UNPKG

xframelib

Version:

The accumulated front-end development foundation library originates from projects and serves projects.

1 lines 273 kB
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),a=(s,a,c)=>(c=null!=s?e(i(s)):{},((e,i,s,a)=>{if(i&&"object"==typeof i||"function"==typeof i)for(var c,l=r(i),u=0,d=l.length;u<d;u++)c=l[u],o.call(e,c)||void 0===c||t(e,c,{get:(e=>i[e]).bind(null,c),enumerable:!(a=n(i,c))||a.enumerable});return e})(!a&&s&&s.__esModule?c:t(c,"default",{value:s,enumerable:!0}),s));let c=require("vue"),l=require("axios");l=a(l,1);let u=require("@hprose/rpc-core"),d=require("@hprose/io"),f=require("@hprose/rpc-html5"),h=require("iconv-lite");h=a(h,1);let p=require("@microsoft/signalr");p=a(p,1);let m=require("qs");m=a(m,1);let g=require("@iconify/vue");function v(e){return{all:e=e||new Map,on(t,n){const r=e.get(t);r?r.push(n):e.set(t,[n])},off(t,n){const r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit(t,n){let r=e.get(t);r&&r.slice().map(e=>{e(n)}),r=e.get("*"),r&&r.slice().map(e=>{e(t,n)})}}}var y=v();var w,b,x={exports:{}},S=x.exports={};function E(){throw new Error("setTimeout has not been defined")}function C(){throw new Error("clearTimeout has not been defined")}function k(e){if(w===setTimeout)return setTimeout(e,0);if((w===E||!w)&&setTimeout)return w=setTimeout,setTimeout(e,0);try{return w(e,0)}catch(t){try{return w.call(null,e,0)}catch(t){return w.call(this,e,0)}}}!function(){try{w="function"==typeof setTimeout?setTimeout:E}catch(e){w=E}try{b="function"==typeof clearTimeout?clearTimeout:C}catch(e){b=C}}();var T,A=[],M=!1,z=-1;function D(){M&&T&&(M=!1,T.length?A=T.concat(A):z=-1,A.length&&O())}function O(){if(!M){var e=k(D);M=!0;for(var t=A.length;t;){for(T=A,A=[];++z<t;)T&&T[z].run();z=-1,t=A.length}T=null,M=!1,function(e){if(b===clearTimeout)return clearTimeout(e);if((b===C||!b)&&clearTimeout)return b=clearTimeout,clearTimeout(e);try{return b(e)}catch(t){try{return b.call(null,e)}catch(t){return b.call(this,e)}}}(e)}}function L(e,t){this.fun=e,this.array=t}function R(){}S.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];A.push(new L(e,t)),1!==A.length||M||k(O)},L.prototype.run=function(){this.fun.apply(null,this.array)},S.title="browser",S.browser=!0,S.env={},S.argv=[],S.version="",S.versions={},S.on=R,S.addListener=R,S.once=R,S.off=R,S.removeListener=R,S.removeAllListeners=R,S.emit=R,S.prependListener=R,S.prependOnceListener=R,S.listeners=function(e){return[]},S.binding=function(e){throw new Error("process.binding is not supported")},S.cwd=function(){return"/"},S.chdir=function(e){throw new Error("process.chdir is not supported")},S.umask=function(){return 0};var _=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(x.exports),I="bottom",B="right",N="left",P=["top",I,B,N],F="start",j="popper",W=P.reduce(function(e,t){return e.concat([t+"-"+F,t+"-end"])},[]),U=[].concat(P,["auto"]).reduce(function(e,t){return e.concat([t,t+"-"+F,t+"-end"])},[]),$=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e){return e?(e.nodeName||"").toLowerCase():null}function V(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function q(e){return e instanceof V(e).Element||e instanceof Element}function G(e){return e instanceof V(e).HTMLElement||e instanceof HTMLElement}function X(e){return"undefined"!=typeof ShadowRoot&&(e instanceof V(e).ShadowRoot||e instanceof ShadowRoot)}var Y={name:"applyStyles",enabled:!0,phase:"write",fn:function(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];G(i)&&H(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(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]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});G(r)&&H(r)&&(Object.assign(r.style,o),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function Z(e){return e.split("-")[0]}var K=Math.max,J=Math.min,Q=Math.round;function ee(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function te(){return!/^((?!chrome|android).)*safari/i.test(ee())}function ne(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&G(e)&&(i=e.offsetWidth>0&&Q(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Q(r.height)/e.offsetHeight||1);var s=(q(e)?V(e):window).visualViewport,a=!te()&&n,c=(r.left+(a&&s?s.offsetLeft:0))/i,l=(r.top+(a&&s?s.offsetTop:0))/o,u=r.width/i,d=r.height/o;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}function re(e){var t=ne(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 ie(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&X(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function oe(e){return V(e).getComputedStyle(e)}function se(e){return["table","td","th"].indexOf(H(e))>=0}function ae(e){return((q(e)?e.ownerDocument:e.document)||window.document).documentElement}function ce(e){return"html"===H(e)?e:e.assignedSlot||e.parentNode||(X(e)?e.host:null)||ae(e)}function le(e){return G(e)&&"fixed"!==oe(e).position?e.offsetParent:null}function ue(e){for(var t=V(e),n=le(e);n&&se(n)&&"static"===oe(n).position;)n=le(n);return n&&("html"===H(n)||"body"===H(n)&&"static"===oe(n).position)?t:n||function(e){var t=/firefox/i.test(ee());if(/Trident/i.test(ee())&&G(e)&&"fixed"===oe(e).position)return null;var n=ce(e);for(X(n)&&(n=n.host);G(n)&&["html","body"].indexOf(H(n))<0;){var r=oe(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function de(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function fe(e,t,n){return K(e,J(t,n))}function he(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function pe(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var me={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Z(n.placement),c=de(a),l=["left","right"].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(e,t){return he("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:pe(e,P))}(i.padding,n),d=re(o),f="y"===c?"top":N,h="y"===c?I:B,p=n.rects.reference[l]+n.rects.reference[c]-s[c]-n.rects.popper[l],m=s[c]-n.rects.reference[c],g=ue(o),v=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,y=p/2-m/2,w=u[f],b=v-d[l]-u[h],x=v/2-d[l]/2+y,S=fe(w,x,b),E=c;n.modifiersData[r]=((t={})[E]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ie(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ge(e){return e.split("-")[1]}var ve={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ye(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=s.x,h=void 0===f?0:f,p=s.y,m=void 0===p?0:p,g="function"==typeof u?u({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var v=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),w=N,b="top",x=window;if(l){var S=ue(n),E="clientHeight",C="clientWidth";S===V(n)&&"static"!==oe(S=ae(n)).position&&"absolute"===a&&(E="scrollHeight",C="scrollWidth"),("top"===i||("left"===i||"right"===i)&&"end"===o)&&(b=I,m-=(d&&S===x&&x.visualViewport?x.visualViewport.height:S[E])-r.height,m*=c?1:-1),"left"!==i&&("top"!==i&&"bottom"!==i||"end"!==o)||(w=B,h-=(d&&S===x&&x.visualViewport?x.visualViewport.width:S[C])-r.width,h*=c?1:-1)}var k,T=Object.assign({position:a},l&&ve),A=!0===u?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Q(n*i)/i||0,y:Q(r*i)/i||0}}({x:h,y:m},V(n)):{x:h,y:m};return h=A.x,m=A.y,c?Object.assign({},T,((k={})[b]=y?"0":"",k[w]=v?"0":"",k.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",k)):Object.assign({},T,((t={})[b]=y?m+"px":"",t[w]=v?h+"px":"",t.transform="",t))}var we={passive:!0},be={left:"right",right:"left",bottom:"top",top:"bottom"};function xe(e){return e.replace(/left|right|bottom|top/g,function(e){return be[e]})}var Se={start:"end",end:"start"};function Ee(e){return e.replace(/start|end/g,function(e){return Se[e]})}function Ce(e){var t=V(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ke(e){return ne(ae(e)).left+Ce(e).scrollLeft}function Te(e){var t=oe(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Ae(e){return["html","body","#document"].indexOf(H(e))>=0?e.ownerDocument.body:G(e)&&Te(e)?e:Ae(ce(e))}function Me(e,t){var n;void 0===t&&(t=[]);var r=Ae(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=V(r),s=i?[o].concat(o.visualViewport||[],Te(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(Me(ce(s)))}function ze(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function De(e,t,n){return"viewport"===t?ze(function(e,t){var n=V(e),r=ae(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,c=0;if(i){o=i.width,s=i.height;var l=te();(l||!l&&"fixed"===t)&&(a=i.offsetLeft,c=i.offsetTop)}return{width:o,height:s,x:a+ke(e),y:c}}(e,n)):q(t)?function(e,t){var n=ne(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=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}(t,n):ze(function(e){var t,n=ae(e),r=Ce(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=K(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=K(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+ke(e),c=-r.scrollTop;return"rtl"===oe(i||n).direction&&(a+=K(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:c}}(ae(e)))}function Oe(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?Z(i):null,s=i?ge(i):null,a=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case"top":t={x:a,y:n.y-r.height};break;case I:t={x:a,y:n.y+n.height};break;case B:t={x:n.x+n.width,y:c};break;case N:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var l=o?de(o):null;if(null!=l){var u="y"===l?"height":"width";switch(s){case F:t[l]=t[l]-(n[u]/2-r[u]/2);break;case"end":t[l]=t[l]+(n[u]/2-r[u]/2)}}return t}function Le(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,s=void 0===o?e.strategy:o,a=n.boundary,c=void 0===a?"clippingParents":a,l=n.rootBoundary,u=void 0===l?"viewport":l,d=n.elementContext,f=void 0===d?j:d,h=n.altBoundary,p=void 0!==h&&h,m=n.padding,g=void 0===m?0:m,v=he("number"!=typeof g?g:pe(g,P)),y="popper"===f?"reference":j,w=e.rects.popper,b=e.elements[p?y:f],x=function(e,t,n,r){var i="clippingParents"===t?function(e){var t=Me(ce(e)),n=["absolute","fixed"].indexOf(oe(e).position)>=0&&G(e)?ue(e):e;return q(n)?t.filter(function(e){return q(e)&&ie(e,n)&&"body"!==H(e)}):[]}(e):[].concat(t),o=[].concat(i,[n]),s=o[0],a=o.reduce(function(t,n){var i=De(e,n,r);return t.top=K(i.top,t.top),t.right=J(i.right,t.right),t.bottom=J(i.bottom,t.bottom),t.left=K(i.left,t.left),t},De(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(q(b)?b:b.contextElement||ae(e.elements.popper),c,u,s),S=ne(e.elements.reference),E=Oe({reference:S,element:w,strategy:"absolute",placement:i}),C=ze(Object.assign({},w,E)),k="popper"===f?C:S,T={top:x.top-k.top+v.top,bottom:k.bottom-x.bottom+v.bottom,left:x.left-k.left+v.left,right:k.right-x.right+v.right},A=e.modifiersData.offset;if("popper"===f&&A){var M=A[i];Object.keys(T).forEach(function(e){var t=["right","bottom"].indexOf(e)>=0?1:-1,n=["top","bottom"].indexOf(e)>=0?"y":"x";T[e]+=M[n]*t})}return T}var Re={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0===s||s,c=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,p=void 0===h||h,m=n.allowedAutoPlacements,g=t.options.placement,v=Z(g)===g,y=c||(v||!p?[xe(g)]:function(e){if("auto"===Z(e))return[];var t=xe(e);return[Ee(e),t,Ee(t)]}(g)),w=[g].concat(y).reduce(function(e,n){return e.concat("auto"===Z(n)?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?U:c,u=ge(r),d=u?a?W:W.filter(function(e){return ge(e)===u}):P,f=d.filter(function(e){return l.indexOf(e)>=0});0===f.length&&(f=d);var h=f.reduce(function(t,n){return t[n]=Le(e,{placement:n,boundary:i,rootBoundary:o,padding:s})[Z(n)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:p,allowedAutoPlacements:m}):n)},[]),b=t.rects.reference,x=t.rects.popper,S=new Map,E=!0,C=w[0],k=0;k<w.length;k++){var T=w[k],A=Z(T),M=ge(T)===F,z=["top",I].indexOf(A)>=0,D=z?"width":"height",O=Le(t,{placement:T,boundary:u,rootBoundary:d,altBoundary:f,padding:l}),L=z?M?B:N:M?I:"top";b[D]>x[D]&&(L=xe(L));var R=xe(L),_=[];if(o&&_.push(O[A]<=0),a&&_.push(O[L]<=0,O[R]<=0),_.every(function(e){return e})){C=T,E=!1;break}S.set(T,_)}if(E)for(var j=function(e){var t=w.find(function(t){var n=S.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},$=p?3:1;$>0&&"break"!==j($);$--);t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function _e(e,t,n){return void 0===n&&(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 Ie(e){return["top",B,I,N].some(function(t){return e[t]>=0})}var Be={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,s=U.reduce(function(e,n){return e[n]=function(e,t,n){var r=Z(e),i=["left","top"].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,["left","right"].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,o),e},{}),a=s[t.placement],c=a.x,l=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=s}},Ne={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,h=void 0===f||f,p=n.tetherOffset,m=void 0===p?0:p,g=Le(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),v=Z(t.placement),y=ge(t.placement),w=!y,b=de(v),x="x"===b?"y":"x",S=t.modifiersData.popperOffsets,E=t.rects.reference,C=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,T="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(S){if(o){var z,D="y"===b?"top":N,O="y"===b?I:B,L="y"===b?"height":"width",R=S[b],_=R+g[D],P=R-g[O],F=h?-C[L]/2:0,j="start"===y?E[L]:C[L],W="start"===y?-C[L]:-E[L],U=t.elements.arrow,$=h&&U?re(U):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=H[D],q=H[O],G=fe(0,E[L],$[L]),X=w?E[L]/2-F-G-V-T.mainAxis:j-G-V-T.mainAxis,Y=w?-E[L]/2+F+G+q+T.mainAxis:W+G+q+T.mainAxis,Q=t.elements.arrow&&ue(t.elements.arrow),ee=Q?"y"===b?Q.clientTop||0:Q.clientLeft||0:0,te=null!=(z=null==A?void 0:A[b])?z:0,ne=R+Y-te,ie=fe(h?J(_,R+X-te-ee):_,R,h?K(P,ne):P);S[b]=ie,M[b]=ie-R}if(a){var oe,se="x"===b?"top":N,ae="x"===b?I:B,ce=S[x],le="y"===x?"height":"width",he=ce+g[se],pe=ce-g[ae],me=-1!==["top",N].indexOf(v),ve=null!=(oe=null==A?void 0:A[x])?oe:0,ye=me?he:ce-E[le]-C[le]-ve+T.altAxis,we=me?ce+E[le]+C[le]-ve-T.altAxis:pe,be=h&&me?function(e,t,n){var r=fe(e,t,n);return r>n?n:r}(ye,ce,we):fe(h?ye:he,ce,h?we:pe);S[x]=be,M[x]=be-ce}t.modifiersData[r]=M}},requiresIfExists:["offset"]};function Pe(e,t,n){void 0===n&&(n=!1);var r,i,o=G(t),s=G(t)&&function(e){var t=e.getBoundingClientRect(),n=Q(t.width)/e.offsetWidth||1,r=Q(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=ae(t),c=ne(e,s,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==H(t)||Te(a))&&(l=(r=t)!==V(r)&&G(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Ce(r)),G(t)?((u=ne(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=ke(a))),{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function Fe(e){var t=new Map,n=new Set,r=[];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){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}var je={placement:"bottom",modifiers:[],strategy:"absolute"};function We(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var Ue=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?je:i;return function(e,t,n){void 0===n&&(n=o);var i,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},je,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],l=!1,u={state:a,setOptions:function(n){var i="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},o,a.options,i),a.scrollParents={reference:q(e)?Me(e):e.contextElement?Me(e.contextElement):[],popper:Me(t)};var s,l,f=function(e){var t=Fe(e);return $.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(r,a.options.modifiers),l=s.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},{}),Object.keys(l).map(function(e){return l[e]})));return a.orderedModifiers=f.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:a,name:t,instance:u,options:r});c.push(o||function(){})}}),u.update()},forceUpdate:function(){if(!l){var e=a.elements,t=e.reference,n=e.popper;if(We(t,n)){a.rects={reference:Pe(t,ue(n),"fixed"===a.options.strategy),popper:re(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var i=a.orderedModifiers[r],o=i.fn,s=i.options,c=void 0===s?{}:s,d=i.name;"function"==typeof o&&(a=o({state:a,options:c,name:d,instance:u})||a)}else a.reset=!1,r=-1}}},update:(i=function(){return new Promise(function(e){u.forceUpdate(),e(a)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(i())})})),s}),destroy:function(){d(),l=!0}};if(!We(e,t))return u;function d(){c.forEach(function(e){return e()}),c=[]}return u.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,s=r.resize,a=void 0===s||s,c=V(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach(function(e){e.addEventListener("scroll",n.update,we)}),a&&c.addEventListener("resize",n.update,we),function(){o&&l.forEach(function(e){e.removeEventListener("scroll",n.update,we)}),a&&c.removeEventListener("resize",n.update,we)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Oe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,c=void 0===a||a,l={placement:Z(t.placement),variation:ge(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ye(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ye(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})},data:{}},Y,Be,Re,Ne,me,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=Le(t,{elementContext:"reference"}),a=Le(t,{altBoundary:!0}),c=_e(s,r),l=_e(a,i,o),u=Ie(c),d=Ie(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})}}]}),$e="tippy-content",He="tippy-backdrop",Ve="tippy-arrow",qe="tippy-svg-arrow",Ge={passive:!0,capture:!0},Xe=function(){return document.body};function Ye(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ze(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ke(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Je(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Qe(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}function et(e){return[].concat(e)}function tt(e,t){-1===e.indexOf(t)&&e.push(t)}function nt(e){return e.split("-")[0]}function rt(e){return[].slice.call(e)}function it(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function ot(){return document.createElement("div")}function st(e){return["Element","Fragment"].some(function(t){return Ze(e,t)})}function at(e){return Ze(e,"MouseEvent")}function ct(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function lt(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function ut(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function dt(e){var t,n=et(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function ft(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function ht(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var pt={isTouch:!1},mt=0;function gt(){pt.isTouch||(pt.isTouch=!0,window.performance&&document.addEventListener("mousemove",vt))}function vt(){var e=performance.now();e-mt<20&&(pt.isTouch=!1,document.removeEventListener("mousemove",vt)),mt=e}function yt(){var e=document.activeElement;if(ct(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var wt,bt="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.msCrypto;function xt(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function St(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Et(e){return St("\n %ctippy.js\n\n %c"+St(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function Ct(e){return[Et(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function kt(e,t){var n;e&&!wt.has(t)&&(wt.add(t),(n=console).warn.apply(n,Ct(t)))}function Tt(e,t){var n;e&&!wt.has(t)&&(wt.add(t),(n=console).error.apply(n,Ct(t)))}"production"!==_.env.NODE_ENV&&(wt=new Set);var At={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Mt=Object.assign({appendTo:Xe,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},At,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),zt=Object.keys(Mt);function Dt(e){var t=(e.plugins||[]).reduce(function(t,n){var r,i=n.name,o=n.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=Mt[i])?r:o),t},{});return Object.assign({},e,t)}function Ot(e,t){var n=Object.assign({},t,{content:Ke(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Dt(Object.assign({},Mt,{plugins:t}))):zt).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},Mt.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Lt(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach(function(e){var n,r,i=(n=Qe(Mt,Object.keys(At)),r=e,!{}.hasOwnProperty.call(n,r));i&&(i=0===t.filter(function(t){return t.name===e}).length),kt(i,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}function Rt(e,t){e.innerHTML=t}function _t(e){var t=ot();return!0===e?t.className=Ve:(t.className=qe,st(e)?t.appendChild(e):Rt(t,e)),t}function It(e,t){st(t.content)?(Rt(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Rt(e,t.content):e.textContent=t.content)}function Bt(e){var t=e.firstElementChild,n=rt(t.children);return{box:t,content:n.find(function(e){return e.classList.contains($e)}),arrow:n.find(function(e){return e.classList.contains(Ve)||e.classList.contains(qe)}),backdrop:n.find(function(e){return e.classList.contains(He)})}}function Nt(e){var t=ot(),n=ot();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ot();function i(n,r){var i=Bt(t),o=i.box,s=i.content,a=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||It(s,e.props),r.arrow?a?n.arrow!==r.arrow&&(o.removeChild(a),o.appendChild(_t(r.arrow))):o.appendChild(_t(r.arrow)):a&&o.removeChild(a)}return r.className=$e,r.setAttribute("data-state","hidden"),It(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}Nt.$$tippy=!0;var Pt=1,Ft=[],jt=[];function Wt(e,t){var n,r,i,o,s,a,c,l,u=Ot(e,Object.assign({},Mt,Dt(it(t)))),d=!1,f=!1,h=!1,p=!1,m=[],g=Je(X,u.interactiveDebounce),v=Pt++,y=(l=u.plugins).filter(function(e,t){return l.indexOf(e)===t}),w={id:v,reference:e,popper:ot(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){if("production"!==_.env.NODE_ENV&&kt(w.state.isDestroyed,xt("setProps")),!w.state.isDestroyed){R("onBeforeUpdate",[w,t]),q();var n=w.props,r=Ot(e,Object.assign({},n,it(t),{ignoreAttributes:!0}));w.props=r,V(),n.interactiveDebounce!==r.interactiveDebounce&&(N(),g=Je(X,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?et(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded"),B(),L(),S&&S(n,r),w.popperInstance&&(J(),ee().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),R("onAfterUpdate",[w,t])}},setContent:function(e){w.setProps({content:e})},show:function(){"production"!==_.env.NODE_ENV&&kt(w.state.isDestroyed,xt("show"));var e=w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,r=pt.isTouch&&!w.props.touch,i=Ye(w.props.duration,0,Mt.duration);if(!(e||t||n||r||M().hasAttribute("disabled")||(R("onShow",[w],!1),!1===w.props.onShow(w)))){if(w.state.isVisible=!0,A()&&(x.style.visibility="visible"),L(),W(),w.state.isMounted||(x.style.transition="none"),A()){var o=D();lt([o.box,o.content],0)}a=function(){var e;if(w.state.isVisible&&!p){if(p=!0,x.offsetHeight,x.style.transition=w.props.moveTransition,A()&&w.props.animation){var t=D(),n=t.box,r=t.content;lt([n,r],i),ut([n,r],"visible")}I(),B(),tt(jt,w),null==(e=w.popperInstance)||e.forceUpdate(),R("onMount",[w]),w.props.animation&&A()&&function(e){$(e,function(){w.state.isShown=!0,R("onShown",[w])})}(i)}},function(){var e,t=w.props.appendTo,n=M();(e=w.props.interactive&&t===Xe||"parent"===t?n.parentNode:Ke(t,[n])).contains(x)||e.appendChild(x),w.state.isMounted=!0,J(),"production"!==_.env.NODE_ENV&&kt(w.props.interactive&&t===Mt.appendTo&&n.nextElementSibling!==x,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()}},hide:function(){"production"!==_.env.NODE_ENV&&kt(w.state.isDestroyed,xt("hide"));var e=!w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,r=Ye(w.props.duration,1,Mt.duration);if(!(e||t||n)&&(R("onHide",[w],!1),!1!==w.props.onHide(w))){if(w.state.isVisible=!1,w.state.isShown=!1,p=!1,d=!1,A()&&(x.style.visibility="hidden"),N(),U(),L(!0),A()){var i=D(),o=i.box,s=i.content;w.props.animation&&(lt([o,s],r),ut([o,s],"hidden"))}I(),B(),w.props.animation?A()&&function(e,t){$(e,function(){!w.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}(r,w.unmount):w.unmount()}},hideWithInteractivity:function(e){"production"!==_.env.NODE_ENV&&kt(w.state.isDestroyed,xt("hideWithInteractivity")),z().addEventListener("mousemove",g),tt(Ft,g),g(e)},enable:function(){w.state.isEnabled=!0},disable:function(){w.hide(),w.state.isEnabled=!1},unmount:function(){"production"!==_.env.NODE_ENV&&kt(w.state.isDestroyed,xt("unmount")),w.state.isVisible&&w.hide(),w.state.isMounted&&(Q(),ee().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),jt=jt.filter(function(e){return e!==w}),w.state.isMounted=!1,R("onHidden",[w]))},destroy:function(){"production"!==_.env.NODE_ENV&&kt(w.state.isDestroyed,xt("destroy")),w.state.isDestroyed||(w.clearDelayTimeouts(),w.unmount(),q(),delete e._tippy,w.state.isDestroyed=!0,R("onDestroy",[w]))}};if(!u.render)return"production"!==_.env.NODE_ENV&&Tt(!0,"render() function has not been supplied."),w;var b=u.render(w),x=b.popper,S=b.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+w.id,w.popper=x,e._tippy=w,x._tippy=w;var E=y.map(function(e){return e.fn(w)}),C=e.hasAttribute("aria-expanded");return V(),B(),L(),R("onCreate",[w]),u.showOnCreate&&te(),x.addEventListener("mouseenter",function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&z().addEventListener("mousemove",g)}),w;function k(){var e=w.props.touch;return Array.isArray(e)?e:[e,0]}function T(){return"hold"===k()[0]}function A(){var e;return!(null==(e=w.props.render)||!e.$$tippy)}function M(){return c||e}function z(){var e=M().parentNode;return e?dt(e):document}function D(){return Bt(x)}function O(e){return w.state.isMounted&&!w.state.isVisible||pt.isTouch||o&&"focus"===o.type?0:Ye(w.props.delay,e?0:1,Mt.delay)}function L(e){void 0===e&&(e=!1),x.style.pointerEvents=w.props.interactive&&!e?"":"none",x.style.zIndex=""+w.props.zIndex}function R(e,t,n){var r;void 0===n&&(n=!0),E.forEach(function(n){n[e]&&n[e].apply(n,t)}),n&&(r=w.props)[e].apply(r,t)}function I(){var t=w.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;et(w.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(w.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 B(){!C&&w.props.aria.expanded&&et(w.props.triggerTarget||e).forEach(function(e){w.props.interactive?e.setAttribute("aria-expanded",w.state.isVisible&&e===M()?"true":"false"):e.removeAttribute("aria-expanded")})}function N(){z().removeEventListener("mousemove",g),Ft=Ft.filter(function(e){return e!==g})}function P(t){if(!pt.isTouch||!h&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!w.props.interactive||!ht(x,n)){if(et(w.props.triggerTarget||e).some(function(e){return ht(e,n)})){if(pt.isTouch)return;if(w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else R("onClickOutside",[w,t]);!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),f=!0,setTimeout(function(){f=!1}),w.state.isMounted||U())}}}function F(){h=!0}function j(){h=!1}function W(){var e=z();e.addEventListener("mousedown",P,!0),e.addEventListener("touchend",P,Ge),e.addEventListener("touchstart",j,Ge),e.addEventListener("touchmove",F,Ge)}function U(){var e=z();e.removeEventListener("mousedown",P,!0),e.removeEventListener("touchend",P,Ge),e.removeEventListener("touchstart",j,Ge),e.removeEventListener("touchmove",F,Ge)}function $(e,t){var n=D().box;function r(e){e.target===n&&(ft(n,"remove",r),t())}if(0===e)return t();ft(n,"remove",s),ft(n,"add",r),s=r}function H(t,n,r){void 0===r&&(r=!1),et(w.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function V(){var e;T()&&(H("touchstart",G,{passive:!0}),H("touchend",Y,{passive:!0})),(e=w.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(H(e,G),e){case"mouseenter":H("mouseleave",Y);break;case"focus":H(bt?"focusout":"blur",Z);break;case"focusin":H("focusout",Z)}})}function q(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),m=[]}function G(e){var t,n=!1;if(w.state.isEnabled&&!K(e)&&!f){var r="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,B(),!w.state.isVisible&&at(e)&&Ft.forEach(function(t){return t(e)}),"click"===e.type&&(w.props.trigger.indexOf("mouseenter")<0||d)&&!1!==w.props.hideOnClick&&w.state.isVisible?n=!0:te(e),"click"===e.type&&(d=!n),n&&!r&&ne(e)}}function X(e){var t=e.target,n=M().contains(t)||x.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,s=nt(i.placement),a=i.modifiersData.offset;if(!a)return!0;var c="bottom"===s?a.top.y:0,l="top"===s?a.bottom.y:0,u="right"===s?a.left.x:0,d="left"===s?a.right.x:0,f=t.top-r+c>o,h=r-t.bottom-l>o,p=t.left-n+u>o,m=n-t.right-d>o;return f||h||p||m})}(ee().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null}).filter(Boolean),e)&&(N(),ne(e))}function Y(e){K(e)||w.props.trigger.indexOf("click")>=0&&d||(w.props.interactive?w.hideWithInteractivity(e):ne(e))}function Z(e){w.props.trigger.indexOf("focusin")<0&&e.target!==M()||w.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||ne(e)}function K(e){return!!pt.isTouch&&T()!==e.type.indexOf("touch")>=0}function J(){Q();var t=w.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,s=t.moveTransition,c=A()?Bt(x).arrow:null,l=o?{getBoundingClientRect:o,contextElement:o.contextElement||M()}:e,u=[{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:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=D().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}}];A()&&c&&u.push({name:"arrow",options:{element:c,padding:3}}),u.push.apply(u,(null==n?void 0:n.modifiers)||[]),w.popperInstance=Ue(l,x,Object.assign({},n,{placement:r,onFirstUpdate:a,modifiers:u}))}function Q(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function ee(){return rt(x.querySelectorAll("[data-tippy-root]"))}function te(e){w.clearDelayTimeouts(),e&&R("onTrigger",[w,e]),W();var t=O(!0),r=k(),i=r[0],o=r[1];pt.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout(function(){w.show()},t):w.show()}function ne(e){if(w.clearDelayTimeouts(),R("onUntrigger",[w,e]),w.state.isVisible){if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=O(!1);t?r=setTimeout(function(){w.state.isVisible&&w.hide()},t):i=requestAnimationFrame(function(){w.hide()})}}else U()}}function Ut(e,t){void 0===t&&(t={});var n=Mt.plugins.concat(t.plugins||[]);"production"!==_.env.NODE_ENV&&(function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;Tt(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Tt(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),Lt(t,n)),document.addEventListener("touchstart",gt,Ge),window.addEventListener("blur",yt);var r=Object.assign({},t,{plugins:n}),i=function(e){return st(e)?[e]:function(e){return Ze(e,"NodeList")}(e)?rt(e):Array.isArray(e)?e:rt(document.querySelectorAll(e))}(e);if("production"!==_.env.NODE_ENV){var o=st(r.content),s=i.length>1;kt(o&&s,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "))}var a=i.reduce(function(e,t){var n=t&&Wt(t,r);return n&&e.push(n),e},[]);return st(e)?a[0]:a}Ut.defaultProps=Mt,Ut.setDefaultProps=function(e){"production"!==_.env.NODE_ENV&&Lt(e,[]),Object.keys(e).forEach(function(t){Mt[t]=e[t]})},Ut.currentInput=pt;var $t=Object.assign({},Y,{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)}}),Ht={mouseover:"mouseenter",focusin:"focus",click:"click"},Vt={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return"production"!==_.env.NODE_ENV&&Tt(e.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var n=Bt(e.popper),r=n.box,i=n.content,o=e.props.animateFill?function(){var e=ot();return e.className=He,ut([e],"hidden"),e}():null;return{onCreate:function(){o&&(r.insertBefore(o,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(o){var e=r.style.transitionDuration,t=Number(e.replace("ms",""));i.style.transitionDelay=Math.round(t/10)+"ms",o.style.transitionDuration=e,ut([o],"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&ut([o],"hidden")}}}},qt={clientX:0,clientY:0},Gt=[];function Xt(e){qt={clientX:e.clientX,clientY:e.clientY}}var Yt={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=dt(e.props.triggerTarget||t),r=!1,i=!1,o=!0,s=e.props;function a(){return"initial"===e.props.followCursor&&e.state.isVisible}function c(){n.addEventListener("mousemove",d)}function l(){n.removeEventListener("mousemove",d)}function u(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function d(n){var r=!n.target||t.contains(n.target),i=e.props.followCursor,o=n.clientX,s=n.clientY,a=t.getBoundingClientRect(),c=o-a.left,l=s-a.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=o,r=s;"initial"===i&&(n=e.left+c,r=e.top+l);var a="horizontal"===i?e.top:r,u="vertical"===i?e.right:n,d="horizontal"===i?e.bottom:r,f="vertical"===i?e.left:n;return{width:u-f,height:d-a,top:a,right:u,bottom:d,left:f}}})}function f(){e.props.followCursor&&(Gt.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",Xt)}(n))}function h(){Gt=Gt.filter(function(t){return t.instance!==e}),0===Gt.filter(function(e){return e.doc===n}).length&&function(e){e.removeEventListener("mousemove",Xt)}(n)}return{onCreate:f,onDestroy:h,onBeforeUpdate:function(){s=e.props},onAfterUpdate:function(t,n){var o=n.followCursor;r||void 0!==o&&s.followCursor!==o&&(h(),o?(f(),!e.state.isMounted||i||a()||c()):(l(),u()))},onMount:function(){e.props.followCursor&&!i&&(o&&(d(qt),o=!1),a()||c())},onTrigger:function(e,t){at(t)&&(qt={clientX:t.clientX,clientY:t.clientY}),i="focus"===t.type},onHidden:function(){e.props.followCursor&&(u(),l(),o=!0)}}}},Zt={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference,r=-1,i=!1,o=[],s={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(i){var s=i.state;e.props.inlinePositioning&&(-1!==o.indexOf(s.placement)&&(o=[]),t!==s.placement&&-1===o.indexOf(s.placement)&&(o.push(s.placement),e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,n,r){if(n.length<2||null===e)return t;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":var i=n[0],o=n[n.length-1],s="top"===e,a=i.top,c=o.bottom,l=s?i.left:o.left,u=s?i.right:o.right;return{top:a,bottom:c,left:l,right:u,width:u-l,height:c-a};case"left":case"right":var d=Math.min.apply(Math,n.map(function(e){return e.left})),f=Math.max.apply(Math,n.map(function(e){return e.right})),h=n.filter(function(t){return"left"===e?t.left===d:t.right===f}),p=h[0].top,m=h[h.length-1].bottom;return{top:p,bottom:m,left:d,right:f,width:f-d,height:m-p};default:return t}}(nt(e),n.getBoundingClientRect(),rt(n.getClientRects()),r)}(s.placement)}})),t=s.placement)}};function a(){var t;i||(t=function(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter(function(e){return e.name!==t.name}),[t])})}}(e.props,s),i=!0,e.setProps(t),i=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(t,n){if(at(n)){var i=rt(e.reference.getClientRects()),o=i.find(function(e){return e.left-2<=n.clientX&&e.right+2>=n.clientX&&e.top-2<=n.clientY&&e.bottom+2>=n.clientY}),s=i.indexOf(o);r=s>-1?s:r}},onHidden:function(){r=-1}}}},Kt={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function r(t){return!0===e.props.sticky||e.props.sticky===t}var i=null,o=null;function s(){var a=r("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,c=r("popper")?n.getBoundingClientRect():null;(a&&Jt(i,a)||c&&Jt(o,c))&&e.popperInstance&&e.popperInstance.update(),i=a,o=c,e.state.isMounted&&requestAnimationFrame(s)}return{onMount:function(){e.props.sticky&&s()}}}};function Jt(e,t){return!e||!t||e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left}Ut.setDefaultProps({render:Nt});var Qt=s((e,t)=>{!function(e,n){"use strict";"function"==typeof define&&define.amd?define(n):"object"==typeof t&&t.exports?t.exports=n():e.log=n()}(e,function(){"use strict";var e=function(){},t="undefined",n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=["trace","debug","info","warn","error"],i={},o=null;function s(e,t){var n=e[t];if("function"==typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(t){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function a(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function c(){for(var n=this.getLevel(),i=0;i<r.length;i++){var o=r[i];this[o]=i<n?e:this.methodFactory(o,n,this.name)}if(this.log=this.debug,typeof console===t&&n<this.levels.SILENT)return"No console available for logging"}function l(e){return function(){typeof console!==t&&(c.call(this),this[e].apply(this,arguments))}}function u(r,i,o){return function(r){return"debug"===r&&(r="log"),typeof console!==t&&("trace"===r&&n?a:void 0!==console[r]?s(console,r):void 0!==console.log?s(console,"log"):e)}(r)||l.apply(this,arguments)}function d(e,n){var s,a,l,d=this,f="loglevel";function h(){var e;if(typeof window!==t&&f){try{e=window.localStorage[f]}catch(e){}if(typeof e===t)try{var n=window.document.cookie,r=encodeURIComponent(f),i=n.indexOf(r+"=");-1!==i&&(e=/^([^;]+)/.exec(n.slice(i+r.length+1))[1])}catch(e){}return void 0===d.levels[e]&&(e=void 0),e}}function p(e){var t=e;if("string"==typeof t&&void 0!==d.levels[t.toUpperCase()]&&(t=d.levels[t.toUpperCase()]),"number"==typeof t&&t>=0&&t<=d.levels.SILENT)return t;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?f+=":"+e:"symbol"==typeof e&&(f=void 0),d.name=e,d.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},d.methodFactory=n||u,d.getLevel=function(){return null!=l?l:null!=a?a:s},d.setLevel=function(e,n){return l=p(e),!1!==n&&function(e){var n=(r[e]||"silent").toUpperCase();if(typeof window!==t&&f){try{return void(window.localStorage[f]=n)}catch(e){}try{window.document.cookie=encodeURIComponent(f)+"="+n+";"}catch(e){}}}(l),c.call(d)},d.setDefaultLevel=function(e){a=p(e),h()||d.setLevel(e,!1)},d.resetLevel=function(){l=null,function(){if(typeof window!==t&&f){try{window.localStorage.removeItem(f)}catch(e){}try{window.document.cookie=encodeURIComponent(f)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),c.call(d)},d.enableAll=function(e){d.setLevel(d.levels.TRACE,e)},d.disableAll=function(e){d.setLevel(d.levels.SILENT,e)},d.rebuild=function(){if(o!==d&&(s=p(o.getLevel())),c.call(d),o===d)for(var e in i)i[e].rebuild()},s=p(o?o.getLevel():"WARN");var m=h();null!=m&&(l=p(m)),c.call(d)}(o=new d).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=i[e];return t||(t=i[e]=new d(e,o.methodFactory)),t};var f=typeof window!==t?window.log:void 0;return o.noConflict=function(){return typeof window!==t&&window.log===o&&(window.log=f),o},o.getLoggers=function(){return i},o.default=o,o})}),en=a(Qt(),1),tn={HproseServiceErrorEvent:"HproseServiceError",WebAPIErrorEvent:"WebAPIError",AlertInfoEvent:"AlertInfoEvent",CommonWarnEvent:"CommonWarnEvent",WidgetLoadedEvent:"WidgetLoaded",WidgetLoaded:"WidgetLoaded",WidgetToUnloadEvent:"WidgetToUnloadEvent",WidgetUnLoadedEvent:"WidgetUnLoaded",WidgetLoadedErrorEvent:"WidgetLoadedError",WidgetVisibleChanged:"WidgetVisibleChanged",AxiosRequestErrorEvent:"AxiosRequestErrorEvent",LayoutContainerLoaded:"LayoutContainerLoaded",ModalContainerWidget_LoadModal:"ModalContainerWidget_LoadModal",ModalContainerWidget_CloseModal:"ModalContainerWidget_CloseModal",WidgetClosed:"WidgetClosed"},nn=class{message;eventBus;constructor(