System.register([],(function(t){"use strict";return{execute:function(){functione(t,e){varn=Object.keys(t);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){returnObject.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}returnn}functionn(t){for(varn=1;n<arguments.length;n++){varr=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}returnt}functionr(){r=function(){returne};vart,e={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeofSymbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";functionl(t,e,n){returnObject.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){returnt[e]=n}}functions(t,e,n,r){varo=e&&e.prototypeinstanceofg?e:g,a=Object.create(o.prototype),c=newj(r||[]);returni(a,"_invoke",{value:S(t,n,c)}),a}functionp(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;varh="suspendedStart",d="suspendedYield",v="executing",m="completed",y={};functiong(){}functionb(){}functionx(){}varw={};l(w,c,(function(){returnthis}));vark=Object.getPrototypeOf,O=k&&k(k(D([])));O&&O!==n&&o.call(O,c)&&(w=O);varE=x.prototype=g.prototype=Object.create(w);functionL(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){returnthis._invoke(e,t)}))}))}functionA(t,e){functionn(r,i,a,c){varu=p(t[r],t,i);if("throw"!==u.type){varf=u.arg,l=f.value;returnl&&"object"==typeofl&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){returnn("throw",t,a,c)}))}c(u.arg)}varr;i(this,"_invoke",{value:function(t,o){functioni(){returnnewe((function(e,r){n(t,o,e,r)}))}returnr=r?r.then(i,i):i()}})}functionS(e,n,r){varo=h;returnfunction(i,a){if(o===v)thrownewError("Generator is already running");if(o===m){if("throw"===i)throwa;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){varc=r.delegate;if(c){varu=P(c,r);if(u){if(u===y)continue;returnu}}if("next"===r.method)r.sent=r._sent=r.arg;elseif("throw"===r.method){if(o===h)throwo=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;varf=p(e,n,r);if("normal"===f.type){if(o=r.done?m:d,f.arg===y)continue;return{value:f.arg,done:r.done}}"throw"===f.type&&(o=m,r.method="throw",r.arg=f.arg)}}}functionP(e,n){varr=n.method,o=e.iterator[r];if(o===t)returnn.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=newTypeError("The iterator does not provide a '"+r+"' method")),y;vari=p(o,e.iterator,n.arg);if("throw"===i.type)returnn.method="throw",n.arg=i.arg,n.delegate=null,y;vara=i.arg;returna?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=newTypeError("iterator result is not an object"),n.delegate=null,y)}functionR(t){vare={tryLoc:t[0]};1int&&(e.catchLoc=t[1]),2int&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}functionT(t){vare=t.completion||{};e.type="normal",deletee.arg,t.completion=e}functionj(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}functionD(e){if(e||""===e){varn=e[c];if(n)returnn.call(e);if("function"==typeofe.next)returne;if(!isNaN(e.length)){varr=-1,i=functionn(){for(;++r<e.length;)if(o.call(e,r))returnn.value=e[r],n.done=!1,n;returnn.value=t,n.done=!0,n};returni.next=i}}thrownewTypeError(typeofe+" is not iterable")}returnb.prototype=x,i(E,"constructor",{value:x,configurable:!0}),i(x,"constructor",{value:b,configurable:!0}),b.displayName=l(x,f,"GeneratorFunction"),e.isGeneratorFunction=function(t){vare="function"==typeoft&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){returnObject.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,l(t,f,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},L(A.prototype),l(A.prototype,u,(function(){returnthis})),e.AsyncIterator=A,e.async=function(t,n,r,o,i){void0===i&&(i=Promise);vara=newA(s(t,n,r,o),i);returne.isGeneratorFunction(n)?a:a.next().then((function(t){returnt.done?t.value:a.next()}))},L(E),l(E,f,"Generator"),l(E,c,(function(){returnthis})),l(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){vare=Object(t),n=[];for(varrine)n.push(r);returnn.reverse(),functiont(){for(;n.length;){varr=n.pop();if(rine)returnt.value=r,t.done=!1,t}returnt.done=!0,t}},e.values=D,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(varninthis)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;vart=this.tryEntries[0].completion;if("throw"===t.type)throwt.arg;returnthis.rval},dispatchException:function(e){if(this.done)throwe;varn=this;functionr(r,o){returnc.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(vari=this.tryEntries.length-1;i>=0;--i){vara=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)returnr("end");if(a.tryLoc<=this.prev){varu=o.call(a,"catchLoc"),f=o.call(a,"finallyLoc");if(u&&f){if(this.prev<a.catchLoc)returnr(a.catchLoc,!0);if(this.prev<a.finallyLoc)returnr(a.finallyLoc)}elseif(u){if(this.prev<a.catchLoc)returnr(a.catchLoc,!0)}else{if(!f)thrownewError("try statement without catch or finally");if(this.prev<a.finallyLoc)returnr(a.finallyLoc)}}}},abrupt:function(t,e){for(varn=this.tryEntries.length-1;n>=0;--n){varr=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){vari=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);vara=i?i.completion:{};returna.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throwt.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(vare=this.tryEntries.length-1;e>=0;--e){varn=this.tryEntries[e];if(n.finallyLoc===t)returnthis.complete(n.completion,n.afterLoc),T(n),y}},catch:function(t){for(vare=this.tryEntries.length-1;e>=0;--e){varn=this.tryEntries[e];if(n.tryLoc===t){varr=n.completion;if("throw"===r.type){varo=r.arg;T(n)}returno}}thrownewError("illegal catch attempt")},delegateYield:function(e,n,r){returnthis.delegate={iterator:D(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}functiono(t){vare=function(t,e){if("object"!=typeoft||!t)returnt;varn=t[Symbol.toPrimitive];if(void0!==n){varr=n.call(t,e||"default");if("object"!=typeofr)returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeofe?e:String(e)}functioni(t){returni="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},i(t)}functiona(t,e,n,r,o,i,a){try{varc=t[i](a),u=c.value}catch(t){returnvoidn(t)}c.done?e(u):Promise.resolve(u).then(r,o)}functionc(t){returnfunction(){vare=this,n=arguments;returnnewPromise((function(r,o){vari=t.apply(e,n);functionc(t){a(i,r,o,c,u,"next",t)}functionu(t){a(i,r,o,c,u,"throw",t)}c(void0)}))}}functionu(t,e,n){return(e=o(e))int?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}functionf(t,e){if(null==t)return{};varn,r,o=function(t,e){if(null==t)return{};varn,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);returno}(t,e);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}returno}functionl(t){returnfunction(t){if(Array.isArray(t))returns(t)}(t)||function(t){if("undefined"!=typeofSymbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])returnArray.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeoft)returns(t,e);varn=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)returnArray.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))returns(t,e)}(t)||function(){thrownewTypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}functions(t,e){(null==e||e>t.length)&&(e=t.length);for(varn=0,r=newArray(e);n<e;n++)r[n]=t[n];returnr}t({autoUpdate:function(t,e,n,r){void0===r&&(r={});varo=r.ancestorScroll,i=void0===o||o,a=r.ancestorResize,c=void0===a||a,u=r.elementResize,f=void0===u?"function"==typeofResizeObserver:u,l=r.layoutShift,s=void0===l?"function"==typeofIntersectionObserver:l,h=r.animationFrame,d=void0!==h&&h,y=kt(t),g=i||c?m(m([],v(y?xt(y):[]),!1),v(xt(e)),!1):[];g.forEach((function(t){i&&t.addEventListener("scroll",n,{passive:!0}),c&&t.addEventListener("resize",n)}));varb,k=y&&s?function(t,e){varn,r=null,o=at(t);functioni(){clearTimeout(n),r&&r.disconnect(),r=null}functiona(c,u){void0===c&&(c=!1),void0===u&&(u=1),i();varf=t.getBoundingClientRect(),l=f.left,s=f.top,h=f.width,d=f.height;if(c||e(),h&&d){varv=O(s),m=O(o.clientWidth-(l+h)),y=O(o.clientHeight-(s+d)),g=O(l),b={rootMargin:"".concat(-v,"px ").concat(-m,"px ").concat(-y,"px ").concat(-g,"px"),threshold:w(0,x(1,u))||1},k=!0;try{r=newIntersectionObserver(E,p(p({},b),{root:o.ownerDocument}))}catch(t){r=newIntersectionObserver(E,b)}r.observe(t)}functionE(t){vare=t[0].intersectionRatio;if(e!==u){if(!k)returna();e?a(!1,e):n=setTimeout((function(){a(!1,1e-7)}),100)}k=!1}}returna(!0),i}(y,n):null,E=-1,L=null;f&&(L=newResizeObserver((function(t){varr=v(t,1)[0];r&&r.target===y&&L&&(L.unobserve(e),cancelAnimationFrame(E),E=requestAnimationFrame((function(){L&&L.observe(e)}))),n()})),y&&!d&&L.observe(y),L.observe(e));varA=d?At(t):null;d&&functione(){varr=At(t);!A||r.x===A.x&&r.y===A.y&&r.width===A.width&&r.height===A.height||n();A=r,b=requestAnimationFrame(e)}();returnn(),function(){g.forEach((function(t){i&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)})),k&&k(),L&&L.disconnect(),L=null,d&&cancelAnimationFrame(b)}},detectOverflow:X,getOverflowAncestors:xt});varp=function(){returnp=Object.assign||function(t){for(vare,n=1,r=arguments.length;n<r;n++)for(varoine=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);returnt},p.apply(this,arguments)};functionh(t,e,n,r){returnnew(n||(n=Promise))((function(o,i){functiona(t){try{u(r.next(t))}catch(t){i(t)}}functionc(t){try{u(r.throw(t))}catch(t){i(t)}}functionu(t){vare;t.done?o(t.value):(e=t.value,einstanceofn?e:newn((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))}functiond(t,e){varn,r,o,i,a={label:0,sent:function(){if(1&o[0])throwo[1];returno[1]},trys:[],ops:[]};returni={next:c(0),throw:c(1),return:c(2)},"function"==typeofSymbol&&(i[Symbol.iterator]=function(){returnthis}),i;functionc(c){returnfunction(u){returnfunction(c){if(n)thrownewTypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)returno;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case0:case1:o=c;break;case4:returna.label++,{value:c[1],done:!1};case5:a.label++,r=c[1],c=[0];continue;case7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(t){c=[6,t],r=0}finally{n=o=0}if(5&c[0])throwc[1];return{value:c[0]?c[1]:void0,done:!0}}([c,u])}}}functionv(t,e){varn="function"==typeofSymbol&&t[Symbol.iterator];if(!n)returnt;varr,o,i=n.call(t),a=[];try{for(;(void0===e||e-->0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throwo.error}}returna}functionm(t,e,n){if(n||2===arguments.length)for(varr,o=0,i=e.length;o<i;o++)!r&&oine||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);returnt.concat(r||Array.prototype.slice.call(e))}"function"==typeofSuppressedError&&SuppressedError;vary=["top","right","bottom","left"],g=["start","end"],b=y.reduce((function(t,e){returnt.concat(e,e+"-"+g[0],e+"-"+g[1])}),[]),x=Math.min,w=Math.max,k=Math.round,O=Math.floor,E=function(t){return{x:t,y:t}},L={left:"right",right:"left",bottom:"top",top:"bottom"},A={start:"end",end:"start"};functionS(t,e,n){returnw(t,x(e,n))}functionP(t,e){return"function"==typeoft?t(e):t}functionR(t){returnt.split("-")[0]}functionT(t){returnt.split("-")[1]}functionj(t){return"x"===t?"y":"x"}functionD(t){return"y"===t?"height":"width"}functionC(t){return["top","bottom"].includes(R(t))?"y":"x"}functionF(t){returnj(C(t))}function_(t,e,n){void0===n&&(n=!1);varr=T(t),o=F(t),i=D(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";returne.reference[i]>e.floating[i]&&(a=B(a)),[a,B(a)]}functionH(t){vare=B(t);return[N(t),e,N(e)]}functionN(t){returnt.replace(/start|end/g,(function(t){returnA[t]}))}functionW(t,e,n,r){varo=T(t),i=function(t,e,n){varr=["left","right"],o=["right","left"];switch(t){case"top":case"bottom":returnn?e?o:r:e?r:o;case"left":case"right":returne?["top","bottom"]:["bottom","top"];default:return[]}}(R(t),"start"===n,r);returno&&(i=i.map((function(t){returnt+"-"+o})),e&&(i=i.concat(i.map(N)))),i}functionB(t){returnt.replace(/left|right|bottom|top/g,(function(t){returnL[t]}))}functionI(t){return"number"!=typeoft?function(t){returnn({top:0,right:0,bottom:0,left:0},t)}(t):{top:t,right:t,bottom:t,left:t}}functionG(t){returnn(n({},t),{},{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}varM=["crossAxis","alignment","allowedPlacements","autoAlignment"],V=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],z=["strategy"],Y=["mainAxis","crossAxis","limiter"],$=["apply"];functionq(t,e,n){varr,o=t.reference,i=t.floating,a=C(e),c=F(e),u=D(c),f=R(e),l="y"===a,s=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2,h=o[u]/2-i[u]/2;switch(f){case"top":r={x:s,y:o.y-i.height};break;case"bottom":r={x:s,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:p};break;case"left":r={x:o.x-i.width,y:p};break;default:r={x:o.x,y:o.y}}switch(T(e)){case"start":r[c]-=h*(n&&l?-1:1);break;case"end":r[c]+=h*(n&&l?-1:1)}returnr}varU=function(){vart=c(r().mark((functiont(e,o,a){varc,f,l,s,p,h,d,v,m,y,g,b,x,w,k,O,E,L,A,S,P,R,T,j,D,C;returnr().wrap((function(t){for(;;)switch(t.prev=t.next){case0:returnc=a.placement,f=void0===c?"bottom":c,l=a.strategy,s=void0===l?"absolute":l,p=a.middleware,h=void0===p?[]:p,d=a.platform,v=h.filter(Boolean),t.next=4,null==d.isRTL?void0:d.isRTL(o);case4:returnm=t.sent,t.next=7,d.getElementRects({reference:e,floating:o,strategy:s});case7:y=t.sent,g=q(y,f,m),b=g.x,x=g.y,w=f,k={},O=0,E=0;case13:if(!(E<v.length)){t.next=46;break}returnL=v[E],A=L.name,S=L.fn,t.next=17,S({x:b,y:x,initialPlacement:f,placement:w,strategy:s,middlewareData:k,rects:y,platform:d,elements:{reference:e,floating:o}});case17:if(P=t.sent,R=P.x,T=P.y,j=P.data,D=P.reset,b=null!=R?R:b,x=null!=T?T:x,k=n(n({},k),{},u({},A,n(n({},k[A]),j))),!(D&&O<=50)){t.next=43;break}if(O++,"object"!==i(D)){t.next=41;break}if(D.placement&&(w=D.placement),!D.rects){t.next=38;break}if(!0!==D.rects){t.next=36;break}returnt.next=33,d.getElementRects({reference:e,floating:o,strategy:s});case33:t.t0=t.sent,t.next=37;break;case36:t.t0=D.rects;case37:y=t.t0;case38:C=q(y,w,m),b=C.x,x=C.y;case41:returnE=-1,t.abrupt("continue",43);case43:E++,t.next=13;break;case46:returnt.abrupt("return",{x:b,y:x,placement:w,strategy:s,middlewareData:k});case47:case"end":returnt.stop()}}),t)})));returnfunction(e,n,r){returnt.apply(this,arguments)}}();functionX(t,e){returnJ.apply(this,arguments)}functionJ(){returnJ=c(r().mark((functiont(e,o){vari,a,c,u,f,l,s,p,h,d,v,m,y,g,b,x,w,k,O,E,L,A,S,R,T;returnr().wrap((function(t){for(;;)switch(t.prev=t.next){case0:returnvoid0===o&&(o={}),a=e.x,c=e.y,u=e.platform,f=e.rects,l=e.elements,s=e.strategy,p=P(o,e),h=p.boundary,d=void0===h?"clippingAncestors":h,v=p.rootBoundary,m=void0===v?"viewport":v,y=p.elementContext,g=void0===y?"floating":y,b=p.altBoundary,x=void0!==b&&b,w=p.padding,k=I(void0===w?0:w),O="floating"===g?"reference":"floating",E=l[x?O:g],t.t0=G,t.t1=u,t.next=10,null==u.isElement?void0:u.isElement(E);case10:if(t.t2=i=t.sent,null==t.t2){t.next=15;break}t.t3=i,t.next=16;break;case15:t.t3=!0;case16:if(!t.t3){t.next=20;break}t.t4=E,t.next=26;break;case20:if(t.t5=E.contextElement,t.t5){t.next=25;break}returnt.next=24,null==u.getDocumentElement?void0:u.getDocumentElement(l.floating);case24:t.t5=t.sent;case25:t.t4=t.t5;case26:returnt.t6=t.t4,t.t7=d,t.t8=m,t.t9=s,t.t10={element:t.t6,boundary:t.t7,rootBoundary:t.t8,strategy:t.t9},t.next=33,t.t1.getClippingRect.call(t.t1,t.t10);case33:returnt.t11=t.sent,L=(0,t.t0)(t.t11),A="floating"===g?n(n({},f.floating),{},{x:a,y:c}):f.reference,t.next=38,null==u.getOffsetParent?void0:u.getOffsetParent(l.floating);case38:returnS=t.sent,t.next=41,null==u.isElement?void0:u.isElement(S);case41:if(!t.sent){t.next=50;break}returnt.next=44,null==u.getScale?void0:u.getScale(S);case44:if(t.t13=t.sent,t.t13){t.next=47;break}t.t13={x:1,y:1};case47:t.t12=t.t13,t.next=51;break;case50:t.t12={x:1,y:1};case51:if(R=t.t12,t.t14=G,!u.convertOffsetParentRelativeRectToViewportRelativeRect){t.next=59;break}returnt.next=56,u.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:S,strategy:s});case56:t.t15=t.sent,t.next=60;break;case59:t.t15=A;case60:returnt.t16=t.t15,T=(0,t.t14)(t.t16),t.abrupt("return",{top:(L.top-T.top+k.top)/R.y,bottom:(T.bottom-L.bottom+k.bottom)/R.y,left:(L.left-T.left+k.left)/R.x,right:(T.right-L.right+k.right)/R.x});case63:case"end":returnt.stop()}}),t)}))),J.apply(this,arguments)}t("arrow",(function(t){return{name:"arrow",options:t,fn:function(e){returnc(r().mark((functiono(){vari,a,c,f,l,s,p,h,d,v,m,y,g,b,w,k,O,E,L,A,R,j,C,_,H,N,W,B,G,M,V,z,Y,$;returnr().wrap((function(r){for(;;)switch(r.prev=r.next){case0:if(i=e.x,a=e.y,c=e.placement,f=e.rects,l=e.platform,s=e.elements,p=e.middlewareData,h=P(t,e)||{},d=h.element,v=h.padding,m=void0===v?0:v,null!=d){r.next=4;break}returnr.abrupt("return",{});case4:returny=I(m),g={x:i,y:a},b=F(c),w=D(b),r.next=10,l.getDimensions(d);case10:returnk=r.sent,E=(O="y"===b)?"top":"left",L=O?"bottom":"right",A=O?"clientHeight":"clientWidth",R=f.reference[w]+f.reference[b]-g[b]-f.floating[w],j=g[b]-f.reference[b],r.next=19,null==l.getOffsetParent?void0:l.getOffsetParent(d);case19:if(C=r.sent,_=C?C[A]:0,r.t0=!_,r.t0){r.next=26;break}returnr.next=25,null==l.isElement?void0:l.isElement(C);case25:r.t0=!r.sent;case26:if(!r.t0){r.next=28;break}_=s.floating[A]||f.floating[w];case28:returnH=R/2-j/2,N=_/2-k[w]/2-1,W=x(y[E],N),B=x(y[L],N),G=W,M=_-k[w]-B,V=_/2-k[w]/2+H,z=S(G,V,M),Y=!p.arrow&&null!=T(c)&&V!=z&&f.reference[w]/2-(V<G?W:B)-k[w]/2<0,$=Y?V<G?V-G:V-M:0,r.abrupt("return",u(u(u({},b,g[b]+$),"data",n(u(u({},b,z),"centerOffset",V-z-$),Y&&{alignmentOffset:$})),"reset",Y));case39:case"end":returnr.stop()}}),o)})))()}}}));functionK(t,e,n){return(t?[].concat(l(n.filter((function(e){returnT(e)===t}))),l(n.filter((function(e){returnT(e)!==t})))):n.filter((function(t){returnR(t)===t}))).filter((function(n){return!t||(T(n)===t||!!e&&N(n)!==n)}))}t("autoPlacement",(function(t){returnvoid0===t&&(t={}),{name:"autoPlacement",options:t,fn:function(e){returnc(r().mark((functionn(){varo,i,a,c,u,s,p,h,d,v,m,y,g,x,w,k,O,E,L,A,S,j,D,C,F,H,N,W;returnr().wrap((function(n){for(;;)switch(n.prev=n.next){case0:returnc=e.rects,u=e.middlewareData,s=e.placement,p=e.platform,h=e.elements,d=P(t,e),v=d.crossAxis,m=void0!==v&&v,y=d.alignment,g=d.allowedPlacements,x=void0===g?b:g,w=d.autoAlignment,k=void0===w||w,O=f(d,M),E=void0!==y||x===b?K(y||null,k,x):x,n.next=5,X(e,O);case5:if(L=n.sent,A=(null==(o=u.autoPlacement)?void0:o.index)||0,null!=(S=E[A])){n.next=10;break}returnn.abrupt("return",{});case10:returnn.t0=_,n.t1=S,n.t2=c,n.next=15,null==p.isRTL?void0:p.isRTL(h.floating);case15:if(n.t3=n.sent,j=(0,n.t0)(n.t1,n.t2,n.t3),s===S){n.next=19;break}returnn.abrupt("return",{reset:{placement:E[0]}});case19:if(D=[L[R(S)],L[j[0]],L[j[1]]],C=[].concat(l((null==(i=u.autoPlacement)?void0:i.overflows)||[]),[{placement:S,overflows:D}]),!(F=E[A+1])){n.next=24;break}returnn.abrupt("return",{data:{index:A+1,overflows:C},reset:{placement:F}});case24:if(H=C.map((function(t){vare=T(t.placement);return[t.placement,e&&m?t.overflows.slice(0,2).reduce((function(t,e){returnt+e}),0):t.overflows[0],t.overflows]})).sort((function(t,e){returnt[1]-e[1]})),N=H.filter((function(t){returnt[2].slice(0,T(t[0])?2:3).every((function(t){returnt<=0}))})),(W=(null==(a=N[0])?void0:a[0])||H[0][0])===s){n.next=29;break}returnn.abrupt("return",{data:{index:A+1,overflows:C},reset:{placement:W}});case29:returnn.abrupt("return",{});case30:case"end":returnn.stop()}}),n)})))()}}})),t("flip",(function(t){returnvoid0===t&&(t={}),{name:"flip",options:t,fn:function(e){returnc(r().mark((functionn(){varo,i,a,c,u,s,p,h,d,v,m,y,g,b,x,w,k,O,E,L,A,S,T,j,D,C,F,N,I,G,M,z,Y,$,q,U,J;returnr().wrap((function(n){for(;;)switch(n.prev=n.next){case0:if(a=e.placement,c=e.middlewareData,u=e.rects,s=e.initialPlacement,p=e.platform,h=e.elements,d=P(t,e),v=d.mainAxis,m=void0===v||v,y=d.crossAxis,g=void0===y||y,b=d.fallbackPlacements,x=d.fallbackStrategy,w=void0===x?"bestFit":x,k=d.fallbackAxisSideDirection,O=void0===k?"none":k,E=d.flipAlignment,L=void0===E||E,A=f(d,V),null==(o=c.arrow)||!o.alignmentOffset){n.next=4;break}returnn.abrupt("return",{});case4:returnS=R(a),T=R(s)===s,n.next=8,null==p.isRTL?void0:p.isRTL(h.floating);case8:returnj=n.sent,D=b||(T||!L?[B(s)]:H(s)),b||"none"===O||D.push.apply(D,l(W(s,L,O,j))),C=[s].concat(l(D)),n.next=14,X(e,A);case14:if(F=n.sent,N=[],I=(null==(i=c.flip)?void0:i.overflows)||[],m&&N.push(F[S]),g&&(G=_(a,u,j),N.push(F[G[0]],F[G[1]])),I=[].concat(l(I),[{placement:a,overflows:N}]),N.every((function(t){returnt<=0}))){n.next=37;break}if(Y=((null==(M=c.flip)?void0:M.index)||0)+1,!($=C[Y])){n.next=25;break}returnn.abrupt("return",{data:{index:Y,overflows:I},reset:{placement:$}});case25:if(q=null==(z=I.filter((function(t){returnt.overflows[0]<=0})).sort((function(t,e){returnt.overflows[1]-e.overflows[1]}))[0])?void0:z.placement){n.next=35;break}n.t0=w,n.next="bestFit"===n.t0?30:"initialPlacement"===n.t0?33:35;break;case30:returnJ=null==(U=I.map((function(t){return[t.placement,t.overflows.filter((function(t){returnt>0})).reduce((function(t,e){returnt+e}),0)]})).sort((function(t,e){returnt[1]-e[1]}))[0])?void0:U[0],J&&(q=J),n.abrupt("break",35);case33:returnq=s,n.abrupt("break",35);case35:if(a===q){n.next=37;break}returnn.abrupt("return",{reset:{placement:q}});case37:returnn.abrupt("return",{});case38:case"end":returnn.stop()}}),n)})))()}}}));functionQ(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}functionZ(t){returny.some((function(e){returnt[e]>=0}))}t("hide",(function(t){returnvoid0===t&&(t={}),{name:"hide",options:t,fn:function(e){returnc(r().mark((functiono(){vari,a,c,u,l,s,p,h,d;returnr().wrap((function(r){for(;;)switch(r.prev=r.next){case0:i=e.rects,a=P(t,e),c=a.strategy,u=void0===c?"referenceHidden":c,l=f(a,z),r.t0=u,r.next="referenceHidden"===r.t0?5:"escaped"===r.t0?10:15;break;case5:returnr.next=7,X(e,n(n({},l),{},{elementContext:"reference"}));case7:returns=r.sent,p=Q(s,i.reference),r.abrupt("return",{data:{referenceHiddenOffsets:p,referenceHidden:Z(p)}});case10:returnr.next=12,X(e,n(n({},l),{},{altBoundary:!0}));case12:returnh=r.sent,d=Q(h,i.floating),r.abrupt("return",{data:{escapedOffsets:d,escaped:Z(d)}});case15:returnr.abrupt("return",{});case16:case"end":returnr.stop()}}),o)})))()}}}));functiontt(t){vare=x.apply(void0,l(t.map((function(t){returnt.left})))),n=x.apply(void0,l(t.map((function(t){returnt.top}))));return{x:e,y:n,width:w.apply(void0,l(t.map((function(t){returnt.right}))))-e,height:w.apply(void0,l(t.map((function(t){returnt.bottom}))))-n}}functionet(t){for(vare=t.slice().sort((function(t,e){returnt.y-e.y})),n=[],r=null,o=0;o<e.length;o++){vari=e[o];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}returnn.map((function(t){returnG(tt(t))}))}t("inline",(function(t){returnvoid0===t&&(t={}),{name:"inline",options:t,fn:function(e){returnc(r().mark((functionn(){varo,i,a,c,u,f,s,p,h,d,v,m,y,g,b,k;returnr().wrap((function(n){for(;;)switch(n.prev=n.next){case0:returnb=function(){if(2===m.length&&m[0].left>m[1].right&&null!=h&&null!=d)returnm.find((function(t){returnh>t.left-g.left&&h<t.right+g.right&&d>t.top-g.top&&d<t.bottom+g.bottom}))||y;if(m.length>=2){if("y"===C(o)){vart=m[0],e=m[m.length-1],n="top"===R(o),r=t.top,i=e.bottom,a=n?t.left:e.left,c=n?t.right:e.right;return{top:r,bottom:i,left:a,right:c,width:c-a,height:i-r,x:a,y:r}}varu="left"===R(o),f=w.apply(void0,l(m.map((function(t){returnt.right})))),s=x.apply(void0,l(m.map((function(t){returnt.left})))),p=m.filter((function(t){returnu?t.left===s:t.right===f})),v=p[0].top,b=p[p.length-1].bottom;return{top:v,bottom:b,left:s,right:f,width:f-s,height:b-v,x:s,y:v}}returny},o=e.placement,i=e.elements,a=e.rects,c=e.platform,u=e.strategy,f=P(t,e),s=f.padding,p=void0===s?2:s,h=f.x,d=f.y,n.t0=Array,n.next=6,null==c.getClientRects?void0:c.getClientRects(i.reference);case6:if(n.t1=n.sent,n.t1){n.next=9;break}n.t1=[];case9:returnn.t2=n.t1,v=n.t0.from.call(n.t0,n.t2),m=et(v),y=G(tt(v)),g=I(p),n.next=16,c.getElementRects({reference:{getBoundingClientRect:b},floating:i.floating,strategy:u});case16:if(k=n.sent,a.reference.x===k.reference.x&&a.reference.y===k.reference.y&&a.reference.width===k.reference.width&&a.reference.height===k.reference.height){n.next=19;break}returnn.abrupt("return",{reset:{rects:k}});case19:returnn.abrupt("return",{});case20:case"end":returnn.stop()}}),n)})))()}}}));functionnt(t,e){returnrt.apply(this,arguments)}functionrt(){returnrt=c(r().mark((functiont(e,o){vari,a,c,u,f,l,s,p,h,d,v,m,y,g;returnr().wrap((function(t){for(;;)switch(t.prev=t.next){case0:returni=e.placement,a=e.platform,c=e.elements,t.next=3,null==a.isRTL?void0:a.isRTL(c.floating);case3:returnu=t.sent,f=R(i),l=T(i),s="y"===C(i),p=["left","top"].includes(f)?-1:1,h=u&&s?-1:1,d=P(o,e),v="number"==typeofd?{mainAxis:d,crossAxis:0,alignmentAxis:null}:n({mainAxis:0,crossAxis:0,alignmentAxis:null},d),m=v.mainAxis,y=v.crossAxis,g=v.alignmentAxis,l&&"number"==typeofg&&(y="end"===l?-1*g:g),t.abrupt("return",s?{x:y*h,y:m*p}:{x:m*p,y:y*h});case13:case"end":returnt.stop()}}),t)}))),rt.apply(this,arguments)}t("offset",(function(t){returnvoid0===t&&(t=0),{name:"offset",options:t,fn:function(e){returnc(r().mark((functiono(){vari,a,c,u,f,l,s;returnr().wrap((function(r){for(;;)switch(r.prev=r.next){case0:returnc=e.x,u=e.y,f=e.placement,l=e.middlewareData,r.next=3,nt(e,t);case3:if(s=r.sent,f!==(null==(i=l.offset)?void0:i.placement)||null==(a=l.arrow)||!a.alignmentOffset){r.next=6;break}returnr.abrupt("return",{});case6:returnr.abrupt("return",{x:c+s.x,y:u+s.y,data:n(n({},s),{},{placement:f})});case7:case"end":returnr.stop()}}),o)})))()}}})),t("shift",(function(t){returnvoid0===t&&(t={}),{name:"shift",options:t,fn:function(e){returnc(r().mark((functiono(){vari,a,c,l,s,p,h,d,v,m,y,g,b,x,w,k,O,E,L,A,T,D,F,_;returnr().wrap((function(r){for(;;)switch(r.prev=r.next){case0:returni=e.x,a=e.y,c=e.placement,l=P(t,e),s=l.mainAxis,p=void0===s||s,h=l.crossAxis,d=void0!==h&&h,v=l.limiter,m=void0===v?{fn:function(t){return{x:t.x,y:t.y}}}:v,y=f(l,Y),g={x:i,y:a},r.next=5,X(e,y);case5:returnb=r.sent,x=C(R(c)),w=j(x),k=g[w],O=g[x],p&&(E="y"===w?"bottom":"right",L=k+b["y"===w?"top":"left"],A=k-b[E],k=S(L,k,A)),d&&(T="y"===x?"bottom":"right",D=O+b["y"===x?"top":"left"],F=O-b[T],O=S(D,O,F)),_=m.fn(n(n({},e),{},u(u({},w,k),x,O))),r.abrupt("return",n(n({},_),{},{data:{x:_.x-i,y:_.y-a}}));case14:case"end":returnr.stop()}}),o)})))()}}})),t("limitShift",(function(t){returnvoid0===t&&(t={}),{options:t,fn:function(e){varr=e.x,o=e.y,i=e.placement,a=e.rects,c=e.middlewareData,f=P(t,e),l=f.offset,s=void0===l?0:l,p=f.mainAxis,h=void0===p||p,d=f.crossAxis,v=void0===d||d,m={x:r,y:o},y=C(i),g=j(y),b=m[g],x=m[y],w=P(s,e),k="number"==typeofw?{mainAxis:w,crossAxis:0}:n({mainAxis:0,crossAxis:0},w);if(h){varO="y"===g?"height":"width",E=a.reference[g]-a.floating[O]+k.mainAxis,L=a.reference[g]+a.reference[O]-k.mainAxis;b<E?b=E:b>L&&(b=L)}if(v){varA,S,T="y"===g?"width":"height",D=["top","left"].includes(R(i)),F=a.reference[y]-a.floating[T]+(D&&(null==(A=c.offset)?void0:A[y])||0)+(D?0:k.crossAxis),_=a.reference[y]+a.reference[T]+(D?0:(null==(S=c.offset)?void0:S[y])||0)-(D?k.crossAxis:0);x<F?x=F:x>_&&(x=_)}returnu(u({},g,b),y,x)}}})),t("size",(function(t){returnvoid0===t&&(t={}),{name:"size",options:t,fn:function(e){returnc(r().mark((functiono(){vari,a,c,u,l,s,p,h,d,v,m,y,g,b,k,O,E,L,A,S,j,D,F,_,H,N,W,B,I;returnr().wrap((function(r){for(;;)switch(r.prev=r.next){case0:returni=e.placement,a=e.rects,c=e.platform,u=e.elements,l=P(t,e),s=l.apply,p=void0===s?function(){}:s,h=f(l,$),r.next=4,X(e,h);case4:if(d=r.sent,v=R(i),m=T(i),y="y"===C(i),g=a.floating,b=g.width,k=g.height,"top"!==v&&"bottom"!==v){r.next=28;break}returnO=v,r.t0=m,r.next=14,null==c.isRTL?void0:c.isRTL(u.floating);case14:if(!r.sent){r.next=18;break}r.t1="start",r.next=19;break;case18:r.t1="end";case19:if(r.t2=r.t1,r.t0!==r.t2){r.next=24;break}r.t3="left",r.next=25;break;case24:r.t3="right";case25:E=r.t3,r.next=30;break;case28:E=v,O="end"===m?"top":"bottom";case30:returnL=k-d[O],A=b-d[E],S=!e.middlewareData.shift,j=L,D=A,y?(F=b-d.left-d.right,D=m||S?x(A,F):F):(_=k-d.top-d.bottom,j=m||S?x(L,_):_),S&&!m&&(H=w(d.left,0),N=w(d.right,0),W=w(d.top,0),B=w(d.bottom,0),y?D=b-2*(0!==H||0!==N?H+N:w(d.left,d.right)):j=k-2*(0!==W||0!==B?W+B:w(d.top,d.bottom))),r.next=39,p(n(n({},e),{},{availableWidth:D,availableHeight:j}));case39:returnr.next=41,c.getDimensions(u.floating);case41:if(I=r.sent,b===I.width&&k===I.height){r.next=44;break}returnr.abrupt("return",{reset:{rects:!0}});case44:returnr.abrupt("return",{});case45:case"end":returnr.stop()}}),o)})))()}}}));functionot(t){returnct(t)?(t.nodeName||"").toLowerCase():"#document"}functionit(t){vare;return(null==t||null==(e=t.ownerDocument)?void0:e.defaultView)||window}functionat(t){vare;returnnull==(e=(ct(t)?t.ownerDocument:t.document)||window.document)?void0:e.documentElement}functionct(t){returntinstanceofNode||tinstanceofit(t).Node}functionut(t){returntinstanceofElement||tinstanceofit(t).Element}functionft(t){returntinstanceofHTMLElement||tinstanceofit(t).HTMLElement}functionlt(t){return"undefined"!=typeofShadowRoot&&(tinstanceofShadowRoot||tinstanceofit(t).ShadowRoot)}functionst(t){vare=mt(t),n=e.overflow,r=e.overflowX,o=e.overflowY,i=e.display;return/auto|scroll|overlay|hidden|clip/.test(n+o+r)&&!["inline","contents"].includes(i)}functionpt(t){return["table","td","th"].includes(ot(t))}functionht(t){vare=dt(),n=mt(t);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((function(t){return(n.willChange||"").includes(t)}))||["paint","layout","strict","content"].some((function(t){return(n.contain||"").includes(t)}))}functiondt(){return!("undefined"==typeofCSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}functionvt(t){return["html","body","#document"].includes(ot(t))}functionmt(t){returnit(t).getComputedStyle(t)}functionyt(t){returnut(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}functiongt(t){if("html"===ot(t))returnt;vare=t.assignedSlot||t.parentNode||lt(t)&&t.host||at(t);returnlt(e)?e.host:e}functionbt(t){vare=gt(t);returnvt(e)?t.ownerDocument?t.ownerDocument.body:t.body:ft(e)&&st(e)?e:bt(e)}functionxt(t,e,n){varr;void0===e&&(e=[]),void0===n&&(n=!0);varo=bt(t),i=o===(null==(r=t.ownerDocument)?void0:r.body),a=it(o);returni?e.concat(a,a.visualViewport||[],st(o)?o:[],a.frameElement&&n?xt(a.frameElement):[]):e.concat(o,xt(o,[],n))}functionwt(t){vare=mt(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,o=ft(t),i=o?t.offsetWidth:n,a=o?t.offsetHeight:r,c=k(n)!==i||k(r)!==a;returnc&&(n=i,r=a),{width:n,height:r,$:c}}functionkt(t){returnut(t)?t:t.contextElement}functionOt(t){vare=kt(t);if(!ft(e))returnE(1);varn=e.getBoundingClientRect(),r=wt(e),o=r.width,i=r.height,a=r.$,c=(a?k(n.width):n.width)/o,u=(a?k(n.height):n.height)/i;returnc&&Number.isFinite(c)||(c=1),u&&Number.isFinite(u)||(u=1),{x:c,y:u}}varEt=E(0);functionLt(t){vare=it(t);returndt()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Et}functionAt(t,e,n,r){void0===e&&(e=!1),void0===n&&(n=!1);varo=t.getBoundingClientRect(),i=kt(t),a=E(1);e&&(r?ut(r)&&(a=Ot(r)):a=Ot(t));varc=function(t,e,n){returnvoid0===e&&(e=!1),!(!n||e&&n!==it(t))&&e}(i,n,r)?Lt(i):E(0),u=(o.left+c.x)/a.x,f=(o.top+c.y)/a.y,l=o.width/a.x,s=o.height/a.y;if(i)for(varp=it(i),h=r&&ut(r)?it(r):r,d=p.frameElement;d&&r&&h!==p;){varv=Ot(d),m=d.getBoundingClientRect(),y=mt(d),g=m.left+(d.clientLeft+parseFloat(y.paddingLeft))*v.x,b=m.top+(d.clientTop+parseFloat(y.paddingTop))*v.y;u*=v.x,f*=v.y,l*=v.x,s*=v.y,u+=g,f+=b,d=it(d).frameElement}returnG({width:l,height:s,x:u,y:f})}functionSt(t){returnAt(at(t)).left+yt(t).scrollLeft}functionPt(t,e,n){varr;if("viewport"===e)r=function(t,e){varn=it(t),r=at(t),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,c=0,u=0;if(o){i=o.width,a=o.height;varf=dt();(!f||f&&"fixed"===e)&&(c=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:c,y:u}}(t,n);elseif("document"===e)r=function(t){vare=at(t),n=yt(t),r=t.ownerDocument.body,o=w(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=w(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+St(t),c=-n.scrollTop;return"rtl"===mt(r).direction&&(a+=w(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:c}}(at(t));elseif(ut(e))r=function(t,e){varn=At(t,!0,"fixed"===e),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=ft(t)?Ot(t):E(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:o*i.x,y:r*i.y}}(e,n);else{varo=Lt(t);r=p(p({},e),{x:e.x-o.x,y:e.y-o.y})}returnG(r)}functionRt(t,e){varn=gt(t);return!(n===e||!ut(n)||vt(n))&&("fixed"===mt(n).position||Rt(n,e))}functionTt(t,e,n){varr=ft(e),o=at(e),i="fixed"===n,a=At(t,!0,i,e),c={scrollLeft:0,scrollTop:0},u=E(0);if(r||!r&&!i)if(("body"!==ot(e)||st(o))&&(c=yt(e)),r){varf=At(e,!0,i,e);u.x=f.x+e.clientLeft,u.y=f.y+e.clientTop}elseo&&(u.x=St(o));return{x:a.left+c.scrollLeft-u.x,y:a.top+c.scrollTop-u.y,width:a.width,height:a.height}}functionjt(t,e){returnft(t)&&"fixed"!==mt(t).position?e?e(t):t.offsetParent:null}functionDt(t,e){varn=it(t);if(!ft(t))returnn;for(varr=jt(t,e);r&&pt(r)&&"static"===mt(r).position;)r=jt(r,e);returnr&&("html"===ot(r)||"body"===ot(r)&&"static"===mt(r).position&&!ht(r))?n:r||function(t){for(vare=gt(t);ft(e)&&!vt(e);){if(ht(e))returne;e=gt(e)}returnnull}(t)||n}varCt=t("platform",{convertOffsetParentRelativeRectToViewportRelativeRect:function(t){vare=t.rect,n=t.offsetParent,r=t.strategy,o=ft(n),i=at(n);if(n===i)returne;vara={scrollLeft:0,scrollTop:0},c=E(1),u=E(0);if((o||!o&&"fixed"!==r)&&(("body"!==ot(n)||st(i))&&(a=yt(n)),ft(n))){varf=At(n);c=Ot(n),u.x=f.x+n.clientLeft,u.y=f.y+n.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-a.scrollLeft*c.x+u.x,y:e.y*c.y-a.scrollTop*c.y+u.y}},getDocumentElement:at,getClippingRect:function(t){vare=t.element,n=t.boundary,r=t.rootBoundary,o=t.strategy,i=m(m([],v("clippingAncestors"===n?function(t,e){varn=e.get(t);if(n)returnn;for(varr=xt(t,[],!1).filter((function(t){returnut(t)&&"body"!==ot(t)})),o=null,i="fixed"===mt(t).position,a=i?gt(t):t;ut(a)&&!vt(a);){varc=mt(a),u=ht(a);u||"fixed"!==c.position||(o=null),(i?!u&&!o:!u&&"static"===c.position&&o&&["absolute","fixed"].includes(o.position)||st(a)&&!u&&Rt(t,a))?r=r.filter((function(t){returnt!==a})):o=c,a=gt(a)}returne.set(t,r),r}(e,this._c):[].concat(n)),!1),[r],!1),a=i[0],c=i.reduce((function(t,n){varr=Pt(e,n,o);returnt.top=w(r.top,t.top),t.right=x(r.right,t.right),t.bottom=x(r.bottom,t.bottom),t.left=w(r.left,t.left),t}),Pt(e,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:Dt,getElementRects:function(t){vare=t.reference,n=t.floating,r=t.strategy;returnh(this,void0,void0,(function(){vart,o,i,a,c,u;returnd(this,(function(f){switch(f.label){case0:returnt=this.getOffsetParent||Dt,o=this.getDimensions,u={},i=Tt,a=[e],[4,t(n)];case1:returnu.reference=i.apply(void0,a.concat([f.sent(),r])),c=[{x:0,y:0}],[4,o(n)];case2:return[2,(u.floating=p.apply(void0,c.concat([f.sent()])),u)]}}))}))},getClientRects:function(t){returnArray.from(t.getClientRects())},getDimensions:function(t){returnwt(t)},getScale:Ot,isElement:ut,isRTL:function(t){return"rtl"===mt(t).direction}});t("computePosition",(function(t,e,n){varr=newMap,o=p({platform:Ct},n),i=p(p({},o.platform),{_c:r});returnU(t,e,p(p({},o),{platform:i}))}))}}}));