lookbook 0.5.0.beta.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -18
- data/app/assets/lookbook/js/components/copy.js +4 -2
- data/app/assets/lookbook/js/components/inspector.js +15 -7
- data/app/assets/lookbook/js/config.js +3 -2
- data/app/assets/lookbook/js/stores/inspector.js +3 -2
- data/app/controllers/lookbook/app_controller.rb +23 -11
- data/app/views/layouts/lookbook/app.html.erb +3 -1
- data/app/views/lookbook/components/_drawer.html.erb +38 -35
- data/app/views/lookbook/components/_header.html.erb +2 -2
- data/app/views/lookbook/components/_nav_preview.html.erb +4 -2
- data/app/views/lookbook/components/_preview.html.erb +65 -46
- data/app/views/lookbook/panels/_output.html.erb +1 -1
- data/app/views/lookbook/panels/_preview.html.erb +52 -0
- data/app/views/lookbook/show.html.erb +5 -54
- data/lib/lookbook/features.rb +1 -1
- data/lib/lookbook/version.rb +1 -1
- data/public/lookbook-assets/css/app.css +1 -1
- data/public/lookbook-assets/css/app.css.map +1 -1
- data/public/lookbook-assets/js/app.js +1 -1
- data/public/lookbook-assets/js/app.js.map +1 -1
- metadata +5 -5
- data/app/views/lookbook/components/_copy.html.erb +0 -14
@@ -1,2 +1,2 @@
|
|
1
|
-
!function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function t(e){return e&&e.__esModule?e.default:e}class n{constructor(e){this.children=[],this.parent=e}delete(e){const t=this.children.indexOf(e);return-1!==t&&(this.children=this.children.slice(0,t).concat(this.children.slice(t+1)),0===this.children.length&&this.parent.delete(this),!0)}add(e){return this.children.push(e),this}}class r{constructor(e){this.parent=null,this.children={},this.parent=e||null}get(e){return this.children[e]}insert(e){let t=this;for(let i=0;i<e.length;i+=1){const o=e[i];let a=t.get(o);if(i===e.length-1)return a instanceof r&&(t.delete(a),a=null),a||(a=new n(t),t.children[o]=a),a;a instanceof n&&(a=null),a||(a=new r(t),t.children[o]=a),t=a}return t}delete(e){for(const t in this.children){if(this.children[t]===e){const e=delete this.children[t];return 0===Object.keys(this.children).length&&this.parent&&this.parent.delete(this),e}}return!1}}function i(e){if(!(e instanceof HTMLElement))return!1;const t=e.nodeName.toLowerCase(),n=(e.getAttribute("type")||"").toLowerCase();return"select"===t||"textarea"===t||"input"===t&&"submit"!==n&&"reset"!==n&&"checkbox"!==n&&"radio"!==n||e.isContentEditable}function o(e){const t=e.code.startsWith("Key")&&e.shiftKey&&e.key.toUpperCase()===e.key;return`${e.ctrlKey?"Control+":""}${e.altKey?"Alt+":""}${e.metaKey?"Meta+":""}${e.shiftKey&&!t?"Shift+":""}${e.key}`}const a=new r,s=new WeakMap;let c=a,u=null,l=[];function f(){l=[],u=null,c=a}function p(e){if(e.defaultPrevented)return;if(!(e.target instanceof Node))return;if(i(e.target)){const t=e.target;if(!t.id)return;if(!t.ownerDocument.querySelector(`[data-hotkey-scope=${t.id}]`))return}null!=u&&window.clearTimeout(u),u=window.setTimeout(f,1500);const t=c.get(o(e));if(t){if(l.push(o(e)),c=t,t instanceof n){const n=e.target;let r,o=!1;const a=i(n);for(let e=t.children.length-1;e>=0;e-=1){r=t.children[e];const i=r.getAttribute("data-hotkey-scope");if(!a&&!i||a&&n.id===i){o=!0;break}}r&&o&&(!function(e,t){const n=new CustomEvent("hotkey-fire",{cancelable:!0,detail:{path:t}});!e.dispatchEvent(n)||(i(e)?e.focus():e.click())}(r,l),e.preventDefault()),f()}}else f()}function d(e,t){0===Object.keys(a.children).length&&document.addEventListener("keydown",p);const n=function(e){return e.split(",").map((e=>e.split(" ")))}(t||e.getAttribute("data-hotkey")||""),r=n.map((t=>a.insert(t).add(e)));s.set(e,r)}var h,m,g,v,y=Object.create,b=Object.defineProperty,w=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty,_=Object.getOwnPropertyNames,O=Object.getOwnPropertyDescriptor,E=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),k=E((t=>{function n(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}Object.defineProperty(t,"__esModule",{value:!0});var r={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},i={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},o=n("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");var a="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",s=n(a),c=n(a+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),u=/[>/="'\u0009\u000a\u000c\u0020]/,l={};var f=n("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),p=n("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap");var d=/;(?![^(]*\))/g,h=/:(.+)/;function m(e){const t={};return e.split(d).forEach((e=>{if(e){const n=e.split(h);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}var g=n("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),v=n("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),y=n("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),b=/["'&<>]/;var w=/^-?>|<!--|-->|--!>|<!-$/g;function x(e,t){if(e===t)return!0;let n=P(e),r=P(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=C(e),r=C(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=x(e[r],t[r]);return n}(e,t);if(n=R(e),r=R(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!x(e[n],t[n]))return!1}}return String(e)===String(t)}var _,O=(e,t)=>j(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:L(t)?{[`Set(${t.size})`]:[...t.values()]}:!R(t)||C(t)||I(t)?t:String(t),E=Object.freeze({}),k=Object.freeze([]),S=/^on[^a-z]/,A=Object.assign,T=Object.prototype.hasOwnProperty,C=Array.isArray,j=e=>"[object Map]"===N(e),L=e=>"[object Set]"===N(e),P=e=>e instanceof Date,D=e=>"function"==typeof e,M=e=>"string"==typeof e,R=e=>null!==e&&"object"==typeof e,$=Object.prototype.toString,N=e=>$.call(e),I=e=>"[object Object]"===N(e),W=n(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),z=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},H=/-(\w)/g,V=z((e=>e.replace(H,((e,t)=>t?t.toUpperCase():"")))),B=/\B([A-Z])/g,G=z((e=>e.replace(B,"-$1").toLowerCase())),q=z((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=z((e=>e?`on${q(e)}`:""));t.EMPTY_ARR=k,t.EMPTY_OBJ=E,t.NO=()=>!1,t.NOOP=()=>{},t.PatchFlagNames=r,t.babelParserDefaultPlugins=["bigInt","optionalChaining","nullishCoalescingOperator"],t.camelize=V,t.capitalize=q,t.def=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},t.escapeHtml=function(e){const t=""+e,n=b.exec(t);if(!n)return t;let r,i,o="",a=0;for(i=n.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}a!==i&&(o+=t.substring(a,i)),a=i+1,o+=r}return a!==i?o+t.substring(a,i):o},t.escapeHtmlComment=function(e){return e.replace(w,"")},t.extend=A,t.generateCodeFrame=function(e,t=0,n=e.length){const r=e.split(/\r?\n/);let i=0;const o=[];for(let e=0;e<r.length;e++)if(i+=r[e].length+1,i>=t){for(let a=e-2;a<=e+2||n>i;a++){if(a<0||a>=r.length)continue;const s=a+1;o.push(`${s}${" ".repeat(Math.max(3-String(s).length,0))}| ${r[a]}`);const c=r[a].length;if(a===e){const e=t-(i-c)+1,r=Math.max(1,n>i?c-e:n-t);o.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(a>e){if(n>i){const e=Math.max(Math.min(n-i,c),1);o.push(" | "+"^".repeat(e))}i+=c+1}}break}return o.join("\n")},t.getGlobalThis=()=>_||(_="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{}),t.hasChanged=(e,t)=>e!==t&&(e==e||t==t),t.hasOwn=(e,t)=>T.call(e,t),t.hyphenate=G,t.invokeArrayFns=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},t.isArray=C,t.isBooleanAttr=c,t.isDate=P,t.isFunction=D,t.isGloballyWhitelisted=o,t.isHTMLTag=g,t.isIntegerKey=e=>M(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,t.isKnownAttr=p,t.isMap=j,t.isModelListener=e=>e.startsWith("onUpdate:"),t.isNoUnitNumericStyleProp=f,t.isObject=R,t.isOn=e=>S.test(e),t.isPlainObject=I,t.isPromise=e=>R(e)&&D(e.then)&&D(e.catch),t.isReservedProp=W,t.isSSRSafeAttrName=function(e){if(l.hasOwnProperty(e))return l[e];const t=u.test(e);return t&&console.error(`unsafe attribute name: ${e}`),l[e]=!t},t.isSVGTag=v,t.isSet=L,t.isSpecialBooleanAttr=s,t.isString=M,t.isSymbol=e=>"symbol"==typeof e,t.isVoidTag=y,t.looseEqual=x,t.looseIndexOf=function(e,t){return e.findIndex((e=>x(e,t)))},t.makeMap=n,t.normalizeClass=function e(t){let n="";if(M(t))n=t;else if(C(t))for(let r=0;r<t.length;r++){const i=e(t[r]);i&&(n+=i+" ")}else if(R(t))for(const e in t)t[e]&&(n+=e+" ");return n.trim()},t.normalizeStyle=function e(t){if(C(t)){const n={};for(let r=0;r<t.length;r++){const i=t[r],o=e(M(i)?m(i):i);if(o)for(const e in o)n[e]=o[e]}return n}if(R(t))return t},t.objectToString=$,t.parseStringStyle=m,t.propsToAttrMap={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},t.remove=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},t.slotFlagsText=i,t.stringifyStyle=function(e){let t="";if(!e)return t;for(const n in e){const r=e[n],i=n.startsWith("--")?n:G(n);(M(r)||"number"==typeof r&&f(i))&&(t+=`${i}:${r};`)}return t},t.toDisplayString=e=>null==e?"":R(e)?JSON.stringify(e,O,2):String(e),t.toHandlerKey=F,t.toNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},t.toRawType=e=>N(e).slice(8,-1),t.toTypeString=N})),S=E(((e,t)=>{t.exports=k()})),A=E((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t,n=S(),r=new WeakMap,i=[],o=Symbol("iterate"),a=Symbol("Map key iterate");function s(e,r=n.EMPTY_OBJ){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const o=function(e,n){const r=function(){if(!r.active)return e();if(!i.includes(r)){u(r);try{return d(),i.push(r),t=r,e()}finally{i.pop(),h(),t=i[i.length-1]}}};return r.id=c++,r.allowRecurse=!!n.allowRecurse,r._isEffect=!0,r.active=!0,r.raw=e,r.deps=[],r.options=n,r}(e,r);return r.lazy||o(),o}var c=0;function u(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var l=!0,f=[];function p(){f.push(l),l=!1}function d(){f.push(l),l=!0}function h(){const e=f.pop();l=void 0===e||e}function m(e,n,i){if(!l||void 0===t)return;let o=r.get(e);o||r.set(e,o=new Map);let a=o.get(i);a||o.set(i,a=new Set),a.has(t)||(a.add(t),t.deps.push(a),t.options.onTrack&&t.options.onTrack({effect:t,target:e,type:n,key:i}))}function g(e,i,s,c,u,l){const f=r.get(e);if(!f)return;const p=new Set,d=e=>{e&&e.forEach((e=>{(e!==t||e.allowRecurse)&&p.add(e)}))};if("clear"===i)f.forEach(d);else if("length"===s&&n.isArray(e))f.forEach(((e,t)=>{("length"===t||t>=c)&&d(e)}));else switch(void 0!==s&&d(f.get(s)),i){case"add":n.isArray(e)?n.isIntegerKey(s)&&d(f.get("length")):(d(f.get(o)),n.isMap(e)&&d(f.get(a)));break;case"delete":n.isArray(e)||(d(f.get(o)),n.isMap(e)&&d(f.get(a)));break;case"set":n.isMap(e)&&d(f.get(o))}p.forEach((t=>{t.options.onTrigger&&t.options.onTrigger({effect:t,target:e,key:s,type:i,newValue:c,oldValue:u,oldTarget:l}),t.options.scheduler?t.options.scheduler(t):t()}))}var v=n.makeMap("__proto__,__v_isRef,__isVue"),y=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(n.isSymbol)),b=E(),w=E(!1,!0),x=E(!0),_=E(!0,!0),O={};function E(e=!1,t=!1){return function(r,i,o){if("__v_isReactive"===i)return!e;if("__v_isReadonly"===i)return e;if("__v_raw"===i&&o===(e?t?ae:oe:t?ie:re).get(r))return r;const a=n.isArray(r);if(!e&&a&&n.hasOwn(O,i))return Reflect.get(O,i,o);const s=Reflect.get(r,i,o);if(n.isSymbol(i)?y.has(i):v(i))return s;if(e||m(r,"get",i),t)return s;if(me(s)){return!a||!n.isIntegerKey(i)?s.value:s}return n.isObject(s)?e?ce(s):se(s):s}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];O[e]=function(...e){const n=de(this);for(let e=0,t=this.length;e<t;e++)m(n,"get",e+"");const r=t.apply(n,e);return-1===r||!1===r?t.apply(n,e.map(de)):r}})),["push","pop","shift","unshift","splice"].forEach((e=>{const t=Array.prototype[e];O[e]=function(...e){p();const n=t.apply(this,e);return h(),n}}));var k=T(),A=T(!0);function T(e=!1){return function(t,r,i,o){let a=t[r];if(!e&&(i=de(i),a=de(a),!n.isArray(t)&&me(a)&&!me(i)))return a.value=i,!0;const s=n.isArray(t)&&n.isIntegerKey(r)?Number(r)<t.length:n.hasOwn(t,r),c=Reflect.set(t,r,i,o);return t===de(o)&&(s?n.hasChanged(i,a)&&g(t,"set",r,i,a):g(t,"add",r,i)),c}}var C={get:b,set:k,deleteProperty:function(e,t){const r=n.hasOwn(e,t),i=e[t],o=Reflect.deleteProperty(e,t);return o&&r&&g(e,"delete",t,void 0,i),o},has:function(e,t){const r=Reflect.has(e,t);return n.isSymbol(t)&&y.has(t)||m(e,"has",t),r},ownKeys:function(e){return m(e,"iterate",n.isArray(e)?"length":o),Reflect.ownKeys(e)}},j={get:x,set:(e,t)=>(console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>(console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},L=n.extend({},C,{get:w,set:A}),P=n.extend({},j,{get:_}),D=e=>n.isObject(e)?se(e):e,M=e=>n.isObject(e)?ce(e):e,R=e=>e,$=e=>Reflect.getPrototypeOf(e);function N(e,t,n=!1,r=!1){const i=de(e=e.__v_raw),o=de(t);t!==o&&!n&&m(i,"get",t),!n&&m(i,"get",o);const{has:a}=$(i),s=r?R:n?M:D;return a.call(i,t)?s(e.get(t)):a.call(i,o)?s(e.get(o)):void(e!==i&&e.get(t))}function I(e,t=!1){const n=this.__v_raw,r=de(n),i=de(e);return e!==i&&!t&&m(r,"has",e),!t&&m(r,"has",i),e===i?n.has(e):n.has(e)||n.has(i)}function W(e,t=!1){return e=e.__v_raw,!t&&m(de(e),"iterate",o),Reflect.get(e,"size",e)}function z(e){e=de(e);const t=de(this);return $(t).has.call(t,e)||(t.add(e),g(t,"add",e,e)),this}function H(e,t){t=de(t);const r=de(this),{has:i,get:o}=$(r);let a=i.call(r,e);a?ne(r,i,e):(e=de(e),a=i.call(r,e));const s=o.call(r,e);return r.set(e,t),a?n.hasChanged(t,s)&&g(r,"set",e,t,s):g(r,"add",e,t),this}function V(e){const t=de(this),{has:n,get:r}=$(t);let i=n.call(t,e);i?ne(t,n,e):(e=de(e),i=n.call(t,e));const o=r?r.call(t,e):void 0,a=t.delete(e);return i&&g(t,"delete",e,void 0,o),a}function B(){const e=de(this),t=0!==e.size,r=n.isMap(e)?new Map(e):new Set(e),i=e.clear();return t&&g(e,"clear",void 0,void 0,r),i}function G(e,t){return function(n,r){const i=this,a=i.__v_raw,s=de(a),c=t?R:e?M:D;return!e&&m(s,"iterate",o),a.forEach(((e,t)=>n.call(r,c(e),c(t),i)))}}function q(e,t,r){return function(...i){const s=this.__v_raw,c=de(s),u=n.isMap(c),l="entries"===e||e===Symbol.iterator&&u,f="keys"===e&&u,p=s[e](...i),d=r?R:t?M:D;return!t&&m(c,"iterate",f?a:o),{next(){const{value:e,done:t}=p.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function F(e){return function(...t){{const r=t[0]?`on key "${t[0]}" `:"";console.warn(`${n.capitalize(e)} operation ${r}failed: target is readonly.`,de(this))}return"delete"!==e&&this}}var U={get(e){return N(this,e)},get size(){return W(this)},has:I,add:z,set:H,delete:V,clear:B,forEach:G(!1,!1)},Y={get(e){return N(this,e,!1,!0)},get size(){return W(this)},has:I,add:z,set:H,delete:V,clear:B,forEach:G(!1,!0)},K={get(e){return N(this,e,!0)},get size(){return W(this,!0)},has(e){return I.call(this,e,!0)},add:F("add"),set:F("set"),delete:F("delete"),clear:F("clear"),forEach:G(!0,!1)},X={get(e){return N(this,e,!0,!0)},get size(){return W(this,!0)},has(e){return I.call(this,e,!0)},add:F("add"),set:F("set"),delete:F("delete"),clear:F("clear"),forEach:G(!0,!0)};function J(e,t){const r=t?e?X:Y:e?K:U;return(t,i,o)=>"__v_isReactive"===i?!e:"__v_isReadonly"===i?e:"__v_raw"===i?t:Reflect.get(n.hasOwn(r,i)&&i in t?r:t,i,o)}["keys","values","entries",Symbol.iterator].forEach((e=>{U[e]=q(e,!1,!1),K[e]=q(e,!0,!1),Y[e]=q(e,!1,!0),X[e]=q(e,!0,!0)}));var Z={get:J(!1,!1)},Q={get:J(!1,!0)},ee={get:J(!0,!1)},te={get:J(!0,!0)};function ne(e,t,r){const i=de(r);if(i!==r&&t.call(e,i)){const t=n.toRawType(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var re=new WeakMap,ie=new WeakMap,oe=new WeakMap,ae=new WeakMap;function se(e){return e&&e.__v_isReadonly?e:ue(e,!1,C,Z,re)}function ce(e){return ue(e,!0,j,ee,oe)}function ue(e,t,r,i,o){if(!n.isObject(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const s=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(n.toRawType(c));var c;if(0===s)return e;const u=new Proxy(e,2===s?i:r);return o.set(e,u),u}function le(e){return fe(e)?le(e.__v_raw):!(!e||!e.__v_isReactive)}function fe(e){return!(!e||!e.__v_isReadonly)}function pe(e){return le(e)||fe(e)}function de(e){return e&&de(e.__v_raw)||e}var he=e=>n.isObject(e)?se(e):e;function me(e){return Boolean(e&&!0===e.__v_isRef)}function ge(e,t=!1){return me(e)?e:new class{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:he(e)}get value(){return m(de(this),"get","value"),this._value}set value(e){n.hasChanged(de(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:he(e),g(de(this),"set","value",e))}}(e,t)}function ve(e){return me(e)?e.value:e}var ye={get:(e,t,n)=>ve(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return me(i)&&!me(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function be(e,t){return me(e[t])?e[t]:new class{constructor(e,t){this._object=e,this._key=t,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(e){this._object[this._key]=e}}(e,t)}e.ITERATE_KEY=o,e.computed=function(e){let t,r;return n.isFunction(e)?(t=e,r=()=>{console.warn("Write operation failed: computed value is readonly")}):(t=e.get,r=e.set),new class{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=s(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,g(de(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=de(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),m(e,"get","value"),e._value}set value(e){this._setter(e)}}(t,r,n.isFunction(e)||!e.set)},e.customRef=function(e){return new class{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>m(this,"get","value")),(()=>g(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}(e)},e.effect=s,e.enableTracking=d,e.isProxy=pe,e.isReactive=le,e.isReadonly=fe,e.isRef=me,e.markRaw=function(e){return n.def(e,"__v_skip",!0),e},e.pauseTracking=p,e.proxyRefs=function(e){return le(e)?e:new Proxy(e,ye)},e.reactive=se,e.readonly=ce,e.ref=function(e){return ge(e)},e.resetTracking=h,e.shallowReactive=function(e){return ue(e,!1,L,Q,ie)},e.shallowReadonly=function(e){return ue(e,!0,P,te,ae)},e.shallowRef=function(e){return ge(e,!0)},e.stop=function(e){e.active&&(u(e),e.options.onStop&&e.options.onStop(),e.active=!1)},e.toRaw=de,e.toRef=be,e.toRefs=function(e){pe(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=n.isArray(e)?new Array(e.length):{};for(const n in e)t[n]=be(e,n);return t},e.track=m,e.trigger=g,e.triggerRef=function(e){g(de(e),"set","value",e.value)},e.unref=ve})),T=E(((e,t)=>{t.exports=A()})),C=!1,j=!1,L=[];function P(e){!function(e){L.includes(e)||L.push(e);j||C||(C=!0,queueMicrotask(D))}(e)}function D(){C=!1,j=!0;for(let e=0;e<L.length;e++)L[e]();L.length=0,j=!1}var M=!0;function R(e){m=e}var $=[],N=[],I=[];function W(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach((([n,r])=>{(void 0===t||t.includes(n))&&(r.forEach((e=>e())),delete e._x_attributeCleanups[n])}))}var z=new MutationObserver(K),H=!1;function V(){z.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),H=!0}function B(){(G=G.concat(z.takeRecords())).length&&!q&&(q=!0,queueMicrotask((()=>{K(G),G.length=0,q=!1}))),z.disconnect(),H=!1}var G=[],q=!1;function F(e){if(!H)return e();B();let t=e();return V(),t}var U=!1,Y=[];function K(e){if(U)return void(Y=Y.concat(e));let t=[],n=[],r=new Map,i=new Map;for(let o=0;o<e.length;o++)if(!e[o].target._x_ignoreMutationObserver&&("childList"===e[o].type&&(e[o].addedNodes.forEach((e=>1===e.nodeType&&t.push(e))),e[o].removedNodes.forEach((e=>1===e.nodeType&&n.push(e)))),"attributes"===e[o].type)){let t=e[o].target,n=e[o].attributeName,a=e[o].oldValue,s=()=>{r.has(t)||r.set(t,[]),r.get(t).push({name:n,value:t.getAttribute(n)})},c=()=>{i.has(t)||i.set(t,[]),i.get(t).push(n)};t.hasAttribute(n)&&null===a?s():t.hasAttribute(n)?(c(),s()):c()}i.forEach(((e,t)=>{W(t,e)})),r.forEach(((e,t)=>{$.forEach((n=>n(t,e)))}));for(let e of n)t.includes(e)||N.forEach((t=>t(e)));t.forEach((e=>{e._x_ignoreSelf=!0,e._x_ignore=!0}));for(let e of t)n.includes(e)||e.isConnected&&(delete e._x_ignoreSelf,delete e._x_ignore,I.forEach((t=>t(e))),e._x_ignore=!0,e._x_ignoreSelf=!0);t.forEach((e=>{delete e._x_ignoreSelf,delete e._x_ignore})),t=null,n=null,r=null,i=null}function X(e,t,n){return e._x_dataStack=[t,...Z(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter((e=>e!==t))}}function J(e,t){let n=e._x_dataStack[0];Object.entries(t).forEach((([e,t])=>{n[e]=t}))}function Z(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?Z(e.host):e.parentNode?Z(e.parentNode):[]}function Q(e){let t=new Proxy({},{ownKeys:()=>Array.from(new Set(e.flatMap((e=>Object.keys(e))))),has:(t,n)=>e.some((e=>e.hasOwnProperty(n))),get:(n,r)=>(e.find((e=>{if(e.hasOwnProperty(r)){let n=Object.getOwnPropertyDescriptor(e,r);if(n.get&&n.get._x_alreadyBound||n.set&&n.set._x_alreadyBound)return!0;if((n.get||n.set)&&n.enumerable){let i=n.get,o=n.set,a=n;i=i&&i.bind(t),o=o&&o.bind(t),i&&(i._x_alreadyBound=!0),o&&(o._x_alreadyBound=!0),Object.defineProperty(e,r,{...a,get:i,set:o})}return!0}return!1}))||{})[r],set:(t,n,r)=>{let i=e.find((e=>e.hasOwnProperty(n)));return i?i[n]=r:e[e.length-1][n]=r,!0}});return t}function ee(e){let t=(n,r="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach((([i,{value:o,enumerable:a}])=>{if(!1===a||void 0===o)return;let s=""===r?i:`${r}.${i}`;var c;"object"==typeof o&&null!==o&&o._x_interceptor?n[i]=o.initialize(e,s,i):"object"!=typeof(c=o)||Array.isArray(c)||null===c||o===n||o instanceof Element||t(o,s)}))};return t(e)}function te(e,t=(()=>{})){let n={initialValue:void 0,_x_interceptor:!0,initialize(t,n,r){return e(this.initialValue,(()=>function(e,t){return t.split(".").reduce(((e,t)=>e[t]),e)}(t,n)),(e=>ne(t,n,e)),n,r)}};return t(n),e=>{if("object"==typeof e&&null!==e&&e._x_interceptor){let t=n.initialize.bind(n);n.initialize=(r,i,o)=>{let a=e.initialize(r,i,o);return n.initialValue=a,t(r,i,o)}}else n.initialValue=e;return n}}function ne(e,t,n){if("string"==typeof t&&(t=t.split(".")),1!==t.length){if(0===t.length)throw error;return e[t[0]]||(e[t[0]]={}),ne(e[t[0]],t.slice(1),n)}e[t[0]]=n}var re={};function ie(e,t){re[e]=t}function oe(e,t){return Object.entries(re).forEach((([n,r])=>{Object.defineProperty(e,`$${n}`,{get:()=>r(t,{Alpine:ft,interceptor:te}),enumerable:!1})})),e}function ae(e,t,n,...r){try{return n(...r)}catch(n){se(n,e,t)}}function se(e,t,n){Object.assign(e,{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}\n\n${n?'Expression: "'+n+'"\n\n':""}`,t),setTimeout((()=>{throw e}),0)}function ce(e,t,n={}){let r;return ue(e,t)((e=>r=e),n),r}function ue(...e){return le(...e)}var le=fe;function fe(e,t){let n={};oe(n,e);let r=[n,...Z(e)];if("function"==typeof t)return function(e,t){return(n=(()=>{}),{scope:r={},params:i=[]}={})=>{de(n,t.apply(Q([r,...e]),i))}}(r,t);let i=function(e,t,n){let r=function(e,t){if(pe[e])return pe[e];let n=Object.getPrototypeOf((async function(){})).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e)||/^(let|const)\s/.test(e)?`(() => { ${e} })()`:e;let i=(()=>{try{return new n(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`)}catch(n){return se(n,t,e),Promise.resolve()}})();return pe[e]=i,i}(t,n);return(i=(()=>{}),{scope:o={},params:a=[]}={})=>{r.result=void 0,r.finished=!1;let s=Q([o,...e]);if("function"==typeof r){let e=r(r,s).catch((e=>se(e,n,t)));r.finished?(de(i,r.result,s,a,n),r.result=void 0):e.then((e=>{de(i,e,s,a,n)})).catch((e=>se(e,n,t))).finally((()=>r.result=void 0))}}}(r,t,e);return ae.bind(null,e,t,i)}var pe={};function de(e,t,n,r,i){if("function"==typeof t){let o=t.apply(n,r);o instanceof Promise?o.then((t=>de(e,t,n,r))).catch((e=>se(e,i,t))):e(o)}else e(t)}var he="x-";function me(e=""){return he+e}var ge={};function ve(e,t){ge[e]=t}function ye(e,t,n){let r={},i=Array.from(t).map(Oe(((e,t)=>r[e]=t))).filter(Se).map(function(e,t){return({name:n,value:r})=>{let i=n.match(Ae()),o=n.match(/:([a-zA-Z0-9\-:]+)/),a=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],s=t||e[n]||n;return{type:i?i[1]:null,value:o?o[1]:null,modifiers:a.map((e=>e.replace(".",""))),expression:r,original:s}}}(r,n)).sort(je);return i.map((t=>function(e,t){let n=()=>{},r=ge[t.type]||n,i=[],o=e=>i.push(e),[a,s]=function(e){let t=()=>{};return[n=>{let r=m(n);e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach((e=>e()))}),e._x_effects.add(r),t=()=>{void 0!==r&&(e._x_effects.delete(r),g(r))}},()=>{t()}]}(e);i.push(s);let c={Alpine:ft,effect:a,cleanup:o,evaluateLater:ue.bind(ue,e),evaluate:ce.bind(ce,e)},u=()=>i.forEach((e=>e()));!function(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}(e,t.original,u);let l=()=>{e._x_ignore||e._x_ignoreSelf||(r.inline&&r.inline(e,t,c),r=r.bind(r,e,t,c),be?we.get(xe).push(r):r())};return l.runCleanups=u,l}(e,t)))}var be=!1,we=new Map,xe=Symbol();var _e=(e,t)=>({name:n,value:r})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:r});function Oe(e=(()=>{})){return({name:t,value:n})=>{let{name:r,value:i}=Ee.reduce(((e,t)=>t(e)),{name:t,value:n});return r!==t&&e(r,t),{name:r,value:i}}}var Ee=[];function ke(e){Ee.push(e)}function Se({name:e}){return Ae().test(e)}var Ae=()=>new RegExp(`^${he}([^:^.]+)\\b`);var Te="DEFAULT",Ce=["ignore","ref","data","id","bind","init","for","model","transition","show","if",Te,"teleport","element"];function je(e,t){let n=-1===Ce.indexOf(e.type)?Te:e.type,r=-1===Ce.indexOf(t.type)?Te:t.type;return Ce.indexOf(n)-Ce.indexOf(r)}function Le(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}var Pe=[],De=!1;function Me(e){Pe.push(e),queueMicrotask((()=>{De||setTimeout((()=>{Re()}))}))}function Re(){for(De=!1;Pe.length;)Pe.shift()()}function $e(e,t){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEach((e=>$e(e,t)));let n=!1;if(t(e,(()=>n=!0)),n)return;let r=e.firstElementChild;for(;r;)$e(r,t),r=r.nextElementSibling}function Ne(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var Ie=[],We=[];function ze(){return Ie.map((e=>e()))}function He(){return Ie.concat(We).map((e=>e()))}function Ve(e){Ie.push(e)}function Be(e){We.push(e)}function Ge(e,t=!1){return qe(e,(e=>{if((t?He():ze()).some((t=>e.matches(t))))return!0}))}function qe(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),e.parentElement)return qe(e.parentElement,t)}}function Fe(e,t=$e){!function(e){be=!0;let t=Symbol();xe=t,we.set(t,[]);let n=()=>{for(;we.get(t).length;)we.get(t).shift()();we.delete(t)};e(n),be=!1,n()}((()=>{t(e,((e,t)=>{ye(e,e.attributes).forEach((e=>e())),e._x_ignore&&t()}))}))}function Ue(e,t){return Array.isArray(t)?Ye(e,t.join(" ")):"object"==typeof t&&null!==t?function(e,t){let n=e=>e.split(" ").filter(Boolean),r=Object.entries(t).flatMap((([e,t])=>!!t&&n(e))).filter(Boolean),i=Object.entries(t).flatMap((([e,t])=>!t&&n(e))).filter(Boolean),o=[],a=[];return i.forEach((t=>{e.classList.contains(t)&&(e.classList.remove(t),a.push(t))})),r.forEach((t=>{e.classList.contains(t)||(e.classList.add(t),o.push(t))})),()=>{a.forEach((t=>e.classList.add(t))),o.forEach((t=>e.classList.remove(t)))}}(e,t):"function"==typeof t?Ue(e,t()):Ye(e,t)}function Ye(e,t){return t=!0===t?t="":t||"",n=t.split(" ").filter((t=>!e.classList.contains(t))).filter(Boolean),e.classList.add(...n),()=>{e.classList.remove(...n)};var n}function Ke(e,t){return"object"==typeof t&&null!==t?function(e,t){let n={};return Object.entries(t).forEach((([t,r])=>{n[t]=e.style[t],e.style.setProperty(t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r)})),setTimeout((()=>{0===e.style.length&&e.removeAttribute("style")})),()=>{Ke(e,n)}}(e,t):function(e,t){let n=e.getAttribute("style",t);return e.setAttribute("style",t),()=>{e.setAttribute("style",n)}}(e,t)}function Xe(e,t=(()=>{})){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}function Je(e,t,n={}){e._x_transition||(e._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(n=(()=>{}),r=(()=>{})){Qe(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,r)},out(n=(()=>{}),r=(()=>{})){Qe(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,r)}})}function Ze(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:Ze(t)}function Qe(e,t,{during:n,start:r,end:i}={},o=(()=>{}),a=(()=>{})){if(e._x_transitioning&&e._x_transitioning.cancel(),0===Object.keys(n).length&&0===Object.keys(r).length&&0===Object.keys(i).length)return o(),void a();let s,c,u;!function(e,t){let n,r,i,o=Xe((()=>{F((()=>{n=!0,r||t.before(),i||(t.end(),Re()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning}))}));e._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:Xe((function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()})),finish:o},F((()=>{t.start(),t.during()})),De=!0,requestAnimationFrame((()=>{if(n)return;let o=1e3*Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s","")),a=1e3*Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""));0===o&&(o=1e3*Number(getComputedStyle(e).animationDuration.replace("s",""))),F((()=>{t.before()})),r=!0,requestAnimationFrame((()=>{n||(F((()=>{t.end()})),Re(),setTimeout(e._x_transitioning.finish,o+a),i=!0)}))}))}(e,{start(){s=t(e,r)},during(){c=t(e,n)},before:o,end(){s(),u=t(e,i)},after:a,cleanup(){c(),u()}})}function et(e,t,n){if(-1===e.indexOf(t))return n;const r=e[e.indexOf(t)+1];if(!r)return n;if("scale"===t&&isNaN(r))return n;if("duration"===t){let e=r.match(/([0-9]+)ms/);if(e)return e[1]}return"origin"===t&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[r,e[e.indexOf(t)+2]].join(" "):r}ve("transition",((e,{value:t,modifiers:n,expression:r},{evaluate:i})=>{"function"==typeof r&&(r=i(r)),r?function(e,t,n){Je(e,Ue,""),{enter:t=>{e._x_transition.enter.during=t},"enter-start":t=>{e._x_transition.enter.start=t},"enter-end":t=>{e._x_transition.enter.end=t},leave:t=>{e._x_transition.leave.during=t},"leave-start":t=>{e._x_transition.leave.start=t},"leave-end":t=>{e._x_transition.leave.end=t}}[n](t)}(e,r,t):function(e,t,n){Je(e,Ke);let r=!t.includes("in")&&!t.includes("out")&&!n,i=r||t.includes("in")||["enter"].includes(n),o=r||t.includes("out")||["leave"].includes(n);t.includes("in")&&!r&&(t=t.filter(((e,n)=>n<t.indexOf("out"))));t.includes("out")&&!r&&(t=t.filter(((e,n)=>n>t.indexOf("out"))));let a=!t.includes("opacity")&&!t.includes("scale"),s=a||t.includes("opacity"),c=a||t.includes("scale"),u=s?0:1,l=c?et(t,"scale",95)/100:1,f=et(t,"delay",0),p=et(t,"origin","center"),d="opacity, transform",h=et(t,"duration",150)/1e3,m=et(t,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";i&&(e._x_transition.enter.during={transformOrigin:p,transitionDelay:f,transitionProperty:d,transitionDuration:`${h}s`,transitionTimingFunction:g},e._x_transition.enter.start={opacity:u,transform:`scale(${l})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"});o&&(e._x_transition.leave.during={transformOrigin:p,transitionDelay:f,transitionProperty:d,transitionDuration:`${m}s`,transitionTimingFunction:g},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:u,transform:`scale(${l})`})}(e,n,t)})),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,r){let i=()=>{"visible"===document.visibilityState?requestAnimationFrame(n):setTimeout(n)};t?e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):i():e._x_transition?e._x_transition.in(n):i():(e._x_hidePromise=e._x_transition?new Promise(((t,n)=>{e._x_transition.out((()=>{}),(()=>t(r))),e._x_transitioning.beforeCancel((()=>n({isFromCancelledTransition:!0})))})):Promise.resolve(r),queueMicrotask((()=>{let t=Ze(e);t?(t._x_hideChildren||(t._x_hideChildren=[]),t._x_hideChildren.push(e)):queueMicrotask((()=>{let t=e=>{let n=Promise.all([e._x_hidePromise,...(e._x_hideChildren||[]).map(t)]).then((([e])=>e()));return delete e._x_hidePromise,delete e._x_hideChildren,n};t(e).catch((e=>{if(!e.isFromCancelledTransition)throw e}))}))})))};var tt=!1;function nt(e,t=(()=>{})){return(...n)=>tt?t(...n):e(...n)}function rt(e,t){var n;return function(){var r=this,i=arguments,o=function(){n=null,e.apply(r,i)};clearTimeout(n),n=setTimeout(o,t)}}function it(e,t){let n;return function(){let r=this,i=arguments;n||(e.apply(r,i),n=!0,setTimeout((()=>n=!1),t))}}var ot={},at=!1;var st={};var ct,ut,lt={get reactive(){return h},get release(){return g},get effect(){return m},get raw(){return v},version:"3.7.0",flushAndStopDeferringMutations:function(){U=!1,K(Y),Y=[]},disableEffectScheduling:function(e){M=!1,e(),M=!0},setReactivityEngine:function(e){h=e.reactive,g=e.release,m=t=>e.effect(t,{scheduler:e=>{M?P(e):e()}}),v=e.raw},closestDataStack:Z,skipDuringClone:nt,addRootSelector:Ve,addInitSelector:Be,addScopeToNode:X,deferMutations:function(){U=!0},mapAttributes:ke,evaluateLater:ue,setEvaluator:function(e){le=e},mergeProxies:Q,closestRoot:Ge,interceptor:te,transition:Qe,setStyles:Ke,mutateDom:F,directive:ve,throttle:it,debounce:rt,evaluate:ce,initTree:Fe,nextTick:Me,prefixed:me,prefix:function(e){he=e},plugin:function(e){e(ft)},magic:ie,store:function(e,t){if(at||(ot=h(ot),at=!0),void 0===t)return ot[e];ot[e]=t,"object"==typeof t&&null!==t&&t.hasOwnProperty("init")&&"function"==typeof t.init&&ot[e].init(),ee(ot[e])},start:function(){var e;document.body||Ne("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),Le(document,"alpine:init"),Le(document,"alpine:initializing"),V(),e=e=>Fe(e,$e),I.push(e),function(e){N.push(e)}((e=>{$e(e,(e=>W(e)))})),function(e){$.push(e)}(((e,t)=>{ye(e,t).forEach((e=>e()))})),Array.from(document.querySelectorAll(He())).filter((e=>!Ge(e.parentElement,!0))).forEach((e=>{Fe(e)})),Le(document,"alpine:initialized")},clone:function(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),tt=!0,function(e){let t=m;R(((e,n)=>{let r=t(e);return g(r),()=>{}})),e(),R(t)}((()=>{!function(e){let t=!1;Fe(e,((e,n)=>{$e(e,((e,r)=>{if(t&&function(e){return ze().some((t=>e.matches(t)))}(e))return r();t=!0,n(e,r)}))}))}(t)})),tt=!1},data:function(e,t){st[e]=t}},ft=lt,pt=(ct=T(),((e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of _(t))x.call(e,r)||"default"===r||b(e,r,{get:()=>t[r],enumerable:!(n=O(t,r))||n.enumerable});return e})((ut=b(null!=ct?y(w(ct)):{},"default",ct&&ct.__esModule&&"default"in ct?{get:()=>ct.default,enumerable:!0}:{value:ct,enumerable:!0}),b(ut,"__esModule",{value:!0})),ct));ie("nextTick",(()=>Me)),ie("dispatch",(e=>Le.bind(Le,e))),ie("watch",(e=>(t,n)=>{let r,i=ue(e,t),o=!0;m((()=>i((e=>{document.createElement("div").dataset.throwAway=e,o?r=e:queueMicrotask((()=>{n(e,r),r=e})),o=!1}))))})),ie("store",(function(){return ot})),ie("data",(e=>Q(Z(e)))),ie("root",(e=>Ge(e))),ie("refs",(e=>(e._x_refs_proxy||(e._x_refs_proxy=Q(function(e){let t=[],n=e;for(;n;)n._x_refs&&t.push(n._x_refs),n=n.parentNode;return t}(e))),e._x_refs_proxy)));var dt={};function ht(e){return dt[e]||(dt[e]=0),++dt[e]}ie("id",(e=>(t,n=null)=>{let r=function(e,t){return qe(e,(e=>{if(e._x_ids&&e._x_ids[t])return!0}))}(e,t),i=r?r._x_ids[t]:ht(t);return new mt(n?`${t}-${i}-${n}`:`${t}-${i}`)}));var mt=class{constructor(e){this.id=e}toString(){return this.id}};ie("el",(e=>e)),ve("teleport",((e,{expression:t},{cleanup:n})=>{let r=document.querySelector(t),i=e.content.cloneNode(!0).firstElementChild;e._x_teleport=i,i._x_teleportBack=e,e._x_forwardEvents&&e._x_forwardEvents.forEach((t=>{i.addEventListener(t,(t=>{t.stopPropagation(),e.dispatchEvent(new t.constructor(t.type,t))}))})),X(i,{},e),F((()=>{r.appendChild(i),Fe(i),i._x_ignore=!0})),n((()=>i.remove()))}));var gt=()=>{};function vt(e,t,n,r=[]){switch(e._x_bindings||(e._x_bindings=h({})),e._x_bindings[t]=n,t=r.includes("camel")?t.toLowerCase().replace(/-(\w)/g,((e,t)=>t.toUpperCase())):t){case"value":!function(e,t){if("radio"===e.type)void 0===e.attributes.value&&(e.value=t),window.fromModel&&(e.checked=yt(e.value,t));else if("checkbox"===e.type)Number.isInteger(t)?e.value=t:Number.isInteger(t)||Array.isArray(t)||"boolean"==typeof t||[null,void 0].includes(t)?Array.isArray(t)?e.checked=t.some((t=>yt(t,e.value))):e.checked=!!t:e.value=String(t);else if("SELECT"===e.tagName)!function(e,t){const n=[].concat(t).map((e=>e+""));Array.from(e.options).forEach((e=>{e.selected=n.includes(e.value)}))}(e,t);else{if(e.value===t)return;e.value=t}}(e,n);break;case"style":!function(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles();e._x_undoAddedStyles=Ke(e,t)}(e,n);break;case"class":!function(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses();e._x_undoAddedClasses=Ue(e,t)}(e,n);break;default:!function(e,t,n){[null,void 0,!1].includes(n)&&function(e){return!["aria-pressed","aria-checked","aria-expanded"].includes(e)}(t)?e.removeAttribute(t):(["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(t)&&(n=t),function(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}(e,t,n))}(e,t,n)}}function yt(e,t){return e==t}function bt(e,t,n,r){let i=e,o=e=>r(e),a={},s=(e,t)=>n=>t(e,n);if(n.includes("dot")&&(t=t.replace(/-/g,".")),n.includes("camel")&&(t=function(e){return e.toLowerCase().replace(/-(\w)/g,((e,t)=>t.toUpperCase()))}(t)),n.includes("passive")&&(a.passive=!0),n.includes("capture")&&(a.capture=!0),n.includes("window")&&(i=window),n.includes("document")&&(i=document),n.includes("prevent")&&(o=s(o,((e,t)=>{t.preventDefault(),e(t)}))),n.includes("stop")&&(o=s(o,((e,t)=>{t.stopPropagation(),e(t)}))),n.includes("self")&&(o=s(o,((t,n)=>{n.target===e&&t(n)}))),(n.includes("away")||n.includes("outside"))&&(i=document,o=s(o,((t,n)=>{e.contains(n.target)||e.offsetWidth<1&&e.offsetHeight<1||!1!==e._x_isShown&&t(n)}))),o=s(o,((e,r)=>{(function(e){return["keydown","keyup"].includes(e)})(t)&&function(e,t){let n=t.filter((e=>!["window","document","prevent","stop","once"].includes(e)));if(n.includes("debounce")){let e=n.indexOf("debounce");n.splice(e,wt((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(0===n.length)return!1;if(1===n.length&&xt(e.key).includes(n[0]))return!1;const r=["ctrl","shift","alt","meta","cmd","super"].filter((e=>n.includes(e)));if(n=n.filter((e=>!r.includes(e))),r.length>0){if(r.filter((t=>("cmd"!==t&&"super"!==t||(t="meta"),e[`${t}Key`]))).length===r.length&&xt(e.key).includes(n[0]))return!1}return!0}(r,n)||e(r)})),n.includes("debounce")){let e=n[n.indexOf("debounce")+1]||"invalid-wait",t=wt(e.split("ms")[0])?Number(e.split("ms")[0]):250;o=rt(o,t)}if(n.includes("throttle")){let e=n[n.indexOf("throttle")+1]||"invalid-wait",t=wt(e.split("ms")[0])?Number(e.split("ms")[0]):250;o=it(o,t)}return n.includes("once")&&(o=s(o,((e,n)=>{e(n),i.removeEventListener(t,o,a)}))),i.addEventListener(t,o,a),()=>{i.removeEventListener(t,o,a)}}function wt(e){return!Array.isArray(e)&&!isNaN(e)}function xt(e){if(!e)return[];e=e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase();let t={ctrl:"control",slash:"/",space:"-",spacebar:"-",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",equal:"="};return t[e]=e,Object.keys(t).map((n=>{if(t[n]===e)return n})).filter((e=>e))}function _t(e){let t=e?parseFloat(e):null;return n=t,Array.isArray(n)||isNaN(n)?e:t;var n}function Ot(e,t,n,r){let i={};if(/^\[.*\]$/.test(e.item)&&Array.isArray(t)){e.item.replace("[","").replace("]","").split(",").map((e=>e.trim())).forEach(((e,n)=>{i[e]=t[n]}))}else if(/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&"object"==typeof t){e.item.replace("{","").replace("}","").split(",").map((e=>e.trim())).forEach((e=>{i[e]=t[e]}))}else i[e.item]=t;return e.index&&(i[e.index]=n),e.collection&&(i[e.collection]=r),i}function Et(){}gt.inline=(e,{modifiers:t},{cleanup:n})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,n((()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore}))},ve("ignore",gt),ve("effect",((e,{expression:t},{effect:n})=>n(ue(e,t)))),ve("model",((e,{modifiers:t,expression:n},{effect:r,cleanup:i})=>{let o=ue(e,n),a=ue(e,`${n} = rightSideOfExpression($event, ${n})`);var s="select"===e.tagName.toLowerCase()||["checkbox","radio"].includes(e.type)||t.includes("lazy")?"change":"input";let c=function(e,t,n){"radio"===e.type&&F((()=>{e.hasAttribute("name")||e.setAttribute("name",n)}));return(n,r)=>F((()=>{if(n instanceof CustomEvent&&void 0!==n.detail)return n.detail||n.target.value;if("checkbox"===e.type){if(Array.isArray(r)){let e=t.includes("number")?_t(n.target.value):n.target.value;return n.target.checked?r.concat([e]):r.filter((t=>!(t==e)))}return n.target.checked}if("select"===e.tagName.toLowerCase()&&e.multiple)return t.includes("number")?Array.from(n.target.selectedOptions).map((e=>_t(e.value||e.text))):Array.from(n.target.selectedOptions).map((e=>e.value||e.text));{let e=n.target.value;return t.includes("number")?_t(e):t.includes("trim")?e.trim():e}}))}(e,t,n),u=bt(e,s,t,(e=>{a((()=>{}),{scope:{$event:e,rightSideOfExpression:c}})}));i((()=>u()));let l=ue(e,`${n} = __placeholder`);e._x_model={get(){let e;return o((t=>e=t)),e},set(e){l((()=>{}),{scope:{__placeholder:e}})}},e._x_forceModelUpdate=()=>{o((t=>{void 0===t&&n.match(/\./)&&(t=""),window.fromModel=!0,F((()=>vt(e,"value",t))),delete window.fromModel}))},r((()=>{t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate()}))})),ve("cloak",(e=>queueMicrotask((()=>F((()=>e.removeAttribute(me("cloak")))))))),Be((()=>`[${me("init")}]`)),ve("init",nt(((e,{expression:t})=>"string"==typeof t?!!t.trim()&&ce(e,t,{}):ce(e,t,{})))),ve("text",((e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n((()=>{i((t=>{F((()=>{e.textContent=t}))}))}))})),ve("html",((e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n((()=>{i((t=>{e.innerHTML=t}))}))})),ke(_e(":",me("bind:"))),ve("bind",((e,{value:t,modifiers:n,expression:r,original:i},{effect:o})=>{if(!t)return function(e,t,n,r){let i=ue(e,t),o=[];r((()=>{for(;o.length;)o.pop()();i((t=>{let r=Object.entries(t).map((([e,t])=>({name:e,value:t})));r=r.filter((e=>!("object"==typeof e.value&&!Array.isArray(e.value)&&null!==e.value)));let i=function(e){return Array.from(e).map(Oe()).filter((e=>!Se(e)))}(r);r=r.map((e=>i.find((t=>t.name===e.name))?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e)),ye(e,r,n).map((e=>{o.push(e.runCleanups),e()}))}))}))}(e,r,i,o);if("key"===t)return function(e,t){e._x_keyExpression=t}(e,r);let a=ue(e,r);o((()=>a((i=>{void 0===i&&r.match(/\./)&&(i=""),F((()=>vt(e,t,i,n)))}))))})),Ve((()=>`[${me("data")}]`)),ve("data",nt(((e,{expression:t},{cleanup:n})=>{t=""===t?"{}":t;let r={};oe(r,e);let i={};var o,a;o=i,a=r,Object.entries(st).forEach((([e,t])=>{Object.defineProperty(o,e,{get:()=>(...e)=>t.bind(a)(...e),enumerable:!1})}));let s=ce(e,t,{scope:i});void 0===s&&(s={}),oe(s,e);let c=h(s);ee(c);let u=X(e,c);c.init&&ce(e,c.init),n((()=>{u(),c.destroy&&ce(e,c.destroy)}))}))),ve("show",((e,{modifiers:t,expression:n},{effect:r})=>{let i,o=ue(e,n),a=()=>F((()=>{e.style.display="none",e._x_isShown=!1})),s=()=>F((()=>{1===e.style.length&&"none"===e.style.display?e.removeAttribute("style"):e.style.removeProperty("display"),e._x_isShown=!0})),c=()=>setTimeout(s),u=Xe((e=>e?s():a()),(t=>{"function"==typeof e._x_toggleAndCascadeWithTransitions?e._x_toggleAndCascadeWithTransitions(e,t,s,a):t?c():a()})),l=!0;r((()=>o((e=>{(l||e!==i)&&(t.includes("immediate")&&(e?c():a()),u(e),i=e,l=!1)}))))})),ve("for",((e,{expression:t},{effect:n,cleanup:r})=>{let i=function(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,n=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,i=e.match(r);if(!i)return;let o={};o.items=i[2].trim();let a=i[1].replace(n,"").trim(),s=a.match(t);s?(o.item=a.replace(t,"").trim(),o.index=s[1].trim(),s[2]&&(o.collection=s[2].trim())):o.item=a;return o}(t),o=ue(e,i.items),a=ue(e,e._x_keyExpression||"index");e._x_prevKeys=[],e._x_lookup={},n((()=>function(e,t,n,r){let i=e=>"object"==typeof e&&!Array.isArray(e),o=e;n((n=>{var a;a=n,!Array.isArray(a)&&!isNaN(a)&&n>=0&&(n=Array.from(Array(n).keys(),(e=>e+1))),void 0===n&&(n=[]);let s=e._x_lookup,c=e._x_prevKeys,u=[],l=[];if(i(n))n=Object.entries(n).map((([e,i])=>{let o=Ot(t,i,e,n);r((e=>l.push(e)),{scope:{index:e,...o}}),u.push(o)}));else for(let e=0;e<n.length;e++){let i=Ot(t,n[e],e,n);r((e=>l.push(e)),{scope:{index:e,...i}}),u.push(i)}let f=[],p=[],d=[],m=[];for(let e=0;e<c.length;e++){let t=c[e];-1===l.indexOf(t)&&d.push(t)}c=c.filter((e=>!d.includes(e)));let g="template";for(let e=0;e<l.length;e++){let t=l[e],n=c.indexOf(t);if(-1===n)c.splice(e,0,t),f.push([g,e]);else if(n!==e){let t=c.splice(e,1)[0],r=c.splice(n-1,1)[0];c.splice(e,0,r),c.splice(n,0,t),p.push([t,r])}else m.push(t);g=t}for(let e=0;e<d.length;e++){let t=d[e];s[t].remove(),s[t]=null,delete s[t]}for(let e=0;e<p.length;e++){let[t,n]=p[e],r=s[t],i=s[n],o=document.createElement("div");F((()=>{i.after(o),r.after(i),i._x_currentIfEl&&i.after(i._x_currentIfEl),o.before(r),r._x_currentIfEl&&r.after(r._x_currentIfEl),o.remove()})),J(i,u[l.indexOf(n)])}for(let e=0;e<f.length;e++){let[t,n]=f[e],r="template"===t?o:s[t];r._x_currentIfEl&&(r=r._x_currentIfEl);let i=u[n],a=l[n],c=document.importNode(o.content,!0).firstElementChild;X(c,h(i),o),F((()=>{r.after(c),Fe(c)})),"object"==typeof a&&Ne("x-for key cannot be an object, it must be a string or an integer",o),s[a]=c}for(let e=0;e<m.length;e++)J(s[m[e]],u[l.indexOf(m[e])]);o._x_prevKeys=l}))}(e,i,o,a))),r((()=>{Object.values(e._x_lookup).forEach((e=>e.remove())),delete e._x_prevKeys,delete e._x_lookup}))})),Et.inline=(e,{expression:t},{cleanup:n})=>{let r=Ge(e);r._x_refs||(r._x_refs={}),r._x_refs[t]=e,n((()=>delete r._x_refs[t]))},ve("ref",Et),ve("if",((e,{expression:t},{effect:n,cleanup:r})=>{let i=ue(e,t);n((()=>i((t=>{t?(()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let t=e.content.cloneNode(!0).firstElementChild;X(t,{},e),F((()=>{e.after(t),Fe(t)})),e._x_currentIfEl=t,e._x_undoIf=()=>{t.remove(),delete e._x_currentIfEl}})():e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)})))),r((()=>e._x_undoIf&&e._x_undoIf()))})),ve("id",((e,{expression:t},{evaluate:n})=>{n(t).forEach((t=>function(e,t){e._x_ids||(e._x_ids={}),e._x_ids[t]||(e._x_ids[t]=ht(t))}(e,t)))})),ke(_e("@",me("on:"))),ve("on",nt(((e,{value:t,modifiers:n,expression:r},{cleanup:i})=>{let o=r?ue(e,r):()=>{};"template"===e.tagName.toLowerCase()&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let a=bt(e,t,n,(e=>{o((()=>{}),{scope:{$event:e},params:[e]})}));i((()=>a()))}))),ft.setEvaluator(fe),ft.setReactivityEngine({reactive:pt.reactive,effect:pt.effect,release:pt.stop,raw:pt.toRaw});var kt=ft;var St,At,Tt,Ct,jt,Lt,Pt,Dt,Mt,Rt=function(e){let t=()=>{let t,n=localStorage;return e.interceptor(((r,i,o,a,s)=>{let c=t||`_x_${a}`,u=function(e,t){return null!==t.getItem(e)}(c,n)?function(e,t){return JSON.parse(t.getItem(e,t))}(c,n):r;return o(u),e.effect((()=>{let e=i();!function(e,t,n){n.setItem(e,JSON.stringify(t))}(c,e,n),o(e)})),u}),(e=>{e.as=n=>(t=n,e),e.using=t=>(n=t,e)}))};Object.defineProperty(e,"$persist",{get:()=>t()}),e.magic("persist",t)},$t=()=>{},Nt=()=>{};function It(e){if(Mt)return e&&Nt(e.replace("\n","\\n")),new Promise((e=>$t=()=>e()))}async function Wt(e,t,n){!function(e={}){let t=e=>e.getAttribute("key");Tt=e.updating||zt,Ct=e.updated||zt,jt=e.removing||zt,Lt=e.removed||zt,Pt=e.adding||zt,Dt=e.added||zt,St=e.key||t,At=e.lookahead||!0,Mt=e.debug||!1}(n);let r=(i=t,document.createRange().createContextualFragment(i).firstElementChild);var i;return window.Alpine&&!e._x_dataStack&&(r._x_dataStack=window.Alpine.closestDataStack(e),r._x_dataStack&&window.Alpine.clone(e,r)),await It(),Ht(e,r),e}Wt.step=()=>$t(),Wt.log=e=>{Nt=e};var zt=()=>{};async function Ht(e,t){if(function(e,t){return e.nodeType!=t.nodeType||e.nodeName!=t.nodeName||Vt(e)!=Vt(t)}(e,t)){let n=function(e,t){if(Gt(jt,e))return;let n=t.cloneNode(!0);if(Gt(Pt,n))return;Ut(e).replace(n),Lt(e),Dt(n)}(e,t);return await It("Swap elements"),n}let n=!1;if(!Gt(Tt,e,t,(()=>n=!0))){if(window.Alpine&&function(e,t,n){if(1!==e.nodeType)return;e._x_dataStack&&window.Alpine.clone(e,t)}(e,t),function(e){return 3===e.nodeType||8===e.nodeType}(t))return await async function(e,t){let n=t.nodeValue;e.nodeValue!==n&&(e.nodeValue=n,await It("Change text node to: "+n))}(e,t),void Ct(e,t);n||await async function(e,t){if(e._x_isShown&&!t._x_isShown)return;if(!e._x_isShown&&t._x_isShown)return;let n=Array.from(e.attributes),r=Array.from(t.attributes);for(let r=n.length-1;r>=0;r--){let i=n[r].name;t.hasAttribute(i)||(e.removeAttribute(i),await It("Remove attribute"))}for(let t=r.length-1;t>=0;t--){let n=r[t].name,i=r[t].value;e.getAttribute(n)!==i&&(e.setAttribute(n,i),await It(`Set [${n}] attribute to: "${i}"`))}}(e,t),Ct(e,t),await async function(e,t){let n=e.childNodes,r=(Bt(t.childNodes),Bt(n)),i=Ut(t).nodes().first(),o=Ut(e).nodes().first(),a={};for(;i;){let t=Vt(i),n=Vt(o);if(!o){if(!t||!a[t]){let t=qt(i,e);await It("Add element: "+t.outerHTML),i=Ut(i).nodes().next();continue}{let n=a[t];Ut.append(e,n),o=n,await It("Add element (from key)")}}if(At){let e=Ut(i).next();e&&o.isEqualNode(e)&&(o=Ft(i,o),n=Vt(o),await It("Move element (lookahead)"))}if(t!==n){if(!t&&n){a[n]=o,o=Ft(i,o),a[n].remove(),o=Ut(o).nodes.next(),i=Ut(i).nodes.next(),await It('No "to" key');continue}if(t&&!n&&r[t]&&(o=Ut(o).replace(r[t]),await It('No "from" key')),t&&n){a[n]=o;let e=r[t];if(!e){a[n]=o,o=Ft(i,o),a[n].remove(),o=Ut(o).next(),i=Ut(i).next(),await It("I dont even know what this does");continue}o=Ut(o).replace(e),await It('Move "from" key')}}await Ht(o,i),i=i&&Ut(i).next(),o=o&&Ut(o).next()}for(;o;){if(!Gt(jt,o)){let e=o;e.remove(),await It("remove el"),Lt(e)}o=Ut(o).nodes().next()}}(e,t)}}function Vt(e){return e&&1===e.nodeType&&St(e)}function Bt(e){let t={};return e.forEach((e=>{let n=Vt(e);n&&(t[n]=e)})),t}function Gt(e,...t){let n=!1;return e(...t,(()=>n=!0)),n}function qt(e,t){if(!Gt(Pt,e)){let n=e.cloneNode(!0);return Ut(t).append(n),Dt(n),n}}function Ft(e,t){if(!Gt(Pt,e)){let n=e.cloneNode(!0);return Ut(t).before(n),Dt(n),n}return t}function Ut(e){return new Yt(e)}var Yt=class{el=void 0;constructor(e){this.el=e}traversals={first:"firstElementChild",next:"nextElementSibling",parent:"parentElement"};nodes(){return this.traversals={first:"firstChild",next:"nextSibling",parent:"parentNode"},this}first(){return this.teleportTo(this.el[this.traversals.first])}next(){return this.teleportTo(this.teleportBack(this.el[this.traversals.next]))}before(e){return this.el[this.traversals.parent].insertBefore(e,this.el),e}replace(e){return this.el[this.traversals.parent].replaceChild(e,this.el),e}append(e){return this.el.appendChild(e),e}teleportTo(e){return e&&e._x_teleport?e._x_teleport:e}teleportBack(e){return e&&e._x_teleportBack?e._x_teleportBack:e}};var Kt=function(e){e.morph=Wt},Xt=Object.create,Jt=Object.defineProperty,Zt=Object.getPrototypeOf,Qt=Object.prototype.hasOwnProperty,en=Object.getOwnPropertyNames,tn=Object.getOwnPropertyDescriptor,nn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),rn=nn((e=>{function t(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function n(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function r(e){var t=n(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function i(e){return e instanceof n(e).Element||e instanceof Element}function o(e){return e instanceof n(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof n(e).ShadowRoot||e instanceof ShadowRoot)}function s(e){return e?(e.nodeName||"").toLowerCase():null}function c(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function u(e){return t(c(e)).left+r(e).scrollLeft}function l(e){return n(e).getComputedStyle(e)}function f(e){var t=l(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function p(e,i,a){void 0===a&&(a=!1);var l,p,d=c(i),h=t(e),m=o(i),g={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(m||!m&&!a)&&(("body"!==s(i)||f(d))&&(g=(l=i)!==n(l)&&o(l)?{scrollLeft:(p=l).scrollLeft,scrollTop:p.scrollTop}:r(l)),o(i)?((v=t(i)).x+=i.clientLeft,v.y+=i.clientTop):d&&(v.x=u(d))),{x:h.left+g.scrollLeft-v.x,y:h.top+g.scrollTop-v.y,width:h.width,height:h.height}}function d(e){var n=t(e),r=e.offsetWidth,i=e.offsetHeight;return Math.abs(n.width-r)<=1&&(r=n.width),Math.abs(n.height-i)<=1&&(i=n.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:i}}function h(e){return"html"===s(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||c(e)}function m(e){return["html","body","#document"].indexOf(s(e))>=0?e.ownerDocument.body:o(e)&&f(e)?e:m(h(e))}function g(e,t){var r;void 0===t&&(t=[]);var i=m(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=n(i),s=o?[a].concat(a.visualViewport||[],f(i)?i:[]):i,c=t.concat(s);return o?c:c.concat(g(h(s)))}function v(e){return["table","td","th"].indexOf(s(e))>=0}function y(e){return o(e)&&"fixed"!==l(e).position?e.offsetParent:null}function b(e){for(var t=n(e),r=y(e);r&&v(r)&&"static"===l(r).position;)r=y(r);return r&&("html"===s(r)||"body"===s(r)&&"static"===l(r).position)?t:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&o(e)&&"fixed"===l(e).position)return null;for(var n=h(e);o(n)&&["html","body"].indexOf(s(n))<0;){var r=l(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}Object.defineProperty(e,"__esModule",{value:!0});var w="top",x="bottom",_="right",O="left",E="auto",k=[w,x,_,O],S="start",A="end",T="viewport",C="popper",j=k.reduce((function(e,t){return e.concat([t+"-"+S,t+"-"+A])}),[]),L=[].concat(k,[E]).reduce((function(e,t){return e.concat([t,t+"-"+S,t+"-"+A])}),[]),P=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function D(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}function M(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var R='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',$=["name","enabled","phase","fn","effect","requires","options"];function N(e){return e.split("-")[0]}var I=Math.max,W=Math.min,z=Math.round;function H(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function V(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function B(e,i){return i===T?V(function(e){var t=n(e),r=c(e),i=t.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;return i&&(o=i.width,a=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,l=i.offsetTop)),{width:o,height:a,x:s+u(e),y:l}}(e)):o(i)?function(e){var n=t(e);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}(i):V(function(e){var t,n=c(e),i=r(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=I(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=I(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),f=-i.scrollLeft+u(e),p=-i.scrollTop;return"rtl"===l(o||n).direction&&(f+=I(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:f,y:p}}(c(e)))}function G(e,t,n){var r="clippingParents"===t?function(e){var t=g(h(e)),n=["absolute","fixed"].indexOf(l(e).position)>=0&&o(e)?b(e):e;return i(n)?t.filter((function(e){return i(e)&&H(e,n)&&"body"!==s(e)})):[]}(e):[].concat(t),a=[].concat(r,[n]),c=a[0],u=a.reduce((function(t,n){var r=B(e,n);return t.top=I(r.top,t.top),t.right=W(r.right,t.right),t.bottom=W(r.bottom,t.bottom),t.left=I(r.left,t.left),t}),B(e,c));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function q(e){return e.split("-")[1]}function F(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function U(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?N(i):null,a=i?q(i):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case w:t={x:s,y:n.y-r.height};break;case x:t={x:s,y:n.y+n.height};break;case _:t={x:n.x+n.width,y:c};break;case O:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=o?F(o):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case S:t[u]=t[u]-(n[l]/2-r[l]/2);break;case A:t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}function Y(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function K(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function X(e,n){void 0===n&&(n={});var r=n,o=r.placement,a=void 0===o?e.placement:o,s=r.boundary,u=void 0===s?"clippingParents":s,l=r.rootBoundary,f=void 0===l?T:l,p=r.elementContext,d=void 0===p?C:p,h=r.altBoundary,m=void 0!==h&&h,g=r.padding,v=void 0===g?0:g,y=Y("number"!=typeof v?v:K(v,k)),b=d===C?"reference":C,O=e.elements.reference,E=e.rects.popper,S=e.elements[m?b:d],A=G(i(S)?S:S.contextElement||c(e.elements.popper),u,f),j=t(O),L=U({reference:j,element:E,strategy:"absolute",placement:a}),P=V(Object.assign({},E,L)),D=d===C?P:j,M={top:A.top-D.top+y.top,bottom:D.bottom-A.bottom+y.bottom,left:A.left-D.left+y.left,right:D.right-A.right+y.right},R=e.modifiersData.offset;if(d===C&&R){var $=R[a];Object.keys(M).forEach((function(e){var t=[_,x].indexOf(e)>=0?1:-1,n=[w,x].indexOf(e)>=0?"y":"x";M[e]+=$[n]*t}))}return M}var J="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Z={placement:"bottom",modifiers:[],strategy:"absolute"};function Q(){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)}))}function ee(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Z:o;return function(e,t,n){void 0===n&&(n=a);var o,s,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Z,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],f=!1,h={state:c,setOptions:function(n){m(),c.options=Object.assign({},a,c.options,n),c.scrollParents={reference:i(e)?g(e):e.contextElement?g(e.contextElement):[],popper:g(t)};var o,s,f,p=function(e){var t=D(e);return P.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,c.options.modifiers)));(c.orderedModifiers=p.filter((function(e){return e.enabled})),function(e){e.forEach((function(t){Object.keys(t).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(M(R,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(M(R,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));case"phase":P.indexOf(t.phase)<0&&console.error(M(R,t.name,'"phase"',"either "+P.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(M(R,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":"function"!=typeof t.effect&&console.error(M(R,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":Array.isArray(t.requires)||console.error(M(R,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(M(R,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+$.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(M('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((o=[].concat(p,c.options.modifiers),s=function(e){return e.name},f=new Set,o.filter((function(e){var t=s(e);if(!f.has(t))return f.add(t),!0})))),N(c.options.placement)===E)&&(c.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var d=l(t);return[d.marginTop,d.marginRight,d.marginBottom,d.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" ")),c.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:c,name:t,instance:h,options:r}),a=function(){};u.push(o||a)}})),h.update()},forceUpdate:function(){if(!f){var e=c.elements,t=e.reference,n=e.popper;if(Q(t,n)){c.rects={reference:p(t,b(n),"fixed"===c.options.strategy),popper:d(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0,i=0;i<c.orderedModifiers.length;i++){if((r+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==c.reset){var o=c.orderedModifiers[i],a=o.fn,s=o.options,u=void 0===s?{}:s,l=o.name;"function"==typeof a&&(c=a({state:c,options:u,name:l,instance:h})||c)}else c.reset=!1,i=-1}}else console.error(J)}},update:(o=function(){return new Promise((function(e){h.forceUpdate(),e(c)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){m(),f=!0}};if(!Q(e,t))return console.error(J),h;function m(){u.forEach((function(e){return e()})),u=[]}return h.setOptions(n).then((function(e){!f&&n.onFirstUpdate&&n.onFirstUpdate(e)})),h}}var te={passive:!0};var ne={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,i=e.options,o=i.scroll,a=void 0===o||o,s=i.resize,c=void 0===s||s,u=n(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach((function(e){e.addEventListener("scroll",r.update,te)})),c&&u.addEventListener("resize",r.update,te),function(){a&&l.forEach((function(e){e.removeEventListener("scroll",r.update,te)})),c&&u.removeEventListener("resize",r.update,te)}},data:{}};var re={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=U({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(e){var t,r=e.popper,i=e.popperRect,o=e.placement,a=e.offsets,s=e.position,u=e.gpuAcceleration,f=e.adaptive,p=e.roundOffsets,d=!0===p?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:z(z(t*r)/r)||0,y:z(z(n*r)/r)||0}}(a):"function"==typeof p?p(a):a,h=d.x,m=void 0===h?0:h,g=d.y,v=void 0===g?0:g,y=a.hasOwnProperty("x"),E=a.hasOwnProperty("y"),k=O,S=w,A=window;if(f){var T=b(r),C="clientHeight",j="clientWidth";T===n(r)&&"static"!==l(T=c(r)).position&&(C="scrollHeight",j="scrollWidth"),o===w&&(S=x,v-=T[C]-i.height,v*=u?1:-1),o===O&&(k=_,m-=T[j]-i.width,m*=u?1:-1)}var L,P=Object.assign({position:s},f&&ie);return u?Object.assign({},P,((L={})[S]=E?"0":"",L[k]=y?"0":"",L.transform=(A.devicePixelRatio||1)<2?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",L)):Object.assign({},P,((t={})[S]=E?v+"px":"",t[k]=y?m+"px":"",t.transform="",t))}var ae={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,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u=l(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return u.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));var f={placement:N(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,oe(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,oe(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var se={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];o(i)&&s(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]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});o(r)&&s(r)&&(Object.assign(r.style,a),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var ce={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,a=L.reduce((function(e,n){return e[n]=function(e,t,n){var r=N(e),i=[O,w].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[O,_].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},ue={left:"right",right:"left",bottom:"top",top:"bottom"};function le(e){return e.replace(/left|right|bottom|top/g,(function(e){return ue[e]}))}var fe={start:"end",end:"start"};function pe(e){return e.replace(/start|end/g,(function(e){return fe[e]}))}var de={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,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,g=t.options.placement,v=N(g),y=c||(v===g||!h?[le(g)]:function(e){if(N(e)===E)return[];var t=le(e);return[pe(e),t,pe(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(N(n)===E?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?L:c,l=q(r),f=l?s?j:j.filter((function(e){return q(e)===l})):k,p=f.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=f,console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=p.reduce((function(t,n){return t[n]=X(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[N(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),A=t.rects.reference,T=t.rects.popper,C=new Map,P=!0,D=b[0],M=0;M<b.length;M++){var R=b[M],$=N(R),I=q(R)===S,W=[w,x].indexOf($)>=0,z=W?"width":"height",H=X(t,{placement:R,boundary:l,rootBoundary:f,altBoundary:p,padding:u}),V=W?I?_:O:I?x:w;A[z]>T[z]&&(V=le(V));var B=le(V),G=[];if(o&&G.push(H[$]<=0),s&&G.push(H[V]<=0,H[B]<=0),G.every((function(e){return e}))){D=R,P=!1;break}C.set(R,G)}if(P)for(var F=function(e){var t=b.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return D=t,"break"},U=h?3:1;U>0;U--){if("break"===F(U))break}t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function he(e,t,n){return I(e,W(t,n))}var me={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,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,h=void 0===p||p,m=n.tetherOffset,g=void 0===m?0:m,v=X(t,{boundary:c,rootBoundary:u,padding:f,altBoundary:l}),y=N(t.placement),E=q(t.placement),k=!E,A=F(y),T="x"===A?"y":"x",C=t.modifiersData.popperOffsets,j=t.rects.reference,L=t.rects.popper,P="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,D={x:0,y:0};if(C){if(o||s){var M="y"===A?w:O,R="y"===A?x:_,$="y"===A?"height":"width",z=C[A],H=C[A]+v[M],V=C[A]-v[R],B=h?-L[$]/2:0,G=E===S?j[$]:L[$],U=E===S?-L[$]:-j[$],Y=t.elements.arrow,K=h&&Y?d(Y):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Z=J[M],Q=J[R],ee=he(0,j[$],K[$]),te=k?j[$]/2-B-ee-Z-P:G-ee-Z-P,ne=k?-j[$]/2+B+ee+Q+P:U+ee+Q+P,re=t.elements.arrow&&b(t.elements.arrow),ie=re?"y"===A?re.clientTop||0:re.clientLeft||0:0,oe=t.modifiersData.offset?t.modifiersData.offset[t.placement][A]:0,ae=C[A]+te-oe-ie,se=C[A]+ne-oe;if(o){var ce=he(h?W(H,ae):H,z,h?I(V,se):V);C[A]=ce,D[A]=ce-z}if(s){var ue="x"===A?w:O,le="x"===A?x:_,fe=C[T],pe=fe+v[ue],de=fe-v[le],me=he(h?W(pe,ae):pe,fe,h?I(de,se):de);C[T]=me,D[T]=me-fe}}t.modifiersData[r]=D}},requiresIfExists:["offset"]};var ge={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=N(n.placement),c=F(s),u=[O,_].indexOf(s)>=0?"height":"width";if(o&&a){var l=function(e,t){return Y("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:K(e,k))}(i.padding,n),f=d(o),p="y"===c?w:O,h="y"===c?x:_,m=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],g=a[c]-n.rects.reference[c],v=b(o),y=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,E=m/2-g/2,S=l[p],A=y-f[u]-l[h],T=y/2-f[u]/2+E,C=he(S,T,A),j=c;n.modifiersData[r]=((t={})[j]=C,t.centerOffset=C-T,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)))&&(o(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" ")),H(t.elements.popper,r)?t.elements.arrow=r:console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ve(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 ye(e){return[w,_,x,O].some((function(t){return e[t]>=0}))}var be={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,a=X(t,{elementContext:"reference"}),s=X(t,{altBoundary:!0}),c=ve(a,r),u=ve(s,i,o),l=ye(c),f=ye(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}},we=ee({defaultModifiers:[ne,re,ae,se]}),xe=[ne,re,ae,se,ce,de,me,ge,be],_e=ee({defaultModifiers:xe});e.applyStyles=se,e.arrow=ge,e.computeStyles=ae,e.createPopper=_e,e.createPopperLite=we,e.defaultModifiers=xe,e.detectOverflow=X,e.eventListeners=ne,e.flip=de,e.hide=be,e.offset=ce,e.popperGenerator=ee,e.popperOffsets=re,e.preventOverflow=me})),on=nn((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=rn(),n="tippy-content",r="tippy-backdrop",i="tippy-arrow",o="tippy-svg-arrow",a={passive:!0,capture:!0};function s(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function c(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function u(e,t){return"function"==typeof e?e.apply(void 0,t):e}function l(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function f(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}function p(e){return[].concat(e)}function d(e,t){-1===e.indexOf(t)&&e.push(t)}function h(e){return e.split("-")[0]}function m(e){return[].slice.call(e)}function g(){return document.createElement("div")}function v(e){return["Element","Fragment"].some((function(t){return c(e,t)}))}function y(e){return c(e,"MouseEvent")}function b(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function w(e){return v(e)?[e]:function(e){return c(e,"NodeList")}(e)?m(e):Array.isArray(e)?e:m(document.querySelectorAll(e))}function x(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function _(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function O(e){var t,n=p(e)[0];return(null==n||null==(t=n.ownerDocument)?void 0:t.body)?n.ownerDocument:document}function E(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}var k={isTouch:!1},S=0;function A(){k.isTouch||(k.isTouch=!0,window.performance&&document.addEventListener("mousemove",T))}function T(){var e=performance.now();e-S<20&&(k.isTouch=!1,document.removeEventListener("mousemove",T)),S=e}function C(){var e=document.activeElement;if(b(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var j,L="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",P=/MSIE |Trident\//.test(L);function D(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 M(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function R(e){return M("\n %ctippy.js\n\n %c"+M(e)+"\n\n %c👷 This is a development-only message. It will be removed in production.\n ")}function $(e){return[R(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function N(e,t){var n;e&&!j.has(t)&&(j.add(t),(n=console).warn.apply(n,$(t)))}function I(e,t){var n;e&&!j.has(t)&&(j.add(t),(n=console).error.apply(n,$(t)))}j=new Set;var W={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},z=Object.assign({appendTo:function(){return document.body},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},W,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),H=Object.keys(z);function V(e){var t=(e.plugins||[]).reduce((function(t,n){var r=n.name,i=n.defaultValue;return r&&(t[r]=void 0!==e[r]?e[r]:i),t}),{});return Object.assign({},e,{},t)}function B(e,t){var n=Object.assign({},t,{content:u(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(V(Object.assign({},z,{plugins:t}))):H).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({},z.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 G(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach((function(e){var n,r,i=f(z,Object.keys(W)),o=(n=i,r=e,!{}.hasOwnProperty.call(n,r));o&&(o=0===t.filter((function(t){return t.name===e})).length),N(o,["`"+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 q(e,t){e.innerHTML=t}function F(e){var t=g();return!0===e?t.className=i:(t.className=o,v(e)?t.appendChild(e):q(t,e)),t}function U(e,t){v(t.content)?(q(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?q(e,t.content):e.textContent=t.content)}function Y(e){var t=e.firstElementChild,a=m(t.children);return{box:t,content:a.find((function(e){return e.classList.contains(n)})),arrow:a.find((function(e){return e.classList.contains(i)||e.classList.contains(o)})),backdrop:a.find((function(e){return e.classList.contains(r)}))}}function K(e){var t=g(),r=g();r.className="tippy-box",r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var i=g();function o(n,r){var i=Y(t),o=i.box,a=i.content,s=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||U(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(F(r.arrow))):o.appendChild(F(r.arrow)):s&&o.removeChild(s)}return i.className=n,i.setAttribute("data-state","hidden"),U(i,e.props),t.appendChild(r),r.appendChild(i),o(e.props,e.props),{popper:t,onUpdate:o}}K.$$tippy=!0;var X=1,J=[],Z=[];function Q(e,n){var r,i,o,c,f,v,b,w,S,A=B(e,Object.assign({},z,{},V((r=n,Object.keys(r).reduce((function(e,t){return void 0!==r[t]&&(e[t]=r[t]),e}),{}))))),T=!1,C=!1,j=!1,L=!1,M=[],R=l(xe,A.interactiveDebounce),$=X++,W=(S=A.plugins).filter((function(e,t){return S.indexOf(e)===t})),H={id:$,reference:e,popper:g(),popperInstance:null,props:A,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:W,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(o),cancelAnimationFrame(c)},setProps:function(t){N(H.state.isDestroyed,D("setProps"));if(H.state.isDestroyed)return;se("onBeforeUpdate",[H,t]),be();var n=H.props,r=B(e,Object.assign({},H.props,{},t,{ignoreAttributes:!0}));H.props=r,ye(),n.interactiveDebounce!==r.interactiveDebounce&&(le(),R=l(xe,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?p(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");ue(),ae(),F&&F(n,r);H.popperInstance&&(ke(),Ae().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));se("onAfterUpdate",[H,t])},setContent:function(e){H.setProps({content:e})},show:function(){N(H.state.isDestroyed,D("show"));var e=H.state.isVisible,t=H.state.isDestroyed,n=!H.state.isEnabled,r=k.isTouch&&!H.props.touch,i=s(H.props.duration,0,z.duration);if(e||t||n||r)return;if(ne().hasAttribute("disabled"))return;if(se("onShow",[H],!1),!1===H.props.onShow(H))return;H.state.isVisible=!0,te()&&(q.style.visibility="visible");ae(),he(),H.state.isMounted||(q.style.transition="none");if(te()){var o=ie(),a=o.box,c=o.content;x([a,c],0)}b=function(){var e;if(H.state.isVisible&&!L){if(L=!0,q.offsetHeight,q.style.transition=H.props.moveTransition,te()&&H.props.animation){var t=ie(),n=t.box,r=t.content;x([n,r],i),_([n,r],"visible")}ce(),ue(),d(Z,H),null==(e=H.popperInstance)||e.forceUpdate(),H.state.isMounted=!0,se("onMount",[H]),H.props.animation&&te()&&function(e,t){ge(e,t)}(i,(function(){H.state.isShown=!0,se("onShown",[H])}))}},function(){var e,t=H.props.appendTo,n=ne();e=H.props.interactive&&t===z.appendTo||"parent"===t?n.parentNode:u(t,[n]);e.contains(q)||e.appendChild(q);ke(),N(H.props.interactive&&t===z.appendTo&&n.nextElementSibling!==q,["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(){N(H.state.isDestroyed,D("hide"));var e=!H.state.isVisible,t=H.state.isDestroyed,n=!H.state.isEnabled,r=s(H.props.duration,1,z.duration);if(e||t||n)return;if(se("onHide",[H],!1),!1===H.props.onHide(H))return;H.state.isVisible=!1,H.state.isShown=!1,L=!1,T=!1,te()&&(q.style.visibility="hidden");if(le(),me(),ae(),te()){var i=ie(),o=i.box,a=i.content;H.props.animation&&(x([o,a],r),_([o,a],"hidden"))}ce(),ue(),H.props.animation?te()&&function(e,t){ge(e,(function(){!H.state.isVisible&&q.parentNode&&q.parentNode.contains(q)&&t()}))}(r,H.unmount):H.unmount()},hideWithInteractivity:function(e){N(H.state.isDestroyed,D("hideWithInteractivity"));re().addEventListener("mousemove",R),d(J,R),R(e)},enable:function(){H.state.isEnabled=!0},disable:function(){H.hide(),H.state.isEnabled=!1},unmount:function(){N(H.state.isDestroyed,D("unmount"));H.state.isVisible&&H.hide();if(!H.state.isMounted)return;Se(),Ae().forEach((function(e){e._tippy.unmount()})),q.parentNode&&q.parentNode.removeChild(q);Z=Z.filter((function(e){return e!==H})),H.state.isMounted=!1,se("onHidden",[H])},destroy:function(){N(H.state.isDestroyed,D("destroy"));if(H.state.isDestroyed)return;H.clearDelayTimeouts(),H.unmount(),be(),delete e._tippy,H.state.isDestroyed=!0,se("onDestroy",[H])}};if(!A.render)return I(!0,"render() function has not been supplied."),H;var G=A.render(H),q=G.popper,F=G.onUpdate;q.setAttribute("data-tippy-root",""),q.id="tippy-"+H.id,H.popper=q,e._tippy=H,q._tippy=H;var U=W.map((function(e){return e.fn(H)})),K=e.hasAttribute("aria-expanded");function Q(){var e=H.props.touch;return Array.isArray(e)?e:[e,0]}function ee(){return"hold"===Q()[0]}function te(){var e;return!!(null==(e=H.props.render)?void 0:e.$$tippy)}function ne(){return w||e}function re(){var e=ne().parentNode;return e?O(e):document}function ie(){return Y(q)}function oe(e){return H.state.isMounted&&!H.state.isVisible||k.isTouch||f&&"focus"===f.type?0:s(H.props.delay,e?0:1,z.delay)}function ae(){q.style.pointerEvents=H.props.interactive&&H.state.isVisible?"":"none",q.style.zIndex=""+H.props.zIndex}function se(e,t,n){var r;(void 0===n&&(n=!0),U.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(r=H.props)[e].apply(r,t)}function ce(){var t=H.props.aria;if(t.content){var n="aria-"+t.content,r=q.id;p(H.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(H.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 ue(){!K&&H.props.aria.expanded&&p(H.props.triggerTarget||e).forEach((function(e){H.props.interactive?e.setAttribute("aria-expanded",H.state.isVisible&&e===ne()?"true":"false"):e.removeAttribute("aria-expanded")}))}function le(){re().removeEventListener("mousemove",R),J=J.filter((function(e){return e!==R}))}function fe(e){if(!(k.isTouch&&(j||"mousedown"===e.type)||H.props.interactive&&q.contains(e.target))){if(ne().contains(e.target)){if(k.isTouch)return;if(H.state.isVisible&&H.props.trigger.indexOf("click")>=0)return}else se("onClickOutside",[H,e]);!0===H.props.hideOnClick&&(H.clearDelayTimeouts(),H.hide(),C=!0,setTimeout((function(){C=!1})),H.state.isMounted||me())}}function pe(){j=!0}function de(){j=!1}function he(){var e=re();e.addEventListener("mousedown",fe,!0),e.addEventListener("touchend",fe,a),e.addEventListener("touchstart",de,a),e.addEventListener("touchmove",pe,a)}function me(){var e=re();e.removeEventListener("mousedown",fe,!0),e.removeEventListener("touchend",fe,a),e.removeEventListener("touchstart",de,a),e.removeEventListener("touchmove",pe,a)}function ge(e,t){var n=ie().box;function r(e){e.target===n&&(E(n,"remove",r),t())}if(0===e)return t();E(n,"remove",v),E(n,"add",r),v=r}function ve(t,n,r){void 0===r&&(r=!1),p(H.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),M.push({node:e,eventType:t,handler:n,options:r})}))}function ye(){var e;ee()&&(ve("touchstart",we,{passive:!0}),ve("touchend",_e,{passive:!0})),(e=H.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(ve(e,we),e){case"mouseenter":ve("mouseleave",_e);break;case"focus":ve(P?"focusout":"blur",Oe);break;case"focusin":ve("focusout",Oe)}}))}function be(){M.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),M=[]}function we(e){var t,n=!1;if(H.state.isEnabled&&!Ee(e)&&!C){var r="focus"===(null==(t=f)?void 0:t.type);f=e,w=e.currentTarget,ue(),!H.state.isVisible&&y(e)&&J.forEach((function(t){return t(e)})),"click"===e.type&&(H.props.trigger.indexOf("mouseenter")<0||T)&&!1!==H.props.hideOnClick&&H.state.isVisible?n=!0:Te(e),"click"===e.type&&(T=!n),n&&!r&&Ce(e)}}function xe(e){var t=e.target,n=ne().contains(t)||q.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,a=h(i.placement),s=i.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,l="right"===a?s.left.x:0,f="left"===a?s.right.x:0,p=t.top-r+c>o,d=r-t.bottom-u>o,m=t.left-n+l>o,g=n-t.right-f>o;return p||d||m||g}))}(Ae().concat(q).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:A}:null})).filter(Boolean),e)&&(le(),Ce(e))}function _e(e){Ee(e)||H.props.trigger.indexOf("click")>=0&&T||(H.props.interactive?H.hideWithInteractivity(e):Ce(e))}function Oe(e){H.props.trigger.indexOf("focusin")<0&&e.target!==ne()||H.props.interactive&&e.relatedTarget&&q.contains(e.relatedTarget)||Ce(e)}function Ee(e){return!!k.isTouch&&ee()!==e.type.indexOf("touch")>=0}function ke(){Se();var n=H.props,r=n.popperOptions,i=n.placement,o=n.offset,a=n.getReferenceClientRect,s=n.moveTransition,c=te()?Y(q).arrow:null,u=a?{getBoundingClientRect:a,contextElement:a.contextElement||ne()}:e,l=[{name:"offset",options:{offset:o}},{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(te()){var n=ie().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={}}}}];te()&&c&&l.push({name:"arrow",options:{element:c,padding:3}}),l.push.apply(l,(null==r?void 0:r.modifiers)||[]),H.popperInstance=t.createPopper(u,q,Object.assign({},r,{placement:i,onFirstUpdate:b,modifiers:l}))}function Se(){H.popperInstance&&(H.popperInstance.destroy(),H.popperInstance=null)}function Ae(){return m(q.querySelectorAll("[data-tippy-root]"))}function Te(e){H.clearDelayTimeouts(),e&&se("onTrigger",[H,e]),he();var t=oe(!0),n=Q(),r=n[0],o=n[1];k.isTouch&&"hold"===r&&o&&(t=o),t?i=setTimeout((function(){H.show()}),t):H.show()}function Ce(e){if(H.clearDelayTimeouts(),se("onUntrigger",[H,e]),H.state.isVisible){if(!(H.props.trigger.indexOf("mouseenter")>=0&&H.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&T)){var t=oe(!1);t?o=setTimeout((function(){H.state.isVisible&&H.hide()}),t):c=requestAnimationFrame((function(){H.hide()}))}}else me()}return ye(),ue(),ae(),se("onCreate",[H]),A.showOnCreate&&Te(),q.addEventListener("mouseenter",(function(){H.props.interactive&&H.state.isVisible&&H.clearDelayTimeouts()})),q.addEventListener("mouseleave",(function(e){H.props.interactive&&H.props.trigger.indexOf("mouseenter")>=0&&(re().addEventListener("mousemove",R),R(e))})),H}function ee(e,t){void 0===t&&(t={});var n=z.plugins.concat(t.plugins||[]);!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;I(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),I(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),G(t,n),document.addEventListener("touchstart",A,a),window.addEventListener("blur",C);var r=Object.assign({},t,{plugins:n}),i=w(e),o=v(r.content),s=i.length>1;N(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 c=i.reduce((function(e,t){var n=t&&Q(t,r);return n&&e.push(n),e}),[]);return v(e)?c[0]:c}ee.defaultProps=z,ee.setDefaultProps=function(e){G(e,[]),Object.keys(e).forEach((function(t){z[t]=e[t]}))},ee.currentInput=k;var te=Object.assign({},t.applyStyles,{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)}}),ne={mouseover:"mouseenter",focusin:"focus",click:"click"};var re={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(!(null==(t=e.props.render)?void 0:t.$$tippy))return I(e.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var n=Y(e.popper),i=n.box,o=n.content,a=e.props.animateFill?function(){var e=g();return e.className=r,_([e],"hidden"),e}():null;return{onCreate:function(){a&&(i.insertBefore(a,i.firstElementChild),i.setAttribute("data-animatefill",""),i.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(a){var e=i.style.transitionDuration,t=Number(e.replace("ms",""));o.style.transitionDelay=Math.round(t/10)+"ms",a.style.transitionDuration=e,_([a],"visible")}},onShow:function(){a&&(a.style.transitionDuration="0ms")},onHide:function(){a&&_([a],"hidden")}}}};var ie={clientX:0,clientY:0},oe=[];function ae(e){var t=e.clientX,n=e.clientY;ie={clientX:t,clientY:n}}var se={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=O(e.props.triggerTarget||t),r=!1,i=!1,o=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function c(){n.addEventListener("mousemove",f)}function u(){n.removeEventListener("mousemove",f)}function l(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||t.contains(n.target),i=e.props.followCursor,o=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),c=o-s.left,u=a-s.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=o,r=a;"initial"===i&&(n=e.left+c,r=e.top+u);var s="horizontal"===i?e.top:r,l="vertical"===i?e.right:n,f="horizontal"===i?e.bottom:r,p="vertical"===i?e.left:n;return{width:l-p,height:f-s,top:s,right:l,bottom:f,left:p}}})}function p(){e.props.followCursor&&(oe.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",ae)}(n))}function d(){0===(oe=oe.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",ae)}(n)}return{onCreate:p,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var o=n.followCursor;r||void 0!==o&&a.followCursor!==o&&(d(),o?(p(),!e.state.isMounted||i||s()||c()):(u(),l()))},onMount:function(){e.props.followCursor&&!i&&(o&&(f(ie),o=!1),s()||c())},onTrigger:function(e,t){y(t)&&(ie={clientX:t.clientX,clientY:t.clientY}),i="focus"===t.type},onHidden:function(){e.props.followCursor&&(l(),u(),o=!0)}}}};var ce={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var r=-1,i=!1,o={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(i){var o=i.state;e.props.inlinePositioning&&(t!==o.placement&&e.setProps({getReferenceClientRect:function(){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],a="top"===e,s=i.top,c=o.bottom,u=a?i.left:o.left,l=a?i.right:o.right;return{top:s,bottom:c,left:u,right:l,width:l-u,height:c-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(e){return e.left}))),p=Math.max.apply(Math,n.map((function(e){return e.right}))),d=n.filter((function(t){return"left"===e?t.left===f:t.right===p})),h=d[0].top,m=d[d.length-1].bottom;return{top:h,bottom:m,left:f,right:p,width:p-f,height:m-h};default:return t}}(h(o.placement),n.getBoundingClientRect(),m(n.getClientRects()),r)}}),t=o.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,o),i=!0,e.setProps(t),i=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(t,n){if(y(n)){var i=m(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}));r=i.indexOf(o)}},onUntrigger:function(){r=-1}}}};var ue={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 a(){var s=r("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,c=r("popper")?n.getBoundingClientRect():null;(s&&le(i,s)||c&&le(o,c))&&e.popperInstance&&e.popperInstance.update(),i=s,o=c,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function le(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}ee.setDefaultProps({render:K}),e.animateFill=re,e.createSingleton=function(e,t){var n;void 0===t&&(t={}),I(!Array.isArray(e),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(e)].join(" "));var r,i=e,o=[],a=t.overrides,s=[],c=!1;function u(){o=i.map((function(e){return e.reference}))}function l(e){i.forEach((function(t){e?t.enable():t.disable()}))}function p(e){return i.map((function(t){var n=t.setProps;return t.setProps=function(i){n(i),t.reference===r&&e.setProps(i)},function(){t.setProps=n}}))}function d(e,t){var n=o.indexOf(t);if(t!==r){r=t;var s=(a||[]).concat("content").reduce((function(e,t){return e[t]=i[n].props[t],e}),{});e.setProps(Object.assign({},s,{getReferenceClientRect:"function"==typeof s.getReferenceClientRect?s.getReferenceClientRect:function(){return t.getBoundingClientRect()}}))}}l(!1),u();var h={fn:function(){return{onDestroy:function(){l(!0)},onHidden:function(){r=null},onClickOutside:function(e){e.props.showOnCreate&&!c&&(c=!0,r=null)},onShow:function(e){e.props.showOnCreate&&!c&&(c=!0,d(e,o[0]))},onTrigger:function(e,t){d(e,t.currentTarget)}}}},m=ee(g(),Object.assign({},f(t,["overrides"]),{plugins:[h].concat(t.plugins||[]),triggerTarget:o,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[te])})})),v=m.show;m.show=function(e){if(v(),!r&&null==e)return d(m,o[0]);if(!r||null!=e){if("number"==typeof e)return o[e]&&d(m,o[e]);if(i.includes(e)){var t=e.reference;return d(m,t)}return o.includes(e)?d(m,e):void 0}},m.showNext=function(){var e=o[0];if(!r)return m.show(0);var t=o.indexOf(r);m.show(o[t+1]||e)},m.showPrevious=function(){var e=o[o.length-1];if(!r)return m.show(e);var t=o.indexOf(r),n=o[t-1]||e;m.show(n)};var y=m.setProps;return m.setProps=function(e){a=e.overrides||a,y(e)},m.setInstances=function(e){l(!0),s.forEach((function(e){return e()})),i=e,l(!1),u(),p(m),m.setProps({triggerTarget:o})},s=p(m),m},e.default=ee,e.delegate=function(e,t){I(!(t&&t.target),["You must specity a `target` prop indicating a CSS selector string matching","the target elements that should receive a tippy."].join(" "));var n=[],r=[],i=!1,o=t.target,s=f(t,["target"]),c=Object.assign({},s,{trigger:"manual",touch:!1}),u=Object.assign({},s,{showOnCreate:!0}),l=ee(e,c);function d(e){if(e.target&&!i){var n=e.target.closest(o);if(n){var a=n.getAttribute("data-tippy-trigger")||t.trigger||z.trigger;if(!n._tippy&&!("touchstart"===e.type&&"boolean"==typeof u.touch||"touchstart"!==e.type&&a.indexOf(ne[e.type])<0)){var s=ee(n,u);s&&(r=r.concat(s))}}}}function h(e,t,r,i){void 0===i&&(i=!1),e.addEventListener(t,r,i),n.push({node:e,eventType:t,handler:r,options:i})}return p(l).forEach((function(e){var t=e.destroy,o=e.enable,s=e.disable;e.destroy=function(e){void 0===e&&(e=!0),e&&r.forEach((function(e){e.destroy()})),r=[],n.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),n=[],t()},e.enable=function(){o(),r.forEach((function(e){return e.enable()})),i=!1},e.disable=function(){s(),r.forEach((function(e){return e.disable()})),i=!0},function(e){var t=e.reference;h(t,"touchstart",d,a),h(t,"mouseover",d),h(t,"focusin",d),h(t,"click",d)}(e)})),l},e.followCursor=se,e.hideAll=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;Z.forEach((function(e){var t=!1;if(n&&(t=b(n)?e.reference===n:e.popper===n.popper),!t){var i=e.props.duration;e.setProps({duration:r}),e.hide(),e.state.isDestroyed||e.setProps({duration:i})}}))},e.inlinePositioning=ce,e.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',e.sticky=ue})),an=(e=>((e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of en(t))Qt.call(e,r)||"default"===r||Jt(e,r,{get:()=>t[r],enumerable:!(n=tn(t,r))||n.enumerable});return e})((e=>Jt(e,"__esModule",{value:!0}))(Jt(null!=e?Xt(Zt(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e))(on());var sn=e=>{const t={plugins:[]};if(e.includes("duration")&&(t.duration=parseInt(e[e.indexOf("duration")+1])),e.includes("delay")&&(t.delay=parseInt(e[e.indexOf("delay")+1])),e.includes("cursor")){t.plugins.push(an.followCursor);const n=e[e.indexOf("cursor")+1]??null;["x","initial"].includes(n)?t.followCursor="x"===n?"horizontal":"initial":t.followCursor=!0}return e.includes("on")&&(t.trigger=e[e.indexOf("on")+1]),e.includes("arrowless")&&(t.arrow=!1),e.includes("html")&&(t.allowHTML=!0),e.includes("interactive")&&(t.interactive=!0),e.includes("border")&&t.interactive&&(t.interactiveBorder=parseInt(e[e.indexOf("border")+1])),e.includes("debounce")&&t.interactive&&(t.interactiveDebounce=parseInt(e[e.indexOf("debounce")+1])),e.includes("max-width")&&(t.maxWidth=parseInt(e[e.indexOf("max-width")+1])),e.includes("theme")&&(t.theme=e[e.indexOf("theme")+1]),t},cn=function(e){e.directive("tooltip",((e,{modifiers:t,expression:n},{evaluateLater:r,effect:i})=>{const o=r(n),a=t.length>0?sn(t):{};i((()=>{o((t=>{e.__x_tippy||(e.__x_tippy=(0,an.default)(e,a)),e.__x_tippy.setContent(t)}))}))}))};function un(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function ln(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){un(o,r,i,a,s,"next",e)}function s(e){un(o,r,i,a,s,"throw",e)}a(void 0)}))}}function fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pn={},dn=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new T(r||[]);return o._invoke=function(e,t,n){var r=f;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return j()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=l(e,t,n);if("normal"===c.type){if(r=n.done?h:p,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",m={};function g(){}function v(){}function y(){}var b={};c(b,o,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(C([])));x&&x!==n&&r.call(x,o)&&(b=x);var _=y.prototype=g.prototype=Object.create(b);function O(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(i,o,a,s){var c=l(e[i],e,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var i;this._invoke=function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}}function k(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:j}}function j(){return{value:t,done:!0}}return v.prototype=y,c(_,"constructor",y),c(y,"constructor",v),v.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},O(E.prototype),c(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new E(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(_),c(_,s,"Generator"),c(_,o,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,T.prototype={constructor:T,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(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(pn);try{regeneratorRuntime=dn}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=dn:Function("r","regeneratorRuntime = r")(dn)}var hn={};!function(e,t){"object"==typeof hn?t(hn):"function"==typeof define&&define.amd?define(["exports"],t):t(e.ActionCable={})}(hn,(function(e){"use strict";var t={logger:self.console,WebSocket:self.WebSocket},n={log:function(){if(this.enabled){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];r.push(Date.now()),(e=t.logger).log.apply(e,["[ActionCable]"].concat(r))}}},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){return(new Date).getTime()},s=function(e){return(a()-e)/1e3},c=function(){function e(t){i(this,e),this.visibilityDidChange=this.visibilityDidChange.bind(this),this.connection=t,this.reconnectAttempts=0}return e.prototype.start=function(){this.isRunning()||(this.startedAt=a(),delete this.stoppedAt,this.startPolling(),addEventListener("visibilitychange",this.visibilityDidChange),n.log("ConnectionMonitor started. pollInterval = "+this.getPollInterval()+" ms"))},e.prototype.stop=function(){this.isRunning()&&(this.stoppedAt=a(),this.stopPolling(),removeEventListener("visibilitychange",this.visibilityDidChange),n.log("ConnectionMonitor stopped"))},e.prototype.isRunning=function(){return this.startedAt&&!this.stoppedAt},e.prototype.recordPing=function(){this.pingedAt=a()},e.prototype.recordConnect=function(){this.reconnectAttempts=0,this.recordPing(),delete this.disconnectedAt,n.log("ConnectionMonitor recorded connect")},e.prototype.recordDisconnect=function(){this.disconnectedAt=a(),n.log("ConnectionMonitor recorded disconnect")},e.prototype.startPolling=function(){this.stopPolling(),this.poll()},e.prototype.stopPolling=function(){clearTimeout(this.pollTimeout)},e.prototype.poll=function(){var e=this;this.pollTimeout=setTimeout((function(){e.reconnectIfStale(),e.poll()}),this.getPollInterval())},e.prototype.getPollInterval=function(){var e=this.constructor.pollInterval,t=e.min,n=e.max,r=e.multiplier*Math.log(this.reconnectAttempts+1);return Math.round(1e3*function(e,t,n){return Math.max(t,Math.min(n,e))}(r,t,n))},e.prototype.reconnectIfStale=function(){this.connectionIsStale()&&(n.log("ConnectionMonitor detected stale connection. reconnectAttempts = "+this.reconnectAttempts+", pollInterval = "+this.getPollInterval()+" ms, time disconnected = "+s(this.disconnectedAt)+" s, stale threshold = "+this.constructor.staleThreshold+" s"),this.reconnectAttempts++,this.disconnectedRecently()?n.log("ConnectionMonitor skipping reopening recent disconnect"):(n.log("ConnectionMonitor reopening"),this.connection.reopen()))},e.prototype.connectionIsStale=function(){return s(this.pingedAt?this.pingedAt:this.startedAt)>this.constructor.staleThreshold},e.prototype.disconnectedRecently=function(){return this.disconnectedAt&&s(this.disconnectedAt)<this.constructor.staleThreshold},e.prototype.visibilityDidChange=function(){var e=this;"visible"===document.visibilityState&&setTimeout((function(){!e.connectionIsStale()&&e.connection.isOpen()||(n.log("ConnectionMonitor reopening stale connection on visibilitychange. visibilityState = "+document.visibilityState),e.connection.reopen())}),200)},e}();c.pollInterval={min:3,max:30,multiplier:5},c.staleThreshold=6;var u={message_types:{welcome:"welcome",disconnect:"disconnect",ping:"ping",confirmation:"confirm_subscription",rejection:"reject_subscription"},disconnect_reasons:{unauthorized:"unauthorized",invalid_request:"invalid_request",server_restart:"server_restart"},default_mount_path:"/cable",protocols:["actioncable-v1-json","actioncable-unsupported"]},l=u.message_types,f=u.protocols,p=f.slice(0,f.length-1),d=[].indexOf,h=function(){function e(t){i(this,e),this.open=this.open.bind(this),this.consumer=t,this.subscriptions=this.consumer.subscriptions,this.monitor=new c(this),this.disconnected=!0}return e.prototype.send=function(e){return!!this.isOpen()&&(this.webSocket.send(JSON.stringify(e)),!0)},e.prototype.open=function(){return this.isActive()?(n.log("Attempted to open WebSocket, but existing socket is "+this.getState()),!1):(n.log("Opening WebSocket, current state is "+this.getState()+", subprotocols: "+f),this.webSocket&&this.uninstallEventHandlers(),this.webSocket=new t.WebSocket(this.consumer.url,f),this.installEventHandlers(),this.monitor.start(),!0)},e.prototype.close=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{allowReconnect:!0},t=e.allowReconnect;if(t||this.monitor.stop(),this.isActive())return this.webSocket.close()},e.prototype.reopen=function(){if(n.log("Reopening WebSocket, current state is "+this.getState()),!this.isActive())return this.open();try{return this.close()}catch(e){n.log("Failed to reopen WebSocket",e)}finally{n.log("Reopening WebSocket in "+this.constructor.reopenDelay+"ms"),setTimeout(this.open,this.constructor.reopenDelay)}},e.prototype.getProtocol=function(){if(this.webSocket)return this.webSocket.protocol},e.prototype.isOpen=function(){return this.isState("open")},e.prototype.isActive=function(){return this.isState("open","connecting")},e.prototype.isProtocolSupported=function(){return d.call(p,this.getProtocol())>=0},e.prototype.isState=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.call(t,this.getState())>=0},e.prototype.getState=function(){if(this.webSocket)for(var e in t.WebSocket)if(t.WebSocket[e]===this.webSocket.readyState)return e.toLowerCase();return null},e.prototype.installEventHandlers=function(){for(var e in this.events){var t=this.events[e].bind(this);this.webSocket["on"+e]=t}},e.prototype.uninstallEventHandlers=function(){for(var e in this.events)this.webSocket["on"+e]=function(){}},e}();h.reopenDelay=500,h.prototype.events={message:function(e){if(this.isProtocolSupported()){var t=JSON.parse(e.data),r=t.identifier,i=t.message,o=t.reason,a=t.reconnect;switch(t.type){case l.welcome:return this.monitor.recordConnect(),this.subscriptions.reload();case l.disconnect:return n.log("Disconnecting. Reason: "+o),this.close({allowReconnect:a});case l.ping:return this.monitor.recordPing();case l.confirmation:return this.subscriptions.notify(r,"connected");case l.rejection:return this.subscriptions.reject(r);default:return this.subscriptions.notify(r,"received",i)}}},open:function(){if(n.log("WebSocket onopen event, using '"+this.getProtocol()+"' subprotocol"),this.disconnected=!1,!this.isProtocolSupported())return n.log("Protocol is unsupported. Stopping monitor and disconnecting."),this.close({allowReconnect:!1})},close:function(e){if(n.log("WebSocket onclose event"),!this.disconnected)return this.disconnected=!0,this.monitor.recordDisconnect(),this.subscriptions.notifyAll("disconnected",{willAttemptReconnect:this.monitor.isRunning()})},error:function(){n.log("WebSocket onerror event")}};var m=function(e,t){if(null!=t)for(var n in t){var r=t[n];e[n]=r}return e},g=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2];i(this,e),this.consumer=t,this.identifier=JSON.stringify(n),m(this,r)}return e.prototype.perform=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.action=e,this.send(t)},e.prototype.send=function(e){return this.consumer.send({command:"message",identifier:this.identifier,data:JSON.stringify(e)})},e.prototype.unsubscribe=function(){return this.consumer.subscriptions.remove(this)},e}(),v=function(){function e(t){i(this,e),this.consumer=t,this.subscriptions=[]}return e.prototype.create=function(e,t){var n=e,i="object"===(void 0===n?"undefined":r(n))?n:{channel:n},o=new g(this.consumer,i,t);return this.add(o)},e.prototype.add=function(e){return this.subscriptions.push(e),this.consumer.ensureActiveConnection(),this.notify(e,"initialized"),this.sendCommand(e,"subscribe"),e},e.prototype.remove=function(e){return this.forget(e),this.findAll(e.identifier).length||this.sendCommand(e,"unsubscribe"),e},e.prototype.reject=function(e){var t=this;return this.findAll(e).map((function(e){return t.forget(e),t.notify(e,"rejected"),e}))},e.prototype.forget=function(e){return this.subscriptions=this.subscriptions.filter((function(t){return t!==e})),e},e.prototype.findAll=function(e){return this.subscriptions.filter((function(t){return t.identifier===e}))},e.prototype.reload=function(){var e=this;return this.subscriptions.map((function(t){return e.sendCommand(t,"subscribe")}))},e.prototype.notifyAll=function(e){for(var t=this,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return this.subscriptions.map((function(n){return t.notify.apply(t,[n,e].concat(r))}))},e.prototype.notify=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return("string"==typeof e?this.findAll(e):[e]).map((function(e){return"function"==typeof e[t]?e[t].apply(e,r):void 0}))},e.prototype.sendCommand=function(e,t){var n=e.identifier;return this.consumer.send({command:t,identifier:n})},e}(),y=function(){function e(t){i(this,e),this._url=t,this.subscriptions=new v(this),this.connection=new h(this)}return e.prototype.send=function(e){return this.connection.send(e)},e.prototype.connect=function(){return this.connection.open()},e.prototype.disconnect=function(){return this.connection.close({allowReconnect:!1})},e.prototype.ensureActiveConnection=function(){if(!this.connection.isActive())return this.connection.open()},o(e,[{key:"url",get:function(){return b(this._url)}}]),e}();function b(e){if("function"==typeof e&&(e=e()),e&&!/^wss?:/i.test(e)){var t=document.createElement("a");return t.href=e,t.href=t.href,t.protocol=t.protocol.replace("http","ws"),t.href}return e}function w(e){var t=document.head.querySelector("meta[name='action-cable-"+e+"']");if(t)return t.getAttribute("content")}e.Connection=h,e.ConnectionMonitor=c,e.Consumer=y,e.INTERNAL=u,e.Subscription=g,e.Subscriptions=v,e.adapters=t,e.createWebSocketURL=b,e.logger=n,e.createConsumer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w("url")||u.default_mount_path;return new y(e)},e.getConfig=w,Object.defineProperty(e,"__esModule",{value:!0})}));var mn;function gn(e,t,n){var r,i,o,a,s;function c(){var u=Date.now()-a;u<t&&u>=0?r=setTimeout(c,t-u):(r=null,n||(s=e.apply(o,i),o=i=null))}null==t&&(t=100);var u=function(){o=this,i=arguments,a=Date.now();var u=n&&!r;return r||(r=setTimeout(c,t)),u&&(s=e.apply(o,i),o=i=null),s};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(s=e.apply(o,i),o=i=null,clearTimeout(r),r=null)},u}gn.debounce=gn,mn=gn;var vn={key:function(e){return e.getAttribute("key")?e.getAttribute("key"):e.id},updating:function(e,t,n,r){if(e.getAttribute&&"replace"===e.getAttribute("data-morph-strategy"))return e.innerHTML=t.innerHTML,r()},lookahead:!0};function yn(e){return e._x_dataStack[0]}var bn=function(e,t){return Number(e.slice(0,-1*t.length))},wn=function(e){return e.endsWith("px")?{value:e,type:"px",numeric:bn(e,"px")}:e.endsWith("fr")?{value:e,type:"fr",numeric:bn(e,"fr")}:e.endsWith("%")?{value:e,type:"%",numeric:bn(e,"%")}:"auto"===e?{value:e,type:"auto"}:null},xn=function(e){return e.split(" ").map(wn)},_n=function(e,t,n){return t.concat(n).map((function(t){return t.style[e]})).filter((function(e){return void 0!==e&&""!==e}))},On=function(e){for(var t=0;t<e.length;t++)if(e[t].numeric>0)return t;return null},En=function(){return!1},kn=function(e,t,n){e.style[t]=n},Sn=function(e,t,n){var r=e[t];return void 0!==r?r:n};function An(e){var t;return(t=[]).concat.apply(t,Array.from(e.ownerDocument.styleSheets).map((function(e){var t=[];try{t=Array.from(e.cssRules||[])}catch(e){}return t}))).filter((function(t){var n=!1;try{n=e.matches(t.selectorText)}catch(e){}return n}))}var Tn=function(e,t,n){this.direction=e,this.element=t.element,this.track=t.track,"column"===e?(this.gridTemplateProp="grid-template-columns",this.gridGapProp="grid-column-gap",this.cursor=Sn(n,"columnCursor",Sn(n,"cursor","col-resize")),this.snapOffset=Sn(n,"columnSnapOffset",Sn(n,"snapOffset",30)),this.dragInterval=Sn(n,"columnDragInterval",Sn(n,"dragInterval",1)),this.clientAxis="clientX",this.optionStyle=Sn(n,"gridTemplateColumns")):"row"===e&&(this.gridTemplateProp="grid-template-rows",this.gridGapProp="grid-row-gap",this.cursor=Sn(n,"rowCursor",Sn(n,"cursor","row-resize")),this.snapOffset=Sn(n,"rowSnapOffset",Sn(n,"snapOffset",30)),this.dragInterval=Sn(n,"rowDragInterval",Sn(n,"dragInterval",1)),this.clientAxis="clientY",this.optionStyle=Sn(n,"gridTemplateRows")),this.onDragStart=Sn(n,"onDragStart",En),this.onDragEnd=Sn(n,"onDragEnd",En),this.onDrag=Sn(n,"onDrag",En),this.writeStyle=Sn(n,"writeStyle",kn),this.startDragging=this.startDragging.bind(this),this.stopDragging=this.stopDragging.bind(this),this.drag=this.drag.bind(this),this.minSizeStart=t.minSizeStart,this.minSizeEnd=t.minSizeEnd,t.element&&(this.element.addEventListener("mousedown",this.startDragging),this.element.addEventListener("touchstart",this.startDragging))};Tn.prototype.getDimensions=function(){var e=this.grid.getBoundingClientRect(),t=e.width,n=e.height,r=e.top,i=e.bottom,o=e.left,a=e.right;"column"===this.direction?(this.start=r,this.end=i,this.size=n):"row"===this.direction&&(this.start=o,this.end=a,this.size=t)},Tn.prototype.getSizeAtTrack=function(e,t){return function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=!1);var i=r?e+1:e;return t.slice(0,i).reduce((function(e,t){return e+t.numeric}),0)+(n?e*n:0)}(e,this.computedPixels,this.computedGapPixels,t)},Tn.prototype.getSizeOfTrack=function(e){return this.computedPixels[e].numeric},Tn.prototype.getRawTracks=function(){var e=_n(this.gridTemplateProp,[this.grid],An(this.grid));if(!e.length){if(this.optionStyle)return this.optionStyle;throw Error("Unable to determine grid template tracks from styles.")}return e[0]},Tn.prototype.getGap=function(){var e=_n(this.gridGapProp,[this.grid],An(this.grid));return e.length?e[0]:null},Tn.prototype.getRawComputedTracks=function(){return window.getComputedStyle(this.grid)[this.gridTemplateProp]},Tn.prototype.getRawComputedGap=function(){return window.getComputedStyle(this.grid)[this.gridGapProp]},Tn.prototype.setTracks=function(e){this.tracks=e.split(" "),this.trackValues=xn(e)},Tn.prototype.setComputedTracks=function(e){this.computedTracks=e.split(" "),this.computedPixels=xn(e)},Tn.prototype.setGap=function(e){this.gap=e},Tn.prototype.setComputedGap=function(e){var t,n;this.computedGap=e,this.computedGapPixels=(t="px",((n=this.computedGap).endsWith(t)?Number(n.slice(0,-1*t.length)):null)||0)},Tn.prototype.getMousePosition=function(e){return"touches"in e?e.touches[0][this.clientAxis]:e[this.clientAxis]},Tn.prototype.startDragging=function(e){if(!("button"in e)||0===e.button){e.preventDefault(),this.element?this.grid=this.element.parentNode:this.grid=e.target.parentNode,this.getDimensions(),this.setTracks(this.getRawTracks()),this.setComputedTracks(this.getRawComputedTracks()),this.setGap(this.getGap()),this.setComputedGap(this.getRawComputedGap());var t=this.trackValues.filter((function(e){return"%"===e.type})),n=this.trackValues.filter((function(e){return"fr"===e.type}));if(this.totalFrs=n.length,this.totalFrs){var r=On(n);null!==r&&(this.frToPixels=this.computedPixels[r].numeric/n[r].numeric)}if(t.length){var i=On(t);null!==i&&(this.percentageToPixels=this.computedPixels[i].numeric/t[i].numeric)}var o=this.getSizeAtTrack(this.track,!1)+this.start;if(this.dragStartOffset=this.getMousePosition(e)-o,this.aTrack=this.track-1,!(this.track<this.tracks.length-1))throw Error("Invalid track index: "+this.track+". Track must be between two other tracks and only "+this.tracks.length+" tracks were found.");this.bTrack=this.track+1,this.aTrackStart=this.getSizeAtTrack(this.aTrack,!1)+this.start,this.bTrackEnd=this.getSizeAtTrack(this.bTrack,!0)+this.start,this.dragging=!0,window.addEventListener("mouseup",this.stopDragging),window.addEventListener("touchend",this.stopDragging),window.addEventListener("touchcancel",this.stopDragging),window.addEventListener("mousemove",this.drag),window.addEventListener("touchmove",this.drag),this.grid.addEventListener("selectstart",En),this.grid.addEventListener("dragstart",En),this.grid.style.userSelect="none",this.grid.style.webkitUserSelect="none",this.grid.style.MozUserSelect="none",this.grid.style.pointerEvents="none",this.grid.style.cursor=this.cursor,window.document.body.style.cursor=this.cursor,this.onDragStart(this.direction,this.track)}},Tn.prototype.stopDragging=function(){this.dragging=!1,this.cleanup(),this.onDragEnd(this.direction,this.track),this.needsDestroy&&(this.element&&(this.element.removeEventListener("mousedown",this.startDragging),this.element.removeEventListener("touchstart",this.startDragging)),this.destroyCb(),this.needsDestroy=!1,this.destroyCb=null)},Tn.prototype.drag=function(e){var t=this.getMousePosition(e),n=this.getSizeOfTrack(this.track),r=this.aTrackStart+this.minSizeStart+this.dragStartOffset+this.computedGapPixels,i=this.bTrackEnd-this.minSizeEnd-this.computedGapPixels-(n-this.dragStartOffset);t<r+this.snapOffset&&(t=r),t>i-this.snapOffset&&(t=i),t<r?t=r:t>i&&(t=i);var o=t-this.aTrackStart-this.dragStartOffset-this.computedGapPixels,a=this.bTrackEnd-t+this.dragStartOffset-n-this.computedGapPixels;if(this.dragInterval>1){var s=Math.round(o/this.dragInterval)*this.dragInterval;a-=s-o,o=s}if(o<this.minSizeStart&&(o=this.minSizeStart),a<this.minSizeEnd&&(a=this.minSizeEnd),"px"===this.trackValues[this.aTrack].type)this.tracks[this.aTrack]=o+"px";else if("fr"===this.trackValues[this.aTrack].type)if(1===this.totalFrs)this.tracks[this.aTrack]="1fr";else{var c=o/this.frToPixels;this.tracks[this.aTrack]=c+"fr"}else if("%"===this.trackValues[this.aTrack].type){var u=o/this.percentageToPixels;this.tracks[this.aTrack]=u+"%"}if("px"===this.trackValues[this.bTrack].type)this.tracks[this.bTrack]=a+"px";else if("fr"===this.trackValues[this.bTrack].type)if(1===this.totalFrs)this.tracks[this.bTrack]="1fr";else{var l=a/this.frToPixels;this.tracks[this.bTrack]=l+"fr"}else if("%"===this.trackValues[this.bTrack].type){var f=a/this.percentageToPixels;this.tracks[this.bTrack]=f+"%"}var p=this.tracks.join(" ");this.writeStyle(this.grid,this.gridTemplateProp,p),this.onDrag(this.direction,this.track,p)},Tn.prototype.cleanup=function(){window.removeEventListener("mouseup",this.stopDragging),window.removeEventListener("touchend",this.stopDragging),window.removeEventListener("touchcancel",this.stopDragging),window.removeEventListener("mousemove",this.drag),window.removeEventListener("touchmove",this.drag),this.grid&&(this.grid.removeEventListener("selectstart",En),this.grid.removeEventListener("dragstart",En),this.grid.style.userSelect="",this.grid.style.webkitUserSelect="",this.grid.style.MozUserSelect="",this.grid.style.pointerEvents="",this.grid.style.cursor=""),window.document.body.style.cursor=""},Tn.prototype.destroy=function(e,t){void 0===e&&(e=!0),e||!1===this.dragging?(this.cleanup(),this.element&&(this.element.removeEventListener("mousedown",this.startDragging),this.element.removeEventListener("touchstart",this.startDragging)),t&&t()):(this.needsDestroy=!0,t&&(this.destroyCb=t))};var Cn=function(e,t,n){return t in e?e[t]:n},jn=function(e,t){return function(n){if(n.track<1)throw Error("Invalid track index: "+n.track+". Track must be between two other tracks.");var r="column"===e?t.columnMinSizes||{}:t.rowMinSizes||{},i="column"===e?"columnMinSize":"rowMinSize";return new Tn(e,Object.assign({},{minSizeStart:Cn(r,n.track-1,Sn(t,i,Sn(t,"minSize",0))),minSizeEnd:Cn(r,n.track+1,Sn(t,i,Sn(t,"minSize",0)))},n),t)}},Ln=function(e){var t=this;this.columnGutters={},this.rowGutters={},this.options=Object.assign({},{columnGutters:e.columnGutters||[],rowGutters:e.rowGutters||[],columnMinSizes:e.columnMinSizes||{},rowMinSizes:e.rowMinSizes||{}},e),this.options.columnGutters.forEach((function(e){t.columnGutters[e.track]=jn("column",t.options)(e)})),this.options.rowGutters.forEach((function(e){t.rowGutters[e.track]=jn("row",t.options)(e)}))};Ln.prototype.addColumnGutter=function(e,t){this.columnGutters[t]&&this.columnGutters[t].destroy(),this.columnGutters[t]=jn("column",this.options)({element:e,track:t})},Ln.prototype.addRowGutter=function(e,t){this.rowGutters[t]&&this.rowGutters[t].destroy(),this.rowGutters[t]=jn("row",this.options)({element:e,track:t})},Ln.prototype.removeColumnGutter=function(e,t){var n=this;void 0===t&&(t=!0),this.columnGutters[e]&&this.columnGutters[e].destroy(t,(function(){delete n.columnGutters[e]}))},Ln.prototype.removeRowGutter=function(e,t){var n=this;void 0===t&&(t=!0),this.rowGutters[e]&&this.rowGutters[e].destroy(t,(function(){delete n.rowGutters[e]}))},Ln.prototype.handleDragStart=function(e,t,n){"column"===t?(this.columnGutters[n]&&this.columnGutters[n].destroy(),this.columnGutters[n]=jn("column",this.options)({track:n}),this.columnGutters[n].startDragging(e)):"row"===t&&(this.rowGutters[n]&&this.rowGutters[n].destroy(),this.rowGutters[n]=jn("row",this.options)({track:n}),this.rowGutters[n].startDragging(e))},Ln.prototype.destroy=function(e){var t=this;void 0===e&&(e=!0),Object.keys(this.columnGutters).forEach((function(n){return t.columnGutters[n].destroy(e,(function(){delete t.columnGutters[n]}))})),Object.keys(this.rowGutters).forEach((function(n){return t.rowGutters[n].destroy(e,(function(){delete t.rowGutters[n]}))}))};var Pn,Dn=function(e){return new Ln(e)};function Mn(e){return e?(e.nodeName||"").toLowerCase():null}function Rn(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $n(e){return e instanceof Rn(e).Element||e instanceof Element}function Nn(e){return e instanceof Rn(e).HTMLElement||e instanceof HTMLElement}function In(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Rn(e).ShadowRoot||e instanceof ShadowRoot)}var Wn={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];Nn(i)&&Mn(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}),{});Nn(r)&&Mn(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},zn=Math.max,Hn=Math.min,Vn=Math.round;function Bn(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(Nn(e)&&t){var o=e.offsetHeight,a=e.offsetWidth;a>0&&(r=Vn(n.width)/a||1),o>0&&(i=Vn(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function Gn(e){var t=Rn(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function qn(e){return(($n(e)?e.ownerDocument:e.document)||window.document).documentElement}function Fn(e){return Bn(qn(e)).left+Gn(e).scrollLeft}function Un(e){return Rn(e).getComputedStyle(e)}function Yn(e){var t=Un(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Kn(e,t,n){void 0===n&&(n=!1);var r,i,o=Nn(t),a=Nn(t)&&function(e){var t=e.getBoundingClientRect(),n=Vn(t.width)/e.offsetWidth||1,r=Vn(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=qn(t),c=Bn(e,a),u={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==Mn(t)||Yn(s))&&(u=(r=t)!==Rn(r)&&Nn(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Gn(r)),Nn(t)?((l=Bn(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Fn(s))),{x:c.left+u.scrollLeft-l.x,y:c.top+u.scrollTop-l.y,width:c.width,height:c.height}}function Xn(e){var t=Bn(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 Jn(e){return"html"===Mn(e)?e:e.assignedSlot||e.parentNode||(In(e)?e.host:null)||qn(e)}function Zn(e){return["html","body","#document"].indexOf(Mn(e))>=0?e.ownerDocument.body:Nn(e)&&Yn(e)?e:Zn(Jn(e))}function Qn(e,t){var n;void 0===t&&(t=[]);var r=Zn(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=Rn(r),a=i?[o].concat(o.visualViewport||[],Yn(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Qn(Jn(a)))}function er(e){return["table","td","th"].indexOf(Mn(e))>=0}function tr(e){return Nn(e)&&"fixed"!==Un(e).position?e.offsetParent:null}function nr(e){for(var t=Rn(e),n=tr(e);n&&er(n)&&"static"===Un(n).position;)n=tr(n);return n&&("html"===Mn(n)||"body"===Mn(n)&&"static"===Un(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Nn(e)&&"fixed"===Un(e).position)return null;for(var n=Jn(e);Nn(n)&&["html","body"].indexOf(Mn(n))<0;){var r=Un(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}var rr="top",ir="bottom",or="right",ar="left",sr="auto",cr=[rr,ir,or,ar],ur="start",lr="end",fr="viewport",pr="popper",dr=cr.reduce((function(e,t){return e.concat([t+"-"+ur,t+"-"+lr])}),[]),hr=[].concat(cr,[sr]).reduce((function(e,t){return e.concat([t,t+"-"+ur,t+"-"+lr])}),[]),mr=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function gr(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 vr={placement:"bottom",modifiers:[],strategy:"absolute"};function yr(){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)}))}function br(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?vr:i;return function(e,t,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},vr,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,l={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:$n(e)?Qn(e):e.contextElement?Qn(e.contextElement):[],popper:Qn(t)};var a=function(e){var t=gr(e);return mr.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=a.filter((function(e){return e.enabled})),s.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:s,name:t,instance:l,options:r}),a=function(){};c.push(o||a)}})),l.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(yr(t,n)){s.rects={reference:Kn(t,nr(n),"fixed"===s.options.strategy),popper:Xn(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],o=i.fn,a=i.options,c=void 0===a?{}:a,f=i.name;"function"==typeof o&&(s=o({state:s,options:c,name:f,instance:l})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){l.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(i())}))}))),a}),destroy:function(){f(),u=!0}};if(!yr(e,t))return l;function f(){c.forEach((function(e){return e()})),c=[]}return l.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var wr={passive:!0};function xr(e){return e.split("-")[0]}function _r(e){return e.split("-")[1]}function Or(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Er(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?xr(i):null,a=i?_r(i):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case rr:t={x:s,y:n.y-r.height};break;case ir:t={x:s,y:n.y+n.height};break;case or:t={x:n.x+n.width,y:c};break;case ar:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=o?Or(o):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case ur:t[u]=t[u]-(n[l]/2-r[l]/2);break;case lr:t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var kr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Sr(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,l=e.roundOffsets,f=e.isFixed,p=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Vn(t*r)/r||0,y:Vn(n*r)/r||0}}(a):"function"==typeof l?l(a):a,d=p.x,h=void 0===d?0:d,m=p.y,g=void 0===m?0:m,v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=ar,w=rr,x=window;if(u){var _=nr(n),O="clientHeight",E="clientWidth";if(_===Rn(n)&&"static"!==Un(_=qn(n)).position&&"absolute"===s&&(O="scrollHeight",E="scrollWidth"),i===rr||(i===ar||i===or)&&o===lr)w=ir,g-=(f&&x.visualViewport?x.visualViewport.height:_[O])-r.height,g*=c?1:-1;if(i===ar||(i===rr||i===ir)&&o===lr)b=or,h-=(f&&x.visualViewport?x.visualViewport.width:_[E])-r.width,h*=c?1:-1}var k,S=Object.assign({position:s},u&&kr);return c?Object.assign({},S,((k={})[w]=y?"0":"",k[b]=v?"0":"",k.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",k)):Object.assign({},S,((t={})[w]=y?g+"px":"",t[b]=v?h+"px":"",t.transform="",t))}var Ar={left:"right",right:"left",bottom:"top",top:"bottom"};function Tr(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ar[e]}))}var Cr={start:"end",end:"start"};function jr(e){return e.replace(/start|end/g,(function(e){return Cr[e]}))}function Lr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&In(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Pr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Dr(e,t){return t===fr?Pr(function(e){var t=Rn(e),n=qn(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,a=0,s=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:i,height:o,x:a+Fn(e),y:s}}(e)):$n(t)?function(e){var t=Bn(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Pr(function(e){var t,n=qn(e),r=Gn(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=zn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=zn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Fn(e),c=-r.scrollTop;return"rtl"===Un(i||n).direction&&(s+=zn(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}(qn(e)))}function Mr(e,t,n){var r="clippingParents"===t?function(e){var t=Qn(Jn(e)),n=["absolute","fixed"].indexOf(Un(e).position)>=0,r=n&&Nn(e)?nr(e):e;return $n(r)?t.filter((function(e){return $n(e)&&Lr(e,r)&&"body"!==Mn(e)&&(!n||"static"!==Un(e).position)})):[]}(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce((function(t,n){var r=Dr(e,n);return t.top=zn(r.top,t.top),t.right=Hn(r.right,t.right),t.bottom=Hn(r.bottom,t.bottom),t.left=zn(r.left,t.left),t}),Dr(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Rr(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function $r(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Nr(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.boundary,a=void 0===o?"clippingParents":o,s=n.rootBoundary,c=void 0===s?fr:s,u=n.elementContext,l=void 0===u?pr:u,f=n.altBoundary,p=void 0!==f&&f,d=n.padding,h=void 0===d?0:d,m=Rr("number"!=typeof h?h:$r(h,cr)),g=l===pr?"reference":pr,v=e.rects.popper,y=e.elements[p?g:l],b=Mr($n(y)?y:y.contextElement||qn(e.elements.popper),a,c),w=Bn(e.elements.reference),x=Er({reference:w,element:v,strategy:"absolute",placement:i}),_=Pr(Object.assign({},v,x)),O=l===pr?_:w,E={top:b.top-O.top+m.top,bottom:O.bottom-b.bottom+m.bottom,left:b.left-O.left+m.left,right:O.right-b.right+m.right},k=e.modifiersData.offset;if(l===pr&&k){var S=k[i];Object.keys(E).forEach((function(e){var t=[or,ir].indexOf(e)>=0?1:-1,n=[rr,ir].indexOf(e)>=0?"y":"x";E[e]+=S[n]*t}))}return E}function Ir(e,t,n){return zn(e,Hn(t,n))}function Wr(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 zr(e){return[rr,or,ir,ar].some((function(t){return e[t]>=0}))}var Hr=br({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,a=r.resize,s=void 0===a||a,c=Rn(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach((function(e){e.addEventListener("scroll",n.update,wr)})),s&&c.addEventListener("resize",n.update,wr),function(){o&&u.forEach((function(e){e.removeEventListener("scroll",n.update,wr)})),s&&c.removeEventListener("resize",n.update,wr)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Er({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,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u={placement:xr(t.placement),variation:_r(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,Sr(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Sr(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Wn,{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,a=hr.reduce((function(e,n){return e[n]=function(e,t,n){var r=xr(e),i=[ar,rr].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[ar,or].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{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,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,g=t.options.placement,v=xr(g),y=c||(v===g||!h?[Tr(g)]:function(e){if(xr(e)===sr)return[];var t=Tr(e);return[jr(e),t,jr(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(xr(n)===sr?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?hr:c,l=_r(r),f=l?s?dr:dr.filter((function(e){return _r(e)===l})):cr,p=f.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=Nr(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[xr(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,_=new Map,O=!0,E=b[0],k=0;k<b.length;k++){var S=b[k],A=xr(S),T=_r(S)===ur,C=[rr,ir].indexOf(A)>=0,j=C?"width":"height",L=Nr(t,{placement:S,boundary:l,rootBoundary:f,altBoundary:p,padding:u}),P=C?T?or:ar:T?ir:rr;w[j]>x[j]&&(P=Tr(P));var D=Tr(P),M=[];if(o&&M.push(L[A]<=0),s&&M.push(L[P]<=0,L[D]<=0),M.every((function(e){return e}))){E=S,O=!1;break}_.set(S,M)}if(O)for(var R=function(e){var t=b.find((function(t){var n=_.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},$=h?3:1;$>0;$--){if("break"===R($))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{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,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,d=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=Nr(t,{boundary:c,rootBoundary:u,padding:f,altBoundary:l}),v=xr(t.placement),y=_r(t.placement),b=!y,w=Or(v),x="x"===w?"y":"x",_=t.modifiersData.popperOffsets,O=t.rects.reference,E=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,S="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(_){if(o){var C,j="y"===w?rr:ar,L="y"===w?ir:or,P="y"===w?"height":"width",D=_[w],M=D+g[j],R=D-g[L],$=d?-E[P]/2:0,N=y===ur?O[P]:E[P],I=y===ur?-E[P]:-O[P],W=t.elements.arrow,z=d&&W?Xn(W):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=H[j],B=H[L],G=Ir(0,O[P],z[P]),q=b?O[P]/2-$-G-V-S.mainAxis:N-G-V-S.mainAxis,F=b?-O[P]/2+$+G+B+S.mainAxis:I+G+B+S.mainAxis,U=t.elements.arrow&&nr(t.elements.arrow),Y=U?"y"===w?U.clientTop||0:U.clientLeft||0:0,K=null!=(C=null==A?void 0:A[w])?C:0,X=D+F-K,J=Ir(d?Hn(M,D+q-K-Y):M,D,d?zn(R,X):R);_[w]=J,T[w]=J-D}if(s){var Z,Q="x"===w?rr:ar,ee="x"===w?ir:or,te=_[x],ne="y"===x?"height":"width",re=te+g[Q],ie=te-g[ee],oe=-1!==[rr,ar].indexOf(v),ae=null!=(Z=null==A?void 0:A[x])?Z:0,se=oe?re:te-O[ne]-E[ne]-ae+S.altAxis,ce=oe?te+O[ne]+E[ne]-ae-S.altAxis:ie,ue=d&&oe?function(e,t,n){var r=Ir(e,t,n);return r>n?n:r}(se,te,ce):Ir(d?se:re,te,d?ce:ie);_[x]=ue,T[x]=ue-te}t.modifiersData[r]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=xr(n.placement),c=Or(s),u=[ar,or].indexOf(s)>=0?"height":"width";if(o&&a){var l=function(e,t){return Rr("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:$r(e,cr))}(i.padding,n),f=Xn(o),p="y"===c?rr:ar,d="y"===c?ir:or,h=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],m=a[c]-n.rects.reference[c],g=nr(o),v=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=l[p],w=v-f[u]-l[d],x=v/2-f[u]/2+y,_=Ir(b,x,w),O=c;n.modifiersData[r]=((t={})[O]=_,t.centerOffset=_-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)))&&Lr(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{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,a=Nr(t,{elementContext:"reference"}),s=Nr(t,{altBoundary:!0}),c=Wr(a,r),u=Wr(s,i,o),l=zr(c),f=zr(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),Vr="tippy-content",Br="tippy-backdrop",Gr="tippy-arrow",qr="tippy-svg-arrow",Fr={passive:!0,capture:!0},Ur=function(){return document.body};function Yr(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Kr(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Xr(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Jr(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Zr(e){return[].concat(e)}function Qr(e,t){-1===e.indexOf(t)&&e.push(t)}function ei(e){return e.split("-")[0]}function ti(e){return[].slice.call(e)}function ni(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function ri(){return document.createElement("div")}function ii(e){return["Element","Fragment"].some((function(t){return Kr(e,t)}))}function oi(e){return Kr(e,"MouseEvent")}function ai(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function si(e){return ii(e)?[e]:function(e){return Kr(e,"NodeList")}(e)?ti(e):Array.isArray(e)?e:ti(document.querySelectorAll(e))}function ci(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function ui(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function li(e){var t,n=Zr(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function fi(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function pi(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 di={isTouch:!1},hi=0;function mi(){di.isTouch||(di.isTouch=!0,window.performance&&document.addEventListener("mousemove",gi))}function gi(){var e=performance.now();e-hi<20&&(di.isTouch=!1,document.removeEventListener("mousemove",gi)),hi=e}function vi(){var e=document.activeElement;if(ai(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var yi=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var bi={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},wi=Object.assign({appendTo:Ur,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},bi,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),xi=Object.keys(wi);function _i(e){var t=(e.plugins||[]).reduce((function(t,n){var r,i=n.name,o=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=wi[i])?r:o);return t}),{});return Object.assign({},e,t)}function Oi(e,t){var n=Object.assign({},t,{content:Xr(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(_i(Object.assign({},wi,{plugins:t}))):xi).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({},wi.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 Ei(e,t){e.innerHTML=t}function ki(e){var t=ri();return!0===e?t.className=Gr:(t.className=qr,ii(e)?t.appendChild(e):Ei(t,e)),t}function Si(e,t){ii(t.content)?(Ei(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Ei(e,t.content):e.textContent=t.content)}function Ai(e){var t=e.firstElementChild,n=ti(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Vr)})),arrow:n.find((function(e){return e.classList.contains(Gr)||e.classList.contains(qr)})),backdrop:n.find((function(e){return e.classList.contains(Br)}))}}function Ti(e){var t=ri(),n=ri();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ri();function i(n,r){var i=Ai(t),o=i.box,a=i.content,s=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||Si(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(ki(r.arrow))):o.appendChild(ki(r.arrow)):s&&o.removeChild(s)}return r.className=Vr,r.setAttribute("data-state","hidden"),Si(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}Ti.$$tippy=!0;var Ci=1,ji=[],Li=[];function Pi(e,t){var n,r,i,o,a,s,c,u,l=Oi(e,Object.assign({},wi,_i(ni(t)))),f=!1,p=!1,d=!1,h=!1,m=[],g=Jr(U,l.interactiveDebounce),v=Ci++,y=(u=l.plugins).filter((function(e,t){return u.indexOf(e)===t})),b={id:v,reference:e,popper:ri(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){0;if(b.state.isDestroyed)return;D("onBeforeUpdate",[b,t]),q();var n=b.props,r=Oi(e,Object.assign({},n,ni(t),{ignoreAttributes:!0}));b.props=r,G(),n.interactiveDebounce!==r.interactiveDebounce&&($(),g=Jr(U,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Zr(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");R(),P(),_&&_(n,r);b.popperInstance&&(J(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));D("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){0;var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=di.isTouch&&!b.props.touch,i=Yr(b.props.duration,0,wi.duration);if(e||t||n||r)return;if(T().hasAttribute("disabled"))return;if(D("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,A()&&(x.style.visibility="visible");P(),z(),b.state.isMounted||(x.style.transition="none");if(A()){var o=j(),a=o.box,c=o.content;ci([a,c],0)}s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,A()&&b.props.animation){var t=j(),n=t.box,r=t.content;ci([n,r],i),ui([n,r],"visible")}M(),R(),Qr(Li,b),null==(e=b.popperInstance)||e.forceUpdate(),D("onMount",[b]),b.props.animation&&A()&&function(e,t){V(e,t)}(i,(function(){b.state.isShown=!0,D("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=T();e=b.props.interactive&&t===Ur||"parent"===t?n.parentNode:Xr(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,J(),!1}()},hide:function(){0;var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Yr(b.props.duration,1,wi.duration);if(e||t||n)return;if(D("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,h=!1,f=!1,A()&&(x.style.visibility="hidden");if($(),H(),P(!0),A()){var i=j(),o=i.box,a=i.content;b.props.animation&&(ci([o,a],r),ui([o,a],"hidden"))}M(),R(),b.props.animation?A()&&function(e,t){V(e,(function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){0;C().addEventListener("mousemove",g),Qr(ji,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){0;b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Z(),Q().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);Li=Li.filter((function(e){return e!==b})),b.state.isMounted=!1,D("onHidden",[b])},destroy:function(){0;if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),q(),delete e._tippy,b.state.isDestroyed=!0,D("onDestroy",[b])}};if(!l.render)return b;var w=l.render(b),x=w.popper,_=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var O=y.map((function(e){return e.fn(b)})),E=e.hasAttribute("aria-expanded");function k(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===k()[0]}function A(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function T(){return c||e}function C(){var e=T().parentNode;return e?li(e):document}function j(){return Ai(x)}function L(e){return b.state.isMounted&&!b.state.isVisible||di.isTouch||o&&"focus"===o.type?0:Yr(b.props.delay,e?0:1,wi.delay)}function P(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function D(e,t,n){var r;(void 0===n&&(n=!0),O.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=b.props)[e].apply(r,t)}function M(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Zr(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.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 R(){!E&&b.props.aria.expanded&&Zr(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===T()?"true":"false"):e.removeAttribute("aria-expanded")}))}function $(){C().removeEventListener("mousemove",g),ji=ji.filter((function(e){return e!==g}))}function N(t){if(!di.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!pi(x,n)){if(Zr(b.props.triggerTarget||e).some((function(e){return pi(e,n)}))){if(di.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),p=!0,setTimeout((function(){p=!1})),b.state.isMounted||H())}}}function I(){d=!0}function W(){d=!1}function z(){var e=C();e.addEventListener("mousedown",N,!0),e.addEventListener("touchend",N,Fr),e.addEventListener("touchstart",W,Fr),e.addEventListener("touchmove",I,Fr)}function H(){var e=C();e.removeEventListener("mousedown",N,!0),e.removeEventListener("touchend",N,Fr),e.removeEventListener("touchstart",W,Fr),e.removeEventListener("touchmove",I,Fr)}function V(e,t){var n=j().box;function r(e){e.target===n&&(fi(n,"remove",r),t())}if(0===e)return t();fi(n,"remove",a),fi(n,"add",r),a=r}function B(t,n,r){void 0===r&&(r=!1),Zr(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})}))}function G(){var e;S()&&(B("touchstart",F,{passive:!0}),B("touchend",Y,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(B(e,F),e){case"mouseenter":B("mouseleave",Y);break;case"focus":B(yi?"focusout":"blur",K);break;case"focusin":B("focusout",K)}}))}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 F(e){var t,n=!1;if(b.state.isEnabled&&!X(e)&&!p){var r="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,R(),!b.state.isVisible&&oi(e)&&ji.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function U(e){var t=e.target,n=T().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,a=ei(i.placement),s=i.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,l="right"===a?s.left.x:0,f="left"===a?s.right.x:0,p=t.top-r+c>o,d=r-t.bottom-u>o,h=t.left-n+l>o,m=n-t.right-f>o;return p||d||h||m}))}(Q().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:l}:null})).filter(Boolean),e)&&($(),te(e))}function Y(e){X(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function K(e){b.props.trigger.indexOf("focusin")<0&&e.target!==T()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function X(e){return!!di.isTouch&&S()!==e.type.indexOf("touch")>=0}function J(){Z();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,c=A()?Ai(x).arrow:null,u=o?{getBoundingClientRect:o,contextElement:o.contextElement||T()}:e,l=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=j().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&&l.push({name:"arrow",options:{element:c,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Hr(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function Z(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return ti(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&D("onTrigger",[b,e]),z();var t=L(!0),r=k(),i=r[0],o=r[1];di.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),D("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=L(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else H()}return G(),R(),P(),D("onCreate",[b]),l.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&C().addEventListener("mousemove",g)})),b}function Di(e,t){void 0===t&&(t={});var n=wi.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",mi,Fr),window.addEventListener("blur",vi);var r=Object.assign({},t,{plugins:n}),i=si(e).reduce((function(e,t){var n=t&&Pi(t,r);return n&&e.push(n),e}),[]);return ii(e)?i[0]:i}Di.defaultProps=wi,Di.setDefaultProps=function(e){Object.keys(e).forEach((function(t){wi[t]=e[t]}))},Di.currentInput=di;Object.assign({},Wn,{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)}});Di.setDefaultProps({render:Ti});var Mi=Di;var Ri=768,$i={defaultWidth:280,minWidth:200,maxWidth:350},Ni={drawer:{orientation:"horizontal",defaultPanel:"source",defaultHeight:200,defaultWidth:500,minWidth:350},preview:{view:"preview"}};kt.plugin(Rt),kt.plugin(Kt),kt.plugin(cn),kt.store("filter",function(e){return{raw:e.$persist("").as("filter-text"),get text(){return this.raw.replace(/\s/g,"").toLowerCase()},get active(){return this.text.length>0}}}(kt)),kt.store("layout",{init:function(){this.desktop=window.innerWidth>=Ri},reflowing:!1,desktop:!0,desktopWidth:Ri}),kt.store("nav",function(e){return{open:e.$persist([]).as("nav-open"),active:e.$persist(null).as("nav-active"),isOpen:function(e){return this.open.includes(e)},setOpen:function(e){this.open.push(e)},setClosed:function(e){var t=this.open.indexOf(e);t>-1&&this.open.splice(t,1)},toggle:function(e){this.isOpen(e)?this.setClosed(e):this.setOpen(e)}}}(kt)),kt.store("sidebar",function(e){var t=$i,n=t.defaultWidth,r=t.minWidth,i=t.maxWidth;return{open:e.$persist(!1).as("sidebar-open"),width:e.$persist(n).as("sidebar-width"),minWidth:r,maxWidth:i,toggle:function(){e.store("sidebar").open=!e.store("sidebar").open}}}(kt)),kt.store("inspector",function(e){var t=Ni,n=t.drawer,r=t.preview;return{drawer:{hidden:e.$persist(!1).as("drawer-hidden"),orientation:e.$persist(n.orientation).as("drawer-orientation"),active:e.$persist(n.defaultPanel).as("drawer-active"),height:e.$persist(n.defaultHeight).as("drawer-height"),width:e.$persist(n.defaultWidth).as("drawer-width"),minWidth:n.minWidth,visibleTabCount:1/0},preview:{width:e.$persist("100%").as("preview-width"),height:e.$persist("100%").as("preview-height"),view:e.$persist(r.view).as("preview-view"),lastWidth:null,lastHeight:null,resizing:!1}}}(kt)),kt.data("page",(function(){return{init:function(){var e,n,r,i=this;(e=window.SOCKET_PATH,n=(Date.now()+(100*Math.random()|0)).toString(),r=hn.createConsumer("".concat(e,"?uid=").concat(n)),{addListener:function(e,n){r.subscriptions.create(e,{received:t(mn)((function(e){console.log("Lookbook files changed"),n(e)}),200),connected:function(){console.log("Lookbook websocket connected")},disconnected:function(){console.log("Lookbook websocket disconnected")}})}}).addListener("Lookbook::ReloadChannel",(function(){return i.refresh()}))},update:function(){return ln(t(pn).mark((function e(){var n,r;return t(pn).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(window.document.location);case 2:if((n=e.sent).ok){e.next=5;break}return e.abrupt("return",window.location.reload());case 5:return e.next=7,n.text();case 7:r=e.sent,this.morph((new DOMParser).parseFromString(r,"text/html"));case 9:case"end":return e.stop()}}),e,this)}))).apply(this)},setLocation:function(e){var t=e instanceof Event?e.currentTarget.href:e;history.pushState({},null,t),this.$dispatch("popstate")},refresh:function(){this.$dispatch("popstate")},morph:function(e){var t=e.getElementById(this.$root.id).outerHTML;Alpine.morph(this.$root,t,vn),this.$dispatch("page:morphed")}}})),kt.data("splitter",(function(e,t){var n=void 0===t?{}:t;return{splits:[],init:function(){var t=this,r=this,i=this,o="".concat("vertical"===e?"column":"row","Gutters"),a=this.$el;Dn((fn(Pn={},o,[{track:1,element:a}]),fn(Pn,"minSize",n.minSize||0),fn(Pn,"writeStyle",(function(){})),fn(Pn,"onDrag",(function(e,n,r){t.splits=r.split(" ").map((function(e){return parseInt(e)}))})),fn(Pn,"onDragStart",(function(){r.$store.layout.reflowing=!0})),fn(Pn,"onDragEnd",(function(){i.$store.layout.reflowing=!1})),Pn))}}})),kt.data("previewWindow",(function(){return{get store(){return this.$store.inspector.preview},get maxWidth(){return"100%"===this.store.width?"100%":"".concat(this.store.width,"px")},get maxHeight(){return"100%"===this.store.height?"100%":"".concat(this.store.height,"px")},get parentWidth(){return Math.round(this.$root.parentElement.clientWidth)},get parentHeight(){return Math.round(this.$root.parentElement.clientHeight)},start:function(){this.$store.layout.reflowing=!0,this.store.resizing=!0},end:function(){this.$store.layout.reflowing=!1,this.store.resizing=!1},onResizeStart:function(e){this.onResizeWidthStart(e),this.onResizeHeightStart(e)},toggleFullSize:function(){var e=this.store,t=e.height,n=e.width;"100%"===t&&"100%"===n?(this.toggleFullHeight(),this.toggleFullWidth()):("100%"!==t&&this.toggleFullHeight(),"100%"!==n&&this.toggleFullWidth())},onResizeWidth:function(e){var t=this.resizeStartWidth-2*(this.resizeStartPositionX-e.pageX),n=Math.min(Math.max(Math.round(t),200),this.parentWidth);this.store.width=n===this.parentWidth?"100%":n},onResizeWidthStart:function(e){this.start(),this.onResizeWidth=this.onResizeWidth.bind(this),this.onResizeWidthEnd=this.onResizeWidthEnd.bind(this),this.resizeStartPositionX=e.pageX,this.resizeStartWidth=this.$root.clientWidth,window.addEventListener("pointermove",this.onResizeWidth),window.addEventListener("pointerup",this.onResizeWidthEnd)},onResizeWidthEnd:function(){window.removeEventListener("pointermove",this.onResizeWidth),window.removeEventListener("pointerup",this.onResizeWidthEnd),this.end()},toggleFullWidth:function(){var e=this.store,t=e.width,n=e.lastWidth;"100%"===t&&n?this.store.width=n:(this.store.lastWidth=t,this.store.width="100%")},onResizeHeight:function(e){var t=this.resizeStartHeight-(this.resizeStartPositionY-e.pageY),n=Math.min(Math.max(Math.round(t),200),this.parentHeight);this.$store.inspector.preview.height=n===this.parentHeight?"100%":n},onResizeHeightStart:function(e){this.start(),this.onResizeHeight=this.onResizeHeight.bind(this),this.onResizeHeightEnd=this.onResizeHeightEnd.bind(this),this.resizeStartPositionY=e.pageY,this.resizeStartHeight=this.$root.clientHeight,window.addEventListener("pointermove",this.onResizeHeight),window.addEventListener("pointerup",this.onResizeHeightEnd)},onResizeHeightEnd:function(){window.removeEventListener("pointermove",this.onResizeHeight),window.removeEventListener("pointerup",this.onResizeHeightEnd),this.end()},toggleFullHeight:function(){var e=this.store,t=e.height,n=e.lastHeight;"100%"===t&&n?this.store.height=n:(this.store.lastHeight=t,this.store.height="100%")}}})),kt.data("copy",(function(e){return{get content(){var t=document.getElementById(e);return(t?t.innerHTML:"").trim()},done:!1,save:function(){return ln(t(pn).mark((function e(){var n;return t(pn).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this,e.next=3,window.navigator.clipboard.writeText(this.content);case 3:this.done=!0,setTimeout((function(){n.done=!1}),1e3);case 5:case"end":return e.stop()}}),e,this)}))).apply(this)}}})),kt.data("code",(function(){return{wrap:!1}})),kt.data("inspector",(function(){return{width:0,height:0,init:function(){var e=this;new ResizeObserver((function(t){var n=t[0].contentRect;e.width=Math.round(n.width),e.height=Math.round(n.height)})).observe(this.$el),this.width=Math.round(this.$el.clientWidth),this.height=Math.round(this.$el.clientHeight)},get orientation(){return this.$store.inspector.drawer.orientation},get view(){return this.$store.inspector.preview.view},get horizontal(){return!this.canBeVertical||"horizontal"===this.orientation},get vertical(){return!this.horizontal},get canBeVertical(){return this.width>800},get drawerHidden(){return this.$store.inspector.drawer.hidden},isActivePanel:function(e){return this.$store.inspector.drawer.active==e},switchPanel:function(e){this.$store.inspector.drawer.active=e},toggleView:function(){this.$store.inspector.preview.view="html"===this.view?"preview":"html"},toggleOrientation:function(){this.$store.inspector.drawer.orientation="horizontal"===this.orientation?"vertical":"horizontal"},toggleDrawer:function(){this.$store.inspector.drawer.hidden=!this.$store.inspector.drawer.hidden},preview:{width:null,height:null}}})),kt.data("filter",(function(){return{get active(){return this.$store.filter.active},checkEsc:function(e){"Escape"===e.key&&(this.active?this.clear():this.blur())},clear:function(){this.$store.filter.raw=""},focus:function(e){var t=this;e&&"INPUT"===e.target.tagName||setTimeout((function(){return t.$refs.input.focus()}),0)},blur:function(){var e=this;setTimeout((function(){return e.$refs.input.blur()}),0)}}})),kt.data("param",(function(e,n,r){var i=void 0===r?{}:r;return{name:e,value:n,updating:!1,init:function(){var e=this,n=this;i.debounce?this.$watch("value",t(mn)((function(){return e.updateIfValid()}),i.debounce)):this.$watch("value",(function(){return n.updateIfValid()}))},setFocus:function(){var e=this;setTimeout((function(){return e.$root.focus()}),0)},updateIfValid:function(){this.validate()&&this.update()},update:function(){var e=new URLSearchParams(window.location.search);e.set(this.name,this.value);var t=location.href.replace(location.search,"");this.setLocation("".concat(t,"?").concat(e.toString()))},validate:function(){return!this.$root.reportValidity||this.$root.reportValidity()}}})),kt.data("sizes",(function(){return{width:0,height:0,init:function(){var e=this;new ResizeObserver((function(t){var n=t[0].contentRect;e.width=Math.round(n.width),e.height=Math.round(n.height)})).observe(this.$el),this.width=Math.round(this.$el.clientWidth),this.height=Math.round(this.$el.clientHeight)}}})),kt.data("nav",(function(){return{empty:!1,init:function(){var e=this,t=this;this.$watch("$store.filter.text",(function(){return e.filter()})),this.$nextTick((function(){t.setActive(),t.filter()}))},filter:function(){var e=this;this.empty=!0,this.getChildren().forEach((function(t){var n=yn(t);n.filter(e.$store.filter.text),n.hidden||(e.empty=!1)}))},getChildren:function(){return this.$refs.items?Array.from(this.$refs.items.querySelectorAll(":scope > li > div")):[]},setActive:function(){var e=this.$el.querySelector('[data-path="'.concat(window.location.pathname,'"]'));this.$store.nav.active=e?e.id:""}}})),kt.data("tabs",(function(){return{width:0,tabsWidth:0,init:function(){var e=this;new ResizeObserver((function(t){e.width=Math.round(t[0].contentRect.width)})).observe(this.$refs.tabs),this.dropdown=Mi(this.$refs.toggle,{allowHTML:!0,interactive:!0,trigger:"click",placement:"bottom-end",theme:"menu",content:this.$refs.dropdown})},get tabs(){return Array.from(this.$refs.tabs.querySelectorAll(":scope > a"))},get visibleTabCount(){for(var e=0,t=0;t<this.tabs.length;t++){var n=this.tabs[t],r=parseInt(window.getComputedStyle(n).getPropertyValue("margin-left").replace("px",""),10);if((e+=n.clientWidth+r)>this.width)return this.tabsWidth=e-n.clientWidth,t}return this.tabs.length},get hiddenTabs(){return this.tabs.slice(this.visibleTabCount,-1)},hideDropdown:function(){this.dropdown.hide()}}})),kt.data("navItem",(function(e){return{hidden:!1,get id(){return this.$root.id},get path(){return this.$root.getAttribute("data-path")},get active(){return this.$store.nav.active===this.id},navigate:function(){this.setLocation(this.path),this.$store.sidebar.open=!1},filter:function(t){if(this.hidden=!1,t.length){var n=e.map((function(e){return e.includes(t)}));this.hidden=!n.filter((function(e){return e})).length}else this.hidden=!1}}})),kt.data("navGroup",(function(){return{hidden:!1,children:[],get id(){return this.$root.id},get open(){return this.$store.nav.isOpen(this.id)},toggle:function(){this.$store.nav.toggle(this.id)},getChildren:function(){return this.$refs.items?Array.from(this.$refs.items.querySelectorAll(":scope > li > div")):[]},navigateToFirstChild:function(){if(this.open){var e=this.firstVisibleChild();if(e){var t=e.querySelector(":scope > a.nav-link");t&&this.setLocation(t.getAttribute("href"))}}},filter:function(e){var t=this;this.hidden=!0,this.getChildren().forEach((function(n){var r=yn(n);r.filter(e),r.hidden||(t.hidden=!1)}))},firstVisibleChild:function(){return this.getChildren().find((function(e){return!!e._x_dataStack&&!1===e._x_dataStack[0].hidden}))}}}));var Ii=!0,Wi=!1,zi=void 0;try{for(var Hi,Vi=document.querySelectorAll("[data-hotkey]")[Symbol.iterator]();!(Ii=(Hi=Vi.next()).done);Ii=!0){d(Hi.value)}}catch(e){Wi=!0,zi=e}finally{try{Ii||null==Vi.return||Vi.return()}finally{if(Wi)throw zi}}window.Alpine=kt,kt.start()}();
|
1
|
+
!function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function t(e){return e&&e.__esModule?e.default:e}class n{constructor(e){this.children=[],this.parent=e}delete(e){const t=this.children.indexOf(e);return-1!==t&&(this.children=this.children.slice(0,t).concat(this.children.slice(t+1)),0===this.children.length&&this.parent.delete(this),!0)}add(e){return this.children.push(e),this}}class r{constructor(e){this.parent=null,this.children={},this.parent=e||null}get(e){return this.children[e]}insert(e){let t=this;for(let i=0;i<e.length;i+=1){const o=e[i];let a=t.get(o);if(i===e.length-1)return a instanceof r&&(t.delete(a),a=null),a||(a=new n(t),t.children[o]=a),a;a instanceof n&&(a=null),a||(a=new r(t),t.children[o]=a),t=a}return t}delete(e){for(const t in this.children){if(this.children[t]===e){const e=delete this.children[t];return 0===Object.keys(this.children).length&&this.parent&&this.parent.delete(this),e}}return!1}}function i(e){if(!(e instanceof HTMLElement))return!1;const t=e.nodeName.toLowerCase(),n=(e.getAttribute("type")||"").toLowerCase();return"select"===t||"textarea"===t||"input"===t&&"submit"!==n&&"reset"!==n&&"checkbox"!==n&&"radio"!==n||e.isContentEditable}function o(e){const t=e.code.startsWith("Key")&&e.shiftKey&&e.key.toUpperCase()===e.key;return`${e.ctrlKey?"Control+":""}${e.altKey?"Alt+":""}${e.metaKey?"Meta+":""}${e.shiftKey&&!t?"Shift+":""}${e.key}`}const a=new r,s=new WeakMap;let c=a,u=null,l=[];function f(){l=[],u=null,c=a}function p(e){if(e.defaultPrevented)return;if(!(e.target instanceof Node))return;if(i(e.target)){const t=e.target;if(!t.id)return;if(!t.ownerDocument.querySelector(`[data-hotkey-scope=${t.id}]`))return}null!=u&&window.clearTimeout(u),u=window.setTimeout(f,1500);const t=c.get(o(e));if(t){if(l.push(o(e)),c=t,t instanceof n){const n=e.target;let r,o=!1;const a=i(n);for(let e=t.children.length-1;e>=0;e-=1){r=t.children[e];const i=r.getAttribute("data-hotkey-scope");if(!a&&!i||a&&n.id===i){o=!0;break}}r&&o&&(!function(e,t){const n=new CustomEvent("hotkey-fire",{cancelable:!0,detail:{path:t}});!e.dispatchEvent(n)||(i(e)?e.focus():e.click())}(r,l),e.preventDefault()),f()}}else f()}function d(e,t){0===Object.keys(a.children).length&&document.addEventListener("keydown",p);const n=function(e){return e.split(",").map((e=>e.split(" ")))}(t||e.getAttribute("data-hotkey")||""),r=n.map((t=>a.insert(t).add(e)));s.set(e,r)}var h,m,g,v,y=Object.create,b=Object.defineProperty,w=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty,_=Object.getOwnPropertyNames,O=Object.getOwnPropertyDescriptor,E=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),k=E((t=>{function n(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}Object.defineProperty(t,"__esModule",{value:!0});var r={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},i={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},o=n("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");var a="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",s=n(a),c=n(a+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),u=/[>/="'\u0009\u000a\u000c\u0020]/,l={};var f=n("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),p=n("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap");var d=/;(?![^(]*\))/g,h=/:(.+)/;function m(e){const t={};return e.split(d).forEach((e=>{if(e){const n=e.split(h);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}var g=n("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),v=n("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),y=n("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),b=/["'&<>]/;var w=/^-?>|<!--|-->|--!>|<!-$/g;function x(e,t){if(e===t)return!0;let n=P(e),r=P(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=C(e),r=C(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=x(e[r],t[r]);return n}(e,t);if(n=R(e),r=R(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!x(e[n],t[n]))return!1}}return String(e)===String(t)}var _,O=(e,t)=>j(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:L(t)?{[`Set(${t.size})`]:[...t.values()]}:!R(t)||C(t)||I(t)?t:String(t),E=Object.freeze({}),k=Object.freeze([]),S=/^on[^a-z]/,A=Object.assign,T=Object.prototype.hasOwnProperty,C=Array.isArray,j=e=>"[object Map]"===N(e),L=e=>"[object Set]"===N(e),P=e=>e instanceof Date,D=e=>"function"==typeof e,M=e=>"string"==typeof e,R=e=>null!==e&&"object"==typeof e,$=Object.prototype.toString,N=e=>$.call(e),I=e=>"[object Object]"===N(e),W=n(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),z=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},H=/-(\w)/g,V=z((e=>e.replace(H,((e,t)=>t?t.toUpperCase():"")))),B=/\B([A-Z])/g,G=z((e=>e.replace(B,"-$1").toLowerCase())),q=z((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=z((e=>e?`on${q(e)}`:""));t.EMPTY_ARR=k,t.EMPTY_OBJ=E,t.NO=()=>!1,t.NOOP=()=>{},t.PatchFlagNames=r,t.babelParserDefaultPlugins=["bigInt","optionalChaining","nullishCoalescingOperator"],t.camelize=V,t.capitalize=q,t.def=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},t.escapeHtml=function(e){const t=""+e,n=b.exec(t);if(!n)return t;let r,i,o="",a=0;for(i=n.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}a!==i&&(o+=t.substring(a,i)),a=i+1,o+=r}return a!==i?o+t.substring(a,i):o},t.escapeHtmlComment=function(e){return e.replace(w,"")},t.extend=A,t.generateCodeFrame=function(e,t=0,n=e.length){const r=e.split(/\r?\n/);let i=0;const o=[];for(let e=0;e<r.length;e++)if(i+=r[e].length+1,i>=t){for(let a=e-2;a<=e+2||n>i;a++){if(a<0||a>=r.length)continue;const s=a+1;o.push(`${s}${" ".repeat(Math.max(3-String(s).length,0))}| ${r[a]}`);const c=r[a].length;if(a===e){const e=t-(i-c)+1,r=Math.max(1,n>i?c-e:n-t);o.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(a>e){if(n>i){const e=Math.max(Math.min(n-i,c),1);o.push(" | "+"^".repeat(e))}i+=c+1}}break}return o.join("\n")},t.getGlobalThis=()=>_||(_="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{}),t.hasChanged=(e,t)=>e!==t&&(e==e||t==t),t.hasOwn=(e,t)=>T.call(e,t),t.hyphenate=G,t.invokeArrayFns=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},t.isArray=C,t.isBooleanAttr=c,t.isDate=P,t.isFunction=D,t.isGloballyWhitelisted=o,t.isHTMLTag=g,t.isIntegerKey=e=>M(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,t.isKnownAttr=p,t.isMap=j,t.isModelListener=e=>e.startsWith("onUpdate:"),t.isNoUnitNumericStyleProp=f,t.isObject=R,t.isOn=e=>S.test(e),t.isPlainObject=I,t.isPromise=e=>R(e)&&D(e.then)&&D(e.catch),t.isReservedProp=W,t.isSSRSafeAttrName=function(e){if(l.hasOwnProperty(e))return l[e];const t=u.test(e);return t&&console.error(`unsafe attribute name: ${e}`),l[e]=!t},t.isSVGTag=v,t.isSet=L,t.isSpecialBooleanAttr=s,t.isString=M,t.isSymbol=e=>"symbol"==typeof e,t.isVoidTag=y,t.looseEqual=x,t.looseIndexOf=function(e,t){return e.findIndex((e=>x(e,t)))},t.makeMap=n,t.normalizeClass=function e(t){let n="";if(M(t))n=t;else if(C(t))for(let r=0;r<t.length;r++){const i=e(t[r]);i&&(n+=i+" ")}else if(R(t))for(const e in t)t[e]&&(n+=e+" ");return n.trim()},t.normalizeStyle=function e(t){if(C(t)){const n={};for(let r=0;r<t.length;r++){const i=t[r],o=e(M(i)?m(i):i);if(o)for(const e in o)n[e]=o[e]}return n}if(R(t))return t},t.objectToString=$,t.parseStringStyle=m,t.propsToAttrMap={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},t.remove=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},t.slotFlagsText=i,t.stringifyStyle=function(e){let t="";if(!e)return t;for(const n in e){const r=e[n],i=n.startsWith("--")?n:G(n);(M(r)||"number"==typeof r&&f(i))&&(t+=`${i}:${r};`)}return t},t.toDisplayString=e=>null==e?"":R(e)?JSON.stringify(e,O,2):String(e),t.toHandlerKey=F,t.toNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},t.toRawType=e=>N(e).slice(8,-1),t.toTypeString=N})),S=E(((e,t)=>{t.exports=k()})),A=E((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t,n=S(),r=new WeakMap,i=[],o=Symbol("iterate"),a=Symbol("Map key iterate");function s(e,r=n.EMPTY_OBJ){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const o=function(e,n){const r=function(){if(!r.active)return e();if(!i.includes(r)){u(r);try{return d(),i.push(r),t=r,e()}finally{i.pop(),h(),t=i[i.length-1]}}};return r.id=c++,r.allowRecurse=!!n.allowRecurse,r._isEffect=!0,r.active=!0,r.raw=e,r.deps=[],r.options=n,r}(e,r);return r.lazy||o(),o}var c=0;function u(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var l=!0,f=[];function p(){f.push(l),l=!1}function d(){f.push(l),l=!0}function h(){const e=f.pop();l=void 0===e||e}function m(e,n,i){if(!l||void 0===t)return;let o=r.get(e);o||r.set(e,o=new Map);let a=o.get(i);a||o.set(i,a=new Set),a.has(t)||(a.add(t),t.deps.push(a),t.options.onTrack&&t.options.onTrack({effect:t,target:e,type:n,key:i}))}function g(e,i,s,c,u,l){const f=r.get(e);if(!f)return;const p=new Set,d=e=>{e&&e.forEach((e=>{(e!==t||e.allowRecurse)&&p.add(e)}))};if("clear"===i)f.forEach(d);else if("length"===s&&n.isArray(e))f.forEach(((e,t)=>{("length"===t||t>=c)&&d(e)}));else switch(void 0!==s&&d(f.get(s)),i){case"add":n.isArray(e)?n.isIntegerKey(s)&&d(f.get("length")):(d(f.get(o)),n.isMap(e)&&d(f.get(a)));break;case"delete":n.isArray(e)||(d(f.get(o)),n.isMap(e)&&d(f.get(a)));break;case"set":n.isMap(e)&&d(f.get(o))}p.forEach((t=>{t.options.onTrigger&&t.options.onTrigger({effect:t,target:e,key:s,type:i,newValue:c,oldValue:u,oldTarget:l}),t.options.scheduler?t.options.scheduler(t):t()}))}var v=n.makeMap("__proto__,__v_isRef,__isVue"),y=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(n.isSymbol)),b=E(),w=E(!1,!0),x=E(!0),_=E(!0,!0),O={};function E(e=!1,t=!1){return function(r,i,o){if("__v_isReactive"===i)return!e;if("__v_isReadonly"===i)return e;if("__v_raw"===i&&o===(e?t?ae:oe:t?ie:re).get(r))return r;const a=n.isArray(r);if(!e&&a&&n.hasOwn(O,i))return Reflect.get(O,i,o);const s=Reflect.get(r,i,o);if(n.isSymbol(i)?y.has(i):v(i))return s;if(e||m(r,"get",i),t)return s;if(me(s)){return!a||!n.isIntegerKey(i)?s.value:s}return n.isObject(s)?e?ce(s):se(s):s}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];O[e]=function(...e){const n=de(this);for(let e=0,t=this.length;e<t;e++)m(n,"get",e+"");const r=t.apply(n,e);return-1===r||!1===r?t.apply(n,e.map(de)):r}})),["push","pop","shift","unshift","splice"].forEach((e=>{const t=Array.prototype[e];O[e]=function(...e){p();const n=t.apply(this,e);return h(),n}}));var k=T(),A=T(!0);function T(e=!1){return function(t,r,i,o){let a=t[r];if(!e&&(i=de(i),a=de(a),!n.isArray(t)&&me(a)&&!me(i)))return a.value=i,!0;const s=n.isArray(t)&&n.isIntegerKey(r)?Number(r)<t.length:n.hasOwn(t,r),c=Reflect.set(t,r,i,o);return t===de(o)&&(s?n.hasChanged(i,a)&&g(t,"set",r,i,a):g(t,"add",r,i)),c}}var C={get:b,set:k,deleteProperty:function(e,t){const r=n.hasOwn(e,t),i=e[t],o=Reflect.deleteProperty(e,t);return o&&r&&g(e,"delete",t,void 0,i),o},has:function(e,t){const r=Reflect.has(e,t);return n.isSymbol(t)&&y.has(t)||m(e,"has",t),r},ownKeys:function(e){return m(e,"iterate",n.isArray(e)?"length":o),Reflect.ownKeys(e)}},j={get:x,set:(e,t)=>(console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>(console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},L=n.extend({},C,{get:w,set:A}),P=n.extend({},j,{get:_}),D=e=>n.isObject(e)?se(e):e,M=e=>n.isObject(e)?ce(e):e,R=e=>e,$=e=>Reflect.getPrototypeOf(e);function N(e,t,n=!1,r=!1){const i=de(e=e.__v_raw),o=de(t);t!==o&&!n&&m(i,"get",t),!n&&m(i,"get",o);const{has:a}=$(i),s=r?R:n?M:D;return a.call(i,t)?s(e.get(t)):a.call(i,o)?s(e.get(o)):void(e!==i&&e.get(t))}function I(e,t=!1){const n=this.__v_raw,r=de(n),i=de(e);return e!==i&&!t&&m(r,"has",e),!t&&m(r,"has",i),e===i?n.has(e):n.has(e)||n.has(i)}function W(e,t=!1){return e=e.__v_raw,!t&&m(de(e),"iterate",o),Reflect.get(e,"size",e)}function z(e){e=de(e);const t=de(this);return $(t).has.call(t,e)||(t.add(e),g(t,"add",e,e)),this}function H(e,t){t=de(t);const r=de(this),{has:i,get:o}=$(r);let a=i.call(r,e);a?ne(r,i,e):(e=de(e),a=i.call(r,e));const s=o.call(r,e);return r.set(e,t),a?n.hasChanged(t,s)&&g(r,"set",e,t,s):g(r,"add",e,t),this}function V(e){const t=de(this),{has:n,get:r}=$(t);let i=n.call(t,e);i?ne(t,n,e):(e=de(e),i=n.call(t,e));const o=r?r.call(t,e):void 0,a=t.delete(e);return i&&g(t,"delete",e,void 0,o),a}function B(){const e=de(this),t=0!==e.size,r=n.isMap(e)?new Map(e):new Set(e),i=e.clear();return t&&g(e,"clear",void 0,void 0,r),i}function G(e,t){return function(n,r){const i=this,a=i.__v_raw,s=de(a),c=t?R:e?M:D;return!e&&m(s,"iterate",o),a.forEach(((e,t)=>n.call(r,c(e),c(t),i)))}}function q(e,t,r){return function(...i){const s=this.__v_raw,c=de(s),u=n.isMap(c),l="entries"===e||e===Symbol.iterator&&u,f="keys"===e&&u,p=s[e](...i),d=r?R:t?M:D;return!t&&m(c,"iterate",f?a:o),{next(){const{value:e,done:t}=p.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function F(e){return function(...t){{const r=t[0]?`on key "${t[0]}" `:"";console.warn(`${n.capitalize(e)} operation ${r}failed: target is readonly.`,de(this))}return"delete"!==e&&this}}var U={get(e){return N(this,e)},get size(){return W(this)},has:I,add:z,set:H,delete:V,clear:B,forEach:G(!1,!1)},Y={get(e){return N(this,e,!1,!0)},get size(){return W(this)},has:I,add:z,set:H,delete:V,clear:B,forEach:G(!1,!0)},K={get(e){return N(this,e,!0)},get size(){return W(this,!0)},has(e){return I.call(this,e,!0)},add:F("add"),set:F("set"),delete:F("delete"),clear:F("clear"),forEach:G(!0,!1)},X={get(e){return N(this,e,!0,!0)},get size(){return W(this,!0)},has(e){return I.call(this,e,!0)},add:F("add"),set:F("set"),delete:F("delete"),clear:F("clear"),forEach:G(!0,!0)};function J(e,t){const r=t?e?X:Y:e?K:U;return(t,i,o)=>"__v_isReactive"===i?!e:"__v_isReadonly"===i?e:"__v_raw"===i?t:Reflect.get(n.hasOwn(r,i)&&i in t?r:t,i,o)}["keys","values","entries",Symbol.iterator].forEach((e=>{U[e]=q(e,!1,!1),K[e]=q(e,!0,!1),Y[e]=q(e,!1,!0),X[e]=q(e,!0,!0)}));var Z={get:J(!1,!1)},Q={get:J(!1,!0)},ee={get:J(!0,!1)},te={get:J(!0,!0)};function ne(e,t,r){const i=de(r);if(i!==r&&t.call(e,i)){const t=n.toRawType(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var re=new WeakMap,ie=new WeakMap,oe=new WeakMap,ae=new WeakMap;function se(e){return e&&e.__v_isReadonly?e:ue(e,!1,C,Z,re)}function ce(e){return ue(e,!0,j,ee,oe)}function ue(e,t,r,i,o){if(!n.isObject(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const s=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(n.toRawType(c));var c;if(0===s)return e;const u=new Proxy(e,2===s?i:r);return o.set(e,u),u}function le(e){return fe(e)?le(e.__v_raw):!(!e||!e.__v_isReactive)}function fe(e){return!(!e||!e.__v_isReadonly)}function pe(e){return le(e)||fe(e)}function de(e){return e&&de(e.__v_raw)||e}var he=e=>n.isObject(e)?se(e):e;function me(e){return Boolean(e&&!0===e.__v_isRef)}function ge(e,t=!1){return me(e)?e:new class{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:he(e)}get value(){return m(de(this),"get","value"),this._value}set value(e){n.hasChanged(de(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:he(e),g(de(this),"set","value",e))}}(e,t)}function ve(e){return me(e)?e.value:e}var ye={get:(e,t,n)=>ve(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return me(i)&&!me(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function be(e,t){return me(e[t])?e[t]:new class{constructor(e,t){this._object=e,this._key=t,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(e){this._object[this._key]=e}}(e,t)}e.ITERATE_KEY=o,e.computed=function(e){let t,r;return n.isFunction(e)?(t=e,r=()=>{console.warn("Write operation failed: computed value is readonly")}):(t=e.get,r=e.set),new class{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=s(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,g(de(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=de(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),m(e,"get","value"),e._value}set value(e){this._setter(e)}}(t,r,n.isFunction(e)||!e.set)},e.customRef=function(e){return new class{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>m(this,"get","value")),(()=>g(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}(e)},e.effect=s,e.enableTracking=d,e.isProxy=pe,e.isReactive=le,e.isReadonly=fe,e.isRef=me,e.markRaw=function(e){return n.def(e,"__v_skip",!0),e},e.pauseTracking=p,e.proxyRefs=function(e){return le(e)?e:new Proxy(e,ye)},e.reactive=se,e.readonly=ce,e.ref=function(e){return ge(e)},e.resetTracking=h,e.shallowReactive=function(e){return ue(e,!1,L,Q,ie)},e.shallowReadonly=function(e){return ue(e,!0,P,te,ae)},e.shallowRef=function(e){return ge(e,!0)},e.stop=function(e){e.active&&(u(e),e.options.onStop&&e.options.onStop(),e.active=!1)},e.toRaw=de,e.toRef=be,e.toRefs=function(e){pe(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=n.isArray(e)?new Array(e.length):{};for(const n in e)t[n]=be(e,n);return t},e.track=m,e.trigger=g,e.triggerRef=function(e){g(de(e),"set","value",e.value)},e.unref=ve})),T=E(((e,t)=>{t.exports=A()})),C=!1,j=!1,L=[];function P(e){!function(e){L.includes(e)||L.push(e);j||C||(C=!0,queueMicrotask(D))}(e)}function D(){C=!1,j=!0;for(let e=0;e<L.length;e++)L[e]();L.length=0,j=!1}var M=!0;function R(e){m=e}var $=[],N=[],I=[];function W(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach((([n,r])=>{(void 0===t||t.includes(n))&&(r.forEach((e=>e())),delete e._x_attributeCleanups[n])}))}var z=new MutationObserver(K),H=!1;function V(){z.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),H=!0}function B(){(G=G.concat(z.takeRecords())).length&&!q&&(q=!0,queueMicrotask((()=>{K(G),G.length=0,q=!1}))),z.disconnect(),H=!1}var G=[],q=!1;function F(e){if(!H)return e();B();let t=e();return V(),t}var U=!1,Y=[];function K(e){if(U)return void(Y=Y.concat(e));let t=[],n=[],r=new Map,i=new Map;for(let o=0;o<e.length;o++)if(!e[o].target._x_ignoreMutationObserver&&("childList"===e[o].type&&(e[o].addedNodes.forEach((e=>1===e.nodeType&&t.push(e))),e[o].removedNodes.forEach((e=>1===e.nodeType&&n.push(e)))),"attributes"===e[o].type)){let t=e[o].target,n=e[o].attributeName,a=e[o].oldValue,s=()=>{r.has(t)||r.set(t,[]),r.get(t).push({name:n,value:t.getAttribute(n)})},c=()=>{i.has(t)||i.set(t,[]),i.get(t).push(n)};t.hasAttribute(n)&&null===a?s():t.hasAttribute(n)?(c(),s()):c()}i.forEach(((e,t)=>{W(t,e)})),r.forEach(((e,t)=>{$.forEach((n=>n(t,e)))}));for(let e of n)t.includes(e)||N.forEach((t=>t(e)));t.forEach((e=>{e._x_ignoreSelf=!0,e._x_ignore=!0}));for(let e of t)n.includes(e)||e.isConnected&&(delete e._x_ignoreSelf,delete e._x_ignore,I.forEach((t=>t(e))),e._x_ignore=!0,e._x_ignoreSelf=!0);t.forEach((e=>{delete e._x_ignoreSelf,delete e._x_ignore})),t=null,n=null,r=null,i=null}function X(e,t,n){return e._x_dataStack=[t,...Z(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter((e=>e!==t))}}function J(e,t){let n=e._x_dataStack[0];Object.entries(t).forEach((([e,t])=>{n[e]=t}))}function Z(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?Z(e.host):e.parentNode?Z(e.parentNode):[]}function Q(e){let t=new Proxy({},{ownKeys:()=>Array.from(new Set(e.flatMap((e=>Object.keys(e))))),has:(t,n)=>e.some((e=>e.hasOwnProperty(n))),get:(n,r)=>(e.find((e=>{if(e.hasOwnProperty(r)){let n=Object.getOwnPropertyDescriptor(e,r);if(n.get&&n.get._x_alreadyBound||n.set&&n.set._x_alreadyBound)return!0;if((n.get||n.set)&&n.enumerable){let i=n.get,o=n.set,a=n;i=i&&i.bind(t),o=o&&o.bind(t),i&&(i._x_alreadyBound=!0),o&&(o._x_alreadyBound=!0),Object.defineProperty(e,r,{...a,get:i,set:o})}return!0}return!1}))||{})[r],set:(t,n,r)=>{let i=e.find((e=>e.hasOwnProperty(n)));return i?i[n]=r:e[e.length-1][n]=r,!0}});return t}function ee(e){let t=(n,r="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach((([i,{value:o,enumerable:a}])=>{if(!1===a||void 0===o)return;let s=""===r?i:`${r}.${i}`;var c;"object"==typeof o&&null!==o&&o._x_interceptor?n[i]=o.initialize(e,s,i):"object"!=typeof(c=o)||Array.isArray(c)||null===c||o===n||o instanceof Element||t(o,s)}))};return t(e)}function te(e,t=(()=>{})){let n={initialValue:void 0,_x_interceptor:!0,initialize(t,n,r){return e(this.initialValue,(()=>function(e,t){return t.split(".").reduce(((e,t)=>e[t]),e)}(t,n)),(e=>ne(t,n,e)),n,r)}};return t(n),e=>{if("object"==typeof e&&null!==e&&e._x_interceptor){let t=n.initialize.bind(n);n.initialize=(r,i,o)=>{let a=e.initialize(r,i,o);return n.initialValue=a,t(r,i,o)}}else n.initialValue=e;return n}}function ne(e,t,n){if("string"==typeof t&&(t=t.split(".")),1!==t.length){if(0===t.length)throw error;return e[t[0]]||(e[t[0]]={}),ne(e[t[0]],t.slice(1),n)}e[t[0]]=n}var re={};function ie(e,t){re[e]=t}function oe(e,t){return Object.entries(re).forEach((([n,r])=>{Object.defineProperty(e,`$${n}`,{get:()=>r(t,{Alpine:ft,interceptor:te}),enumerable:!1})})),e}function ae(e,t,n,...r){try{return n(...r)}catch(n){se(n,e,t)}}function se(e,t,n){Object.assign(e,{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}\n\n${n?'Expression: "'+n+'"\n\n':""}`,t),setTimeout((()=>{throw e}),0)}function ce(e,t,n={}){let r;return ue(e,t)((e=>r=e),n),r}function ue(...e){return le(...e)}var le=fe;function fe(e,t){let n={};oe(n,e);let r=[n,...Z(e)];if("function"==typeof t)return function(e,t){return(n=(()=>{}),{scope:r={},params:i=[]}={})=>{de(n,t.apply(Q([r,...e]),i))}}(r,t);let i=function(e,t,n){let r=function(e,t){if(pe[e])return pe[e];let n=Object.getPrototypeOf((async function(){})).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e)||/^(let|const)\s/.test(e)?`(() => { ${e} })()`:e;let i=(()=>{try{return new n(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`)}catch(n){return se(n,t,e),Promise.resolve()}})();return pe[e]=i,i}(t,n);return(i=(()=>{}),{scope:o={},params:a=[]}={})=>{r.result=void 0,r.finished=!1;let s=Q([o,...e]);if("function"==typeof r){let e=r(r,s).catch((e=>se(e,n,t)));r.finished?(de(i,r.result,s,a,n),r.result=void 0):e.then((e=>{de(i,e,s,a,n)})).catch((e=>se(e,n,t))).finally((()=>r.result=void 0))}}}(r,t,e);return ae.bind(null,e,t,i)}var pe={};function de(e,t,n,r,i){if("function"==typeof t){let o=t.apply(n,r);o instanceof Promise?o.then((t=>de(e,t,n,r))).catch((e=>se(e,i,t))):e(o)}else e(t)}var he="x-";function me(e=""){return he+e}var ge={};function ve(e,t){ge[e]=t}function ye(e,t,n){let r={},i=Array.from(t).map(Oe(((e,t)=>r[e]=t))).filter(Se).map(function(e,t){return({name:n,value:r})=>{let i=n.match(Ae()),o=n.match(/:([a-zA-Z0-9\-:]+)/),a=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],s=t||e[n]||n;return{type:i?i[1]:null,value:o?o[1]:null,modifiers:a.map((e=>e.replace(".",""))),expression:r,original:s}}}(r,n)).sort(je);return i.map((t=>function(e,t){let n=()=>{},r=ge[t.type]||n,i=[],o=e=>i.push(e),[a,s]=function(e){let t=()=>{};return[n=>{let r=m(n);e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach((e=>e()))}),e._x_effects.add(r),t=()=>{void 0!==r&&(e._x_effects.delete(r),g(r))}},()=>{t()}]}(e);i.push(s);let c={Alpine:ft,effect:a,cleanup:o,evaluateLater:ue.bind(ue,e),evaluate:ce.bind(ce,e)},u=()=>i.forEach((e=>e()));!function(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}(e,t.original,u);let l=()=>{e._x_ignore||e._x_ignoreSelf||(r.inline&&r.inline(e,t,c),r=r.bind(r,e,t,c),be?we.get(xe).push(r):r())};return l.runCleanups=u,l}(e,t)))}var be=!1,we=new Map,xe=Symbol();var _e=(e,t)=>({name:n,value:r})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:r});function Oe(e=(()=>{})){return({name:t,value:n})=>{let{name:r,value:i}=Ee.reduce(((e,t)=>t(e)),{name:t,value:n});return r!==t&&e(r,t),{name:r,value:i}}}var Ee=[];function ke(e){Ee.push(e)}function Se({name:e}){return Ae().test(e)}var Ae=()=>new RegExp(`^${he}([^:^.]+)\\b`);var Te="DEFAULT",Ce=["ignore","ref","data","id","bind","init","for","model","transition","show","if",Te,"teleport","element"];function je(e,t){let n=-1===Ce.indexOf(e.type)?Te:e.type,r=-1===Ce.indexOf(t.type)?Te:t.type;return Ce.indexOf(n)-Ce.indexOf(r)}function Le(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}var Pe=[],De=!1;function Me(e){Pe.push(e),queueMicrotask((()=>{De||setTimeout((()=>{Re()}))}))}function Re(){for(De=!1;Pe.length;)Pe.shift()()}function $e(e,t){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEach((e=>$e(e,t)));let n=!1;if(t(e,(()=>n=!0)),n)return;let r=e.firstElementChild;for(;r;)$e(r,t),r=r.nextElementSibling}function Ne(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var Ie=[],We=[];function ze(){return Ie.map((e=>e()))}function He(){return Ie.concat(We).map((e=>e()))}function Ve(e){Ie.push(e)}function Be(e){We.push(e)}function Ge(e,t=!1){return qe(e,(e=>{if((t?He():ze()).some((t=>e.matches(t))))return!0}))}function qe(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),e.parentElement)return qe(e.parentElement,t)}}function Fe(e,t=$e){!function(e){be=!0;let t=Symbol();xe=t,we.set(t,[]);let n=()=>{for(;we.get(t).length;)we.get(t).shift()();we.delete(t)};e(n),be=!1,n()}((()=>{t(e,((e,t)=>{ye(e,e.attributes).forEach((e=>e())),e._x_ignore&&t()}))}))}function Ue(e,t){return Array.isArray(t)?Ye(e,t.join(" ")):"object"==typeof t&&null!==t?function(e,t){let n=e=>e.split(" ").filter(Boolean),r=Object.entries(t).flatMap((([e,t])=>!!t&&n(e))).filter(Boolean),i=Object.entries(t).flatMap((([e,t])=>!t&&n(e))).filter(Boolean),o=[],a=[];return i.forEach((t=>{e.classList.contains(t)&&(e.classList.remove(t),a.push(t))})),r.forEach((t=>{e.classList.contains(t)||(e.classList.add(t),o.push(t))})),()=>{a.forEach((t=>e.classList.add(t))),o.forEach((t=>e.classList.remove(t)))}}(e,t):"function"==typeof t?Ue(e,t()):Ye(e,t)}function Ye(e,t){return t=!0===t?t="":t||"",n=t.split(" ").filter((t=>!e.classList.contains(t))).filter(Boolean),e.classList.add(...n),()=>{e.classList.remove(...n)};var n}function Ke(e,t){return"object"==typeof t&&null!==t?function(e,t){let n={};return Object.entries(t).forEach((([t,r])=>{n[t]=e.style[t],e.style.setProperty(t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r)})),setTimeout((()=>{0===e.style.length&&e.removeAttribute("style")})),()=>{Ke(e,n)}}(e,t):function(e,t){let n=e.getAttribute("style",t);return e.setAttribute("style",t),()=>{e.setAttribute("style",n)}}(e,t)}function Xe(e,t=(()=>{})){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}function Je(e,t,n={}){e._x_transition||(e._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(n=(()=>{}),r=(()=>{})){Qe(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,r)},out(n=(()=>{}),r=(()=>{})){Qe(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,r)}})}function Ze(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:Ze(t)}function Qe(e,t,{during:n,start:r,end:i}={},o=(()=>{}),a=(()=>{})){if(e._x_transitioning&&e._x_transitioning.cancel(),0===Object.keys(n).length&&0===Object.keys(r).length&&0===Object.keys(i).length)return o(),void a();let s,c,u;!function(e,t){let n,r,i,o=Xe((()=>{F((()=>{n=!0,r||t.before(),i||(t.end(),Re()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning}))}));e._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:Xe((function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()})),finish:o},F((()=>{t.start(),t.during()})),De=!0,requestAnimationFrame((()=>{if(n)return;let o=1e3*Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s","")),a=1e3*Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""));0===o&&(o=1e3*Number(getComputedStyle(e).animationDuration.replace("s",""))),F((()=>{t.before()})),r=!0,requestAnimationFrame((()=>{n||(F((()=>{t.end()})),Re(),setTimeout(e._x_transitioning.finish,o+a),i=!0)}))}))}(e,{start(){s=t(e,r)},during(){c=t(e,n)},before:o,end(){s(),u=t(e,i)},after:a,cleanup(){c(),u()}})}function et(e,t,n){if(-1===e.indexOf(t))return n;const r=e[e.indexOf(t)+1];if(!r)return n;if("scale"===t&&isNaN(r))return n;if("duration"===t){let e=r.match(/([0-9]+)ms/);if(e)return e[1]}return"origin"===t&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[r,e[e.indexOf(t)+2]].join(" "):r}ve("transition",((e,{value:t,modifiers:n,expression:r},{evaluate:i})=>{"function"==typeof r&&(r=i(r)),r?function(e,t,n){Je(e,Ue,""),{enter:t=>{e._x_transition.enter.during=t},"enter-start":t=>{e._x_transition.enter.start=t},"enter-end":t=>{e._x_transition.enter.end=t},leave:t=>{e._x_transition.leave.during=t},"leave-start":t=>{e._x_transition.leave.start=t},"leave-end":t=>{e._x_transition.leave.end=t}}[n](t)}(e,r,t):function(e,t,n){Je(e,Ke);let r=!t.includes("in")&&!t.includes("out")&&!n,i=r||t.includes("in")||["enter"].includes(n),o=r||t.includes("out")||["leave"].includes(n);t.includes("in")&&!r&&(t=t.filter(((e,n)=>n<t.indexOf("out"))));t.includes("out")&&!r&&(t=t.filter(((e,n)=>n>t.indexOf("out"))));let a=!t.includes("opacity")&&!t.includes("scale"),s=a||t.includes("opacity"),c=a||t.includes("scale"),u=s?0:1,l=c?et(t,"scale",95)/100:1,f=et(t,"delay",0),p=et(t,"origin","center"),d="opacity, transform",h=et(t,"duration",150)/1e3,m=et(t,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";i&&(e._x_transition.enter.during={transformOrigin:p,transitionDelay:f,transitionProperty:d,transitionDuration:`${h}s`,transitionTimingFunction:g},e._x_transition.enter.start={opacity:u,transform:`scale(${l})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"});o&&(e._x_transition.leave.during={transformOrigin:p,transitionDelay:f,transitionProperty:d,transitionDuration:`${m}s`,transitionTimingFunction:g},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:u,transform:`scale(${l})`})}(e,n,t)})),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,r){let i=()=>{"visible"===document.visibilityState?requestAnimationFrame(n):setTimeout(n)};t?e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):i():e._x_transition?e._x_transition.in(n):i():(e._x_hidePromise=e._x_transition?new Promise(((t,n)=>{e._x_transition.out((()=>{}),(()=>t(r))),e._x_transitioning.beforeCancel((()=>n({isFromCancelledTransition:!0})))})):Promise.resolve(r),queueMicrotask((()=>{let t=Ze(e);t?(t._x_hideChildren||(t._x_hideChildren=[]),t._x_hideChildren.push(e)):queueMicrotask((()=>{let t=e=>{let n=Promise.all([e._x_hidePromise,...(e._x_hideChildren||[]).map(t)]).then((([e])=>e()));return delete e._x_hidePromise,delete e._x_hideChildren,n};t(e).catch((e=>{if(!e.isFromCancelledTransition)throw e}))}))})))};var tt=!1;function nt(e,t=(()=>{})){return(...n)=>tt?t(...n):e(...n)}function rt(e,t){var n;return function(){var r=this,i=arguments,o=function(){n=null,e.apply(r,i)};clearTimeout(n),n=setTimeout(o,t)}}function it(e,t){let n;return function(){let r=this,i=arguments;n||(e.apply(r,i),n=!0,setTimeout((()=>n=!1),t))}}var ot={},at=!1;var st={};var ct,ut,lt={get reactive(){return h},get release(){return g},get effect(){return m},get raw(){return v},version:"3.7.0",flushAndStopDeferringMutations:function(){U=!1,K(Y),Y=[]},disableEffectScheduling:function(e){M=!1,e(),M=!0},setReactivityEngine:function(e){h=e.reactive,g=e.release,m=t=>e.effect(t,{scheduler:e=>{M?P(e):e()}}),v=e.raw},closestDataStack:Z,skipDuringClone:nt,addRootSelector:Ve,addInitSelector:Be,addScopeToNode:X,deferMutations:function(){U=!0},mapAttributes:ke,evaluateLater:ue,setEvaluator:function(e){le=e},mergeProxies:Q,closestRoot:Ge,interceptor:te,transition:Qe,setStyles:Ke,mutateDom:F,directive:ve,throttle:it,debounce:rt,evaluate:ce,initTree:Fe,nextTick:Me,prefixed:me,prefix:function(e){he=e},plugin:function(e){e(ft)},magic:ie,store:function(e,t){if(at||(ot=h(ot),at=!0),void 0===t)return ot[e];ot[e]=t,"object"==typeof t&&null!==t&&t.hasOwnProperty("init")&&"function"==typeof t.init&&ot[e].init(),ee(ot[e])},start:function(){var e;document.body||Ne("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),Le(document,"alpine:init"),Le(document,"alpine:initializing"),V(),e=e=>Fe(e,$e),I.push(e),function(e){N.push(e)}((e=>{$e(e,(e=>W(e)))})),function(e){$.push(e)}(((e,t)=>{ye(e,t).forEach((e=>e()))})),Array.from(document.querySelectorAll(He())).filter((e=>!Ge(e.parentElement,!0))).forEach((e=>{Fe(e)})),Le(document,"alpine:initialized")},clone:function(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),tt=!0,function(e){let t=m;R(((e,n)=>{let r=t(e);return g(r),()=>{}})),e(),R(t)}((()=>{!function(e){let t=!1;Fe(e,((e,n)=>{$e(e,((e,r)=>{if(t&&function(e){return ze().some((t=>e.matches(t)))}(e))return r();t=!0,n(e,r)}))}))}(t)})),tt=!1},data:function(e,t){st[e]=t}},ft=lt,pt=(ct=T(),((e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of _(t))x.call(e,r)||"default"===r||b(e,r,{get:()=>t[r],enumerable:!(n=O(t,r))||n.enumerable});return e})((ut=b(null!=ct?y(w(ct)):{},"default",ct&&ct.__esModule&&"default"in ct?{get:()=>ct.default,enumerable:!0}:{value:ct,enumerable:!0}),b(ut,"__esModule",{value:!0})),ct));ie("nextTick",(()=>Me)),ie("dispatch",(e=>Le.bind(Le,e))),ie("watch",(e=>(t,n)=>{let r,i=ue(e,t),o=!0;m((()=>i((e=>{document.createElement("div").dataset.throwAway=e,o?r=e:queueMicrotask((()=>{n(e,r),r=e})),o=!1}))))})),ie("store",(function(){return ot})),ie("data",(e=>Q(Z(e)))),ie("root",(e=>Ge(e))),ie("refs",(e=>(e._x_refs_proxy||(e._x_refs_proxy=Q(function(e){let t=[],n=e;for(;n;)n._x_refs&&t.push(n._x_refs),n=n.parentNode;return t}(e))),e._x_refs_proxy)));var dt={};function ht(e){return dt[e]||(dt[e]=0),++dt[e]}ie("id",(e=>(t,n=null)=>{let r=function(e,t){return qe(e,(e=>{if(e._x_ids&&e._x_ids[t])return!0}))}(e,t),i=r?r._x_ids[t]:ht(t);return new mt(n?`${t}-${i}-${n}`:`${t}-${i}`)}));var mt=class{constructor(e){this.id=e}toString(){return this.id}};ie("el",(e=>e)),ve("teleport",((e,{expression:t},{cleanup:n})=>{let r=document.querySelector(t),i=e.content.cloneNode(!0).firstElementChild;e._x_teleport=i,i._x_teleportBack=e,e._x_forwardEvents&&e._x_forwardEvents.forEach((t=>{i.addEventListener(t,(t=>{t.stopPropagation(),e.dispatchEvent(new t.constructor(t.type,t))}))})),X(i,{},e),F((()=>{r.appendChild(i),Fe(i),i._x_ignore=!0})),n((()=>i.remove()))}));var gt=()=>{};function vt(e,t,n,r=[]){switch(e._x_bindings||(e._x_bindings=h({})),e._x_bindings[t]=n,t=r.includes("camel")?t.toLowerCase().replace(/-(\w)/g,((e,t)=>t.toUpperCase())):t){case"value":!function(e,t){if("radio"===e.type)void 0===e.attributes.value&&(e.value=t),window.fromModel&&(e.checked=yt(e.value,t));else if("checkbox"===e.type)Number.isInteger(t)?e.value=t:Number.isInteger(t)||Array.isArray(t)||"boolean"==typeof t||[null,void 0].includes(t)?Array.isArray(t)?e.checked=t.some((t=>yt(t,e.value))):e.checked=!!t:e.value=String(t);else if("SELECT"===e.tagName)!function(e,t){const n=[].concat(t).map((e=>e+""));Array.from(e.options).forEach((e=>{e.selected=n.includes(e.value)}))}(e,t);else{if(e.value===t)return;e.value=t}}(e,n);break;case"style":!function(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles();e._x_undoAddedStyles=Ke(e,t)}(e,n);break;case"class":!function(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses();e._x_undoAddedClasses=Ue(e,t)}(e,n);break;default:!function(e,t,n){[null,void 0,!1].includes(n)&&function(e){return!["aria-pressed","aria-checked","aria-expanded"].includes(e)}(t)?e.removeAttribute(t):(["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(t)&&(n=t),function(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}(e,t,n))}(e,t,n)}}function yt(e,t){return e==t}function bt(e,t,n,r){let i=e,o=e=>r(e),a={},s=(e,t)=>n=>t(e,n);if(n.includes("dot")&&(t=t.replace(/-/g,".")),n.includes("camel")&&(t=function(e){return e.toLowerCase().replace(/-(\w)/g,((e,t)=>t.toUpperCase()))}(t)),n.includes("passive")&&(a.passive=!0),n.includes("capture")&&(a.capture=!0),n.includes("window")&&(i=window),n.includes("document")&&(i=document),n.includes("prevent")&&(o=s(o,((e,t)=>{t.preventDefault(),e(t)}))),n.includes("stop")&&(o=s(o,((e,t)=>{t.stopPropagation(),e(t)}))),n.includes("self")&&(o=s(o,((t,n)=>{n.target===e&&t(n)}))),(n.includes("away")||n.includes("outside"))&&(i=document,o=s(o,((t,n)=>{e.contains(n.target)||e.offsetWidth<1&&e.offsetHeight<1||!1!==e._x_isShown&&t(n)}))),o=s(o,((e,r)=>{(function(e){return["keydown","keyup"].includes(e)})(t)&&function(e,t){let n=t.filter((e=>!["window","document","prevent","stop","once"].includes(e)));if(n.includes("debounce")){let e=n.indexOf("debounce");n.splice(e,wt((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(0===n.length)return!1;if(1===n.length&&xt(e.key).includes(n[0]))return!1;const r=["ctrl","shift","alt","meta","cmd","super"].filter((e=>n.includes(e)));if(n=n.filter((e=>!r.includes(e))),r.length>0){if(r.filter((t=>("cmd"!==t&&"super"!==t||(t="meta"),e[`${t}Key`]))).length===r.length&&xt(e.key).includes(n[0]))return!1}return!0}(r,n)||e(r)})),n.includes("debounce")){let e=n[n.indexOf("debounce")+1]||"invalid-wait",t=wt(e.split("ms")[0])?Number(e.split("ms")[0]):250;o=rt(o,t)}if(n.includes("throttle")){let e=n[n.indexOf("throttle")+1]||"invalid-wait",t=wt(e.split("ms")[0])?Number(e.split("ms")[0]):250;o=it(o,t)}return n.includes("once")&&(o=s(o,((e,n)=>{e(n),i.removeEventListener(t,o,a)}))),i.addEventListener(t,o,a),()=>{i.removeEventListener(t,o,a)}}function wt(e){return!Array.isArray(e)&&!isNaN(e)}function xt(e){if(!e)return[];e=e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase();let t={ctrl:"control",slash:"/",space:"-",spacebar:"-",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",equal:"="};return t[e]=e,Object.keys(t).map((n=>{if(t[n]===e)return n})).filter((e=>e))}function _t(e){let t=e?parseFloat(e):null;return n=t,Array.isArray(n)||isNaN(n)?e:t;var n}function Ot(e,t,n,r){let i={};if(/^\[.*\]$/.test(e.item)&&Array.isArray(t)){e.item.replace("[","").replace("]","").split(",").map((e=>e.trim())).forEach(((e,n)=>{i[e]=t[n]}))}else if(/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&"object"==typeof t){e.item.replace("{","").replace("}","").split(",").map((e=>e.trim())).forEach((e=>{i[e]=t[e]}))}else i[e.item]=t;return e.index&&(i[e.index]=n),e.collection&&(i[e.collection]=r),i}function Et(){}gt.inline=(e,{modifiers:t},{cleanup:n})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,n((()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore}))},ve("ignore",gt),ve("effect",((e,{expression:t},{effect:n})=>n(ue(e,t)))),ve("model",((e,{modifiers:t,expression:n},{effect:r,cleanup:i})=>{let o=ue(e,n),a=ue(e,`${n} = rightSideOfExpression($event, ${n})`);var s="select"===e.tagName.toLowerCase()||["checkbox","radio"].includes(e.type)||t.includes("lazy")?"change":"input";let c=function(e,t,n){"radio"===e.type&&F((()=>{e.hasAttribute("name")||e.setAttribute("name",n)}));return(n,r)=>F((()=>{if(n instanceof CustomEvent&&void 0!==n.detail)return n.detail||n.target.value;if("checkbox"===e.type){if(Array.isArray(r)){let e=t.includes("number")?_t(n.target.value):n.target.value;return n.target.checked?r.concat([e]):r.filter((t=>!(t==e)))}return n.target.checked}if("select"===e.tagName.toLowerCase()&&e.multiple)return t.includes("number")?Array.from(n.target.selectedOptions).map((e=>_t(e.value||e.text))):Array.from(n.target.selectedOptions).map((e=>e.value||e.text));{let e=n.target.value;return t.includes("number")?_t(e):t.includes("trim")?e.trim():e}}))}(e,t,n),u=bt(e,s,t,(e=>{a((()=>{}),{scope:{$event:e,rightSideOfExpression:c}})}));i((()=>u()));let l=ue(e,`${n} = __placeholder`);e._x_model={get(){let e;return o((t=>e=t)),e},set(e){l((()=>{}),{scope:{__placeholder:e}})}},e._x_forceModelUpdate=()=>{o((t=>{void 0===t&&n.match(/\./)&&(t=""),window.fromModel=!0,F((()=>vt(e,"value",t))),delete window.fromModel}))},r((()=>{t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate()}))})),ve("cloak",(e=>queueMicrotask((()=>F((()=>e.removeAttribute(me("cloak")))))))),Be((()=>`[${me("init")}]`)),ve("init",nt(((e,{expression:t})=>"string"==typeof t?!!t.trim()&&ce(e,t,{}):ce(e,t,{})))),ve("text",((e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n((()=>{i((t=>{F((()=>{e.textContent=t}))}))}))})),ve("html",((e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n((()=>{i((t=>{e.innerHTML=t}))}))})),ke(_e(":",me("bind:"))),ve("bind",((e,{value:t,modifiers:n,expression:r,original:i},{effect:o})=>{if(!t)return function(e,t,n,r){let i=ue(e,t),o=[];r((()=>{for(;o.length;)o.pop()();i((t=>{let r=Object.entries(t).map((([e,t])=>({name:e,value:t})));r=r.filter((e=>!("object"==typeof e.value&&!Array.isArray(e.value)&&null!==e.value)));let i=function(e){return Array.from(e).map(Oe()).filter((e=>!Se(e)))}(r);r=r.map((e=>i.find((t=>t.name===e.name))?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e)),ye(e,r,n).map((e=>{o.push(e.runCleanups),e()}))}))}))}(e,r,i,o);if("key"===t)return function(e,t){e._x_keyExpression=t}(e,r);let a=ue(e,r);o((()=>a((i=>{void 0===i&&r.match(/\./)&&(i=""),F((()=>vt(e,t,i,n)))}))))})),Ve((()=>`[${me("data")}]`)),ve("data",nt(((e,{expression:t},{cleanup:n})=>{t=""===t?"{}":t;let r={};oe(r,e);let i={};var o,a;o=i,a=r,Object.entries(st).forEach((([e,t])=>{Object.defineProperty(o,e,{get:()=>(...e)=>t.bind(a)(...e),enumerable:!1})}));let s=ce(e,t,{scope:i});void 0===s&&(s={}),oe(s,e);let c=h(s);ee(c);let u=X(e,c);c.init&&ce(e,c.init),n((()=>{u(),c.destroy&&ce(e,c.destroy)}))}))),ve("show",((e,{modifiers:t,expression:n},{effect:r})=>{let i,o=ue(e,n),a=()=>F((()=>{e.style.display="none",e._x_isShown=!1})),s=()=>F((()=>{1===e.style.length&&"none"===e.style.display?e.removeAttribute("style"):e.style.removeProperty("display"),e._x_isShown=!0})),c=()=>setTimeout(s),u=Xe((e=>e?s():a()),(t=>{"function"==typeof e._x_toggleAndCascadeWithTransitions?e._x_toggleAndCascadeWithTransitions(e,t,s,a):t?c():a()})),l=!0;r((()=>o((e=>{(l||e!==i)&&(t.includes("immediate")&&(e?c():a()),u(e),i=e,l=!1)}))))})),ve("for",((e,{expression:t},{effect:n,cleanup:r})=>{let i=function(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,n=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,i=e.match(r);if(!i)return;let o={};o.items=i[2].trim();let a=i[1].replace(n,"").trim(),s=a.match(t);s?(o.item=a.replace(t,"").trim(),o.index=s[1].trim(),s[2]&&(o.collection=s[2].trim())):o.item=a;return o}(t),o=ue(e,i.items),a=ue(e,e._x_keyExpression||"index");e._x_prevKeys=[],e._x_lookup={},n((()=>function(e,t,n,r){let i=e=>"object"==typeof e&&!Array.isArray(e),o=e;n((n=>{var a;a=n,!Array.isArray(a)&&!isNaN(a)&&n>=0&&(n=Array.from(Array(n).keys(),(e=>e+1))),void 0===n&&(n=[]);let s=e._x_lookup,c=e._x_prevKeys,u=[],l=[];if(i(n))n=Object.entries(n).map((([e,i])=>{let o=Ot(t,i,e,n);r((e=>l.push(e)),{scope:{index:e,...o}}),u.push(o)}));else for(let e=0;e<n.length;e++){let i=Ot(t,n[e],e,n);r((e=>l.push(e)),{scope:{index:e,...i}}),u.push(i)}let f=[],p=[],d=[],m=[];for(let e=0;e<c.length;e++){let t=c[e];-1===l.indexOf(t)&&d.push(t)}c=c.filter((e=>!d.includes(e)));let g="template";for(let e=0;e<l.length;e++){let t=l[e],n=c.indexOf(t);if(-1===n)c.splice(e,0,t),f.push([g,e]);else if(n!==e){let t=c.splice(e,1)[0],r=c.splice(n-1,1)[0];c.splice(e,0,r),c.splice(n,0,t),p.push([t,r])}else m.push(t);g=t}for(let e=0;e<d.length;e++){let t=d[e];s[t].remove(),s[t]=null,delete s[t]}for(let e=0;e<p.length;e++){let[t,n]=p[e],r=s[t],i=s[n],o=document.createElement("div");F((()=>{i.after(o),r.after(i),i._x_currentIfEl&&i.after(i._x_currentIfEl),o.before(r),r._x_currentIfEl&&r.after(r._x_currentIfEl),o.remove()})),J(i,u[l.indexOf(n)])}for(let e=0;e<f.length;e++){let[t,n]=f[e],r="template"===t?o:s[t];r._x_currentIfEl&&(r=r._x_currentIfEl);let i=u[n],a=l[n],c=document.importNode(o.content,!0).firstElementChild;X(c,h(i),o),F((()=>{r.after(c),Fe(c)})),"object"==typeof a&&Ne("x-for key cannot be an object, it must be a string or an integer",o),s[a]=c}for(let e=0;e<m.length;e++)J(s[m[e]],u[l.indexOf(m[e])]);o._x_prevKeys=l}))}(e,i,o,a))),r((()=>{Object.values(e._x_lookup).forEach((e=>e.remove())),delete e._x_prevKeys,delete e._x_lookup}))})),Et.inline=(e,{expression:t},{cleanup:n})=>{let r=Ge(e);r._x_refs||(r._x_refs={}),r._x_refs[t]=e,n((()=>delete r._x_refs[t]))},ve("ref",Et),ve("if",((e,{expression:t},{effect:n,cleanup:r})=>{let i=ue(e,t);n((()=>i((t=>{t?(()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let t=e.content.cloneNode(!0).firstElementChild;X(t,{},e),F((()=>{e.after(t),Fe(t)})),e._x_currentIfEl=t,e._x_undoIf=()=>{t.remove(),delete e._x_currentIfEl}})():e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)})))),r((()=>e._x_undoIf&&e._x_undoIf()))})),ve("id",((e,{expression:t},{evaluate:n})=>{n(t).forEach((t=>function(e,t){e._x_ids||(e._x_ids={}),e._x_ids[t]||(e._x_ids[t]=ht(t))}(e,t)))})),ke(_e("@",me("on:"))),ve("on",nt(((e,{value:t,modifiers:n,expression:r},{cleanup:i})=>{let o=r?ue(e,r):()=>{};"template"===e.tagName.toLowerCase()&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let a=bt(e,t,n,(e=>{o((()=>{}),{scope:{$event:e},params:[e]})}));i((()=>a()))}))),ft.setEvaluator(fe),ft.setReactivityEngine({reactive:pt.reactive,effect:pt.effect,release:pt.stop,raw:pt.toRaw});var kt=ft;var St,At,Tt,Ct,jt,Lt,Pt,Dt,Mt,Rt=function(e){let t=()=>{let t,n=localStorage;return e.interceptor(((r,i,o,a,s)=>{let c=t||`_x_${a}`,u=function(e,t){return null!==t.getItem(e)}(c,n)?function(e,t){return JSON.parse(t.getItem(e,t))}(c,n):r;return o(u),e.effect((()=>{let e=i();!function(e,t,n){n.setItem(e,JSON.stringify(t))}(c,e,n),o(e)})),u}),(e=>{e.as=n=>(t=n,e),e.using=t=>(n=t,e)}))};Object.defineProperty(e,"$persist",{get:()=>t()}),e.magic("persist",t)},$t=()=>{},Nt=()=>{};function It(e){if(Mt)return e&&Nt(e.replace("\n","\\n")),new Promise((e=>$t=()=>e()))}async function Wt(e,t,n){!function(e={}){let t=e=>e.getAttribute("key");Tt=e.updating||zt,Ct=e.updated||zt,jt=e.removing||zt,Lt=e.removed||zt,Pt=e.adding||zt,Dt=e.added||zt,St=e.key||t,At=e.lookahead||!0,Mt=e.debug||!1}(n);let r=(i=t,document.createRange().createContextualFragment(i).firstElementChild);var i;return window.Alpine&&!e._x_dataStack&&(r._x_dataStack=window.Alpine.closestDataStack(e),r._x_dataStack&&window.Alpine.clone(e,r)),await It(),Ht(e,r),e}Wt.step=()=>$t(),Wt.log=e=>{Nt=e};var zt=()=>{};async function Ht(e,t){if(function(e,t){return e.nodeType!=t.nodeType||e.nodeName!=t.nodeName||Vt(e)!=Vt(t)}(e,t)){let n=function(e,t){if(Gt(jt,e))return;let n=t.cloneNode(!0);if(Gt(Pt,n))return;Ut(e).replace(n),Lt(e),Dt(n)}(e,t);return await It("Swap elements"),n}let n=!1;if(!Gt(Tt,e,t,(()=>n=!0))){if(window.Alpine&&function(e,t,n){if(1!==e.nodeType)return;e._x_dataStack&&window.Alpine.clone(e,t)}(e,t),function(e){return 3===e.nodeType||8===e.nodeType}(t))return await async function(e,t){let n=t.nodeValue;e.nodeValue!==n&&(e.nodeValue=n,await It("Change text node to: "+n))}(e,t),void Ct(e,t);n||await async function(e,t){if(e._x_isShown&&!t._x_isShown)return;if(!e._x_isShown&&t._x_isShown)return;let n=Array.from(e.attributes),r=Array.from(t.attributes);for(let r=n.length-1;r>=0;r--){let i=n[r].name;t.hasAttribute(i)||(e.removeAttribute(i),await It("Remove attribute"))}for(let t=r.length-1;t>=0;t--){let n=r[t].name,i=r[t].value;e.getAttribute(n)!==i&&(e.setAttribute(n,i),await It(`Set [${n}] attribute to: "${i}"`))}}(e,t),Ct(e,t),await async function(e,t){let n=e.childNodes,r=(Bt(t.childNodes),Bt(n)),i=Ut(t).nodes().first(),o=Ut(e).nodes().first(),a={};for(;i;){let t=Vt(i),n=Vt(o);if(!o){if(!t||!a[t]){let t=qt(i,e);await It("Add element: "+t.outerHTML),i=Ut(i).nodes().next();continue}{let n=a[t];Ut.append(e,n),o=n,await It("Add element (from key)")}}if(At){let e=Ut(i).next();e&&o.isEqualNode(e)&&(o=Ft(i,o),n=Vt(o),await It("Move element (lookahead)"))}if(t!==n){if(!t&&n){a[n]=o,o=Ft(i,o),a[n].remove(),o=Ut(o).nodes.next(),i=Ut(i).nodes.next(),await It('No "to" key');continue}if(t&&!n&&r[t]&&(o=Ut(o).replace(r[t]),await It('No "from" key')),t&&n){a[n]=o;let e=r[t];if(!e){a[n]=o,o=Ft(i,o),a[n].remove(),o=Ut(o).next(),i=Ut(i).next(),await It("I dont even know what this does");continue}o=Ut(o).replace(e),await It('Move "from" key')}}await Ht(o,i),i=i&&Ut(i).next(),o=o&&Ut(o).next()}for(;o;){if(!Gt(jt,o)){let e=o;e.remove(),await It("remove el"),Lt(e)}o=Ut(o).nodes().next()}}(e,t)}}function Vt(e){return e&&1===e.nodeType&&St(e)}function Bt(e){let t={};return e.forEach((e=>{let n=Vt(e);n&&(t[n]=e)})),t}function Gt(e,...t){let n=!1;return e(...t,(()=>n=!0)),n}function qt(e,t){if(!Gt(Pt,e)){let n=e.cloneNode(!0);return Ut(t).append(n),Dt(n),n}}function Ft(e,t){if(!Gt(Pt,e)){let n=e.cloneNode(!0);return Ut(t).before(n),Dt(n),n}return t}function Ut(e){return new Yt(e)}var Yt=class{el=void 0;constructor(e){this.el=e}traversals={first:"firstElementChild",next:"nextElementSibling",parent:"parentElement"};nodes(){return this.traversals={first:"firstChild",next:"nextSibling",parent:"parentNode"},this}first(){return this.teleportTo(this.el[this.traversals.first])}next(){return this.teleportTo(this.teleportBack(this.el[this.traversals.next]))}before(e){return this.el[this.traversals.parent].insertBefore(e,this.el),e}replace(e){return this.el[this.traversals.parent].replaceChild(e,this.el),e}append(e){return this.el.appendChild(e),e}teleportTo(e){return e&&e._x_teleport?e._x_teleport:e}teleportBack(e){return e&&e._x_teleportBack?e._x_teleportBack:e}};var Kt=function(e){e.morph=Wt},Xt=Object.create,Jt=Object.defineProperty,Zt=Object.getPrototypeOf,Qt=Object.prototype.hasOwnProperty,en=Object.getOwnPropertyNames,tn=Object.getOwnPropertyDescriptor,nn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),rn=nn((e=>{function t(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function n(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function r(e){var t=n(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function i(e){return e instanceof n(e).Element||e instanceof Element}function o(e){return e instanceof n(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof n(e).ShadowRoot||e instanceof ShadowRoot)}function s(e){return e?(e.nodeName||"").toLowerCase():null}function c(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function u(e){return t(c(e)).left+r(e).scrollLeft}function l(e){return n(e).getComputedStyle(e)}function f(e){var t=l(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function p(e,i,a){void 0===a&&(a=!1);var l,p,d=c(i),h=t(e),m=o(i),g={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(m||!m&&!a)&&(("body"!==s(i)||f(d))&&(g=(l=i)!==n(l)&&o(l)?{scrollLeft:(p=l).scrollLeft,scrollTop:p.scrollTop}:r(l)),o(i)?((v=t(i)).x+=i.clientLeft,v.y+=i.clientTop):d&&(v.x=u(d))),{x:h.left+g.scrollLeft-v.x,y:h.top+g.scrollTop-v.y,width:h.width,height:h.height}}function d(e){var n=t(e),r=e.offsetWidth,i=e.offsetHeight;return Math.abs(n.width-r)<=1&&(r=n.width),Math.abs(n.height-i)<=1&&(i=n.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:i}}function h(e){return"html"===s(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||c(e)}function m(e){return["html","body","#document"].indexOf(s(e))>=0?e.ownerDocument.body:o(e)&&f(e)?e:m(h(e))}function g(e,t){var r;void 0===t&&(t=[]);var i=m(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=n(i),s=o?[a].concat(a.visualViewport||[],f(i)?i:[]):i,c=t.concat(s);return o?c:c.concat(g(h(s)))}function v(e){return["table","td","th"].indexOf(s(e))>=0}function y(e){return o(e)&&"fixed"!==l(e).position?e.offsetParent:null}function b(e){for(var t=n(e),r=y(e);r&&v(r)&&"static"===l(r).position;)r=y(r);return r&&("html"===s(r)||"body"===s(r)&&"static"===l(r).position)?t:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&o(e)&&"fixed"===l(e).position)return null;for(var n=h(e);o(n)&&["html","body"].indexOf(s(n))<0;){var r=l(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}Object.defineProperty(e,"__esModule",{value:!0});var w="top",x="bottom",_="right",O="left",E="auto",k=[w,x,_,O],S="start",A="end",T="viewport",C="popper",j=k.reduce((function(e,t){return e.concat([t+"-"+S,t+"-"+A])}),[]),L=[].concat(k,[E]).reduce((function(e,t){return e.concat([t,t+"-"+S,t+"-"+A])}),[]),P=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function D(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}function M(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var R='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',$=["name","enabled","phase","fn","effect","requires","options"];function N(e){return e.split("-")[0]}var I=Math.max,W=Math.min,z=Math.round;function H(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function V(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function B(e,i){return i===T?V(function(e){var t=n(e),r=c(e),i=t.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;return i&&(o=i.width,a=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,l=i.offsetTop)),{width:o,height:a,x:s+u(e),y:l}}(e)):o(i)?function(e){var n=t(e);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}(i):V(function(e){var t,n=c(e),i=r(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=I(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=I(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),f=-i.scrollLeft+u(e),p=-i.scrollTop;return"rtl"===l(o||n).direction&&(f+=I(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:f,y:p}}(c(e)))}function G(e,t,n){var r="clippingParents"===t?function(e){var t=g(h(e)),n=["absolute","fixed"].indexOf(l(e).position)>=0&&o(e)?b(e):e;return i(n)?t.filter((function(e){return i(e)&&H(e,n)&&"body"!==s(e)})):[]}(e):[].concat(t),a=[].concat(r,[n]),c=a[0],u=a.reduce((function(t,n){var r=B(e,n);return t.top=I(r.top,t.top),t.right=W(r.right,t.right),t.bottom=W(r.bottom,t.bottom),t.left=I(r.left,t.left),t}),B(e,c));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function q(e){return e.split("-")[1]}function F(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function U(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?N(i):null,a=i?q(i):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case w:t={x:s,y:n.y-r.height};break;case x:t={x:s,y:n.y+n.height};break;case _:t={x:n.x+n.width,y:c};break;case O:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=o?F(o):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case S:t[u]=t[u]-(n[l]/2-r[l]/2);break;case A:t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}function Y(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function K(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function X(e,n){void 0===n&&(n={});var r=n,o=r.placement,a=void 0===o?e.placement:o,s=r.boundary,u=void 0===s?"clippingParents":s,l=r.rootBoundary,f=void 0===l?T:l,p=r.elementContext,d=void 0===p?C:p,h=r.altBoundary,m=void 0!==h&&h,g=r.padding,v=void 0===g?0:g,y=Y("number"!=typeof v?v:K(v,k)),b=d===C?"reference":C,O=e.elements.reference,E=e.rects.popper,S=e.elements[m?b:d],A=G(i(S)?S:S.contextElement||c(e.elements.popper),u,f),j=t(O),L=U({reference:j,element:E,strategy:"absolute",placement:a}),P=V(Object.assign({},E,L)),D=d===C?P:j,M={top:A.top-D.top+y.top,bottom:D.bottom-A.bottom+y.bottom,left:A.left-D.left+y.left,right:D.right-A.right+y.right},R=e.modifiersData.offset;if(d===C&&R){var $=R[a];Object.keys(M).forEach((function(e){var t=[_,x].indexOf(e)>=0?1:-1,n=[w,x].indexOf(e)>=0?"y":"x";M[e]+=$[n]*t}))}return M}var J="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Z={placement:"bottom",modifiers:[],strategy:"absolute"};function Q(){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)}))}function ee(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Z:o;return function(e,t,n){void 0===n&&(n=a);var o,s,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Z,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],f=!1,h={state:c,setOptions:function(n){m(),c.options=Object.assign({},a,c.options,n),c.scrollParents={reference:i(e)?g(e):e.contextElement?g(e.contextElement):[],popper:g(t)};var o,s,f,p=function(e){var t=D(e);return P.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,c.options.modifiers)));(c.orderedModifiers=p.filter((function(e){return e.enabled})),function(e){e.forEach((function(t){Object.keys(t).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(M(R,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(M(R,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));case"phase":P.indexOf(t.phase)<0&&console.error(M(R,t.name,'"phase"',"either "+P.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(M(R,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":"function"!=typeof t.effect&&console.error(M(R,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":Array.isArray(t.requires)||console.error(M(R,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(M(R,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+$.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(M('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((o=[].concat(p,c.options.modifiers),s=function(e){return e.name},f=new Set,o.filter((function(e){var t=s(e);if(!f.has(t))return f.add(t),!0})))),N(c.options.placement)===E)&&(c.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var d=l(t);return[d.marginTop,d.marginRight,d.marginBottom,d.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" ")),c.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:c,name:t,instance:h,options:r}),a=function(){};u.push(o||a)}})),h.update()},forceUpdate:function(){if(!f){var e=c.elements,t=e.reference,n=e.popper;if(Q(t,n)){c.rects={reference:p(t,b(n),"fixed"===c.options.strategy),popper:d(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0,i=0;i<c.orderedModifiers.length;i++){if((r+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==c.reset){var o=c.orderedModifiers[i],a=o.fn,s=o.options,u=void 0===s?{}:s,l=o.name;"function"==typeof a&&(c=a({state:c,options:u,name:l,instance:h})||c)}else c.reset=!1,i=-1}}else console.error(J)}},update:(o=function(){return new Promise((function(e){h.forceUpdate(),e(c)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){m(),f=!0}};if(!Q(e,t))return console.error(J),h;function m(){u.forEach((function(e){return e()})),u=[]}return h.setOptions(n).then((function(e){!f&&n.onFirstUpdate&&n.onFirstUpdate(e)})),h}}var te={passive:!0};var ne={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,i=e.options,o=i.scroll,a=void 0===o||o,s=i.resize,c=void 0===s||s,u=n(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach((function(e){e.addEventListener("scroll",r.update,te)})),c&&u.addEventListener("resize",r.update,te),function(){a&&l.forEach((function(e){e.removeEventListener("scroll",r.update,te)})),c&&u.removeEventListener("resize",r.update,te)}},data:{}};var re={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=U({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(e){var t,r=e.popper,i=e.popperRect,o=e.placement,a=e.offsets,s=e.position,u=e.gpuAcceleration,f=e.adaptive,p=e.roundOffsets,d=!0===p?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:z(z(t*r)/r)||0,y:z(z(n*r)/r)||0}}(a):"function"==typeof p?p(a):a,h=d.x,m=void 0===h?0:h,g=d.y,v=void 0===g?0:g,y=a.hasOwnProperty("x"),E=a.hasOwnProperty("y"),k=O,S=w,A=window;if(f){var T=b(r),C="clientHeight",j="clientWidth";T===n(r)&&"static"!==l(T=c(r)).position&&(C="scrollHeight",j="scrollWidth"),o===w&&(S=x,v-=T[C]-i.height,v*=u?1:-1),o===O&&(k=_,m-=T[j]-i.width,m*=u?1:-1)}var L,P=Object.assign({position:s},f&&ie);return u?Object.assign({},P,((L={})[S]=E?"0":"",L[k]=y?"0":"",L.transform=(A.devicePixelRatio||1)<2?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",L)):Object.assign({},P,((t={})[S]=E?v+"px":"",t[k]=y?m+"px":"",t.transform="",t))}var ae={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,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u=l(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return u.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));var f={placement:N(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,oe(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,oe(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var se={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];o(i)&&s(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]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});o(r)&&s(r)&&(Object.assign(r.style,a),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var ce={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,a=L.reduce((function(e,n){return e[n]=function(e,t,n){var r=N(e),i=[O,w].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[O,_].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},ue={left:"right",right:"left",bottom:"top",top:"bottom"};function le(e){return e.replace(/left|right|bottom|top/g,(function(e){return ue[e]}))}var fe={start:"end",end:"start"};function pe(e){return e.replace(/start|end/g,(function(e){return fe[e]}))}var de={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,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,g=t.options.placement,v=N(g),y=c||(v===g||!h?[le(g)]:function(e){if(N(e)===E)return[];var t=le(e);return[pe(e),t,pe(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(N(n)===E?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?L:c,l=q(r),f=l?s?j:j.filter((function(e){return q(e)===l})):k,p=f.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=f,console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=p.reduce((function(t,n){return t[n]=X(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[N(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),A=t.rects.reference,T=t.rects.popper,C=new Map,P=!0,D=b[0],M=0;M<b.length;M++){var R=b[M],$=N(R),I=q(R)===S,W=[w,x].indexOf($)>=0,z=W?"width":"height",H=X(t,{placement:R,boundary:l,rootBoundary:f,altBoundary:p,padding:u}),V=W?I?_:O:I?x:w;A[z]>T[z]&&(V=le(V));var B=le(V),G=[];if(o&&G.push(H[$]<=0),s&&G.push(H[V]<=0,H[B]<=0),G.every((function(e){return e}))){D=R,P=!1;break}C.set(R,G)}if(P)for(var F=function(e){var t=b.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return D=t,"break"},U=h?3:1;U>0;U--){if("break"===F(U))break}t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function he(e,t,n){return I(e,W(t,n))}var me={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,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,h=void 0===p||p,m=n.tetherOffset,g=void 0===m?0:m,v=X(t,{boundary:c,rootBoundary:u,padding:f,altBoundary:l}),y=N(t.placement),E=q(t.placement),k=!E,A=F(y),T="x"===A?"y":"x",C=t.modifiersData.popperOffsets,j=t.rects.reference,L=t.rects.popper,P="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,D={x:0,y:0};if(C){if(o||s){var M="y"===A?w:O,R="y"===A?x:_,$="y"===A?"height":"width",z=C[A],H=C[A]+v[M],V=C[A]-v[R],B=h?-L[$]/2:0,G=E===S?j[$]:L[$],U=E===S?-L[$]:-j[$],Y=t.elements.arrow,K=h&&Y?d(Y):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Z=J[M],Q=J[R],ee=he(0,j[$],K[$]),te=k?j[$]/2-B-ee-Z-P:G-ee-Z-P,ne=k?-j[$]/2+B+ee+Q+P:U+ee+Q+P,re=t.elements.arrow&&b(t.elements.arrow),ie=re?"y"===A?re.clientTop||0:re.clientLeft||0:0,oe=t.modifiersData.offset?t.modifiersData.offset[t.placement][A]:0,ae=C[A]+te-oe-ie,se=C[A]+ne-oe;if(o){var ce=he(h?W(H,ae):H,z,h?I(V,se):V);C[A]=ce,D[A]=ce-z}if(s){var ue="x"===A?w:O,le="x"===A?x:_,fe=C[T],pe=fe+v[ue],de=fe-v[le],me=he(h?W(pe,ae):pe,fe,h?I(de,se):de);C[T]=me,D[T]=me-fe}}t.modifiersData[r]=D}},requiresIfExists:["offset"]};var ge={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=N(n.placement),c=F(s),u=[O,_].indexOf(s)>=0?"height":"width";if(o&&a){var l=function(e,t){return Y("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:K(e,k))}(i.padding,n),f=d(o),p="y"===c?w:O,h="y"===c?x:_,m=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],g=a[c]-n.rects.reference[c],v=b(o),y=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,E=m/2-g/2,S=l[p],A=y-f[u]-l[h],T=y/2-f[u]/2+E,C=he(S,T,A),j=c;n.modifiersData[r]=((t={})[j]=C,t.centerOffset=C-T,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)))&&(o(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" ")),H(t.elements.popper,r)?t.elements.arrow=r:console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ve(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 ye(e){return[w,_,x,O].some((function(t){return e[t]>=0}))}var be={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,a=X(t,{elementContext:"reference"}),s=X(t,{altBoundary:!0}),c=ve(a,r),u=ve(s,i,o),l=ye(c),f=ye(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}},we=ee({defaultModifiers:[ne,re,ae,se]}),xe=[ne,re,ae,se,ce,de,me,ge,be],_e=ee({defaultModifiers:xe});e.applyStyles=se,e.arrow=ge,e.computeStyles=ae,e.createPopper=_e,e.createPopperLite=we,e.defaultModifiers=xe,e.detectOverflow=X,e.eventListeners=ne,e.flip=de,e.hide=be,e.offset=ce,e.popperGenerator=ee,e.popperOffsets=re,e.preventOverflow=me})),on=nn((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=rn(),n="tippy-content",r="tippy-backdrop",i="tippy-arrow",o="tippy-svg-arrow",a={passive:!0,capture:!0};function s(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function c(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function u(e,t){return"function"==typeof e?e.apply(void 0,t):e}function l(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function f(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}function p(e){return[].concat(e)}function d(e,t){-1===e.indexOf(t)&&e.push(t)}function h(e){return e.split("-")[0]}function m(e){return[].slice.call(e)}function g(){return document.createElement("div")}function v(e){return["Element","Fragment"].some((function(t){return c(e,t)}))}function y(e){return c(e,"MouseEvent")}function b(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function w(e){return v(e)?[e]:function(e){return c(e,"NodeList")}(e)?m(e):Array.isArray(e)?e:m(document.querySelectorAll(e))}function x(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function _(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function O(e){var t,n=p(e)[0];return(null==n||null==(t=n.ownerDocument)?void 0:t.body)?n.ownerDocument:document}function E(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}var k={isTouch:!1},S=0;function A(){k.isTouch||(k.isTouch=!0,window.performance&&document.addEventListener("mousemove",T))}function T(){var e=performance.now();e-S<20&&(k.isTouch=!1,document.removeEventListener("mousemove",T)),S=e}function C(){var e=document.activeElement;if(b(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var j,L="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",P=/MSIE |Trident\//.test(L);function D(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 M(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function R(e){return M("\n %ctippy.js\n\n %c"+M(e)+"\n\n %c👷 This is a development-only message. It will be removed in production.\n ")}function $(e){return[R(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function N(e,t){var n;e&&!j.has(t)&&(j.add(t),(n=console).warn.apply(n,$(t)))}function I(e,t){var n;e&&!j.has(t)&&(j.add(t),(n=console).error.apply(n,$(t)))}j=new Set;var W={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},z=Object.assign({appendTo:function(){return document.body},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},W,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),H=Object.keys(z);function V(e){var t=(e.plugins||[]).reduce((function(t,n){var r=n.name,i=n.defaultValue;return r&&(t[r]=void 0!==e[r]?e[r]:i),t}),{});return Object.assign({},e,{},t)}function B(e,t){var n=Object.assign({},t,{content:u(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(V(Object.assign({},z,{plugins:t}))):H).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({},z.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 G(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach((function(e){var n,r,i=f(z,Object.keys(W)),o=(n=i,r=e,!{}.hasOwnProperty.call(n,r));o&&(o=0===t.filter((function(t){return t.name===e})).length),N(o,["`"+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 q(e,t){e.innerHTML=t}function F(e){var t=g();return!0===e?t.className=i:(t.className=o,v(e)?t.appendChild(e):q(t,e)),t}function U(e,t){v(t.content)?(q(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?q(e,t.content):e.textContent=t.content)}function Y(e){var t=e.firstElementChild,a=m(t.children);return{box:t,content:a.find((function(e){return e.classList.contains(n)})),arrow:a.find((function(e){return e.classList.contains(i)||e.classList.contains(o)})),backdrop:a.find((function(e){return e.classList.contains(r)}))}}function K(e){var t=g(),r=g();r.className="tippy-box",r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var i=g();function o(n,r){var i=Y(t),o=i.box,a=i.content,s=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||U(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(F(r.arrow))):o.appendChild(F(r.arrow)):s&&o.removeChild(s)}return i.className=n,i.setAttribute("data-state","hidden"),U(i,e.props),t.appendChild(r),r.appendChild(i),o(e.props,e.props),{popper:t,onUpdate:o}}K.$$tippy=!0;var X=1,J=[],Z=[];function Q(e,n){var r,i,o,c,f,v,b,w,S,A=B(e,Object.assign({},z,{},V((r=n,Object.keys(r).reduce((function(e,t){return void 0!==r[t]&&(e[t]=r[t]),e}),{}))))),T=!1,C=!1,j=!1,L=!1,M=[],R=l(xe,A.interactiveDebounce),$=X++,W=(S=A.plugins).filter((function(e,t){return S.indexOf(e)===t})),H={id:$,reference:e,popper:g(),popperInstance:null,props:A,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:W,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(o),cancelAnimationFrame(c)},setProps:function(t){N(H.state.isDestroyed,D("setProps"));if(H.state.isDestroyed)return;se("onBeforeUpdate",[H,t]),be();var n=H.props,r=B(e,Object.assign({},H.props,{},t,{ignoreAttributes:!0}));H.props=r,ye(),n.interactiveDebounce!==r.interactiveDebounce&&(le(),R=l(xe,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?p(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");ue(),ae(),F&&F(n,r);H.popperInstance&&(ke(),Ae().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));se("onAfterUpdate",[H,t])},setContent:function(e){H.setProps({content:e})},show:function(){N(H.state.isDestroyed,D("show"));var e=H.state.isVisible,t=H.state.isDestroyed,n=!H.state.isEnabled,r=k.isTouch&&!H.props.touch,i=s(H.props.duration,0,z.duration);if(e||t||n||r)return;if(ne().hasAttribute("disabled"))return;if(se("onShow",[H],!1),!1===H.props.onShow(H))return;H.state.isVisible=!0,te()&&(q.style.visibility="visible");ae(),he(),H.state.isMounted||(q.style.transition="none");if(te()){var o=ie(),a=o.box,c=o.content;x([a,c],0)}b=function(){var e;if(H.state.isVisible&&!L){if(L=!0,q.offsetHeight,q.style.transition=H.props.moveTransition,te()&&H.props.animation){var t=ie(),n=t.box,r=t.content;x([n,r],i),_([n,r],"visible")}ce(),ue(),d(Z,H),null==(e=H.popperInstance)||e.forceUpdate(),H.state.isMounted=!0,se("onMount",[H]),H.props.animation&&te()&&function(e,t){ge(e,t)}(i,(function(){H.state.isShown=!0,se("onShown",[H])}))}},function(){var e,t=H.props.appendTo,n=ne();e=H.props.interactive&&t===z.appendTo||"parent"===t?n.parentNode:u(t,[n]);e.contains(q)||e.appendChild(q);ke(),N(H.props.interactive&&t===z.appendTo&&n.nextElementSibling!==q,["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(){N(H.state.isDestroyed,D("hide"));var e=!H.state.isVisible,t=H.state.isDestroyed,n=!H.state.isEnabled,r=s(H.props.duration,1,z.duration);if(e||t||n)return;if(se("onHide",[H],!1),!1===H.props.onHide(H))return;H.state.isVisible=!1,H.state.isShown=!1,L=!1,T=!1,te()&&(q.style.visibility="hidden");if(le(),me(),ae(),te()){var i=ie(),o=i.box,a=i.content;H.props.animation&&(x([o,a],r),_([o,a],"hidden"))}ce(),ue(),H.props.animation?te()&&function(e,t){ge(e,(function(){!H.state.isVisible&&q.parentNode&&q.parentNode.contains(q)&&t()}))}(r,H.unmount):H.unmount()},hideWithInteractivity:function(e){N(H.state.isDestroyed,D("hideWithInteractivity"));re().addEventListener("mousemove",R),d(J,R),R(e)},enable:function(){H.state.isEnabled=!0},disable:function(){H.hide(),H.state.isEnabled=!1},unmount:function(){N(H.state.isDestroyed,D("unmount"));H.state.isVisible&&H.hide();if(!H.state.isMounted)return;Se(),Ae().forEach((function(e){e._tippy.unmount()})),q.parentNode&&q.parentNode.removeChild(q);Z=Z.filter((function(e){return e!==H})),H.state.isMounted=!1,se("onHidden",[H])},destroy:function(){N(H.state.isDestroyed,D("destroy"));if(H.state.isDestroyed)return;H.clearDelayTimeouts(),H.unmount(),be(),delete e._tippy,H.state.isDestroyed=!0,se("onDestroy",[H])}};if(!A.render)return I(!0,"render() function has not been supplied."),H;var G=A.render(H),q=G.popper,F=G.onUpdate;q.setAttribute("data-tippy-root",""),q.id="tippy-"+H.id,H.popper=q,e._tippy=H,q._tippy=H;var U=W.map((function(e){return e.fn(H)})),K=e.hasAttribute("aria-expanded");function Q(){var e=H.props.touch;return Array.isArray(e)?e:[e,0]}function ee(){return"hold"===Q()[0]}function te(){var e;return!!(null==(e=H.props.render)?void 0:e.$$tippy)}function ne(){return w||e}function re(){var e=ne().parentNode;return e?O(e):document}function ie(){return Y(q)}function oe(e){return H.state.isMounted&&!H.state.isVisible||k.isTouch||f&&"focus"===f.type?0:s(H.props.delay,e?0:1,z.delay)}function ae(){q.style.pointerEvents=H.props.interactive&&H.state.isVisible?"":"none",q.style.zIndex=""+H.props.zIndex}function se(e,t,n){var r;(void 0===n&&(n=!0),U.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(r=H.props)[e].apply(r,t)}function ce(){var t=H.props.aria;if(t.content){var n="aria-"+t.content,r=q.id;p(H.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(H.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 ue(){!K&&H.props.aria.expanded&&p(H.props.triggerTarget||e).forEach((function(e){H.props.interactive?e.setAttribute("aria-expanded",H.state.isVisible&&e===ne()?"true":"false"):e.removeAttribute("aria-expanded")}))}function le(){re().removeEventListener("mousemove",R),J=J.filter((function(e){return e!==R}))}function fe(e){if(!(k.isTouch&&(j||"mousedown"===e.type)||H.props.interactive&&q.contains(e.target))){if(ne().contains(e.target)){if(k.isTouch)return;if(H.state.isVisible&&H.props.trigger.indexOf("click")>=0)return}else se("onClickOutside",[H,e]);!0===H.props.hideOnClick&&(H.clearDelayTimeouts(),H.hide(),C=!0,setTimeout((function(){C=!1})),H.state.isMounted||me())}}function pe(){j=!0}function de(){j=!1}function he(){var e=re();e.addEventListener("mousedown",fe,!0),e.addEventListener("touchend",fe,a),e.addEventListener("touchstart",de,a),e.addEventListener("touchmove",pe,a)}function me(){var e=re();e.removeEventListener("mousedown",fe,!0),e.removeEventListener("touchend",fe,a),e.removeEventListener("touchstart",de,a),e.removeEventListener("touchmove",pe,a)}function ge(e,t){var n=ie().box;function r(e){e.target===n&&(E(n,"remove",r),t())}if(0===e)return t();E(n,"remove",v),E(n,"add",r),v=r}function ve(t,n,r){void 0===r&&(r=!1),p(H.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),M.push({node:e,eventType:t,handler:n,options:r})}))}function ye(){var e;ee()&&(ve("touchstart",we,{passive:!0}),ve("touchend",_e,{passive:!0})),(e=H.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(ve(e,we),e){case"mouseenter":ve("mouseleave",_e);break;case"focus":ve(P?"focusout":"blur",Oe);break;case"focusin":ve("focusout",Oe)}}))}function be(){M.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),M=[]}function we(e){var t,n=!1;if(H.state.isEnabled&&!Ee(e)&&!C){var r="focus"===(null==(t=f)?void 0:t.type);f=e,w=e.currentTarget,ue(),!H.state.isVisible&&y(e)&&J.forEach((function(t){return t(e)})),"click"===e.type&&(H.props.trigger.indexOf("mouseenter")<0||T)&&!1!==H.props.hideOnClick&&H.state.isVisible?n=!0:Te(e),"click"===e.type&&(T=!n),n&&!r&&Ce(e)}}function xe(e){var t=e.target,n=ne().contains(t)||q.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,a=h(i.placement),s=i.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,l="right"===a?s.left.x:0,f="left"===a?s.right.x:0,p=t.top-r+c>o,d=r-t.bottom-u>o,m=t.left-n+l>o,g=n-t.right-f>o;return p||d||m||g}))}(Ae().concat(q).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:A}:null})).filter(Boolean),e)&&(le(),Ce(e))}function _e(e){Ee(e)||H.props.trigger.indexOf("click")>=0&&T||(H.props.interactive?H.hideWithInteractivity(e):Ce(e))}function Oe(e){H.props.trigger.indexOf("focusin")<0&&e.target!==ne()||H.props.interactive&&e.relatedTarget&&q.contains(e.relatedTarget)||Ce(e)}function Ee(e){return!!k.isTouch&&ee()!==e.type.indexOf("touch")>=0}function ke(){Se();var n=H.props,r=n.popperOptions,i=n.placement,o=n.offset,a=n.getReferenceClientRect,s=n.moveTransition,c=te()?Y(q).arrow:null,u=a?{getBoundingClientRect:a,contextElement:a.contextElement||ne()}:e,l=[{name:"offset",options:{offset:o}},{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(te()){var n=ie().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={}}}}];te()&&c&&l.push({name:"arrow",options:{element:c,padding:3}}),l.push.apply(l,(null==r?void 0:r.modifiers)||[]),H.popperInstance=t.createPopper(u,q,Object.assign({},r,{placement:i,onFirstUpdate:b,modifiers:l}))}function Se(){H.popperInstance&&(H.popperInstance.destroy(),H.popperInstance=null)}function Ae(){return m(q.querySelectorAll("[data-tippy-root]"))}function Te(e){H.clearDelayTimeouts(),e&&se("onTrigger",[H,e]),he();var t=oe(!0),n=Q(),r=n[0],o=n[1];k.isTouch&&"hold"===r&&o&&(t=o),t?i=setTimeout((function(){H.show()}),t):H.show()}function Ce(e){if(H.clearDelayTimeouts(),se("onUntrigger",[H,e]),H.state.isVisible){if(!(H.props.trigger.indexOf("mouseenter")>=0&&H.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&T)){var t=oe(!1);t?o=setTimeout((function(){H.state.isVisible&&H.hide()}),t):c=requestAnimationFrame((function(){H.hide()}))}}else me()}return ye(),ue(),ae(),se("onCreate",[H]),A.showOnCreate&&Te(),q.addEventListener("mouseenter",(function(){H.props.interactive&&H.state.isVisible&&H.clearDelayTimeouts()})),q.addEventListener("mouseleave",(function(e){H.props.interactive&&H.props.trigger.indexOf("mouseenter")>=0&&(re().addEventListener("mousemove",R),R(e))})),H}function ee(e,t){void 0===t&&(t={});var n=z.plugins.concat(t.plugins||[]);!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;I(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),I(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),G(t,n),document.addEventListener("touchstart",A,a),window.addEventListener("blur",C);var r=Object.assign({},t,{plugins:n}),i=w(e),o=v(r.content),s=i.length>1;N(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 c=i.reduce((function(e,t){var n=t&&Q(t,r);return n&&e.push(n),e}),[]);return v(e)?c[0]:c}ee.defaultProps=z,ee.setDefaultProps=function(e){G(e,[]),Object.keys(e).forEach((function(t){z[t]=e[t]}))},ee.currentInput=k;var te=Object.assign({},t.applyStyles,{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)}}),ne={mouseover:"mouseenter",focusin:"focus",click:"click"};var re={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(!(null==(t=e.props.render)?void 0:t.$$tippy))return I(e.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var n=Y(e.popper),i=n.box,o=n.content,a=e.props.animateFill?function(){var e=g();return e.className=r,_([e],"hidden"),e}():null;return{onCreate:function(){a&&(i.insertBefore(a,i.firstElementChild),i.setAttribute("data-animatefill",""),i.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(a){var e=i.style.transitionDuration,t=Number(e.replace("ms",""));o.style.transitionDelay=Math.round(t/10)+"ms",a.style.transitionDuration=e,_([a],"visible")}},onShow:function(){a&&(a.style.transitionDuration="0ms")},onHide:function(){a&&_([a],"hidden")}}}};var ie={clientX:0,clientY:0},oe=[];function ae(e){var t=e.clientX,n=e.clientY;ie={clientX:t,clientY:n}}var se={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=O(e.props.triggerTarget||t),r=!1,i=!1,o=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function c(){n.addEventListener("mousemove",f)}function u(){n.removeEventListener("mousemove",f)}function l(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||t.contains(n.target),i=e.props.followCursor,o=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),c=o-s.left,u=a-s.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=o,r=a;"initial"===i&&(n=e.left+c,r=e.top+u);var s="horizontal"===i?e.top:r,l="vertical"===i?e.right:n,f="horizontal"===i?e.bottom:r,p="vertical"===i?e.left:n;return{width:l-p,height:f-s,top:s,right:l,bottom:f,left:p}}})}function p(){e.props.followCursor&&(oe.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",ae)}(n))}function d(){0===(oe=oe.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",ae)}(n)}return{onCreate:p,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var o=n.followCursor;r||void 0!==o&&a.followCursor!==o&&(d(),o?(p(),!e.state.isMounted||i||s()||c()):(u(),l()))},onMount:function(){e.props.followCursor&&!i&&(o&&(f(ie),o=!1),s()||c())},onTrigger:function(e,t){y(t)&&(ie={clientX:t.clientX,clientY:t.clientY}),i="focus"===t.type},onHidden:function(){e.props.followCursor&&(l(),u(),o=!0)}}}};var ce={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var r=-1,i=!1,o={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(i){var o=i.state;e.props.inlinePositioning&&(t!==o.placement&&e.setProps({getReferenceClientRect:function(){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],a="top"===e,s=i.top,c=o.bottom,u=a?i.left:o.left,l=a?i.right:o.right;return{top:s,bottom:c,left:u,right:l,width:l-u,height:c-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(e){return e.left}))),p=Math.max.apply(Math,n.map((function(e){return e.right}))),d=n.filter((function(t){return"left"===e?t.left===f:t.right===p})),h=d[0].top,m=d[d.length-1].bottom;return{top:h,bottom:m,left:f,right:p,width:p-f,height:m-h};default:return t}}(h(o.placement),n.getBoundingClientRect(),m(n.getClientRects()),r)}}),t=o.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,o),i=!0,e.setProps(t),i=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(t,n){if(y(n)){var i=m(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}));r=i.indexOf(o)}},onUntrigger:function(){r=-1}}}};var ue={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 a(){var s=r("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,c=r("popper")?n.getBoundingClientRect():null;(s&&le(i,s)||c&&le(o,c))&&e.popperInstance&&e.popperInstance.update(),i=s,o=c,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function le(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}ee.setDefaultProps({render:K}),e.animateFill=re,e.createSingleton=function(e,t){var n;void 0===t&&(t={}),I(!Array.isArray(e),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(e)].join(" "));var r,i=e,o=[],a=t.overrides,s=[],c=!1;function u(){o=i.map((function(e){return e.reference}))}function l(e){i.forEach((function(t){e?t.enable():t.disable()}))}function p(e){return i.map((function(t){var n=t.setProps;return t.setProps=function(i){n(i),t.reference===r&&e.setProps(i)},function(){t.setProps=n}}))}function d(e,t){var n=o.indexOf(t);if(t!==r){r=t;var s=(a||[]).concat("content").reduce((function(e,t){return e[t]=i[n].props[t],e}),{});e.setProps(Object.assign({},s,{getReferenceClientRect:"function"==typeof s.getReferenceClientRect?s.getReferenceClientRect:function(){return t.getBoundingClientRect()}}))}}l(!1),u();var h={fn:function(){return{onDestroy:function(){l(!0)},onHidden:function(){r=null},onClickOutside:function(e){e.props.showOnCreate&&!c&&(c=!0,r=null)},onShow:function(e){e.props.showOnCreate&&!c&&(c=!0,d(e,o[0]))},onTrigger:function(e,t){d(e,t.currentTarget)}}}},m=ee(g(),Object.assign({},f(t,["overrides"]),{plugins:[h].concat(t.plugins||[]),triggerTarget:o,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[te])})})),v=m.show;m.show=function(e){if(v(),!r&&null==e)return d(m,o[0]);if(!r||null!=e){if("number"==typeof e)return o[e]&&d(m,o[e]);if(i.includes(e)){var t=e.reference;return d(m,t)}return o.includes(e)?d(m,e):void 0}},m.showNext=function(){var e=o[0];if(!r)return m.show(0);var t=o.indexOf(r);m.show(o[t+1]||e)},m.showPrevious=function(){var e=o[o.length-1];if(!r)return m.show(e);var t=o.indexOf(r),n=o[t-1]||e;m.show(n)};var y=m.setProps;return m.setProps=function(e){a=e.overrides||a,y(e)},m.setInstances=function(e){l(!0),s.forEach((function(e){return e()})),i=e,l(!1),u(),p(m),m.setProps({triggerTarget:o})},s=p(m),m},e.default=ee,e.delegate=function(e,t){I(!(t&&t.target),["You must specity a `target` prop indicating a CSS selector string matching","the target elements that should receive a tippy."].join(" "));var n=[],r=[],i=!1,o=t.target,s=f(t,["target"]),c=Object.assign({},s,{trigger:"manual",touch:!1}),u=Object.assign({},s,{showOnCreate:!0}),l=ee(e,c);function d(e){if(e.target&&!i){var n=e.target.closest(o);if(n){var a=n.getAttribute("data-tippy-trigger")||t.trigger||z.trigger;if(!n._tippy&&!("touchstart"===e.type&&"boolean"==typeof u.touch||"touchstart"!==e.type&&a.indexOf(ne[e.type])<0)){var s=ee(n,u);s&&(r=r.concat(s))}}}}function h(e,t,r,i){void 0===i&&(i=!1),e.addEventListener(t,r,i),n.push({node:e,eventType:t,handler:r,options:i})}return p(l).forEach((function(e){var t=e.destroy,o=e.enable,s=e.disable;e.destroy=function(e){void 0===e&&(e=!0),e&&r.forEach((function(e){e.destroy()})),r=[],n.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),n=[],t()},e.enable=function(){o(),r.forEach((function(e){return e.enable()})),i=!1},e.disable=function(){s(),r.forEach((function(e){return e.disable()})),i=!0},function(e){var t=e.reference;h(t,"touchstart",d,a),h(t,"mouseover",d),h(t,"focusin",d),h(t,"click",d)}(e)})),l},e.followCursor=se,e.hideAll=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;Z.forEach((function(e){var t=!1;if(n&&(t=b(n)?e.reference===n:e.popper===n.popper),!t){var i=e.props.duration;e.setProps({duration:r}),e.hide(),e.state.isDestroyed||e.setProps({duration:i})}}))},e.inlinePositioning=ce,e.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',e.sticky=ue})),an=(e=>((e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of en(t))Qt.call(e,r)||"default"===r||Jt(e,r,{get:()=>t[r],enumerable:!(n=tn(t,r))||n.enumerable});return e})((e=>Jt(e,"__esModule",{value:!0}))(Jt(null!=e?Xt(Zt(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e))(on());var sn=e=>{const t={plugins:[]};if(e.includes("duration")&&(t.duration=parseInt(e[e.indexOf("duration")+1])),e.includes("delay")&&(t.delay=parseInt(e[e.indexOf("delay")+1])),e.includes("cursor")){t.plugins.push(an.followCursor);const n=e[e.indexOf("cursor")+1]??null;["x","initial"].includes(n)?t.followCursor="x"===n?"horizontal":"initial":t.followCursor=!0}return e.includes("on")&&(t.trigger=e[e.indexOf("on")+1]),e.includes("arrowless")&&(t.arrow=!1),e.includes("html")&&(t.allowHTML=!0),e.includes("interactive")&&(t.interactive=!0),e.includes("border")&&t.interactive&&(t.interactiveBorder=parseInt(e[e.indexOf("border")+1])),e.includes("debounce")&&t.interactive&&(t.interactiveDebounce=parseInt(e[e.indexOf("debounce")+1])),e.includes("max-width")&&(t.maxWidth=parseInt(e[e.indexOf("max-width")+1])),e.includes("theme")&&(t.theme=e[e.indexOf("theme")+1]),t},cn=function(e){e.directive("tooltip",((e,{modifiers:t,expression:n},{evaluateLater:r,effect:i})=>{const o=r(n),a=t.length>0?sn(t):{};i((()=>{o((t=>{e.__x_tippy||(e.__x_tippy=(0,an.default)(e,a)),e.__x_tippy.setContent(t)}))}))}))};function un(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function ln(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){un(o,r,i,a,s,"next",e)}function s(e){un(o,r,i,a,s,"throw",e)}a(void 0)}))}}function fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pn={},dn=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new T(r||[]);return o._invoke=function(e,t,n){var r=f;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return j()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=l(e,t,n);if("normal"===c.type){if(r=n.done?h:p,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",m={};function g(){}function v(){}function y(){}var b={};c(b,o,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(C([])));x&&x!==n&&r.call(x,o)&&(b=x);var _=y.prototype=g.prototype=Object.create(b);function O(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(i,o,a,s){var c=l(e[i],e,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var i;this._invoke=function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}}function k(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:j}}function j(){return{value:t,done:!0}}return v.prototype=y,c(_,"constructor",y),c(y,"constructor",v),v.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},O(E.prototype),c(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new E(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(_),c(_,s,"Generator"),c(_,o,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,T.prototype={constructor:T,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(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(pn);try{regeneratorRuntime=dn}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=dn:Function("r","regeneratorRuntime = r")(dn)}var hn={};!function(e,t){"object"==typeof hn?t(hn):"function"==typeof define&&define.amd?define(["exports"],t):t(e.ActionCable={})}(hn,(function(e){"use strict";var t={logger:self.console,WebSocket:self.WebSocket},n={log:function(){if(this.enabled){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];r.push(Date.now()),(e=t.logger).log.apply(e,["[ActionCable]"].concat(r))}}},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){return(new Date).getTime()},s=function(e){return(a()-e)/1e3},c=function(){function e(t){i(this,e),this.visibilityDidChange=this.visibilityDidChange.bind(this),this.connection=t,this.reconnectAttempts=0}return e.prototype.start=function(){this.isRunning()||(this.startedAt=a(),delete this.stoppedAt,this.startPolling(),addEventListener("visibilitychange",this.visibilityDidChange),n.log("ConnectionMonitor started. pollInterval = "+this.getPollInterval()+" ms"))},e.prototype.stop=function(){this.isRunning()&&(this.stoppedAt=a(),this.stopPolling(),removeEventListener("visibilitychange",this.visibilityDidChange),n.log("ConnectionMonitor stopped"))},e.prototype.isRunning=function(){return this.startedAt&&!this.stoppedAt},e.prototype.recordPing=function(){this.pingedAt=a()},e.prototype.recordConnect=function(){this.reconnectAttempts=0,this.recordPing(),delete this.disconnectedAt,n.log("ConnectionMonitor recorded connect")},e.prototype.recordDisconnect=function(){this.disconnectedAt=a(),n.log("ConnectionMonitor recorded disconnect")},e.prototype.startPolling=function(){this.stopPolling(),this.poll()},e.prototype.stopPolling=function(){clearTimeout(this.pollTimeout)},e.prototype.poll=function(){var e=this;this.pollTimeout=setTimeout((function(){e.reconnectIfStale(),e.poll()}),this.getPollInterval())},e.prototype.getPollInterval=function(){var e=this.constructor.pollInterval,t=e.min,n=e.max,r=e.multiplier*Math.log(this.reconnectAttempts+1);return Math.round(1e3*function(e,t,n){return Math.max(t,Math.min(n,e))}(r,t,n))},e.prototype.reconnectIfStale=function(){this.connectionIsStale()&&(n.log("ConnectionMonitor detected stale connection. reconnectAttempts = "+this.reconnectAttempts+", pollInterval = "+this.getPollInterval()+" ms, time disconnected = "+s(this.disconnectedAt)+" s, stale threshold = "+this.constructor.staleThreshold+" s"),this.reconnectAttempts++,this.disconnectedRecently()?n.log("ConnectionMonitor skipping reopening recent disconnect"):(n.log("ConnectionMonitor reopening"),this.connection.reopen()))},e.prototype.connectionIsStale=function(){return s(this.pingedAt?this.pingedAt:this.startedAt)>this.constructor.staleThreshold},e.prototype.disconnectedRecently=function(){return this.disconnectedAt&&s(this.disconnectedAt)<this.constructor.staleThreshold},e.prototype.visibilityDidChange=function(){var e=this;"visible"===document.visibilityState&&setTimeout((function(){!e.connectionIsStale()&&e.connection.isOpen()||(n.log("ConnectionMonitor reopening stale connection on visibilitychange. visibilityState = "+document.visibilityState),e.connection.reopen())}),200)},e}();c.pollInterval={min:3,max:30,multiplier:5},c.staleThreshold=6;var u={message_types:{welcome:"welcome",disconnect:"disconnect",ping:"ping",confirmation:"confirm_subscription",rejection:"reject_subscription"},disconnect_reasons:{unauthorized:"unauthorized",invalid_request:"invalid_request",server_restart:"server_restart"},default_mount_path:"/cable",protocols:["actioncable-v1-json","actioncable-unsupported"]},l=u.message_types,f=u.protocols,p=f.slice(0,f.length-1),d=[].indexOf,h=function(){function e(t){i(this,e),this.open=this.open.bind(this),this.consumer=t,this.subscriptions=this.consumer.subscriptions,this.monitor=new c(this),this.disconnected=!0}return e.prototype.send=function(e){return!!this.isOpen()&&(this.webSocket.send(JSON.stringify(e)),!0)},e.prototype.open=function(){return this.isActive()?(n.log("Attempted to open WebSocket, but existing socket is "+this.getState()),!1):(n.log("Opening WebSocket, current state is "+this.getState()+", subprotocols: "+f),this.webSocket&&this.uninstallEventHandlers(),this.webSocket=new t.WebSocket(this.consumer.url,f),this.installEventHandlers(),this.monitor.start(),!0)},e.prototype.close=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{allowReconnect:!0},t=e.allowReconnect;if(t||this.monitor.stop(),this.isActive())return this.webSocket.close()},e.prototype.reopen=function(){if(n.log("Reopening WebSocket, current state is "+this.getState()),!this.isActive())return this.open();try{return this.close()}catch(e){n.log("Failed to reopen WebSocket",e)}finally{n.log("Reopening WebSocket in "+this.constructor.reopenDelay+"ms"),setTimeout(this.open,this.constructor.reopenDelay)}},e.prototype.getProtocol=function(){if(this.webSocket)return this.webSocket.protocol},e.prototype.isOpen=function(){return this.isState("open")},e.prototype.isActive=function(){return this.isState("open","connecting")},e.prototype.isProtocolSupported=function(){return d.call(p,this.getProtocol())>=0},e.prototype.isState=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.call(t,this.getState())>=0},e.prototype.getState=function(){if(this.webSocket)for(var e in t.WebSocket)if(t.WebSocket[e]===this.webSocket.readyState)return e.toLowerCase();return null},e.prototype.installEventHandlers=function(){for(var e in this.events){var t=this.events[e].bind(this);this.webSocket["on"+e]=t}},e.prototype.uninstallEventHandlers=function(){for(var e in this.events)this.webSocket["on"+e]=function(){}},e}();h.reopenDelay=500,h.prototype.events={message:function(e){if(this.isProtocolSupported()){var t=JSON.parse(e.data),r=t.identifier,i=t.message,o=t.reason,a=t.reconnect;switch(t.type){case l.welcome:return this.monitor.recordConnect(),this.subscriptions.reload();case l.disconnect:return n.log("Disconnecting. Reason: "+o),this.close({allowReconnect:a});case l.ping:return this.monitor.recordPing();case l.confirmation:return this.subscriptions.notify(r,"connected");case l.rejection:return this.subscriptions.reject(r);default:return this.subscriptions.notify(r,"received",i)}}},open:function(){if(n.log("WebSocket onopen event, using '"+this.getProtocol()+"' subprotocol"),this.disconnected=!1,!this.isProtocolSupported())return n.log("Protocol is unsupported. Stopping monitor and disconnecting."),this.close({allowReconnect:!1})},close:function(e){if(n.log("WebSocket onclose event"),!this.disconnected)return this.disconnected=!0,this.monitor.recordDisconnect(),this.subscriptions.notifyAll("disconnected",{willAttemptReconnect:this.monitor.isRunning()})},error:function(){n.log("WebSocket onerror event")}};var m=function(e,t){if(null!=t)for(var n in t){var r=t[n];e[n]=r}return e},g=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2];i(this,e),this.consumer=t,this.identifier=JSON.stringify(n),m(this,r)}return e.prototype.perform=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.action=e,this.send(t)},e.prototype.send=function(e){return this.consumer.send({command:"message",identifier:this.identifier,data:JSON.stringify(e)})},e.prototype.unsubscribe=function(){return this.consumer.subscriptions.remove(this)},e}(),v=function(){function e(t){i(this,e),this.consumer=t,this.subscriptions=[]}return e.prototype.create=function(e,t){var n=e,i="object"===(void 0===n?"undefined":r(n))?n:{channel:n},o=new g(this.consumer,i,t);return this.add(o)},e.prototype.add=function(e){return this.subscriptions.push(e),this.consumer.ensureActiveConnection(),this.notify(e,"initialized"),this.sendCommand(e,"subscribe"),e},e.prototype.remove=function(e){return this.forget(e),this.findAll(e.identifier).length||this.sendCommand(e,"unsubscribe"),e},e.prototype.reject=function(e){var t=this;return this.findAll(e).map((function(e){return t.forget(e),t.notify(e,"rejected"),e}))},e.prototype.forget=function(e){return this.subscriptions=this.subscriptions.filter((function(t){return t!==e})),e},e.prototype.findAll=function(e){return this.subscriptions.filter((function(t){return t.identifier===e}))},e.prototype.reload=function(){var e=this;return this.subscriptions.map((function(t){return e.sendCommand(t,"subscribe")}))},e.prototype.notifyAll=function(e){for(var t=this,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return this.subscriptions.map((function(n){return t.notify.apply(t,[n,e].concat(r))}))},e.prototype.notify=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return("string"==typeof e?this.findAll(e):[e]).map((function(e){return"function"==typeof e[t]?e[t].apply(e,r):void 0}))},e.prototype.sendCommand=function(e,t){var n=e.identifier;return this.consumer.send({command:t,identifier:n})},e}(),y=function(){function e(t){i(this,e),this._url=t,this.subscriptions=new v(this),this.connection=new h(this)}return e.prototype.send=function(e){return this.connection.send(e)},e.prototype.connect=function(){return this.connection.open()},e.prototype.disconnect=function(){return this.connection.close({allowReconnect:!1})},e.prototype.ensureActiveConnection=function(){if(!this.connection.isActive())return this.connection.open()},o(e,[{key:"url",get:function(){return b(this._url)}}]),e}();function b(e){if("function"==typeof e&&(e=e()),e&&!/^wss?:/i.test(e)){var t=document.createElement("a");return t.href=e,t.href=t.href,t.protocol=t.protocol.replace("http","ws"),t.href}return e}function w(e){var t=document.head.querySelector("meta[name='action-cable-"+e+"']");if(t)return t.getAttribute("content")}e.Connection=h,e.ConnectionMonitor=c,e.Consumer=y,e.INTERNAL=u,e.Subscription=g,e.Subscriptions=v,e.adapters=t,e.createWebSocketURL=b,e.logger=n,e.createConsumer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w("url")||u.default_mount_path;return new y(e)},e.getConfig=w,Object.defineProperty(e,"__esModule",{value:!0})}));var mn;function gn(e,t,n){var r,i,o,a,s;function c(){var u=Date.now()-a;u<t&&u>=0?r=setTimeout(c,t-u):(r=null,n||(s=e.apply(o,i),o=i=null))}null==t&&(t=100);var u=function(){o=this,i=arguments,a=Date.now();var u=n&&!r;return r||(r=setTimeout(c,t)),u&&(s=e.apply(o,i),o=i=null),s};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(s=e.apply(o,i),o=i=null,clearTimeout(r),r=null)},u}gn.debounce=gn,mn=gn;var vn={key:function(e){return e.getAttribute("key")?e.getAttribute("key"):e.id},updating:function(e,t,n,r){if(e.getAttribute&&"replace"===e.getAttribute("data-morph-strategy"))return e.innerHTML=t.innerHTML,r()},lookahead:!0};function yn(e){return e._x_dataStack[0]}var bn=function(e,t){return Number(e.slice(0,-1*t.length))},wn=function(e){return e.endsWith("px")?{value:e,type:"px",numeric:bn(e,"px")}:e.endsWith("fr")?{value:e,type:"fr",numeric:bn(e,"fr")}:e.endsWith("%")?{value:e,type:"%",numeric:bn(e,"%")}:"auto"===e?{value:e,type:"auto"}:null},xn=function(e){return e.split(" ").map(wn)},_n=function(e,t,n){return t.concat(n).map((function(t){return t.style[e]})).filter((function(e){return void 0!==e&&""!==e}))},On=function(e){for(var t=0;t<e.length;t++)if(e[t].numeric>0)return t;return null},En=function(){return!1},kn=function(e,t,n){e.style[t]=n},Sn=function(e,t,n){var r=e[t];return void 0!==r?r:n};function An(e){var t;return(t=[]).concat.apply(t,Array.from(e.ownerDocument.styleSheets).map((function(e){var t=[];try{t=Array.from(e.cssRules||[])}catch(e){}return t}))).filter((function(t){var n=!1;try{n=e.matches(t.selectorText)}catch(e){}return n}))}var Tn=function(e,t,n){this.direction=e,this.element=t.element,this.track=t.track,"column"===e?(this.gridTemplateProp="grid-template-columns",this.gridGapProp="grid-column-gap",this.cursor=Sn(n,"columnCursor",Sn(n,"cursor","col-resize")),this.snapOffset=Sn(n,"columnSnapOffset",Sn(n,"snapOffset",30)),this.dragInterval=Sn(n,"columnDragInterval",Sn(n,"dragInterval",1)),this.clientAxis="clientX",this.optionStyle=Sn(n,"gridTemplateColumns")):"row"===e&&(this.gridTemplateProp="grid-template-rows",this.gridGapProp="grid-row-gap",this.cursor=Sn(n,"rowCursor",Sn(n,"cursor","row-resize")),this.snapOffset=Sn(n,"rowSnapOffset",Sn(n,"snapOffset",30)),this.dragInterval=Sn(n,"rowDragInterval",Sn(n,"dragInterval",1)),this.clientAxis="clientY",this.optionStyle=Sn(n,"gridTemplateRows")),this.onDragStart=Sn(n,"onDragStart",En),this.onDragEnd=Sn(n,"onDragEnd",En),this.onDrag=Sn(n,"onDrag",En),this.writeStyle=Sn(n,"writeStyle",kn),this.startDragging=this.startDragging.bind(this),this.stopDragging=this.stopDragging.bind(this),this.drag=this.drag.bind(this),this.minSizeStart=t.minSizeStart,this.minSizeEnd=t.minSizeEnd,t.element&&(this.element.addEventListener("mousedown",this.startDragging),this.element.addEventListener("touchstart",this.startDragging))};Tn.prototype.getDimensions=function(){var e=this.grid.getBoundingClientRect(),t=e.width,n=e.height,r=e.top,i=e.bottom,o=e.left,a=e.right;"column"===this.direction?(this.start=r,this.end=i,this.size=n):"row"===this.direction&&(this.start=o,this.end=a,this.size=t)},Tn.prototype.getSizeAtTrack=function(e,t){return function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=!1);var i=r?e+1:e;return t.slice(0,i).reduce((function(e,t){return e+t.numeric}),0)+(n?e*n:0)}(e,this.computedPixels,this.computedGapPixels,t)},Tn.prototype.getSizeOfTrack=function(e){return this.computedPixels[e].numeric},Tn.prototype.getRawTracks=function(){var e=_n(this.gridTemplateProp,[this.grid],An(this.grid));if(!e.length){if(this.optionStyle)return this.optionStyle;throw Error("Unable to determine grid template tracks from styles.")}return e[0]},Tn.prototype.getGap=function(){var e=_n(this.gridGapProp,[this.grid],An(this.grid));return e.length?e[0]:null},Tn.prototype.getRawComputedTracks=function(){return window.getComputedStyle(this.grid)[this.gridTemplateProp]},Tn.prototype.getRawComputedGap=function(){return window.getComputedStyle(this.grid)[this.gridGapProp]},Tn.prototype.setTracks=function(e){this.tracks=e.split(" "),this.trackValues=xn(e)},Tn.prototype.setComputedTracks=function(e){this.computedTracks=e.split(" "),this.computedPixels=xn(e)},Tn.prototype.setGap=function(e){this.gap=e},Tn.prototype.setComputedGap=function(e){var t,n;this.computedGap=e,this.computedGapPixels=(t="px",((n=this.computedGap).endsWith(t)?Number(n.slice(0,-1*t.length)):null)||0)},Tn.prototype.getMousePosition=function(e){return"touches"in e?e.touches[0][this.clientAxis]:e[this.clientAxis]},Tn.prototype.startDragging=function(e){if(!("button"in e)||0===e.button){e.preventDefault(),this.element?this.grid=this.element.parentNode:this.grid=e.target.parentNode,this.getDimensions(),this.setTracks(this.getRawTracks()),this.setComputedTracks(this.getRawComputedTracks()),this.setGap(this.getGap()),this.setComputedGap(this.getRawComputedGap());var t=this.trackValues.filter((function(e){return"%"===e.type})),n=this.trackValues.filter((function(e){return"fr"===e.type}));if(this.totalFrs=n.length,this.totalFrs){var r=On(n);null!==r&&(this.frToPixels=this.computedPixels[r].numeric/n[r].numeric)}if(t.length){var i=On(t);null!==i&&(this.percentageToPixels=this.computedPixels[i].numeric/t[i].numeric)}var o=this.getSizeAtTrack(this.track,!1)+this.start;if(this.dragStartOffset=this.getMousePosition(e)-o,this.aTrack=this.track-1,!(this.track<this.tracks.length-1))throw Error("Invalid track index: "+this.track+". Track must be between two other tracks and only "+this.tracks.length+" tracks were found.");this.bTrack=this.track+1,this.aTrackStart=this.getSizeAtTrack(this.aTrack,!1)+this.start,this.bTrackEnd=this.getSizeAtTrack(this.bTrack,!0)+this.start,this.dragging=!0,window.addEventListener("mouseup",this.stopDragging),window.addEventListener("touchend",this.stopDragging),window.addEventListener("touchcancel",this.stopDragging),window.addEventListener("mousemove",this.drag),window.addEventListener("touchmove",this.drag),this.grid.addEventListener("selectstart",En),this.grid.addEventListener("dragstart",En),this.grid.style.userSelect="none",this.grid.style.webkitUserSelect="none",this.grid.style.MozUserSelect="none",this.grid.style.pointerEvents="none",this.grid.style.cursor=this.cursor,window.document.body.style.cursor=this.cursor,this.onDragStart(this.direction,this.track)}},Tn.prototype.stopDragging=function(){this.dragging=!1,this.cleanup(),this.onDragEnd(this.direction,this.track),this.needsDestroy&&(this.element&&(this.element.removeEventListener("mousedown",this.startDragging),this.element.removeEventListener("touchstart",this.startDragging)),this.destroyCb(),this.needsDestroy=!1,this.destroyCb=null)},Tn.prototype.drag=function(e){var t=this.getMousePosition(e),n=this.getSizeOfTrack(this.track),r=this.aTrackStart+this.minSizeStart+this.dragStartOffset+this.computedGapPixels,i=this.bTrackEnd-this.minSizeEnd-this.computedGapPixels-(n-this.dragStartOffset);t<r+this.snapOffset&&(t=r),t>i-this.snapOffset&&(t=i),t<r?t=r:t>i&&(t=i);var o=t-this.aTrackStart-this.dragStartOffset-this.computedGapPixels,a=this.bTrackEnd-t+this.dragStartOffset-n-this.computedGapPixels;if(this.dragInterval>1){var s=Math.round(o/this.dragInterval)*this.dragInterval;a-=s-o,o=s}if(o<this.minSizeStart&&(o=this.minSizeStart),a<this.minSizeEnd&&(a=this.minSizeEnd),"px"===this.trackValues[this.aTrack].type)this.tracks[this.aTrack]=o+"px";else if("fr"===this.trackValues[this.aTrack].type)if(1===this.totalFrs)this.tracks[this.aTrack]="1fr";else{var c=o/this.frToPixels;this.tracks[this.aTrack]=c+"fr"}else if("%"===this.trackValues[this.aTrack].type){var u=o/this.percentageToPixels;this.tracks[this.aTrack]=u+"%"}if("px"===this.trackValues[this.bTrack].type)this.tracks[this.bTrack]=a+"px";else if("fr"===this.trackValues[this.bTrack].type)if(1===this.totalFrs)this.tracks[this.bTrack]="1fr";else{var l=a/this.frToPixels;this.tracks[this.bTrack]=l+"fr"}else if("%"===this.trackValues[this.bTrack].type){var f=a/this.percentageToPixels;this.tracks[this.bTrack]=f+"%"}var p=this.tracks.join(" ");this.writeStyle(this.grid,this.gridTemplateProp,p),this.onDrag(this.direction,this.track,p)},Tn.prototype.cleanup=function(){window.removeEventListener("mouseup",this.stopDragging),window.removeEventListener("touchend",this.stopDragging),window.removeEventListener("touchcancel",this.stopDragging),window.removeEventListener("mousemove",this.drag),window.removeEventListener("touchmove",this.drag),this.grid&&(this.grid.removeEventListener("selectstart",En),this.grid.removeEventListener("dragstart",En),this.grid.style.userSelect="",this.grid.style.webkitUserSelect="",this.grid.style.MozUserSelect="",this.grid.style.pointerEvents="",this.grid.style.cursor=""),window.document.body.style.cursor=""},Tn.prototype.destroy=function(e,t){void 0===e&&(e=!0),e||!1===this.dragging?(this.cleanup(),this.element&&(this.element.removeEventListener("mousedown",this.startDragging),this.element.removeEventListener("touchstart",this.startDragging)),t&&t()):(this.needsDestroy=!0,t&&(this.destroyCb=t))};var Cn=function(e,t,n){return t in e?e[t]:n},jn=function(e,t){return function(n){if(n.track<1)throw Error("Invalid track index: "+n.track+". Track must be between two other tracks.");var r="column"===e?t.columnMinSizes||{}:t.rowMinSizes||{},i="column"===e?"columnMinSize":"rowMinSize";return new Tn(e,Object.assign({},{minSizeStart:Cn(r,n.track-1,Sn(t,i,Sn(t,"minSize",0))),minSizeEnd:Cn(r,n.track+1,Sn(t,i,Sn(t,"minSize",0)))},n),t)}},Ln=function(e){var t=this;this.columnGutters={},this.rowGutters={},this.options=Object.assign({},{columnGutters:e.columnGutters||[],rowGutters:e.rowGutters||[],columnMinSizes:e.columnMinSizes||{},rowMinSizes:e.rowMinSizes||{}},e),this.options.columnGutters.forEach((function(e){t.columnGutters[e.track]=jn("column",t.options)(e)})),this.options.rowGutters.forEach((function(e){t.rowGutters[e.track]=jn("row",t.options)(e)}))};Ln.prototype.addColumnGutter=function(e,t){this.columnGutters[t]&&this.columnGutters[t].destroy(),this.columnGutters[t]=jn("column",this.options)({element:e,track:t})},Ln.prototype.addRowGutter=function(e,t){this.rowGutters[t]&&this.rowGutters[t].destroy(),this.rowGutters[t]=jn("row",this.options)({element:e,track:t})},Ln.prototype.removeColumnGutter=function(e,t){var n=this;void 0===t&&(t=!0),this.columnGutters[e]&&this.columnGutters[e].destroy(t,(function(){delete n.columnGutters[e]}))},Ln.prototype.removeRowGutter=function(e,t){var n=this;void 0===t&&(t=!0),this.rowGutters[e]&&this.rowGutters[e].destroy(t,(function(){delete n.rowGutters[e]}))},Ln.prototype.handleDragStart=function(e,t,n){"column"===t?(this.columnGutters[n]&&this.columnGutters[n].destroy(),this.columnGutters[n]=jn("column",this.options)({track:n}),this.columnGutters[n].startDragging(e)):"row"===t&&(this.rowGutters[n]&&this.rowGutters[n].destroy(),this.rowGutters[n]=jn("row",this.options)({track:n}),this.rowGutters[n].startDragging(e))},Ln.prototype.destroy=function(e){var t=this;void 0===e&&(e=!0),Object.keys(this.columnGutters).forEach((function(n){return t.columnGutters[n].destroy(e,(function(){delete t.columnGutters[n]}))})),Object.keys(this.rowGutters).forEach((function(n){return t.rowGutters[n].destroy(e,(function(){delete t.rowGutters[n]}))}))};var Pn,Dn=function(e){return new Ln(e)};function Mn(e){return e?(e.nodeName||"").toLowerCase():null}function Rn(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $n(e){return e instanceof Rn(e).Element||e instanceof Element}function Nn(e){return e instanceof Rn(e).HTMLElement||e instanceof HTMLElement}function In(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Rn(e).ShadowRoot||e instanceof ShadowRoot)}var Wn={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];Nn(i)&&Mn(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}),{});Nn(r)&&Mn(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},zn=Math.max,Hn=Math.min,Vn=Math.round;function Bn(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(Nn(e)&&t){var o=e.offsetHeight,a=e.offsetWidth;a>0&&(r=Vn(n.width)/a||1),o>0&&(i=Vn(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function Gn(e){var t=Rn(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function qn(e){return(($n(e)?e.ownerDocument:e.document)||window.document).documentElement}function Fn(e){return Bn(qn(e)).left+Gn(e).scrollLeft}function Un(e){return Rn(e).getComputedStyle(e)}function Yn(e){var t=Un(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Kn(e,t,n){void 0===n&&(n=!1);var r,i,o=Nn(t),a=Nn(t)&&function(e){var t=e.getBoundingClientRect(),n=Vn(t.width)/e.offsetWidth||1,r=Vn(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=qn(t),c=Bn(e,a),u={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==Mn(t)||Yn(s))&&(u=(r=t)!==Rn(r)&&Nn(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Gn(r)),Nn(t)?((l=Bn(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Fn(s))),{x:c.left+u.scrollLeft-l.x,y:c.top+u.scrollTop-l.y,width:c.width,height:c.height}}function Xn(e){var t=Bn(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 Jn(e){return"html"===Mn(e)?e:e.assignedSlot||e.parentNode||(In(e)?e.host:null)||qn(e)}function Zn(e){return["html","body","#document"].indexOf(Mn(e))>=0?e.ownerDocument.body:Nn(e)&&Yn(e)?e:Zn(Jn(e))}function Qn(e,t){var n;void 0===t&&(t=[]);var r=Zn(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=Rn(r),a=i?[o].concat(o.visualViewport||[],Yn(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Qn(Jn(a)))}function er(e){return["table","td","th"].indexOf(Mn(e))>=0}function tr(e){return Nn(e)&&"fixed"!==Un(e).position?e.offsetParent:null}function nr(e){for(var t=Rn(e),n=tr(e);n&&er(n)&&"static"===Un(n).position;)n=tr(n);return n&&("html"===Mn(n)||"body"===Mn(n)&&"static"===Un(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Nn(e)&&"fixed"===Un(e).position)return null;for(var n=Jn(e);Nn(n)&&["html","body"].indexOf(Mn(n))<0;){var r=Un(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}var rr="top",ir="bottom",or="right",ar="left",sr="auto",cr=[rr,ir,or,ar],ur="start",lr="end",fr="viewport",pr="popper",dr=cr.reduce((function(e,t){return e.concat([t+"-"+ur,t+"-"+lr])}),[]),hr=[].concat(cr,[sr]).reduce((function(e,t){return e.concat([t,t+"-"+ur,t+"-"+lr])}),[]),mr=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function gr(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 vr={placement:"bottom",modifiers:[],strategy:"absolute"};function yr(){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)}))}function br(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?vr:i;return function(e,t,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},vr,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,l={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:$n(e)?Qn(e):e.contextElement?Qn(e.contextElement):[],popper:Qn(t)};var a=function(e){var t=gr(e);return mr.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=a.filter((function(e){return e.enabled})),s.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:s,name:t,instance:l,options:r}),a=function(){};c.push(o||a)}})),l.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(yr(t,n)){s.rects={reference:Kn(t,nr(n),"fixed"===s.options.strategy),popper:Xn(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],o=i.fn,a=i.options,c=void 0===a?{}:a,f=i.name;"function"==typeof o&&(s=o({state:s,options:c,name:f,instance:l})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){l.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(i())}))}))),a}),destroy:function(){f(),u=!0}};if(!yr(e,t))return l;function f(){c.forEach((function(e){return e()})),c=[]}return l.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var wr={passive:!0};function xr(e){return e.split("-")[0]}function _r(e){return e.split("-")[1]}function Or(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Er(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?xr(i):null,a=i?_r(i):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case rr:t={x:s,y:n.y-r.height};break;case ir:t={x:s,y:n.y+n.height};break;case or:t={x:n.x+n.width,y:c};break;case ar:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=o?Or(o):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case ur:t[u]=t[u]-(n[l]/2-r[l]/2);break;case lr:t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var kr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Sr(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,l=e.roundOffsets,f=e.isFixed,p=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Vn(t*r)/r||0,y:Vn(n*r)/r||0}}(a):"function"==typeof l?l(a):a,d=p.x,h=void 0===d?0:d,m=p.y,g=void 0===m?0:m,v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=ar,w=rr,x=window;if(u){var _=nr(n),O="clientHeight",E="clientWidth";if(_===Rn(n)&&"static"!==Un(_=qn(n)).position&&"absolute"===s&&(O="scrollHeight",E="scrollWidth"),i===rr||(i===ar||i===or)&&o===lr)w=ir,g-=(f&&x.visualViewport?x.visualViewport.height:_[O])-r.height,g*=c?1:-1;if(i===ar||(i===rr||i===ir)&&o===lr)b=or,h-=(f&&x.visualViewport?x.visualViewport.width:_[E])-r.width,h*=c?1:-1}var k,S=Object.assign({position:s},u&&kr);return c?Object.assign({},S,((k={})[w]=y?"0":"",k[b]=v?"0":"",k.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",k)):Object.assign({},S,((t={})[w]=y?g+"px":"",t[b]=v?h+"px":"",t.transform="",t))}var Ar={left:"right",right:"left",bottom:"top",top:"bottom"};function Tr(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ar[e]}))}var Cr={start:"end",end:"start"};function jr(e){return e.replace(/start|end/g,(function(e){return Cr[e]}))}function Lr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&In(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Pr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Dr(e,t){return t===fr?Pr(function(e){var t=Rn(e),n=qn(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,a=0,s=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:i,height:o,x:a+Fn(e),y:s}}(e)):$n(t)?function(e){var t=Bn(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Pr(function(e){var t,n=qn(e),r=Gn(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=zn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=zn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Fn(e),c=-r.scrollTop;return"rtl"===Un(i||n).direction&&(s+=zn(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}(qn(e)))}function Mr(e,t,n){var r="clippingParents"===t?function(e){var t=Qn(Jn(e)),n=["absolute","fixed"].indexOf(Un(e).position)>=0,r=n&&Nn(e)?nr(e):e;return $n(r)?t.filter((function(e){return $n(e)&&Lr(e,r)&&"body"!==Mn(e)&&(!n||"static"!==Un(e).position)})):[]}(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce((function(t,n){var r=Dr(e,n);return t.top=zn(r.top,t.top),t.right=Hn(r.right,t.right),t.bottom=Hn(r.bottom,t.bottom),t.left=zn(r.left,t.left),t}),Dr(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Rr(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function $r(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Nr(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.boundary,a=void 0===o?"clippingParents":o,s=n.rootBoundary,c=void 0===s?fr:s,u=n.elementContext,l=void 0===u?pr:u,f=n.altBoundary,p=void 0!==f&&f,d=n.padding,h=void 0===d?0:d,m=Rr("number"!=typeof h?h:$r(h,cr)),g=l===pr?"reference":pr,v=e.rects.popper,y=e.elements[p?g:l],b=Mr($n(y)?y:y.contextElement||qn(e.elements.popper),a,c),w=Bn(e.elements.reference),x=Er({reference:w,element:v,strategy:"absolute",placement:i}),_=Pr(Object.assign({},v,x)),O=l===pr?_:w,E={top:b.top-O.top+m.top,bottom:O.bottom-b.bottom+m.bottom,left:b.left-O.left+m.left,right:O.right-b.right+m.right},k=e.modifiersData.offset;if(l===pr&&k){var S=k[i];Object.keys(E).forEach((function(e){var t=[or,ir].indexOf(e)>=0?1:-1,n=[rr,ir].indexOf(e)>=0?"y":"x";E[e]+=S[n]*t}))}return E}function Ir(e,t,n){return zn(e,Hn(t,n))}function Wr(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 zr(e){return[rr,or,ir,ar].some((function(t){return e[t]>=0}))}var Hr=br({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,a=r.resize,s=void 0===a||a,c=Rn(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach((function(e){e.addEventListener("scroll",n.update,wr)})),s&&c.addEventListener("resize",n.update,wr),function(){o&&u.forEach((function(e){e.removeEventListener("scroll",n.update,wr)})),s&&c.removeEventListener("resize",n.update,wr)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Er({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,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u={placement:xr(t.placement),variation:_r(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,Sr(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Sr(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Wn,{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,a=hr.reduce((function(e,n){return e[n]=function(e,t,n){var r=xr(e),i=[ar,rr].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[ar,or].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{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,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,g=t.options.placement,v=xr(g),y=c||(v===g||!h?[Tr(g)]:function(e){if(xr(e)===sr)return[];var t=Tr(e);return[jr(e),t,jr(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(xr(n)===sr?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?hr:c,l=_r(r),f=l?s?dr:dr.filter((function(e){return _r(e)===l})):cr,p=f.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=Nr(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[xr(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,_=new Map,O=!0,E=b[0],k=0;k<b.length;k++){var S=b[k],A=xr(S),T=_r(S)===ur,C=[rr,ir].indexOf(A)>=0,j=C?"width":"height",L=Nr(t,{placement:S,boundary:l,rootBoundary:f,altBoundary:p,padding:u}),P=C?T?or:ar:T?ir:rr;w[j]>x[j]&&(P=Tr(P));var D=Tr(P),M=[];if(o&&M.push(L[A]<=0),s&&M.push(L[P]<=0,L[D]<=0),M.every((function(e){return e}))){E=S,O=!1;break}_.set(S,M)}if(O)for(var R=function(e){var t=b.find((function(t){var n=_.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},$=h?3:1;$>0;$--){if("break"===R($))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{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,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,d=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=Nr(t,{boundary:c,rootBoundary:u,padding:f,altBoundary:l}),v=xr(t.placement),y=_r(t.placement),b=!y,w=Or(v),x="x"===w?"y":"x",_=t.modifiersData.popperOffsets,O=t.rects.reference,E=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,S="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(_){if(o){var C,j="y"===w?rr:ar,L="y"===w?ir:or,P="y"===w?"height":"width",D=_[w],M=D+g[j],R=D-g[L],$=d?-E[P]/2:0,N=y===ur?O[P]:E[P],I=y===ur?-E[P]:-O[P],W=t.elements.arrow,z=d&&W?Xn(W):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=H[j],B=H[L],G=Ir(0,O[P],z[P]),q=b?O[P]/2-$-G-V-S.mainAxis:N-G-V-S.mainAxis,F=b?-O[P]/2+$+G+B+S.mainAxis:I+G+B+S.mainAxis,U=t.elements.arrow&&nr(t.elements.arrow),Y=U?"y"===w?U.clientTop||0:U.clientLeft||0:0,K=null!=(C=null==A?void 0:A[w])?C:0,X=D+F-K,J=Ir(d?Hn(M,D+q-K-Y):M,D,d?zn(R,X):R);_[w]=J,T[w]=J-D}if(s){var Z,Q="x"===w?rr:ar,ee="x"===w?ir:or,te=_[x],ne="y"===x?"height":"width",re=te+g[Q],ie=te-g[ee],oe=-1!==[rr,ar].indexOf(v),ae=null!=(Z=null==A?void 0:A[x])?Z:0,se=oe?re:te-O[ne]-E[ne]-ae+S.altAxis,ce=oe?te+O[ne]+E[ne]-ae-S.altAxis:ie,ue=d&&oe?function(e,t,n){var r=Ir(e,t,n);return r>n?n:r}(se,te,ce):Ir(d?se:re,te,d?ce:ie);_[x]=ue,T[x]=ue-te}t.modifiersData[r]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=xr(n.placement),c=Or(s),u=[ar,or].indexOf(s)>=0?"height":"width";if(o&&a){var l=function(e,t){return Rr("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:$r(e,cr))}(i.padding,n),f=Xn(o),p="y"===c?rr:ar,d="y"===c?ir:or,h=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],m=a[c]-n.rects.reference[c],g=nr(o),v=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=l[p],w=v-f[u]-l[d],x=v/2-f[u]/2+y,_=Ir(b,x,w),O=c;n.modifiersData[r]=((t={})[O]=_,t.centerOffset=_-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)))&&Lr(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{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,a=Nr(t,{elementContext:"reference"}),s=Nr(t,{altBoundary:!0}),c=Wr(a,r),u=Wr(s,i,o),l=zr(c),f=zr(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),Vr="tippy-content",Br="tippy-backdrop",Gr="tippy-arrow",qr="tippy-svg-arrow",Fr={passive:!0,capture:!0},Ur=function(){return document.body};function Yr(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Kr(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Xr(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Jr(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Zr(e){return[].concat(e)}function Qr(e,t){-1===e.indexOf(t)&&e.push(t)}function ei(e){return e.split("-")[0]}function ti(e){return[].slice.call(e)}function ni(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function ri(){return document.createElement("div")}function ii(e){return["Element","Fragment"].some((function(t){return Kr(e,t)}))}function oi(e){return Kr(e,"MouseEvent")}function ai(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function si(e){return ii(e)?[e]:function(e){return Kr(e,"NodeList")}(e)?ti(e):Array.isArray(e)?e:ti(document.querySelectorAll(e))}function ci(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function ui(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function li(e){var t,n=Zr(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function fi(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function pi(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 di={isTouch:!1},hi=0;function mi(){di.isTouch||(di.isTouch=!0,window.performance&&document.addEventListener("mousemove",gi))}function gi(){var e=performance.now();e-hi<20&&(di.isTouch=!1,document.removeEventListener("mousemove",gi)),hi=e}function vi(){var e=document.activeElement;if(ai(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var yi=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var bi={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},wi=Object.assign({appendTo:Ur,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},bi,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),xi=Object.keys(wi);function _i(e){var t=(e.plugins||[]).reduce((function(t,n){var r,i=n.name,o=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=wi[i])?r:o);return t}),{});return Object.assign({},e,t)}function Oi(e,t){var n=Object.assign({},t,{content:Xr(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(_i(Object.assign({},wi,{plugins:t}))):xi).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({},wi.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 Ei(e,t){e.innerHTML=t}function ki(e){var t=ri();return!0===e?t.className=Gr:(t.className=qr,ii(e)?t.appendChild(e):Ei(t,e)),t}function Si(e,t){ii(t.content)?(Ei(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Ei(e,t.content):e.textContent=t.content)}function Ai(e){var t=e.firstElementChild,n=ti(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Vr)})),arrow:n.find((function(e){return e.classList.contains(Gr)||e.classList.contains(qr)})),backdrop:n.find((function(e){return e.classList.contains(Br)}))}}function Ti(e){var t=ri(),n=ri();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ri();function i(n,r){var i=Ai(t),o=i.box,a=i.content,s=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||Si(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(ki(r.arrow))):o.appendChild(ki(r.arrow)):s&&o.removeChild(s)}return r.className=Vr,r.setAttribute("data-state","hidden"),Si(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}Ti.$$tippy=!0;var Ci=1,ji=[],Li=[];function Pi(e,t){var n,r,i,o,a,s,c,u,l=Oi(e,Object.assign({},wi,_i(ni(t)))),f=!1,p=!1,d=!1,h=!1,m=[],g=Jr(U,l.interactiveDebounce),v=Ci++,y=(u=l.plugins).filter((function(e,t){return u.indexOf(e)===t})),b={id:v,reference:e,popper:ri(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){0;if(b.state.isDestroyed)return;D("onBeforeUpdate",[b,t]),q();var n=b.props,r=Oi(e,Object.assign({},n,ni(t),{ignoreAttributes:!0}));b.props=r,G(),n.interactiveDebounce!==r.interactiveDebounce&&($(),g=Jr(U,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Zr(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");R(),P(),_&&_(n,r);b.popperInstance&&(J(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));D("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){0;var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=di.isTouch&&!b.props.touch,i=Yr(b.props.duration,0,wi.duration);if(e||t||n||r)return;if(T().hasAttribute("disabled"))return;if(D("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,A()&&(x.style.visibility="visible");P(),z(),b.state.isMounted||(x.style.transition="none");if(A()){var o=j(),a=o.box,c=o.content;ci([a,c],0)}s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,A()&&b.props.animation){var t=j(),n=t.box,r=t.content;ci([n,r],i),ui([n,r],"visible")}M(),R(),Qr(Li,b),null==(e=b.popperInstance)||e.forceUpdate(),D("onMount",[b]),b.props.animation&&A()&&function(e,t){V(e,t)}(i,(function(){b.state.isShown=!0,D("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=T();e=b.props.interactive&&t===Ur||"parent"===t?n.parentNode:Xr(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,J(),!1}()},hide:function(){0;var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Yr(b.props.duration,1,wi.duration);if(e||t||n)return;if(D("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,h=!1,f=!1,A()&&(x.style.visibility="hidden");if($(),H(),P(!0),A()){var i=j(),o=i.box,a=i.content;b.props.animation&&(ci([o,a],r),ui([o,a],"hidden"))}M(),R(),b.props.animation?A()&&function(e,t){V(e,(function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){0;C().addEventListener("mousemove",g),Qr(ji,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){0;b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Z(),Q().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);Li=Li.filter((function(e){return e!==b})),b.state.isMounted=!1,D("onHidden",[b])},destroy:function(){0;if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),q(),delete e._tippy,b.state.isDestroyed=!0,D("onDestroy",[b])}};if(!l.render)return b;var w=l.render(b),x=w.popper,_=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var O=y.map((function(e){return e.fn(b)})),E=e.hasAttribute("aria-expanded");function k(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===k()[0]}function A(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function T(){return c||e}function C(){var e=T().parentNode;return e?li(e):document}function j(){return Ai(x)}function L(e){return b.state.isMounted&&!b.state.isVisible||di.isTouch||o&&"focus"===o.type?0:Yr(b.props.delay,e?0:1,wi.delay)}function P(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function D(e,t,n){var r;(void 0===n&&(n=!0),O.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=b.props)[e].apply(r,t)}function M(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Zr(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.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 R(){!E&&b.props.aria.expanded&&Zr(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===T()?"true":"false"):e.removeAttribute("aria-expanded")}))}function $(){C().removeEventListener("mousemove",g),ji=ji.filter((function(e){return e!==g}))}function N(t){if(!di.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!pi(x,n)){if(Zr(b.props.triggerTarget||e).some((function(e){return pi(e,n)}))){if(di.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),p=!0,setTimeout((function(){p=!1})),b.state.isMounted||H())}}}function I(){d=!0}function W(){d=!1}function z(){var e=C();e.addEventListener("mousedown",N,!0),e.addEventListener("touchend",N,Fr),e.addEventListener("touchstart",W,Fr),e.addEventListener("touchmove",I,Fr)}function H(){var e=C();e.removeEventListener("mousedown",N,!0),e.removeEventListener("touchend",N,Fr),e.removeEventListener("touchstart",W,Fr),e.removeEventListener("touchmove",I,Fr)}function V(e,t){var n=j().box;function r(e){e.target===n&&(fi(n,"remove",r),t())}if(0===e)return t();fi(n,"remove",a),fi(n,"add",r),a=r}function B(t,n,r){void 0===r&&(r=!1),Zr(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})}))}function G(){var e;S()&&(B("touchstart",F,{passive:!0}),B("touchend",Y,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(B(e,F),e){case"mouseenter":B("mouseleave",Y);break;case"focus":B(yi?"focusout":"blur",K);break;case"focusin":B("focusout",K)}}))}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 F(e){var t,n=!1;if(b.state.isEnabled&&!X(e)&&!p){var r="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,R(),!b.state.isVisible&&oi(e)&&ji.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function U(e){var t=e.target,n=T().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,a=ei(i.placement),s=i.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,l="right"===a?s.left.x:0,f="left"===a?s.right.x:0,p=t.top-r+c>o,d=r-t.bottom-u>o,h=t.left-n+l>o,m=n-t.right-f>o;return p||d||h||m}))}(Q().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:l}:null})).filter(Boolean),e)&&($(),te(e))}function Y(e){X(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function K(e){b.props.trigger.indexOf("focusin")<0&&e.target!==T()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function X(e){return!!di.isTouch&&S()!==e.type.indexOf("touch")>=0}function J(){Z();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,c=A()?Ai(x).arrow:null,u=o?{getBoundingClientRect:o,contextElement:o.contextElement||T()}:e,l=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=j().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&&l.push({name:"arrow",options:{element:c,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Hr(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function Z(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return ti(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&D("onTrigger",[b,e]),z();var t=L(!0),r=k(),i=r[0],o=r[1];di.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),D("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=L(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else H()}return G(),R(),P(),D("onCreate",[b]),l.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&C().addEventListener("mousemove",g)})),b}function Di(e,t){void 0===t&&(t={});var n=wi.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",mi,Fr),window.addEventListener("blur",vi);var r=Object.assign({},t,{plugins:n}),i=si(e).reduce((function(e,t){var n=t&&Pi(t,r);return n&&e.push(n),e}),[]);return ii(e)?i[0]:i}Di.defaultProps=wi,Di.setDefaultProps=function(e){Object.keys(e).forEach((function(t){wi[t]=e[t]}))},Di.currentInput=di;Object.assign({},Wn,{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)}});Di.setDefaultProps({render:Ti});var Mi=Di;var Ri=768,$i={defaultWidth:280,minWidth:200,maxWidth:350},Ni={drawer:{orientation:"horizontal",defaultPanel:"source",defaultHeight:300,defaultWidth:500,minWidth:350,minHeight:200},preview:{defaultPanel:"preview"}};kt.plugin(Rt),kt.plugin(Kt),kt.plugin(cn),kt.store("filter",function(e){return{raw:e.$persist("").as("filter-text"),get text(){return this.raw.replace(/\s/g,"").toLowerCase()},get active(){return this.text.length>0}}}(kt)),kt.store("layout",{init:function(){this.desktop=window.innerWidth>=Ri},reflowing:!1,desktop:!0,desktopWidth:Ri}),kt.store("nav",function(e){return{open:e.$persist([]).as("nav-open"),active:e.$persist(null).as("nav-active"),isOpen:function(e){return this.open.includes(e)},setOpen:function(e){this.open.push(e)},setClosed:function(e){var t=this.open.indexOf(e);t>-1&&this.open.splice(t,1)},toggle:function(e){this.isOpen(e)?this.setClosed(e):this.setOpen(e)}}}(kt)),kt.store("sidebar",function(e){var t=$i,n=t.defaultWidth,r=t.minWidth,i=t.maxWidth;return{open:e.$persist(!1).as("sidebar-open"),width:e.$persist(n).as("sidebar-width"),minWidth:r,maxWidth:i,toggle:function(){e.store("sidebar").open=!e.store("sidebar").open}}}(kt)),kt.store("inspector",function(e){var t=Ni,n=t.drawer,r=t.preview;return{drawer:{hidden:e.$persist(!1).as("drawer-hidden"),orientation:e.$persist(n.orientation).as("drawer-orientation"),panel:e.$persist(n.defaultPanel).as("drawer-panel"),height:e.$persist(n.defaultHeight).as("drawer-height"),width:e.$persist(n.defaultWidth).as("drawer-width"),minWidth:n.minWidth,minHeight:n.minHeight,visibleTabCount:1/0},preview:{width:e.$persist("100%").as("preview-width"),height:e.$persist("100%").as("preview-height"),panel:e.$persist(r.defaultPanel).as("preview-panel"),lastWidth:null,lastHeight:null,resizing:!1}}}(kt)),kt.data("page",(function(){return{init:function(){var e,n,r,i=this;(e=window.SOCKET_PATH,n=(Date.now()+(100*Math.random()|0)).toString(),r=hn.createConsumer("".concat(e,"?uid=").concat(n)),{addListener:function(e,n){r.subscriptions.create(e,{received:t(mn)((function(e){console.log("Lookbook files changed"),n(e)}),200),connected:function(){console.log("Lookbook websocket connected")},disconnected:function(){console.log("Lookbook websocket disconnected")}})}}).addListener("Lookbook::ReloadChannel",(function(){return i.refresh()}))},update:function(){return ln(t(pn).mark((function e(){var n,r;return t(pn).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(window.document.location);case 2:if((n=e.sent).ok){e.next=5;break}return e.abrupt("return",window.location.reload());case 5:return e.next=7,n.text();case 7:r=e.sent,this.morph((new DOMParser).parseFromString(r,"text/html"));case 9:case"end":return e.stop()}}),e,this)}))).apply(this)},setLocation:function(e){var t=e instanceof Event?e.currentTarget.href:e;history.pushState({},null,t),this.$dispatch("popstate")},refresh:function(){this.$dispatch("popstate")},morph:function(e){var t=e.getElementById(this.$root.id).outerHTML;Alpine.morph(this.$root,t,vn),this.$dispatch("page:morphed")}}})),kt.data("splitter",(function(e,t){var n=void 0===t?{}:t;return{splits:[],init:function(){var t=this,r=this,i=this,o="".concat("vertical"===e?"column":"row","Gutters"),a=this.$el;Dn((fn(Pn={},o,[{track:1,element:a}]),fn(Pn,"minSize",n.minSize||0),fn(Pn,"writeStyle",(function(){})),fn(Pn,"onDrag",(function(e,n,r){t.splits=r.split(" ").map((function(e){return parseInt(e)}))})),fn(Pn,"onDragStart",(function(){r.$store.layout.reflowing=!0})),fn(Pn,"onDragEnd",(function(){i.$store.layout.reflowing=!1})),Pn))}}})),kt.data("previewWindow",(function(){return{get store(){return this.$store.inspector.preview},get maxWidth(){return"100%"===this.store.width?"100%":"".concat(this.store.width,"px")},get maxHeight(){return"100%"===this.store.height?"100%":"".concat(this.store.height,"px")},get parentWidth(){return Math.round(this.$root.parentElement.clientWidth)},get parentHeight(){return Math.round(this.$root.parentElement.clientHeight)},start:function(){this.$store.layout.reflowing=!0,this.store.resizing=!0},end:function(){this.$store.layout.reflowing=!1,this.store.resizing=!1},onResizeStart:function(e){this.onResizeWidthStart(e),this.onResizeHeightStart(e)},toggleFullSize:function(){var e=this.store,t=e.height,n=e.width;"100%"===t&&"100%"===n?(this.toggleFullHeight(),this.toggleFullWidth()):("100%"!==t&&this.toggleFullHeight(),"100%"!==n&&this.toggleFullWidth())},onResizeWidth:function(e){var t=this.resizeStartWidth-2*(this.resizeStartPositionX-e.pageX),n=Math.min(Math.max(Math.round(t),200),this.parentWidth);this.store.width=n===this.parentWidth?"100%":n},onResizeWidthStart:function(e){this.start(),this.onResizeWidth=this.onResizeWidth.bind(this),this.onResizeWidthEnd=this.onResizeWidthEnd.bind(this),this.resizeStartPositionX=e.pageX,this.resizeStartWidth=this.$root.clientWidth,window.addEventListener("pointermove",this.onResizeWidth),window.addEventListener("pointerup",this.onResizeWidthEnd)},onResizeWidthEnd:function(){window.removeEventListener("pointermove",this.onResizeWidth),window.removeEventListener("pointerup",this.onResizeWidthEnd),this.end()},toggleFullWidth:function(){var e=this.store,t=e.width,n=e.lastWidth;"100%"===t&&n?this.store.width=n:(this.store.lastWidth=t,this.store.width="100%")},onResizeHeight:function(e){var t=this.resizeStartHeight-(this.resizeStartPositionY-e.pageY),n=Math.min(Math.max(Math.round(t),200),this.parentHeight);this.$store.inspector.preview.height=n===this.parentHeight?"100%":n},onResizeHeightStart:function(e){this.start(),this.onResizeHeight=this.onResizeHeight.bind(this),this.onResizeHeightEnd=this.onResizeHeightEnd.bind(this),this.resizeStartPositionY=e.pageY,this.resizeStartHeight=this.$root.clientHeight,window.addEventListener("pointermove",this.onResizeHeight),window.addEventListener("pointerup",this.onResizeHeightEnd)},onResizeHeightEnd:function(){window.removeEventListener("pointermove",this.onResizeHeight),window.removeEventListener("pointerup",this.onResizeHeightEnd),this.end()},toggleFullHeight:function(){var e=this.store,t=e.height,n=e.lastHeight;"100%"===t&&n?this.store.height=n:(this.store.lastHeight=t,this.store.height="100%")}}})),kt.data("copy",(function(){return{get content(){var e=document.getElementById(this.$root.getAttribute("data-target"));return(e?e.innerHTML:"").trim()},done:!1,save:function(){return ln(t(pn).mark((function e(){var n;return t(pn).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this,e.next=3,window.navigator.clipboard.writeText(this.content);case 3:this.done=!0,setTimeout((function(){n.done=!1}),1e3);case 5:case"end":return e.stop()}}),e,this)}))).apply(this)}}})),kt.data("code",(function(){return{wrap:!1}})),kt.data("inspector",(function(){return{width:0,height:0,init:function(){var e=this;new ResizeObserver((function(t){var n=t[0].contentRect;e.width=Math.round(n.width),e.height=Math.round(n.height)})).observe(this.$el),this.width=Math.round(this.$el.clientWidth),this.height=Math.round(this.$el.clientHeight)},get orientation(){return this.$store.inspector.drawer.orientation},get view(){return this.$store.inspector.preview.view},get horizontal(){return!this.canBeVertical||"horizontal"===this.orientation},get vertical(){return!this.horizontal},get canBeVertical(){return this.width>800},get drawerHidden(){return this.$store.inspector.drawer.hidden},get maxDrawerHeight(){return Math.round(.7*this.height)},get maxDrawerWidth(){return Math.round(.7*this.width)},isActiveDrawerPanel:function(e){return this.$store.inspector.drawer.panel===e},switchDrawerPanel:function(e){this.$store.inspector.drawer.panel=e},isActivePreviewPanel:function(e){return this.$store.inspector.preview.panel===e},switchPreviewPanel:function(e){this.$store.inspector.preview.panel=e},toggleOrientation:function(){this.$store.inspector.drawer.orientation="horizontal"===this.orientation?"vertical":"horizontal"},toggleDrawer:function(){this.$store.inspector.drawer.hidden=!this.$store.inspector.drawer.hidden},preview:{width:null,height:null}}})),kt.data("filter",(function(){return{get active(){return this.$store.filter.active},checkEsc:function(e){"Escape"===e.key&&(this.active?this.clear():this.blur())},clear:function(){this.$store.filter.raw=""},focus:function(e){var t=this;e&&"INPUT"===e.target.tagName||setTimeout((function(){return t.$refs.input.focus()}),0)},blur:function(){var e=this;setTimeout((function(){return e.$refs.input.blur()}),0)}}})),kt.data("param",(function(e,n,r){var i=void 0===r?{}:r;return{name:e,value:n,updating:!1,init:function(){var e=this,n=this;i.debounce?this.$watch("value",t(mn)((function(){return e.updateIfValid()}),i.debounce)):this.$watch("value",(function(){return n.updateIfValid()}))},setFocus:function(){var e=this;setTimeout((function(){return e.$root.focus()}),0)},updateIfValid:function(){this.validate()&&this.update()},update:function(){var e=new URLSearchParams(window.location.search);e.set(this.name,this.value);var t=location.href.replace(location.search,"");this.setLocation("".concat(t,"?").concat(e.toString()))},validate:function(){return!this.$root.reportValidity||this.$root.reportValidity()}}})),kt.data("sizes",(function(){return{width:0,height:0,init:function(){var e=this;new ResizeObserver((function(t){var n=t[0].contentRect;e.width=Math.round(n.width),e.height=Math.round(n.height)})).observe(this.$el),this.width=Math.round(this.$el.clientWidth),this.height=Math.round(this.$el.clientHeight)}}})),kt.data("nav",(function(){return{empty:!1,init:function(){var e=this,t=this;this.$watch("$store.filter.text",(function(){return e.filter()})),this.$nextTick((function(){t.setActive(),t.filter()}))},filter:function(){var e=this;this.empty=!0,this.getChildren().forEach((function(t){var n=yn(t);n.filter(e.$store.filter.text),n.hidden||(e.empty=!1)}))},getChildren:function(){return this.$refs.items?Array.from(this.$refs.items.querySelectorAll(":scope > li > div")):[]},setActive:function(){var e=this.$el.querySelector('[data-path="'.concat(window.location.pathname,'"]'));this.$store.nav.active=e?e.id:""}}})),kt.data("tabs",(function(){return{width:0,tabsWidth:0,init:function(){var e=this;new ResizeObserver((function(t){e.width=Math.round(t[0].contentRect.width)})).observe(this.$refs.tabs),this.dropdown=Mi(this.$refs.toggle,{allowHTML:!0,interactive:!0,trigger:"click",placement:"bottom-end",theme:"menu",content:this.$refs.dropdown})},get tabs(){return Array.from(this.$refs.tabs.querySelectorAll(":scope > a"))},get visibleTabCount(){for(var e=0,t=0;t<this.tabs.length;t++){var n=this.tabs[t],r=parseInt(window.getComputedStyle(n).getPropertyValue("margin-left").replace("px",""),10);if((e+=n.clientWidth+r)>this.width)return this.tabsWidth=e-n.clientWidth,t}return this.tabs.length},get hiddenTabs(){return this.tabs.slice(this.visibleTabCount,-1)},hideDropdown:function(){this.dropdown.hide()}}})),kt.data("navItem",(function(e){return{hidden:!1,get id(){return this.$root.id},get path(){return this.$root.getAttribute("data-path")},get active(){return this.$store.nav.active===this.id},navigate:function(){this.setLocation(this.path),this.$store.sidebar.open=!1},filter:function(t){if(this.hidden=!1,t.length){var n=e.map((function(e){return e.includes(t)}));this.hidden=!n.filter((function(e){return e})).length}else this.hidden=!1}}})),kt.data("navGroup",(function(){return{hidden:!1,children:[],get id(){return this.$root.id},get open(){return this.$store.nav.isOpen(this.id)},toggle:function(){this.$store.nav.toggle(this.id)},getChildren:function(){return this.$refs.items?Array.from(this.$refs.items.querySelectorAll(":scope > li > div")):[]},navigateToFirstChild:function(){if(this.open){var e=this.firstVisibleChild();if(e){var t=e.querySelector(":scope > a.nav-link");t&&this.setLocation(t.getAttribute("href"))}}},filter:function(e){var t=this;this.hidden=!0,this.getChildren().forEach((function(n){var r=yn(n);r.filter(e),r.hidden||(t.hidden=!1)}))},firstVisibleChild:function(){return this.getChildren().find((function(e){return!!e._x_dataStack&&!1===e._x_dataStack[0].hidden}))}}}));var Ii=!0,Wi=!1,zi=void 0;try{for(var Hi,Vi=document.querySelectorAll("[data-hotkey]")[Symbol.iterator]();!(Ii=(Hi=Vi.next()).done);Ii=!0){d(Hi.value)}}catch(e){Wi=!0,zi=e}finally{try{Ii||null==Vi.return||Vi.return()}finally{if(Wi)throw zi}}window.Alpine=kt,kt.start()}();
|
2
2
|
//# sourceMappingURL=app.js.map
|