diff --git a/composer.lock b/composer.lock index 353438390..cce35fbc1 100644 --- a/composer.lock +++ b/composer.lock @@ -1052,16 +1052,16 @@ }, { "name": "laravel/framework", - "version": "v11.20.0", + "version": "v11.21.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "3cd7593dd9b67002fc416b46616f4d4d1da3e571" + "reference": "9d9d36708d56665b12185493f684abce38ad2d30" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/3cd7593dd9b67002fc416b46616f4d4d1da3e571", - "reference": "3cd7593dd9b67002fc416b46616f4d4d1da3e571", + "url": "https://api.github.com/repos/laravel/framework/zipball/9d9d36708d56665b12185493f684abce38ad2d30", + "reference": "9d9d36708d56665b12185493f684abce38ad2d30", "shasum": "" }, "require": { @@ -1254,20 +1254,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-08-06T14:39:21+00:00" + "time": "2024-08-20T15:00:52+00:00" }, { "name": "laravel/prompts", - "version": "v0.1.24", + "version": "v0.1.25", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "409b0b4305273472f3754826e68f4edbd0150149" + "reference": "7b4029a84c37cb2725fc7f011586e2997040bc95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/409b0b4305273472f3754826e68f4edbd0150149", - "reference": "409b0b4305273472f3754826e68f4edbd0150149", + "url": "https://api.github.com/repos/laravel/prompts/zipball/7b4029a84c37cb2725fc7f011586e2997040bc95", + "reference": "7b4029a84c37cb2725fc7f011586e2997040bc95", "shasum": "" }, "require": { @@ -1310,9 +1310,9 @@ "description": "Add beautiful and user-friendly forms to your command-line applications.", "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.1.24" + "source": "https://github.com/laravel/prompts/tree/v0.1.25" }, - "time": "2024-06-17T13:58:22+00:00" + "time": "2024-08-12T22:06:33+00:00" }, { "name": "laravel/serializable-closure", @@ -1753,16 +1753,16 @@ }, { "name": "livewire/livewire", - "version": "v3.5.4", + "version": "v3.5.6", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "b158c6386a892efc6c5e4682e682829baac1f933" + "reference": "597a2808d8d3001cc3ed5ce89a6ebab00f83b80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/b158c6386a892efc6c5e4682e682829baac1f933", - "reference": "b158c6386a892efc6c5e4682e682829baac1f933", + "url": "https://api.github.com/repos/livewire/livewire/zipball/597a2808d8d3001cc3ed5ce89a6ebab00f83b80f", + "reference": "597a2808d8d3001cc3ed5ce89a6ebab00f83b80f", "shasum": "" }, "require": { @@ -1770,6 +1770,7 @@ "illuminate/routing": "^10.0|^11.0", "illuminate/support": "^10.0|^11.0", "illuminate/validation": "^10.0|^11.0", + "laravel/prompts": "^0.1.24", "league/mime-type-detection": "^1.9", "php": "^8.1", "symfony/console": "^6.0|^7.0", @@ -1778,7 +1779,6 @@ "require-dev": { "calebporzio/sushi": "^2.1", "laravel/framework": "^10.15.0|^11.0", - "laravel/prompts": "^0.1.6", "mockery/mockery": "^1.3.1", "orchestra/testbench": "^8.21.0|^9.0", "orchestra/testbench-dusk": "^8.24|^9.1", @@ -1817,7 +1817,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v3.5.4" + "source": "https://github.com/livewire/livewire/tree/v3.5.6" }, "funding": [ { @@ -1825,7 +1825,7 @@ "type": "github" } ], - "time": "2024-07-15T18:27:32+00:00" + "time": "2024-08-19T11:52:18+00:00" }, { "name": "monolog/monolog", @@ -1930,16 +1930,16 @@ }, { "name": "nesbot/carbon", - "version": "3.7.0", + "version": "3.8.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "cb4374784c87d0a0294e8513a52eb63c0aff3139" + "reference": "bbd3eef89af8ba66a3aa7952b5439168fbcc529f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/cb4374784c87d0a0294e8513a52eb63c0aff3139", - "reference": "cb4374784c87d0a0294e8513a52eb63c0aff3139", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/bbd3eef89af8ba66a3aa7952b5439168fbcc529f", + "reference": "bbd3eef89af8ba66a3aa7952b5439168fbcc529f", "shasum": "" }, "require": { @@ -2032,7 +2032,7 @@ "type": "tidelift" } ], - "time": "2024-07-16T22:29:20+00:00" + "time": "2024-08-19T06:22:39+00:00" }, { "name": "nette/schema", @@ -2658,16 +2658,16 @@ }, { "name": "psr/log", - "version": "3.0.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + "reference": "79dff0b268932c640297f5208d6298f71855c03e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "url": "https://api.github.com/repos/php-fig/log/zipball/79dff0b268932c640297f5208d6298f71855c03e", + "reference": "79dff0b268932c640297f5208d6298f71855c03e", "shasum": "" }, "require": { @@ -2702,9 +2702,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.0" + "source": "https://github.com/php-fig/log/tree/3.0.1" }, - "time": "2021-07-14T16:46:02+00:00" + "time": "2024-08-21T13:31:24+00:00" }, { "name": "psr/simple-cache", @@ -6184,16 +6184,16 @@ }, { "name": "laravel/dusk", - "version": "v8.2.3", + "version": "v8.2.4", "source": { "type": "git", "url": "https://github.com/laravel/dusk.git", - "reference": "971907bdd6e50e32a0855ab3d21576ebef0f957f" + "reference": "ca1a0fadaadd93ad6e2425138d1e6321d4afe070" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/dusk/zipball/971907bdd6e50e32a0855ab3d21576ebef0f957f", - "reference": "971907bdd6e50e32a0855ab3d21576ebef0f957f", + "url": "https://api.github.com/repos/laravel/dusk/zipball/ca1a0fadaadd93ad6e2425138d1e6321d4afe070", + "reference": "ca1a0fadaadd93ad6e2425138d1e6321d4afe070", "shasum": "" }, "require": { @@ -6250,9 +6250,9 @@ ], "support": { "issues": "https://github.com/laravel/dusk/issues", - "source": "https://github.com/laravel/dusk/tree/v8.2.3" + "source": "https://github.com/laravel/dusk/tree/v8.2.4" }, - "time": "2024-08-02T07:39:00+00:00" + "time": "2024-08-14T21:58:06+00:00" }, { "name": "laravel/pint", @@ -7180,21 +7180,21 @@ }, { "name": "pestphp/pest", - "version": "v2.35.0", + "version": "v2.35.1", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "d0ff2c8ec294b7aa7fcb0f3ddc4fdec864234646" + "reference": "b13acb630df52c06123588d321823c31fc685545" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/d0ff2c8ec294b7aa7fcb0f3ddc4fdec864234646", - "reference": "d0ff2c8ec294b7aa7fcb0f3ddc4fdec864234646", + "url": "https://api.github.com/repos/pestphp/pest/zipball/b13acb630df52c06123588d321823c31fc685545", + "reference": "b13acb630df52c06123588d321823c31fc685545", "shasum": "" }, "require": { "brianium/paratest": "^7.3.1", - "nunomaduro/collision": "^7.10.0|^8.3.0", + "nunomaduro/collision": "^7.10.0|^8.4.0", "nunomaduro/termwind": "^1.15.1|^2.0.1", "pestphp/pest-plugin": "^2.1.1", "pestphp/pest-plugin-arch": "^2.7.0", @@ -7272,7 +7272,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v2.35.0" + "source": "https://github.com/pestphp/pest/tree/v2.35.1" }, "funding": [ { @@ -7284,7 +7284,7 @@ "type": "github" } ], - "time": "2024-08-02T10:57:29+00:00" + "time": "2024-08-20T21:41:50+00:00" }, { "name": "pestphp/pest-plugin", @@ -8123,16 +8123,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.11.10", + "version": "1.11.11", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "640410b32995914bde3eed26fa89552f9c2c082f" + "reference": "707c2aed5d8d0075666e673a5e71440c1d01a5a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/640410b32995914bde3eed26fa89552f9c2c082f", - "reference": "640410b32995914bde3eed26fa89552f9c2c082f", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/707c2aed5d8d0075666e673a5e71440c1d01a5a3", + "reference": "707c2aed5d8d0075666e673a5e71440c1d01a5a3", "shasum": "" }, "require": { @@ -8177,36 +8177,36 @@ "type": "github" } ], - "time": "2024-08-08T09:02:50+00:00" + "time": "2024-08-19T14:37:29+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "10.1.15", + "version": "10.1.16", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae" + "reference": "7e308268858ed6baedc8704a304727d20bc07c77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae", - "reference": "5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7e308268858ed6baedc8704a304727d20bc07c77", + "reference": "7e308268858ed6baedc8704a304727d20bc07c77", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.18 || ^5.0", + "nikic/php-parser": "^4.19.1 || ^5.1.0", "php": ">=8.1", - "phpunit/php-file-iterator": "^4.0", - "phpunit/php-text-template": "^3.0", - "sebastian/code-unit-reverse-lookup": "^3.0", - "sebastian/complexity": "^3.0", - "sebastian/environment": "^6.0", - "sebastian/lines-of-code": "^2.0", - "sebastian/version": "^4.0", - "theseer/tokenizer": "^1.2.0" + "phpunit/php-file-iterator": "^4.1.0", + "phpunit/php-text-template": "^3.0.1", + "sebastian/code-unit-reverse-lookup": "^3.0.0", + "sebastian/complexity": "^3.2.0", + "sebastian/environment": "^6.1.0", + "sebastian/lines-of-code": "^2.0.2", + "sebastian/version": "^4.0.1", + "theseer/tokenizer": "^1.2.3" }, "require-dev": { "phpunit/phpunit": "^10.1" @@ -8218,7 +8218,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.1-dev" + "dev-main": "10.1.x-dev" } }, "autoload": { @@ -8247,7 +8247,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.15" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.16" }, "funding": [ { @@ -8255,7 +8255,7 @@ "type": "github" } ], - "time": "2024-06-29T08:25:15+00:00" + "time": "2024-08-22T04:31:57+00:00" }, { "name": "phpunit/php-file-iterator", diff --git a/dist/.vite/manifest.json b/dist/.vite/manifest.json index 635532dac..2cc04dadb 100644 --- a/dist/.vite/manifest.json +++ b/dist/.vite/manifest.json @@ -1,6 +1,6 @@ { "js/tallstackui.js": { - "file": "tallstackui-CqOqKApt.js", + "file": "tallstackui-DL2AnEQz.js", "name": "tallstackui", "src": "js/tallstackui.js", "isEntry": true, diff --git a/dist/tallstackui-CqOqKApt.js b/dist/tallstackui-DL2AnEQz.js similarity index 99% rename from dist/tallstackui-CqOqKApt.js rename to dist/tallstackui-DL2AnEQz.js index 2a9f883b9..1832ffa87 100644 --- a/dist/tallstackui-CqOqKApt.js +++ b/dist/tallstackui-DL2AnEQz.js @@ -6,4 +6,4 @@ var Ni=Object.defineProperty;var Qr=e=>{throw TypeError(e)};var Bi=(e,t,r)=>t in */(function(e,t){(function(n,i){e.exports=i()})(ee,function(){return function(){var r={686:function(a,o,s){s.d(o,{default:function(){return q}});var l=s(279),c=s.n(l),u=s(370),d=s.n(u),f=s(817),m=s.n(f);function p(D){try{return document.execCommand(D)}catch{return!1}}var y=function(S){var $=m()(S);return p("cut"),$},v=y;function T(D){var S=document.documentElement.getAttribute("dir")==="rtl",$=document.createElement("textarea");$.style.fontSize="12pt",$.style.border="0",$.style.padding="0",$.style.margin="0",$.style.position="absolute",$.style[S?"right":"left"]="-9999px";var P=window.pageYOffset||document.documentElement.scrollTop;return $.style.top="".concat(P,"px"),$.setAttribute("readonly",""),$.value=D,$}var k=function(S,$){var P=T(S);$.container.appendChild(P);var _=m()(P);return p("copy"),P.remove(),_},A=function(S){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},P="";return typeof S=="string"?P=k(S,$):S instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(S==null?void 0:S.type)?P=k(S.value,$):(P=m()(S),p("copy")),P},h=A;function R(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R=function($){return typeof $}:R=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},R(D)}var E=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$=S.action,P=$===void 0?"copy":$,_=S.container,F=S.target,Q=S.text;if(P!=="copy"&&P!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(F!==void 0)if(F&&R(F)==="object"&&F.nodeType===1){if(P==="copy"&&F.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(P==="cut"&&(F.hasAttribute("readonly")||F.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Q)return h(Q,{container:_});if(F)return P==="cut"?v(F):h(F,{container:_})},Y=E;function J(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?J=function($){return typeof $}:J=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},J(D)}function G(D,S){if(!(D instanceof S))throw new TypeError("Cannot call a class as a function")}function B(D,S){for(var $=0;$"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function w(D){return w=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},w(D)}function L(D,S){var $="data-clipboard-".concat(D);if(S.hasAttribute($))return S.getAttribute($)}var I=function(D){V($,D);var S=M($);function $(P,_){var F;return G(this,$),F=S.call(this),F.resolveOptions(_),F.listenClick(P),F}return N($,[{key:"resolveOptions",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof _.action=="function"?_.action:this.defaultAction,this.target=typeof _.target=="function"?_.target:this.defaultTarget,this.text=typeof _.text=="function"?_.text:this.defaultText,this.container=J(_.container)==="object"?_.container:document.body}},{key:"listenClick",value:function(_){var F=this;this.listener=d()(_,"click",function(Q){return F.onClick(Q)})}},{key:"onClick",value:function(_){var F=_.delegateTarget||_.currentTarget,Q=this.action(F)||"copy",rt=Y({action:Q,container:this.container,target:this.target(F),text:this.text(F)});this.emit(rt?"success":"error",{action:Q,text:rt,trigger:F,clearSelection:function(){F&&F.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(_){return L("action",_)}},{key:"defaultTarget",value:function(_){var F=L("target",_);if(F)return document.querySelector(F)}},{key:"defaultText",value:function(_){return L("text",_)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(_){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return h(_,F)}},{key:"cut",value:function(_){return v(_)}},{key:"isSupported",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],F=typeof _=="string"?[_]:_,Q=!!document.queryCommandSupported;return F.forEach(function(rt){Q=Q&&!!document.queryCommandSupported(rt)}),Q}}]),$}(c()),q=I},828:function(a){var o=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(c,u){for(;c&&c.nodeType!==o;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}a.exports=l},438:function(a,o,s){var l=s(828);function c(f,m,p,y,v){var T=d.apply(this,arguments);return f.addEventListener(p,T,v),{destroy:function(){f.removeEventListener(p,T,v)}}}function u(f,m,p,y,v){return typeof f.addEventListener=="function"?c.apply(null,arguments):typeof p=="function"?c.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(T){return c(T,m,p,y,v)}))}function d(f,m,p,y){return function(v){v.delegateTarget=l(v.target,m),v.delegateTarget&&y.call(f,v)}}a.exports=u},879:function(a,o){o.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},o.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||o.node(s[0]))},o.string=function(s){return typeof s=="string"||s instanceof String},o.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(a,o,s){var l=s(879),c=s(438);function u(p,y,v){if(!p&&!y&&!v)throw new Error("Missing required arguments");if(!l.string(y))throw new TypeError("Second argument must be a String");if(!l.fn(v))throw new TypeError("Third argument must be a Function");if(l.node(p))return d(p,y,v);if(l.nodeList(p))return f(p,y,v);if(l.string(p))return m(p,y,v);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(p,y,v){return p.addEventListener(y,v),{destroy:function(){p.removeEventListener(y,v)}}}function f(p,y,v){return Array.prototype.forEach.call(p,function(T){T.addEventListener(y,v)}),{destroy:function(){Array.prototype.forEach.call(p,function(T){T.removeEventListener(y,v)})}}}function m(p,y,v){return c(document.body,p,y,v)}a.exports=u},817:function(a){function o(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var c=s.hasAttribute("readonly");c||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),c||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),d=document.createRange();d.selectNodeContents(s),u.removeAllRanges(),u.addRange(d),l=u.toString()}return l}a.exports=o},279:function(a){function o(){}o.prototype={on:function(s,l,c){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:l,ctx:c}),this},once:function(s,l,c){var u=this;function d(){u.off(s,d),l.apply(c,arguments)}return d._=l,this.on(s,d,c)},emit:function(s){var l=[].slice.call(arguments,1),c=((this.e||(this.e={}))[s]||[]).slice(),u=0,d=c.length;for(u;u({text:e,notification:null,placeholders:n,time:2e3,init(){this.$watch("notification",i=>{if(!i||r==="icon")return;const a=this.$refs[`${r}-${t}`];a.innerText=this.placeholders.copied,setTimeout(()=>a.innerText=this.placeholders.copy,this.time)})},copy(){if(!e||!t||this.notification)return;const i=new Yi(`[data-hash="${t}"]`,{text:()=>this.text});i.on("success",a=>{this.notification=!0,a.clearSelection(),setTimeout(()=>this.notification=!1,this.time),this.$el.dispatchEvent(new CustomEvent("copy",{detail:{text:this.text}})),i.destroy()}),i.on("error",()=>this.notification=!1)}});var Yn={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(ee,function(){var r=1e3,n=6e4,i=36e5,a="millisecond",o="second",s="minute",l="hour",c="day",u="week",d="month",f="quarter",m="year",p="date",y="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var x=["th","st","nd","rd"],b=M%100;return"["+M+(x[(b-20)%10]||x[b]||x[0])+"]"}},A=function(M,x,b){var O=String(M);return!O||O.length>=x?M:""+Array(x+1-O.length).join(b)+M},h={s:A,z:function(M){var x=-M.utcOffset(),b=Math.abs(x),O=Math.floor(b/60),w=b%60;return(x<=0?"+":"-")+A(O,2,"0")+":"+A(w,2,"0")},m:function M(x,b){if(x.date()1)return M(I[0])}else{var q=x.name;E[q]=x,w=q}return!O&&w&&(R=w),w||!O&&R},B=function(M,x){if(J(M))return M.clone();var b=typeof x=="object"?x:{};return b.date=M,b.args=arguments,new V(b)},N=h;N.l=G,N.i=J,N.w=function(M,x){return B(M,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var V=function(){function M(b){this.$L=G(b.locale,null,!0),this.parse(b),this.$x=this.$x||b.x||{},this[Y]=!0}var x=M.prototype;return x.parse=function(b){this.$d=function(O){var w=O.date,L=O.utc;if(w===null)return new Date(NaN);if(N.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var I=w.match(v);if(I){var q=I[2]-1||0,D=(I[7]||"0").substring(0,3);return L?new Date(Date.UTC(I[1],q,I[3]||1,I[4]||0,I[5]||0,I[6]||0,D)):new Date(I[1],q,I[3]||1,I[4]||0,I[5]||0,I[6]||0,D)}}return new Date(w)}(b),this.init()},x.init=function(){var b=this.$d;this.$y=b.getFullYear(),this.$M=b.getMonth(),this.$D=b.getDate(),this.$W=b.getDay(),this.$H=b.getHours(),this.$m=b.getMinutes(),this.$s=b.getSeconds(),this.$ms=b.getMilliseconds()},x.$utils=function(){return N},x.isValid=function(){return this.$d.toString()!==y},x.isSame=function(b,O){var w=B(b);return this.startOf(O)<=w&&w<=this.endOf(O)},x.isAfter=function(b,O){return B(b)({show:!1,picker:{common:!1,year:!1,month:!1},format:n,model:e,day:"",month:"",year:"",days:[],blanks:[],range:{year:{min:i.year.min,max:i.year.max,start:0,first:0,last:0}},date:{min:i.date.min,max:i.date.max,start:null,end:null},disable:a,interval:null,livewire:o,property:s,monthYearOnly:c,value:l,calendar:u,init(){this.translations(),this.monthYearOnly&&(this.picker.month=!0),this.date.min=i.date.min?et(i.date.min):null,this.date.max=i.date.max?et(i.date.max):null,!this.livewire&&!this.model&&this.value&&(this.model=this.value),this.reset(),this.map(),this.$nextTick(()=>this.hydrate()),t&&this.model&&this.model.constructor===Array&&this.model.length>2&&(this.model=this.model.filter((f,m)=>m<2)),this.$watch("show",f=>{!f||this.picker.year||this.picker.month||(this.reset(),this.map())}),this.$watch("model",()=>{this.livewire&&this.hydrate()})},translations(){this.calendar.months=Object.values(this.calendar.months),this.calendar.week=Object.values(this.calendar.week),et.updateLocale("en",{weekdays:this.calendar.week,weekdaysShort:this.calendar.week.map(f=>f.slice(0,3)),weekdaysMin:this.calendar.week.map(f=>f.slice(0,2)),months:this.calendar.months,monthsShort:this.calendar.months.map(f=>f.slice(0,3))})},hydrate(){if(t&&this.model){const f=this.model[0];let m=this.model[1];m=m==="null"?null:m;const p=f?et(f).$d:null,y=m?et(m).$d:null;return this.date.start=p,this.date.end=y,!p&&!y&&(this.model=null),this.sync()}if(r)return this.model=this.quantity===0?null:this.model,this.sync();this.date.start=this.model?et(this.model).$d:null,this.sync()},sync(){if(!this.model)return;if(this.$el.dispatchEvent(new CustomEvent("select",{detail:{type:this.type,date:this.model}})),r){this.input=this.model.map(y=>this.formatted(y)).join(", ");return}const f=this.formatted(this.date.start),m=this.formatted(this.date.end);if(t){this.model[0]=this.formatted(this.date.start,"YYYY-MM-DD"),this.model[1]=this.date.end!==null?this.formatted(this.date.end,"YYYY-MM-DD"):null,this.input=`${f} - ${m==="Invalid Date"?"":m}`;return}this.show=!1,{true:()=>{this.model=this.formatted(this.date.start,"YYYY-MM"),this.input=this.formatted(this.date.start,"MMMM YYYY"),this.resetPicker({month:!0})},false:()=>{this.input=f,this.resetPicker()}}[this.monthYearOnly]()},select(f,m){f.preventDefault();const p=this.instance(m),y=p.format("YYYY-MM-DD");if(r)return this.model=this.model?this.model.includes(y)?this.model.filter(v=>v!==y):[...this.model,y]:[y],this.sync();if(t){const v=this.date.start&&!this.date.end&&p>this.date.start;return this.date.end=v?p:null,v||(this.date.start=p),this.model=[],this.show=this.date.start!==null&&this.date.end===null,this.sync()}this.date.start=p,this.date.end=null,this.model=p.format("YYYY-MM-DD"),this.sync(),te(d,this.model)},map(){const f=this.instance("01"),m=f.endOf("month").date(),p=f.day();this.blanks=Array.from({length:p},(y,v)=>v+1),this.days=Array.from({length:m},(y,v)=>{const T=f.add(v,"day");return{instance:T,day:T.date(),disabled:this.disabled(T.toDate())}})},helper(f,m){f.preventDefault();let p=et();if((m==="yesterday"||m==="tomorrow")&&(p=p.add(m==="yesterday"?-1:1,"day")),this.disabled(p.format("YYYY-MM-DD")))return;const y=p.format("YYYY-MM-DD");this.date.start=p.startOf("day").toDate(),this.date.end=null,this.model=this.type!=="single"?[y]:y,this.show=!1,this.reset(),this.input=p.format(this.format),this.map(),te(d,this.model)},selected(f){return this.model?this.model.includes(this.instance(f).format("YYYY-MM-DD")):!1},between(f){if(!t||!this.date.end)return!1;const m=et(f),p=et(this.date.start),y=et(this.date.end);return m.isBetween(p,y)||m.isSame(p)||m.isSame(y)},today(f){return!!et().isSame(this.instance(f),"day")},now(){this.reset(),this.map(),this.resetPicker()},disabled(f){return this.date.min&&et(f).isBefore(this.date.min)||this.date.max&&et(f).isAfter(this.date.max)||this.disable.includes(this.formatted(f,"YYYY-MM-DD"))},previousMonth(){this.range.year.min&&this.month===0&&this.year<=this.range.year.min||(this.month=this.month===0?11:this.month-1,this.month===11&&this.year--,this.map())},nextMonth(){this.range.year.max&&this.month===11&&this.year>=this.range.year.max||(this.month=(this.month+1)%12,this.month===0&&this.year++,this.map())},selectMonth(f,m){f.preventDefault(),f.stopPropagation(),this.month=m,this.picker.month=!1,this.monthYearOnly&&(this.picker.year=!0,this.range.year.start=this.year-11),this.map()},previousYear(f){f.preventDefault(),f.stopPropagation(),!(this.range.year.min!==null&&this.range.year.first<=this.range.year.min)&&(this.range.year.start-=19)},nextYear(f){f.preventDefault(),f.stopPropagation(),!(this.range.year.max!==null&&this.range.year.last>=this.range.year.max)&&(this.range.year.start+=19)},selectYear(f,m){if(f.preventDefault(),f.stopPropagation(),this.year=m,this.monthYearOnly)return this.date.start=et(`${this.year}-${this.month+1}`).$d,this.model=this.date.start,this.sync();this.resetPicker(),this.map()},yearRange(){var v,T;const f=this.range.year.start,m=this.range.year.min??-1/0,p=this.range.year.max??1/0,y=Array.from({length:20},(k,A)=>{const h=f+A,R=hp;return{year:h,disabled:R}});return this.range.year.first=(v=y[0])==null?void 0:v.year,this.range.year.last=(T=y[y.length-1])==null?void 0:T.year,y},clear(){const f=this.model;this.input=this.model=this.value=this.date.start=this.date.end=null,this.$el.dispatchEvent(new CustomEvent("clear",{detail:{type:this.type,date:f}}))},reset(){const f=Array.isArray(this.model)?this.model[0]:this.model,m=f?et(f):et();this.day=m.date(),this.month=m.month(),this.year=m.year()},resetPicker(f={}){this.picker={common:(f==null?void 0:f.common)??!1,year:(f==null?void 0:f.year)??!1,month:(f==null?void 0:f.month)??!1}},formatted(f,m=null){return et(f).format(m??this.format)},instance(f=null){return et(`${this.year}-${this.month+1}-${f??this.day}`)},set input(f){if(this.$refs.input.value=f,this.livewire)return;const m=document.getElementsByName(this.property)[0];m&&(m.value=this.model?typeof this.model=="string"?this.model:JSON.stringify(this.model):"")},get type(){return r?"multiple":t?"range":"single"},get quantity(){var f;return((f=this.model)==null?void 0:f.length)??0}}),Qi=(e=null,t=null)=>({storage:e??"dark-theme",darkTheme:t?!0:localStorage.getItem(e??"dark-theme")==="true",init(){const r=localStorage.getItem(this.storage);this.darkTheme=t?!0:r==="true",this.$watch("darkTheme",n=>localStorage.setItem(this.storage,n))}}),Zi=(e,t,r)=>({show:!1,dialog:{},text:{ok:t.ok,confirm:t.confirm,cancel:t.cancel},init(){e&&(window.onload=()=>this.add(e)),this.$watch("show",n=>Zt(n,"dialog",r))},add(n){this.dialog={},this.dialog=n,this.show=!0},remove(n=!1,i=!1){var o,s;this.show=!1;const a=n?(o=this.dialog.hooks)==null?void 0:o.dismiss:(s=this.dialog.hooks)==null?void 0:s.close;a&&!i&&Livewire.find(this.dialog.component).call(a.method,a.params),n&&vt("dialog:dismissed",this.dialog,!1)},accept(n,i){var o;vt("dialog:accepted",n,!1);const a=Livewire.find(n.component);if(n.options.confirm.static===!0||n.options.confirm.method===null)return(o=n.hooks)!=null&&o.ok&&a.call(n.hooks.ok.method,n.hooks.ok.params),this.remove(!1,!0);setTimeout(()=>{a.call(n.options.confirm.method,n.options.confirm.params),i.blur()},100),this.remove(!1,!0)},reject(n,i){var o;vt("dialog:rejected",n,!1);const a=Livewire.find(n.component);return!n.options||n.options.cancel.static===!0||n.options.cancel.method===null?((o=n.hooks)!=null&&o.reject&&a.call(n.hooks.reject.method,n.hooks.reject.params),this.remove(!1,!0)):(setTimeout(()=>{a.call(n.options.cancel.method,n.options.cancel.params),i.blur()},100),this.remove(!1,!0))}}),ta=e=>({show:!1,animate:e,init(){window.addEventListener("scroll",()=>{var r;const t=(r=this.$refs.dropdown)==null?void 0:r.getBoundingClientRect();this.show=(t==null?void 0:t.bottom)<0||(t==null?void 0:t.top)>window.innerHeight&&this.show?!1:this.show})}}),ea=e=>({init(){Livewire.hook("commit.prepare",()=>Zt(!0,"loading",e)),Livewire.hook("morph.updated",()=>Zt(!1,"loading",e))}}),ra=(e,t)=>({show:e,init(){this.$watch("show",r=>{Zt(r,"modal",t),this.$el.dispatchEvent(new CustomEvent(r?"open":"close"))})}}),na=(e,t,r,n)=>({value:e,min:t,max:r,interval:null,delay:n,init(){if(this.min&&this.max&&(this.min>this.max||this.maxthis.max){Ft("The max value of the number input must be less than the defined in [wire:model] property.");return}this.disableMinus=this.atMinus,this.disablePlus=this.atPlus}this.$watch("value",i=>{isNaN(i)||!i||(this.$refs.input.value=this.value=i)})},increment(){var i;if(this.limiters){if(this.defined&&this.atPlus){this.disablePlus=!0;return}this.value||(this.value=this.min),(i=this.$refs.input).value||(i.value=this.min)}this.$refs.input.stepUp(),this.$refs.input.dispatchEvent(new Event("change")),this.update()},decrement(){var i;if(this.limiters){if(this.defined&&this.atMinus){this.disableMinus=!0;return}this.value||(this.value=this.min),(i=this.$refs.input).value||(i.value=this.min)}this.$refs.input.stepDown(),this.$refs.input.dispatchEvent(new Event("change")),this.update()},update(){this.value=this.$refs.input.value,this.limiters&&(this.disableMinus=this.defined&&this.atMinus,this.disablePlus=this.defined&&this.atPlus)},validate(){const i=this.$refs.input.value;this.min!==null&&ithis.max&&(this.$refs.input.value,this.value=null),this.disablePlus=this.atPlus,this.disableMinus=this.atMinus},get defined(){return this.value===0||!!this.value},get atMinus(){return this.min!==null&&this.value<=this.min},get atPlus(){return this.max!==null&&this.value>=this.max},set disableMinus(i){this.$refs.minus.disabled=i},set disablePlus(i){this.$refs.plus.disabled=i},get limiters(){return this.min!==null||this.max!==null}});var ia=Error,aa=EvalError,oa=RangeError,sa=ReferenceError,zn=SyntaxError,Ee=TypeError,la=URIError,ua=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},tn=typeof Symbol<"u"&&Symbol,fa=ua,ca=function(){return typeof tn!="function"||typeof Symbol!="function"||typeof tn("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:fa()},ur={__proto__:null,foo:{}},pa=Object,ha=function(){return{__proto__:ur}.foo===ur.foo&&!(ur instanceof pa)},da="Function.prototype.bind called on incompatible ",ma=Object.prototype.toString,ya=Math.max,va="[object Function]",en=function(t,r){for(var n=[],i=0;i"u"||!it?z:it(Uint8Array),Wt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?z:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?z:ArrayBuffer,"%ArrayIteratorPrototype%":zt&&it?it([][Symbol.iterator]()):z,"%AsyncFromSyncIteratorPrototype%":z,"%AsyncFunction%":Jt,"%AsyncGenerator%":Jt,"%AsyncGeneratorFunction%":Jt,"%AsyncIteratorPrototype%":Jt,"%Atomics%":typeof Atomics>"u"?z:Atomics,"%BigInt%":typeof BigInt>"u"?z:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?z:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?z:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?z:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Ea,"%eval%":eval,"%EvalError%":Ta,"%Float32Array%":typeof Float32Array>"u"?z:Float32Array,"%Float64Array%":typeof Float64Array>"u"?z:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?z:FinalizationRegistry,"%Function%":Gn,"%GeneratorFunction%":Jt,"%Int8Array%":typeof Int8Array>"u"?z:Int8Array,"%Int16Array%":typeof Int16Array>"u"?z:Int16Array,"%Int32Array%":typeof Int32Array>"u"?z:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":zt&&it?it(it([][Symbol.iterator]())):z,"%JSON%":typeof JSON=="object"?JSON:z,"%Map%":typeof Map>"u"?z:Map,"%MapIteratorPrototype%":typeof Map>"u"||!zt||!it?z:it(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?z:Promise,"%Proxy%":typeof Proxy>"u"?z:Proxy,"%RangeError%":Da,"%ReferenceError%":Ma,"%Reflect%":typeof Reflect>"u"?z:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?z:Set,"%SetIteratorPrototype%":typeof Set>"u"||!zt||!it?z:it(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?z:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":zt&&it?it(""[Symbol.iterator]()):z,"%Symbol%":zt?Symbol:z,"%SyntaxError%":re,"%ThrowTypeError%":ka,"%TypedArray%":La,"%TypeError%":Xt,"%Uint8Array%":typeof Uint8Array>"u"?z:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?z:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?z:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?z:Uint32Array,"%URIError%":Pa,"%WeakMap%":typeof WeakMap>"u"?z:WeakMap,"%WeakRef%":typeof WeakRef>"u"?z:WeakRef,"%WeakSet%":typeof WeakSet>"u"?z:WeakSet};if(it)try{null.error}catch(e){var Ia=it(it(e));Wt["%Error.prototype%"]=Ia}var _a=function e(t){var r;if(t==="%AsyncFunction%")r=fr("async function () {}");else if(t==="%GeneratorFunction%")r=fr("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=fr("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&it&&(r=it(i.prototype))}return Wt[t]=r,r},rn={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Te=Rr,Ge=Oa,Ra=Te.call(Function.call,Array.prototype.concat),Na=Te.call(Function.apply,Array.prototype.splice),nn=Te.call(Function.call,String.prototype.replace),Je=Te.call(Function.call,String.prototype.slice),Ba=Te.call(Function.call,RegExp.prototype.exec),Fa=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ja=/\\(\\)?/g,Wa=function(t){var r=Je(t,0,1),n=Je(t,-1);if(r==="%"&&n!=="%")throw new re("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new re("invalid intrinsic syntax, expected opening `%`");var i=[];return nn(t,Fa,function(a,o,s,l){i[i.length]=s?nn(l,ja,"$1"):o||a}),i},Ua=function(t,r){var n=t,i;if(Ge(rn,n)&&(i=rn[n],n="%"+i[0]+"%"),Ge(Wt,n)){var a=Wt[n];if(a===Jt&&(a=_a(n)),typeof a>"u"&&!r)throw new Xt("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new re("intrinsic "+t+" does not exist!")},ue=function(t,r){if(typeof t!="string"||t.length===0)throw new Xt("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Xt('"allowMissing" argument must be a boolean');if(Ba(/^%?[^%]*%?$/,t)===null)throw new re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Wa(t),i=n.length>0?n[0]:"",a=Ua("%"+i+"%",r),o=a.name,s=a.value,l=!1,c=a.alias;c&&(i=c[0],Na(n,Ra([0,1],c)));for(var u=1,d=!0;u=n.length){var y=jt(s,f);d=!!y,d&&"get"in y&&!("originalValue"in y.get)?s=y.get:s=s[f]}else d=Ge(s,f),s=s[f];d&&!l&&(Wt[o]=s)}}return s},Jn={exports:{}},pr,an;function Nr(){if(an)return pr;an=1;var e=ue,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return pr=t,pr}var Ha=ue,Ve=Ha("%Object.getOwnPropertyDescriptor%",!0);if(Ve)try{Ve([],"length")}catch{Ve=null}var Kn=Ve,on=Nr(),Ya=zn,Gt=Ee,sn=Kn,Va=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Gt("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Gt("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Gt("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Gt("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Gt("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Gt("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,l=!!sn&&sn(t,r);if(on)on(t,r,{configurable:o===null&&l?l.configurable:!o,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:a===null&&l?l.writable:!a});else if(s||!i&&!a&&!o)t[r]=n;else throw new Ya("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Or=Nr(),Xn=function(){return!!Or};Xn.hasArrayLengthDefineBug=function(){if(!Or)return null;try{return Or([],"length",{value:1}).length!==1}catch{return!0}};var qa=Xn,za=ue,ln=Va,Ga=qa(),un=Kn,fn=Ee,Ja=za("%Math.floor%"),Ka=function(t,r){if(typeof t!="function")throw new fn("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||Ja(r)!==r)throw new fn("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&un){var o=un(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!n)&&(Ga?ln(t,"length",r,!0,!0):ln(t,"length",r)),t};(function(e){var t=Rr,r=ue,n=Ka,i=Ee,a=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||t.call(o,a),l=Nr(),c=r("%Math.max%");e.exports=function(f){if(typeof f!="function")throw new i("a function is required");var m=s(t,o,arguments);return n(m,1+c(0,f.length-(arguments.length-1)),!0)};var u=function(){return s(t,a,arguments)};l?l(e.exports,"apply",{value:u}):e.exports.apply=u})(Jn);var Xa=Jn.exports,Qn=ue,Zn=Xa,Qa=Zn(Qn("String.prototype.indexOf")),Za=function(t,r){var n=Qn(t,!!r);return typeof n=="function"&&Qa(t,".prototype.")>-1?Zn(n):n};const to={},eo=Object.freeze(Object.defineProperty({__proto__:null,default:to},Symbol.toStringTag,{value:"Module"})),ro=Ui(eo);var Br=typeof Map=="function"&&Map.prototype,hr=Object.getOwnPropertyDescriptor&&Br?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ke=Br&&hr&&typeof hr.get=="function"?hr.get:null,cn=Br&&Map.prototype.forEach,Fr=typeof Set=="function"&&Set.prototype,dr=Object.getOwnPropertyDescriptor&&Fr?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Xe=Fr&&dr&&typeof dr.get=="function"?dr.get:null,pn=Fr&&Set.prototype.forEach,no=typeof WeakMap=="function"&&WeakMap.prototype,ge=no?WeakMap.prototype.has:null,io=typeof WeakSet=="function"&&WeakSet.prototype,be=io?WeakSet.prototype.has:null,ao=typeof WeakRef=="function"&&WeakRef.prototype,hn=ao?WeakRef.prototype.deref:null,oo=Boolean.prototype.valueOf,so=Object.prototype.toString,lo=Function.prototype.toString,uo=String.prototype.match,jr=String.prototype.slice,kt=String.prototype.replace,fo=String.prototype.toUpperCase,dn=String.prototype.toLowerCase,ti=RegExp.prototype.test,mn=Array.prototype.concat,$t=Array.prototype.join,co=Array.prototype.slice,yn=Math.floor,Er=typeof BigInt=="function"?BigInt.prototype.valueOf:null,mr=Object.getOwnPropertySymbols,Tr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ne=typeof Symbol=="function"&&typeof Symbol.iterator=="object",at=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ne||!0)?Symbol.toStringTag:null,ei=Object.prototype.propertyIsEnumerable,vn=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function gn(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||ti.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-yn(-e):yn(e);if(n!==e){var i=String(n),a=jr.call(t,i.length+1);return kt.call(i,r,"$&_")+"."+kt.call(kt.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return kt.call(t,r,"$&_")}var Dr=ro,bn=Dr.custom,wn=ni(bn)?bn:null,po=function e(t,r,n,i){var a=r||{};if(Mt(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Mt(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Mt(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Mt(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Mt(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return ai(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return s?gn(t,l):l}if(typeof t=="bigint"){var c=String(t)+"n";return s?gn(t,c):c}var u=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=u&&u>0&&typeof t=="object")return Mr(t)?"[Array]":"[Object]";var d=ko(a,n);if(typeof i>"u")i=[];else if(ii(i,t)>=0)return"[Circular]";function f(U,M,x){if(M&&(i=co.call(i),i.push(M)),x){var b={depth:a.depth};return Mt(a,"quoteStyle")&&(b.quoteStyle=a.quoteStyle),e(U,b,n+1,i)}return e(U,a,n+1,i)}if(typeof t=="function"&&!xn(t)){var m=$o(t),p=je(t,f);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(p.length>0?" { "+$t.call(p,", ")+" }":"")}if(ni(t)){var y=ne?kt.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Tr.call(t);return typeof t=="object"&&!ne?ye(y):y}if(Do(t)){for(var v="<"+dn.call(String(t.nodeName)),T=t.attributes||[],k=0;k",v}if(Mr(t)){if(t.length===0)return"[]";var A=je(t,f);return d&&!Po(A)?"["+Pr(A,d)+"]":"[ "+$t.call(A,", ")+" ]"}if(yo(t)){var h=je(t,f);return!("cause"in Error.prototype)&&"cause"in t&&!ei.call(t,"cause")?"{ ["+String(t)+"] "+$t.call(mn.call("[cause]: "+f(t.cause),h),", ")+" }":h.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+$t.call(h,", ")+" }"}if(typeof t=="object"&&o){if(wn&&typeof t[wn]=="function"&&Dr)return Dr(t,{depth:u-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(So(t)){var R=[];return cn&&cn.call(t,function(U,M){R.push(f(M,t,!0)+" => "+f(U,t))}),$n("Map",Ke.call(t),R,d)}if(Eo(t)){var E=[];return pn&&pn.call(t,function(U){E.push(f(U,t))}),$n("Set",Xe.call(t),E,d)}if(Ao(t))return yr("WeakMap");if(To(t))return yr("WeakSet");if(Oo(t))return yr("WeakRef");if(go(t))return ye(f(Number(t)));if(wo(t))return ye(f(Er.call(t)));if(bo(t))return ye(oo.call(t));if(vo(t))return ye(f(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof ee<"u"&&t===ee)return"{ [object globalThis] }";if(!mo(t)&&!xn(t)){var Y=je(t,f),J=vn?vn(t)===Object.prototype:t instanceof Object||t.constructor===Object,G=t instanceof Object?"":"null prototype",B=!J&&at&&Object(t)===t&&at in t?jr.call(Ct(t),8,-1):G?"Object":"",N=J||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",V=N+(B||G?"["+$t.call(mn.call([],B||[],G||[]),": ")+"] ":"");return Y.length===0?V+"{}":d?V+"{"+Pr(Y,d)+"}":V+"{ "+$t.call(Y,", ")+" }"}return String(t)};function ri(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function ho(e){return kt.call(String(e),/"/g,""")}function Mr(e){return Ct(e)==="[object Array]"&&(!at||!(typeof e=="object"&&at in e))}function mo(e){return Ct(e)==="[object Date]"&&(!at||!(typeof e=="object"&&at in e))}function xn(e){return Ct(e)==="[object RegExp]"&&(!at||!(typeof e=="object"&&at in e))}function yo(e){return Ct(e)==="[object Error]"&&(!at||!(typeof e=="object"&&at in e))}function vo(e){return Ct(e)==="[object String]"&&(!at||!(typeof e=="object"&&at in e))}function go(e){return Ct(e)==="[object Number]"&&(!at||!(typeof e=="object"&&at in e))}function bo(e){return Ct(e)==="[object Boolean]"&&(!at||!(typeof e=="object"&&at in e))}function ni(e){if(ne)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Tr)return!1;try{return Tr.call(e),!0}catch{}return!1}function wo(e){if(!e||typeof e!="object"||!Er)return!1;try{return Er.call(e),!0}catch{}return!1}var xo=Object.prototype.hasOwnProperty||function(e){return e in this};function Mt(e,t){return xo.call(e,t)}function Ct(e){return so.call(e)}function $o(e){if(e.name)return e.name;var t=uo.call(lo.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ii(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return ai(jr.call(e,0,t.maxStringLength),t)+n}var i=kt.call(kt.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Mo);return ri(i,"single",t)}function Mo(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+fo.call(t.toString(16))}function ye(e){return"Object("+e+")"}function yr(e){return e+" { ? }"}function $n(e,t,r,n){var i=n?Pr(r,n):$t.call(r,", ");return e+" ("+t+") {"+i+"}"}function Po(e){for(var t=0;t=0)return!1;return!0}function ko(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=$t.call(Array(e.indent+1)," ");else return null;return{base:r,prev:$t.call(Array(t+1),r)}}function Pr(e,t){if(e.length===0)return"";var r=` `+t.prev+t.base;return r+$t.call(e,","+r)+` -`+t.prev}function je(e,t){var r=Mr(e),n=[];if(r){n.length=e.length;for(var i=0;i1;){var r=t.pop(),n=r.obj[r.prop];if(Nt(n)){for(var i=[],a=0;a=br?o.slice(l,l+br):o,u=[],d=0;d=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||a===qo.RFC1738&&(f===40||f===41)){u[u.length]=c.charAt(d);continue}if(f<128){u[u.length]=wt[f];continue}if(f<2048){u[u.length]=wt[192|f>>6]+wt[128|f&63];continue}if(f<55296||f>=57344){u[u.length]=wt[224|f>>12]+wt[128|f>>6&63]+wt[128|f&63];continue}d+=1,f=65536+((f&1023)<<10|c.charCodeAt(d)&1023),u[u.length]=wt[240|f>>18]+wt[128|f>>12&63]+wt[128|f>>6&63]+wt[128|f&63]}s+=u.join("")}return s},Qo=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],i=0;i"u"&&(R=0)}if(typeof u=="function"?A=u(r,A):A instanceof Date?A=m(A):n==="comma"&&xt(A)&&(A=qe.maybeMap(A,function(I){return I instanceof Date?m(I):I})),A===null){if(o)return c&&!v?c(r,nt.encoder,T,"key",p):r;A=""}if(os(A)||qe.isBuffer(A)){if(c){var J=v?r:c(r,nt.encoder,T,"key",p);return[y(J)+"="+y(c(A,nt.encoder,T,"value",p))]}return[y(r)+"="+y(String(A))]}var G=[];if(typeof A>"u")return G;var B;if(n==="comma"&&xt(A))v&&c&&(A=qe.maybeMap(A,c)),B=[{value:A.length>0?A.join(",")||null:void 0}];else if(xt(u))B=u;else{var N=Object.keys(A);B=d?N.sort(d):N}var V=l?r.replace(/\./g,"%2E"):r,U=i&&xt(A)&&A.length===1?V+"[]":V;if(a&&xt(A)&&A.length===0)return U+"[]";for(var M=0;M"u"?t.encodeDotInKeys===!0?!0:nt.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:nt.addQueryPrefix,allowDots:s,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:nt.allowEmptyArrays,arrayFormat:o,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:nt.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?nt.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:nt.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:nt.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:nt.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:nt.encodeValuesOnly,filter:a,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:nt.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:nt.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:nt.strictNullHandling}},us=function(e,t){var r=e,n=ls(t),i,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):xt(n.filter)&&(a=n.filter,i=a);var o=[];if(typeof r!="object"||r===null)return"";var s=fi[n.arrayFormat],l=s==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var c=ui(),u=0;u0?m+f:""},ie=li,kr=Object.prototype.hasOwnProperty,fs=Array.isArray,tt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:ie.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},cs=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},pi=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},ps="utf8=%26%2310003%3B",hs="utf8=%E2%9C%93",ds=function(t,r){var n={__proto__:null},i=r.ignoreQueryPrefix?t.replace(/^\?/,""):t;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=r.parameterLimit===1/0?void 0:r.parameterLimit,o=i.split(r.delimiter,a),s=-1,l,c=r.charset;if(r.charsetSentinel)for(l=0;l-1&&(p=fs(p)?[p]:p);var y=kr.call(n,m);y&&r.duplicates==="combine"?n[m]=ie.combine(n[m],p):(!y||r.duplicates==="last")&&(n[m]=p)}return n},ms=function(e,t,r,n){for(var i=n?t:pi(t,r),a=e.length-1;a>=0;--a){var o,s=e[a];if(s==="[]"&&r.parseArrays)o=r.allowEmptyArrays&&(i===""||r.strictNullHandling&&i===null)?[]:[].concat(i);else{o=r.plainObjects?Object.create(null):{};var l=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,c=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,u=parseInt(c,10);!r.parseArrays&&c===""?o={0:i}:!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(o=[],o[u]=i):c!=="__proto__"&&(o[c]=i)}i=o}return i},ys=function(t,r,n,i){if(t){var a=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=n.depth>0&&o.exec(a),c=l?a.slice(0,l.index):a,u=[];if(c){if(!n.plainObjects&&kr.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&(l=s.exec(a))!==null&&d"u"?tt.charset:t.charset,n=typeof t.duplicates>"u"?tt.duplicates:t.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:tt.allowDots:!!t.allowDots;return{allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:tt.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:tt.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:tt.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:tt.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:tt.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:tt.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:tt.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:tt.decoder,delimiter:typeof t.delimiter=="string"||ie.isRegExp(t.delimiter)?t.delimiter:tt.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:tt.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:tt.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:tt.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:tt.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:tt.strictDepth,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:tt.strictNullHandling}},gs=function(e,t){var r=vs(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?ds(e,r):e,i=r.plainObjects?Object.create(null):{},a=Object.keys(n),o=0;o{var c;const n=e.constructor===String;let i=n?e:e.url,a=n?"get":e.method;const o=n?{}:e.params;a=a.toLowerCase();const s={method:a,headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/json",Accept:"application/json","X-TallStack-Ui":!0}},l=(c=document.head.querySelector('[name="csrf-token"]'))==null?void 0:c.getAttribute("content");return l&&(s.headers["X-CSRF-TOKEN"]=l),a==="get"?(t!==""&&(o.search=t),r.length>0&&(o.selected=JSON.stringify(r)),i+="?"+$s.stringify(o)):s.body=JSON.stringify({...o,search:t,selected:r}),{url:i,init:s}},As=(e=null,t,r={},n=[],i=!1,a="Select an option",o=!1,s=!0,l=!1,c,u,d,f=null,m=null)=>({show:!1,model:e,request:t,selects:null,search:"",searchable:o,multiple:i,dimensional:!!(r!=null&&r.label&&(r!=null&&r.value)),selectable:r,loading:!1,placeholder:a,internal:!1,common:s,required:l,response:[],options:n,observer:null,observing:!1,livewire:c,property:u,value:d,limit:f,image:null,index:null,async init(){var y;this.livewire||(this.common?this.$nextTick(()=>this.initAsVanilla()):await this.$nextTick(()=>this.initAsVanilla()));const p=this.livewire?"wire:model":"value";if(this.multiple&&this.model&&this.model.constructor!==Array)return Ft(`The [${p}] must be an array when multiple is set`);if(!this.multiple&&this.model&&this.model.constructor===Array)return Ft(`The [${p}] must not be an array when is not multiple`);if(this.common&&this.dimensional&&this.selectable.constructor===Array&&((y=this.selectable)==null?void 0:y.length)===0)return Ft(`The [${p}] must be defined`);if(this.common)return this.initAsCommon();await this.initAsRequest()},initAsVanilla(){this.value&&(this.input=this.model=this.value)},initAsCommon(){this.observation(),this.hydrate(),this.$watch("show",async p=>{this.index=null,!(!p||!this.searchable)&&setTimeout(()=>this.$refs.search.focus(),100)}),this.$watch("options",async()=>this.observed()),this.$watch("model",(p,y)=>{if(!p)return this.reset(!0);if(this.internal)return this.internal=!1;!p||p===y||this.hydrate(p)})},async initAsRequest(){var p;this.$watch("show",async(y,v)=>{if(y!==v){if(!y)return this.search="";await this.makeRequest(!1),setTimeout(()=>this.$refs.search.focus(),100)}}),this.$watch("search",async()=>this.makeRequest(!1)),(this.model||((p=this.model)==null?void 0:p.length)>0)&&(await this.makeRequest(),this.hydrate()),this.$watch("model",async(y,v)=>{if(!y)return this.reset(!0);if(!this.internal&&y!==v&&await this.makeRequest(),y===v||this.internal)return this.internal=!1;this.response.length!==0&&this.hydrate(y)})},async makeRequest(p=!0){var T,k;if(this.loading=!0,this.response=[],((T=this.request.params)==null?void 0:T.constructor)===Array)return Bt("The [params] must be an array with key and value pairs");(k=this.request).params&&(k.params=Alpine.evaluate(this,this.$refs.params.innerText));const{url:y,init:v}=Ss(this.request,this.search,p&&this.model?this.model.constructor===Array?this.model:[this.model]:[]);try{const h=await(await fetch(y,v)).json();this.response=h.map(R=>{if(!R[this.selectable.label])throw new Error("The [select.label] was not found in the response");return{...R,[this.selectable.label]:R[this.selectable.label].toString()}})}catch(A){Bt(A.message)}finally{this.loading=!1}},select(p){var v;if(p.disabled)return;if(this.internal=!0,this.selected(p)){this.clear(p),this.input=this.model;return}if(this.limit!==null&&this.multiple&&this.quantity>=this.limit)return;this.multiple?(this.selects=this.empty?[p]:[...this.selects,p],this.model=this.dimensional?this.selects.map(T=>T[this.selectable.value]):this.selects,this.search=""):(this.selects=[p],this.model=this.dimensional?p[this.selectable.value]:p,this.placeholder=this.dimensional?p[this.selectable.label]:p,this.image=p.image??null),this.show=this.quantity===((v=this.available)==null?void 0:v.length)?!1:this.multiple,this.search="",this.input=this.model;const y=this.$refs.button;this.$nextTick(()=>y.dispatchEvent(new CustomEvent("select",{detail:{select:p}}))),te(m,this.model)},selected(p){var y,v;return this.empty||((y=this.available)==null?void 0:y.length)===0?!1:this.multiple?(v=this.selects)==null?void 0:v.some(T=>JSON.stringify(T)===JSON.stringify(p)):JSON.stringify(this.selects[0]??this.selects)===JSON.stringify(p)},clear(p=null){const y=this.$refs.button;if(this.$nextTick(()=>y.dispatchEvent(new CustomEvent("remove",{detail:{select:p}}))),p&&this.multiple){if(this.required&&this.quantity===1){this.show=!1;return}this.selects=this.selects.filter(v=>{const T=JSON.stringify(this.dimensional?v[this.selectable.value]:v),k=JSON.stringify(this.dimensional?p[this.selectable.value]:p);return T!==k}),this.model=this.dimensional?this.selects.map(v=>v[this.selectable.value]):this.selects,this.input=this.model;return}if(this.required){this.show=!1;return}this.selects=[],this.reset()},reset(p=!1){this.input=null,this.model=null,this.placeholder=a,this.image=null,this.search="",this.$nextTick(()=>this.selects=[]),!p&&(this.show=!1)},observation(){this.sync(),this.$refs.options&&(this.observer=new MutationObserver(this.sync.bind(this)),this.observer.observe(this.$refs.options,{subtree:!0,characterData:!0}))},async observed(){this.observer&&!this.observing&&(this.observer.disconnect(),this.observing=!0),await this.$nextTick(),this.observing=!1,this.observation()},sync(){this.$refs.options&&(this.options=Alpine.evaluate(this,this.$refs.options.innerText))},hydrate(p=null){var y,v,T;if(this.model=p??this.model,!this.common){this.selects=this.available.filter(k=>{var A;return this.multiple?(A=this.model)==null?void 0:A.includes(k[this.selectable.value]):this.compare(this.model,k[this.selectable.value])}),this.multiple||(this.placeholder=((y=this.selects[0])==null?void 0:y[this.selectable.label])??a);return}if(this.multiple){this.selects=this.available.filter(k=>{var A,h;return this.dimensional?(A=this.model)==null?void 0:A.includes(k[this.selectable.value]):(h=this.model)==null?void 0:h.includes(k)});return}this.selects=this.available.find(k=>this.dimensional?this.compare(this.model,k[this.selectable.value]):this.compare(this.model,k)),this.selects?(this.selects=[this.selects],this.placeholder=this.dimensional?((v=this.selects[0])==null?void 0:v[this.selectable.label])??a:this.selects[0]??a,this.image=((T=this.selects[0])==null?void 0:T.image)??null):this.selects=[]},compare(p,y){return typeof y=="string"&&(p=p==null?void 0:p.toString()),typeof y=="number"&&(p=parseInt(p)),p===y},normalize(p){return p.normalize("NFD").replace(/[\u0300-\u036f]/g,"")},navigate(p){if(!this.show&&p.key==="Tab"||p.key!=="ArrowUp"&&p.key!=="ArrowDown"&&p.key!=="Tab")return;p.preventDefault();const y=this.index??-1,v=this.available.length-1,k={ArrowUp:()=>y===0?v:y-1,ArrowDown:()=>(y+1)%this.available.length,Tab:()=>y===v?0:y+1}[p.key]();this.$refs.list.querySelectorAll('[role="option"]').forEach((A,h)=>{A.removeAttribute("tabindex"),h===k&&(A.setAttribute("tabindex","0"),A.focus())}),this.index=k},set input(p){if(this.livewire)return;const y=document.getElementsByName(this.property)[0];y&&(y.value=p?typeof p=="string"&&p.indexOf(",")!==-1||typeof p=="object"?JSON.stringify(p):p:"")},get quantity(){var p;return((p=this.selects)==null?void 0:p.length)??0},get empty(){return!this.selects||this.quantity===0},get available(){const p=this.common?this.options:this.response;if(this.search==="")return Object.values(p);const y=this.normalize(this.search.toLowerCase());return p.filter(v=>{const T=this.normalize(this.dimensional?v[r.label].toString().toLowerCase():v.toString().toLowerCase()),k=v.description?this.normalize(v.description.toString().toLowerCase()):null;return this.dimensional?T.indexOf(y)!==-1||this.common&&k&&k.indexOf(y)!==-1:this.normalize(v.toString().toLowerCase()).indexOf(y)!==-1})}}),Os=(e,t)=>({show:e,init(){this.$watch("show",r=>{Zt(r,"slide",t),this.$el.dispatchEvent(new CustomEvent(r?"open":"close"))})}}),Es=(e,t)=>({visible:!1,start:0,number:e,animated:t,duration:1,init(){this.$watch("visible",()=>{if(t===!1)return;const r=this.$refs.number,n=i=>{this.start||(this.start=i);const a=i-this.start,o=Math.min(a/(this.duration*1e3),1),s=Math.floor(o*this.number);r.innerHTML=s.toLocaleString(),a({model:e,show:!1,rules:!1,input:"",min:t.min??null,symbols:t.symbols??null,numbers:t.numbers??null,mixed:t.mixed??null,caps:!1,results:{min:!1,symbols:!1,numbers:!1,mixed:!1},init(){this.$watch("input",r=>{if(!r){this.reset();return}this.check(r)})},toggle(){this.show=!this.show,this.$el.dispatchEvent(new CustomEvent("reveal",{detail:{status:this.show}}))},reset(){this.results={min:!1,symbols:!1,numbers:!1,mixed:!1}},check(r){this.results.min=this.min&&r.length>=this.min,this.symbols&&(this.results.symbols=new RegExp(`[${this.symbols.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}]`).test(r)),this.results.numbers=this.numbers&&r.match(/\d/)!==null,this.results.mixed=this.mixed&&r.match(/[a-z]/)&&r.match(/[A-Z]/)},generator(){this.$refs.generator.classList.add("animate-spin");let r="";const n="abcdefghijklmnopqrstuvwxyz",i="ABCDEFGHIJKLMNOPQRSTUVWXYZ",a="0123456789";r+=n.charAt(Math.floor(Math.random()*n.length)),this.mixed&&(r+=i.charAt(Math.floor(Math.random()*i.length))),this.numbers&&(r+=a.charAt(Math.floor(Math.random()*a.length))),this.symbols&&(r+=this.symbols.charAt(Math.floor(Math.random()*this.symbols.length)));const o=n+(this.mixed?i:"")+(this.numbers?a:"")+(this.symbols?this.symbols:"");for(let s=r.length;s.5-Math.random()).join(""),this.input=this.model=r,this.$el.dispatchEvent(new CustomEvent("generate",{detail:{password:r}})),setTimeout(()=>this.$refs.generator.classList.remove("animate-spin"),250)},indicator(r){typeof r.getModifierState=="function"&&(this.caps=r.getModifierState("CapsLock"))}}),Ds=(e,t,r,n,i,a,o,s,l,c=null)=>({model:e,id:t,length:r,clear:n,pasting:!1,observer:null,observing:!1,error:!1,numbers:i,letters:a,livewire:o,property:s,value:l,init(){if(!this.model&&this.value&&(this.model=this.value),this.model){if(typeof this.model!="string"&&typeof this.model!="number")return Bt("The [wire:model] property value must be a string or a number");this.model=this.model.toString()}this.observation(),this.$watch("error",async()=>this.observed()),this.$watch("model",u=>{if(this.livewire){if(!u){this.erase(!0);return}return this.syncInput(u)}const d=document.getElementsByName(this.property)[0];d&&(d.value=u)})},observation(){this.errors();const u=this.validate;u!=null&&(this.observer=new MutationObserver(this.errors.bind(this)),this.observer.observe(u,{subtree:!0,characterData:!0}))},async observed(){this.observer&&!this.observing&&(this.observer.disconnect(),this.observing=!0),await this.$nextTick(),this.observing=!1,this.observation()},errors(){const u=this.validate;this.error=(u==null?void 0:u.innerText)==="true"},focus(u){var d;(d=this.input(u))==null||d.focus()},left(u){if(u===1){this.focus(this.length);return}this.focus(u-1)},right(u){if(u+1>this.length){this.focus(1);return}this.focus(u+1)},filled(){var u;for(let d=this.length;d>0;d--)if(((u=this.input(d))==null?void 0:u.value)!=="")return d},keyup(u){var f;if(u!==1){for(let m=1;m"u")return!1;var t=ft(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ws(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];!ht(a)||!Ot(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(o){var s=i[o];s===!1?a.removeAttribute(o):a.setAttribute(o,s===!0?"":s)}))})}function Us(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],a=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=o.reduce(function(l,c){return l[c]="",l},{});!ht(i)||!Ot(i)||(Object.assign(i.style,s),Object.keys(a).forEach(function(l){i.removeAttribute(l)}))})}}const mi={name:"applyStyles",enabled:!0,phase:"write",fn:Ws,effect:Us,requires:["computeStyles"]};function At(e){return e.split("-")[0]}var Ut=Math.max,Qe=Math.min,oe=Math.round;function Cr(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function yi(){return!/^((?!chrome|android).)*safari/i.test(Cr())}function se(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&ht(e)&&(i=e.offsetWidth>0&&oe(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&oe(n.height)/e.offsetHeight||1);var o=Ht(e)?ft(e):window,s=o.visualViewport,l=!yi()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/i,u=(n.top+(l&&s?s.offsetTop:0))/a,d=n.width/i,f=n.height/a;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function Vr(e){var t=se(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function vi(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Yr(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Tt(e){return ft(e).getComputedStyle(e)}function Hs(e){return["table","td","th"].indexOf(Ot(e))>=0}function Lt(e){return((Ht(e)?e.ownerDocument:e.document)||window.document).documentElement}function nr(e){return Ot(e)==="html"?e:e.assignedSlot||e.parentNode||(Yr(e)?e.host:null)||Lt(e)}function On(e){return!ht(e)||Tt(e).position==="fixed"?null:e.offsetParent}function Ys(e){var t=/firefox/i.test(Cr()),r=/Trident/i.test(Cr());if(r&&ht(e)){var n=Tt(e);if(n.position==="fixed")return null}var i=nr(e);for(Yr(i)&&(i=i.host);ht(i)&&["html","body"].indexOf(Ot(i))<0;){var a=Tt(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Me(e){for(var t=ft(e),r=On(e);r&&Hs(r)&&Tt(r).position==="static";)r=On(r);return r&&(Ot(r)==="html"||Ot(r)==="body"&&Tt(r).position==="static")?t:r||Ys(e)||t}function qr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function xe(e,t,r){return Ut(e,Qe(t,r))}function Vs(e,t,r){var n=xe(e,t,r);return n>r?r:n}function gi(){return{top:0,right:0,bottom:0,left:0}}function bi(e){return Object.assign({},gi(),e)}function wi(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var qs=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,bi(typeof t!="number"?t:wi(t,De))};function zs(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,o=r.modifiersData.popperOffsets,s=At(r.placement),l=qr(s),c=[ut,mt].indexOf(s)>=0,u=c?"height":"width";if(!(!a||!o)){var d=qs(i.padding,r),f=Vr(a),m=l==="y"?lt:ut,p=l==="y"?dt:mt,y=r.rects.reference[u]+r.rects.reference[l]-o[l]-r.rects.popper[u],v=o[l]-r.rects.reference[l],T=Me(a),k=T?l==="y"?T.clientHeight||0:T.clientWidth||0:0,A=y/2-v/2,h=d[m],R=k-f[u]-d[p],E=k/2-f[u]/2+A,Y=xe(h,E,R),J=l;r.modifiersData[n]=(t={},t[J]=Y,t.centerOffset=Y-E,t)}}function Gs(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||vi(t.elements.popper,i)&&(t.elements.arrow=i))}const Js={name:"arrow",enabled:!0,phase:"main",fn:zs,effect:Gs,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function le(e){return e.split("-")[1]}var Ks={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Xs(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:oe(r*i)/i||0,y:oe(n*i)/i||0}}function En(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=o.x,m=f===void 0?0:f,p=o.y,y=p===void 0?0:p,v=typeof u=="function"?u({x:m,y}):{x:m,y};m=v.x,y=v.y;var T=o.hasOwnProperty("x"),k=o.hasOwnProperty("y"),A=ut,h=lt,R=window;if(c){var E=Me(r),Y="clientHeight",J="clientWidth";if(E===ft(r)&&(E=Lt(r),Tt(E).position!=="static"&&s==="absolute"&&(Y="scrollHeight",J="scrollWidth")),E=E,i===lt||(i===ut||i===mt)&&a===Ae){h=dt;var G=d&&E===R&&R.visualViewport?R.visualViewport.height:E[Y];y-=G-n.height,y*=l?1:-1}if(i===ut||(i===lt||i===dt)&&a===Ae){A=mt;var B=d&&E===R&&R.visualViewport?R.visualViewport.width:E[J];m-=B-n.width,m*=l?1:-1}}var N=Object.assign({position:s},c&&Ks),V=u===!0?Xs({x:m,y},ft(r)):{x:m,y};if(m=V.x,y=V.y,l){var U;return Object.assign({},N,(U={},U[h]=k?"0":"",U[A]=T?"0":"",U.transform=(R.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",U))}return Object.assign({},N,(t={},t[h]=k?y+"px":"",t[A]=T?m+"px":"",t.transform="",t))}function Qs(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,o=a===void 0?!0:a,s=r.roundOffsets,l=s===void 0?!0:s,c={placement:At(t.placement),variation:le(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,En(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,En(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Zs={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Qs,data:{}};var He={passive:!0};function tl(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,o=n.resize,s=o===void 0?!0:o,l=ft(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(u){u.addEventListener("scroll",r.update,He)}),s&&l.addEventListener("resize",r.update,He),function(){a&&c.forEach(function(u){u.removeEventListener("scroll",r.update,He)}),s&&l.removeEventListener("resize",r.update,He)}}const el={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tl,data:{}};var rl={left:"right",right:"left",bottom:"top",top:"bottom"};function ze(e){return e.replace(/left|right|bottom|top/g,function(t){return rl[t]})}var nl={start:"end",end:"start"};function Tn(e){return e.replace(/start|end/g,function(t){return nl[t]})}function zr(e){var t=ft(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Gr(e){return se(Lt(e)).left+zr(e).scrollLeft}function il(e,t){var r=ft(e),n=Lt(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var c=yi();(c||!c&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+Gr(e),y:l}}function al(e){var t,r=Lt(e),n=zr(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Ut(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Ut(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+Gr(e),l=-n.scrollTop;return Tt(i||r).direction==="rtl"&&(s+=Ut(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:l}}function Jr(e){var t=Tt(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function xi(e){return["html","body","#document"].indexOf(Ot(e))>=0?e.ownerDocument.body:ht(e)&&Jr(e)?e:xi(nr(e))}function $e(e,t){var r;t===void 0&&(t=[]);var n=xi(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=ft(n),o=i?[a].concat(a.visualViewport||[],Jr(n)?n:[]):n,s=t.concat(o);return i?s:s.concat($e(nr(o)))}function Lr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ol(e,t){var r=se(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Dn(e,t,r){return t===hi?Lr(il(e,r)):Ht(t)?ol(t,r):Lr(al(Lt(e)))}function sl(e){var t=$e(nr(e)),r=["absolute","fixed"].indexOf(Tt(e).position)>=0,n=r&&ht(e)?Me(e):e;return Ht(n)?t.filter(function(i){return Ht(i)&&vi(i,n)&&Ot(i)!=="body"}):[]}function ll(e,t,r,n){var i=t==="clippingParents"?sl(e):[].concat(t),a=[].concat(i,[r]),o=a[0],s=a.reduce(function(l,c){var u=Dn(e,c,n);return l.top=Ut(u.top,l.top),l.right=Qe(u.right,l.right),l.bottom=Qe(u.bottom,l.bottom),l.left=Ut(u.left,l.left),l},Dn(e,o,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function $i(e){var t=e.reference,r=e.element,n=e.placement,i=n?At(n):null,a=n?le(n):null,o=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(i){case lt:l={x:o,y:t.y-r.height};break;case dt:l={x:o,y:t.y+t.height};break;case mt:l={x:t.x+t.width,y:s};break;case ut:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=i?qr(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(a){case ae:l[c]=l[c]-(t[u]/2-r[u]/2);break;case Ae:l[c]=l[c]+(t[u]/2-r[u]/2);break}}return l}function Oe(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,a=r.strategy,o=a===void 0?e.strategy:a,s=r.boundary,l=s===void 0?Ms:s,c=r.rootBoundary,u=c===void 0?hi:c,d=r.elementContext,f=d===void 0?ve:d,m=r.altBoundary,p=m===void 0?!1:m,y=r.padding,v=y===void 0?0:y,T=bi(typeof v!="number"?v:wi(v,De)),k=f===ve?Ps:ve,A=e.rects.popper,h=e.elements[p?k:f],R=ll(Ht(h)?h:h.contextElement||Lt(e.elements.popper),l,u,o),E=se(e.elements.reference),Y=$i({reference:E,element:A,strategy:"absolute",placement:i}),J=Lr(Object.assign({},A,Y)),G=f===ve?J:E,B={top:R.top-G.top+T.top,bottom:G.bottom-R.bottom+T.bottom,left:R.left-G.left+T.left,right:G.right-R.right+T.right},N=e.modifiersData.offset;if(f===ve&&N){var V=N[i];Object.keys(B).forEach(function(U){var M=[mt,dt].indexOf(U)>=0?1:-1,x=[lt,dt].indexOf(U)>=0?"y":"x";B[U]+=V[x]*M})}return B}function ul(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,o=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?di:l,u=le(n),d=u?s?An:An.filter(function(p){return le(p)===u}):De,f=d.filter(function(p){return c.indexOf(p)>=0});f.length===0&&(f=d);var m=f.reduce(function(p,y){return p[y]=Oe(e,{placement:y,boundary:i,rootBoundary:a,padding:o})[At(y)],p},{});return Object.keys(m).sort(function(p,y){return m[p]-m[y]})}function fl(e){if(At(e)===Hr)return[];var t=ze(e);return[Tn(e),t,Tn(t)]}function cl(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,s=o===void 0?!0:o,l=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,f=r.altBoundary,m=r.flipVariations,p=m===void 0?!0:m,y=r.allowedAutoPlacements,v=t.options.placement,T=At(v),k=T===v,A=l||(k||!p?[ze(v)]:fl(v)),h=[v].concat(A).reduce(function($,P){return $.concat(At(P)===Hr?ul(t,{placement:P,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:y}):P)},[]),R=t.rects.reference,E=t.rects.popper,Y=new Map,J=!0,G=h[0],B=0;B=0,x=M?"width":"height",b=Oe(t,{placement:N,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),O=M?U?mt:ut:U?dt:lt;R[x]>E[x]&&(O=ze(O));var w=ze(O),L=[];if(a&&L.push(b[V]<=0),s&&L.push(b[O]<=0,b[w]<=0),L.every(function($){return $})){G=N,J=!1;break}Y.set(N,L)}if(J)for(var I=p?3:1,q=function(P){var _=h.find(function(F){var Q=Y.get(F);if(Q)return Q.slice(0,P).every(function(rt){return rt})});if(_)return G=_,"break"},D=I;D>0;D--){var S=q(D);if(S==="break")break}t.placement!==G&&(t.modifiersData[n]._skip=!0,t.placement=G,t.reset=!0)}}const pl={name:"flip",enabled:!0,phase:"main",fn:cl,requiresIfExists:["offset"],data:{_skip:!1}};function Mn(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Pn(e){return[lt,mt,dt,ut].some(function(t){return e[t]>=0})}function hl(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Oe(t,{elementContext:"reference"}),s=Oe(t,{altBoundary:!0}),l=Mn(o,n),c=Mn(s,i,a),u=Pn(l),d=Pn(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const dl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hl};function ml(e,t,r){var n=At(e),i=[ut,lt].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[ut,mt].indexOf(n)>=0?{x:s,y:o}:{x:o,y:s}}function yl(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,o=di.reduce(function(u,d){return u[d]=ml(d,t.rects,a),u},{}),s=o[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}const vl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:yl};function gl(e){var t=e.state,r=e.name;t.modifiersData[r]=$i({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const bl={name:"popperOffsets",enabled:!0,phase:"read",fn:gl,data:{}};function wl(e){return e==="x"?"y":"x"}function xl(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,s=o===void 0?!1:o,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,d=r.padding,f=r.tether,m=f===void 0?!0:f,p=r.tetherOffset,y=p===void 0?0:p,v=Oe(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),T=At(t.placement),k=le(t.placement),A=!k,h=qr(T),R=wl(h),E=t.modifiersData.popperOffsets,Y=t.rects.reference,J=t.rects.popper,G=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,B=typeof G=="number"?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(E){if(a){var U,M=h==="y"?lt:ut,x=h==="y"?dt:mt,b=h==="y"?"height":"width",O=E[h],w=O+v[M],L=O-v[x],I=m?-J[b]/2:0,q=k===ae?Y[b]:J[b],D=k===ae?-J[b]:-Y[b],S=t.elements.arrow,$=m&&S?Vr(S):{width:0,height:0},P=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:gi(),_=P[M],F=P[x],Q=xe(0,Y[b],$[b]),rt=A?Y[b]/2-I-Q-_-B.mainAxis:q-Q-_-B.mainAxis,Z=A?-Y[b]/2+I+Q+F+B.mainAxis:D+Q+F+B.mainAxis,ot=t.elements.arrow&&Me(t.elements.arrow),gt=ot?h==="y"?ot.clientTop||0:ot.clientLeft||0:0,bt=(U=N==null?void 0:N[h])!=null?U:0,Pe=O+rt-bt-gt,ke=O+Z-bt,pe=xe(m?Qe(w,Pe):w,O,m?Ut(L,ke):L);E[h]=pe,V[h]=pe-O}if(s){var he,Ce=h==="x"?lt:ut,Le=h==="x"?dt:mt,Et=E[R],Dt=R==="y"?"height":"width",de=Et+v[Ce],It=Et-v[Le],me=[lt,ut].indexOf(T)!==-1,Ie=(he=N==null?void 0:N[R])!=null?he:0,_e=me?de:Et-Y[Dt]-J[Dt]-Ie+B.altAxis,Re=me?Et+Y[Dt]+J[Dt]-Ie-B.altAxis:It,Ne=m&&me?Vs(_e,Et,Re):xe(m?_e:de,Et,m?Re:It);E[R]=Ne,V[R]=Ne-Et}t.modifiersData[n]=V}}const $l={name:"preventOverflow",enabled:!0,phase:"main",fn:xl,requiresIfExists:["offset"]};function Sl(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Al(e){return e===ft(e)||!ht(e)?zr(e):Sl(e)}function Ol(e){var t=e.getBoundingClientRect(),r=oe(t.width)/e.offsetWidth||1,n=oe(t.height)/e.offsetHeight||1;return r!==1||n!==1}function El(e,t,r){r===void 0&&(r=!1);var n=ht(t),i=ht(t)&&Ol(t),a=Lt(t),o=se(e,i,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Ot(t)!=="body"||Jr(a))&&(s=Al(t)),ht(t)?(l=se(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=Gr(a))),{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function Tl(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&i(l)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function Dl(e){var t=Tl(e);return js.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function Ml(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Pl(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var kn={placement:"bottom",modifiers:[],strategy:"absolute"};function Cn(){for(var e=arguments.length,t=new Array(e),r=0;r-1}function Ti(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Ln(e,t){if(t===0)return e;var r;return function(n){clearTimeout(r),r=setTimeout(function(){e(n)},t)}}function Rl(e){return e.split(/\s+/).filter(Boolean)}function Kt(e){return[].concat(e)}function In(e,t){e.indexOf(t)===-1&&e.push(t)}function Nl(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function Bl(e){return e.split("-")[0]}function Ze(e){return[].slice.call(e)}function _n(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function Se(){return document.createElement("div")}function ir(e){return["Element","Fragment"].some(function(t){return Kr(e,t)})}function Fl(e){return Kr(e,"NodeList")}function jl(e){return Kr(e,"MouseEvent")}function Wl(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Ul(e){return ir(e)?[e]:Fl(e)?Ze(e):Array.isArray(e)?e:Ze(document.querySelectorAll(e))}function $r(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function Rn(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function Hl(e){var t,r=Kt(e),n=r[0];return n!=null&&(t=n.ownerDocument)!=null&&t.body?n.ownerDocument:document}function Yl(e,t){var r=t.clientX,n=t.clientY;return e.every(function(i){var a=i.popperRect,o=i.popperState,s=i.props,l=s.interactiveBorder,c=Bl(o.placement),u=o.modifiersData.offset;if(!u)return!0;var d=c==="bottom"?u.top.y:0,f=c==="top"?u.bottom.y:0,m=c==="right"?u.left.x:0,p=c==="left"?u.right.x:0,y=a.top-n+d>l,v=n-a.bottom-f>l,T=a.left-r+m>l,k=r-a.right-p>l;return y||v||T||k})}function Sr(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[n](i,r)})}function Nn(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=r.getRootNode==null||(n=r.getRootNode())==null?void 0:n.host}return!1}var St={isTouch:!1},Bn=0;function Vl(){St.isTouch||(St.isTouch=!0,window.performance&&document.addEventListener("mousemove",Di))}function Di(){var e=performance.now();e-Bn<20&&(St.isTouch=!1,document.removeEventListener("mousemove",Di)),Bn=e}function ql(){var e=document.activeElement;if(Wl(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function zl(){document.addEventListener("touchstart",Vl,Rt),window.addEventListener("blur",ql)}var Gl=typeof window<"u"&&typeof document<"u",Jl=Gl?!!window.msCrypto:!1,Kl={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Xl={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},yt=Object.assign({appendTo:Ei,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},Kl,Xl),Ql=Object.keys(yt),Zl=function(t){var r=Object.keys(t);r.forEach(function(n){yt[n]=t[n]})};function Mi(e){var t=e.plugins||[],r=t.reduce(function(n,i){var a=i.name,o=i.defaultValue;if(a){var s;n[a]=e[a]!==void 0?e[a]:(s=yt[a])!=null?s:o}return n},{});return Object.assign({},e,r)}function tu(e,t){var r=t?Object.keys(Mi(Object.assign({},yt,{plugins:t}))):Ql,n=r.reduce(function(i,a){var o=(e.getAttribute("data-tippy-"+a)||"").trim();if(!o)return i;if(a==="content")i[a]=o;else try{i[a]=JSON.parse(o)}catch{i[a]=o}return i},{});return n}function Fn(e,t){var r=Object.assign({},t,{content:Ti(t.content,[e])},t.ignoreAttributes?{}:tu(e,t.plugins));return r.aria=Object.assign({},yt.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}var eu=function(){return"innerHTML"};function Ir(e,t){e[eu()]=t}function jn(e){var t=Se();return e===!0?t.className=Ai:(t.className=Oi,ir(e)?t.appendChild(e):Ir(t,e)),t}function Wn(e,t){ir(t.content)?(Ir(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Ir(e,t.content):e.textContent=t.content)}function _r(e){var t=e.firstElementChild,r=Ze(t.children);return{box:t,content:r.find(function(n){return n.classList.contains(Si)}),arrow:r.find(function(n){return n.classList.contains(Ai)||n.classList.contains(Oi)}),backdrop:r.find(function(n){return n.classList.contains(_l)})}}function Pi(e){var t=Se(),r=Se();r.className=Il,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=Se();n.className=Si,n.setAttribute("data-state","hidden"),Wn(n,e.props),t.appendChild(r),r.appendChild(n),i(e.props,e.props);function i(a,o){var s=_r(t),l=s.box,c=s.content,u=s.arrow;o.theme?l.setAttribute("data-theme",o.theme):l.removeAttribute("data-theme"),typeof o.animation=="string"?l.setAttribute("data-animation",o.animation):l.removeAttribute("data-animation"),o.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof o.maxWidth=="number"?o.maxWidth+"px":o.maxWidth,o.role?l.setAttribute("role",o.role):l.removeAttribute("role"),(a.content!==o.content||a.allowHTML!==o.allowHTML)&&Wn(c,e.props),o.arrow?u?a.arrow!==o.arrow&&(l.removeChild(u),l.appendChild(jn(o.arrow))):l.appendChild(jn(o.arrow)):u&&l.removeChild(u)}return{popper:t,onUpdate:i}}Pi.$$tippy=!0;var ru=1,Ye=[],Ar=[];function nu(e,t){var r=Fn(e,Object.assign({},yt,Mi(_n(t)))),n,i,a,o=!1,s=!1,l=!1,c=!1,u,d,f,m=[],p=Ln(Pe,r.interactiveDebounce),y,v=ru++,T=null,k=Nl(r.plugins),A={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},h={id:v,reference:e,popper:Se(),popperInstance:T,props:r,state:A,plugins:k,clearDelayTimeouts:_e,setProps:Re,setContent:Ne,show:ki,hide:Ci,hideWithInteractivity:Li,enable:me,disable:Ie,unmount:Ii,destroy:_i};if(!r.render)return h;var R=r.render(h),E=R.popper,Y=R.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+h.id,h.popper=E,e._tippy=h,E._tippy=h;var J=k.map(function(g){return g.fn(h)}),G=e.hasAttribute("aria-expanded");return ot(),I(),O(),w("onCreate",[h]),r.showOnCreate&&de(),E.addEventListener("mouseenter",function(){h.props.interactive&&h.state.isVisible&&h.clearDelayTimeouts()}),E.addEventListener("mouseleave",function(){h.props.interactive&&h.props.trigger.indexOf("mouseenter")>=0&&M().addEventListener("mousemove",p)}),h;function B(){var g=h.props.touch;return Array.isArray(g)?g:[g,0]}function N(){return B()[0]==="hold"}function V(){var g;return!!((g=h.props.render)!=null&&g.$$tippy)}function U(){return y||e}function M(){var g=U().parentNode;return g?Hl(g):document}function x(){return _r(E)}function b(g){return h.state.isMounted&&!h.state.isVisible||St.isTouch||u&&u.type==="focus"?0:xr(h.props.delay,g?0:1,yt.delay)}function O(g){g===void 0&&(g=!1),E.style.pointerEvents=h.props.interactive&&!g?"":"none",E.style.zIndex=""+h.props.zIndex}function w(g,C,W){if(W===void 0&&(W=!0),J.forEach(function(K){K[g]&&K[g].apply(K,C)}),W){var X;(X=h.props)[g].apply(X,C)}}function L(){var g=h.props.aria;if(g.content){var C="aria-"+g.content,W=E.id,X=Kt(h.props.triggerTarget||e);X.forEach(function(K){var st=K.getAttribute(C);if(h.state.isVisible)K.setAttribute(C,st?st+" "+W:W);else{var ct=st&&st.replace(W,"").trim();ct?K.setAttribute(C,ct):K.removeAttribute(C)}})}}function I(){if(!(G||!h.props.aria.expanded)){var g=Kt(h.props.triggerTarget||e);g.forEach(function(C){h.props.interactive?C.setAttribute("aria-expanded",h.state.isVisible&&C===U()?"true":"false"):C.removeAttribute("aria-expanded")})}}function q(){M().removeEventListener("mousemove",p),Ye=Ye.filter(function(g){return g!==p})}function D(g){if(!(St.isTouch&&(l||g.type==="mousedown"))){var C=g.composedPath&&g.composedPath()[0]||g.target;if(!(h.props.interactive&&Nn(E,C))){if(Kt(h.props.triggerTarget||e).some(function(W){return Nn(W,C)})){if(St.isTouch||h.state.isVisible&&h.props.trigger.indexOf("click")>=0)return}else w("onClickOutside",[h,g]);h.props.hideOnClick===!0&&(h.clearDelayTimeouts(),h.hide(),s=!0,setTimeout(function(){s=!1}),h.state.isMounted||_())}}}function S(){l=!0}function $(){l=!1}function P(){var g=M();g.addEventListener("mousedown",D,!0),g.addEventListener("touchend",D,Rt),g.addEventListener("touchstart",$,Rt),g.addEventListener("touchmove",S,Rt)}function _(){var g=M();g.removeEventListener("mousedown",D,!0),g.removeEventListener("touchend",D,Rt),g.removeEventListener("touchstart",$,Rt),g.removeEventListener("touchmove",S,Rt)}function F(g,C){rt(g,function(){!h.state.isVisible&&E.parentNode&&E.parentNode.contains(E)&&C()})}function Q(g,C){rt(g,C)}function rt(g,C){var W=x().box;function X(K){K.target===W&&(Sr(W,"remove",X),C())}if(g===0)return C();Sr(W,"remove",d),Sr(W,"add",X),d=X}function Z(g,C,W){W===void 0&&(W=!1);var X=Kt(h.props.triggerTarget||e);X.forEach(function(K){K.addEventListener(g,C,W),m.push({node:K,eventType:g,handler:C,options:W})})}function ot(){N()&&(Z("touchstart",bt,{passive:!0}),Z("touchend",ke,{passive:!0})),Rl(h.props.trigger).forEach(function(g){if(g!=="manual")switch(Z(g,bt),g){case"mouseenter":Z("mouseleave",ke);break;case"focus":Z(Jl?"focusout":"blur",pe);break;case"focusin":Z("focusout",pe);break}})}function gt(){m.forEach(function(g){var C=g.node,W=g.eventType,X=g.handler,K=g.options;C.removeEventListener(W,X,K)}),m=[]}function bt(g){var C,W=!1;if(!(!h.state.isEnabled||he(g)||s)){var X=((C=u)==null?void 0:C.type)==="focus";u=g,y=g.currentTarget,I(),!h.state.isVisible&&jl(g)&&Ye.forEach(function(K){return K(g)}),g.type==="click"&&(h.props.trigger.indexOf("mouseenter")<0||o)&&h.props.hideOnClick!==!1&&h.state.isVisible?W=!0:de(g),g.type==="click"&&(o=!W),W&&!X&&It(g)}}function Pe(g){var C=g.target,W=U().contains(C)||E.contains(C);if(!(g.type==="mousemove"&&W)){var X=Dt().concat(E).map(function(K){var st,ct=K._tippy,Yt=(st=ct.popperInstance)==null?void 0:st.state;return Yt?{popperRect:K.getBoundingClientRect(),popperState:Yt,props:r}:null}).filter(Boolean);Yl(X,g)&&(q(),It(g))}}function ke(g){var C=he(g)||h.props.trigger.indexOf("click")>=0&&o;if(!C){if(h.props.interactive){h.hideWithInteractivity(g);return}It(g)}}function pe(g){h.props.trigger.indexOf("focusin")<0&&g.target!==U()||h.props.interactive&&g.relatedTarget&&E.contains(g.relatedTarget)||It(g)}function he(g){return St.isTouch?N()!==g.type.indexOf("touch")>=0:!1}function Ce(){Le();var g=h.props,C=g.popperOptions,W=g.placement,X=g.offset,K=g.getReferenceClientRect,st=g.moveTransition,ct=V()?_r(E).arrow:null,Yt=K?{getBoundingClientRect:K,contextElement:K.contextElement||U()}:e,Xr={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Be){var Vt=Be.state;if(V()){var Ri=x(),or=Ri.box;["placement","reference-hidden","escaped"].forEach(function(Fe){Fe==="placement"?or.setAttribute("data-placement",Vt.placement):Vt.attributes.popper["data-popper-"+Fe]?or.setAttribute("data-"+Fe,""):or.removeAttribute("data-"+Fe)}),Vt.attributes.popper={}}}},_t=[{name:"offset",options:{offset:X}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!st}},Xr];V()&&ct&&_t.push({name:"arrow",options:{element:ct,padding:3}}),_t.push.apply(_t,(C==null?void 0:C.modifiers)||[]),h.popperInstance=Ll(Yt,E,Object.assign({},C,{placement:W,onFirstUpdate:f,modifiers:_t}))}function Le(){h.popperInstance&&(h.popperInstance.destroy(),h.popperInstance=null)}function Et(){var g=h.props.appendTo,C,W=U();h.props.interactive&&g===Ei||g==="parent"?C=W.parentNode:C=Ti(g,[W]),C.contains(E)||C.appendChild(E),h.state.isMounted=!0,Ce()}function Dt(){return Ze(E.querySelectorAll("[data-tippy-root]"))}function de(g){h.clearDelayTimeouts(),g&&w("onTrigger",[h,g]),P();var C=b(!0),W=B(),X=W[0],K=W[1];St.isTouch&&X==="hold"&&K&&(C=K),C?n=setTimeout(function(){h.show()},C):h.show()}function It(g){if(h.clearDelayTimeouts(),w("onUntrigger",[h,g]),!h.state.isVisible){_();return}if(!(h.props.trigger.indexOf("mouseenter")>=0&&h.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(g.type)>=0&&o)){var C=b(!1);C?i=setTimeout(function(){h.state.isVisible&&h.hide()},C):a=requestAnimationFrame(function(){h.hide()})}}function me(){h.state.isEnabled=!0}function Ie(){h.hide(),h.state.isEnabled=!1}function _e(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(a)}function Re(g){if(!h.state.isDestroyed){w("onBeforeUpdate",[h,g]),gt();var C=h.props,W=Fn(e,Object.assign({},C,_n(g),{ignoreAttributes:!0}));h.props=W,ot(),C.interactiveDebounce!==W.interactiveDebounce&&(q(),p=Ln(Pe,W.interactiveDebounce)),C.triggerTarget&&!W.triggerTarget?Kt(C.triggerTarget).forEach(function(X){X.removeAttribute("aria-expanded")}):W.triggerTarget&&e.removeAttribute("aria-expanded"),I(),O(),Y&&Y(C,W),h.popperInstance&&(Ce(),Dt().forEach(function(X){requestAnimationFrame(X._tippy.popperInstance.forceUpdate)})),w("onAfterUpdate",[h,g])}}function Ne(g){h.setProps({content:g})}function ki(){var g=h.state.isVisible,C=h.state.isDestroyed,W=!h.state.isEnabled,X=St.isTouch&&!h.props.touch,K=xr(h.props.duration,0,yt.duration);if(!(g||C||W||X)&&!U().hasAttribute("disabled")&&(w("onShow",[h],!1),h.props.onShow(h)!==!1)){if(h.state.isVisible=!0,V()&&(E.style.visibility="visible"),O(),P(),h.state.isMounted||(E.style.transition="none"),V()){var st=x(),ct=st.box,Yt=st.content;$r([ct,Yt],0)}f=function(){var _t;if(!(!h.state.isVisible||c)){if(c=!0,E.offsetHeight,E.style.transition=h.props.moveTransition,V()&&h.props.animation){var ar=x(),Be=ar.box,Vt=ar.content;$r([Be,Vt],K),Rn([Be,Vt],"visible")}L(),I(),In(Ar,h),(_t=h.popperInstance)==null||_t.forceUpdate(),w("onMount",[h]),h.props.animation&&V()&&Q(K,function(){h.state.isShown=!0,w("onShown",[h])})}},Et()}}function Ci(){var g=!h.state.isVisible,C=h.state.isDestroyed,W=!h.state.isEnabled,X=xr(h.props.duration,1,yt.duration);if(!(g||C||W)&&(w("onHide",[h],!1),h.props.onHide(h)!==!1)){if(h.state.isVisible=!1,h.state.isShown=!1,c=!1,o=!1,V()&&(E.style.visibility="hidden"),q(),_(),O(!0),V()){var K=x(),st=K.box,ct=K.content;h.props.animation&&($r([st,ct],X),Rn([st,ct],"hidden"))}L(),I(),h.props.animation?V()&&F(X,h.unmount):h.unmount()}}function Li(g){M().addEventListener("mousemove",p),In(Ye,p),p(g)}function Ii(){h.state.isVisible&&h.hide(),h.state.isMounted&&(Le(),Dt().forEach(function(g){g._tippy.unmount()}),E.parentNode&&E.parentNode.removeChild(E),Ar=Ar.filter(function(g){return g!==h}),h.state.isMounted=!1,w("onHidden",[h]))}function _i(){h.state.isDestroyed||(h.clearDelayTimeouts(),h.unmount(),gt(),delete e._tippy,h.state.isDestroyed=!0,w("onDestroy",[h]))}}function ce(e,t){t===void 0&&(t={});var r=yt.plugins.concat(t.plugins||[]);zl();var n=Object.assign({},t,{plugins:r}),i=Ul(e),a=i.reduce(function(o,s){var l=s&&nu(s,n);return l&&o.push(l),o},[]);return ir(e)?a[0]:a}ce.defaultProps=yt;ce.setDefaultProps=Zl;ce.currentInput=St;Object.assign({},mi,{effect:function(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow)}});ce.setDefaultProps({render:Pi});const iu=(e,t,r)=>({show:!1,quantity:e,init(){const n=this;ce(this.$refs.button,{content:t,trigger:"click",allowHTML:!0,interactive:!0,hideOnClick:!1,placement:r,onClickOutside(i){n.show=!1,i.hide()}}),this.$watch("show",i=>{if(i){this.$refs.button._tippy.show();return}this.$refs.button._tippy.hide()})}}),au=(e,t,r)=>({model:e,ids:t,init(){r&&this.checked()},fully(){return this.ids.every(n=>this.model.includes(n))},checked(){this.$nextTick(()=>this.fully()?this.$refs.checkbox.checked=!0:this.$refs.checkbox.checked=!1)},select(n,i){this.checked(),this.$dispatch("select",{row:i})},all(n=!0,i){return this.ids=i,n?this.push():this.remove()},push(){this.model.push(...this.ids.filter(n=>!this.model.includes(n)))},remove(){this.model=this.model.filter(n=>!this.ids.includes(n))},redirect(n,i){window.open(n,i?"_blank":"_self")}}),ou=(e,t,r,n,i,a)=>({model:e,limit:t,prefixes:r,livewire:n,property:i,value:a,tag:"",init(){this.livewire||(this.model=typeof this.value=="string"?[this.value]:this.value,this.$nextTick(()=>this.input=this.model)),this.$watch("model",o=>this.input=o),this.prefix()},add(o){var l,c;if(o.key!=="Enter"&&o.key!==",")return;if(this.limit&&((l=this.model)==null?void 0:l.length)>=this.limit){this.clean();return}this.tag=this.tag.replace(/,/g,"");let s=this.tag.trim();if(!s||this.prefixes&&s===this.prefixes){this.clean();return}if(s=this.prefixes&&s[0]!==this.prefixes?this.prefixes+s:s,(c=this.model)!=null&&c.includes(s)){this.clean();return}this.model=Array.isArray(this.model)?[...this.model,s]:[s],this.prefix(),this.$el.dispatchEvent(new CustomEvent("add",{detail:{tag:s}})),this.clean()},clean(){this.$nextTick(()=>this.tag="")},remove(o,s=null){if(o<0||!this.model||this.model.length<=o||s&&s.target.value.trim()!=="")return;const l=this.model.splice(o,1);this.$el.dispatchEvent(new CustomEvent("remove",{detail:{tag:l[0]}}))},erase(){this.$el.dispatchEvent(new CustomEvent("erase",{detail:{tags:this.model}})),this.model=[]},prefix(){!this.prefixes||!this.model||(this.model=this.model.map(o=>o.indexOf(this.prefixes)===-1?this.prefixes+o:o))},set input(o){if(this.livewire)return;const s=document.getElementsByName(this.property)[0];s&&(o=o==null?void 0:o.filter(l=>l!==""),s.value=!o||o.length===0?"":typeof o=="string"&&o.indexOf(",")!==-1||typeof o=="object"&&o.length>1?JSON.stringify(o):o)}}),su=e=>({init(){this.$nextTick(()=>this.resize())},counter(){const t=this.$refs.textarea.maxLength,r=this.$refs.textarea.value.length,n=t!==void 0&&t!==-1,i=e.split(" "),a=()=>{i.forEach(o=>{this.$refs.counter.classList.contains(o)&&this.$refs.counter.classList.remove(o)})};if(r===0)return a(),this.$refs.counter.innerText="";if(n&&r>=t&&i.forEach(o=>this.$refs.counter.classList.add(o)),n&&r===t-1&&a(),n)return this.$refs.counter.innerText=`${r}/${t}`;this.$refs.counter.innerText=r},resize(){const t=this.$refs.textarea;!t||!t.value||(t.style.height="0px",t.style.height=`${t.scrollHeight}px`)}}),lu=(e,t,r,n,i,a,o,s=null)=>({model:e,show:!1,hours:"00",minutes:"00",interval:"AM",range:{hour:{min:r.hour.min,max:r.hour.max},minute:{min:r.minute.min,max:r.minute.max}},livewire:i,property:a,value:o,empty:!1,init(){this.model??(this.model=this.value??(n?et().format("HH:mm A"):null)),this.empty=this.model===null,this.hours=t?"00":"01",!t&&this.model&&!/(AM|PM)/.test(this.model??this.value)&&Ft("The time format is not complete. Please, include the interval (AM/PM)."),this.model&&this.hydrate(),this.$watch("model",()=>this.hydrate()),this.sync()},hydrate(){if(!this.model)return;const[l,c]=this.model.split(" "),[u,d]=l?l.split(":"):["00","00"];this.hours=u,this.minutes=d,this.interval=c??null},change(l,c){({hours:()=>{let d=parseInt(l.target.value);d=this.range.hour.min&&dthis.range.hour.max?this.range.hour.max:d,this.hours=d,this.$el.dispatchEvent(new CustomEvent("hour",{detail:{hour:this.formatted.hours}}))},minutes:()=>{let d=parseInt(l.target.value);d=this.range.minute.min&&dthis.range.minute.max?this.range.minute.max:d,this.minutes=d,this.$el.dispatchEvent(new CustomEvent("minute",{detail:{minute:this.formatted.minutes}}))}})[c](),this.empty=!1,this.sync()},current(){const l=et(),c=l.hour(),u=l.minute();t||(this.interval=c>=12?"PM":"AM"),this.hours=c,this.minutes=u,this.$el.dispatchEvent(new CustomEvent("current",{detail:{time:{hour:c,minute:u,interval:this.interval}}})),this.show=this.empty=!1,this.sync()},sync(){let l=`${this.formatted.hours}:${this.formatted.minutes}`;!t&&this.interval&&(l=`${l} ${this.interval}`),this.empty||(this.$refs.input.value=this.model=l),te(s,this.model),!this.empty&&(this.input=l)},select(l){this.interval=l.toUpperCase(),this.$refs.format.dispatchEvent(new CustomEvent("interval",{detail:{interval:this.interval}})),this.sync(),this.show=!1},clear(){if(n)return;const l=this.model;this.hours="00",this.minutes="00",this.interval="AM",this.input=this.$refs.input.value=this.model=null,this.$el.dispatchEvent(new CustomEvent("clear",{detail:{time:l}}))},set input(l){const c=document.getElementsByName(this.property)[0];c&&(c.value=this.value=l)},get formatted(){return this.hours=this.hours.toString(),this.minutes=this.minutes.toString(),{hours:this.hours.padStart(2,"0"),minutes:this.minutes.padStart(2,"0")}}}),uu=e=>({show:!1,toasts:[],init(){e&&(window.onload=()=>this.add(e))},add(t){this.$nextTick(()=>this.show=!0),t.detail&&(t.detail.id=t.timeStamp),this.toasts.push(t.detail??e)},remove(t){this.toasts=this.toasts.filter(r=>r.id!==t.id)}}),fu=e=>({toast:e,show:!1,init(){let t=!1,r=0;const n=this.toast.timeout*10,i=this.toast.timeout*1e3;this.$nextTick(()=>{this.show=!0;const a=setInterval(()=>{var s;this.show?t||(r+=n,r>=i&&(this.hide(),(s=e.hooks)!=null&&s.timeout&&Livewire.find(e.component).call(e.hooks.timeout.method,e.hooks.timeout.params),vt("toast:timeout",this.toast,!1),clearInterval(a))):clearInterval(a)},n),o=this.$refs.progress;this.$refs.toast.addEventListener("mouseover",()=>{t=!0,o.style.webkitAnimationPlayState="paused",o.style.animationPlayState="paused"}),this.$refs.toast.addEventListener("mouseout",()=>{t=!1,o.style.webkitAnimationPlayState="running",o.style.animationPlayState="running"}),document.addEventListener("visibilitychange",()=>{i-r>2e3?(o.style.animationDuration=i-r+"ms",o.classList.remove("animate-progress"),o.offsetWidth,o.classList.add("animate-progress"),o.style.animationDuration=i-r+"ms"):this.hide()})})},accept(t){if(vt("toast:accepted",t,!1),t.options.confirm.static===!0||t.options.confirm.method===null)return this.hide();Livewire.find(t.component).call(t.options.confirm.method,t.options.confirm.params),this.hide()},reject(t){if(vt("toast:rejected",t,!1),t.options.cancel.static===!0||t.options.cancel.method===null)return this.hide();Livewire.find(t.component).call(t.options.cancel.method,t.options.cancel.params),this.hide()},hide(t=!0,r=!0){var n;!r&&((n=e.hooks)!=null&&n.close)&&Livewire.find(e.component).call(e.hooks.close.method,e.hooks.close.params),setTimeout(()=>{this.show=!1,this.remove(this.toast)},t?0:this.toast.timeout*100)}});function cu(e){e.directive("tooltip",(t,{expression:r})=>{ce(t,{content:r,placement:t.dataset.position??"top",duration:0,allowHTML:!0})})}const pu=(e,t,r,n,i,a,o,s)=>({show:!1,uploading:!1,error:!1,static:i,warning:n,progress:0,dragging:!1,property:t,multiple:r,placeholders:o,component:null,preview:!1,image:null,init(){this.component=Livewire.find(e).__instance,this.$watch("uploading",()=>this.text()),this.$watch("preview",l=>Zt(l,"upload",s))},upload(){if(this.$refs.files.files.length){if(this.uploading=!0,this.error=!1,this.multiple)return this.multiples();this.single(),this.$el.dispatchEvent(new CustomEvent("upload",{detail:{files:this.$refs.files.files}}))}},multiples(){this.component.$wire.uploadMultiple(this.property,this.$refs.files.files,()=>{this.uploading=!1,this.progress=0},()=>{this.uploading=!1,this.error=!0,this.progress=0},l=>this.progress=l.detail.progress)},single(){this.component.$wire.upload(this.property,this.$refs.files.files[0],()=>{this.uploading=!1,this.progress=0},()=>{this.uploading=!1,this.error=!0,this.progress=0},l=>this.progress=l.detail.progress)},remove(l,c){this.component.$wire.call(l,c),this.text(),this.$el.dispatchEvent(new CustomEvent("remove",{detail:{file:c}}))},text(){setTimeout(()=>{const l=this.component.$wire.get(this.property);if(this.multiple){const c=typeof l=="object"?Object.keys(l).length:l.length;this.input=c===0?null:c;const u=this.$refs.items;u==null||u.scrollTo(0,u.scrollHeight);return}this.input=!l||this.static?null:1},500)},set input(l){var u;const c=this.$refs.input;if(!l){c.value=((u=this.$refs.placeholder)==null?void 0:u.innerText)??a;return}c.value=this.placeholders[this.multiple?"multiple":"single"].replace(":count",l)}});document.addEventListener("alpine:init",()=>{Alpine.plugin(cu),Alpine.data("tallstackui_banner",ji),Alpine.data("tallstackui_clipboard",Vi),Alpine.data("tallstackui_formDate",Xi),Alpine.data("tallstackui_formColor",Wi),Alpine.data("tallstackui_formNumber",na),Alpine.data("tallstackui_formPassword",Ts),Alpine.data("tallstackui_formPin",Ds),Alpine.data("tallstackui_formTag",ou),Alpine.data("tallstackui_formTextArea",su),Alpine.data("tallstackui_formTime",lu),Alpine.data("tallstackui_formUpload",pu),Alpine.data("tallstackui_darkTheme",Qi),Alpine.data("tallstackui_dialog",Zi),Alpine.data("tallstackui_dropdown",ta),Alpine.data("tallstackui_loading",ea),Alpine.data("tallstackui_modal",ra),Alpine.data("tallstackui_reaction",iu),Alpine.data("tallstackui_select",As),Alpine.data("tallstackui_slide",Os),Alpine.data("tallstackui_stats",Es),Alpine.data("tallstackui_table",au),Alpine.data("tallstackui_toastBase",uu),Alpine.data("tallstackui_toastLoop",fu)}); +`+t.prev}function je(e,t){var r=Mr(e),n=[];if(r){n.length=e.length;for(var i=0;i1;){var r=t.pop(),n=r.obj[r.prop];if(Nt(n)){for(var i=[],a=0;a=br?o.slice(l,l+br):o,u=[],d=0;d=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||a===qo.RFC1738&&(f===40||f===41)){u[u.length]=c.charAt(d);continue}if(f<128){u[u.length]=wt[f];continue}if(f<2048){u[u.length]=wt[192|f>>6]+wt[128|f&63];continue}if(f<55296||f>=57344){u[u.length]=wt[224|f>>12]+wt[128|f>>6&63]+wt[128|f&63];continue}d+=1,f=65536+((f&1023)<<10|c.charCodeAt(d)&1023),u[u.length]=wt[240|f>>18]+wt[128|f>>12&63]+wt[128|f>>6&63]+wt[128|f&63]}s+=u.join("")}return s},Qo=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],i=0;i"u"&&(R=0)}if(typeof u=="function"?A=u(r,A):A instanceof Date?A=m(A):n==="comma"&&xt(A)&&(A=qe.maybeMap(A,function(I){return I instanceof Date?m(I):I})),A===null){if(o)return c&&!v?c(r,nt.encoder,T,"key",p):r;A=""}if(os(A)||qe.isBuffer(A)){if(c){var J=v?r:c(r,nt.encoder,T,"key",p);return[y(J)+"="+y(c(A,nt.encoder,T,"value",p))]}return[y(r)+"="+y(String(A))]}var G=[];if(typeof A>"u")return G;var B;if(n==="comma"&&xt(A))v&&c&&(A=qe.maybeMap(A,c)),B=[{value:A.length>0?A.join(",")||null:void 0}];else if(xt(u))B=u;else{var N=Object.keys(A);B=d?N.sort(d):N}var V=l?r.replace(/\./g,"%2E"):r,U=i&&xt(A)&&A.length===1?V+"[]":V;if(a&&xt(A)&&A.length===0)return U+"[]";for(var M=0;M"u"?t.encodeDotInKeys===!0?!0:nt.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:nt.addQueryPrefix,allowDots:s,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:nt.allowEmptyArrays,arrayFormat:o,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:nt.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?nt.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:nt.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:nt.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:nt.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:nt.encodeValuesOnly,filter:a,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:nt.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:nt.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:nt.strictNullHandling}},us=function(e,t){var r=e,n=ls(t),i,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):xt(n.filter)&&(a=n.filter,i=a);var o=[];if(typeof r!="object"||r===null)return"";var s=fi[n.arrayFormat],l=s==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var c=ui(),u=0;u0?m+f:""},ie=li,kr=Object.prototype.hasOwnProperty,fs=Array.isArray,tt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:ie.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},cs=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},pi=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},ps="utf8=%26%2310003%3B",hs="utf8=%E2%9C%93",ds=function(t,r){var n={__proto__:null},i=r.ignoreQueryPrefix?t.replace(/^\?/,""):t;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=r.parameterLimit===1/0?void 0:r.parameterLimit,o=i.split(r.delimiter,a),s=-1,l,c=r.charset;if(r.charsetSentinel)for(l=0;l-1&&(p=fs(p)?[p]:p);var y=kr.call(n,m);y&&r.duplicates==="combine"?n[m]=ie.combine(n[m],p):(!y||r.duplicates==="last")&&(n[m]=p)}return n},ms=function(e,t,r,n){for(var i=n?t:pi(t,r),a=e.length-1;a>=0;--a){var o,s=e[a];if(s==="[]"&&r.parseArrays)o=r.allowEmptyArrays&&(i===""||r.strictNullHandling&&i===null)?[]:[].concat(i);else{o=r.plainObjects?Object.create(null):{};var l=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,c=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,u=parseInt(c,10);!r.parseArrays&&c===""?o={0:i}:!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(o=[],o[u]=i):c!=="__proto__"&&(o[c]=i)}i=o}return i},ys=function(t,r,n,i){if(t){var a=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=n.depth>0&&o.exec(a),c=l?a.slice(0,l.index):a,u=[];if(c){if(!n.plainObjects&&kr.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&(l=s.exec(a))!==null&&d"u"?tt.charset:t.charset,n=typeof t.duplicates>"u"?tt.duplicates:t.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:tt.allowDots:!!t.allowDots;return{allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:tt.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:tt.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:tt.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:tt.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:tt.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:tt.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:tt.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:tt.decoder,delimiter:typeof t.delimiter=="string"||ie.isRegExp(t.delimiter)?t.delimiter:tt.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:tt.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:tt.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:tt.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:tt.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:tt.strictDepth,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:tt.strictNullHandling}},gs=function(e,t){var r=vs(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?ds(e,r):e,i=r.plainObjects?Object.create(null):{},a=Object.keys(n),o=0;o{var c;const n=e.constructor===String;let i=n?e:e.url,a=n?"get":e.method;const o=n?{}:e.params;a=a.toLowerCase();const s={method:a,headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/json",Accept:"application/json","X-TallStack-Ui":!0}},l=(c=document.head.querySelector('[name="csrf-token"]'))==null?void 0:c.getAttribute("content");return l&&(s.headers["X-CSRF-TOKEN"]=l),a==="get"?(t!==""&&(o.search=t),r.length>0&&(o.selected=JSON.stringify(r)),i+="?"+$s.stringify(o)):s.body=JSON.stringify({...o,search:t,selected:r}),{url:i,init:s}},As=(e=null,t,r={},n=[],i=!1,a="Select an option",o=!1,s=!0,l=!1,c,u,d,f=null,m=null)=>({show:!1,model:e,request:t,selects:null,search:"",searchable:o,multiple:i,dimensional:!!(r!=null&&r.label&&(r!=null&&r.value)),selectable:r,loading:!1,placeholder:a,internal:!1,common:s,required:l,response:[],options:n,observer:null,observing:!1,livewire:c,property:u,value:d,limit:f,image:null,index:null,async init(){var y;this.livewire||(this.common?this.$nextTick(()=>this.initAsVanilla()):await this.$nextTick(()=>this.initAsVanilla()));const p=this.livewire?"wire:model":"value";if(this.multiple&&this.model&&this.model.constructor!==Array)return Ft(`The [${p}] must be an array when multiple is set`);if(!this.multiple&&this.model&&this.model.constructor===Array)return Ft(`The [${p}] must not be an array when is not multiple`);if(this.common&&this.dimensional&&this.selectable.constructor===Array&&((y=this.selectable)==null?void 0:y.length)===0)return Ft(`The [${p}] must be defined`);if(this.common)return this.initAsCommon();await this.initAsRequest()},initAsVanilla(){this.value&&(this.input=this.model=this.value)},initAsCommon(){this.observation(),this.hydrate(),this.$watch("show",async p=>{this.index=null,!(!p||!this.searchable)&&setTimeout(()=>this.$refs.search.focus(),100)}),this.$watch("options",async()=>this.observed()),this.$watch("model",(p,y)=>{if(!p)return this.reset(!0);if(this.internal)return this.internal=!1;!p||p===y||this.hydrate(p)})},async initAsRequest(){var p;this.$watch("show",async(y,v)=>{if(y!==v){if(!y)return this.search="";await this.makeRequest(!1),setTimeout(()=>this.$refs.search.focus(),100)}}),this.$watch("search",async()=>this.makeRequest(!1)),(this.model||((p=this.model)==null?void 0:p.length)>0)&&(await this.makeRequest(),this.hydrate()),this.$watch("model",async(y,v)=>{if(!y)return this.reset(!0);if(!this.internal&&y!==v&&await this.makeRequest(),y===v||this.internal)return this.internal=!1;this.response.length!==0&&this.hydrate(y)})},async makeRequest(p=!0){var T,k;if(this.loading=!0,this.response=[],((T=this.request.params)==null?void 0:T.constructor)===Array)return Bt("The [params] must be an array with key and value pairs");(k=this.request).params&&(k.params=Alpine.evaluate(this,this.$refs.params.innerText));const{url:y,init:v}=Ss(this.request,this.search,p&&this.model?this.model.constructor===Array?this.model:[this.model]:[]);try{const h=await(await fetch(y,v)).json();this.response=h.map(R=>{if(!R[this.selectable.label])throw new Error("The [select.label] was not found in the response");return{...R,[this.selectable.label]:R[this.selectable.label].toString()}})}catch(A){Bt(A.message)}finally{this.loading=!1}},select(p){var v;if(p.disabled)return;if(this.internal=!0,this.selected(p)){this.clear(p),this.input=this.model;return}if(this.limit!==null&&this.multiple&&this.quantity>=this.limit)return;this.multiple?(this.selects=this.empty?[p]:[...this.selects,p],this.model=this.dimensional?this.selects.map(T=>T[this.selectable.value]):this.selects,this.search=""):(this.selects=[p],this.model=this.dimensional?p[this.selectable.value]:p,this.placeholder=this.dimensional?p[this.selectable.label]:p,this.image=p.image??null),this.show=this.quantity===((v=this.available)==null?void 0:v.length)?!1:this.multiple,this.search="",this.input=this.model;const y=this.$refs.button;this.$nextTick(()=>y.dispatchEvent(new CustomEvent("select",{detail:{select:p}}))),te(m,this.model)},selected(p){var y,v;return this.empty||((y=this.available)==null?void 0:y.length)===0?!1:this.multiple?(v=this.selects)==null?void 0:v.some(T=>JSON.stringify(T)===JSON.stringify(p)):JSON.stringify(this.selects[0]??this.selects)===JSON.stringify(p)},clear(p=null){const y=this.$refs.button;if(this.$nextTick(()=>y.dispatchEvent(new CustomEvent("remove",{detail:{select:p}}))),p&&this.multiple){if(this.required&&this.quantity===1){this.show=!1;return}this.selects=this.selects.filter(v=>{const T=JSON.stringify(this.dimensional?v[this.selectable.value]:v),k=JSON.stringify(this.dimensional?p[this.selectable.value]:p);return T!==k}),this.model=this.dimensional?this.selects.map(v=>v[this.selectable.value]):this.selects,this.input=this.model;return}if(this.required){this.show=!1;return}this.selects=[],this.reset()},reset(p=!1){this.input=null,this.model=null,this.placeholder=a,this.image=null,this.search="",this.$nextTick(()=>this.selects=[]),!p&&(this.show=!1)},observation(){this.sync(),this.$refs.options&&(this.observer=new MutationObserver(this.sync.bind(this)),this.observer.observe(this.$refs.options,{subtree:!0,characterData:!0}))},async observed(){this.observer&&!this.observing&&(this.observer.disconnect(),this.observing=!0),await this.$nextTick(),this.observing=!1,this.observation()},sync(){this.$refs.options&&(this.options=Alpine.evaluate(this,this.$refs.options.innerText))},hydrate(p=null){var y,v,T;if(this.model=p??this.model,!this.common){this.selects=this.available.filter(k=>{var A;return this.multiple?(A=this.model)==null?void 0:A.includes(k[this.selectable.value]):this.compare(this.model,k[this.selectable.value])}),this.multiple||(this.placeholder=((y=this.selects[0])==null?void 0:y[this.selectable.label])??a);return}if(this.multiple){this.selects=this.available.filter(k=>{var A,h;return this.dimensional?(A=this.model)==null?void 0:A.includes(k[this.selectable.value]):(h=this.model)==null?void 0:h.includes(k)});return}this.selects=this.available.find(k=>this.dimensional?this.compare(this.model,k[this.selectable.value]):this.compare(this.model,k)),this.selects?(this.selects=[this.selects],this.placeholder=this.dimensional?((v=this.selects[0])==null?void 0:v[this.selectable.label])??a:this.selects[0]??a,this.image=((T=this.selects[0])==null?void 0:T.image)??null):this.selects=[]},compare(p,y){return typeof y=="string"&&(p=p==null?void 0:p.toString()),typeof y=="number"&&(p=parseInt(p)),p===y},normalize(p){return p.normalize("NFD").replace(/[\u0300-\u036f]/g,"")},navigate(p){if(!this.show&&p.key==="Tab"||p.key!=="ArrowUp"&&p.key!=="ArrowDown"&&p.key!=="Tab")return;p.preventDefault();const y=this.index??-1,v=this.available.length-1,k={ArrowUp:()=>y===0?v:y-1,ArrowDown:()=>(y+1)%this.available.length,Tab:()=>y===v?0:y+1}[p.key]();this.$refs.list.querySelectorAll('[role="option"]').forEach((A,h)=>{A.removeAttribute("tabindex"),h===k&&(A.setAttribute("tabindex","0"),A.focus())}),this.index=k},set input(p){if(this.livewire)return;const y=document.getElementsByName(this.property)[0];y&&(y.value=p?typeof p=="string"&&p.indexOf(",")!==-1||typeof p=="object"?JSON.stringify(p):p:"")},get quantity(){var p;return((p=this.selects)==null?void 0:p.length)??0},get empty(){return!this.selects||this.quantity===0},get available(){const p=this.common?this.options:this.response;if(this.search==="")return Object.values(p);const y=this.normalize(this.search.toLowerCase());return p.filter(v=>{const T=this.normalize(this.dimensional?v[r.label].toString().toLowerCase():v.toString().toLowerCase()),k=v.description?this.normalize(v.description.toString().toLowerCase()):null;return this.dimensional?T.indexOf(y)!==-1||this.common&&k&&k.indexOf(y)!==-1:this.normalize(v.toString().toLowerCase()).indexOf(y)!==-1})}}),Os=(e,t)=>({show:e,init(){this.$watch("show",r=>{Zt(r,"slide",t),this.$el.dispatchEvent(new CustomEvent(r?"open":"close"))})}}),Es=(e,t)=>({visible:!1,start:0,number:e,animated:t,duration:1,init(){this.$watch("visible",()=>{if(t===!1)return;const r=this.$refs.number,n=i=>{this.start||(this.start=i);const a=i-this.start,o=Math.min(a/(this.duration*1e3),1),s=Math.floor(o*this.number);r.innerHTML=s.toLocaleString(),a({model:e,show:!1,rules:!1,input:"",min:t.min??null,symbols:t.symbols??null,numbers:t.numbers??null,mixed:t.mixed??null,caps:!1,results:{min:!1,symbols:!1,numbers:!1,mixed:!1},init(){this.$watch("input",r=>{if(!r){this.reset();return}this.check(r)})},toggle(){this.show=!this.show,this.$el.dispatchEvent(new CustomEvent("reveal",{detail:{status:this.show}}))},reset(){this.results={min:!1,symbols:!1,numbers:!1,mixed:!1}},check(r){this.results.min=this.min&&r.length>=this.min,this.symbols&&(this.results.symbols=new RegExp(`[${this.symbols.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}]`).test(r)),this.results.numbers=this.numbers&&r.match(/\d/)!==null,this.results.mixed=this.mixed&&r.match(/[a-z]/)&&r.match(/[A-Z]/)},generator(){this.$refs.generator.classList.add("animate-spin");let r="";const n="abcdefghijklmnopqrstuvwxyz",i="ABCDEFGHIJKLMNOPQRSTUVWXYZ",a="0123456789";r+=n.charAt(Math.floor(Math.random()*n.length)),this.mixed&&(r+=i.charAt(Math.floor(Math.random()*i.length))),this.numbers&&(r+=a.charAt(Math.floor(Math.random()*a.length))),this.symbols&&(r+=this.symbols.charAt(Math.floor(Math.random()*this.symbols.length)));const o=n+(this.mixed?i:"")+(this.numbers?a:"")+(this.symbols?this.symbols:"");for(let s=r.length;s.5-Math.random()).join(""),this.input=this.model=r,this.$el.dispatchEvent(new CustomEvent("generate",{detail:{password:r}})),setTimeout(()=>this.$refs.generator.classList.remove("animate-spin"),250)},indicator(r){typeof r.getModifierState=="function"&&(this.caps=r.getModifierState("CapsLock"))}}),Ds=(e,t,r,n,i,a,o,s,l,c=null)=>({model:e,id:t,length:r,clear:n,pasting:!1,observer:null,observing:!1,error:!1,numbers:i,letters:a,livewire:o,property:s,value:l,init(){if(!this.model&&this.value&&(this.model=this.value),this.model){if(typeof this.model!="string"&&typeof this.model!="number")return Bt("The [wire:model] property value must be a string or a number");this.model=this.model.toString()}this.observation(),this.$watch("error",async()=>this.observed()),this.$watch("model",u=>{if(this.livewire){if(!u){this.erase(!0);return}return this.syncInput(u)}const d=document.getElementsByName(this.property)[0];d&&(d.value=u)})},observation(){this.errors();const u=this.validate;u!=null&&(this.observer=new MutationObserver(this.errors.bind(this)),this.observer.observe(u,{subtree:!0,characterData:!0}))},async observed(){this.observer&&!this.observing&&(this.observer.disconnect(),this.observing=!0),await this.$nextTick(),this.observing=!1,this.observation()},errors(){const u=this.validate;this.error=(u==null?void 0:u.innerText)==="true"},focus(u){var d;(d=this.input(u))==null||d.focus()},left(u){if(u===1){this.focus(this.length);return}this.focus(u-1)},right(u){if(u+1>this.length){this.focus(1);return}this.focus(u+1)},filled(){var u;for(let d=this.length;d>0;d--)if(((u=this.input(d))==null?void 0:u.value)!=="")return d},keyup(u){var f;if(u!==1){for(let m=1;m"u")return!1;var t=ft(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ws(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];!ht(a)||!Ot(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(o){var s=i[o];s===!1?a.removeAttribute(o):a.setAttribute(o,s===!0?"":s)}))})}function Us(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],a=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=o.reduce(function(l,c){return l[c]="",l},{});!ht(i)||!Ot(i)||(Object.assign(i.style,s),Object.keys(a).forEach(function(l){i.removeAttribute(l)}))})}}const mi={name:"applyStyles",enabled:!0,phase:"write",fn:Ws,effect:Us,requires:["computeStyles"]};function At(e){return e.split("-")[0]}var Ut=Math.max,Qe=Math.min,oe=Math.round;function Cr(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function yi(){return!/^((?!chrome|android).)*safari/i.test(Cr())}function se(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&ht(e)&&(i=e.offsetWidth>0&&oe(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&oe(n.height)/e.offsetHeight||1);var o=Ht(e)?ft(e):window,s=o.visualViewport,l=!yi()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/i,u=(n.top+(l&&s?s.offsetTop:0))/a,d=n.width/i,f=n.height/a;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function Vr(e){var t=se(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function vi(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Yr(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Tt(e){return ft(e).getComputedStyle(e)}function Hs(e){return["table","td","th"].indexOf(Ot(e))>=0}function Lt(e){return((Ht(e)?e.ownerDocument:e.document)||window.document).documentElement}function nr(e){return Ot(e)==="html"?e:e.assignedSlot||e.parentNode||(Yr(e)?e.host:null)||Lt(e)}function On(e){return!ht(e)||Tt(e).position==="fixed"?null:e.offsetParent}function Ys(e){var t=/firefox/i.test(Cr()),r=/Trident/i.test(Cr());if(r&&ht(e)){var n=Tt(e);if(n.position==="fixed")return null}var i=nr(e);for(Yr(i)&&(i=i.host);ht(i)&&["html","body"].indexOf(Ot(i))<0;){var a=Tt(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Me(e){for(var t=ft(e),r=On(e);r&&Hs(r)&&Tt(r).position==="static";)r=On(r);return r&&(Ot(r)==="html"||Ot(r)==="body"&&Tt(r).position==="static")?t:r||Ys(e)||t}function qr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function xe(e,t,r){return Ut(e,Qe(t,r))}function Vs(e,t,r){var n=xe(e,t,r);return n>r?r:n}function gi(){return{top:0,right:0,bottom:0,left:0}}function bi(e){return Object.assign({},gi(),e)}function wi(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var qs=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,bi(typeof t!="number"?t:wi(t,De))};function zs(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,o=r.modifiersData.popperOffsets,s=At(r.placement),l=qr(s),c=[ut,mt].indexOf(s)>=0,u=c?"height":"width";if(!(!a||!o)){var d=qs(i.padding,r),f=Vr(a),m=l==="y"?lt:ut,p=l==="y"?dt:mt,y=r.rects.reference[u]+r.rects.reference[l]-o[l]-r.rects.popper[u],v=o[l]-r.rects.reference[l],T=Me(a),k=T?l==="y"?T.clientHeight||0:T.clientWidth||0:0,A=y/2-v/2,h=d[m],R=k-f[u]-d[p],E=k/2-f[u]/2+A,Y=xe(h,E,R),J=l;r.modifiersData[n]=(t={},t[J]=Y,t.centerOffset=Y-E,t)}}function Gs(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||vi(t.elements.popper,i)&&(t.elements.arrow=i))}const Js={name:"arrow",enabled:!0,phase:"main",fn:zs,effect:Gs,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function le(e){return e.split("-")[1]}var Ks={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Xs(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:oe(r*i)/i||0,y:oe(n*i)/i||0}}function En(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=o.x,m=f===void 0?0:f,p=o.y,y=p===void 0?0:p,v=typeof u=="function"?u({x:m,y}):{x:m,y};m=v.x,y=v.y;var T=o.hasOwnProperty("x"),k=o.hasOwnProperty("y"),A=ut,h=lt,R=window;if(c){var E=Me(r),Y="clientHeight",J="clientWidth";if(E===ft(r)&&(E=Lt(r),Tt(E).position!=="static"&&s==="absolute"&&(Y="scrollHeight",J="scrollWidth")),E=E,i===lt||(i===ut||i===mt)&&a===Ae){h=dt;var G=d&&E===R&&R.visualViewport?R.visualViewport.height:E[Y];y-=G-n.height,y*=l?1:-1}if(i===ut||(i===lt||i===dt)&&a===Ae){A=mt;var B=d&&E===R&&R.visualViewport?R.visualViewport.width:E[J];m-=B-n.width,m*=l?1:-1}}var N=Object.assign({position:s},c&&Ks),V=u===!0?Xs({x:m,y},ft(r)):{x:m,y};if(m=V.x,y=V.y,l){var U;return Object.assign({},N,(U={},U[h]=k?"0":"",U[A]=T?"0":"",U.transform=(R.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",U))}return Object.assign({},N,(t={},t[h]=k?y+"px":"",t[A]=T?m+"px":"",t.transform="",t))}function Qs(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,o=a===void 0?!0:a,s=r.roundOffsets,l=s===void 0?!0:s,c={placement:At(t.placement),variation:le(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,En(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,En(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Zs={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Qs,data:{}};var He={passive:!0};function tl(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,o=n.resize,s=o===void 0?!0:o,l=ft(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(u){u.addEventListener("scroll",r.update,He)}),s&&l.addEventListener("resize",r.update,He),function(){a&&c.forEach(function(u){u.removeEventListener("scroll",r.update,He)}),s&&l.removeEventListener("resize",r.update,He)}}const el={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tl,data:{}};var rl={left:"right",right:"left",bottom:"top",top:"bottom"};function ze(e){return e.replace(/left|right|bottom|top/g,function(t){return rl[t]})}var nl={start:"end",end:"start"};function Tn(e){return e.replace(/start|end/g,function(t){return nl[t]})}function zr(e){var t=ft(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Gr(e){return se(Lt(e)).left+zr(e).scrollLeft}function il(e,t){var r=ft(e),n=Lt(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var c=yi();(c||!c&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+Gr(e),y:l}}function al(e){var t,r=Lt(e),n=zr(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Ut(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Ut(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+Gr(e),l=-n.scrollTop;return Tt(i||r).direction==="rtl"&&(s+=Ut(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:l}}function Jr(e){var t=Tt(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function xi(e){return["html","body","#document"].indexOf(Ot(e))>=0?e.ownerDocument.body:ht(e)&&Jr(e)?e:xi(nr(e))}function $e(e,t){var r;t===void 0&&(t=[]);var n=xi(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=ft(n),o=i?[a].concat(a.visualViewport||[],Jr(n)?n:[]):n,s=t.concat(o);return i?s:s.concat($e(nr(o)))}function Lr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ol(e,t){var r=se(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Dn(e,t,r){return t===hi?Lr(il(e,r)):Ht(t)?ol(t,r):Lr(al(Lt(e)))}function sl(e){var t=$e(nr(e)),r=["absolute","fixed"].indexOf(Tt(e).position)>=0,n=r&&ht(e)?Me(e):e;return Ht(n)?t.filter(function(i){return Ht(i)&&vi(i,n)&&Ot(i)!=="body"}):[]}function ll(e,t,r,n){var i=t==="clippingParents"?sl(e):[].concat(t),a=[].concat(i,[r]),o=a[0],s=a.reduce(function(l,c){var u=Dn(e,c,n);return l.top=Ut(u.top,l.top),l.right=Qe(u.right,l.right),l.bottom=Qe(u.bottom,l.bottom),l.left=Ut(u.left,l.left),l},Dn(e,o,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function $i(e){var t=e.reference,r=e.element,n=e.placement,i=n?At(n):null,a=n?le(n):null,o=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(i){case lt:l={x:o,y:t.y-r.height};break;case dt:l={x:o,y:t.y+t.height};break;case mt:l={x:t.x+t.width,y:s};break;case ut:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=i?qr(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(a){case ae:l[c]=l[c]-(t[u]/2-r[u]/2);break;case Ae:l[c]=l[c]+(t[u]/2-r[u]/2);break}}return l}function Oe(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,a=r.strategy,o=a===void 0?e.strategy:a,s=r.boundary,l=s===void 0?Ms:s,c=r.rootBoundary,u=c===void 0?hi:c,d=r.elementContext,f=d===void 0?ve:d,m=r.altBoundary,p=m===void 0?!1:m,y=r.padding,v=y===void 0?0:y,T=bi(typeof v!="number"?v:wi(v,De)),k=f===ve?Ps:ve,A=e.rects.popper,h=e.elements[p?k:f],R=ll(Ht(h)?h:h.contextElement||Lt(e.elements.popper),l,u,o),E=se(e.elements.reference),Y=$i({reference:E,element:A,strategy:"absolute",placement:i}),J=Lr(Object.assign({},A,Y)),G=f===ve?J:E,B={top:R.top-G.top+T.top,bottom:G.bottom-R.bottom+T.bottom,left:R.left-G.left+T.left,right:G.right-R.right+T.right},N=e.modifiersData.offset;if(f===ve&&N){var V=N[i];Object.keys(B).forEach(function(U){var M=[mt,dt].indexOf(U)>=0?1:-1,x=[lt,dt].indexOf(U)>=0?"y":"x";B[U]+=V[x]*M})}return B}function ul(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,o=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?di:l,u=le(n),d=u?s?An:An.filter(function(p){return le(p)===u}):De,f=d.filter(function(p){return c.indexOf(p)>=0});f.length===0&&(f=d);var m=f.reduce(function(p,y){return p[y]=Oe(e,{placement:y,boundary:i,rootBoundary:a,padding:o})[At(y)],p},{});return Object.keys(m).sort(function(p,y){return m[p]-m[y]})}function fl(e){if(At(e)===Hr)return[];var t=ze(e);return[Tn(e),t,Tn(t)]}function cl(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,s=o===void 0?!0:o,l=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,f=r.altBoundary,m=r.flipVariations,p=m===void 0?!0:m,y=r.allowedAutoPlacements,v=t.options.placement,T=At(v),k=T===v,A=l||(k||!p?[ze(v)]:fl(v)),h=[v].concat(A).reduce(function($,P){return $.concat(At(P)===Hr?ul(t,{placement:P,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:y}):P)},[]),R=t.rects.reference,E=t.rects.popper,Y=new Map,J=!0,G=h[0],B=0;B=0,x=M?"width":"height",b=Oe(t,{placement:N,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),O=M?U?mt:ut:U?dt:lt;R[x]>E[x]&&(O=ze(O));var w=ze(O),L=[];if(a&&L.push(b[V]<=0),s&&L.push(b[O]<=0,b[w]<=0),L.every(function($){return $})){G=N,J=!1;break}Y.set(N,L)}if(J)for(var I=p?3:1,q=function(P){var _=h.find(function(F){var Q=Y.get(F);if(Q)return Q.slice(0,P).every(function(rt){return rt})});if(_)return G=_,"break"},D=I;D>0;D--){var S=q(D);if(S==="break")break}t.placement!==G&&(t.modifiersData[n]._skip=!0,t.placement=G,t.reset=!0)}}const pl={name:"flip",enabled:!0,phase:"main",fn:cl,requiresIfExists:["offset"],data:{_skip:!1}};function Mn(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Pn(e){return[lt,mt,dt,ut].some(function(t){return e[t]>=0})}function hl(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Oe(t,{elementContext:"reference"}),s=Oe(t,{altBoundary:!0}),l=Mn(o,n),c=Mn(s,i,a),u=Pn(l),d=Pn(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const dl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hl};function ml(e,t,r){var n=At(e),i=[ut,lt].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[ut,mt].indexOf(n)>=0?{x:s,y:o}:{x:o,y:s}}function yl(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,o=di.reduce(function(u,d){return u[d]=ml(d,t.rects,a),u},{}),s=o[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}const vl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:yl};function gl(e){var t=e.state,r=e.name;t.modifiersData[r]=$i({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const bl={name:"popperOffsets",enabled:!0,phase:"read",fn:gl,data:{}};function wl(e){return e==="x"?"y":"x"}function xl(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,s=o===void 0?!1:o,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,d=r.padding,f=r.tether,m=f===void 0?!0:f,p=r.tetherOffset,y=p===void 0?0:p,v=Oe(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),T=At(t.placement),k=le(t.placement),A=!k,h=qr(T),R=wl(h),E=t.modifiersData.popperOffsets,Y=t.rects.reference,J=t.rects.popper,G=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,B=typeof G=="number"?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(E){if(a){var U,M=h==="y"?lt:ut,x=h==="y"?dt:mt,b=h==="y"?"height":"width",O=E[h],w=O+v[M],L=O-v[x],I=m?-J[b]/2:0,q=k===ae?Y[b]:J[b],D=k===ae?-J[b]:-Y[b],S=t.elements.arrow,$=m&&S?Vr(S):{width:0,height:0},P=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:gi(),_=P[M],F=P[x],Q=xe(0,Y[b],$[b]),rt=A?Y[b]/2-I-Q-_-B.mainAxis:q-Q-_-B.mainAxis,Z=A?-Y[b]/2+I+Q+F+B.mainAxis:D+Q+F+B.mainAxis,ot=t.elements.arrow&&Me(t.elements.arrow),gt=ot?h==="y"?ot.clientTop||0:ot.clientLeft||0:0,bt=(U=N==null?void 0:N[h])!=null?U:0,Pe=O+rt-bt-gt,ke=O+Z-bt,pe=xe(m?Qe(w,Pe):w,O,m?Ut(L,ke):L);E[h]=pe,V[h]=pe-O}if(s){var he,Ce=h==="x"?lt:ut,Le=h==="x"?dt:mt,Et=E[R],Dt=R==="y"?"height":"width",de=Et+v[Ce],It=Et-v[Le],me=[lt,ut].indexOf(T)!==-1,Ie=(he=N==null?void 0:N[R])!=null?he:0,_e=me?de:Et-Y[Dt]-J[Dt]-Ie+B.altAxis,Re=me?Et+Y[Dt]+J[Dt]-Ie-B.altAxis:It,Ne=m&&me?Vs(_e,Et,Re):xe(m?_e:de,Et,m?Re:It);E[R]=Ne,V[R]=Ne-Et}t.modifiersData[n]=V}}const $l={name:"preventOverflow",enabled:!0,phase:"main",fn:xl,requiresIfExists:["offset"]};function Sl(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Al(e){return e===ft(e)||!ht(e)?zr(e):Sl(e)}function Ol(e){var t=e.getBoundingClientRect(),r=oe(t.width)/e.offsetWidth||1,n=oe(t.height)/e.offsetHeight||1;return r!==1||n!==1}function El(e,t,r){r===void 0&&(r=!1);var n=ht(t),i=ht(t)&&Ol(t),a=Lt(t),o=se(e,i,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Ot(t)!=="body"||Jr(a))&&(s=Al(t)),ht(t)?(l=se(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=Gr(a))),{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function Tl(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&i(l)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function Dl(e){var t=Tl(e);return js.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function Ml(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Pl(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var kn={placement:"bottom",modifiers:[],strategy:"absolute"};function Cn(){for(var e=arguments.length,t=new Array(e),r=0;r-1}function Ti(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Ln(e,t){if(t===0)return e;var r;return function(n){clearTimeout(r),r=setTimeout(function(){e(n)},t)}}function Rl(e){return e.split(/\s+/).filter(Boolean)}function Kt(e){return[].concat(e)}function In(e,t){e.indexOf(t)===-1&&e.push(t)}function Nl(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function Bl(e){return e.split("-")[0]}function Ze(e){return[].slice.call(e)}function _n(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function Se(){return document.createElement("div")}function ir(e){return["Element","Fragment"].some(function(t){return Kr(e,t)})}function Fl(e){return Kr(e,"NodeList")}function jl(e){return Kr(e,"MouseEvent")}function Wl(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Ul(e){return ir(e)?[e]:Fl(e)?Ze(e):Array.isArray(e)?e:Ze(document.querySelectorAll(e))}function $r(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function Rn(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function Hl(e){var t,r=Kt(e),n=r[0];return n!=null&&(t=n.ownerDocument)!=null&&t.body?n.ownerDocument:document}function Yl(e,t){var r=t.clientX,n=t.clientY;return e.every(function(i){var a=i.popperRect,o=i.popperState,s=i.props,l=s.interactiveBorder,c=Bl(o.placement),u=o.modifiersData.offset;if(!u)return!0;var d=c==="bottom"?u.top.y:0,f=c==="top"?u.bottom.y:0,m=c==="right"?u.left.x:0,p=c==="left"?u.right.x:0,y=a.top-n+d>l,v=n-a.bottom-f>l,T=a.left-r+m>l,k=r-a.right-p>l;return y||v||T||k})}function Sr(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[n](i,r)})}function Nn(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=r.getRootNode==null||(n=r.getRootNode())==null?void 0:n.host}return!1}var St={isTouch:!1},Bn=0;function Vl(){St.isTouch||(St.isTouch=!0,window.performance&&document.addEventListener("mousemove",Di))}function Di(){var e=performance.now();e-Bn<20&&(St.isTouch=!1,document.removeEventListener("mousemove",Di)),Bn=e}function ql(){var e=document.activeElement;if(Wl(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function zl(){document.addEventListener("touchstart",Vl,Rt),window.addEventListener("blur",ql)}var Gl=typeof window<"u"&&typeof document<"u",Jl=Gl?!!window.msCrypto:!1,Kl={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Xl={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},yt=Object.assign({appendTo:Ei,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},Kl,Xl),Ql=Object.keys(yt),Zl=function(t){var r=Object.keys(t);r.forEach(function(n){yt[n]=t[n]})};function Mi(e){var t=e.plugins||[],r=t.reduce(function(n,i){var a=i.name,o=i.defaultValue;if(a){var s;n[a]=e[a]!==void 0?e[a]:(s=yt[a])!=null?s:o}return n},{});return Object.assign({},e,r)}function tu(e,t){var r=t?Object.keys(Mi(Object.assign({},yt,{plugins:t}))):Ql,n=r.reduce(function(i,a){var o=(e.getAttribute("data-tippy-"+a)||"").trim();if(!o)return i;if(a==="content")i[a]=o;else try{i[a]=JSON.parse(o)}catch{i[a]=o}return i},{});return n}function Fn(e,t){var r=Object.assign({},t,{content:Ti(t.content,[e])},t.ignoreAttributes?{}:tu(e,t.plugins));return r.aria=Object.assign({},yt.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}var eu=function(){return"innerHTML"};function Ir(e,t){e[eu()]=t}function jn(e){var t=Se();return e===!0?t.className=Ai:(t.className=Oi,ir(e)?t.appendChild(e):Ir(t,e)),t}function Wn(e,t){ir(t.content)?(Ir(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Ir(e,t.content):e.textContent=t.content)}function _r(e){var t=e.firstElementChild,r=Ze(t.children);return{box:t,content:r.find(function(n){return n.classList.contains(Si)}),arrow:r.find(function(n){return n.classList.contains(Ai)||n.classList.contains(Oi)}),backdrop:r.find(function(n){return n.classList.contains(_l)})}}function Pi(e){var t=Se(),r=Se();r.className=Il,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=Se();n.className=Si,n.setAttribute("data-state","hidden"),Wn(n,e.props),t.appendChild(r),r.appendChild(n),i(e.props,e.props);function i(a,o){var s=_r(t),l=s.box,c=s.content,u=s.arrow;o.theme?l.setAttribute("data-theme",o.theme):l.removeAttribute("data-theme"),typeof o.animation=="string"?l.setAttribute("data-animation",o.animation):l.removeAttribute("data-animation"),o.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof o.maxWidth=="number"?o.maxWidth+"px":o.maxWidth,o.role?l.setAttribute("role",o.role):l.removeAttribute("role"),(a.content!==o.content||a.allowHTML!==o.allowHTML)&&Wn(c,e.props),o.arrow?u?a.arrow!==o.arrow&&(l.removeChild(u),l.appendChild(jn(o.arrow))):l.appendChild(jn(o.arrow)):u&&l.removeChild(u)}return{popper:t,onUpdate:i}}Pi.$$tippy=!0;var ru=1,Ye=[],Ar=[];function nu(e,t){var r=Fn(e,Object.assign({},yt,Mi(_n(t)))),n,i,a,o=!1,s=!1,l=!1,c=!1,u,d,f,m=[],p=Ln(Pe,r.interactiveDebounce),y,v=ru++,T=null,k=Nl(r.plugins),A={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},h={id:v,reference:e,popper:Se(),popperInstance:T,props:r,state:A,plugins:k,clearDelayTimeouts:_e,setProps:Re,setContent:Ne,show:ki,hide:Ci,hideWithInteractivity:Li,enable:me,disable:Ie,unmount:Ii,destroy:_i};if(!r.render)return h;var R=r.render(h),E=R.popper,Y=R.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+h.id,h.popper=E,e._tippy=h,E._tippy=h;var J=k.map(function(g){return g.fn(h)}),G=e.hasAttribute("aria-expanded");return ot(),I(),O(),w("onCreate",[h]),r.showOnCreate&&de(),E.addEventListener("mouseenter",function(){h.props.interactive&&h.state.isVisible&&h.clearDelayTimeouts()}),E.addEventListener("mouseleave",function(){h.props.interactive&&h.props.trigger.indexOf("mouseenter")>=0&&M().addEventListener("mousemove",p)}),h;function B(){var g=h.props.touch;return Array.isArray(g)?g:[g,0]}function N(){return B()[0]==="hold"}function V(){var g;return!!((g=h.props.render)!=null&&g.$$tippy)}function U(){return y||e}function M(){var g=U().parentNode;return g?Hl(g):document}function x(){return _r(E)}function b(g){return h.state.isMounted&&!h.state.isVisible||St.isTouch||u&&u.type==="focus"?0:xr(h.props.delay,g?0:1,yt.delay)}function O(g){g===void 0&&(g=!1),E.style.pointerEvents=h.props.interactive&&!g?"":"none",E.style.zIndex=""+h.props.zIndex}function w(g,C,W){if(W===void 0&&(W=!0),J.forEach(function(K){K[g]&&K[g].apply(K,C)}),W){var X;(X=h.props)[g].apply(X,C)}}function L(){var g=h.props.aria;if(g.content){var C="aria-"+g.content,W=E.id,X=Kt(h.props.triggerTarget||e);X.forEach(function(K){var st=K.getAttribute(C);if(h.state.isVisible)K.setAttribute(C,st?st+" "+W:W);else{var ct=st&&st.replace(W,"").trim();ct?K.setAttribute(C,ct):K.removeAttribute(C)}})}}function I(){if(!(G||!h.props.aria.expanded)){var g=Kt(h.props.triggerTarget||e);g.forEach(function(C){h.props.interactive?C.setAttribute("aria-expanded",h.state.isVisible&&C===U()?"true":"false"):C.removeAttribute("aria-expanded")})}}function q(){M().removeEventListener("mousemove",p),Ye=Ye.filter(function(g){return g!==p})}function D(g){if(!(St.isTouch&&(l||g.type==="mousedown"))){var C=g.composedPath&&g.composedPath()[0]||g.target;if(!(h.props.interactive&&Nn(E,C))){if(Kt(h.props.triggerTarget||e).some(function(W){return Nn(W,C)})){if(St.isTouch||h.state.isVisible&&h.props.trigger.indexOf("click")>=0)return}else w("onClickOutside",[h,g]);h.props.hideOnClick===!0&&(h.clearDelayTimeouts(),h.hide(),s=!0,setTimeout(function(){s=!1}),h.state.isMounted||_())}}}function S(){l=!0}function $(){l=!1}function P(){var g=M();g.addEventListener("mousedown",D,!0),g.addEventListener("touchend",D,Rt),g.addEventListener("touchstart",$,Rt),g.addEventListener("touchmove",S,Rt)}function _(){var g=M();g.removeEventListener("mousedown",D,!0),g.removeEventListener("touchend",D,Rt),g.removeEventListener("touchstart",$,Rt),g.removeEventListener("touchmove",S,Rt)}function F(g,C){rt(g,function(){!h.state.isVisible&&E.parentNode&&E.parentNode.contains(E)&&C()})}function Q(g,C){rt(g,C)}function rt(g,C){var W=x().box;function X(K){K.target===W&&(Sr(W,"remove",X),C())}if(g===0)return C();Sr(W,"remove",d),Sr(W,"add",X),d=X}function Z(g,C,W){W===void 0&&(W=!1);var X=Kt(h.props.triggerTarget||e);X.forEach(function(K){K.addEventListener(g,C,W),m.push({node:K,eventType:g,handler:C,options:W})})}function ot(){N()&&(Z("touchstart",bt,{passive:!0}),Z("touchend",ke,{passive:!0})),Rl(h.props.trigger).forEach(function(g){if(g!=="manual")switch(Z(g,bt),g){case"mouseenter":Z("mouseleave",ke);break;case"focus":Z(Jl?"focusout":"blur",pe);break;case"focusin":Z("focusout",pe);break}})}function gt(){m.forEach(function(g){var C=g.node,W=g.eventType,X=g.handler,K=g.options;C.removeEventListener(W,X,K)}),m=[]}function bt(g){var C,W=!1;if(!(!h.state.isEnabled||he(g)||s)){var X=((C=u)==null?void 0:C.type)==="focus";u=g,y=g.currentTarget,I(),!h.state.isVisible&&jl(g)&&Ye.forEach(function(K){return K(g)}),g.type==="click"&&(h.props.trigger.indexOf("mouseenter")<0||o)&&h.props.hideOnClick!==!1&&h.state.isVisible?W=!0:de(g),g.type==="click"&&(o=!W),W&&!X&&It(g)}}function Pe(g){var C=g.target,W=U().contains(C)||E.contains(C);if(!(g.type==="mousemove"&&W)){var X=Dt().concat(E).map(function(K){var st,ct=K._tippy,Yt=(st=ct.popperInstance)==null?void 0:st.state;return Yt?{popperRect:K.getBoundingClientRect(),popperState:Yt,props:r}:null}).filter(Boolean);Yl(X,g)&&(q(),It(g))}}function ke(g){var C=he(g)||h.props.trigger.indexOf("click")>=0&&o;if(!C){if(h.props.interactive){h.hideWithInteractivity(g);return}It(g)}}function pe(g){h.props.trigger.indexOf("focusin")<0&&g.target!==U()||h.props.interactive&&g.relatedTarget&&E.contains(g.relatedTarget)||It(g)}function he(g){return St.isTouch?N()!==g.type.indexOf("touch")>=0:!1}function Ce(){Le();var g=h.props,C=g.popperOptions,W=g.placement,X=g.offset,K=g.getReferenceClientRect,st=g.moveTransition,ct=V()?_r(E).arrow:null,Yt=K?{getBoundingClientRect:K,contextElement:K.contextElement||U()}:e,Xr={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Be){var Vt=Be.state;if(V()){var Ri=x(),or=Ri.box;["placement","reference-hidden","escaped"].forEach(function(Fe){Fe==="placement"?or.setAttribute("data-placement",Vt.placement):Vt.attributes.popper["data-popper-"+Fe]?or.setAttribute("data-"+Fe,""):or.removeAttribute("data-"+Fe)}),Vt.attributes.popper={}}}},_t=[{name:"offset",options:{offset:X}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!st}},Xr];V()&&ct&&_t.push({name:"arrow",options:{element:ct,padding:3}}),_t.push.apply(_t,(C==null?void 0:C.modifiers)||[]),h.popperInstance=Ll(Yt,E,Object.assign({},C,{placement:W,onFirstUpdate:f,modifiers:_t}))}function Le(){h.popperInstance&&(h.popperInstance.destroy(),h.popperInstance=null)}function Et(){var g=h.props.appendTo,C,W=U();h.props.interactive&&g===Ei||g==="parent"?C=W.parentNode:C=Ti(g,[W]),C.contains(E)||C.appendChild(E),h.state.isMounted=!0,Ce()}function Dt(){return Ze(E.querySelectorAll("[data-tippy-root]"))}function de(g){h.clearDelayTimeouts(),g&&w("onTrigger",[h,g]),P();var C=b(!0),W=B(),X=W[0],K=W[1];St.isTouch&&X==="hold"&&K&&(C=K),C?n=setTimeout(function(){h.show()},C):h.show()}function It(g){if(h.clearDelayTimeouts(),w("onUntrigger",[h,g]),!h.state.isVisible){_();return}if(!(h.props.trigger.indexOf("mouseenter")>=0&&h.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(g.type)>=0&&o)){var C=b(!1);C?i=setTimeout(function(){h.state.isVisible&&h.hide()},C):a=requestAnimationFrame(function(){h.hide()})}}function me(){h.state.isEnabled=!0}function Ie(){h.hide(),h.state.isEnabled=!1}function _e(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(a)}function Re(g){if(!h.state.isDestroyed){w("onBeforeUpdate",[h,g]),gt();var C=h.props,W=Fn(e,Object.assign({},C,_n(g),{ignoreAttributes:!0}));h.props=W,ot(),C.interactiveDebounce!==W.interactiveDebounce&&(q(),p=Ln(Pe,W.interactiveDebounce)),C.triggerTarget&&!W.triggerTarget?Kt(C.triggerTarget).forEach(function(X){X.removeAttribute("aria-expanded")}):W.triggerTarget&&e.removeAttribute("aria-expanded"),I(),O(),Y&&Y(C,W),h.popperInstance&&(Ce(),Dt().forEach(function(X){requestAnimationFrame(X._tippy.popperInstance.forceUpdate)})),w("onAfterUpdate",[h,g])}}function Ne(g){h.setProps({content:g})}function ki(){var g=h.state.isVisible,C=h.state.isDestroyed,W=!h.state.isEnabled,X=St.isTouch&&!h.props.touch,K=xr(h.props.duration,0,yt.duration);if(!(g||C||W||X)&&!U().hasAttribute("disabled")&&(w("onShow",[h],!1),h.props.onShow(h)!==!1)){if(h.state.isVisible=!0,V()&&(E.style.visibility="visible"),O(),P(),h.state.isMounted||(E.style.transition="none"),V()){var st=x(),ct=st.box,Yt=st.content;$r([ct,Yt],0)}f=function(){var _t;if(!(!h.state.isVisible||c)){if(c=!0,E.offsetHeight,E.style.transition=h.props.moveTransition,V()&&h.props.animation){var ar=x(),Be=ar.box,Vt=ar.content;$r([Be,Vt],K),Rn([Be,Vt],"visible")}L(),I(),In(Ar,h),(_t=h.popperInstance)==null||_t.forceUpdate(),w("onMount",[h]),h.props.animation&&V()&&Q(K,function(){h.state.isShown=!0,w("onShown",[h])})}},Et()}}function Ci(){var g=!h.state.isVisible,C=h.state.isDestroyed,W=!h.state.isEnabled,X=xr(h.props.duration,1,yt.duration);if(!(g||C||W)&&(w("onHide",[h],!1),h.props.onHide(h)!==!1)){if(h.state.isVisible=!1,h.state.isShown=!1,c=!1,o=!1,V()&&(E.style.visibility="hidden"),q(),_(),O(!0),V()){var K=x(),st=K.box,ct=K.content;h.props.animation&&($r([st,ct],X),Rn([st,ct],"hidden"))}L(),I(),h.props.animation?V()&&F(X,h.unmount):h.unmount()}}function Li(g){M().addEventListener("mousemove",p),In(Ye,p),p(g)}function Ii(){h.state.isVisible&&h.hide(),h.state.isMounted&&(Le(),Dt().forEach(function(g){g._tippy.unmount()}),E.parentNode&&E.parentNode.removeChild(E),Ar=Ar.filter(function(g){return g!==h}),h.state.isMounted=!1,w("onHidden",[h]))}function _i(){h.state.isDestroyed||(h.clearDelayTimeouts(),h.unmount(),gt(),delete e._tippy,h.state.isDestroyed=!0,w("onDestroy",[h]))}}function ce(e,t){t===void 0&&(t={});var r=yt.plugins.concat(t.plugins||[]);zl();var n=Object.assign({},t,{plugins:r}),i=Ul(e),a=i.reduce(function(o,s){var l=s&&nu(s,n);return l&&o.push(l),o},[]);return ir(e)?a[0]:a}ce.defaultProps=yt;ce.setDefaultProps=Zl;ce.currentInput=St;Object.assign({},mi,{effect:function(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow)}});ce.setDefaultProps({render:Pi});const iu=(e,t,r)=>({show:!1,quantity:e,init(){const n=this;ce(this.$refs.button,{content:t,trigger:"click",allowHTML:!0,interactive:!0,hideOnClick:!1,placement:r,onClickOutside(i){n.show=!1,i.hide()}}),this.$watch("show",i=>{if(i){this.$refs.button._tippy.show();return}this.$refs.button._tippy.hide()})}}),au=(e,t,r)=>({model:e,ids:t,init(){r&&this.checked()},fully(){return this.ids.every(n=>this.model.includes(n))},checked(){this.$nextTick(()=>this.fully()?this.$refs.checkbox.checked=!0:this.$refs.checkbox.checked=!1)},select(n,i){this.checked(),this.$dispatch("select",{row:i})},all(n=!0,i){return this.ids=i,n?this.push():this.remove()},push(){this.model.push(...this.ids.filter(n=>!this.model.includes(n)))},remove(){this.model=this.model.filter(n=>!this.ids.includes(n))},redirect(n,i){window.open(n,i?"_blank":"_self")}}),ou=(e,t,r,n,i,a)=>({model:e,limit:t,prefixes:r,livewire:n,property:i,value:a,tag:"",init(){this.livewire||(this.model=typeof this.value=="string"?[this.value]:this.value,this.$nextTick(()=>this.input=this.model)),this.$watch("model",o=>this.input=o),this.prefix()},add(o){var l,c;if(o.key!=="Enter"&&o.key!==",")return;if(this.limit&&((l=this.model)==null?void 0:l.length)>=this.limit){this.clean();return}this.tag=this.tag.replace(/,/g,"");let s=this.tag.trim();if(!s||this.prefixes&&s===this.prefixes){this.clean();return}if(s=this.prefixes&&s[0]!==this.prefixes?this.prefixes+s:s,(c=this.model)!=null&&c.includes(s)){this.clean();return}this.model=Array.isArray(this.model)?[...this.model,s]:[s],this.prefix(),this.$el.dispatchEvent(new CustomEvent("add",{detail:{tag:s}})),this.clean()},clean(){this.$nextTick(()=>this.tag="")},remove(o,s=null){if(o<0||!this.model||this.model.length<=o||s&&s.target.value.trim()!=="")return;const l=this.model.splice(o,1);this.$el.dispatchEvent(new CustomEvent("remove",{detail:{tag:l[0]}}))},erase(){this.$el.dispatchEvent(new CustomEvent("erase",{detail:{tags:this.model}})),this.model=[]},prefix(){!this.prefixes||!this.model||(this.model=this.model.map(o=>o.indexOf(this.prefixes)===-1?this.prefixes+o:o))},set input(o){if(this.livewire)return;const s=document.getElementsByName(this.property)[0];s&&(o=o==null?void 0:o.filter(l=>l!==""),s.value=!o||o.length===0?"":typeof o=="string"&&o.indexOf(",")!==-1||typeof o=="object"&&o.length>1?JSON.stringify(o):o)}}),su=e=>({init(){this.$nextTick(()=>this.resize())},counter(){const t=this.$refs.textarea.maxLength,r=this.$refs.textarea.value.length,n=t!==void 0&&t!==-1,i=e.split(" "),a=()=>{i.forEach(o=>{this.$refs.counter.classList.contains(o)&&this.$refs.counter.classList.remove(o)})};if(r===0)return a(),this.$refs.counter.innerText="";if(n&&r>=t&&i.forEach(o=>this.$refs.counter.classList.add(o)),n&&r===t-1&&a(),n)return this.$refs.counter.innerText=`${r}/${t}`;this.$refs.counter.innerText=r},resize(){const t=this.$refs.textarea;!t||!t.value||(t.style.height="0px",t.style.height=`${t.scrollHeight}px`)}}),lu=(e,t,r,n,i,a,o,s=null)=>({model:e,show:!1,hours:"00",minutes:"00",interval:"AM",range:{hour:{min:r.hour.min,max:r.hour.max},minute:{min:r.minute.min,max:r.minute.max}},livewire:i,property:a,value:o,empty:!1,init(){this.model??(this.model=this.value??(n?et().format("HH:mm A"):null)),this.empty=this.model===null,this.hours=t?"00":"01",!t&&this.model&&!/(AM|PM)/.test(this.model??this.value)&&Ft("The time format is not complete. Please, include the interval (AM/PM)."),this.model&&this.hydrate(),this.$watch("model",()=>this.hydrate()),this.sync()},hydrate(){if(!this.model)return;const[l,c]=this.model.split(" "),[u,d]=l?l.split(":"):["00","00"];this.hours=u,this.minutes=d,this.interval=c??null},change(l,c){({hours:()=>{let d=parseInt(l.target.value);d=this.range.hour.min&&dthis.range.hour.max?this.range.hour.max:d,this.hours=d,this.$el.dispatchEvent(new CustomEvent("hour",{detail:{hour:this.formatted.hours}}))},minutes:()=>{let d=parseInt(l.target.value);d=this.range.minute.min&&dthis.range.minute.max?this.range.minute.max:d,this.minutes=d,this.$el.dispatchEvent(new CustomEvent("minute",{detail:{minute:this.formatted.minutes}}))}})[c](),this.empty=!1,this.sync()},current(){const l=et(),c=l.hour(),u=l.minute();t||(this.interval=c>=12?"PM":"AM"),this.hours=c,this.minutes=u,this.$el.dispatchEvent(new CustomEvent("current",{detail:{time:{hour:c,minute:u,interval:this.interval}}})),this.show=this.empty=!1,this.sync()},sync(){let l=`${this.formatted.hours}:${this.formatted.minutes}`;!t&&this.interval&&(l=`${l} ${this.interval}`),this.empty||(this.$refs.input.value=this.model=l),te(s,this.model),!this.empty&&(this.input=l)},select(l){this.interval=l.toUpperCase(),this.$refs.format.dispatchEvent(new CustomEvent("interval",{detail:{interval:this.interval}})),this.sync(),this.show=!1},clear(){if(n)return;const l=this.model;this.hours="00",this.minutes="00",this.interval="AM",this.input=this.$refs.input.value=this.model=null,this.$el.dispatchEvent(new CustomEvent("clear",{detail:{time:l}}))},set input(l){const c=document.getElementsByName(this.property)[0];c&&(c.value=this.value=l)},get formatted(){return this.hours=this.hours.toString(),this.minutes=this.minutes.toString(),{hours:this.hours.padStart(2,"0"),minutes:this.minutes.padStart(2,"0")}}}),uu=e=>({show:!1,toasts:[],init(){e&&(window.onload=()=>this.add(e))},add(t){this.$nextTick(()=>this.show=!0),t.detail&&(t.detail.id=t.timeStamp),this.toasts.push(t.detail??e)},remove(t){this.toasts=this.toasts.filter(r=>r.id!==t.id)}}),fu=e=>({toast:e,show:!1,init(){let t=!1,r=0;const n=this.toast.timeout*10,i=this.toast.timeout*1e3;this.$nextTick(()=>{this.show=!0;const a=setInterval(()=>{var s;this.show?t||(r+=n,r>=i&&(this.hide(),(s=e.hooks)!=null&&s.timeout&&Livewire.find(e.component).call(e.hooks.timeout.method,e.hooks.timeout.params),vt("toast:timeout",this.toast,!1),clearInterval(a))):clearInterval(a)},n),o=this.$refs.progress;this.$refs.toast.addEventListener("mouseover",()=>{t=!0,o.style.webkitAnimationPlayState="paused",o.style.animationPlayState="paused"}),this.$refs.toast.addEventListener("mouseout",()=>{t=!1,o.style.webkitAnimationPlayState="running",o.style.animationPlayState="running"}),document.addEventListener("visibilitychange",()=>{i-r>2e3?(o.style.animationDuration=i-r+"ms",o.classList.remove("animate-progress"),o.offsetWidth,o.classList.add("animate-progress"),o.style.animationDuration=i-r+"ms"):this.hide()})})},accept(t){if(vt("toast:accepted",t,!1),t.options.confirm.static===!0||t.options.confirm.method===null)return this.hide();Livewire.find(t.component).call(t.options.confirm.method,t.options.confirm.params),this.hide()},reject(t){if(vt("toast:rejected",t,!1),t.options.cancel.static===!0||t.options.cancel.method===null)return this.hide();Livewire.find(t.component).call(t.options.cancel.method,t.options.cancel.params),this.hide()},hide(t=!0,r=!0){var n;!r&&((n=e.hooks)!=null&&n.close)&&Livewire.find(e.component).call(e.hooks.close.method,e.hooks.close.params),setTimeout(()=>{this.show=!1,this.remove(this.toast)},t?0:this.toast.timeout*100)}});function cu(e){e.directive("tooltip",(t,{expression:r})=>{ce(t,{content:r,placement:t.dataset.position??"top",duration:0,allowHTML:!0})})}const pu=(e,t,r,n,i,a,o,s)=>({show:!1,uploading:!1,error:!1,static:i,warning:n,progress:0,dragging:!1,property:t,multiple:r,placeholders:o,component:null,preview:!1,image:null,init(){this.component=Livewire.find(e).__instance,this.$watch("uploading",()=>this.text()),this.$watch("preview",l=>Zt(l,"upload",s))},upload(){if(this.$refs.files.files.length){if(this.uploading=!0,this.error=!1,this.$el.dispatchEvent(new CustomEvent("upload",{detail:{files:this.$refs.files.files}})),this.multiple)return this.multiples();this.single()}},multiples(){this.component.$wire.uploadMultiple(this.property,this.$refs.files.files,()=>{this.uploading=!1,this.progress=0},()=>{this.uploading=!1,this.error=!0,this.progress=0},l=>this.progress=l.detail.progress)},single(){this.component.$wire.upload(this.property,this.$refs.files.files[0],()=>{this.uploading=!1,this.progress=0},()=>{this.uploading=!1,this.error=!0,this.progress=0},l=>this.progress=l.detail.progress)},remove(l,c){this.component.$wire.call(l,c),this.text(),this.$el.dispatchEvent(new CustomEvent("remove",{detail:{file:c}}))},text(){setTimeout(()=>{const l=this.component.$wire.get(this.property);if(this.multiple){const c=typeof l=="object"?Object.keys(l).length:l.length;this.input=c===0?null:c;const u=this.$refs.items;u==null||u.scrollTo(0,u.scrollHeight);return}this.input=!l||this.static?null:1},500)},set input(l){var u;const c=this.$refs.input;if(!l){c.value=((u=this.$refs.placeholder)==null?void 0:u.innerText)??a;return}c.value=this.placeholders[this.multiple?"multiple":"single"].replace(":count",l)}});document.addEventListener("alpine:init",()=>{Alpine.plugin(cu),Alpine.data("tallstackui_banner",ji),Alpine.data("tallstackui_clipboard",Vi),Alpine.data("tallstackui_formDate",Xi),Alpine.data("tallstackui_formColor",Wi),Alpine.data("tallstackui_formNumber",na),Alpine.data("tallstackui_formPassword",Ts),Alpine.data("tallstackui_formPin",Ds),Alpine.data("tallstackui_formTag",ou),Alpine.data("tallstackui_formTextArea",su),Alpine.data("tallstackui_formTime",lu),Alpine.data("tallstackui_formUpload",pu),Alpine.data("tallstackui_darkTheme",Qi),Alpine.data("tallstackui_dialog",Zi),Alpine.data("tallstackui_dropdown",ta),Alpine.data("tallstackui_loading",ea),Alpine.data("tallstackui_modal",ra),Alpine.data("tallstackui_reaction",iu),Alpine.data("tallstackui_select",As),Alpine.data("tallstackui_slide",Os),Alpine.data("tallstackui_stats",Es),Alpine.data("tallstackui_table",au),Alpine.data("tallstackui_toastBase",uu),Alpine.data("tallstackui_toastLoop",fu)}); diff --git a/js/components/form/upload.js b/js/components/form/upload.js index c1ba72ed9..dbab3d7d3 100644 --- a/js/components/form/upload.js +++ b/js/components/form/upload.js @@ -38,11 +38,11 @@ export default ( this.uploading = true; this.error = false; + this.$el.dispatchEvent(new CustomEvent('upload', {detail: {files: this.$refs.files.files}})); + if (this.multiple) return this.multiples(); this.single(); - - this.$el.dispatchEvent(new CustomEvent('upload', {detail: {files: this.$refs.files.files}})); }, /** * Upload multiple files. diff --git a/package-lock.json b/package-lock.json index 2d44e8f41..c244915c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -729,9 +729,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.20.0.tgz", - "integrity": "sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.21.0.tgz", + "integrity": "sha512-WTWD8PfoSAJ+qL87lE7votj3syLavxunWhzCnx3XFxFiI/BA/r3X7MUM8dVrH8rb2r4AiO8jJsr3ZjdaftmnfA==", "cpu": [ "arm" ], @@ -743,9 +743,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.20.0.tgz", - "integrity": "sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.21.0.tgz", + "integrity": "sha512-a1sR2zSK1B4eYkiZu17ZUZhmUQcKjk2/j9Me2IDjk1GHW7LB5Z35LEzj9iJch6gtUfsnvZs1ZNyDW2oZSThrkA==", "cpu": [ "arm64" ], @@ -757,9 +757,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.20.0.tgz", - "integrity": "sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.21.0.tgz", + "integrity": "sha512-zOnKWLgDld/svhKO5PD9ozmL6roy5OQ5T4ThvdYZLpiOhEGY+dp2NwUmxK0Ld91LrbjrvtNAE0ERBwjqhZTRAA==", "cpu": [ "arm64" ], @@ -771,9 +771,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.20.0.tgz", - "integrity": "sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.21.0.tgz", + "integrity": "sha512-7doS8br0xAkg48SKE2QNtMSFPFUlRdw9+votl27MvT46vo44ATBmdZdGysOevNELmZlfd+NEa0UYOA8f01WSrg==", "cpu": [ "x64" ], @@ -785,9 +785,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.20.0.tgz", - "integrity": "sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.21.0.tgz", + "integrity": "sha512-pWJsfQjNWNGsoCq53KjMtwdJDmh/6NubwQcz52aEwLEuvx08bzcy6tOUuawAOncPnxz/3siRtd8hiQ32G1y8VA==", "cpu": [ "arm" ], @@ -799,9 +799,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.20.0.tgz", - "integrity": "sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.21.0.tgz", + "integrity": "sha512-efRIANsz3UHZrnZXuEvxS9LoCOWMGD1rweciD6uJQIx2myN3a8Im1FafZBzh7zk1RJ6oKcR16dU3UPldaKd83w==", "cpu": [ "arm" ], @@ -813,9 +813,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.20.0.tgz", - "integrity": "sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.21.0.tgz", + "integrity": "sha512-ZrPhydkTVhyeGTW94WJ8pnl1uroqVHM3j3hjdquwAcWnmivjAwOYjTEAuEDeJvGX7xv3Z9GAvrBkEzCgHq9U1w==", "cpu": [ "arm64" ], @@ -827,9 +827,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.20.0.tgz", - "integrity": "sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.21.0.tgz", + "integrity": "sha512-cfaupqd+UEFeURmqNP2eEvXqgbSox/LHOyN9/d2pSdV8xTrjdg3NgOFJCtc1vQ/jEke1qD0IejbBfxleBPHnPw==", "cpu": [ "arm64" ], @@ -841,9 +841,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.20.0.tgz", - "integrity": "sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.21.0.tgz", + "integrity": "sha512-ZKPan1/RvAhrUylwBXC9t7B2hXdpb/ufeu22pG2psV7RN8roOfGurEghw1ySmX/CmDDHNTDDjY3lo9hRlgtaHg==", "cpu": [ "ppc64" ], @@ -855,9 +855,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.20.0.tgz", - "integrity": "sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.21.0.tgz", + "integrity": "sha512-H1eRaCwd5E8eS8leiS+o/NqMdljkcb1d6r2h4fKSsCXQilLKArq6WS7XBLDu80Yz+nMqHVFDquwcVrQmGr28rg==", "cpu": [ "riscv64" ], @@ -869,9 +869,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.20.0.tgz", - "integrity": "sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.21.0.tgz", + "integrity": "sha512-zJ4hA+3b5tu8u7L58CCSI0A9N1vkfwPhWd/puGXwtZlsB5bTkwDNW/+JCU84+3QYmKpLi+XvHdmrlwUwDA6kqw==", "cpu": [ "s390x" ], @@ -883,9 +883,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.20.0.tgz", - "integrity": "sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.0.tgz", + "integrity": "sha512-e2hrvElFIh6kW/UNBQK/kzqMNY5mO+67YtEh9OA65RM5IJXYTWiXjX6fjIiPaqOkBthYF1EqgiZ6OXKcQsM0hg==", "cpu": [ "x64" ], @@ -897,9 +897,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.20.0.tgz", - "integrity": "sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.21.0.tgz", + "integrity": "sha512-1vvmgDdUSebVGXWX2lIcgRebqfQSff0hMEkLJyakQ9JQUbLDkEaMsPTLOmyccyC6IJ/l3FZuJbmrBw/u0A0uCQ==", "cpu": [ "x64" ], @@ -911,9 +911,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.20.0.tgz", - "integrity": "sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.21.0.tgz", + "integrity": "sha512-s5oFkZ/hFcrlAyBTONFY1TWndfyre1wOMwU+6KCpm/iatybvrRgmZVM+vCFwxmC5ZhdlgfE0N4XorsDpi7/4XQ==", "cpu": [ "arm64" ], @@ -925,9 +925,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.20.0.tgz", - "integrity": "sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.21.0.tgz", + "integrity": "sha512-G9+TEqRnAA6nbpqyUqgTiopmnfgnMkR3kMukFBDsiyy23LZvUCpiUwjTRx6ezYCjJODXrh52rBR9oXvm+Fp5wg==", "cpu": [ "ia32" ], @@ -939,9 +939,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.20.0.tgz", - "integrity": "sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.0.tgz", + "integrity": "sha512-2jsCDZwtQvRhejHLfZ1JY6w6kEuEtfF9nzYsZxzSlNVKDX+DpsDJ+Rbjkm74nvg2rdx0gwBS+IMdvwJuq3S9pQ==", "cpu": [ "x64" ], @@ -1382,7 +1382,8 @@ "node_modules/dayjs": { "version": "1.11.13", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz", - "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==" + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==", + "license": "MIT" }, "node_modules/debug": { "version": "4.3.6", @@ -1454,9 +1455,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.9", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.9.tgz", - "integrity": "sha512-HfkT8ndXR0SEkU8gBQQM3rz035bpE/hxkZ1YIt4KJPEFES68HfIU6LzKukH0H794Lm83WJtkSAMfEToxCs15VA==", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz", + "integrity": "sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==", "dev": true, "license": "ISC" }, @@ -2106,9 +2107,9 @@ } }, "node_modules/is-core-module": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", - "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", "dev": true, "license": "MIT", "dependencies": { @@ -2909,9 +2910,9 @@ } }, "node_modules/rollup": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.20.0.tgz", - "integrity": "sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.21.0.tgz", + "integrity": "sha512-vo+S/lfA2lMS7rZ2Qoubi6I5hwZwzXeUIctILZLbHI+laNtvhhOIon2S1JksA5UEDQ7l3vberd0fxK44lTYjbQ==", "dev": true, "license": "MIT", "dependencies": { @@ -2925,22 +2926,22 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.20.0", - "@rollup/rollup-android-arm64": "4.20.0", - "@rollup/rollup-darwin-arm64": "4.20.0", - "@rollup/rollup-darwin-x64": "4.20.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.20.0", - "@rollup/rollup-linux-arm-musleabihf": "4.20.0", - "@rollup/rollup-linux-arm64-gnu": "4.20.0", - "@rollup/rollup-linux-arm64-musl": "4.20.0", - "@rollup/rollup-linux-powerpc64le-gnu": "4.20.0", - "@rollup/rollup-linux-riscv64-gnu": "4.20.0", - "@rollup/rollup-linux-s390x-gnu": "4.20.0", - "@rollup/rollup-linux-x64-gnu": "4.20.0", - "@rollup/rollup-linux-x64-musl": "4.20.0", - "@rollup/rollup-win32-arm64-msvc": "4.20.0", - "@rollup/rollup-win32-ia32-msvc": "4.20.0", - "@rollup/rollup-win32-x64-msvc": "4.20.0", + "@rollup/rollup-android-arm-eabi": "4.21.0", + "@rollup/rollup-android-arm64": "4.21.0", + "@rollup/rollup-darwin-arm64": "4.21.0", + "@rollup/rollup-darwin-x64": "4.21.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.21.0", + "@rollup/rollup-linux-arm-musleabihf": "4.21.0", + "@rollup/rollup-linux-arm64-gnu": "4.21.0", + "@rollup/rollup-linux-arm64-musl": "4.21.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.21.0", + "@rollup/rollup-linux-riscv64-gnu": "4.21.0", + "@rollup/rollup-linux-s390x-gnu": "4.21.0", + "@rollup/rollup-linux-x64-gnu": "4.21.0", + "@rollup/rollup-linux-x64-musl": "4.21.0", + "@rollup/rollup-win32-arm64-msvc": "4.21.0", + "@rollup/rollup-win32-ia32-msvc": "4.21.0", + "@rollup/rollup-win32-x64-msvc": "4.21.0", "fsevents": "~2.3.2" } }, @@ -3402,6 +3403,7 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.2.tgz", "integrity": "sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==", "dev": true, + "license": "MIT", "dependencies": { "esbuild": "^0.21.3", "postcss": "^8.4.41",