UNPKG

sveltestrap

Version:
1 lines 235 kB
function t(){}const e=t=>t;function n(t,e){for(const n in e)t[n]=e[n];return t}function l(t){return t()}function s(){return Object.create(null)}function o(t){t.forEach(l)}function c(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function r(e,n,l){e.$$.on_destroy.push(function(e,...n){if(null==e)return t;const l=e.subscribe(...n);return l.unsubscribe?()=>l.unsubscribe():l}(n,l))}function a(t,e,n,l){if(t){const s=u(t,e,n,l);return t[0](s)}}function u(t,e,l,s){return t[1]&&s?n(l.ctx.slice(),t[1](s(e))):l.ctx}function d(t,e,n,l,s,o,c){const i=function(t,e,n,l){if(t[2]&&l){const s=t[2](l(n));if(void 0===e.dirty)return s;if("object"==typeof s){const t=[],n=Math.max(e.dirty.length,s.length);for(let l=0;l<n;l+=1)t[l]=e.dirty[l]|s[l];return t}return e.dirty|s}return e.dirty}(e,l,s,o);if(i){const s=u(e,n,l,c);t.p(s,i)}}function p(t){const e={};for(const n in t)"$"!==n[0]&&(e[n]=t[n]);return e}function f(t,e){const n={};e=new Set(e);for(const l in t)e.has(l)||"$"===l[0]||(n[l]=t[l]);return n}function h(t){const e={};for(const n in t)e[n]=!0;return e}function $(e){return e&&c(e.destroy)?e.destroy:t}const m="undefined"!=typeof window;let g=m?()=>window.performance.now():()=>Date.now(),v=m?t=>requestAnimationFrame(t):t;const b=new Set;function y(t){b.forEach((e=>{e.c(t)||(b.delete(e),e.f())})),0!==b.size&&v(y)}function x(t){let e;return 0===b.size&&v(y),{promise:new Promise((n=>{b.add(e={c:t,f:n})})),abort(){b.delete(e)}}}function w(t,e){t.appendChild(e)}function k(t,e,n){t.insertBefore(e,n||null)}function E(t){t.parentNode.removeChild(t)}function O(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function N(t){return document.createElement(t)}function I(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function L(t){return document.createTextNode(t)}function z(){return L(" ")}function D(){return L("")}function A(t,e,n,l){return t.addEventListener(e,n,l),()=>t.removeEventListener(e,n,l)}function T(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function C(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const l in e)null==e[l]?t.removeAttribute(l):"style"===l?t.style.cssText=e[l]:"__value"===l?t.value=t[l]=e[l]:n[l]&&n[l].set?t[l]=e[l]:T(t,l,e[l])}function _(t){return""===t?null:+t}function P(t){return Array.from(t.childNodes)}function V(t,e,n,l){for(let l=0;l<t.length;l+=1){const s=t[l];if(s.nodeName===e){let e=0;const o=[];for(;e<s.attributes.length;){const t=s.attributes[e++];n[t.name]||o.push(t.name)}for(let t=0;t<o.length;t++)s.removeAttribute(o[t]);return t.splice(l,1)[0]}}return l?I(e):N(e)}function j(t,e){for(let n=0;n<t.length;n+=1){const l=t[n];if(3===l.nodeType)return l.data=""+e,t.splice(n,1)[0]}return L(e)}function S(t){return j(t," ")}function B(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function U(t,e){t.value=null==e?"":e}function R(t,e,n,l){t.style.setProperty(e,n,l?"important":"")}function H(t,e){for(let n=0;n<t.options.length;n+=1){const l=t.options[n];if(l.__value===e)return void(l.selected=!0)}}function M(t,e){for(let n=0;n<t.options.length;n+=1){const l=t.options[n];l.selected=~e.indexOf(l.__value)}}function F(t,e,n){t.classList[n?"add":"remove"](e)}function q(t,e){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!1,!1,e),n}const W=new Set;let G,Y=0;function X(t,e,n,l,s,o,c,i=0){const r=16.666/l;let a="{\n";for(let t=0;t<=1;t+=r){const l=e+(n-e)*o(t);a+=100*t+`%{${c(l,1-l)}}\n`}const u=a+`100% {${c(n,1-n)}}\n}`,d=`__svelte_${function(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}(u)}_${i}`,p=t.ownerDocument;W.add(p);const f=p.__svelte_stylesheet||(p.__svelte_stylesheet=p.head.appendChild(N("style")).sheet),h=p.__svelte_rules||(p.__svelte_rules={});h[d]||(h[d]=!0,f.insertRule(`@keyframes ${d} ${u}`,f.cssRules.length));const $=t.style.animation||"";return t.style.animation=`${$?`${$}, `:""}${d} ${l}ms linear ${s}ms 1 both`,Y+=1,d}function K(t,e){const n=(t.style.animation||"").split(", "),l=n.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),s=n.length-l.length;s&&(t.style.animation=l.join(", "),Y-=s,Y||v((()=>{Y||(W.forEach((t=>{const e=t.__svelte_stylesheet;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.__svelte_rules={}})),W.clear())})))}function J(t){G=t}function Q(){if(!G)throw new Error("Function called outside component initialization");return G}function Z(t){Q().$$.on_mount.push(t)}function tt(t){Q().$$.on_destroy.push(t)}function et(){const t=Q();return(e,n)=>{const l=t.$$.callbacks[e];if(l){const s=q(e,n);l.slice().forEach((e=>{e.call(t,s)}))}}}function nt(t,e){Q().$$.context.set(t,e)}function lt(t){return Q().$$.context.get(t)}function st(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach((t=>t(e)))}const ot=[],ct=[],it=[],rt=[],at=Promise.resolve();let ut=!1;function dt(t){it.push(t)}function pt(t){rt.push(t)}let ft=!1;const ht=new Set;function $t(){if(!ft){ft=!0;do{for(let t=0;t<ot.length;t+=1){const e=ot[t];J(e),mt(e.$$)}for(J(null),ot.length=0;ct.length;)ct.pop()();for(let t=0;t<it.length;t+=1){const e=it[t];ht.has(e)||(ht.add(e),e())}it.length=0}while(ot.length);for(;rt.length;)rt.pop()();ut=!1,ft=!1,ht.clear()}}function mt(t){if(null!==t.fragment){t.update(),o(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(dt)}}let gt;function vt(){return gt||(gt=Promise.resolve(),gt.then((()=>{gt=null}))),gt}function bt(t,e,n){t.dispatchEvent(q(`${e?"intro":"outro"}${n}`))}const yt=new Set;let xt;function wt(){xt={r:0,c:[],p:xt}}function kt(){xt.r||o(xt.c),xt=xt.p}function Et(t,e){t&&t.i&&(yt.delete(t),t.i(e))}function Ot(t,e,n,l){if(t&&t.o){if(yt.has(t))return;yt.add(t),xt.c.push((()=>{yt.delete(t),l&&(n&&t.d(1),l())})),t.o(e)}}const Nt={duration:0};function It(n,l,s){let o,i,r=l(n,s),a=!1,u=0;function d(){o&&K(n,o)}function p(){const{delay:l=0,duration:s=300,easing:c=e,tick:p=t,css:f}=r||Nt;f&&(o=X(n,0,1,s,l,c,f,u++)),p(0,1);const h=g()+l,$=h+s;i&&i.abort(),a=!0,dt((()=>bt(n,!0,"start"))),i=x((t=>{if(a){if(t>=$)return p(1,0),bt(n,!0,"end"),d(),a=!1;if(t>=h){const e=c((t-h)/s);p(e,1-e)}}return a}))}let f=!1;return{start(){f||(K(n),c(r)?(r=r(),vt().then(p)):p())},invalidate(){f=!1},end(){a&&(d(),a=!1)}}}function Lt(n,l,s){let i,r=l(n,s),a=!0;const u=xt;function d(){const{delay:l=0,duration:s=300,easing:c=e,tick:d=t,css:p}=r||Nt;p&&(i=X(n,1,0,s,l,c,p));const f=g()+l,h=f+s;dt((()=>bt(n,!1,"start"))),x((t=>{if(a){if(t>=h)return d(0,1),bt(n,!1,"end"),--u.r||o(u.c),!1;if(t>=f){const e=c((t-f)/s);d(1-e,e)}}return a}))}return u.r+=1,c(r)?vt().then((()=>{r=r(),d()})):d(),{end(t){t&&r.tick&&r.tick(1,0),a&&(i&&K(n,i),a=!1)}}}function zt(n,l,s,i){let r=l(n,s),a=i?0:1,u=null,d=null,p=null;function f(){p&&K(n,p)}function h(t,e){const n=t.b-a;return e*=Math.abs(n),{a:a,b:t.b,d:n,duration:e,start:t.start,end:t.start+e,group:t.group}}function $(l){const{delay:s=0,duration:c=300,easing:i=e,tick:$=t,css:m}=r||Nt,v={start:g()+s,b:l};l||(v.group=xt,xt.r+=1),u||d?d=v:(m&&(f(),p=X(n,a,l,c,s,i,m)),l&&$(0,1),u=h(v,c),dt((()=>bt(n,l,"start"))),x((t=>{if(d&&t>d.start&&(u=h(d,c),d=null,bt(n,u.b,"start"),m&&(f(),p=X(n,a,u.b,u.duration,0,i,r.css))),u)if(t>=u.end)$(a=u.b,1-a),bt(n,u.b,"end"),d||(u.b?f():--u.group.r||o(u.group.c)),u=null;else if(t>=u.start){const e=t-u.start;a=u.a+u.d*i(e/u.duration),$(a,1-a)}return!(!u&&!d)})))}return{run(t){c(r)?vt().then((()=>{r=r(),$(t)})):$(t)},end(){f(),u=d=null}}}const Dt="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function At(t,e){const n={},l={},s={$$scope:1};let o=t.length;for(;o--;){const c=t[o],i=e[o];if(i){for(const t in c)t in i||(l[t]=1);for(const t in i)s[t]||(n[t]=i[t],s[t]=1);t[o]=i}else for(const t in c)s[t]=1}for(const t in l)t in n||(n[t]=void 0);return n}function Tt(t){return"object"==typeof t&&null!==t?t:{}}function Ct(t,e,n){const l=t.$$.props[e];void 0!==l&&(t.$$.bound[l]=n,n(t.$$.ctx[l]))}function _t(t){t&&t.c()}function Pt(t,e){t&&t.l(e)}function Vt(t,e,n,s){const{fragment:i,on_mount:r,on_destroy:a,after_update:u}=t.$$;i&&i.m(e,n),s||dt((()=>{const e=r.map(l).filter(c);a?a.push(...e):o(e),t.$$.on_mount=[]})),u.forEach(dt)}function jt(t,e){const n=t.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function St(t,e){-1===t.$$.dirty[0]&&(ot.push(t),ut||(ut=!0,at.then($t)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Bt(e,n,l,c,i,r,a=[-1]){const u=G;J(e);const d=e.$$={fragment:null,ctx:null,props:r,update:t,not_equal:i,bound:s(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:n.context||[]),callbacks:s(),dirty:a,skip_bound:!1};let p=!1;if(d.ctx=l?l(e,n.props||{},((t,n,...l)=>{const s=l.length?l[0]:n;return d.ctx&&i(d.ctx[t],d.ctx[t]=s)&&(!d.skip_bound&&d.bound[t]&&d.bound[t](s),p&&St(e,t)),n})):[],d.update(),p=!0,o(d.before_update),d.fragment=!!c&&c(d.ctx),n.target){if(n.hydrate){const t=P(n.target);d.fragment&&d.fragment.l(t),t.forEach(E)}else d.fragment&&d.fragment.c();n.intro&&Et(e.$$.fragment),Vt(e,n.target,n.anchor,n.customElement),$t()}J(u)}class Ut{$destroy(){jt(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}function Rt(t){document.body.style.paddingRight=t>0?`${t}px`:null}function Ht(t){const e=typeof t;return null!=t&&("object"==e||"function"==e)}function Mt(){const t=function(){let t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);const e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}(),e=document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")[0],n=e?parseInt(e.style.paddingRight||0,10):0;window&&document.body.clientWidth<window.innerWidth&&Rt(n+t)}function Ft(t,e,n){return!0===n||""===n?t?"col":`col-${e}`:"auto"===n?t?"col-auto":`col-${e}-auto`:t?`col-${n}`:`col-${e}-${n}`}function qt(t,...e){return t.addEventListener(...e),()=>t.removeEventListener(...e)}function Wt(t,e,n){return"prev"===t?0===n?e.length-1:n-1:"next"===t?n===e.length-1?0:n+1:void 0}function Gt(t){let e="";if("string"==typeof t||"number"==typeof t)e+=t;else if("object"==typeof t)if(Array.isArray(t))e=t.map(Gt).filter(Boolean).join(" ");else for(let n in t)t[n]&&(e&&(e+=" "),e+=n);return e}function Yt(...t){return t.map(Gt).filter(Boolean).join(" ")}function Xt(t){if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const l=Number.parseFloat(e),s=Number.parseFloat(n);return l||s?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0}function Kt(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(t=>{const e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}const Jt=[];function Qt(e,n=t){let l;const s=[];function o(t){if(i(e,t)&&(e=t,l)){const t=!Jt.length;for(let t=0;t<s.length;t+=1){const n=s[t];n[1](),Jt.push(n,e)}if(t){for(let t=0;t<Jt.length;t+=2)Jt[t][0](Jt[t+1]);Jt.length=0}}}return{set:o,update:function(t){o(t(e))},subscribe:function(c,i=t){const r=[c,i];return s.push(r),1===s.length&&(l=n(o)||t),c(e),()=>{const t=s.indexOf(r);-1!==t&&s.splice(t,1),0===s.length&&(l(),l=null)}}}}function Zt(t){let e,l;const s=t[7].default,o=a(s,t,t[6],null);let c=[{class:t[0]},t[2]],i={};for(let t=0;t<c.length;t+=1)i=n(i,c[t]);return{c(){e=N("div"),o&&o.c(),this.h()},l(t){e=V(t,"DIV",{class:!0});var n=P(e);o&&o.l(n),n.forEach(E),this.h()},h(){C(e,i)},m(t,n){k(t,e,n),o&&o.m(e,null),l=!0},p(t,[n]){o&&o.p&&(!l||64&n)&&d(o,s,t,t[6],n,null,null),C(e,i=At(c,[(!l||1&n)&&{class:t[0]},4&n&&t[2]]))},i(t){l||(Et(o,t),l=!0)},o(t){Ot(o,t),l=!1},d(t){t&&E(e),o&&o.d(t)}}}function te(t,e,l){let s;const o=["flush","stayOpen","class"];let c,i=f(e,o),{$$slots:a={},$$scope:u}=e;const d=et();let{flush:h=!1}=e,{stayOpen:$=!1}=e,{class:m=""}=e;const g=Qt();return r(t,g,(t=>l(8,c=t))),nt("accordion",{open:g,stayOpen:$,toggle:t=>{c===t?g.set():g.set(t),d("toggle",{[t]:c===t})}}),t.$$set=t=>{e=n(n({},e),p(t)),l(2,i=f(e,o)),"flush"in t&&l(3,h=t.flush),"stayOpen"in t&&l(4,$=t.stayOpen),"class"in t&&l(5,m=t.class),"$$scope"in t&&l(6,u=t.$$scope)},t.$$.update=()=>{40&t.$$.dirty&&l(0,s=Yt(m,"accordion",{"accordion-flush":h}))},[s,g,i,h,$,m,u,a]}class ee extends Ut{constructor(t){super(),Bt(this,t,te,Zt,i,{flush:3,stayOpen:4,class:5})}}function ne(t){let e,l,s,o,c;const i=t[4].default,r=a(i,t,t[3],null);let u=[{class:"accordion-header"},t[1]],p={};for(let t=0;t<u.length;t+=1)p=n(p,u[t]);return{c(){e=N("h2"),l=N("button"),r&&r.c(),this.h()},l(t){e=V(t,"H2",{class:!0});var n=P(e);l=V(n,"BUTTON",{type:!0,class:!0});var s=P(l);r&&r.l(s),s.forEach(E),n.forEach(E),this.h()},h(){T(l,"type","button"),T(l,"class",t[0]),C(e,p)},m(n,i){k(n,e,i),w(e,l),r&&r.m(l,null),s=!0,o||(c=A(l,"click",t[5]),o=!0)},p(t,[n]){r&&r.p&&(!s||8&n)&&d(r,i,t,t[3],n,null,null),(!s||1&n)&&T(l,"class",t[0]),C(e,p=At(u,[{class:"accordion-header"},2&n&&t[1]]))},i(t){s||(Et(r,t),s=!0)},o(t){Ot(r,t),s=!1},d(t){t&&E(e),r&&r.d(t),o=!1,c()}}}function le(t,e,l){let s;const o=["class"];let c=f(e,o),{$$slots:i={},$$scope:r}=e,{class:a=""}=e;return t.$$set=t=>{e=n(n({},e),p(t)),l(1,c=f(e,o)),"class"in t&&l(2,a=t.class),"$$scope"in t&&l(3,r=t.$$scope)},t.$$.update=()=>{4&t.$$.dirty&&l(0,s=Yt(a,"accordion-button"))},[s,c,a,r,i,function(e){st(t,e)}]}class se extends Ut{constructor(t){super(),Bt(this,t,le,ne,i,{class:2})}}function oe(t){t.style.display="block";return{duration:Xt(t),tick:e=>{0===e&&t.classList.add("show")}}}function ce(t){t.classList.remove("show");return{duration:Xt(t),tick:e=>{0===e&&(t.style.display="none")}}}function ie(t,e){const n=e.horizontal?"width":"height";t.style[n]=`${t.getBoundingClientRect()[n]}px`,t.classList.add("collapsing"),t.classList.remove("collapse","show");return{duration:Xt(t),tick:e=>{e>0?t.style[n]="":0===e&&(t.classList.remove("collapsing"),t.classList.add("collapse"))}}}function re(t,e){const n=e.horizontal,l=n?"width":"height";t.classList.add("collapsing"),t.classList.remove("collapse","show"),t.style[l]=0;return{duration:Xt(t),tick:e=>{e<1?n?t.style.width=`${t.scrollWidth}px`:t.style.height=`${t.scrollHeight}px`:(t.classList.remove("collapsing"),t.classList.add("collapse","show"),t.style[l]="")}}}function ae(t){t.style.display="block";return{duration:Xt(t),tick:e=>{e>0&&t.classList.add("show")}}}function ue(t){t.classList.remove("show");return{duration:Xt(t),tick:e=>{1===e&&(t.style.display="none")}}}const de=["touchstart","click"];var pe=(t,e)=>{let n;if("string"==typeof t&&"undefined"!=typeof window&&document&&document.createElement){let l=document.querySelectorAll(t);if(l.length||(l=document.querySelectorAll(`#${t}`)),!l.length)throw new Error(`The target '${t}' could not be identified in the dom, tip: check spelling`);de.forEach((t=>{l.forEach((n=>{n.addEventListener(t,e)}))})),n=()=>{de.forEach((t=>{l.forEach((n=>{n.removeEventListener(t,e)}))}))}}return()=>{"function"==typeof n&&(n(),n=void 0)}};function fe(t){let e,l,s,i,r,u,p;const f=t[16].default,h=a(f,t,t[15],null);let $=[{style:l=t[2]?void 0:"overflow: hidden;"},t[9],{class:t[8]}],m={};for(let t=0;t<$.length;t+=1)m=n(m,$[t]);return{c(){e=N("div"),h&&h.c(),this.h()},l(t){e=V(t,"DIV",{style:!0,class:!0});var n=P(e);h&&h.l(n),n.forEach(E),this.h()},h(){C(e,m)},m(n,l){k(n,e,l),h&&h.m(e,null),r=!0,u||(p=[A(e,"introstart",t[17]),A(e,"introend",t[18]),A(e,"outrostart",t[19]),A(e,"outroend",t[20]),A(e,"introstart",(function(){c(t[3])&&t[3].apply(this,arguments)})),A(e,"introend",(function(){c(t[4])&&t[4].apply(this,arguments)})),A(e,"outrostart",(function(){c(t[5])&&t[5].apply(this,arguments)})),A(e,"outroend",(function(){c(t[6])&&t[6].apply(this,arguments)}))],u=!0)},p(n,s){t=n,h&&h.p&&(!r||32768&s)&&d(h,f,t,t[15],s,null,null),C(e,m=At($,[(!r||4&s&&l!==(l=t[2]?void 0:"overflow: hidden;"))&&{style:l},512&s&&t[9],(!r||256&s)&&{class:t[8]}]))},i(n){r||(Et(h,n),dt((()=>{i&&i.end(1),s||(s=It(e,re,{horizontal:t[1]})),s.start()})),r=!0)},o(n){Ot(h,n),s&&s.invalidate(),n&&(i=Lt(e,ie,{horizontal:t[1]})),r=!1},d(t){t&&E(e),h&&h.d(t),t&&i&&i.end(),u=!1,o(p)}}}function he(t){let e,n,l,s;dt(t[21]);let o=t[0]&&fe(t);return{c(){o&&o.c(),e=D()},l(t){o&&o.l(t),e=D()},m(c,i){o&&o.m(c,i),k(c,e,i),n=!0,l||(s=A(window,"resize",t[21]),l=!0)},p(t,[n]){t[0]?o?(o.p(t,n),1&n&&Et(o,1)):(o=fe(t),o.c(),Et(o,1),o.m(e.parentNode,e)):o&&(wt(),Ot(o,1,1,(()=>{o=null})),kt())},i(t){n||(Et(o),n=!0)},o(t){Ot(o),n=!1},d(t){o&&o.d(t),t&&E(e),l=!1,s()}}}function $e(t,e,l){let s;const o=["isOpen","class","horizontal","navbar","onEntering","onEntered","onExiting","onExited","expand","toggler"];let c=f(e,o),{$$slots:i={},$$scope:r}=e;const a=et();let{isOpen:u=!1}=e,{class:d=""}=e,{horizontal:h=!1}=e,{navbar:$=!1}=e,{onEntering:m=(()=>a("opening"))}=e,{onEntered:g=(()=>a("open"))}=e,{onExiting:v=(()=>a("closing"))}=e,{onExited:b=(()=>a("close"))}=e,{expand:y=!1}=e,{toggler:x=null}=e;Z((()=>pe(x,(t=>{l(0,u=!u),t.preventDefault()}))));let w=0,k=!1;const E={};function O(){a("update",u)}return E.xs=0,E.sm=576,E.md=768,E.lg=992,E.xl=1200,t.$$set=t=>{e=n(n({},e),p(t)),l(9,c=f(e,o)),"isOpen"in t&&l(0,u=t.isOpen),"class"in t&&l(10,d=t.class),"horizontal"in t&&l(1,h=t.horizontal),"navbar"in t&&l(2,$=t.navbar),"onEntering"in t&&l(3,m=t.onEntering),"onEntered"in t&&l(4,g=t.onEntered),"onExiting"in t&&l(5,v=t.onExiting),"onExited"in t&&l(6,b=t.onExited),"expand"in t&&l(11,y=t.expand),"toggler"in t&&l(12,x=t.toggler),"$$scope"in t&&l(15,r=t.$$scope)},t.$$.update=()=>{1030&t.$$.dirty&&l(8,s=Yt(d,{"collapse-horizontal":h,"navbar-collapse":$})),26757&t.$$.dirty&&$&&y&&(w>=E[y]&&!u?(l(0,u=!0),l(13,k=!0),O()):w<E[y]&&k&&(l(0,u=!1),l(13,k=!1),O()))},[u,h,$,m,g,v,b,w,s,c,d,y,x,k,E,r,i,function(e){st(t,e)},function(e){st(t,e)},function(e){st(t,e)},function(e){st(t,e)},function(){l(7,w=window.innerWidth)}]}class me extends Ut{constructor(t){super(),Bt(this,t,$e,he,i,{isOpen:0,class:10,horizontal:1,navbar:2,onEntering:3,onEntered:4,onExiting:5,onExited:6,expand:11,toggler:12})}}const ge=t=>({}),ve=t=>({});function be(t){let e,n,l;const s=t[9].header,o=a(s,t,t[16],ve);return{c(){o&&o.c(),e=z(),n=L(t[0])},l(l){o&&o.l(l),e=S(l),n=j(l,t[0])},m(t,s){o&&o.m(t,s),k(t,e,s),k(t,n,s),l=!0},p(t,e){o&&o.p&&(!l||65536&e)&&d(o,s,t,t[16],e,ge,ve),(!l||1&e)&&B(n,t[0])},i(t){l||(Et(o,t),l=!0)},o(t){Ot(o,t),l=!1},d(t){o&&o.d(t),t&&E(e),t&&E(n)}}}function ye(t){let e,n;const l=t[9].default,s=a(l,t,t[16],null);return{c(){e=N("div"),s&&s.c(),this.h()},l(t){e=V(t,"DIV",{class:!0});var n=P(e);s&&s.l(n),n.forEach(E),this.h()},h(){T(e,"class","accordion-body")},m(t,l){k(t,e,l),s&&s.m(e,null),n=!0},p(t,e){s&&s.p&&(!n||65536&e)&&d(s,l,t,t[16],e,null,null)},i(t){n||(Et(s,t),n=!0)},o(t){Ot(s,t),n=!1},d(t){t&&E(e),s&&s.d(t)}}}function xe(t){let e,n,l,s,o;return n=new se({props:{class:!t[3]&&"collapsed",$$slots:{default:[be]},$$scope:{ctx:t}}}),n.$on("click",t[10]),s=new me({props:{isOpen:t[3],class:"accordion-collapse",$$slots:{default:[ye]},$$scope:{ctx:t}}}),s.$on("introstart",t[11]),s.$on("introend",t[12]),s.$on("outrostart",t[13]),s.$on("outroend",t[14]),{c(){e=N("div"),_t(n.$$.fragment),l=z(),_t(s.$$.fragment),this.h()},l(t){e=V(t,"DIV",{class:!0});var o=P(e);Pt(n.$$.fragment,o),l=S(o),Pt(s.$$.fragment,o),o.forEach(E),this.h()},h(){T(e,"class",t[2])},m(c,i){k(c,e,i),Vt(n,e,null),w(e,l),Vt(s,e,null),t[15](e),o=!0},p(t,[l]){const c={};8&l&&(c.class=!t[3]&&"collapsed"),65537&l&&(c.$$scope={dirty:l,ctx:t}),n.$set(c);const i={};8&l&&(i.isOpen=t[3]),65536&l&&(i.$$scope={dirty:l,ctx:t}),s.$set(i),(!o||4&l)&&T(e,"class",t[2])},i(t){o||(Et(n.$$.fragment,t),Et(s.$$.fragment,t),o=!0)},o(t){Ot(n.$$.fragment,t),Ot(s.$$.fragment,t),o=!1},d(l){l&&E(e),jt(n),jt(s),t[15](null)}}}function we(t,e,n){let l,s,o,c,{$$slots:i={},$$scope:a}=e,{class:u=""}=e,{header:d=""}=e,{active:p=!1}=e;const f=et(),{stayOpen:h,toggle:$,open:m}=lt("accordion");r(t,m,(t=>n(8,o=t))),Z((()=>{p&&$(c)}));const g=()=>{h&&n(6,p=!p),$(c),f("toggle",!s)};return t.$$set=t=>{"class"in t&&n(7,u=t.class),"header"in t&&n(0,d=t.header),"active"in t&&n(6,p=t.active),"$$scope"in t&&n(16,a=t.$$scope)},t.$$.update=()=>{128&t.$$.dirty&&n(2,l=Yt(u,"accordion-item")),322&t.$$.dirty&&n(3,s=h?p:o===c)},[d,c,l,s,m,g,p,u,o,i,()=>g(),function(e){st(t,e)},function(e){st(t,e)},function(e){st(t,e)},function(e){st(t,e)},function(t){ct[t?"unshift":"push"]((()=>{c=t,n(1,c)}))},a]}class ke extends Ut{constructor(t){super(),Bt(this,t,we,xe,i,{class:7,header:0,active:6})}}function Ee(t,{delay:n=0,duration:l=400,easing:s=e}={}){const o=+getComputedStyle(t).opacity;return{delay:n,duration:l,easing:s,css:t=>"opacity: "+t*o}}const Oe=t=>({}),Ne=t=>({});function Ie(t){let e,l,s,o,c,i,r,a=(t[3]||t[10].heading)&&Le(t),u=t[5]&&ze(t);const d=[Ae,De],p=[];function f(t,e){return t[1]?0:1}o=f(t),c=p[o]=d[o](t);let h=[t[9],{class:t[7]},{role:"alert"}],$={};for(let t=0;t<h.length;t+=1)$=n($,h[t]);return{c(){e=N("div"),a&&a.c(),l=z(),u&&u.c(),s=z(),c.c(),this.h()},l(t){e=V(t,"DIV",{class:!0,role:!0});var n=P(e);a&&a.l(n),l=S(n),u&&u.l(n),s=S(n),c.l(n),n.forEach(E),this.h()},h(){C(e,$)},m(t,n){k(t,e,n),a&&a.m(e,null),w(e,l),u&&u.m(e,null),w(e,s),p[o].m(e,null),r=!0},p(n,i){(t=n)[3]||t[10].heading?a?(a.p(t,i),1032&i&&Et(a,1)):(a=Le(t),a.c(),Et(a,1),a.m(e,l)):a&&(wt(),Ot(a,1,1,(()=>{a=null})),kt()),t[5]?u?u.p(t,i):(u=ze(t),u.c(),u.m(e,s)):u&&(u.d(1),u=null);let m=o;o=f(t),o===m?p[o].p(t,i):(wt(),Ot(p[m],1,1,(()=>{p[m]=null})),kt(),c=p[o],c?c.p(t,i):(c=p[o]=d[o](t),c.c()),Et(c,1),c.m(e,null)),C(e,$=At(h,[512&i&&t[9],(!r||128&i)&&{class:t[7]},{role:"alert"}]))},i(n){r||(Et(a),Et(c),dt((()=>{i||(i=zt(e,Ee,t[4],!0)),i.run(1)})),r=!0)},o(n){Ot(a),Ot(c),i||(i=zt(e,Ee,t[4],!1)),i.run(0),r=!1},d(t){t&&E(e),a&&a.d(),u&&u.d(),p[o].d(),t&&i&&i.end()}}}function Le(t){let e,n,l;const s=t[18].heading,o=a(s,t,t[17],Ne);return{c(){e=N("h4"),n=L(t[3]),o&&o.c(),this.h()},l(l){e=V(l,"H4",{class:!0});var s=P(e);n=j(s,t[3]),o&&o.l(s),s.forEach(E),this.h()},h(){T(e,"class","alert-heading")},m(t,s){k(t,e,s),w(e,n),o&&o.m(e,null),l=!0},p(t,e){(!l||8&e)&&B(n,t[3]),o&&o.p&&(!l||131072&e)&&d(o,s,t,t[17],e,Oe,Ne)},i(t){l||(Et(o,t),l=!0)},o(t){Ot(o,t),l=!1},d(t){t&&E(e),o&&o.d(t)}}}function ze(t){let e,n,l;return{c(){e=N("button"),this.h()},l(t){e=V(t,"BUTTON",{type:!0,class:!0,"aria-label":!0}),P(e).forEach(E),this.h()},h(){T(e,"type","button"),T(e,"class",t[8]),T(e,"aria-label",t[2])},m(s,o){k(s,e,o),n||(l=A(e,"click",(function(){c(t[6])&&t[6].apply(this,arguments)})),n=!0)},p(n,l){t=n,256&l&&T(e,"class",t[8]),4&l&&T(e,"aria-label",t[2])},d(t){t&&E(e),n=!1,l()}}}function De(t){let e;const n=t[18].default,l=a(n,t,t[17],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,n){l&&l.m(t,n),e=!0},p(t,s){l&&l.p&&(!e||131072&s)&&d(l,n,t,t[17],s,null,null)},i(t){e||(Et(l,t),e=!0)},o(t){Ot(l,t),e=!1},d(t){l&&l.d(t)}}}function Ae(e){let n;return{c(){n=L(e[1])},l(t){n=j(t,e[1])},m(t,e){k(t,n,e)},p(t,e){2&e&&B(n,t[1])},i:t,o:t,d(t){t&&E(n)}}}function Te(t){let e,n,l=t[0]&&Ie(t);return{c(){l&&l.c(),e=D()},l(t){l&&l.l(t),e=D()},m(t,s){l&&l.m(t,s),k(t,e,s),n=!0},p(t,[n]){t[0]?l?(l.p(t,n),1&n&&Et(l,1)):(l=Ie(t),l.c(),Et(l,1),l.m(e.parentNode,e)):l&&(wt(),Ot(l,1,1,(()=>{l=null})),kt())},i(t){n||(Et(l),n=!0)},o(t){Ot(l),n=!1},d(t){l&&l.d(t),t&&E(e)}}}function Ce(t,e,l){let s,o,c,i;const r=["class","children","color","closeClassName","closeAriaLabel","dismissible","heading","isOpen","toggle","fade","transition"];let a=f(e,r),{$$slots:u={},$$scope:d}=e;const $=h(u);let{class:m=""}=e,{children:g}=e,{color:v="success"}=e,{closeClassName:b=""}=e,{closeAriaLabel:y="Close"}=e,{dismissible:x=!1}=e,{heading:w}=e,{isOpen:k=!0}=e,{toggle:E}=e,{fade:O=!0}=e,{transition:N={duration:O?400:0}}=e;return t.$$set=t=>{e=n(n({},e),p(t)),l(9,a=f(e,r)),"class"in t&&l(11,m=t.class),"children"in t&&l(1,g=t.children),"color"in t&&l(12,v=t.color),"closeClassName"in t&&l(13,b=t.closeClassName),"closeAriaLabel"in t&&l(2,y=t.closeAriaLabel),"dismissible"in t&&l(14,x=t.dismissible),"heading"in t&&l(3,w=t.heading),"isOpen"in t&&l(0,k=t.isOpen),"toggle"in t&&l(15,E=t.toggle),"fade"in t&&l(16,O=t.fade),"transition"in t&&l(4,N=t.transition),"$$scope"in t&&l(17,d=t.$$scope)},t.$$.update=()=>{49152&t.$$.dirty&&l(5,s=x||E),32768&t.$$.dirty&&l(6,o=E||(()=>l(0,k=!1))),6176&t.$$.dirty&&l(7,c=Yt(m,"alert",`alert-${v}`,{"alert-dismissible":s})),8192&t.$$.dirty&&l(8,i=Yt("btn-close",b))},[k,g,y,w,N,s,o,c,i,a,$,m,v,b,x,E,O,d,u]}class _e extends Ut{constructor(t){super(),Bt(this,t,Ce,Te,i,{class:11,children:1,color:12,closeClassName:13,closeAriaLabel:2,dismissible:14,heading:3,isOpen:0,toggle:15,fade:16,transition:4})}}function Pe(t){let e,l,s,o;const c=[Se,je],i=[];function r(t,e){return t[0]?0:1}l=r(t),s=i[l]=c[l](t);let a=[t[3],{class:t[2]}],u={};for(let t=0;t<a.length;t+=1)u=n(u,a[t]);return{c(){e=N("span"),s.c(),this.h()},l(t){e=V(t,"SPAN",{class:!0});var n=P(e);s.l(n),n.forEach(E),this.h()},h(){C(e,u)},m(t,n){k(t,e,n),i[l].m(e,null),o=!0},p(t,n){let d=l;l=r(t),l===d?i[l].p(t,n):(wt(),Ot(i[d],1,1,(()=>{i[d]=null})),kt(),s=i[l],s?s.p(t,n):(s=i[l]=c[l](t),s.c()),Et(s,1),s.m(e,null)),C(e,u=At(a,[8&n&&t[3],(!o||4&n)&&{class:t[2]}]))},i(t){o||(Et(s),o=!0)},o(t){Ot(s),o=!1},d(t){t&&E(e),i[l].d()}}}function Ve(t){let e,l,s,o;const c=[Ue,Be],i=[];function r(t,e){return t[0]?0:1}l=r(t),s=i[l]=c[l](t);let a=[t[3],{href:t[1]},{class:t[2]}],u={};for(let t=0;t<a.length;t+=1)u=n(u,a[t]);return{c(){e=N("a"),s.c(),this.h()},l(t){e=V(t,"A",{href:!0,class:!0});var n=P(e);s.l(n),n.forEach(E),this.h()},h(){C(e,u)},m(t,n){k(t,e,n),i[l].m(e,null),o=!0},p(t,n){let d=l;l=r(t),l===d?i[l].p(t,n):(wt(),Ot(i[d],1,1,(()=>{i[d]=null})),kt(),s=i[l],s?s.p(t,n):(s=i[l]=c[l](t),s.c()),Et(s,1),s.m(e,null)),C(e,u=At(a,[8&n&&t[3],(!o||2&n)&&{href:t[1]},(!o||4&n)&&{class:t[2]}]))},i(t){o||(Et(s),o=!0)},o(t){Ot(s),o=!1},d(t){t&&E(e),i[l].d()}}}function je(t){let e;const n=t[8].default,l=a(n,t,t[7],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,n){l&&l.m(t,n),e=!0},p(t,s){l&&l.p&&(!e||128&s)&&d(l,n,t,t[7],s,null,null)},i(t){e||(Et(l,t),e=!0)},o(t){Ot(l,t),e=!1},d(t){l&&l.d(t)}}}function Se(e){let n;return{c(){n=L(e[0])},l(t){n=j(t,e[0])},m(t,e){k(t,n,e)},p(t,e){1&e&&B(n,t[0])},i:t,o:t,d(t){t&&E(n)}}}function Be(t){let e;const n=t[8].default,l=a(n,t,t[7],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,n){l&&l.m(t,n),e=!0},p(t,s){l&&l.p&&(!e||128&s)&&d(l,n,t,t[7],s,null,null)},i(t){e||(Et(l,t),e=!0)},o(t){Ot(l,t),e=!1},d(t){l&&l.d(t)}}}function Ue(e){let n;return{c(){n=L(e[0])},l(t){n=j(t,e[0])},m(t,e){k(t,n,e)},p(t,e){1&e&&B(n,t[0])},i:t,o:t,d(t){t&&E(n)}}}function Re(t){let e,n,l,s;const o=[Ve,Pe],c=[];function i(t,e){return t[1]?0:1}return e=i(t),n=c[e]=o[e](t),{c(){n.c(),l=D()},l(t){n.l(t),l=D()},m(t,n){c[e].m(t,n),k(t,l,n),s=!0},p(t,[s]){let r=e;e=i(t),e===r?c[e].p(t,s):(wt(),Ot(c[r],1,1,(()=>{c[r]=null})),kt(),n=c[e],n?n.p(t,s):(n=c[e]=o[e](t),n.c()),Et(n,1),n.m(l.parentNode,l))},i(t){s||(Et(n),s=!0)},o(t){Ot(n),s=!1},d(t){c[e].d(t),t&&E(l)}}}function He(t,e,l){let s;const o=["class","children","color","href","pill"];let c=f(e,o),{$$slots:i={},$$scope:r}=e,{class:a=""}=e,{children:u}=e,{color:d="secondary"}=e,{href:h}=e,{pill:$=!1}=e;return t.$$set=t=>{e=n(n({},e),p(t)),l(3,c=f(e,o)),"class"in t&&l(4,a=t.class),"children"in t&&l(0,u=t.children),"color"in t&&l(5,d=t.color),"href"in t&&l(1,h=t.href),"pill"in t&&l(6,$=t.pill),"$$scope"in t&&l(7,r=t.$$scope)},t.$$.update=()=>{112&t.$$.dirty&&l(2,s=Yt(a,"badge",`bg-${d}`,!!$&&"rounded-pill"))},[u,h,s,c,a,d,$,r,i]}class Me extends Ut{constructor(t){super(),Bt(this,t,He,Re,i,{class:4,children:0,color:5,href:1,pill:6})}}function Fe(t){let e;const n=t[6].default,l=a(n,t,t[5],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,n){l&&l.m(t,n),e=!0},p(t,s){l&&l.p&&(!e||32&s)&&d(l,n,t,t[5],s,null,null)},i(t){e||(Et(l,t),e=!0)},o(t){Ot(l,t),e=!1},d(t){l&&l.d(t)}}}function qe(e){let n;return{c(){n=L(e[1])},l(t){n=j(t,e[1])},m(t,e){k(t,n,e)},p(t,e){2&e&&B(n,t[1])},i:t,o:t,d(t){t&&E(n)}}}function We(t){let e,l,s,o,c;const i=[qe,Fe],r=[];function a(t,e){return t[1]?0:1}s=a(t),o=r[s]=i[s](t);let u=[t[3],{class:t[0]}],d={};for(let t=0;t<u.length;t+=1)d=n(d,u[t]);return{c(){e=N("nav"),l=N("ol"),o.c(),this.h()},l(t){e=V(t,"NAV",{class:!0});var n=P(e);l=V(n,"OL",{class:!0});var s=P(l);o.l(s),s.forEach(E),n.forEach(E),this.h()},h(){T(l,"class",t[2]),C(e,d)},m(t,n){k(t,e,n),w(e,l),r[s].m(l,null),c=!0},p(t,[n]){let p=s;s=a(t),s===p?r[s].p(t,n):(wt(),Ot(r[p],1,1,(()=>{r[p]=null})),kt(),o=r[s],o?o.p(t,n):(o=r[s]=i[s](t),o.c()),Et(o,1),o.m(l,null)),(!c||4&n)&&T(l,"class",t[2]),C(e,d=At(u,[8&n&&t[3],(!c||1&n)&&{class:t[0]}]))},i(t){c||(Et(o),c=!0)},o(t){Ot(o),c=!1},d(t){t&&E(e),r[s].d()}}}function Ge(t,e,l){let s;const o=["class","children","listClassName"];let c=f(e,o),{$$slots:i={},$$scope:r}=e,{class:a=""}=e,{children:u}=e,{listClassName:d=""}=e;return t.$$set=t=>{e=n(n({},e),p(t)),l(3,c=f(e,o)),"class"in t&&l(0,a=t.class),"children"in t&&l(1,u=t.children),"listClassName"in t&&l(4,d=t.listClassName),"$$scope"in t&&l(5,r=t.$$scope)},t.$$.update=()=>{16&t.$$.dirty&&l(2,s=Yt("breadcrumb",d))},[a,u,s,c,d,r,i]}class Ye extends Ut{constructor(t){super(),Bt(this,t,Ge,We,i,{class:0,children:1,listClassName:4})}}function Xe(t){let e;const n=t[6].default,l=a(n,t,t[5],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,n){l&&l.m(t,n),e=!0},p(t,s){l&&l.p&&(!e||32&s)&&d(l,n,t,t[5],s,null,null)},i(t){e||(Et(l,t),e=!0)},o(t){Ot(l,t),e=!1},d(t){l&&l.d(t)}}}function Ke(e){let n;return{c(){n=L(e[1])},l(t){n=j(t,e[1])},m(t,e){k(t,n,e)},p(t,e){2&e&&B(n,t[1])},i:t,o:t,d(t){t&&E(n)}}}function Je(t){let e,l,s,o,c;const i=[Ke,Xe],r=[];function a(t,e){return t[1]?0:1}l=a(t),s=r[l]=i[l](t);let u=[t[3],{class:t[2]},{"aria-current":o=t[0]?"page":void 0}],d={};for(let t=0;t<u.length;t+=1)d=n(d,u[t]);return{c(){e=N("li"),s.c(),this.h()},l(t){e=V(t,"LI",{class:!0,"aria-current":!0});var n=P(e);s.l(n),n.forEach(E),this.h()},h(){C(e,d)},m(t,n){k(t,e,n),r[l].m(e,null),c=!0},p(t,[n]){let p=l;l=a(t),l===p?r[l].p(t,n):(wt(),Ot(r[p],1,1,(()=>{r[p]=null})),kt(),s=r[l],s?s.p(t,n):(s=r[l]=i[l](t),s.c()),Et(s,1),s.m(e,null)),C(e,d=At(u,[8&n&&t[3],(!c||4&n)&&{class:t[2]},(!c||1&n&&o!==(o=t[0]?"page":void 0))&&{"aria-current":o}]))},i(t){c||(Et(s),c=!0)},o(t){Ot(s),c=!1},d(t){t&&E(e),r[l].d()}}}function Qe(t,e,l){let s;const o=["class","active","children"];let c=f(e,o),{$$slots:i={},$$scope:r}=e,{class:a=""}=e,{active:u=!1}=e,{children:d}=e;return t.$$set=t=>{e=n(n({},e),p(t)),l(3,c=f(e,o)),"class"in t&&l(4,a=t.class),"active"in t&&l(0,u=t.active),"children"in t&&l(1,d=t.children),"$$scope"in t&&l(5,r=t.$$scope)},t.$$.update=()=>{17&t.$$.dirty&&l(2,s=Yt(a,!!u&&"active","breadcrumb-item"))},[u,d,s,c,a,r,i]}class Ze extends Ut{constructor(t){super(),Bt(this,t,Qe,Je,i,{class:4,active:0,children:1})}}function tn(t){let e,l,s,o,c;const i=t[19].default,r=a(i,t,t[18],null),u=r||function(t){let e,n,l,s;const o=[ln,nn],c=[];function i(t,e){return t[1]?0:1}return e=i(t),n=c[e]=o[e](t),{c(){n.c(),l=D()},l(t){n.l(t),l=D()},m(t,n){c[e].m(t,n),k(t,l,n),s=!0},p(t,s){let r=e;e=i(t),e===r?c[e].p(t,s):(wt(),Ot(c[r],1,1,(()=>{c[r]=null})),kt(),n=c[e],n?n.p(t,s):(n=c[e]=o[e](t),n.c()),Et(n,1),n.m(l.parentNode,l))},i(t){s||(Et(n),s=!0)},o(t){Ot(n),s=!1},d(t){c[e].d(t),t&&E(l)}}}(t);let p=[t[9],{class:t[7]},{disabled:t[2]},{value:t[5]},{"aria-label":l=t[6]||t[8]},{style:t[4]}],f={};for(let t=0;t<p.length;t+=1)f=n(f,p[t]);return{c(){e=N("button"),u&&u.c(),this.h()},l(t){e=V(t,"BUTTON",{class:!0,disabled:!0,value:!0,"aria-label":!0,style:!0});var n=P(e);u&&u.l(n),n.forEach(E),this.h()},h(){C(e,f)},m(n,l){k(n,e,l),u&&u.m(e,null),t[23](e),s=!0,o||(c=A(e,"click",t[21]),o=!0)},p(t,n){r?r.p&&(!s||262144&n)&&d(r,i,t,t[18],n,null,null):u&&u.p&&262146&n&&u.p(t,n),C(e,f=At(p,[512&n&&t[9],(!s||128&n)&&{class:t[7]},(!s||4&n)&&{disabled:t[2]},(!s||32&n)&&{value:t[5]},(!s||320&n&&l!==(l=t[6]||t[8]))&&{"aria-label":l},(!s||16&n)&&{style:t[4]}]))},i(t){s||(Et(u,t),s=!0)},o(t){Ot(u,t),s=!1},d(n){n&&E(e),u&&u.d(n),t[23](null),o=!1,c()}}}function en(t){let e,l,s,o,c,i,r;const a=[on,sn],u=[];function d(t,e){return t[1]?0:1}l=d(t),s=u[l]=a[l](t);let p=[t[9],{class:t[7]},{disabled:t[2]},{href:t[3]},{"aria-label":o=t[6]||t[8]},{style:t[4]}],f={};for(let t=0;t<p.length;t+=1)f=n(f,p[t]);return{c(){e=N("a"),s.c(),this.h()},l(t){e=V(t,"A",{class:!0,disabled:!0,href:!0,"aria-label":!0,style:!0});var n=P(e);s.l(n),n.forEach(E),this.h()},h(){C(e,f)},m(n,s){k(n,e,s),u[l].m(e,null),t[22](e),c=!0,i||(r=A(e,"click",t[20]),i=!0)},p(t,n){let i=l;l=d(t),l===i?u[l].p(t,n):(wt(),Ot(u[i],1,1,(()=>{u[i]=null})),kt(),s=u[l],s?s.p(t,n):(s=u[l]=a[l](t),s.c()),Et(s,1),s.m(e,null)),C(e,f=At(p,[512&n&&t[9],(!c||128&n)&&{class:t[7]},(!c||4&n)&&{disabled:t[2]},(!c||8&n)&&{href:t[3]},(!c||320&n&&o!==(o=t[6]||t[8]))&&{"aria-label":o},(!c||16&n)&&{style:t[4]}]))},i(t){c||(Et(s),c=!0)},o(t){Ot(s),c=!1},d(n){n&&E(e),u[l].d(),t[22](null),i=!1,r()}}}function nn(t){let e;const n=t[19].default,l=a(n,t,t[18],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,n){l&&l.m(t,n),e=!0},p(t,s){l&&l.p&&(!e||262144&s)&&d(l,n,t,t[18],s,null,null)},i(t){e||(Et(l,t),e=!0)},o(t){Ot(l,t),e=!1},d(t){l&&l.d(t)}}}function ln(e){let n;return{c(){n=L(e[1])},l(t){n=j(t,e[1])},m(t,e){k(t,n,e)},p(t,e){2&e&&B(n,t[1])},i:t,o:t,d(t){t&&E(n)}}}function sn(t){let e;const n=t[19].default,l=a(n,t,t[18],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,n){l&&l.m(t,n),e=!0},p(t,s){l&&l.p&&(!e||262144&s)&&d(l,n,t,t[18],s,null,null)},i(t){e||(Et(l,t),e=!0)},o(t){Ot(l,t),e=!1},d(t){l&&l.d(t)}}}function on(e){let n;return{c(){n=L(e[1])},l(t){n=j(t,e[1])},m(t,e){k(t,n,e)},p(t,e){2&e&&B(n,t[1])},i:t,o:t,d(t){t&&E(n)}}}function cn(t){let e,n,l,s;const o=[en,tn],c=[];function i(t,e){return t[3]?0:1}return e=i(t),n=c[e]=o[e](t),{c(){n.c(),l=D()},l(t){n.l(t),l=D()},m(t,n){c[e].m(t,n),k(t,l,n),s=!0},p(t,[s]){let r=e;e=i(t),e===r?c[e].p(t,s):(wt(),Ot(c[r],1,1,(()=>{c[r]=null})),kt(),n=c[e],n?n.p(t,s):(n=c[e]=o[e](t),n.c()),Et(n,1),n.m(l.parentNode,l))},i(t){s||(Et(n),s=!0)},o(t){Ot(n),s=!1},d(t){c[e].d(t),t&&E(l)}}}function rn(t,e,l){let s,o,c;const i=["class","active","block","children","close","color","disabled","href","inner","outline","size","style","value","white"];let r=f(e,i),{$$slots:a={},$$scope:u}=e,{class:d=""}=e,{active:h=!1}=e,{block:$=!1}=e,{children:m}=e,{close:g=!1}=e,{color:v="secondary"}=e,{disabled:b=!1}=e,{href:y=""}=e,{inner:x}=e,{outline:w=!1}=e,{size:k=null}=e,{style:E=""}=e,{value:O=""}=e,{white:N=!1}=e;return t.$$set=t=>{l(24,e=n(n({},e),p(t))),l(9,r=f(e,i)),"class"in t&&l(10,d=t.class),"active"in t&&l(11,h=t.active),"block"in t&&l(12,$=t.block),"children"in t&&l(1,m=t.children),"close"in t&&l(13,g=t.close),"color"in t&&l(14,v=t.color),"disabled"in t&&l(2,b=t.disabled),"href"in t&&l(3,y=t.href),"inner"in t&&l(0,x=t.inner),"outline"in t&&l(15,w=t.outline),"size"in t&&l(16,k=t.size),"style"in t&&l(4,E=t.style),"value"in t&&l(5,O=t.value),"white"in t&&l(17,N=t.white),"$$scope"in t&&l(18,u=t.$$scope)},t.$$.update=()=>{l(6,s=e["aria-label"]),261120&t.$$.dirty&&l(7,o=Yt(d,g?"btn-close":"btn",g||`btn${w?"-outline":""}-${v}`,!!k&&`btn-${k}`,!!$&&"d-block w-100",{active:h,"btn-close-white":g&&N})),8192&t.$$.dirty&&l(8,c=g?"Close":null)},e=p(e),[x,m,b,y,E,O,s,o,c,r,d,h,$,g,v,w,k,N,u,a,function(e){st(t,e)},function(e){st(t,e)},function(t){ct[t?"unshift":"push"]((()=>{x=t,l(0,x)}))},function(t){ct[t?"unshift":"push"]((()=>{x=t,l(0,x)}))}]}class an extends Ut{constructor(t){super(),Bt(this,t,rn,cn,i,{class:10,active:11,block:12,children:1,close:13,color:14,disabled:2,href:3,inner:0,outline:15,size:16,style:4,value:5,white:17})}}function un(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function dn(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function pn(t){var e=dn(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function fn(t){return t instanceof dn(t).Element||t instanceof Element}function hn(t){return t instanceof dn(t).HTMLElement||t instanceof HTMLElement}function $n(t){return"undefined"!=typeof ShadowRoot&&(t instanceof dn(t).ShadowRoot||t instanceof ShadowRoot)}function mn(t){return t?(t.nodeName||"").toLowerCase():null}function gn(t){return((fn(t)?t.ownerDocument:t.document)||window.document).documentElement}function vn(t){return un(gn(t)).left+pn(t).scrollLeft}function bn(t){return dn(t).getComputedStyle(t)}function yn(t){var e=bn(t),n=e.overflow,l=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+l)}function xn(t,e,n){void 0===n&&(n=!1);var l,s=gn(e),o=un(t),c=hn(e),i={scrollLeft:0,scrollTop:0},r={x:0,y:0};return(c||!c&&!n)&&(("body"!==mn(e)||yn(s))&&(i=(l=e)!==dn(l)&&hn(l)?function(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}(l):pn(l)),hn(e)?((r=un(e)).x+=e.clientLeft,r.y+=e.clientTop):s&&(r.x=vn(s))),{x:o.left+i.scrollLeft-r.x,y:o.top+i.scrollTop-r.y,width:o.width,height:o.height}}function wn(t){var e=un(t),n=t.offsetWidth,l=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-l)<=1&&(l=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:l}}function kn(t){return"html"===mn(t)?t:t.assignedSlot||t.parentNode||($n(t)?t.host:null)||gn(t)}function En(t){return["html","body","#document"].indexOf(mn(t))>=0?t.ownerDocument.body:hn(t)&&yn(t)?t:En(kn(t))}function On(t,e){var n;void 0===e&&(e=[]);var l=En(t),s=l===(null==(n=t.ownerDocument)?void 0:n.body),o=dn(l),c=s?[o].concat(o.visualViewport||[],yn(l)?l:[]):l,i=e.concat(c);return s?i:i.concat(On(kn(c)))}function Nn(t){return["table","td","th"].indexOf(mn(t))>=0}function In(t){return hn(t)&&"fixed"!==bn(t).position?t.offsetParent:null}function Ln(t){for(var e=dn(t),n=In(t);n&&Nn(n)&&"static"===bn(n).position;)n=In(n);return n&&("html"===mn(n)||"body"===mn(n)&&"static"===bn(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&hn(t)&&"fixed"===bn(t).position)return null;for(var n=kn(t);hn(n)&&["html","body"].indexOf(mn(n))<0;){var l=bn(n);if("none"!==l.transform||"none"!==l.perspective||"paint"===l.contain||-1!==["transform","perspective"].indexOf(l.willChange)||e&&"filter"===l.willChange||e&&l.filter&&"none"!==l.filter)return n;n=n.parentNode}return null}(t)||e}var zn="top",Dn="bottom",An="right",Tn="left",Cn=[zn,Dn,An,Tn],_n=Cn.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),Pn=[].concat(Cn,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),Vn=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function jn(t){var e=new Map,n=new Set,l=[];function s(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var l=e.get(t);l&&s(l)}})),l.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||s(t)})),l}function Sn(t){return t.split("-")[0]}var Bn=Math.max,Un=Math.min,Rn=Math.round;function Hn(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&$n(n)){var l=e;do{if(l&&t.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}function Mn(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Fn(t,e){return"viewport"===e?Mn(function(t){var e=dn(t),n=gn(t),l=e.visualViewport,s=n.clientWidth,o=n.clientHeight,c=0,i=0;return l&&(s=l.width,o=l.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=l.offsetLeft,i=l.offsetTop)),{width:s,height:o,x:c+vn(t),y:i}}(t)):hn(e)?function(t){var e=un(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):Mn(function(t){var e,n=gn(t),l=pn(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=Bn(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),c=Bn(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),i=-l.scrollLeft+vn(t),r=-l.scrollTop;return"rtl"===bn(s||n).direction&&(i+=Bn(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:c,x:i,y:r}}(gn(t)))}function qn(t,e,n){var l="clippingParents"===e?function(t){var e=On(kn(t)),n=["absolute","fixed"].indexOf(bn(t).position)>=0&&hn(t)?Ln(t):t;return fn(n)?e.filter((function(t){return fn(t)&&Hn(t,n)&&"body"!==mn(t)})):[]}(t):[].concat(e),s=[].concat(l,[n]),o=s[0],c=s.reduce((function(e,n){var l=Fn(t,n);return e.top=Bn(l.top,e.top),e.right=Un(l.right,e.right),e.bottom=Un(l.bottom,e.bottom),e.left=Bn(l.left,e.left),e}),Fn(t,o));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Wn(t){return t.split("-")[1]}function Gn(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Yn(t){var e,n=t.reference,l=t.element,s=t.placement,o=s?Sn(s):null,c=s?Wn(s):null,i=n.x+n.width/2-l.width/2,r=n.y+n.height/2-l.height/2;switch(o){case zn:e={x:i,y:n.y-l.height};break;case Dn:e={x:i,y:n.y+n.height};break;case An:e={x:n.x+n.width,y:r};break;case Tn:e={x:n.x-l.width,y:r};break;default:e={x:n.x,y:n.y}}var a=o?Gn(o):null;if(null!=a){var u="y"===a?"height":"width";switch(c){case"start":e[a]=e[a]-(n[u]/2-l[u]/2);break;case"end":e[a]=e[a]+(n[u]/2-l[u]/2)}}return e}function Xn(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Kn(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function Jn(t,e){void 0===e&&(e={});var n=e,l=n.placement,s=void 0===l?t.placement:l,o=n.boundary,c=void 0===o?"clippingParents":o,i=n.rootBoundary,r=void 0===i?"viewport":i,a=n.elementContext,u=void 0===a?"popper":a,d=n.altBoundary,p=void 0!==d&&d,f=n.padding,h=void 0===f?0:f,$=Xn("number"!=typeof h?h:Kn(h,Cn)),m="popper"===u?"reference":"popper",g=t.elements.reference,v=t.rects.popper,b=t.elements[p?m:u],y=qn(fn(b)?b:b.contextElement||gn(t.elements.popper),c,r),x=un(g),w=Yn({reference:x,element:v,strategy:"absolute",placement:s}),k=Mn(Object.assign({},v,w)),E="popper"===u?k:x,O={top:y.top-E.top+$.top,bottom:E.bottom-y.bottom+$.bottom,left:y.left-E.left+$.left,right:E.right-y.right+$.right},N=t.modifiersData.offset;if("popper"===u&&N){var I=N[s];Object.keys(O).forEach((function(t){var e=[An,Dn].indexOf(t)>=0?1:-1,n=[zn,Dn].indexOf(t)>=0?"y":"x";O[t]+=I[n]*e}))}return O}var Qn={placement:"bottom",modifiers:[],strategy:"absolute"};function Zn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function tl(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,l=void 0===n?[]:n,s=e.defaultOptions,o=void 0===s?Qn:s;return function(t,e,n){void 0===n&&(n=o);var s,c,i={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qn,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},r=[],a=!1,u={state:i,setOptions:function(n){d(),i.options=Object.assign({},o,i.options,n),i.scrollParents={reference:fn(t)?On(t):t.contextElement?On(t.contextElement):[],popper:On(e)};var s,c,a=function(t){var e=jn(t);return Vn.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((s=[].concat(l,i.options.modifiers),c=s.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return i.orderedModifiers=a.filter((function(t){return t.enabled})),i.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,l=void 0===n?{}:n,s=t.effect;if("function"==typeof s){var o=s({state:i,name:e,instance:u,options:l}),c=function(){};r.push(o||c)}})),u.update()},forceUpdate:function(){if(!a){var t=i.elements,e=t.reference,n=t.popper;if(Zn(e,n)){i.rects={reference:xn(e,Ln(n),"fixed"===i.options.strategy),popper:wn(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(t){return i.modifiersData[t.name]=Object.assign({},t.data)}));for(var l=0;l<i.orderedModifiers.length;l++)if(!0!==i.reset){var s=i.orderedModifiers[l],o=s.fn,c=s.options,r=void 0===c?{}:c,d=s.name;"function"==typeof o&&(i=o({state:i,options:r,name:d,instance:u})||i)}else i.reset=!1,l=-1}}},update:(s=function(){return new Promise((function(t){u.forceUpdate(),t(i)}))},function(){return c||(c=new Promise((function(t){Promise.resolve().then((function(){c=void 0,t(s())}))}))),c}),destroy:function(){d(),a=!0}};if(!Zn(t,e))return u;function d(){r.forEach((function(t){return t()})),r=[]}return u.setOptions(n).then((function(t){!a&&n.onFirstUpdate&&n.onFirstUpdate(t)})),u}}var el={passive:!0};var nl={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ll(t){var e,n=t.popper,l=t.popperRect,s=t.placement,o=t.offsets,c=t.position,i=t.gpuAcceleration,r=t.adaptive,a=t.roundOffsets,u=!0===a?function(t){var e=t.x,n=t.y,l=window.devicePixelRatio||1;return{x:Rn(Rn(e*l)/l)||0,y:Rn(Rn(n*l)/l)||0}}(o):"function"==typeof a?a(o):o,d=u.x,p=void 0===d?0:d,f=u.y,h=void 0===f?0:f,$=o.hasOwnProperty("x"),m=o.hasOwnProperty("y"),g=Tn,v=zn,b=window;if(r){var y=Ln(n),x="clientHeight",w="clientWidth";y===dn(n)&&"static"!==bn(y=gn(n)).position&&(x="scrollHeight",w="scrollWidth"),y=y,s===zn&&(v=Dn,h-=y[x]-l.height,h*=i?1:-1),s===Tn&&(g=An,p-=y[w]-l.width,p*=i?1:-1)}var k,E=Object.assign({position:c},r&&nl);return i?Object.assign({},E,((k={})[v]=m?"0":"",k[g]=$?"0":"",k.transform=(b.devicePixelRatio||1)<2?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",k)):Object.assign({},E,((e={})[v]=m?h+"px":"",e[g]=$?p+"px":"",e.transform="",e))}var sl={left:"right",right:"left",bottom:"top",top:"bottom"};function ol(t){return t.replace(/left|right|bottom|top/g,(function(t){return sl[t]}))}var cl={start:"end",end:"start"};function il(t){return t.replace(/start|end/g,(function(t){return cl[t]}))}function rl(t,e){void 0===e&&(e={});var n=e,l=n.placement,s=n.boundary,o=n.rootBoundary,c=n.padding,i=n.flipVariations,r=n.allowedAutoPlacements,a=void 0===r?Pn:r,u=Wn(l),d=u?i?_n:_n.filter((function(t){return Wn(t)===u})):Cn,p=d.filter((function(t){return a.indexOf(t)>=0}));0===p.length&&(p=d);var f=p.reduce((function(e,n){return e[n]=Jn(t,{placement:n,boundary:s,rootBoundary:o,padding:c})[Sn(n)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}function al(t,e,n){return Bn(t,Un(e,n))}function ul(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function dl(t){return[zn,An,Dn,Tn].some((function(e){return t[e]>=0}))}var pl=tl({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,l=t.options,s=l.scroll,o=void 0===s||s,c=l.resize,i=void 0===c||c,r=dn(e.elements.popper),a=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&a.forEach((function(t){t.addEventListener("scroll",n.update,el)})),i&&r.addEventListener("resize",n.update,el),function(){o&&a.forEach((function(t){t.removeEventListener("scroll",n.update,el)})),i&&r.removeEventListener("resize",n.update,el)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Yn({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,l=n.gpuAcceleration,s=void 0===l||l,o=n.adaptive,c=void 0===o||o,i=n.roundOffsets,r=void 0===i||i,a={placement:Sn(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,ll(Object.assign({},a,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:c,roundOffsets:r})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,ll(Object.assign({},a,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:r})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},l=e.attributes[t]||{},s=e.elements[t];hn(s)&&mn(s)&&(Object.assign(s.style,n),Object.keys(l).forEach((function(t){var e=l[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var l=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});hn(l)&&mn(l)&&(Object.assign(l.style,o),Object.keys(s).forEach((function(t){l.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,l=t.name,s=n.offset,o=void 0===s?[0,0]:s,c=Pn.reduce((function(t,n){return t[n]=function(t,e,n){var l=Sn(t),s=[Tn,zn].indexOf(l)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,c=o[0],i=o[1];return c=c||0,i=(i||0)*s,[Tn,An].indexOf(l)>=0?{x:i,y:c}:{x:c,y:i}}(n,e.rects,o),t}),{}),i=c[e.placement],r=i.x,a=i.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=r,e.modifiersData.popperOffsets.y+=a),e.modifiersData[l]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,l=t.name;if(!e.modifiersData[l]._skip){for(var