Files
ploi-core/public/js/1971.js
2022-01-19 14:29:36 +01:00

1 line
61 KiB
JavaScript
Vendored

(self.webpackChunk=self.webpackChunk||[]).push([[1971,4622,4282],{6392:(t,e,r)=>{"use strict";r.d(e,{l:()=>n});var s=r(154);function n(t){var e=t.title,r=t.message,n=t.variant,a=t.timeout;return s.Z.dispatch("notification/notify",{title:e,message:r,variant:n,timeout:a})}},8552:(t,e,r)=>{var s=r(852)(r(5639),"DataView");t.exports=s},1989:(t,e,r)=>{var s=r(1789),n=r(401),a=r(7667),i=r(1327),o=r(1866);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var s=t[e];this.set(s[0],s[1])}}l.prototype.clear=s,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=i,l.prototype.set=o,t.exports=l},8407:(t,e,r)=>{var s=r(7040),n=r(4125),a=r(2117),i=r(3755),o=r(3399);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var s=t[e];this.set(s[0],s[1])}}l.prototype.clear=s,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=i,l.prototype.set=o,t.exports=l},7071:(t,e,r)=>{var s=r(852)(r(5639),"Map");t.exports=s},3369:(t,e,r)=>{var s=r(4785),n=r(1285),a=r(6e3),i=r(9916),o=r(5265);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var s=t[e];this.set(s[0],s[1])}}l.prototype.clear=s,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=i,l.prototype.set=o,t.exports=l},3818:(t,e,r)=>{var s=r(852)(r(5639),"Promise");t.exports=s},8525:(t,e,r)=>{var s=r(852)(r(5639),"Set");t.exports=s},8668:(t,e,r)=>{var s=r(3369),n=r(619),a=r(2385);function i(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new s;++e<r;)this.add(t[e])}i.prototype.add=i.prototype.push=n,i.prototype.has=a,t.exports=i},6384:(t,e,r)=>{var s=r(8407),n=r(7465),a=r(3779),i=r(7599),o=r(4758),l=r(4309);function c(t){var e=this.__data__=new s(t);this.size=e.size}c.prototype.clear=n,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=o,c.prototype.set=l,t.exports=c},1149:(t,e,r)=>{var s=r(5639).Uint8Array;t.exports=s},577:(t,e,r)=>{var s=r(852)(r(5639),"WeakMap");t.exports=s},4963:t=>{t.exports=function(t,e){for(var r=-1,s=null==t?0:t.length,n=0,a=[];++r<s;){var i=t[r];e(i,r,t)&&(a[n++]=i)}return a}},9932:t=>{t.exports=function(t,e){for(var r=-1,s=null==t?0:t.length,n=Array(s);++r<s;)n[r]=e(t[r],r,t);return n}},2488:t=>{t.exports=function(t,e){for(var r=-1,s=e.length,n=t.length;++r<s;)t[n+r]=e[r];return t}},2908:t=>{t.exports=function(t,e){for(var r=-1,s=null==t?0:t.length;++r<s;)if(e(t[r],r,t))return!0;return!1}},708:(t,e,r)=>{var s=r(9465),n=r(7813),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&n(i,r)&&(void 0!==r||e in t)||s(t,e,r)}},8470:(t,e,r)=>{var s=r(7813);t.exports=function(t,e){for(var r=t.length;r--;)if(s(t[r][0],e))return r;return-1}},9465:(t,e,r)=>{var s=r(8777);t.exports=function(t,e,r){"__proto__"==e&&s?s(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},7786:(t,e,r)=>{var s=r(1811),n=r(327);t.exports=function(t,e){for(var r=0,a=(e=s(e,t)).length;null!=t&&r<a;)t=t[n(e[r++])];return r&&r==a?t:void 0}},8866:(t,e,r)=>{var s=r(2488),n=r(1469);t.exports=function(t,e,r){var a=e(t);return n(t)?a:s(a,r(t))}},13:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},939:(t,e,r)=>{var s=r(2492),n=r(7005);t.exports=function t(e,r,a,i,o){return e===r||(null==e||null==r||!n(e)&&!n(r)?e!=e&&r!=r:s(e,r,a,i,t,o))}},2492:(t,e,r)=>{var s=r(6384),n=r(7114),a=r(8351),i=r(6096),o=r(4160),l=r(1469),c=r(4144),u=r(6719),p="[object Arguments]",d="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,v,m,_){var x=l(t),g=l(e),b=x?d:o(t),y=g?d:o(e),w=(b=b==p?f:b)==f,C=(y=y==p?f:y)==f,k=b==y;if(k&&c(t)){if(!c(e))return!1;x=!0,w=!1}if(k&&!w)return _||(_=new s),x||u(t)?n(t,e,r,v,m,_):a(t,e,b,r,v,m,_);if(!(1&r)){var $=w&&h.call(t,"__wrapped__"),Z=C&&h.call(e,"__wrapped__");if($||Z){var E=$?t.value():t,S=Z?e.value():e;return _||(_=new s),m(E,S,r,v,_)}}return!!k&&(_||(_=new s),i(t,e,r,v,m,_))}},2958:(t,e,r)=>{var s=r(6384),n=r(939);t.exports=function(t,e,r,a){var i=r.length,o=i,l=!a;if(null==t)return!o;for(t=Object(t);i--;){var c=r[i];if(l&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i<o;){var u=(c=r[i])[0],p=t[u],d=c[1];if(l&&c[2]){if(void 0===p&&!(u in t))return!1}else{var f=new s;if(a)var h=a(p,d,u,t,e,f);if(!(void 0===h?n(d,p,3,a,f):h))return!1}}return!0}},8458:(t,e,r)=>{var s=r(3560),n=r(5346),a=r(3218),i=r(346),o=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,d=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||n(t))&&(s(t)?d:o).test(i(t))}},7206:(t,e,r)=>{var s=r(1573),n=r(6432),a=r(6557),i=r(1469),o=r(9601);t.exports=function(t){return"function"==typeof t?t:null==t?a:"object"==typeof t?i(t)?n(t[0],t[1]):s(t):o(t)}},313:(t,e,r)=>{var s=r(3218),n=r(5726),a=r(3498),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!s(t))return a(t);var e=n(t),r=[];for(var o in t)("constructor"!=o||!e&&i.call(t,o))&&r.push(o);return r}},1573:(t,e,r)=>{var s=r(2958),n=r(1499),a=r(2634);t.exports=function(t){var e=n(t);return 1==e.length&&e[0][2]?a(e[0][0],e[0][1]):function(r){return r===t||s(r,t,e)}}},6432:(t,e,r)=>{var s=r(939),n=r(7361),a=r(9095),i=r(5403),o=r(9162),l=r(2634),c=r(327);t.exports=function(t,e){return i(t)&&o(e)?l(c(t),e):function(r){var i=n(r,t);return void 0===i&&i===e?a(r,t):s(e,i,3)}}},3012:(t,e,r)=>{var s=r(7786),n=r(611),a=r(1811);t.exports=function(t,e,r){for(var i=-1,o=e.length,l={};++i<o;){var c=e[i],u=s(t,c);r(u,c)&&n(l,a(c,t),u)}return l}},371:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},9152:(t,e,r)=>{var s=r(7786);t.exports=function(t){return function(e){return s(e,t)}}},611:(t,e,r)=>{var s=r(708),n=r(1811),a=r(5776),i=r(3218),o=r(327);t.exports=function(t,e,r,l){if(!i(t))return t;for(var c=-1,u=(e=n(e,t)).length,p=u-1,d=t;null!=d&&++c<u;){var f=o(e[c]),h=r;if("__proto__"===f||"constructor"===f||"prototype"===f)return t;if(c!=p){var v=d[f];void 0===(h=l?l(v,f,d):void 0)&&(h=i(v)?v:a(e[c+1])?[]:{})}s(d,f,h),d=d[f]}return t}},531:(t,e,r)=>{var s=r(2705),n=r(9932),a=r(1469),i=r(3448),o=s?s.prototype:void 0,l=o?o.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(a(e))return n(e,t)+"";if(i(e))return l?l.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r}},7561:(t,e,r)=>{var s=r(7990),n=/^\s+/;t.exports=function(t){return t?t.slice(0,s(t)+1).replace(n,""):t}},4757:t=>{t.exports=function(t,e){return t.has(e)}},1811:(t,e,r)=>{var s=r(1469),n=r(5403),a=r(5514),i=r(9833);t.exports=function(t,e){return s(t)?t:n(t,e)?[t]:a(i(t))}},4429:(t,e,r)=>{var s=r(5639)["__core-js_shared__"];t.exports=s},8777:(t,e,r)=>{var s=r(852),n=function(){try{var t=s(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=n},7114:(t,e,r)=>{var s=r(8668),n=r(2908),a=r(4757);t.exports=function(t,e,r,i,o,l){var c=1&r,u=t.length,p=e.length;if(u!=p&&!(c&&p>u))return!1;var d=l.get(t),f=l.get(e);if(d&&f)return d==e&&f==t;var h=-1,v=!0,m=2&r?new s:void 0;for(l.set(t,e),l.set(e,t);++h<u;){var _=t[h],x=e[h];if(i)var g=c?i(x,_,h,e,t,l):i(_,x,h,t,e,l);if(void 0!==g){if(g)continue;v=!1;break}if(m){if(!n(e,(function(t,e){if(!a(m,e)&&(_===t||o(_,t,r,i,l)))return m.push(e)}))){v=!1;break}}else if(_!==x&&!o(_,x,r,i,l)){v=!1;break}}return l.delete(t),l.delete(e),v}},8351:(t,e,r)=>{var s=r(2705),n=r(1149),a=r(7813),i=r(7114),o=r(8776),l=r(1814),c=s?s.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,r,s,c,p,d){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!p(new n(t),new n(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var f=o;case"[object Set]":var h=1&s;if(f||(f=l),t.size!=e.size&&!h)return!1;var v=d.get(t);if(v)return v==e;s|=2,d.set(t,e);var m=i(f(t),f(e),s,c,p,d);return d.delete(t),m;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},6096:(t,e,r)=>{var s=r(8234),n=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,a,i,o){var l=1&r,c=s(t),u=c.length;if(u!=s(e).length&&!l)return!1;for(var p=u;p--;){var d=c[p];if(!(l?d in e:n.call(e,d)))return!1}var f=o.get(t),h=o.get(e);if(f&&h)return f==e&&h==t;var v=!0;o.set(t,e),o.set(e,t);for(var m=l;++p<u;){var _=t[d=c[p]],x=e[d];if(a)var g=l?a(x,_,d,e,t,o):a(_,x,d,t,e,o);if(!(void 0===g?_===x||i(_,x,r,a,o):g)){v=!1;break}m||(m="constructor"==d)}if(v&&!m){var b=t.constructor,y=e.constructor;b==y||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(v=!1)}return o.delete(t),o.delete(e),v}},8234:(t,e,r)=>{var s=r(8866),n=r(9551),a=r(3674);t.exports=function(t){return s(t,a,n)}},6904:(t,e,r)=>{var s=r(8866),n=r(1442),a=r(1704);t.exports=function(t){return s(t,a,n)}},5050:(t,e,r)=>{var s=r(7019);t.exports=function(t,e){var r=t.__data__;return s(e)?r["string"==typeof e?"string":"hash"]:r.map}},1499:(t,e,r)=>{var s=r(9162),n=r(3674);t.exports=function(t){for(var e=n(t),r=e.length;r--;){var a=e[r],i=t[a];e[r]=[a,i,s(i)]}return e}},852:(t,e,r)=>{var s=r(8458),n=r(7801);t.exports=function(t,e){var r=n(t,e);return s(r)?r:void 0}},5924:(t,e,r)=>{var s=r(5569)(Object.getPrototypeOf,Object);t.exports=s},9551:(t,e,r)=>{var s=r(4963),n=r(479),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,o=i?function(t){return null==t?[]:(t=Object(t),s(i(t),(function(e){return a.call(t,e)})))}:n;t.exports=o},1442:(t,e,r)=>{var s=r(2488),n=r(5924),a=r(9551),i=r(479),o=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)s(e,a(t)),t=n(t);return e}:i;t.exports=o},4160:(t,e,r)=>{var s=r(8552),n=r(7071),a=r(3818),i=r(8525),o=r(577),l=r(4239),c=r(346),u="[object Map]",p="[object Promise]",d="[object Set]",f="[object WeakMap]",h="[object DataView]",v=c(s),m=c(n),_=c(a),x=c(i),g=c(o),b=l;(s&&b(new s(new ArrayBuffer(1)))!=h||n&&b(new n)!=u||a&&b(a.resolve())!=p||i&&b(new i)!=d||o&&b(new o)!=f)&&(b=function(t){var e=l(t),r="[object Object]"==e?t.constructor:void 0,s=r?c(r):"";if(s)switch(s){case v:return h;case m:return u;case _:return p;case x:return d;case g:return f}return e}),t.exports=b},7801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},222:(t,e,r)=>{var s=r(1811),n=r(5694),a=r(1469),i=r(5776),o=r(1780),l=r(327);t.exports=function(t,e,r){for(var c=-1,u=(e=s(e,t)).length,p=!1;++c<u;){var d=l(e[c]);if(!(p=null!=t&&r(t,d)))break;t=t[d]}return p||++c!=u?p:!!(u=null==t?0:t.length)&&o(u)&&i(d,u)&&(a(t)||n(t))}},1789:(t,e,r)=>{var s=r(4536);t.exports=function(){this.__data__=s?s(null):{},this.size=0}},401:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:(t,e,r)=>{var s=r(4536),n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(s){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return n.call(e,t)?e[t]:void 0}},1327:(t,e,r)=>{var s=r(4536),n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return s?void 0!==e[t]:n.call(e,t)}},1866:(t,e,r)=>{var s=r(4536);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=s&&void 0===e?"__lodash_hash_undefined__":e,this}},5403:(t,e,r)=>{var s=r(1469),n=r(3448),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;t.exports=function(t,e){if(s(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!n(t))||(i.test(t)||!a.test(t)||null!=e&&t in Object(e))}},7019:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:(t,e,r)=>{var s,n=r(4429),a=(s=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"";t.exports=function(t){return!!a&&a in t}},9162:(t,e,r)=>{var s=r(3218);t.exports=function(t){return t==t&&!s(t)}},7040:t=>{t.exports=function(){this.__data__=[],this.size=0}},4125:(t,e,r)=>{var s=r(8470),n=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=s(e,t);return!(r<0)&&(r==e.length-1?e.pop():n.call(e,r,1),--this.size,!0)}},2117:(t,e,r)=>{var s=r(8470);t.exports=function(t){var e=this.__data__,r=s(e,t);return r<0?void 0:e[r][1]}},3755:(t,e,r)=>{var s=r(8470);t.exports=function(t){return s(this.__data__,t)>-1}},3399:(t,e,r)=>{var s=r(8470);t.exports=function(t,e){var r=this.__data__,n=s(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}},4785:(t,e,r)=>{var s=r(1989),n=r(8407),a=r(7071);t.exports=function(){this.size=0,this.__data__={hash:new s,map:new(a||n),string:new s}}},1285:(t,e,r)=>{var s=r(5050);t.exports=function(t){var e=s(this,t).delete(t);return this.size-=e?1:0,e}},6e3:(t,e,r)=>{var s=r(5050);t.exports=function(t){return s(this,t).get(t)}},9916:(t,e,r)=>{var s=r(5050);t.exports=function(t){return s(this,t).has(t)}},5265:(t,e,r)=>{var s=r(5050);t.exports=function(t,e){var r=s(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}},8776:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,s){r[++e]=[s,t]})),r}},2634:t=>{t.exports=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}},4523:(t,e,r)=>{var s=r(8306);t.exports=function(t){var e=s(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},4536:(t,e,r)=>{var s=r(852)(Object,"create");t.exports=s},3498:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},619:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2385:t=>{t.exports=function(t){return this.__data__.has(t)}},1814:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},7465:(t,e,r)=>{var s=r(8407);t.exports=function(){this.__data__=new s,this.size=0}},3779:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},7599:t=>{t.exports=function(t){return this.__data__.get(t)}},4758:t=>{t.exports=function(t){return this.__data__.has(t)}},4309:(t,e,r)=>{var s=r(8407),n=r(7071),a=r(3369);t.exports=function(t,e){var r=this.__data__;if(r instanceof s){var i=r.__data__;if(!n||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},5514:(t,e,r)=>{var s=r(4523),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=s((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(n,(function(t,r,s,n){e.push(s?n.replace(a,"$1"):r||t)})),e}));t.exports=i},327:(t,e,r)=>{var s=r(3448);t.exports=function(t){if("string"==typeof t||s(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},346:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7990:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},3279:(t,e,r)=>{var s=r(3218),n=r(7771),a=r(4841),i=Math.max,o=Math.min;t.exports=function(t,e,r){var l,c,u,p,d,f,h=0,v=!1,m=!1,_=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function x(e){var r=l,s=c;return l=c=void 0,h=e,p=t.apply(s,r)}function g(t){return h=t,d=setTimeout(y,e),v?x(t):p}function b(t){var r=t-f;return void 0===f||r>=e||r<0||m&&t-h>=u}function y(){var t=n();if(b(t))return w(t);d=setTimeout(y,function(t){var r=e-(t-f);return m?o(r,u-(t-h)):r}(t))}function w(t){return d=void 0,_&&l?x(t):(l=c=void 0,p)}function C(){var t=n(),r=b(t);if(l=arguments,c=this,f=t,r){if(void 0===d)return g(f);if(m)return clearTimeout(d),d=setTimeout(y,e),x(f)}return void 0===d&&(d=setTimeout(y,e)),p}return e=a(e)||0,s(r)&&(v=!!r.leading,u=(m="maxWait"in r)?i(a(r.maxWait)||0,e):u,_="trailing"in r?!!r.trailing:_),C.cancel=function(){void 0!==d&&clearTimeout(d),h=0,l=f=c=d=void 0},C.flush=function(){return void 0===d?p:w(n())},C}},7813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},7361:(t,e,r)=>{var s=r(7786);t.exports=function(t,e,r){var n=null==t?void 0:s(t,e);return void 0===n?r:n}},9095:(t,e,r)=>{var s=r(13),n=r(222);t.exports=function(t,e){return null!=t&&n(t,e,s)}},3448:(t,e,r)=>{var s=r(4239),n=r(7005);t.exports=function(t){return"symbol"==typeof t||n(t)&&"[object Symbol]"==s(t)}},1704:(t,e,r)=>{var s=r(4636),n=r(313),a=r(1240);t.exports=function(t){return a(t)?s(t,!0):n(t)}},8306:(t,e,r)=>{var s=r(3369);function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var s=arguments,n=e?e.apply(this,s):s[0],a=r.cache;if(a.has(n))return a.get(n);var i=t.apply(this,s);return r.cache=a.set(n,i)||a,i};return r.cache=new(n.Cache||s),r}n.Cache=s,t.exports=n},7771:(t,e,r)=>{var s=r(5639);t.exports=function(){return s.Date.now()}},5937:(t,e,r)=>{var s=r(9932),n=r(7206),a=r(3012),i=r(6904);t.exports=function(t,e){if(null==t)return{};var r=s(i(t),(function(t){return[t]}));return e=n(e),a(t,r,(function(t,r){return e(t,r[0])}))}},9601:(t,e,r)=>{var s=r(371),n=r(9152),a=r(5403),i=r(327);t.exports=function(t){return a(t)?s(i(t)):n(t)}},479:t=>{t.exports=function(){return[]}},3493:(t,e,r)=>{var s=r(3279),n=r(3218);t.exports=function(t,e,r){var a=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return n(r)&&(a="leading"in r?!!r.leading:a,i="trailing"in r?!!r.trailing:i),s(t,e,{leading:a,maxWait:e,trailing:i})}},4841:(t,e,r)=>{var s=r(7561),n=r(3218),a=r(3448),i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(a(t))return NaN;if(n(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=n(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=s(t);var r=o.test(t);return r||l.test(t)?c(t.slice(2),r?2:8):i.test(t)?NaN:+t}},9833:(t,e,r)=>{var s=r(531);t.exports=function(t){return null==t?"":s(t)}},1246:(t,e,r)=>{"use strict";r.d(e,{Z:()=>v});const s={computed:{confirmDelete:function(){return this.$store.state.confirmDelete}},methods:{cancelConfirmDelete:function(){return this.$store.dispatch("confirmDelete/close")}}};var n=r(1900);const a=(0,n.Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.confirmDelete.isOpen?r("div",{staticClass:"fixed inset-0 z-50 flex items-end justify-center p-2 sm:items-center"},[r("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.cancelConfirmDelete,expression:"cancelConfirmDelete"}],staticClass:"w-full max-w-xs overflow-hidden rounded shadow-2xl bg-surface-1"},[r("header",{staticClass:"px-4 py-6 space-y-2 text-center"},[r("h2",{staticClass:"font-medium text-body"},[t._v(t._s(t.confirmDelete.title))]),t._v(" "),r("p",{staticClass:"text-small text-medium-emphasis"},[t._v(t._s(t.confirmDelete.message))])]),t._v(" "),r("footer",{staticClass:"grid grid-cols-2 border-t divide-x border-low-emphasis divide-low-emphasis"},[r("button",{staticClass:"inline-flex items-center justify-center h-12 px-4 font-medium transition ease-in-out text-small focus:outline-none text-high-emphasis duration-fast",on:{click:function(e){return t.cancelConfirmDelete()}}},[t._v("\n "+t._s(t.__("Cancel"))+"\n ")]),t._v(" "),r("button",{staticClass:"inline-flex items-center justify-center h-12 px-4 font-medium transition ease-in-out text-small text-danger focus:outline-none duration-fast",on:{click:function(e){return t.confirmDelete.onConfirm()}}},[t._v("\n "+t._s(t.__("Confirm"))+"\n ")])])])]):t._e()}),[],!1,null,null,null).exports;const i=(0,n.Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("li",{staticClass:"flex flex-row items-start w-full max-w-sm px-5 py-3 space-x-4 rounded shadow-2xl pointer-events-auto bg-overlay bf-blur"},[t._t("prefix"),t._v(" "),r("div",{staticClass:"mr-auto"},[r("p",{staticClass:"font-medium text-body"},[t._t("title")],2),t._v(" "),r("p",{staticClass:"text-small text-medium-emphasis"},[t._t("subtitle")],2)])],2)}),[],!1,null,null,null).exports;const o=(0,n.Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M7.938 2.016a.146.146 0 0 0-.054.057L1.027 13.74a.176.176 0 0 0-.002.183c.016.03.037.05.054.06.015.01.034.017.066.017h13.713a.12.12 0 0 0 .066-.017.163.163 0 0 0 .055-.06.176.176 0 0 0-.003-.183L8.12 2.073a.146.146 0 0 0-.054-.057A.13.13 0 0 0 8.002 2a.13.13 0 0 0-.064.016zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"}}),t._v(" "),r("path",{attrs:{d:"M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"}})])}),[],!1,null,null,null).exports;const l=(0,n.Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}}),t._v(" "),r("path",{attrs:{d:"M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"}})])}),[],!1,null,null,null).exports;const c=(0,n.Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}}),t._v(" "),r("path",{attrs:{"fill-rule":"evenodd",d:"M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"}})])}),[],!1,null,null,null).exports;const u=(0,n.Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{staticClass:"bi bi-info-circle",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}}),t._v(" "),r("path",{attrs:{d:"M8.93 6.588l-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588z"}}),t._v(" "),r("circle",{attrs:{cx:"8",cy:"4.5",r:"1"}})])}),[],!1,null,null,null).exports;const p={data:function(){return{searchOpen:!1,search:"",results:[],timeout:null}},computed:{isSearching:function(){return""!==this.search.trim()}},watch:{search:function(t){this.results=null,this.loading=!0,this.getResults(),this.arrowNavigation={identifier:null,index:-1}}},mounted:function(){var t=this;document.addEventListener("keydown",this.handleKeydown),window.eventBus.$on("openSearch",(function(){t.openSearch()}))},destroyed:function(){this.timeout&&clearTimeout(this.timeout)},methods:{getResults:function(){var t=this;this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){t.search?(t.results=null,window.axios.get(t.route("search",{query:t.search})).then((function(e){t.loading=!1,t.totalResults=e.data.total,e.data.total?t.results=e.data.results:t.results=null}))):t.loading=!1}),300)},handleKeydown:function(t){this.isNotInputElement(t)&&191===t.keyCode&&(t.preventDefault(),t.stopPropagation(),this.openSearch()),27===t.keyCode&&this.closeSearch(),this.isNotInputElement(t)&&(t.ctrlKey||t.metaKey||this.$page.props.auth.user.keyboard_shortcuts&&("c"===t.key&&this.$inertia.visit(this.route("sites.index",{create:!0})),"p"===t.key&&this.$inertia.visit(this.route("profile.index"))))},openSearch:function(){var t=this;this.searchOpen=!0,this.$nextTick((function(){t.$refs.search&&t.$refs.search.focus()}))},closeSearch:function(){this.search="",this.searchOpen=!1,this.$refs.search&&this.$refs.search.blur()},isNotInputElement:function(t){var e=t.target.tagName;return Boolean("INPUT"!==e&&"TEXTAREA"!==e&&"code-editor"!==t.target.id&&!t.target.classList.contains("form-textarea"))}}};const d=(0,n.Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.searchOpen?r("div",{staticClass:"w-full h-screen fixed inset-0 bg-backdrop bf-blur z-40 flex items-center flex-col"},[r("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.closeSearch,expression:"closeSearch"}],staticClass:"w-full max-w-4xl p-8 space-y-4"},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],ref:"search",staticClass:"w-full h-12 px-4 rounded bg-surface-1 shadow-md",attrs:{type:"text",placeholder:t.__("Type to search anything...")},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}}),t._v(" "),r("Transition",{attrs:{"enter-active-class":"transition ease-in-out transform duration-fast","leave-active-class":"transition ease-in-out transform duration-fast","enter-class":"-translate-y-4 opacity-0 scale-95","enter-to-class":"translate-y-0 opacity-100 scale-100","leave-class":"translate-y-0 opacity-100 scale-100","leave-to-class":"translate-y-4 opacity-0 scale-95",mode:"out-in"}},[t.isSearching?r("div",{key:"results",staticClass:"rounded bg-surface-1 shadow-md overflow-hidden"},t._l(t.results,(function(e){return r("ul",{staticClass:"flex flex-col divide-y divide-low-emphasis"},[r("li",{staticClass:"px-4 py-2 bg-surface-2"},[r("h3",{staticClass:"text-small font-medium"},[t._v(t._s(e.label)+" ("+t._s(e.total)+")")])]),t._v(" "),t._l(e.results,(function(e){return r("li",[r("inertia-link",{staticClass:"px-4 py-3 block text-small",attrs:{href:e.route},on:{click:t.closeSearch}},[t._v("\n "+t._s(e.name)+"\n ")])],1)}))],2)})),0):r("div",{key:"hints",staticClass:"rounded bg-surface-1 shadow-md p-4"},[r("ul",{staticClass:"flex flex-col space-y-3"},[r("li",[r("h3",{staticClass:"text-small font-medium"},[t._v(t._s(t.__("All helpful key shortcuts")))])]),t._v(" "),r("li",{staticClass:"space-x-2 text-small"},[r("code",{staticClass:"rounded px-2 py-1 monospace border border-low-emphasis shadow-sm"},[t._v("/")]),t._v(" "),r("span",[t._v(t._s(t.__("Open search")))])]),t._v(" "),r("li",{staticClass:"space-x-2 text-small"},[r("code",{staticClass:"rounded px-2 py-1 monospace border border-low-emphasis shadow-sm"},[t._v("c")]),t._v(" "),r("span",[t._v(t._s(t.__("Create site")))])]),t._v(" "),r("li",{staticClass:"space-x-2 text-small"},[r("code",{staticClass:"rounded px-2 py-1 monospace border border-low-emphasis shadow-sm"},[t._v("p")]),t._v(" "),r("span",[t._v(t._s(t.__("Goto profile")))])])])])])],1)]):t._e()}),[],!1,null,null,null).exports;var f=r(6392);const h={components:{ConfirmDelete:a,Notification:i,IconDanger:o,IconWarning:l,IconSuccess:c,IconInfo:u,SearchPalette:d},data:function(){return{searchOpen:!1}},computed:{backdropIsOpen:function(){return this.$store.state.backdrop.isOpen},notifications:function(){return this.$store.state.notification.notifications}},watch:{"$page.props.flash.success":function(){this.$page.props.flash.success&&((0,f.l)({variant:"success",title:this.__("Success"),message:this.$page.props.flash.success}),this.$page.props.flash.success=null)},"$page.props.flash.info":function(){this.$page.props.flash.info&&((0,f.l)({variant:"info",title:this.__("Info"),message:this.$page.props.flash.info}),this.$page.props.flash.info=null)},"$page.props.flash.error":function(){this.$page.props.flash.error&&((0,f.l)({variant:"danger",title:this.__("Error"),message:this.$page.props.flash.error}),this.$page.props.flash.error=null)}},methods:{useNotification:f.l}};const v=(0,n.Z)(h,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"antialiased font-body text-high-emphasis bg-surface"},[t.$page.props.settings.demo?r("div",{staticClass:"relative bg-primary text-white"},[t._m(0)]):t._e(),t._v(" "),t.$page.props.system_alert?r("div",{staticClass:"relative text-white",class:{"bg-primary":"info"===t.$page.props.system_alert.type,"bg-warning":"warning"===t.$page.props.system_alert.type,"bg-danger":"danger"===t.$page.props.system_alert.type}},[r("div",{staticClass:"max-w-screen-xl mx-auto py-3 px-3 sm:px-6 lg:px-8"},[r("div",{staticClass:"pr-16 sm:text-center sm:px-16"},[r("p",{staticClass:"font-medium text-on-primary"},[t._v("\n "+t._s(t.$page.props.system_alert.message)+"\n ")])])])]):t._e(),t._v(" "),r("PortalTarget",{attrs:{name:"modals"}}),t._v(" "),r("div",{staticClass:"fixed inset-0 z-50 flex items-start justify-end p-5 pointer-events-none"},[r("TransitionGroup",{staticClass:"flex flex-col space-y-2",attrs:{"enter-active-class":"transition ease-out transform duration-fast","enter-class":"translate-x-6 opacity-0","enter-to-class":"translate-x-0 opacity-100","leave-active-class":"transition ease-in transform duration-fast","leave-class":"opacity-100","leave-to-class":"scale-50 -translate-y-6 opacity-0",tag:"div"}},t._l(t.notifications,(function(e,s){return r("Notification",{key:s,scopedSlots:t._u([{key:"prefix",fn:function(){return["danger"===e.variant||"error"===e.variant?r("IconDanger",{staticClass:"flex-shrink-0 w-6 h-6 text-danger"}):t._e(),t._v(" "),"success"===e.variant?r("IconSuccess",{staticClass:"flex-shrink-0 w-6 h-6 text-success"}):t._e(),t._v(" "),"info"===e.variant?r("IconInfo",{staticClass:"flex-shrink-0 w-6 h-6 text-primary"}):t._e(),t._v(" "),"warning"===e.variant?r("IconWarning",{staticClass:"flex-shrink-0 w-6 h-6 text-warning"}):t._e()]},proxy:!0},{key:"title",fn:function(){return[t._v(t._s(e.title))]},proxy:!0},{key:"subtitle",fn:function(){return[t._v(t._s(e.message))]},proxy:!0}],null,!0)})})),1)],1),t._v(" "),r("Transition",{attrs:{"enter-active-class":"transition ease-in-out duration-fast","leave-active-class":"transition ease-in-out duration-fast","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[t.backdropIsOpen?r("div",{staticClass:"fixed inset-0 z-40 bg-backdrop bf-blur"}):t._e()]),t._v(" "),r("SearchPalette"),t._v(" "),r("Transition",{attrs:{"enter-active-class":"transition ease-in-out transform duration-fast","leave-active-class":"transition ease-in-out transform duration-fast","enter-class":"translate-y-8 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[r("ConfirmDelete")],1),t._v(" "),t._t("default")],2)}),[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"max-w-screen-xl mx-auto py-3 px-3 sm:px-6 lg:px-8"},[r("div",{staticClass:"pr-16 sm:text-center sm:px-16"},[r("p",{staticClass:"font-medium text-on-primary"},[t._v("\n You are currently in a demo environment.\n ")])])])}],!1,null,null,null).exports},1971:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>I});var s=r(4282),n=r(4701),a=r(9061),i=r(5119),o=r(1019),l=r(4582),c=r(5173),u=r(3844),p=r(6051),d=r(9938),f=r(8778),h=r(3771),v=r(1246),m=r(2414),_=r(8478),x=r(9464),g=r(6392),b=r(3804),y=r(4622),w=r(9159),C=r(2984),k=r(3385),$=r(3275),Z=r(7161),E=r(8406),S=r(5937),T=r.n(S),O=r(3493),j=r.n(O);const z={metaInfo:function(){return{title:"".concat(this.__("Users"))}},layout:v.Z,components:{TopBar:s.default,Container:n.Z,Content:a.Z,Page:i.Z,PageHeader:o.Z,PageHeaderTitle:l.Z,PageBody:c.Z,Button:u.Z,List:p.Z,ListItem:d.Z,StatusBubble:f.Z,NotificationBadge:h.Z,SettingsLayout:m.Z,SettingsSegment:_.Z,Pagination:x.Z,Tabs:y.default,Table:w.Z,TableHead:C.Z,TableHeader:k.Z,TableRow:$.Z,TableBody:Z.Z,TableData:E.Z,FormInput:b.Z},props:{users:Object,filters:Object},data:function(){return{form:{search:this.filters.search}}},watch:{form:{handler:j()((function(){var t=T()(this.form);this.$inertia.replace(this.route("admin.users.index",Object.keys(t).length?t:{remember:"forget"}))}),500),deep:!0}},mounted:function(){this.$page.props.flash.success&&(0,g.l)({variant:"success",title:"Users",message:this.$page.props.flash.success})},methods:{useNotification:g.l}};const I=(0,r(1900).Z)(z,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("Page",[r("TopBar"),t._v(" "),r("Content",[r("Container",[r("PageHeader",{scopedSlots:t._u([{key:"start",fn:function(){return[r("PageHeaderTitle",[t._v(t._s(t.__("Users")))])]},proxy:!0}])}),t._v(" "),r("PageBody",[r("SettingsLayout",{scopedSlots:t._u([{key:"nav",fn:function(){return[r("Tabs")]},proxy:!0},{key:"segments",fn:function(){return[r("SettingsSegment",{scopedSlots:t._u([{key:"title",fn:function(){return[t._v(t._s(t.__("Overview")))]},proxy:!0},{key:"form",fn:function(){return[r("form",{staticClass:"space-y-4 pb-5 mb-5 border-b border-low-emphasis"},[r("FormInput",{attrs:{label:t.__("Search")},model:{value:t.form.search,callback:function(e){t.$set(t.form,"search",e)},expression:"form.search"}})],1)]},proxy:!0},{key:"content",fn:function(){return[r("div",[r("Table",{attrs:{caption:"User list overview"}},[r("TableHead",[r("TableRow",[r("TableHeader",[t._v(t._s(t.__("Name")))]),t._v(" "),r("TableHeader",[t._v(t._s(t.__("User name")))]),t._v(" "),r("TableHeader",[t._v(t._s(t.__("Role")))]),t._v(" "),r("TableHeader",[t._v(t._s(t.__("Package")))]),t._v(" "),r("TableHeader")],1)],1),t._v(" "),r("TableBody",t._l(t.users.data,(function(e){return r("TableRow",{key:e.id},[r("TableData",[r("inertia-link",{attrs:{href:t.route("admin.users.show",e.id)}},[r("span",{staticClass:"text-primary"},[t._v(t._s(e.name))]),t._v(" "),r("p",{staticClass:"text-medium-emphasis"},[t._v(t._s(e.email))])])],1),t._v(" "),r("TableData",[t._v(t._s(e.user_name))]),t._v(" "),r("TableData",[t._v(t._s(e.role))]),t._v(" "),r("TableData",[t._v(t._s(e.package?e.package.name:"-"))]),t._v(" "),r("TableData",[r("inertia-link",{staticClass:"text-primary font-medium",attrs:{href:t.route("admin.users.edit",e.id)}},[t._v("\n "+t._s(t.__("Edit"))+"\n ")])],1)],1)})),1)],1)],1),t._v(" "),r("pagination",{attrs:{links:t.users}})]},proxy:!0}])})]},proxy:!0}])})],1)],1)],1)],1)}),[],!1,null,null,null).exports},4622:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>n});const s={data:function(){return{items:[{title:this.__("Overview"),to:this.route("admin.users.index"),active:this.route().current("admin.users.index")},{title:this.__("Create"),to:this.route("admin.users.create"),active:this.route().current("admin.users.create")}]}}};const n=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ul",{staticClass:"-ml-4 space-y-1"},t._l(t.items,(function(e){return r("li",[r("inertia-link",{staticClass:"flex items-center h-10 px-4 font-medium text-medium-emphasis",class:{"rounded shadow text-primary bg-surface-3":e.active},attrs:{href:e.to}},[t._v(t._s(e.title)+" "+t._s(e.route))])],1)})),0)}),[],!1,null,null,null).exports},4282:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>l});var s=r(4416),n=r(9870),a=r(9434),i=r(6684);const o={components:{TopBar:s.Z,Breadcrumbs:n.Z,TabBar:a.Z,TopBarTabBarContainer:i.Z},data:function(){return{tabBars:[{title:"Dashboard",to:this.route("admin.dashboard"),active:this.route().current("admin.dashboard")||this.route().current("admin.settings")||this.route().current("admin.system")},{title:this.__("Users"),to:this.route("admin.users.index"),active:this.route().current("admin.users.*")},{title:this.__("Packages"),to:this.route("admin.packages.index"),active:this.route().current("admin.packages.*")},this.$page.props.settings.support?{title:"".concat(this.__("Support")," (").concat(this.$page.props.openTickets,")"),to:this.route("admin.support.index"),active:this.route().current("admin.support.*")}:null,this.$page.props.settings.documentation?{title:this.__("Documentation"),to:this.route("admin.documentation.index"),active:this.route().current("admin.documentation.*")}:null,{title:"Services",to:this.route("admin.services.index"),active:this.route().current("admin.services.*")}],breadcrumbs:[{title:this.$page.props.settings.name,to:"/"},{title:this.__("Administration"),to:this.route("admin.dashboard")}]}}};const l=(0,r(1900).Z)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("TopBar",{scopedSlots:t._u([{key:"breadcrumbs",fn:function(){return[r("Breadcrumbs",{attrs:{items:t.breadcrumbs}})]},proxy:!0},{key:"tab-bar",fn:function(){return[r("TopBarTabBarContainer",[r("TabBar",{attrs:{items:t.tabBars}})],1)]},proxy:!0}])})}),[],!1,null,null,null).exports},9870:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});const s={props:{to:{type:String,required:!0}}};var n=r(1900);const a={components:{BreadcrumbsItem:(0,n.Z)(s,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("inertia-link",{staticClass:"font-medium text-body text-breadcrumbs",attrs:{href:t.to}},[t._t("default")],2)}),[],!1,null,null,null).exports},props:{items:{type:Array,required:!0}}};const i=(0,n.Z)(a,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ul",{staticClass:"flex items-center space-x-2"},t._l(t.items,(function(e,s){return r("li",{key:e.title},[r("BreadcrumbsItem",{attrs:{to:e.to}},[t._v(t._s(e.title))]),t._v(" "),s<t.items.length-1?r("span",{staticClass:"ml-2 text-low-emphasis"},[t._v("/")]):t._e()],1)})),0)}),[],!1,null,null,null).exports},3844:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var s={primary:"bg-primary text-on-primary shadow",danger:"bg-danger text-on-danger shadow",secondary:"bg-surface-2 text-high-emphasis"},n={sm:"h-8 px-2",md:"h-10 px-5"};const a={props:{as:{default:function(){return"button"}},href:{default:function(){return null}},block:{type:Boolean,default:function(){return!1}},variant:{type:String,default:function(){return"primary"},validator:function(t){return Object.keys(s).includes(t)}},size:{type:String,default:"md"},loading:{default:!1},disabled:{default:!1}},data:function(){return{baseClasses:"items-center justify-center font-medium capitalize rounded select-none focus:outline-none",flexClasses:"flex w-full text-body",inlineFlexClasses:"inline-flex text-small",variantClasses:s,sizeClasses:n}}};const i=(0,r(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.as,{tag:"Component",class:[t.baseClasses,t.sizeClasses[t.size],t.variantClasses[t.variant],t.block?t.flexClasses:t.inlineFlexClasses,t.disabled||t.loading?"opacity-50":"",t.loading?"cursor-wait":""],attrs:{disabled:t.loading||t.disabled,href:t.href},on:{click:function(e){return t.$emit("click")}}},[t._t("default")],2)}),[],!1,null,null,null).exports},4701:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});var s={small:"max-w-sm",medium:"max-w-xl",base:"max-w-5xl",large:"max-w-screen-xl",fluid:"max-w-none"};const n={props:{size:{type:String,default:function(){return"base"},validator:function(t){return Object.keys(s).includes(t)}}},data:function(){return{baseClasses:"w-full px-4 sm:px-8 mx-auto",sizeClasses:s}}};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:[t.baseClasses,t.sizeClasses[t.size]]},[t._t("default")],2)}),[],!1,null,null,null).exports},9061:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("main",{staticClass:"flex-1 bg-surface-1",attrs:{id:"main"}},[t._t("default")],2)}),[],!1,null,null,null).exports},6653:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const s={data:function(){return{isOpen:!1,position:"top"}},methods:{open:function(){this.isOpen=!0,this.calculatePosition()},close:function(){this.isOpen=!1,this.calculatePosition()},toggle:function(){this.isOpen=!this.isOpen,this.calculatePosition()},outsideClickListener:function(t){this.$refs.dropdown!==t.target.closest(this.$refs.dropdown.tagName)&&this.close()},calculatePosition:function(){this.$refs.dropdown.getBoundingClientRect().top>.75*window.innerHeight?this.position="bottom":this.position="top"}},mounted:function(){window.addEventListener("click",this.outsideClickListener)},beforeDestroy:function(){window.removeEventListener("click",this.outsideClickListener)}};const n=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.close,expression:"close"}],ref:"dropdown",staticClass:"relative"},[t._t("default",null,null,{isOpen:t.isOpen,open:t.open,close:t.close,toggle:t.toggle,position:t.position})],2)}),[],!1,null,null,null).exports},6111:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});var s={top:"right-0 top-0 mt-8",bottom:"right-0 bottom-0 mb-8"};const n={props:{position:{type:String,default:function(){return"top"},validator:function(t){return Object.keys(s).includes(t)}}},computed:{positionClasses:function(){return s[this.position]}}};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:["absolute flex flex-col py-1 overflow-hidden rounded shadow-2xl z-20 bg-surface-1",t.positionClasses]},[t._t("default")],2)}),[],!1,null,null,null).exports},3412:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const s={props:{to:{type:String,required:!0},componentIs:{type:String,default:"a"},method:{required:!1,default:"get"}}};const n=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("inertia-link",{staticClass:"flex items-center w-full h-10 px-6 whitespace-nowrap text-medium-emphasis text-small focus:bg-primary focus:text-on-primary hover:text-high-emphasis focus:outline-none",attrs:{as:t.componentIs,href:t.to,method:t.method}},[t._t("default")],2)}),[],!1,null,null,null).exports},7493:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("p",{staticClass:"text-danger"},[t._t("default")],2)}),[],!1,null,null,null).exports},3906:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"flex flex-col space-y-1"},[t._t("default")],2)}),[],!1,null,null,null).exports},4961:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("p",{staticClass:"text-medium-emphasis text-small"},[t._t("default")],2)}),[],!1,null,null,null).exports},319:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("button",{staticClass:"inline-flex items-center justify-center w-10 h-10 text-medium-emphasis rounded-circle focus:outline-none focus:text-high-emphasis",on:{click:function(e){return t.$emit("click")}}},[t._t("default")],2)}),[],!1,null,null,null).exports},8920:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const s={props:{forId:{type:String,required:!1},errors:{type:Array}}};const n=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("label",{class:["text-small"],attrs:{for:t.forId}},[t._t("default")],2)}),[],!1,null,null,null).exports},6051:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("ul",{staticClass:"flex flex-col divide-y divide-low-emphasis"},[t._t("default")],2)}),[],!1,null,null,null).exports},9938:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("li",[r("div",{staticClass:"-mx-4"},[r("div",{staticClass:"block p-4 transition rounded shadow-none duration-fast hover:bg-surface-2"},[r("div",{staticClass:"flex flex-row items-center space-x-4"},[t._t("prefix"),t._v(" "),r("div",{staticClass:"flex-1"},[r("h2",{staticClass:"font-medium text-body"},[t._t("title")],2),t._v(" "),r("p",{staticClass:"text-small text-medium-emphasis"},[t._t("subtitle")],2)]),t._v(" "),t._t("suffix")],2)])])])}),[],!1,null,null,null).exports},3771:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const s={props:{count:{type:Number,required:!0}},computed:{cappedCount:function(){return this.count<9?this.count:9}}};const n=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"inline-flex items-center justify-center w-6 h-6 font-medium bg-danger text-on-danger text-small rounded-circle"},[t._v("\n "+t._s(t.cappedCount)+"\n")])}),[],!1,null,null,null).exports},5119:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"flex flex-col min-h-screen"},[t._t("default")],2)}),[],!1,null,null,null).exports},5173:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("section",{staticClass:"my-8 space-y-8"},[t._t("default")],2)}),[],!1,null,null,null).exports},1019:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("header",{staticClass:"flex justify-between mt-16 mb-8"},[r("div",[t._t("start")],2),t._v(" "),r("div",[t._t("end")],2)])}),[],!1,null,null,null).exports},4582:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("h1",{staticClass:"font-semibold text-heading"},[t._t("default")],2)}),[],!1,null,null,null).exports},9464:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const s={props:{links:Object,preserveScroll:{default:!0}},computed:{determineLinks:function(){return this.links.meta?this.links.meta:this.links}}};const n=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.determineLinks.per_page<t.determineLinks.total?r("div",{staticClass:"mt-6 -mb-1 flex flex-wrap"},[t._l(t.determineLinks.links,(function(e,s){return[null===e.url?r("div",{key:s,staticClass:"mr-1 mb-1 px-3 py-1 text-sm rounded text-grey bg-white dark:bg-gray-700 dark:text-gray-300 opacity-50 cursor-not-allowed dark:border-gray-700",class:{"ml-auto":"Next"===e.label},domProps:{innerHTML:t._s(e.label)}}):r("inertia-link",{key:s,staticClass:"mr-1 mb-1 px-2 py-1 text-sm rounded",class:{"shadow text-high-emphasis bg-surface-1":e.active,"ml-auto":"Next"===e.label},attrs:{"preserve-scroll":t.preserveScroll,href:e.url},domProps:{innerHTML:t._s(e.label)}})]}))],2):t._e()}),[],!1,null,null,null).exports},8478:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("section",{staticClass:"px-8 pb-8 space-y-6 border rounded border-low-emphasis"},[r("header",{staticClass:"-mt-4"},[r("h2",{staticClass:"inline-flex px-4 -mx-4 font-medium bg-surface-1 text-title"},[t._t("title")],2),t._v(" "),r("p",{staticClass:"mt-1 text-small text-medium-emphasis"},[t._t("subtitle")],2)]),t._v(" "),r("div",{staticClass:"space-y-4"},[t._t("form"),t._v(" "),t._t("content")],2)])}),[],!1,null,null,null).exports},8778:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});var s={primary:"bg-primary",success:"bg-success",warning:"bg-warning",danger:"bg-danger",gray:"bg-surface-2 border border-medium-emphasis"};const n={props:{variant:{type:String,default:function(){return"primary"},validator:function(t){return Object.keys(s).includes(t)}}},data:function(){return{variantClasses:s}},computed:{label:function(){return"success"===this.variant?this.__("Active"):"gray"===this.variant?this.__("Busy"):this.__("Unknown")}}};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:["flex items-center justify-center w-2 h-2 rounded-circle relative",t.variantClasses[t.variant]],attrs:{"aria-label":t.label,"data-balloon-blunt":"","data-balloon-pos":"down"}},["gray"===t.variant?r("span",{staticClass:"flex items-center justify-center inset-0 h-2 w-2"},[r("span",{staticClass:"animate-ping absolute inline-flex h-full w-full rounded-circle bg-success opacity-75"})]):t._e()])}),[],!1,null,null,null).exports},9434:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});const s={props:{to:{type:String,required:!0},active:{type:Boolean,default:!1}},data:function(){return{baseClasses:"inline-flex items-center justify-center h-10 px-6 font-medium rounded text-small text-tab-bar",activeClasses:"shadow text-tab-bar-active bg-tab-bar-item",transitionClasses:"transition duration-fast hover:text-high-emphasis focus:text-high-emphasis"}}};var n=r(1900);const a={components:{TabBarItem:(0,n.Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("li",[r("inertia-link",{class:[t.baseClasses,t.transitionClasses,t.active?t.activeClasses:null],attrs:{href:t.to}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},props:{items:{required:!0}}};const i=(0,n.Z)(a,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ul",{staticClass:"inline-flex flex-row p-1 overflow-hidden overflow-x-auto whitespace-nowrap rounded bg-tab-bar"},t._l(t.items,(function(e){return e?r("TabBarItem",{key:e.title,attrs:{to:e.to,active:e.active}},[t._v("\n "+t._s(e.title)+"\n ")]):t._e()})),1)}),[],!1,null,null,null).exports},9159:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const s={props:{caption:{type:String,required:!0}}};const n=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("table",{staticClass:"w-full text-left table-auto text-small"},[r("caption",{staticClass:"sr-only"},[t._v(t._s(t.caption))]),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},7161:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("tbody",[t._t("default")],2)}),[],!1,null,null,null).exports},8406:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const s={props:{border:{type:Boolean,default:!0}}};const n=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("td",{staticClass:"py-2",class:{"border-t border-low-emphasis":t.border}},[t._t("default")],2)}),[],!1,null,null,null).exports},2984:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("thead",[t._t("default")],2)}),[],!1,null,null,null).exports},3385:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("th",{staticClass:"pb-2"},[t._t("default")],2)}),[],!1,null,null,null).exports},3275:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("tr",[t._t("default")],2)}),[],!1,null,null,null).exports},4416:(t,e,r)=>{"use strict";r.d(e,{Z:()=>f});var s=r(4701),n=r(6653),a=r(6111),i=r(3412),o=r(1900);const l=(0,o.Z)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"bi bi-moon",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M14.53 10.53a7 7 0 0 1-9.058-9.058A7.003 7.003 0 0 0 8 15a7.002 7.002 0 0 0 6.53-4.47z"}})])}),[],!1,null,null,null).exports;const c=(0,o.Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{staticClass:"bi bi-sun",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M3.5 8a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0z"}}),t._v(" "),r("path",{attrs:{"fill-rule":"evenodd",d:"M8.202.28a.25.25 0 0 0-.404 0l-.91 1.255a.25.25 0 0 1-.334.067L5.232.79a.25.25 0 0 0-.374.155l-.36 1.508a.25.25 0 0 1-.282.19l-1.532-.245a.25.25 0 0 0-.286.286l.244 1.532a.25.25 0 0 1-.189.282l-1.509.36a.25.25 0 0 0-.154.374l.812 1.322a.25.25 0 0 1-.067.333l-1.256.91a.25.25 0 0 0 0 .405l1.256.91a.25.25 0 0 1 .067.334L.79 10.768a.25.25 0 0 0 .154.374l1.51.36a.25.25 0 0 1 .188.282l-.244 1.532a.25.25 0 0 0 .286.286l1.532-.244a.25.25 0 0 1 .282.189l.36 1.508a.25.25 0 0 0 .374.155l1.322-.812a.25.25 0 0 1 .333.067l.91 1.256a.25.25 0 0 0 .405 0l.91-1.256a.25.25 0 0 1 .334-.067l1.322.812a.25.25 0 0 0 .374-.155l.36-1.508a.25.25 0 0 1 .282-.19l1.532.245a.25.25 0 0 0 .286-.286l-.244-1.532a.25.25 0 0 1 .189-.282l1.508-.36a.25.25 0 0 0 .155-.374l-.812-1.322a.25.25 0 0 1 .067-.333l1.256-.91a.25.25 0 0 0 0-.405l-1.256-.91a.25.25 0 0 1-.067-.334l.812-1.322a.25.25 0 0 0-.155-.374l-1.508-.36a.25.25 0 0 1-.19-.282l.245-1.532a.25.25 0 0 0-.286-.286l-1.532.244a.25.25 0 0 1-.282-.189l-.36-1.508a.25.25 0 0 0-.374-.155l-1.322.812a.25.25 0 0 1-.333-.067L8.203.28zM8 2.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11z"}})])}),[],!1,null,null,null).exports;const u=(0,o.Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{staticClass:"bi bi-search",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M10.442 10.442a1 1 0 0 1 1.415 0l3.85 3.85a1 1 0 0 1-1.414 1.415l-3.85-3.85a1 1 0 0 1 0-1.415z"}}),t._v(" "),r("path",{attrs:{"fill-rule":"evenodd",d:"M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"}})])}),[],!1,null,null,null).exports;var p=r(319);const d={components:{Container:s.Z,Dropdown:n.Z,DropdownList:a.Z,DropdownListItem:i.Z,IconMoon:l,IconSearch:u,IconSun:c,IconButton:p.Z},data:function(){return{themeMode:this.$page.props.auth.user.theme}},mounted:function(){this.setDarkMode()},methods:{toggleTheme:function(){var t=this;window.axios.post("/profile/toggle-theme").then((function(e){t.themeMode=e.data,t.setDarkMode()}))},setDarkMode:function(){"auto"===this.themeMode?this.checkDarkMode()?document.documentElement.classList.add("theme--dark"):document.documentElement.classList.remove("theme--dark"):"dark"===this.themeMode?document.documentElement.classList.add("theme--dark"):document.documentElement.classList.remove("theme--dark")},checkDarkMode:function(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches},triggerSearch:function(){window.eventBus.$emit("openSearch")}}};const f=(0,o.Z)(d,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("header",{staticClass:"sticky top-0 border-b border-low-emphasis bg-top-bar z-30"},[r("div",{staticClass:"w-full px-4 sm:px-8 mx-auto max-w-top-bar-container"},[r("div",{staticClass:"flex flex-col"},[r("nav",{staticClass:"flex flex-col items-center justify-between py-4 space-y-4 md:space-y-0 md:flex-row text-top-bar"},[r("div",{staticClass:"flex items-center space-x-5"},[t.$page.props.settings.logo?r("img",{staticClass:"h-top-bar-logo",attrs:{src:t.$page.props.settings.logo}}):t._e(),t._v(" "),t._t("breadcrumbs")],2),t._v(" "),r("ul",{staticClass:"flex items-center space-x-4"},[r("li",{attrs:{"aria-label":t.__("Search"),"data-balloon-blunt":"","data-balloon-pos":"down"}},[r("IconButton",{on:{click:t.triggerSearch}},[r("IconSearch",{staticClass:"text-top-bar"})],1)],1),t._v(" "),r("li",{attrs:{"aria-label":"light"===t.themeMode?t.__("Enable dark mode"):t.__("Enable light mode"),"data-balloon-blunt":"","data-balloon-pos":"down"}},[r("IconButton",{on:{click:t.toggleTheme}},["light"===t.themeMode?r("IconMoon",{staticClass:"text-top-bar"}):t._e(),t._v(" "),"dark"===t.themeMode?r("IconSun",{staticClass:"text-top-bar"}):t._e()],1)],1),t._v(" "),r("li",[r("Dropdown",{scopedSlots:t._u([{key:"default",fn:function(e){var s=e.toggle,n=e.isOpen;return[r("button",{staticClass:"flex h-auto m-0 appearance-none items-center",on:{click:s}},[r("span",[t._v(t._s(t.$page.props.auth.user.name))]),t._v(" "),r("img",{staticClass:"ml-2 inline w-8 h-8 rounded-avatar bg-surface-2",attrs:{src:t.$page.props.auth.user.avatar,alt:t.$page.props.auth.user.name}})]),t._v(" "),n?r("DropdownList",[t.$page.props.settings.support?r("DropdownListItem",{attrs:{to:"/support"}},[t._v(t._s(t.__("Support"))+"\n ")]):t._e(),t._v(" "),t.$page.props.settings.documentation?r("DropdownListItem",{attrs:{to:"/documentation"}},[t._v(t._s(t.__("Documentation")))]):t._e(),t._v(" "),r("DropdownListItem",{attrs:{to:t.route("profile.index")}},[t._v(t._s(t.__("Profile"))+"\n ")]),t._v(" "),t.$page.props.settings.billing?r("DropdownListItem",{attrs:{to:t.route("profile.billing.index")}},[t._v(t._s(t.__("Billing"))+"\n ")]):t._e(),t._v(" "),"admin"===t.$page.props.auth.user.role?r("DropdownListItem",{staticClass:"!text-danger",attrs:{to:t.route("admin.dashboard")}},[t._v(t._s(t.__("Administration"))+"\n ")]):t._e(),t._v(" "),r("DropdownListItem",{attrs:{to:t.route("logout"),"component-is":"button",method:"post"}},[t._v(t._s(t.__("Sign out"))+"\n ")])],1):t._e()]}}])})],1)])]),t._v(" "),t._t("tab-bar")],2)])])}),[],!1,null,null,null).exports},6684:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("nav",{staticClass:"flex items-center justify-center pb-4"},[t._t("default")],2)}),[],!1,null,null,null).exports},3804:(t,e,r)=>{"use strict";r.d(e,{Z:()=>u});var s=r(3906),n=r(8920),a=r(7493),i=r(4961),o=r(5301),l=r(9592);const c={props:{id:{type:String,required:!1},label:{type:String,required:!0},type:{type:String,default:function(){return"text"}},required:{type:Boolean,default:function(){return!1}},errors:{type:Array},helperText:{type:String},placeholder:{type:String},value:{required:!1,default:""},allowCopy:{required:!1,default:!1,type:Boolean},allowRandomString:{required:!1,default:!1,type:Boolean},loading:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1},autofocus:{type:Boolean,required:!1,default:!1}},components:{FormGroup:s.Z,Label:n.Z,ErrorText:a.Z,HelperText:i.Z,IconClipboard:o.Z,IconKey:l.Z},data:function(){return{defaultClasses:"w-full border-medium-emphasis text-body h-10 px-2 border rounded bg-surface-1 focus:outline-none focus:border-primary",copied:!1}},watch:{copied:function(){var t=this;this.copied&&setTimeout((function(){t.copied=!1}),1250)}},methods:{updateValue:function(t){this.$emit("input",t)},copy:function(){this.copied=!0,this.$copyText(this.value)},generateString:function(){this.$emit("input",this.randomString())}},computed:{copyText:function(){return this.copied?this.__("Copied to clipboard"):this.__("Copy")}}};const u=(0,r(1900).Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("FormGroup",{staticClass:"relative max-w-lg"},[r("Label",{attrs:{errors:t.errors,forId:t.id}},[t._v(t._s(t.label))]),t._v(" "),t.allowCopy?r("button",{staticClass:"flex items-center right-0 absolute text-xs text-medium-emphasis",attrs:{type:"button"},on:{click:t.copy}},[r("IconClipboard",{staticClass:"mr-2"}),t._v("\n "+t._s(t.copyText)+"\n ")],1):t._e(),t._v(" "),t.allowRandomString?r("button",{staticClass:"flex items-center right-0 absolute text-xs text-medium-emphasis",attrs:{type:"button"},on:{click:t.generateString}},[r("IconKey",{staticClass:"mr-2"}),t._v("\n "+t._s(t.__("Generate"))+"\n ")],1):t._e(),t._v(" "),r("input",{class:[t.defaultClasses,t.disabled||t.loading?"opacity-50":"",t.loading?"cursor-wait":""],attrs:{id:t.id,type:t.type,required:t.required,disabled:t.loading||t.disabled,autofocus:t.autofocus,placeholder:t.placeholder},domProps:{value:t.value},on:{input:function(e){return t.updateValue(e.target.value)}}}),t._v(" "),t.errors?r("ErrorText",[t._v(t._s(t.errors[0]))]):t._e(),t._v(" "),t.helperText&&!t.errors?r("HelperText",[t._v(t._s(t.helperText))]):t._e()],1)}),[],!1,null,null,null).exports},5301:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{staticClass:"bi bi-clipboard",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"}}),t._v(" "),r("path",{attrs:{"fill-rule":"evenodd",d:"M9.5 1h-3a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"}})])}),[],!1,null,null,null).exports},9592:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{staticClass:"bi bi-key",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M0 8a4 4 0 0 1 7.465-2H14a.5.5 0 0 1 .354.146l1.5 1.5a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0L13 9.207l-.646.647a.5.5 0 0 1-.708 0L11 9.207l-.646.647a.5.5 0 0 1-.708 0L9 9.207l-.646.647A.5.5 0 0 1 8 10h-.535A4 4 0 0 1 0 8zm4-3a3 3 0 1 0 2.712 4.285A.5.5 0 0 1 7.163 9h.63l.853-.854a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.793-.793-1-1h-6.63a.5.5 0 0 1-.451-.285A3 3 0 0 0 4 5z"}}),t._v(" "),r("path",{attrs:{d:"M4 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"}})])}),[],!1,null,null,null).exports},2414:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const s={props:{items:{type:Array,required:!1},space:{type:String,default:"space-y-16"}}};const n=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"grid grid-cols-4 gap-8 md:gap-16"},[r("aside",{staticClass:"col-span-4 md:col-span-1"},[t._t("nav")],2),t._v(" "),r("section",{staticClass:"col-span-4 md:col-span-3"},[r("div",{class:t.space},[t._t("segments")],2)])])}),[],!1,null,null,null).exports},1900:(t,e,r)=>{"use strict";function s(t,e,r,s,n,a,i,o){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),s&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),i?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},c._ssrRegister=l):n&&(l=o?function(){n.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}r.d(e,{Z:()=>s})}}]);