Commit b4e8325d by Vladislav

#19460 Разворачивание инфраструктуры

1 parent 8d8bb212
/node_modules
/public/css
/public/css/*.map
/public/hot
/public/js
/public/js/*.map
/public/js/resources_*.js
/public/mix-manifest.json
/public/storage
/storage/*.key
......
/*! tailwindcss v2.0.3 | MIT License | https://tailwindcss.com*/
/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:transparent;background-image:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{font-family:Cerebri Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{font-family:inherit;line-height:inherit}*,:after,:before{box-sizing:border-box;border:0 solid #e2e8f0}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder, textarea::-moz-placeholder{opacity:1;color:#94a3b8}input:-ms-input-placeholder, textarea:-ms-input-placeholder{opacity:1;color:#94a3b8}input::placeholder,textarea::placeholder{opacity:1;color:#94a3b8}[role=button],button{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}a:active,a:focus,button:active,button:focus,div:active,div:focus,input:active,input:focus,select:active,select:focus,textarea:active,textarea:focus{outline:none}.btn-indigo{--tw-bg-opacity:1;background-color:rgba(86,97,179,var(--tw-bg-opacity))}.btn-indigo:focus,.btn-indigo:hover{--tw-bg-opacity:1;background-color:rgba(251,146,60,var(--tw-bg-opacity))}.btn-indigo{border-radius:.25rem;font-weight:700;font-size:.875rem;line-height:1.25rem;line-height:1rem;padding:.75rem 1.5rem;--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));white-space:nowrap}.btn-spinner,.btn-spinner:after{border-radius:50%;width:1.5em;height:1.5em}.btn-spinner{font-size:10px;position:relative;text-indent:-9999em;border:.2em solid #fff;border-left-color:transparent;transform:translateZ(0);-webkit-animation:spinning 1s linear infinite;animation:spinning 1s linear infinite}@-webkit-keyframes spinning{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spinning{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.form-label{display:block;margin-bottom:.5rem;--tw-text-opacity:1;color:rgba(51,65,85,var(--tw-text-opacity));-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.form-input,.form-select,.form-textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.form-input:focus,.form-select:focus,.form-textarea:focus{--tw-border-opacity:1;border-color:rgba(120,134,215,var(--tw-border-opacity))}.form-input,.form-select,.form-textarea{border-radius:.25rem;border-width:1px;display:block;font-family:Cerebri Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;padding:.5rem;position:relative}.form-input:focus,.form-select:focus,.form-textarea:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.form-input,.form-select,.form-textarea{text-align:left;--tw-text-opacity:1;color:rgba(51,65,85,var(--tw-text-opacity));width:100%}.form-input::-moz-placeholder, .form-select::-moz-placeholder, .form-textarea::-moz-placeholder{opacity:1;--tw-text-opacity:1;color:rgba(100,116,139,var(--tw-text-opacity))}.form-input:-ms-input-placeholder, .form-select:-ms-input-placeholder, .form-textarea:-ms-input-placeholder{opacity:1;--tw-text-opacity:1;color:rgba(100,116,139,var(--tw-text-opacity))}.form-input::placeholder,.form-select::placeholder,.form-textarea::placeholder{opacity:1;--tw-text-opacity:1;color:rgba(100,116,139,var(--tw-text-opacity))}.form-select{padding-right:1.5rem;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAQCAYAAAAMJL+VAAAABGdBTUEAALGPC/xhBQAAAQtJREFUOBG1lEEOgjAQRalbGj2OG9caOACn4ALGtfEuHACiazceR1PWOH/CNA3aMiTaBDpt/7zPdBKy7M/DCL9pGkvxxVp7KsvyJftL5rZt1865M+Ucq6pyyF3hNcI7Cuu+728QYn/JQA5yKaempxuZmQngOwEaYx55nu+1lQh8GIatMGi+01NwBcEmhxBqK4nAPZJ78K0KKFAJmR3oPp8+Iwgob0Oa6+TLoeCvRx+mTUYf/FVBGTPRwDkfLxnaSrRwcH0FWhNOmrkWYbE2XEicqgSa1J0LQ+aPCuQgZiLnwewbGuz5MGoAhcIkCQcjaTBjMgtXGURMVHC1wcQEy0J+Zlj8bKAnY1/UzDe2dbAVqfXn6wAAAABJRU5ErkJggg==");background-size:.7rem;background-repeat:no-repeat;background-position:right .7rem center}.form-select::-ms-expand{opacity:0}.form-input.error,.form-select.error,.form-textarea.error{--tw-border-opacity:1;border-color:rgba(239,68,68,var(--tw-border-opacity))}.form-input.error:focus,.form-select.error:focus,.form-textarea.error:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent);--tw-ring-opacity:1;--tw-ring-color:rgba(254,202,202,var(--tw-ring-opacity))}.form-error{font-size:.875rem;line-height:1.25rem;margin-top:.5rem;--tw-text-opacity:1;color:rgba(185,28,28,var(--tw-text-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity:1;background-color:rgba(248,113,113,var(--tw-bg-opacity))}.bg-yellow-300{--tw-bg-opacity:1;background-color:rgba(253,224,71,var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity:1;background-color:rgba(34,197,94,var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgba(248,250,252,var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgba(241,245,249,var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgba(100,116,139,var(--tw-bg-opacity))}.bg-indigo-800{--tw-bg-opacity:1;background-color:rgba(47,54,95,var(--tw-bg-opacity))}.bg-indigo-900{--tw-bg-opacity:1;background-color:rgba(25,30,56,var(--tw-bg-opacity))}.focus-within\:bg-gray-100:focus-within{--tw-bg-opacity:1;background-color:rgba(241,245,249,var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgba(241,245,249,var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity:1;background-color:rgba(51,65,85,var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity:1;background-color:rgba(101,116,205,var(--tw-bg-opacity))}.border-gray-100{--tw-border-opacity:1;border-color:rgba(241,245,249,var(--tw-border-opacity))}.focus\:border-white:focus{--tw-border-opacity:1;border-color:rgba(255,255,255,var(--tw-border-opacity))}.focus\:border-indigo-500:focus{--tw-border-opacity:1;border-color:rgba(101,116,205,var(--tw-border-opacity))}.rounded-sm{border-radius:.125rem}.rounded{border-radius:.25rem}.rounded-md{border-radius:.375rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.border{border-width:1px}.border-b-2{border-bottom-width:2px}.border-t{border-top-width:1px}.border-r{border-right-width:1px}.border-b{border-bottom-width:1px}.cursor-pointer{cursor:pointer}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.hidden{display:none}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.font-sans{font-family:Cerebri Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-medium{font-weight:500}.font-bold{font-weight:700}.h-2{height:.5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.leading-4{line-height:1rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.mx-auto{margin-left:auto;margin-right:auto}.-my-2{margin-top:-.5rem;margin-bottom:-.5rem}.mt-1{margin-top:.25rem}.mr-1{margin-right:.25rem}.mb-1{margin-bottom:.25rem}.ml-1{margin-left:.25rem}.mt-2{margin-top:.5rem}.mr-2{margin-right:.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.mt-4{margin-top:1rem}.mr-4{margin-right:1rem}.mb-4{margin-bottom:1rem}.ml-4{margin-left:1rem}.mt-6{margin-top:1.5rem}.mr-6{margin-right:1.5rem}.mb-6{margin-bottom:1.5rem}.mt-8{margin-top:2rem}.mb-8{margin-bottom:2rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.ml-auto{margin-left:auto}.-mb-1{margin-bottom:-.25rem}.-mr-6{margin-right:-1.5rem}.-mb-8{margin-bottom:-2rem}.max-w-xs{max-width:20rem}.max-w-md{max-width:28rem}.max-w-3xl{max-width:48rem}.min-h-screen{min-height:100vh}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.p-0{padding:0}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-12{padding:3rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.px-8{padding-left:2rem;padding-right:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.pr-1{padding-right:.25rem}.pb-4{padding-bottom:1rem}.pt-6{padding-top:1.5rem}.pr-6{padding-right:1.5rem}.pb-8{padding-bottom:2rem}.relative{position:relative}*{--tw-shadow:0 0 transparent}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,0.1),0 10px 10px -5px rgba(0,0,0,0.04);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}*{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.focus\:ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.fill-white{fill:#fff}.fill-red-800{fill:#991b1b}.fill-yellow-800{fill:#854d0e}.fill-green-800{fill:#166534}.fill-gray-400{fill:#94a3b8}.fill-gray-700{fill:#334155}.fill-indigo-400{fill:#7886d7}.group:hover .group-hover\:fill-white{fill:#fff}.focus\:fill-indigo-600:focus,.group:hover .group-hover\:fill-indigo-600{fill:#5661b3}.text-left{text-align:left}.text-center{text-align:center}.text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgba(220,38,38,var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity:1;color:rgba(133,77,14,var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgba(148,163,184,var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgba(100,116,139,var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgba(51,65,85,var(--tw-text-opacity))}.text-indigo-300{--tw-text-opacity:1;color:rgba(178,183,255,var(--tw-text-opacity))}.text-indigo-400{--tw-text-opacity:1;color:rgba(120,134,215,var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity:1;color:rgba(101,116,205,var(--tw-text-opacity))}.group:hover .group-hover\:text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.group:hover .group-hover\:text-indigo-600{--tw-text-opacity:1;color:rgba(86,97,179,var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.hover\:text-orange-600:hover{--tw-text-opacity:1;color:rgba(234,88,12,var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity:1;color:rgba(51,65,85,var(--tw-text-opacity))}.hover\:text-indigo-500:hover{--tw-text-opacity:1;color:rgba(101,116,205,var(--tw-text-opacity))}.hover\:text-indigo-600:hover{--tw-text-opacity:1;color:rgba(86,97,179,var(--tw-text-opacity))}.focus\:text-indigo-500:focus{--tw-text-opacity:1;color:rgba(101,116,205,var(--tw-text-opacity))}.focus\:text-indigo-600:focus{--tw-text-opacity:1;color:rgba(86,97,179,var(--tw-text-opacity))}.hover\:underline:hover,.underline{text-decoration:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.whitespace-nowrap{white-space:nowrap}.w-2{width:.5rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-24{width:6rem}.w-56{width:14rem}.w-px{width:1px}.w-full{width:100%}.w-screen{width:100vw}.focus\:z-10:focus{z-index:10}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@media (min-width:768px){.md\:block{display:block}.md\:inline{display:inline}.md\:flex{display:flex}.md\:hidden{display:none}.md\:flex-col{flex-direction:column}.md\:justify-center{justify-content:center}.md\:flex-1{flex:1 1 0%}.md\:flex-grow{flex-grow:1}.md\:flex-shrink-0{flex-shrink:0}.md\:h-screen{height:100vh}.md\:ml-2{margin-left:.5rem}.md\:overflow-hidden{overflow:hidden}.md\:overflow-y-auto{overflow-y:auto}.md\:p-12{padding:3rem}.md\:py-0{padding-top:0;padding-bottom:0}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:px-12{padding-left:3rem;padding-right:3rem}.md\:w-56{width:14rem}}@media (min-width:1024px){.lg\:w-1\/2{width:50%}}
(self.webpackChunk=self.webpackChunk||[]).push([[11],{6011:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>o});const r={metaInfo:{title:"Reports"},layout:n(9714).Z};const o=(0,n(1900).Z)(r,(function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"mb-8 font-bold text-3xl"},[t._v("Reports")])])}],!1,null,null,null).exports},381:(t,e,n)=>{"use strict";n.d(e,{Z:()=>ct});var r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(r&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=r&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function p(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:p(l(t))}function f(t){return t&&t.referenceNode?t.referenceNode:t}var c=r&&!(!window.MSInputMethodContext||!document.documentMode),h=r&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?c:10===t?h:c||h}function u(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?u(n):n:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(t!==l&&e!==l||r.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&u(s.firstElementChild)!==s?u(l):l;var p=m(t);return p.host?v(p.host,e):v(t,m(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[n]}return t[n]}function w(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),o=g(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}function b(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function x(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],d(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,n=t.documentElement,r=d(10)&&getComputedStyle(n);return{height:x("Height",e,n,r),width:x("Width",e,n,r)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),E=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},z=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function M(t){return z({},t,{right:t.left+t.width,bottom:t.top+t.height})}function k(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var n=g(t,"top"),r=g(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,p=t.offsetWidth-s,f=t.offsetHeight-l;if(p||f){var c=a(t);p-=b(c,"x"),f-=b(c,"y"),o.width-=p,o.height-=f}return M(o)}function L(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(10),o="HTML"===e.nodeName,i=k(t),s=k(e),l=p(t),f=a(e),c=parseFloat(f.borderTopWidth),h=parseFloat(f.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var u=M({top:i.top-s.top-c,left:i.left-s.left-h,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!r&&o){var m=parseFloat(f.marginTop),v=parseFloat(f.marginLeft);u.top-=c-m,u.bottom-=c-m,u.left-=h-v,u.right-=h-v,u.marginTop=m,u.marginLeft=v}return(r&&!n?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(u=w(u,e)),u}function H(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=L(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:g(n),a=e?0:g(n,"left"),l={top:s-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:o,height:i};return M(l)}function O(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=l(t);return!!n&&O(n)}function V(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function T(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?V(t):v(t,f(e));if("viewport"===r)i=H(s,o);else{var a=void 0;"scrollParent"===r?"BODY"===(a=p(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===r?t.ownerDocument.documentElement:r;var c=L(a,s,o);if("HTML"!==a.nodeName||O(s))i=c;else{var h=y(t.ownerDocument),d=h.height,u=h.width;i.top+=c.top-c.marginTop,i.bottom=d+c.top,i.left+=c.left-c.marginLeft,i.right=u+c.left}}var m="number"==typeof(n=n||0);return i.left+=m?n:n.left||0,i.top+=m?n:n.top||0,i.right-=m?n:n.right||0,i.bottom-=m?n:n.bottom||0,i}function B(t){return t.width*t.height}function D(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=T(n,r,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return z({key:t},a[t],{area:B(a[t])})})).sort((function(t,e){return e.area-t.area})),p=l.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),f=p.length>0?p[0].key:l[0].key,c=t.split("-")[1];return f+(c?"-"+c:"")}function N(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?V(e):v(e,f(n));return L(n,o,r)}function S(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function F(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function $(t,e,n){n=n.split("-")[0];var r=S(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",p=i?"width":"height";return o[s]=e[s]+e[l]/2-r[l]/2,o[a]=n===a?e[a]-r[p]:e[F(a)],o}function A(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function j(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=A(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&s(n)&&(e.offsets.popper=M(e.offsets.popper),e.offsets.reference=M(e.offsets.reference),e=n(e,t))})),e}function P(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=D(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=$(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=j(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function U(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function W(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var o=e[r],i=o?""+o+n:t;if(void 0!==document.body.style[i])return i}return null}function R(){return this.state.isDestroyed=!0,U(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[W("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Z(t){var e=t.ownerDocument;return e?e.defaultView:window}function I(t,e,n,r){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,n,{passive:!0}),o||I(p(i.parentNode),e,n,r),r.push(i)}function Y(t,e,n,r){n.updateBound=r,Z(t).addEventListener("resize",n.updateBound,{passive:!0});var o=p(t);return I(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,Z(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&X(e[n])&&(r="px"),t.style[n]=e[n]+r}))}var K=r&&/Firefox/i.test(navigator.userAgent);function Q(t,e,n){var r=A(t,(function(t){return t.name===e})),o=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!o){var i="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function nt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=et.indexOf(t),r=et.slice(n+1).concat(et.slice(0,n));return e?r.reverse():r}var rt="flip",ot="clockwise",it="counterclockwise";function st(t,e,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(A(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,p=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(p=p.map((function(t,r){var o=(1===r?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=r}return M(a)[e]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,o,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){X(n)&&(o[e]+=n*("-"===t[r-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",p=a?"width":"height",f={start:E({},l,i[l]),end:E({},l,i[l]+i[p]-s[p])};t.offsets.popper=z({},s,f[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=r.split("-")[0],l=void 0;return l=X(+n)?[+n,0]:st(n,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||u(t.instance.popper);t.instance.reference===n&&(n=u(n));var r=W("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[r];o.top="",o.left="",o[r]="";var l=T(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=i,o.left=s,o[r]=a,e.boundaries=l;var p=e.priority,f=t.offsets.popper,c={primary:function(t){var n=f[t];return f[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(f[t],l[t])),E({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=f[n];return f[t]>l[t]&&!e.escapeWithReference&&(r=Math.min(f[n],l[t]-("right"===t?f.width:f.height))),E({},n,r)}};return p.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=z({},f,c[e](t))})),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",p=s?"width":"height";return n[a]<i(r[l])&&(t.offsets.popper[l]=i(r[l])-n[p]),n[l]>i(r[a])&&(t.offsets.popper[l]=i(r[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,p=-1!==["left","right"].indexOf(o),f=p?"height":"width",c=p?"Top":"Left",h=c.toLowerCase(),d=p?"left":"top",u=p?"bottom":"right",m=S(r)[f];l[u]-m<s[h]&&(t.offsets.popper[h]-=s[h]-(l[u]-m)),l[h]+m>s[u]&&(t.offsets.popper[h]+=l[h]+m-s[u]),t.offsets.popper=M(t.offsets.popper);var v=l[h]+l[f]/2-m/2,g=a(t.instance.popper),w=parseFloat(g["margin"+c]),b=parseFloat(g["border"+c+"Width"]),x=v-t.offsets.popper[h]-w-b;return x=Math.max(Math.min(s[f]-m,x),0),t.arrowElement=r,t.offsets.arrow=(E(n={},h,Math.round(x)),E(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(U(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=T(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=F(r),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case rt:s=[r,o];break;case ot:s=nt(r);break;case it:s=nt(r,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(r!==a||s.length===l+1)return t;r=t.placement.split("-")[0],o=F(r);var p=t.offsets.popper,f=t.offsets.reference,c=Math.floor,h="left"===r&&c(p.right)>c(f.left)||"right"===r&&c(p.left)<c(f.right)||"top"===r&&c(p.bottom)>c(f.top)||"bottom"===r&&c(p.top)<c(f.bottom),d=c(p.left)<c(n.left),u=c(p.right)>c(n.right),m=c(p.top)<c(n.top),v=c(p.bottom)>c(n.bottom),g="left"===r&&d||"right"===r&&u||"top"===r&&m||"bottom"===r&&v,w=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(w&&"start"===i&&d||w&&"end"===i&&u||!w&&"start"===i&&m||!w&&"end"===i&&v),x=!!e.flipVariationsByContent&&(w&&"start"===i&&u||w&&"end"===i&&d||!w&&"start"===i&&v||!w&&"end"===i&&m),y=b||x;(h||g||y)&&(t.flipped=!0,(h||g)&&(r=s[l+1]),y&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=r+(i?"-"+i:""),t.offsets.popper=z({},t.offsets.popper,$(t.instance.popper,t.offsets.reference,t.placement)),t=j(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,o=r.popper,i=r.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=i[n]-(a?o[s?"width":"height"]:0),t.placement=F(e),t.offsets.popper=M(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=A(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,o=t.offsets.popper,i=A(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=u(t.instance.popper),l=k(a),p={position:o.position},f=function(t,e){var n=t.offsets,r=n.popper,o=n.reference,i=Math.round,s=Math.floor,a=function(t){return t},l=i(o.width),p=i(r.width),f=-1!==["left","right"].indexOf(t.placement),c=-1!==t.placement.indexOf("-"),h=e?f||c||l%2==p%2?i:s:a,d=e?i:a;return{left:h(l%2==1&&p%2==1&&!c&&e?r.left-1:r.left),top:d(r.top),bottom:d(r.bottom),right:h(r.right)}}(t,window.devicePixelRatio<2||!K),c="bottom"===n?"top":"bottom",h="right"===r?"left":"right",d=W("transform"),m=void 0,v=void 0;if(v="bottom"===c?"HTML"===a.nodeName?-a.clientHeight+f.bottom:-l.height+f.bottom:f.top,m="right"===h?"HTML"===a.nodeName?-a.clientWidth+f.right:-l.width+f.right:f.left,s&&d)p[d]="translate3d("+m+"px, "+v+"px, 0)",p[c]=0,p[h]=0,p.willChange="transform";else{var g="bottom"===c?-1:1,w="right"===h?-1:1;p[c]=v*g,p[h]=m*w,p.willChange=c+", "+h}var b={"x-placement":t.placement};return t.attributes=z({},b,t.attributes),t.styles=z({},p,t.styles),t.arrowStyles=z({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return J(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,o){var i=N(o,e,t,n.positionFixed),s=D(n.placement,i,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},lt=function(){function t(e,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=z({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(z({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){r.options.modifiers[e]=z({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return z({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return P.call(this)}},{key:"destroy",value:function(){return R.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const pt=lt,ft={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new pt(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const ct=(0,n(1900).Z)(ft,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?n("portal",{attrs:{to:"dropdown"}},[n("div",[n("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),n("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5007:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});const r={props:{name:String}};const o=(0,n(1900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return"apple"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[n("g",{attrs:{"fill-rule":"nonzero"}},[n("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),n("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,n)=>{"use strict";n.d(e,{Z:()=>h});var r=n(5007),o=n(3354),i=n(381);const s={components:{Icon:r.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return""===n[0]?""===t:n.filter((function(e){return t.startsWith(e)})).length}}};var a=n(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),n("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),n("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),n("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),n("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),n("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const p={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const f=(0,a.Z)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.$page.props.flash.success&&t.show?n("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[n("div",{staticClass:"flex items-center"},[n("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),n("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),n("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[n("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[n("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?n("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[n("div",{staticClass:"flex items-center"},[n("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?n("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):n("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?n("span",[t._v("There is one form error.")]):n("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),n("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[n("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[n("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,c={components:{Dropdown:i.Z,FlashMessages:f,Icon:r.Z,Logo:o.Z,MainMenu:l}};const h=(0,a.Z)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),n("div",{staticClass:"md:flex md:flex-col"},[n("div",{staticClass:"md:h-screen md:flex md:flex-col"},[n("div",{staticClass:"md:flex md:flex-shrink-0"},[n("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[n("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[n("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),n("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[n("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),n("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[n("main-menu")],1)])],1),t._v(" "),n("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[n("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),n("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[n("div",{staticClass:"flex items-center cursor-pointer select-none group"},[n("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[n("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),n("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),n("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),n("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),n("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[n("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),n("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[n("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},3354:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=(0,n(1900).Z)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),n("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},1900:(t,e,n)=>{"use strict";function r(t,e,n,r,o,i,s,a){var l,p="function"==typeof t?t.options:t;if(e&&(p.render=e,p.staticRenderFns=n,p._compiled=!0),r&&(p.functional=!0),i&&(p._scopeId="data-v-"+i),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},p._ssrRegister=l):o&&(l=a?function(){o.call(this,(p.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(p.functional){p._injectStyles=l;var f=p.render;p.render=function(t,e){return l.call(e),f(t,e)}}else{var c=p.beforeCreate;p.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:p}}n.d(e,{Z:()=>r})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[113],{6113:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>c});var n=r(9714),o=r(6119),i=r(3669),s=r(1100),a=r(284);const l={metaInfo:function(){return{title:"".concat(this.form.first_name," ").concat(this.form.last_name)}},components:{LoadingButton:s.Z,SelectInput:i.Z,TextInput:o.Z,TrashedMessage:a.Z},layout:n.Z,props:{contact:Object,organizations:Array},remember:"form",data:function(){return{form:this.$inertia.form({first_name:this.contact.first_name,last_name:this.contact.last_name,organization_id:this.contact.organization_id,email:this.contact.email,phone:this.contact.phone,address:this.contact.address,city:this.contact.city,region:this.contact.region,country:this.contact.country,postal_code:this.contact.postal_code})}},methods:{update:function(){this.form.put(this.route("contacts.update",this.contact.id))},destroy:function(){confirm("Are you sure you want to delete this contact?")&&this.$inertia.delete(this.route("contacts.destroy",this.contact.id))},restore:function(){confirm("Are you sure you want to restore this contact?")&&this.$inertia.put(this.route("contacts.restore",this.contact.id))}}};const c=(0,r(1900).Z)(l,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("h1",{staticClass:"mb-8 font-bold text-3xl"},[r("inertia-link",{staticClass:"text-indigo-400 hover:text-indigo-600",attrs:{href:t.route("contacts")}},[t._v("Contacts")]),t._v(" "),r("span",{staticClass:"text-indigo-400 font-medium"},[t._v("/")]),t._v("\n "+t._s(t.form.first_name)+" "+t._s(t.form.last_name)+"\n ")],1),t._v(" "),t.contact.deleted_at?r("trashed-message",{staticClass:"mb-6",on:{restore:t.restore}},[t._v("\n This contact has been deleted.\n ")]):t._e(),t._v(" "),r("div",{staticClass:"bg-white rounded-md shadow overflow-hidden max-w-3xl"},[r("form",{on:{submit:function(e){return e.preventDefault(),t.update(e)}}},[r("div",{staticClass:"p-8 -mr-6 -mb-8 flex flex-wrap"},[r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.first_name,label:"First name"},model:{value:t.form.first_name,callback:function(e){t.$set(t.form,"first_name",e)},expression:"form.first_name"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.last_name,label:"Last name"},model:{value:t.form.last_name,callback:function(e){t.$set(t.form,"last_name",e)},expression:"form.last_name"}}),t._v(" "),r("select-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.organization_id,label:"Organization"},model:{value:t.form.organization_id,callback:function(e){t.$set(t.form,"organization_id",e)},expression:"form.organization_id"}},[r("option",{domProps:{value:null}}),t._v(" "),t._l(t.organizations,(function(e){return r("option",{key:e.id,domProps:{value:e.id}},[t._v(t._s(e.name))])}))],2),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.email,label:"Email"},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.phone,label:"Phone"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.address,label:"Address"},model:{value:t.form.address,callback:function(e){t.$set(t.form,"address",e)},expression:"form.address"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.city,label:"City"},model:{value:t.form.city,callback:function(e){t.$set(t.form,"city",e)},expression:"form.city"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.region,label:"Province/State"},model:{value:t.form.region,callback:function(e){t.$set(t.form,"region",e)},expression:"form.region"}}),t._v(" "),r("select-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.country,label:"Country"},model:{value:t.form.country,callback:function(e){t.$set(t.form,"country",e)},expression:"form.country"}},[r("option",{domProps:{value:null}}),t._v(" "),r("option",{attrs:{value:"CA"}},[t._v("Canada")]),t._v(" "),r("option",{attrs:{value:"US"}},[t._v("United States")])]),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.postal_code,label:"Postal code"},model:{value:t.form.postal_code,callback:function(e){t.$set(t.form,"postal_code",e)},expression:"form.postal_code"}})],1),t._v(" "),r("div",{staticClass:"px-8 py-4 bg-gray-50 border-t border-gray-100 flex items-center"},[t.contact.deleted_at?t._e():r("button",{staticClass:"text-red-600 hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:t.destroy}},[t._v("Delete Contact")]),t._v(" "),r("loading-button",{staticClass:"btn-indigo ml-auto",attrs:{loading:t.form.processing,type:"submit"}},[t._v("Update Contact")])],1)])])],1)}),[],!1,null,null,null).exports},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>pt});var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),r=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?t:c(l(t))}function f(t){return t&&t.referenceNode?t.referenceNode:t}var p=n&&!(!window.MSInputMethodContext||!document.documentMode),u=n&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?p:10===t?u:p||u}function h(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===a(r,"position")?h(r):r:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,o=r?e:t,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&h(s.firstElementChild)!==s?h(l):l;var c=m(t);return c.host?v(c.host,e):v(t,m(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[r]}return t[r]}function w(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g(e,"top"),o=g(e,"left"),i=r?-1:1;return t.top+=n*i,t.bottom+=n*i,t.left+=o*i,t.right+=o*i,t}function b(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function x(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],d(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,r=t.documentElement,n=d(10)&&getComputedStyle(r);return{height:x("Height",e,r,n),width:x("Width",e,r,n)}}var y=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),z=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function E(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function M(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var r=g(t,"top"),n=g(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?_(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,c=t.offsetWidth-s,f=t.offsetHeight-l;if(c||f){var p=a(t);c-=b(p,"x"),f-=b(p,"y"),o.width-=c,o.height-=f}return E(o)}function L(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=d(10),o="HTML"===e.nodeName,i=M(t),s=M(e),l=c(t),f=a(e),p=parseFloat(f.borderTopWidth),u=parseFloat(f.borderLeftWidth);r&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=E({top:i.top-s.top-p,left:i.left-s.left-u,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!n&&o){var m=parseFloat(f.marginTop),v=parseFloat(f.marginLeft);h.top-=p-m,h.bottom-=p-m,h.left-=u-v,h.right-=u-v,h.marginTop=m,h.marginLeft=v}return(n&&!r?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(h=w(h,e)),h}function H(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=L(t,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:g(r),a=e?0:g(r,"left"),l={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:i};return E(l)}function O(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var r=l(t);return!!r&&O(r)}function $(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function V(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?$(t):v(t,f(e));if("viewport"===n)i=H(s,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=c(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var p=L(a,s,o);if("HTML"!==a.nodeName||O(s))i=p;else{var u=_(t.ownerDocument),d=u.height,h=u.width;i.top+=p.top-p.marginTop,i.bottom=d+p.top,i.left+=p.left-p.marginLeft,i.right=h+p.left}}var m="number"==typeof(r=r||0);return i.left+=m?r:r.left||0,i.top+=m?r:r.top||0,i.right-=m?r:r.right||0,i.bottom-=m?r:r.bottom||0,i}function S(t){return t.width*t.height}function T(t,e,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=V(r,n,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return k({key:t},a[t],{area:S(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),f=c.length>0?c[0].key:l[0].key,p=t.split("-")[1];return f+(p?"-"+p:"")}function B(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?$(e):v(e,f(r));return L(r,o,n)}function D(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function N(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function A(t,e,r){r=r.split("-")[0];var n=D(t),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=r===a?e[a]-n[c]:e[N(a)],o}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function P(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=F(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&s(r)&&(e.offsets.popper=E(e.offsets.popper),e.offsets.reference=E(e.offsets.reference),e=r(e,t))})),e}function Z(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=B(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=T(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=A(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=P(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function U(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function j(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],i=o?""+o+r:t;if(void 0!==document.body.style[i])return i}return null}function W(){return this.state.isDestroyed=!0,U(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[j("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(t){var e=t.ownerDocument;return e?e.defaultView:window}function I(t,e,r,n){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,r,{passive:!0}),o||I(c(i.parentNode),e,r,n),n.push(i)}function Y(t,e,r,n){r.updateBound=n,R(t).addEventListener("resize",r.updateBound,{passive:!0});var o=c(t);return I(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,R(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(t,e,r){var n=F(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!o){var i="`"+e+"`",s="`"+r+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=et.indexOf(t),n=et.slice(r+1).concat(et.slice(0,r));return e?n.reverse():n}var nt="flip",ot="clockwise",it="counterclockwise";function st(t,e,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(F(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,n){var o=(1===n?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=r;break;case"%":case"%r":default:a=n}return E(a)[e]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,o,e,r)}))}))).forEach((function(t,e){t.forEach((function(r,n){X(r)&&(o[e]+=r*("-"===t[n-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(r),l=a?"left":"top",c=a?"width":"height",f={start:z({},l,i[l]),end:z({},l,i[l]+i[c]-s[c])};t.offsets.popper=k({},s,f[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=X(+r)?[+r,0]:st(r,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||h(t.instance.popper);t.instance.reference===r&&(r=h(r));var n=j("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=V(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);o.top=i,o.left=s,o[n]=a,e.boundaries=l;var c=e.priority,f=t.offsets.popper,p={primary:function(t){var r=f[t];return f[t]<l[t]&&!e.escapeWithReference&&(r=Math.max(f[t],l[t])),z({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=f[r];return f[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(f[r],l[t]-("right"===t?f.width:f.height))),z({},r,n)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=k({},f,p[e](t))})),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return r[a]<i(n[l])&&(t.offsets.popper[l]=i(n[l])-r[c]),r[l]>i(n[a])&&(t.offsets.popper[l]=i(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),f=c?"height":"width",p=c?"Top":"Left",u=p.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",m=D(n)[f];l[h]-m<s[u]&&(t.offsets.popper[u]-=s[u]-(l[h]-m)),l[u]+m>s[h]&&(t.offsets.popper[u]+=l[u]+m-s[h]),t.offsets.popper=E(t.offsets.popper);var v=l[u]+l[f]/2-m/2,g=a(t.instance.popper),w=parseFloat(g["margin"+p]),b=parseFloat(g["border"+p+"Width"]),x=v-t.offsets.popper[u]-w-b;return x=Math.max(Math.min(s[f]-m,x),0),t.arrowElement=n,t.offsets.arrow=(z(r={},u,Math.round(x)),z(r,d,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(U(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=V(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=N(n),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case nt:s=[n,o];break;case ot:s=rt(n);break;case it:s=rt(n,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=N(n);var c=t.offsets.popper,f=t.offsets.reference,p=Math.floor,u="left"===n&&p(c.right)>p(f.left)||"right"===n&&p(c.left)<p(f.right)||"top"===n&&p(c.bottom)>p(f.top)||"bottom"===n&&p(c.top)<p(f.bottom),d=p(c.left)<p(r.left),h=p(c.right)>p(r.right),m=p(c.top)<p(r.top),v=p(c.bottom)>p(r.bottom),g="left"===n&&d||"right"===n&&h||"top"===n&&m||"bottom"===n&&v,w=-1!==["top","bottom"].indexOf(n),b=!!e.flipVariations&&(w&&"start"===i&&d||w&&"end"===i&&h||!w&&"start"===i&&m||!w&&"end"===i&&v),x=!!e.flipVariationsByContent&&(w&&"start"===i&&h||w&&"end"===i&&d||!w&&"start"===i&&v||!w&&"end"===i&&m),_=b||x;(u||g||_)&&(t.flipped=!0,(u||g)&&(n=s[l+1]),_&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=n+(i?"-"+i:""),t.offsets.popper=k({},t.offsets.popper,A(t.instance.popper,t.offsets.reference,t.placement)),t=P(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,o=n.popper,i=n.reference,s=-1!==["left","right"].indexOf(r),a=-1===["top","left"].indexOf(r);return o[s?"left":"top"]=i[r]-(a?o[s?"width":"height"]:0),t.placement=N(e),t.offsets.popper=E(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=F(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,o=t.offsets.popper,i=F(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=h(t.instance.popper),l=M(a),c={position:o.position},f=function(t,e){var r=t.offsets,n=r.popper,o=r.reference,i=Math.round,s=Math.floor,a=function(t){return t},l=i(o.width),c=i(n.width),f=-1!==["left","right"].indexOf(t.placement),p=-1!==t.placement.indexOf("-"),u=e?f||p||l%2==c%2?i:s:a,d=e?i:a;return{left:u(l%2==1&&c%2==1&&!p&&e?n.left-1:n.left),top:d(n.top),bottom:d(n.bottom),right:u(n.right)}}(t,window.devicePixelRatio<2||!K),p="bottom"===r?"top":"bottom",u="right"===n?"left":"right",d=j("transform"),m=void 0,v=void 0;if(v="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+f.bottom:-l.height+f.bottom:f.top,m="right"===u?"HTML"===a.nodeName?-a.clientWidth+f.right:-l.width+f.right:f.left,s&&d)c[d]="translate3d("+m+"px, "+v+"px, 0)",c[p]=0,c[u]=0,c.willChange="transform";else{var g="bottom"===p?-1:1,w="right"===u?-1:1;c[p]=v*g,c[u]=m*w,c.willChange=p+", "+u}var b={"x-placement":t.placement};return t.attributes=k({},b,t.attributes),t.styles=k({},c,t.styles),t.arrowStyles=k({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return J(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,o){var i=B(o,e,t,r.positionFixed),s=T(r.placement,i,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},lt=function(){function t(e,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=k({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(k({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){n.options.modifiers[e]=k({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return k({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return Z.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const ct=lt,ft={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ct(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const pt=(0,r(1900).Z)(ft,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?r("portal",{attrs:{to:"dropdown"}},[r("div",[r("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),r("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5007:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{name:String}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return"apple"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("g",{attrs:{"fill-rule":"nonzero"}},[r("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),r("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,r)=>{"use strict";r.d(e,{Z:()=>u});var n=r(5007),o=r(3354),i=r(381);const s={components:{Icon:n.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return""===r[0]?""===t:r.filter((function(e){return t.startsWith(e)})).length}}};var a=r(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),r("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),r("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),r("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const c={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const f=(0,a.Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.$page.props.flash.success&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):r("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?r("span",[t._v("There is one form error.")]):r("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,p={components:{Dropdown:i.Z,FlashMessages:f,Icon:n.Z,Logo:o.Z,MainMenu:l}};const u=(0,a.Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),r("div",{staticClass:"md:flex md:flex-col"},[r("div",{staticClass:"md:h-screen md:flex md:flex-col"},[r("div",{staticClass:"md:flex md:flex-shrink-0"},[r("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[r("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[r("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),r("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[r("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),r("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[r("main-menu")],1)])],1),t._v(" "),r("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[r("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),r("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[r("div",{staticClass:"flex items-center cursor-pointer select-none group"},[r("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[r("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),r("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),r("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),r("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[r("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),r("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[r("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},1100:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{loading:Boolean}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{staticClass:"flex items-center",attrs:{disabled:t.loading}},[t.loading?r("div",{staticClass:"btn-spinner mr-2"}):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},3354:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const n=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),r("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},3669:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"select-input-".concat(this._uid)}},value:[String,Number,Boolean],label:String,error:String},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("input",t)}},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"input",staticClass:"form-select",class:{error:t.error},attrs:{id:t.id},on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?r:r[0]}}},"select",t.$attrs,!1),[t._t("default")],2),t._v(" "),t.error?r("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},6119:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"text-input-".concat(this._uid)}},type:{type:String,default:"text"},value:String,label:String,error:String,readonly:Boolean},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},setSelectionRange:function(t,e){this.$refs.input.setSelectionRange(t,e)}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("input",t._b({ref:"input",staticClass:"form-input",class:{error:t.error},attrs:{id:t.id,readonly:t.readonly,type:t.type},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},"input",t.$attrs,!1)),t._v(" "),t.error?r("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},284:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={components:{Icon:r(5007).Z}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"p-4 bg-yellow-300 rounded flex items-center justify-between max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("icon",{staticClass:"flex-shrink-0 w-4 h-4 fill-yellow-800 mr-2",attrs:{name:"trash"}}),t._v(" "),r("div",{staticClass:"text-sm font-medium text-yellow-800"},[t._t("default")],2)],1),t._v(" "),r("button",{staticClass:"text-sm text-yellow-800 hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:function(e){return t.$emit("restore")}}},[t._v("Restore")])])}),[],!1,null,null,null).exports},1900:(t,e,r)=>{"use strict";function n(t,e,r,n,o,i,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var f=c.render;c.render=function(t,e){return l.call(e),f(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}r.d(e,{Z:()=>n})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[126],{8552:(t,e,r)=>{var n=r(852)(r(5639),"DataView");t.exports=n},1989:(t,e,r)=>{var n=r(1789),o=r(401),i=r(7667),s=r(1327),a=r(1866);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l},8407:(t,e,r)=>{var n=r(7040),o=r(4125),i=r(2117),s=r(7518),a=r(4705);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l},7071:(t,e,r)=>{var n=r(852)(r(5639),"Map");t.exports=n},3369:(t,e,r)=>{var n=r(4785),o=r(1285),i=r(6e3),s=r(9916),a=r(5265);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l},3818:(t,e,r)=>{var n=r(852)(r(5639),"Promise");t.exports=n},8525:(t,e,r)=>{var n=r(852)(r(5639),"Set");t.exports=n},8668:(t,e,r)=>{var n=r(3369),o=r(619),i=r(2385);function s(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}s.prototype.add=s.prototype.push=o,s.prototype.has=i,t.exports=s},6384:(t,e,r)=>{var n=r(8407),o=r(7465),i=r(3779),s=r(7599),a=r(4758),l=r(4309);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=s,c.prototype.has=a,c.prototype.set=l,t.exports=c},2705:(t,e,r)=>{var n=r(5639).Symbol;t.exports=n},1149:(t,e,r)=>{var n=r(5639).Uint8Array;t.exports=n},577:(t,e,r)=>{var n=r(852)(r(5639),"WeakMap");t.exports=n},4963:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var s=t[r];e(s,r,t)&&(i[o++]=s)}return i}},4636:(t,e,r)=>{var n=r(2545),o=r(5694),i=r(1469),s=r(4144),a=r(5776),l=r(6719),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),u=!r&&o(t),p=!r&&!u&&s(t),f=!r&&!u&&!p&&l(t),h=r||u||p||f,d=h?n(t.length,String):[],v=d.length;for(var m in t)!e&&!c.call(t,m)||h&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,v))||d.push(m);return d}},9932:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},2488:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},2908:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},708:(t,e,r)=>{var n=r(9465),o=r(7813),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var s=t[e];i.call(t,e)&&o(s,r)&&(void 0!==r||e in t)||n(t,e,r)}},8470:(t,e,r)=>{var n=r(7813);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},9465:(t,e,r)=>{var n=r(8777);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},8483:(t,e,r)=>{var n=r(5063)();t.exports=n},7816:(t,e,r)=>{var n=r(8483),o=r(3674);t.exports=function(t,e){return t&&n(t,e,o)}},7786:(t,e,r)=>{var n=r(1811),o=r(327);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},8866:(t,e,r)=>{var n=r(2488),o=r(1469);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},4239:(t,e,r)=>{var n=r(2705),o=r(9607),i=r(2333),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?o(t):i(t)}},13:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},9454:(t,e,r)=>{var n=r(4239),o=r(7005);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},939:(t,e,r)=>{var n=r(2492),o=r(7005);t.exports=function t(e,r,i,s,a){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,s,t,a))}},2492:(t,e,r)=>{var n=r(6384),o=r(7114),i=r(8351),s=r(6096),a=r(4160),l=r(1469),c=r(4144),u=r(6719),p="[object Arguments]",f="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,v,m,g){var w=l(t),x=l(e),b=w?f:a(t),y=x?f:a(e),_=(b=b==p?h:b)==h,C=(y=y==p?h:y)==h,O=b==y;if(O&&c(t)){if(!c(e))return!1;w=!0,_=!1}if(O&&!_)return g||(g=new n),w||u(t)?o(t,e,r,v,m,g):i(t,e,b,r,v,m,g);if(!(1&r)){var j=_&&d.call(t,"__wrapped__"),z=C&&d.call(e,"__wrapped__");if(j||z){var E=j?t.value():t,k=z?e.value():e;return g||(g=new n),m(E,k,r,v,g)}}return!!O&&(g||(g=new n),s(t,e,r,v,m,g))}},2958:(t,e,r)=>{var n=r(6384),o=r(939);t.exports=function(t,e,r,i){var s=r.length,a=s,l=!i;if(null==t)return!a;for(t=Object(t);s--;){var c=r[s];if(l&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++s<a;){var u=(c=r[s])[0],p=t[u],f=c[1];if(l&&c[2]){if(void 0===p&&!(u in t))return!1}else{var h=new n;if(i)var d=i(p,f,u,t,e,h);if(!(void 0===d?o(f,p,3,i,h):d))return!1}}return!0}},8458:(t,e,r)=>{var n=r(3560),o=r(5346),i=r(3218),s=r(346),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,f=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?f:a).test(s(t))}},8749:(t,e,r)=>{var n=r(4239),o=r(1780),i=r(7005),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!s[n(t)]}},7206:(t,e,r)=>{var n=r(1573),o=r(6432),i=r(6557),s=r(1469),a=r(9601);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?s(t)?o(t[0],t[1]):n(t):a(t)}},280:(t,e,r)=>{var n=r(5726),o=r(6916),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},313:(t,e,r)=>{var n=r(3218),o=r(5726),i=r(3498),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=o(t),r=[];for(var a in t)("constructor"!=a||!e&&s.call(t,a))&&r.push(a);return r}},1573:(t,e,r)=>{var n=r(2958),o=r(1499),i=r(2634);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},6432:(t,e,r)=>{var n=r(939),o=r(7361),i=r(9095),s=r(5403),a=r(9162),l=r(2634),c=r(327);t.exports=function(t,e){return s(t)&&a(e)?l(c(t),e):function(r){var s=o(r,t);return void 0===s&&s===e?i(r,t):n(e,s,3)}}},3012:(t,e,r)=>{var n=r(7786),o=r(611),i=r(1811);t.exports=function(t,e,r){for(var s=-1,a=e.length,l={};++s<a;){var c=e[s],u=n(t,c);r(u,c)&&o(l,i(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 n=r(7786);t.exports=function(t){return function(e){return n(e,t)}}},611:(t,e,r)=>{var n=r(708),o=r(1811),i=r(5776),s=r(3218),a=r(327);t.exports=function(t,e,r,l){if(!s(t))return t;for(var c=-1,u=(e=o(e,t)).length,p=u-1,f=t;null!=f&&++c<u;){var h=a(e[c]),d=r;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(c!=p){var v=f[h];void 0===(d=l?l(v,h,f):void 0)&&(d=s(v)?v:i(e[c+1])?[]:{})}n(f,h,d),f=f[h]}return t}},2545:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},531:(t,e,r)=>{var n=r(2705),o=r(9932),i=r(1469),s=r(3448),a=n?n.prototype:void 0,l=a?a.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(s(e))return l?l.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r}},7561:(t,e,r)=>{var n=r(7990),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},1717:t=>{t.exports=function(t){return function(e){return t(e)}}},4757:t=>{t.exports=function(t,e){return t.has(e)}},1811:(t,e,r)=>{var n=r(1469),o=r(5403),i=r(5514),s=r(9833);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(s(t))}},4429:(t,e,r)=>{var n=r(5639)["__core-js_shared__"];t.exports=n},5063:t=>{t.exports=function(t){return function(e,r,n){for(var o=-1,i=Object(e),s=n(e),a=s.length;a--;){var l=s[t?a:++o];if(!1===r(i[l],l,i))break}return e}}},8777:(t,e,r)=>{var n=r(852),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},7114:(t,e,r)=>{var n=r(8668),o=r(2908),i=r(4757);t.exports=function(t,e,r,s,a,l){var c=1&r,u=t.length,p=e.length;if(u!=p&&!(c&&p>u))return!1;var f=l.get(t),h=l.get(e);if(f&&h)return f==e&&h==t;var d=-1,v=!0,m=2&r?new n:void 0;for(l.set(t,e),l.set(e,t);++d<u;){var g=t[d],w=e[d];if(s)var x=c?s(w,g,d,e,t,l):s(g,w,d,t,e,l);if(void 0!==x){if(x)continue;v=!1;break}if(m){if(!o(e,(function(t,e){if(!i(m,e)&&(g===t||a(g,t,r,s,l)))return m.push(e)}))){v=!1;break}}else if(g!==w&&!a(g,w,r,s,l)){v=!1;break}}return l.delete(t),l.delete(e),v}},8351:(t,e,r)=>{var n=r(2705),o=r(1149),i=r(7813),s=r(7114),a=r(8776),l=r(1814),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,r,n,c,p,f){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 o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+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 h=a;case"[object Set]":var d=1&n;if(h||(h=l),t.size!=e.size&&!d)return!1;var v=f.get(t);if(v)return v==e;n|=2,f.set(t,e);var m=s(h(t),h(e),n,c,p,f);return f.delete(t),m;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},6096:(t,e,r)=>{var n=r(8234),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,s,a){var l=1&r,c=n(t),u=c.length;if(u!=n(e).length&&!l)return!1;for(var p=u;p--;){var f=c[p];if(!(l?f in e:o.call(e,f)))return!1}var h=a.get(t),d=a.get(e);if(h&&d)return h==e&&d==t;var v=!0;a.set(t,e),a.set(e,t);for(var m=l;++p<u;){var g=t[f=c[p]],w=e[f];if(i)var x=l?i(w,g,f,e,t,a):i(g,w,f,t,e,a);if(!(void 0===x?g===w||s(g,w,r,i,a):x)){v=!1;break}m||(m="constructor"==f)}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 a.delete(t),a.delete(e),v}},1957:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},8234:(t,e,r)=>{var n=r(8866),o=r(9551),i=r(3674);t.exports=function(t){return n(t,i,o)}},6904:(t,e,r)=>{var n=r(8866),o=r(1442),i=r(1704);t.exports=function(t){return n(t,i,o)}},5050:(t,e,r)=>{var n=r(7019);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},1499:(t,e,r)=>{var n=r(9162),o=r(3674);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var i=e[r],s=t[i];e[r]=[i,s,n(s)]}return e}},852:(t,e,r)=>{var n=r(8458),o=r(7801);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},5924:(t,e,r)=>{var n=r(5569)(Object.getPrototypeOf,Object);t.exports=n},9607:(t,e,r)=>{var n=r(2705),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[a]=r:delete t[a]),o}},9551:(t,e,r)=>{var n=r(4963),o=r(479),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),n(s(t),(function(e){return i.call(t,e)})))}:o;t.exports=a},1442:(t,e,r)=>{var n=r(2488),o=r(5924),i=r(9551),s=r(479),a=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,i(t)),t=o(t);return e}:s;t.exports=a},4160:(t,e,r)=>{var n=r(8552),o=r(7071),i=r(3818),s=r(8525),a=r(577),l=r(4239),c=r(346),u="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",v=c(n),m=c(o),g=c(i),w=c(s),x=c(a),b=l;(n&&b(new n(new ArrayBuffer(1)))!=d||o&&b(new o)!=u||i&&b(i.resolve())!=p||s&&b(new s)!=f||a&&b(new a)!=h)&&(b=function(t){var e=l(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case v:return d;case m:return u;case g:return p;case w:return f;case x:return h}return e}),t.exports=b},7801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},222:(t,e,r)=>{var n=r(1811),o=r(5694),i=r(1469),s=r(5776),a=r(1780),l=r(327);t.exports=function(t,e,r){for(var c=-1,u=(e=n(e,t)).length,p=!1;++c<u;){var f=l(e[c]);if(!(p=null!=t&&r(t,f)))break;t=t[f]}return p||++c!=u?p:!!(u=null==t?0:t.length)&&a(u)&&s(f,u)&&(i(t)||o(t))}},1789:(t,e,r)=>{var n=r(4536);t.exports=function(){this.__data__=n?n(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 n=r(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},1327:(t,e,r)=>{var n=r(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1866:(t,e,r)=>{var n=r(4536);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},5776:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},5403:(t,e,r)=>{var n=r(1469),o=r(3448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(s.test(t)||!i.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 n,o=r(4429),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},5726:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},9162:(t,e,r)=>{var n=r(3218);t.exports=function(t){return t==t&&!n(t)}},7040:t=>{t.exports=function(){this.__data__=[],this.size=0}},4125:(t,e,r)=>{var n=r(8470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},2117:(t,e,r)=>{var n=r(8470);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},7518:(t,e,r)=>{var n=r(8470);t.exports=function(t){return n(this.__data__,t)>-1}},4705:(t,e,r)=>{var n=r(8470);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},4785:(t,e,r)=>{var n=r(1989),o=r(8407),i=r(7071);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},1285:(t,e,r)=>{var n=r(5050);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6e3:(t,e,r)=>{var n=r(5050);t.exports=function(t){return n(this,t).get(t)}},9916:(t,e,r)=>{var n=r(5050);t.exports=function(t){return n(this,t).has(t)}},5265:(t,e,r)=>{var n=r(5050);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},8776:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,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 n=r(8306);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},4536:(t,e,r)=>{var n=r(852)(Object,"create");t.exports=n},6916:(t,e,r)=>{var n=r(5569)(Object.keys,Object);t.exports=n},3498:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},1167:(t,e,r)=>{t=r.nmd(t);var n=r(1957),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,s=i&&i.exports===o&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a},2333:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},5639:(t,e,r)=>{var n=r(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},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 n=r(8407);t.exports=function(){this.__data__=new n,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 n=r(8407),o=r(7071),i=r(3369);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(s)}return r.set(t,e),this.size=r.size,this}},5514:(t,e,r)=>{var n=r(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)})),e}));t.exports=s},327:(t,e,r)=>{var n=r(3448);t.exports=function(t){if("string"==typeof t||n(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 n=r(3218),o=r(7771),i=r(4841),s=Math.max,a=Math.min;t.exports=function(t,e,r){var l,c,u,p,f,h,d=0,v=!1,m=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function w(e){var r=l,n=c;return l=c=void 0,d=e,p=t.apply(n,r)}function x(t){return d=t,f=setTimeout(y,e),v?w(t):p}function b(t){var r=t-h;return void 0===h||r>=e||r<0||m&&t-d>=u}function y(){var t=o();if(b(t))return _(t);f=setTimeout(y,function(t){var r=e-(t-h);return m?a(r,u-(t-d)):r}(t))}function _(t){return f=void 0,g&&l?w(t):(l=c=void 0,p)}function C(){var t=o(),r=b(t);if(l=arguments,c=this,h=t,r){if(void 0===f)return x(h);if(m)return clearTimeout(f),f=setTimeout(y,e),w(h)}return void 0===f&&(f=setTimeout(y,e)),p}return e=i(e)||0,n(r)&&(v=!!r.leading,u=(m="maxWait"in r)?s(i(r.maxWait)||0,e):u,g="trailing"in r?!!r.trailing:g),C.cancel=function(){void 0!==f&&clearTimeout(f),d=0,l=h=c=f=void 0},C.flush=function(){return void 0===f?p:_(o())},C}},7813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},7361:(t,e,r)=>{var n=r(7786);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},9095:(t,e,r)=>{var n=r(13),o=r(222);t.exports=function(t,e){return null!=t&&o(t,e,n)}},6557:t=>{t.exports=function(t){return t}},5694:(t,e,r)=>{var n=r(9454),o=r(7005),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(t){return o(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=l},1469:t=>{var e=Array.isArray;t.exports=e},8612:(t,e,r)=>{var n=r(3560),o=r(1780);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},4144:(t,e,r)=>{t=r.nmd(t);var n=r(5639),o=r(5062),i=e&&!e.nodeType&&e,s=i&&t&&!t.nodeType&&t,a=s&&s.exports===i?n.Buffer:void 0,l=(a?a.isBuffer:void 0)||o;t.exports=l},3560:(t,e,r)=>{var n=r(4239),o=r(3218);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3218:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},3448:(t,e,r)=>{var n=r(4239),o=r(7005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},6719:(t,e,r)=>{var n=r(8749),o=r(1717),i=r(1167),s=i&&i.isTypedArray,a=s?o(s):n;t.exports=a},3674:(t,e,r)=>{var n=r(4636),o=r(280),i=r(8612);t.exports=function(t){return i(t)?n(t):o(t)}},1704:(t,e,r)=>{var n=r(4636),o=r(313),i=r(8612);t.exports=function(t){return i(t)?n(t,!0):o(t)}},6604:(t,e,r)=>{var n=r(9465),o=r(7816),i=r(7206);t.exports=function(t,e){var r={};return e=i(e,3),o(t,(function(t,o,i){n(r,o,e(t,o,i))})),r}},8306:(t,e,r)=>{var n=r(3369);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=t.apply(this,n);return r.cache=i.set(o,s)||i,s};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},7771:(t,e,r)=>{var n=r(5639);t.exports=function(){return n.Date.now()}},5937:(t,e,r)=>{var n=r(9932),o=r(7206),i=r(3012),s=r(6904);t.exports=function(t,e){if(null==t)return{};var r=n(s(t),(function(t){return[t]}));return e=o(e),i(t,r,(function(t,r){return e(t,r[0])}))}},9601:(t,e,r)=>{var n=r(371),o=r(9152),i=r(5403),s=r(327);t.exports=function(t){return i(t)?n(s(t)):o(t)}},479:t=>{t.exports=function(){return[]}},5062:t=>{t.exports=function(){return!1}},3493:(t,e,r)=>{var n=r(3279),o=r(3218);t.exports=function(t,e,r){var i=!0,s=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),n(t,e,{leading:i,maxWait:e,trailing:s})}},4841:(t,e,r)=>{var n=r(7561),o=r(3218),i=r(3448),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=a.test(t);return r||l.test(t)?c(t.slice(2),r?2:8):s.test(t)?NaN:+t}},9833:(t,e,r)=>{var n=r(531);t.exports=function(t){return null==t?"":n(t)}},126:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>h});var n=r(5007),o=r(5937),i=r.n(o),s=r(9714),a=r(3493),l=r.n(a),c=r(6604),u=r.n(c),p=r(8014);const f={metaInfo:{title:"Users"},components:{Icon:n.Z,SearchFilter:p.Z},layout:s.Z,props:{users:Array,filters:Object},data:function(){return{form:{search:this.filters.search,role:this.filters.role,trashed:this.filters.trashed}}},watch:{form:{handler:l()((function(){var t=i()(this.form);this.$inertia.replace(this.route("users",Object.keys(t).length?t:{remember:"forget"}))}),150),deep:!0}},methods:{reset:function(){this.form=u()(this.form,(function(){return null}))}}};const h=(0,r(1900).Z)(f,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("h1",{staticClass:"mb-8 font-bold text-3xl"},[t._v("Users")]),t._v(" "),r("div",{staticClass:"mb-6 flex justify-between items-center"},[r("search-filter",{staticClass:"w-full max-w-md mr-4",on:{reset:t.reset},model:{value:t.form.search,callback:function(e){t.$set(t.form,"search",e)},expression:"form.search"}},[r("label",{staticClass:"block text-gray-700"},[t._v("Role:")]),t._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:t.form.role,expression:"form.role"}],staticClass:"mt-1 w-full form-select",on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.form,"role",e.target.multiple?r:r[0])}}},[r("option",{domProps:{value:null}}),t._v(" "),r("option",{attrs:{value:"user"}},[t._v("User")]),t._v(" "),r("option",{attrs:{value:"owner"}},[t._v("Owner")])]),t._v(" "),r("label",{staticClass:"mt-4 block text-gray-700"},[t._v("Trashed:")]),t._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:t.form.trashed,expression:"form.trashed"}],staticClass:"mt-1 w-full form-select",on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.form,"trashed",e.target.multiple?r:r[0])}}},[r("option",{domProps:{value:null}}),t._v(" "),r("option",{attrs:{value:"with"}},[t._v("With Trashed")]),t._v(" "),r("option",{attrs:{value:"only"}},[t._v("Only Trashed")])])]),t._v(" "),r("inertia-link",{staticClass:"btn-indigo",attrs:{href:t.route("users.create")}},[r("span",[t._v("Create")]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v("User")])])],1),t._v(" "),r("div",{staticClass:"bg-white rounded-md shadow overflow-x-auto"},[r("table",{staticClass:"w-full whitespace-nowrap"},[t._m(0),t._v(" "),t._l(t.users,(function(e){return r("tr",{key:e.id,staticClass:"hover:bg-gray-100 focus-within:bg-gray-100"},[r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center focus:text-indigo-500",attrs:{href:t.route("users.edit",e.id)}},[e.photo?r("img",{staticClass:"block w-5 h-5 rounded-full mr-2 -my-2",attrs:{src:e.photo}}):t._e(),t._v("\n "+t._s(e.name)+"\n "),e.deleted_at?r("icon",{staticClass:"flex-shrink-0 w-3 h-3 fill-gray-400 ml-2",attrs:{name:"trash"}}):t._e()],1)],1),t._v(" "),r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center",attrs:{href:t.route("users.edit",e.id),tabindex:"-1"}},[t._v("\n "+t._s(e.email)+"\n ")])],1),t._v(" "),r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center",attrs:{href:t.route("users.edit",e.id),tabindex:"-1"}},[t._v("\n "+t._s(e.owner?"Owner":"User")+"\n ")])],1),t._v(" "),r("td",{staticClass:"border-t w-px"},[r("inertia-link",{staticClass:"px-4 flex items-center",attrs:{href:t.route("users.edit",e.id),tabindex:"-1"}},[r("icon",{staticClass:"block w-6 h-6 fill-gray-400",attrs:{name:"cheveron-right"}})],1)],1)])})),t._v(" "),0===t.users.length?r("tr",[r("td",{staticClass:"border-t px-6 py-4",attrs:{colspan:"4"}},[t._v("No users found.")])]):t._e()],2)])])}),[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",{staticClass:"text-left font-bold"},[r("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Name")]),t._v(" "),r("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Email")]),t._v(" "),r("th",{staticClass:"px-6 pt-6 pb-4",attrs:{colspan:"2"}},[t._v("Role")])])}],!1,null,null,null).exports},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>pt});var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),r=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?t:c(l(t))}function u(t){return t&&t.referenceNode?t.referenceNode:t}var p=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?p:10===t?f:p||f}function d(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===a(r,"position")?d(r):r:t?t.ownerDocument.documentElement:document.documentElement}function v(t){return null!==t.parentNode?v(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,o=r?e:t,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&d(s.firstElementChild)!==s?d(l):l;var c=v(t);return c.host?m(c.host,e):m(t,v(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[r]}return t[r]}function w(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g(e,"top"),o=g(e,"left"),i=r?-1:1;return t.top+=n*i,t.bottom+=n*i,t.left+=o*i,t.right+=o*i,t}function x(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function b(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],h(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,r=t.documentElement,n=h(10)&&getComputedStyle(r);return{height:b("Height",e,r,n),width:b("Width",e,r,n)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),O=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},j=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function z(t){return j({},t,{right:t.left+t.width,bottom:t.top+t.height})}function E(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var r=g(t,"top"),n=g(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,c=t.offsetWidth-s,u=t.offsetHeight-l;if(c||u){var p=a(t);c-=x(p,"x"),u-=x(p,"y"),o.width-=c,o.height-=u}return z(o)}function k(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=h(10),o="HTML"===e.nodeName,i=E(t),s=E(e),l=c(t),u=a(e),p=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);r&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var d=z({top:i.top-s.top-p,left:i.left-s.left-f,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!n&&o){var v=parseFloat(u.marginTop),m=parseFloat(u.marginLeft);d.top-=p-v,d.bottom-=p-v,d.left-=f-m,d.right-=f-m,d.marginTop=v,d.marginLeft=m}return(n&&!r?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(d=w(d,e)),d}function M(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=k(t,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:g(r),a=e?0:g(r,"left"),l={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:i};return z(l)}function L(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var r=l(t);return!!r&&L(r)}function T(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function H(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?T(t):m(t,u(e));if("viewport"===n)i=M(s,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=c(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var p=k(a,s,o);if("HTML"!==a.nodeName||L(s))i=p;else{var f=y(t.ownerDocument),h=f.height,d=f.width;i.top+=p.top-p.marginTop,i.bottom=h+p.top,i.left+=p.left-p.marginLeft,i.right=d+p.left}}var v="number"==typeof(r=r||0);return i.left+=v?r:r.left||0,i.top+=v?r:r.top||0,i.right-=v?r:r.right||0,i.bottom-=v?r:r.bottom||0,i}function A(t){return t.width*t.height}function S(t,e,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=H(r,n,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return j({key:t},a[t],{area:A(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=t.split("-")[1];return u+(p?"-"+p:"")}function V(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?T(e):m(e,u(r));return k(r,o,n)}function $(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function B(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function N(t,e,r){r=r.split("-")[0];var n=$(t),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=r===a?e[a]-n[c]:e[B(a)],o}function P(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function D(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=P(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&s(r)&&(e.offsets.popper=z(e.offsets.popper),e.offsets.reference=z(e.offsets.reference),e=r(e,t))})),e}function F(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=V(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=S(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=N(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=D(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function U(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function W(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],i=o?""+o+r:t;if(void 0!==document.body.style[i])return i}return null}function I(){return this.state.isDestroyed=!0,U(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[W("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(t){var e=t.ownerDocument;return e?e.defaultView:window}function Z(t,e,r,n){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,r,{passive:!0}),o||Z(c(i.parentNode),e,r,n),n.push(i)}function Y(t,e,r,n){r.updateBound=n,R(t).addEventListener("resize",r.updateBound,{passive:!0});var o=c(t);return Z(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,R(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(t,e,r){var n=P(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!o){var i="`"+e+"`",s="`"+r+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=et.indexOf(t),n=et.slice(r+1).concat(et.slice(0,r));return e?n.reverse():n}var nt="flip",ot="clockwise",it="counterclockwise";function st(t,e,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(P(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,n){var o=(1===n?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=r;break;case"%":case"%r":default:a=n}return z(a)[e]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,o,e,r)}))}))).forEach((function(t,e){t.forEach((function(r,n){X(r)&&(o[e]+=r*("-"===t[n-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(r),l=a?"left":"top",c=a?"width":"height",u={start:O({},l,i[l]),end:O({},l,i[l]+i[c]-s[c])};t.offsets.popper=j({},s,u[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=X(+r)?[+r,0]:st(r,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||d(t.instance.popper);t.instance.reference===r&&(r=d(r));var n=W("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=H(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);o.top=i,o.left=s,o[n]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,p={primary:function(t){var r=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(r=Math.max(u[t],l[t])),O({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=u[r];return u[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(u[r],l[t]-("right"===t?u.width:u.height))),O({},r,n)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=j({},u,p[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return r[a]<i(n[l])&&(t.offsets.popper[l]=i(n[l])-r[c]),r[l]>i(n[a])&&(t.offsets.popper[l]=i(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",p=c?"Top":"Left",f=p.toLowerCase(),h=c?"left":"top",d=c?"bottom":"right",v=$(n)[u];l[d]-v<s[f]&&(t.offsets.popper[f]-=s[f]-(l[d]-v)),l[f]+v>s[d]&&(t.offsets.popper[f]+=l[f]+v-s[d]),t.offsets.popper=z(t.offsets.popper);var m=l[f]+l[u]/2-v/2,g=a(t.instance.popper),w=parseFloat(g["margin"+p]),x=parseFloat(g["border"+p+"Width"]),b=m-t.offsets.popper[f]-w-x;return b=Math.max(Math.min(s[u]-v,b),0),t.arrowElement=n,t.offsets.arrow=(O(r={},f,Math.round(b)),O(r,h,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(U(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=H(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=B(n),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case nt:s=[n,o];break;case ot:s=rt(n);break;case it:s=rt(n,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=B(n);var c=t.offsets.popper,u=t.offsets.reference,p=Math.floor,f="left"===n&&p(c.right)>p(u.left)||"right"===n&&p(c.left)<p(u.right)||"top"===n&&p(c.bottom)>p(u.top)||"bottom"===n&&p(c.top)<p(u.bottom),h=p(c.left)<p(r.left),d=p(c.right)>p(r.right),v=p(c.top)<p(r.top),m=p(c.bottom)>p(r.bottom),g="left"===n&&h||"right"===n&&d||"top"===n&&v||"bottom"===n&&m,w=-1!==["top","bottom"].indexOf(n),x=!!e.flipVariations&&(w&&"start"===i&&h||w&&"end"===i&&d||!w&&"start"===i&&v||!w&&"end"===i&&m),b=!!e.flipVariationsByContent&&(w&&"start"===i&&d||w&&"end"===i&&h||!w&&"start"===i&&m||!w&&"end"===i&&v),y=x||b;(f||g||y)&&(t.flipped=!0,(f||g)&&(n=s[l+1]),y&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=n+(i?"-"+i:""),t.offsets.popper=j({},t.offsets.popper,N(t.instance.popper,t.offsets.reference,t.placement)),t=D(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,o=n.popper,i=n.reference,s=-1!==["left","right"].indexOf(r),a=-1===["top","left"].indexOf(r);return o[s?"left":"top"]=i[r]-(a?o[s?"width":"height"]:0),t.placement=B(e),t.offsets.popper=z(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=P(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,o=t.offsets.popper,i=P(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=d(t.instance.popper),l=E(a),c={position:o.position},u=function(t,e){var r=t.offsets,n=r.popper,o=r.reference,i=Math.round,s=Math.floor,a=function(t){return t},l=i(o.width),c=i(n.width),u=-1!==["left","right"].indexOf(t.placement),p=-1!==t.placement.indexOf("-"),f=e?u||p||l%2==c%2?i:s:a,h=e?i:a;return{left:f(l%2==1&&c%2==1&&!p&&e?n.left-1:n.left),top:h(n.top),bottom:h(n.bottom),right:f(n.right)}}(t,window.devicePixelRatio<2||!K),p="bottom"===r?"top":"bottom",f="right"===n?"left":"right",h=W("transform"),v=void 0,m=void 0;if(m="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,v="right"===f?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&h)c[h]="translate3d("+v+"px, "+m+"px, 0)",c[p]=0,c[f]=0,c.willChange="transform";else{var g="bottom"===p?-1:1,w="right"===f?-1:1;c[p]=m*g,c[f]=v*w,c.willChange=p+", "+f}var x={"x-placement":t.placement};return t.attributes=j({},x,t.attributes),t.styles=j({},c,t.styles),t.arrowStyles=j({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return J(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,o){var i=V(o,e,t,r.positionFixed),s=S(r.placement,i,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},lt=function(){function t(e,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=j({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(j({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){n.options.modifiers[e]=j({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return j({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return F.call(this)}},{key:"destroy",value:function(){return I.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const ct=lt,ut={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ct(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const pt=(0,r(1900).Z)(ut,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?r("portal",{attrs:{to:"dropdown"}},[r("div",[r("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),r("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5007:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{name:String}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return"apple"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("g",{attrs:{"fill-rule":"nonzero"}},[r("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),r("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,r)=>{"use strict";r.d(e,{Z:()=>f});var n=r(5007),o=r(3354),i=r(381);const s={components:{Icon:n.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return""===r[0]?""===t:r.filter((function(e){return t.startsWith(e)})).length}}};var a=r(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),r("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),r("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),r("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const c={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const u=(0,a.Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.$page.props.flash.success&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):r("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?r("span",[t._v("There is one form error.")]):r("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,p={components:{Dropdown:i.Z,FlashMessages:u,Icon:n.Z,Logo:o.Z,MainMenu:l}};const f=(0,a.Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),r("div",{staticClass:"md:flex md:flex-col"},[r("div",{staticClass:"md:h-screen md:flex md:flex-col"},[r("div",{staticClass:"md:flex md:flex-shrink-0"},[r("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[r("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[r("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),r("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[r("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),r("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[r("main-menu")],1)])],1),t._v(" "),r("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[r("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),r("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[r("div",{staticClass:"flex items-center cursor-pointer select-none group"},[r("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[r("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),r("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),r("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),r("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[r("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),r("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[r("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},3354:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const n=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),r("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},8014:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={components:{Dropdown:r(381).Z},props:{value:String,maxWidth:{type:Number,default:300}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"flex items-center"},[r("div",{staticClass:"flex w-full bg-white shadow rounded"},[r("dropdown",{staticClass:"px-4 md:px-6 rounded-l border-r hover:bg-gray-100 focus:border-white focus:ring focus:z-10",attrs:{"auto-close":!1,placement:"bottom-start"}},[r("div",{staticClass:"flex items-baseline"},[r("span",{staticClass:"text-gray-700 hidden md:inline"},[t._v("Filter")]),t._v(" "),r("svg",{staticClass:"w-2 h-2 fill-gray-700 md:ml-2",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 961.243 599.998"}},[r("path",{attrs:{d:"M239.998 239.999L0 0h961.243L721.246 240c-131.999 132-240.28 240-240.624 239.999-.345-.001-108.625-108.001-240.624-240z"}})])]),t._v(" "),r("div",{staticClass:"mt-2 px-4 py-6 w-screen shadow-xl bg-white rounded",style:{maxWidth:t.maxWidth+"px"},attrs:{slot:"dropdown"},slot:"dropdown"},[t._t("default")],2)]),t._v(" "),r("input",{staticClass:"relative w-full px-6 py-3 rounded-r focus:ring",attrs:{autocomplete:"off",type:"text",name:"search",placeholder:"Search…"},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})],1),t._v(" "),r("button",{staticClass:"ml-3 text-sm text-gray-500 hover:text-gray-700 focus:text-indigo-500",attrs:{type:"button"},on:{click:function(e){return t.$emit("reset")}}},[t._v("Reset")])])}),[],!1,null,null,null).exports},1900:(t,e,r)=>{"use strict";function n(t,e,r,n,o,i,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),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:()=>n})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[137],{7137:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>o});const r={metaInfo:{title:"Dashboard"},layout:n(9714).Z};const o=(0,n(1900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"mb-8 font-bold text-3xl"},[t._v("Dashboard")]),t._v(" "),t._m(0),t._v(" "),n("div",{staticClass:"mb-8 flex"},[n("inertia-link",{staticClass:"btn-indigo",attrs:{href:"/500"}},[t._v("500 error")]),t._v(" "),n("inertia-link",{staticClass:"btn-indigo ml-1",attrs:{href:"/404"}},[t._v("404 error")]),t._v(" "),n("inertia-link",{staticClass:"btn-indigo ml-1",attrs:{href:t.route("token.get",{api:"yd"})}},[t._v("Add yandex token")])],1),t._v(" "),n("p",{staticClass:"leading-normal"},[t._v("👆 These links are intended to be broken to illustrate how error handling works with Inertia.js.")])])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"mb-8 leading-normal"},[t._v("Hey there! Welcome to Ping CRM, a demo app designed to help illustrate how "),n("a",{staticClass:"text-indigo-500 underline hover:text-orange-600",attrs:{href:"https://inertiajs.com"}},[t._v("Inertia.js")]),t._v(" works.")])}],!1,null,null,null).exports},381:(t,e,n)=>{"use strict";n.d(e,{Z:()=>ct});var r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(r&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=r&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function p(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:p(l(t))}function f(t){return t&&t.referenceNode?t.referenceNode:t}var c=r&&!(!window.MSInputMethodContext||!document.documentMode),h=r&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?c:10===t?h:c||h}function u(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?u(n):n:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(t!==l&&e!==l||r.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&u(s.firstElementChild)!==s?u(l):l;var p=m(t);return p.host?v(p.host,e):v(t,m(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[n]}return t[n]}function w(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),o=g(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}function b(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function x(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],d(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,n=t.documentElement,r=d(10)&&getComputedStyle(n);return{height:x("Height",e,n,r),width:x("Width",e,n,r)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),E=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function z(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function M(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var n=g(t,"top"),r=g(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,p=t.offsetWidth-s,f=t.offsetHeight-l;if(p||f){var c=a(t);p-=b(c,"x"),f-=b(c,"y"),o.width-=p,o.height-=f}return z(o)}function L(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(10),o="HTML"===e.nodeName,i=M(t),s=M(e),l=p(t),f=a(e),c=parseFloat(f.borderTopWidth),h=parseFloat(f.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var u=z({top:i.top-s.top-c,left:i.left-s.left-h,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!r&&o){var m=parseFloat(f.marginTop),v=parseFloat(f.marginLeft);u.top-=c-m,u.bottom-=c-m,u.left-=h-v,u.right-=h-v,u.marginTop=m,u.marginLeft=v}return(r&&!n?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(u=w(u,e)),u}function H(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=L(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:g(n),a=e?0:g(n,"left"),l={top:s-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:o,height:i};return z(l)}function O(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=l(t);return!!n&&O(n)}function V(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function T(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?V(t):v(t,f(e));if("viewport"===r)i=H(s,o);else{var a=void 0;"scrollParent"===r?"BODY"===(a=p(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===r?t.ownerDocument.documentElement:r;var c=L(a,s,o);if("HTML"!==a.nodeName||O(s))i=c;else{var h=y(t.ownerDocument),d=h.height,u=h.width;i.top+=c.top-c.marginTop,i.bottom=d+c.top,i.left+=c.left-c.marginLeft,i.right=u+c.left}}var m="number"==typeof(n=n||0);return i.left+=m?n:n.left||0,i.top+=m?n:n.top||0,i.right-=m?n:n.right||0,i.bottom-=m?n:n.bottom||0,i}function B(t){return t.width*t.height}function D(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=T(n,r,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return k({key:t},a[t],{area:B(a[t])})})).sort((function(t,e){return e.area-t.area})),p=l.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),f=p.length>0?p[0].key:l[0].key,c=t.split("-")[1];return f+(c?"-"+c:"")}function N(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?V(e):v(e,f(n));return L(n,o,r)}function S(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function F(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function $(t,e,n){n=n.split("-")[0];var r=S(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",p=i?"width":"height";return o[s]=e[s]+e[l]/2-r[l]/2,o[a]=n===a?e[a]-r[p]:e[F(a)],o}function A(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function j(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=A(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&s(n)&&(e.offsets.popper=z(e.offsets.popper),e.offsets.reference=z(e.offsets.reference),e=n(e,t))})),e}function P(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=D(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=$(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=j(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function U(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function W(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var o=e[r],i=o?""+o+n:t;if(void 0!==document.body.style[i])return i}return null}function I(){return this.state.isDestroyed=!0,U(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[W("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(t){var e=t.ownerDocument;return e?e.defaultView:window}function Z(t,e,n,r){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,n,{passive:!0}),o||Z(p(i.parentNode),e,n,r),r.push(i)}function Y(t,e,n,r){n.updateBound=r,R(t).addEventListener("resize",n.updateBound,{passive:!0});var o=p(t);return Z(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,R(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&X(e[n])&&(r="px"),t.style[n]=e[n]+r}))}var K=r&&/Firefox/i.test(navigator.userAgent);function Q(t,e,n){var r=A(t,(function(t){return t.name===e})),o=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!o){var i="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function nt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=et.indexOf(t),r=et.slice(n+1).concat(et.slice(0,n));return e?r.reverse():r}var rt="flip",ot="clockwise",it="counterclockwise";function st(t,e,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(A(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,p=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(p=p.map((function(t,r){var o=(1===r?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=r}return z(a)[e]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,o,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){X(n)&&(o[e]+=n*("-"===t[r-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",p=a?"width":"height",f={start:E({},l,i[l]),end:E({},l,i[l]+i[p]-s[p])};t.offsets.popper=k({},s,f[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=r.split("-")[0],l=void 0;return l=X(+n)?[+n,0]:st(n,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||u(t.instance.popper);t.instance.reference===n&&(n=u(n));var r=W("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[r];o.top="",o.left="",o[r]="";var l=T(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=i,o.left=s,o[r]=a,e.boundaries=l;var p=e.priority,f=t.offsets.popper,c={primary:function(t){var n=f[t];return f[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(f[t],l[t])),E({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=f[n];return f[t]>l[t]&&!e.escapeWithReference&&(r=Math.min(f[n],l[t]-("right"===t?f.width:f.height))),E({},n,r)}};return p.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=k({},f,c[e](t))})),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",p=s?"width":"height";return n[a]<i(r[l])&&(t.offsets.popper[l]=i(r[l])-n[p]),n[l]>i(r[a])&&(t.offsets.popper[l]=i(r[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,p=-1!==["left","right"].indexOf(o),f=p?"height":"width",c=p?"Top":"Left",h=c.toLowerCase(),d=p?"left":"top",u=p?"bottom":"right",m=S(r)[f];l[u]-m<s[h]&&(t.offsets.popper[h]-=s[h]-(l[u]-m)),l[h]+m>s[u]&&(t.offsets.popper[h]+=l[h]+m-s[u]),t.offsets.popper=z(t.offsets.popper);var v=l[h]+l[f]/2-m/2,g=a(t.instance.popper),w=parseFloat(g["margin"+c]),b=parseFloat(g["border"+c+"Width"]),x=v-t.offsets.popper[h]-w-b;return x=Math.max(Math.min(s[f]-m,x),0),t.arrowElement=r,t.offsets.arrow=(E(n={},h,Math.round(x)),E(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(U(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=T(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=F(r),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case rt:s=[r,o];break;case ot:s=nt(r);break;case it:s=nt(r,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(r!==a||s.length===l+1)return t;r=t.placement.split("-")[0],o=F(r);var p=t.offsets.popper,f=t.offsets.reference,c=Math.floor,h="left"===r&&c(p.right)>c(f.left)||"right"===r&&c(p.left)<c(f.right)||"top"===r&&c(p.bottom)>c(f.top)||"bottom"===r&&c(p.top)<c(f.bottom),d=c(p.left)<c(n.left),u=c(p.right)>c(n.right),m=c(p.top)<c(n.top),v=c(p.bottom)>c(n.bottom),g="left"===r&&d||"right"===r&&u||"top"===r&&m||"bottom"===r&&v,w=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(w&&"start"===i&&d||w&&"end"===i&&u||!w&&"start"===i&&m||!w&&"end"===i&&v),x=!!e.flipVariationsByContent&&(w&&"start"===i&&u||w&&"end"===i&&d||!w&&"start"===i&&v||!w&&"end"===i&&m),y=b||x;(h||g||y)&&(t.flipped=!0,(h||g)&&(r=s[l+1]),y&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=r+(i?"-"+i:""),t.offsets.popper=k({},t.offsets.popper,$(t.instance.popper,t.offsets.reference,t.placement)),t=j(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,o=r.popper,i=r.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=i[n]-(a?o[s?"width":"height"]:0),t.placement=F(e),t.offsets.popper=z(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=A(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,o=t.offsets.popper,i=A(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=u(t.instance.popper),l=M(a),p={position:o.position},f=function(t,e){var n=t.offsets,r=n.popper,o=n.reference,i=Math.round,s=Math.floor,a=function(t){return t},l=i(o.width),p=i(r.width),f=-1!==["left","right"].indexOf(t.placement),c=-1!==t.placement.indexOf("-"),h=e?f||c||l%2==p%2?i:s:a,d=e?i:a;return{left:h(l%2==1&&p%2==1&&!c&&e?r.left-1:r.left),top:d(r.top),bottom:d(r.bottom),right:h(r.right)}}(t,window.devicePixelRatio<2||!K),c="bottom"===n?"top":"bottom",h="right"===r?"left":"right",d=W("transform"),m=void 0,v=void 0;if(v="bottom"===c?"HTML"===a.nodeName?-a.clientHeight+f.bottom:-l.height+f.bottom:f.top,m="right"===h?"HTML"===a.nodeName?-a.clientWidth+f.right:-l.width+f.right:f.left,s&&d)p[d]="translate3d("+m+"px, "+v+"px, 0)",p[c]=0,p[h]=0,p.willChange="transform";else{var g="bottom"===c?-1:1,w="right"===h?-1:1;p[c]=v*g,p[h]=m*w,p.willChange=c+", "+h}var b={"x-placement":t.placement};return t.attributes=k({},b,t.attributes),t.styles=k({},p,t.styles),t.arrowStyles=k({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return J(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,o){var i=N(o,e,t,n.positionFixed),s=D(n.placement,i,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},lt=function(){function t(e,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=k({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){r.options.modifiers[e]=k({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return k({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return P.call(this)}},{key:"destroy",value:function(){return I.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const pt=lt,ft={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new pt(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const ct=(0,n(1900).Z)(ft,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?n("portal",{attrs:{to:"dropdown"}},[n("div",[n("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),n("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5007:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});const r={props:{name:String}};const o=(0,n(1900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return"apple"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[n("g",{attrs:{"fill-rule":"nonzero"}},[n("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),n("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,n)=>{"use strict";n.d(e,{Z:()=>h});var r=n(5007),o=n(3354),i=n(381);const s={components:{Icon:r.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return""===n[0]?""===t:n.filter((function(e){return t.startsWith(e)})).length}}};var a=n(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),n("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),n("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),n("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),n("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),n("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const p={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const f=(0,a.Z)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.$page.props.flash.success&&t.show?n("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[n("div",{staticClass:"flex items-center"},[n("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),n("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),n("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[n("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[n("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?n("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[n("div",{staticClass:"flex items-center"},[n("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?n("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):n("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?n("span",[t._v("There is one form error.")]):n("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),n("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[n("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[n("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,c={components:{Dropdown:i.Z,FlashMessages:f,Icon:r.Z,Logo:o.Z,MainMenu:l}};const h=(0,a.Z)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),n("div",{staticClass:"md:flex md:flex-col"},[n("div",{staticClass:"md:h-screen md:flex md:flex-col"},[n("div",{staticClass:"md:flex md:flex-shrink-0"},[n("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[n("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[n("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),n("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[n("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),n("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[n("main-menu")],1)])],1),t._v(" "),n("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[n("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),n("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[n("div",{staticClass:"flex items-center cursor-pointer select-none group"},[n("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[n("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),n("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),n("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),n("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),n("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[n("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),n("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[n("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},3354:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=(0,n(1900).Z)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),n("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},1900:(t,e,n)=>{"use strict";function r(t,e,n,r,o,i,s,a){var l,p="function"==typeof t?t.options:t;if(e&&(p.render=e,p.staticRenderFns=n,p._compiled=!0),r&&(p.functional=!0),i&&(p._scopeId="data-v-"+i),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},p._ssrRegister=l):o&&(l=a?function(){o.call(this,(p.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(p.functional){p._injectStyles=l;var f=p.render;p.render=function(t,e){return l.call(e),f(t,e)}}else{var c=p.beforeCreate;p.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:p}}n.d(e,{Z:()=>r})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[21],{8552:(t,e,r)=>{var n=r(852)(r(5639),"DataView");t.exports=n},1989:(t,e,r)=>{var n=r(1789),o=r(401),i=r(7667),s=r(1327),a=r(1866);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l},8407:(t,e,r)=>{var n=r(7040),o=r(4125),i=r(2117),s=r(7518),a=r(4705);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l},7071:(t,e,r)=>{var n=r(852)(r(5639),"Map");t.exports=n},3369:(t,e,r)=>{var n=r(4785),o=r(1285),i=r(6e3),s=r(9916),a=r(5265);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l},3818:(t,e,r)=>{var n=r(852)(r(5639),"Promise");t.exports=n},8525:(t,e,r)=>{var n=r(852)(r(5639),"Set");t.exports=n},8668:(t,e,r)=>{var n=r(3369),o=r(619),i=r(2385);function s(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}s.prototype.add=s.prototype.push=o,s.prototype.has=i,t.exports=s},6384:(t,e,r)=>{var n=r(8407),o=r(7465),i=r(3779),s=r(7599),a=r(4758),l=r(4309);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=s,c.prototype.has=a,c.prototype.set=l,t.exports=c},2705:(t,e,r)=>{var n=r(5639).Symbol;t.exports=n},1149:(t,e,r)=>{var n=r(5639).Uint8Array;t.exports=n},577:(t,e,r)=>{var n=r(852)(r(5639),"WeakMap");t.exports=n},4963:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var s=t[r];e(s,r,t)&&(i[o++]=s)}return i}},4636:(t,e,r)=>{var n=r(2545),o=r(5694),i=r(1469),s=r(4144),a=r(5776),l=r(6719),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),u=!r&&o(t),p=!r&&!u&&s(t),f=!r&&!u&&!p&&l(t),h=r||u||p||f,d=h?n(t.length,String):[],v=d.length;for(var m in t)!e&&!c.call(t,m)||h&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,v))||d.push(m);return d}},9932:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},2488:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},2908:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},708:(t,e,r)=>{var n=r(9465),o=r(7813),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var s=t[e];i.call(t,e)&&o(s,r)&&(void 0!==r||e in t)||n(t,e,r)}},8470:(t,e,r)=>{var n=r(7813);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},9465:(t,e,r)=>{var n=r(8777);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},8483:(t,e,r)=>{var n=r(5063)();t.exports=n},7816:(t,e,r)=>{var n=r(8483),o=r(3674);t.exports=function(t,e){return t&&n(t,e,o)}},7786:(t,e,r)=>{var n=r(1811),o=r(327);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},8866:(t,e,r)=>{var n=r(2488),o=r(1469);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},4239:(t,e,r)=>{var n=r(2705),o=r(9607),i=r(2333),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?o(t):i(t)}},13:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},9454:(t,e,r)=>{var n=r(4239),o=r(7005);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},939:(t,e,r)=>{var n=r(2492),o=r(7005);t.exports=function t(e,r,i,s,a){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,s,t,a))}},2492:(t,e,r)=>{var n=r(6384),o=r(7114),i=r(8351),s=r(6096),a=r(4160),l=r(1469),c=r(4144),u=r(6719),p="[object Arguments]",f="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,v,m,g){var w=l(t),x=l(e),b=w?f:a(t),y=x?f:a(e),_=(b=b==p?h:b)==h,C=(y=y==p?h:y)==h,O=b==y;if(O&&c(t)){if(!c(e))return!1;w=!0,_=!1}if(O&&!_)return g||(g=new n),w||u(t)?o(t,e,r,v,m,g):i(t,e,b,r,v,m,g);if(!(1&r)){var j=_&&d.call(t,"__wrapped__"),z=C&&d.call(e,"__wrapped__");if(j||z){var k=j?t.value():t,E=z?e.value():e;return g||(g=new n),m(k,E,r,v,g)}}return!!O&&(g||(g=new n),s(t,e,r,v,m,g))}},2958:(t,e,r)=>{var n=r(6384),o=r(939);t.exports=function(t,e,r,i){var s=r.length,a=s,l=!i;if(null==t)return!a;for(t=Object(t);s--;){var c=r[s];if(l&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++s<a;){var u=(c=r[s])[0],p=t[u],f=c[1];if(l&&c[2]){if(void 0===p&&!(u in t))return!1}else{var h=new n;if(i)var d=i(p,f,u,t,e,h);if(!(void 0===d?o(f,p,3,i,h):d))return!1}}return!0}},8458:(t,e,r)=>{var n=r(3560),o=r(5346),i=r(3218),s=r(346),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,f=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?f:a).test(s(t))}},8749:(t,e,r)=>{var n=r(4239),o=r(1780),i=r(7005),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!s[n(t)]}},7206:(t,e,r)=>{var n=r(1573),o=r(6432),i=r(6557),s=r(1469),a=r(9601);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?s(t)?o(t[0],t[1]):n(t):a(t)}},280:(t,e,r)=>{var n=r(5726),o=r(6916),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},313:(t,e,r)=>{var n=r(3218),o=r(5726),i=r(3498),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=o(t),r=[];for(var a in t)("constructor"!=a||!e&&s.call(t,a))&&r.push(a);return r}},1573:(t,e,r)=>{var n=r(2958),o=r(1499),i=r(2634);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},6432:(t,e,r)=>{var n=r(939),o=r(7361),i=r(9095),s=r(5403),a=r(9162),l=r(2634),c=r(327);t.exports=function(t,e){return s(t)&&a(e)?l(c(t),e):function(r){var s=o(r,t);return void 0===s&&s===e?i(r,t):n(e,s,3)}}},3012:(t,e,r)=>{var n=r(7786),o=r(611),i=r(1811);t.exports=function(t,e,r){for(var s=-1,a=e.length,l={};++s<a;){var c=e[s],u=n(t,c);r(u,c)&&o(l,i(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 n=r(7786);t.exports=function(t){return function(e){return n(e,t)}}},611:(t,e,r)=>{var n=r(708),o=r(1811),i=r(5776),s=r(3218),a=r(327);t.exports=function(t,e,r,l){if(!s(t))return t;for(var c=-1,u=(e=o(e,t)).length,p=u-1,f=t;null!=f&&++c<u;){var h=a(e[c]),d=r;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(c!=p){var v=f[h];void 0===(d=l?l(v,h,f):void 0)&&(d=s(v)?v:i(e[c+1])?[]:{})}n(f,h,d),f=f[h]}return t}},2545:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},531:(t,e,r)=>{var n=r(2705),o=r(9932),i=r(1469),s=r(3448),a=n?n.prototype:void 0,l=a?a.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(s(e))return l?l.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r}},7561:(t,e,r)=>{var n=r(7990),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},1717:t=>{t.exports=function(t){return function(e){return t(e)}}},4757:t=>{t.exports=function(t,e){return t.has(e)}},1811:(t,e,r)=>{var n=r(1469),o=r(5403),i=r(5514),s=r(9833);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(s(t))}},4429:(t,e,r)=>{var n=r(5639)["__core-js_shared__"];t.exports=n},5063:t=>{t.exports=function(t){return function(e,r,n){for(var o=-1,i=Object(e),s=n(e),a=s.length;a--;){var l=s[t?a:++o];if(!1===r(i[l],l,i))break}return e}}},8777:(t,e,r)=>{var n=r(852),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},7114:(t,e,r)=>{var n=r(8668),o=r(2908),i=r(4757);t.exports=function(t,e,r,s,a,l){var c=1&r,u=t.length,p=e.length;if(u!=p&&!(c&&p>u))return!1;var f=l.get(t),h=l.get(e);if(f&&h)return f==e&&h==t;var d=-1,v=!0,m=2&r?new n:void 0;for(l.set(t,e),l.set(e,t);++d<u;){var g=t[d],w=e[d];if(s)var x=c?s(w,g,d,e,t,l):s(g,w,d,t,e,l);if(void 0!==x){if(x)continue;v=!1;break}if(m){if(!o(e,(function(t,e){if(!i(m,e)&&(g===t||a(g,t,r,s,l)))return m.push(e)}))){v=!1;break}}else if(g!==w&&!a(g,w,r,s,l)){v=!1;break}}return l.delete(t),l.delete(e),v}},8351:(t,e,r)=>{var n=r(2705),o=r(1149),i=r(7813),s=r(7114),a=r(8776),l=r(1814),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,r,n,c,p,f){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 o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+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 h=a;case"[object Set]":var d=1&n;if(h||(h=l),t.size!=e.size&&!d)return!1;var v=f.get(t);if(v)return v==e;n|=2,f.set(t,e);var m=s(h(t),h(e),n,c,p,f);return f.delete(t),m;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},6096:(t,e,r)=>{var n=r(8234),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,s,a){var l=1&r,c=n(t),u=c.length;if(u!=n(e).length&&!l)return!1;for(var p=u;p--;){var f=c[p];if(!(l?f in e:o.call(e,f)))return!1}var h=a.get(t),d=a.get(e);if(h&&d)return h==e&&d==t;var v=!0;a.set(t,e),a.set(e,t);for(var m=l;++p<u;){var g=t[f=c[p]],w=e[f];if(i)var x=l?i(w,g,f,e,t,a):i(g,w,f,t,e,a);if(!(void 0===x?g===w||s(g,w,r,i,a):x)){v=!1;break}m||(m="constructor"==f)}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 a.delete(t),a.delete(e),v}},1957:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},8234:(t,e,r)=>{var n=r(8866),o=r(9551),i=r(3674);t.exports=function(t){return n(t,i,o)}},6904:(t,e,r)=>{var n=r(8866),o=r(1442),i=r(1704);t.exports=function(t){return n(t,i,o)}},5050:(t,e,r)=>{var n=r(7019);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},1499:(t,e,r)=>{var n=r(9162),o=r(3674);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var i=e[r],s=t[i];e[r]=[i,s,n(s)]}return e}},852:(t,e,r)=>{var n=r(8458),o=r(7801);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},5924:(t,e,r)=>{var n=r(5569)(Object.getPrototypeOf,Object);t.exports=n},9607:(t,e,r)=>{var n=r(2705),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[a]=r:delete t[a]),o}},9551:(t,e,r)=>{var n=r(4963),o=r(479),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),n(s(t),(function(e){return i.call(t,e)})))}:o;t.exports=a},1442:(t,e,r)=>{var n=r(2488),o=r(5924),i=r(9551),s=r(479),a=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,i(t)),t=o(t);return e}:s;t.exports=a},4160:(t,e,r)=>{var n=r(8552),o=r(7071),i=r(3818),s=r(8525),a=r(577),l=r(4239),c=r(346),u="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",v=c(n),m=c(o),g=c(i),w=c(s),x=c(a),b=l;(n&&b(new n(new ArrayBuffer(1)))!=d||o&&b(new o)!=u||i&&b(i.resolve())!=p||s&&b(new s)!=f||a&&b(new a)!=h)&&(b=function(t){var e=l(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case v:return d;case m:return u;case g:return p;case w:return f;case x:return h}return e}),t.exports=b},7801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},222:(t,e,r)=>{var n=r(1811),o=r(5694),i=r(1469),s=r(5776),a=r(1780),l=r(327);t.exports=function(t,e,r){for(var c=-1,u=(e=n(e,t)).length,p=!1;++c<u;){var f=l(e[c]);if(!(p=null!=t&&r(t,f)))break;t=t[f]}return p||++c!=u?p:!!(u=null==t?0:t.length)&&a(u)&&s(f,u)&&(i(t)||o(t))}},1789:(t,e,r)=>{var n=r(4536);t.exports=function(){this.__data__=n?n(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 n=r(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},1327:(t,e,r)=>{var n=r(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1866:(t,e,r)=>{var n=r(4536);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},5776:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},5403:(t,e,r)=>{var n=r(1469),o=r(3448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(s.test(t)||!i.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 n,o=r(4429),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},5726:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},9162:(t,e,r)=>{var n=r(3218);t.exports=function(t){return t==t&&!n(t)}},7040:t=>{t.exports=function(){this.__data__=[],this.size=0}},4125:(t,e,r)=>{var n=r(8470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},2117:(t,e,r)=>{var n=r(8470);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},7518:(t,e,r)=>{var n=r(8470);t.exports=function(t){return n(this.__data__,t)>-1}},4705:(t,e,r)=>{var n=r(8470);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},4785:(t,e,r)=>{var n=r(1989),o=r(8407),i=r(7071);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},1285:(t,e,r)=>{var n=r(5050);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6e3:(t,e,r)=>{var n=r(5050);t.exports=function(t){return n(this,t).get(t)}},9916:(t,e,r)=>{var n=r(5050);t.exports=function(t){return n(this,t).has(t)}},5265:(t,e,r)=>{var n=r(5050);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},8776:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,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 n=r(8306);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},4536:(t,e,r)=>{var n=r(852)(Object,"create");t.exports=n},6916:(t,e,r)=>{var n=r(5569)(Object.keys,Object);t.exports=n},3498:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},1167:(t,e,r)=>{t=r.nmd(t);var n=r(1957),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,s=i&&i.exports===o&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a},2333:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},5639:(t,e,r)=>{var n=r(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},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 n=r(8407);t.exports=function(){this.__data__=new n,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 n=r(8407),o=r(7071),i=r(3369);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(s)}return r.set(t,e),this.size=r.size,this}},5514:(t,e,r)=>{var n=r(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)})),e}));t.exports=s},327:(t,e,r)=>{var n=r(3448);t.exports=function(t){if("string"==typeof t||n(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 n=r(3218),o=r(7771),i=r(4841),s=Math.max,a=Math.min;t.exports=function(t,e,r){var l,c,u,p,f,h,d=0,v=!1,m=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function w(e){var r=l,n=c;return l=c=void 0,d=e,p=t.apply(n,r)}function x(t){return d=t,f=setTimeout(y,e),v?w(t):p}function b(t){var r=t-h;return void 0===h||r>=e||r<0||m&&t-d>=u}function y(){var t=o();if(b(t))return _(t);f=setTimeout(y,function(t){var r=e-(t-h);return m?a(r,u-(t-d)):r}(t))}function _(t){return f=void 0,g&&l?w(t):(l=c=void 0,p)}function C(){var t=o(),r=b(t);if(l=arguments,c=this,h=t,r){if(void 0===f)return x(h);if(m)return clearTimeout(f),f=setTimeout(y,e),w(h)}return void 0===f&&(f=setTimeout(y,e)),p}return e=i(e)||0,n(r)&&(v=!!r.leading,u=(m="maxWait"in r)?s(i(r.maxWait)||0,e):u,g="trailing"in r?!!r.trailing:g),C.cancel=function(){void 0!==f&&clearTimeout(f),d=0,l=h=c=f=void 0},C.flush=function(){return void 0===f?p:_(o())},C}},7813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},7361:(t,e,r)=>{var n=r(7786);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},9095:(t,e,r)=>{var n=r(13),o=r(222);t.exports=function(t,e){return null!=t&&o(t,e,n)}},6557:t=>{t.exports=function(t){return t}},5694:(t,e,r)=>{var n=r(9454),o=r(7005),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(t){return o(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=l},1469:t=>{var e=Array.isArray;t.exports=e},8612:(t,e,r)=>{var n=r(3560),o=r(1780);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},4144:(t,e,r)=>{t=r.nmd(t);var n=r(5639),o=r(5062),i=e&&!e.nodeType&&e,s=i&&t&&!t.nodeType&&t,a=s&&s.exports===i?n.Buffer:void 0,l=(a?a.isBuffer:void 0)||o;t.exports=l},3560:(t,e,r)=>{var n=r(4239),o=r(3218);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3218:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},3448:(t,e,r)=>{var n=r(4239),o=r(7005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},6719:(t,e,r)=>{var n=r(8749),o=r(1717),i=r(1167),s=i&&i.isTypedArray,a=s?o(s):n;t.exports=a},3674:(t,e,r)=>{var n=r(4636),o=r(280),i=r(8612);t.exports=function(t){return i(t)?n(t):o(t)}},1704:(t,e,r)=>{var n=r(4636),o=r(313),i=r(8612);t.exports=function(t){return i(t)?n(t,!0):o(t)}},6604:(t,e,r)=>{var n=r(9465),o=r(7816),i=r(7206);t.exports=function(t,e){var r={};return e=i(e,3),o(t,(function(t,o,i){n(r,o,e(t,o,i))})),r}},8306:(t,e,r)=>{var n=r(3369);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=t.apply(this,n);return r.cache=i.set(o,s)||i,s};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},7771:(t,e,r)=>{var n=r(5639);t.exports=function(){return n.Date.now()}},5937:(t,e,r)=>{var n=r(9932),o=r(7206),i=r(3012),s=r(6904);t.exports=function(t,e){if(null==t)return{};var r=n(s(t),(function(t){return[t]}));return e=o(e),i(t,r,(function(t,r){return e(t,r[0])}))}},9601:(t,e,r)=>{var n=r(371),o=r(9152),i=r(5403),s=r(327);t.exports=function(t){return i(t)?n(s(t)):o(t)}},479:t=>{t.exports=function(){return[]}},5062:t=>{t.exports=function(){return!1}},3493:(t,e,r)=>{var n=r(3279),o=r(3218);t.exports=function(t,e,r){var i=!0,s=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),n(t,e,{leading:i,maxWait:e,trailing:s})}},4841:(t,e,r)=>{var n=r(7561),o=r(3218),i=r(3448),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=a.test(t);return r||l.test(t)?c(t.slice(2),r?2:8):s.test(t)?NaN:+t}},9833:(t,e,r)=>{var n=r(531);t.exports=function(t){return null==t?"":n(t)}},5021:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>d});var n=r(5007),o=r(5937),i=r.n(o),s=r(9714),a=r(3493),l=r.n(a),c=r(6604),u=r.n(c),p=r(5251),f=r(8014);const h={metaInfo:{title:"Contacts"},components:{Icon:n.Z,Pagination:p.Z,SearchFilter:f.Z},layout:s.Z,props:{contacts:Object,filters:Object},data:function(){return{form:{search:this.filters.search,trashed:this.filters.trashed}}},watch:{form:{handler:l()((function(){var t=i()(this.form);this.$inertia.replace(this.route("contacts",Object.keys(t).length?t:{remember:"forget"}))}),150),deep:!0}},methods:{reset:function(){this.form=u()(this.form,(function(){return null}))}}};const d=(0,r(1900).Z)(h,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("h1",{staticClass:"mb-8 font-bold text-3xl"},[t._v("Contacts")]),t._v(" "),r("div",{staticClass:"mb-6 flex justify-between items-center"},[r("search-filter",{staticClass:"w-full max-w-md mr-4",on:{reset:t.reset},model:{value:t.form.search,callback:function(e){t.$set(t.form,"search",e)},expression:"form.search"}},[r("label",{staticClass:"block text-gray-700"},[t._v("Trashed:")]),t._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:t.form.trashed,expression:"form.trashed"}],staticClass:"mt-1 w-full form-select",on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.form,"trashed",e.target.multiple?r:r[0])}}},[r("option",{domProps:{value:null}}),t._v(" "),r("option",{attrs:{value:"with"}},[t._v("With Trashed")]),t._v(" "),r("option",{attrs:{value:"only"}},[t._v("Only Trashed")])])]),t._v(" "),r("inertia-link",{staticClass:"btn-indigo",attrs:{href:t.route("contacts.create")}},[r("span",[t._v("Create")]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v("Contact")])])],1),t._v(" "),r("div",{staticClass:"bg-white rounded-md shadow overflow-x-auto"},[r("table",{staticClass:"w-full whitespace-nowrap"},[t._m(0),t._v(" "),t._l(t.contacts.data,(function(e){return r("tr",{key:e.id,staticClass:"hover:bg-gray-100 focus-within:bg-gray-100"},[r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center focus:text-indigo-500",attrs:{href:t.route("contacts.edit",e.id)}},[t._v("\n "+t._s(e.name)+"\n "),e.deleted_at?r("icon",{staticClass:"flex-shrink-0 w-3 h-3 fill-gray-400 ml-2",attrs:{name:"trash"}}):t._e()],1)],1),t._v(" "),r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center",attrs:{href:t.route("contacts.edit",e.id),tabindex:"-1"}},[e.organization?r("div",[t._v("\n "+t._s(e.organization.name)+"\n ")]):t._e()])],1),t._v(" "),r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center",attrs:{href:t.route("contacts.edit",e.id),tabindex:"-1"}},[t._v("\n "+t._s(e.city)+"\n ")])],1),t._v(" "),r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center",attrs:{href:t.route("contacts.edit",e.id),tabindex:"-1"}},[t._v("\n "+t._s(e.phone)+"\n ")])],1),t._v(" "),r("td",{staticClass:"border-t w-px"},[r("inertia-link",{staticClass:"px-4 flex items-center",attrs:{href:t.route("contacts.edit",e.id),tabindex:"-1"}},[r("icon",{staticClass:"block w-6 h-6 fill-gray-400",attrs:{name:"cheveron-right"}})],1)],1)])})),t._v(" "),0===t.contacts.data.length?r("tr",[r("td",{staticClass:"border-t px-6 py-4",attrs:{colspan:"4"}},[t._v("No contacts found.")])]):t._e()],2)]),t._v(" "),r("pagination",{staticClass:"mt-6",attrs:{links:t.contacts.links}})],1)}),[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",{staticClass:"text-left font-bold"},[r("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Name")]),t._v(" "),r("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Organization")]),t._v(" "),r("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("City")]),t._v(" "),r("th",{staticClass:"px-6 pt-6 pb-4",attrs:{colspan:"2"}},[t._v("Phone")])])}],!1,null,null,null).exports},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>pt});var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),r=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?t:c(l(t))}function u(t){return t&&t.referenceNode?t.referenceNode:t}var p=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?p:10===t?f:p||f}function d(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===a(r,"position")?d(r):r:t?t.ownerDocument.documentElement:document.documentElement}function v(t){return null!==t.parentNode?v(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,o=r?e:t,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&d(s.firstElementChild)!==s?d(l):l;var c=v(t);return c.host?m(c.host,e):m(t,v(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[r]}return t[r]}function w(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g(e,"top"),o=g(e,"left"),i=r?-1:1;return t.top+=n*i,t.bottom+=n*i,t.left+=o*i,t.right+=o*i,t}function x(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function b(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],h(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,r=t.documentElement,n=h(10)&&getComputedStyle(r);return{height:b("Height",e,r,n),width:b("Width",e,r,n)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),O=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},j=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function z(t){return j({},t,{right:t.left+t.width,bottom:t.top+t.height})}function k(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var r=g(t,"top"),n=g(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,c=t.offsetWidth-s,u=t.offsetHeight-l;if(c||u){var p=a(t);c-=x(p,"x"),u-=x(p,"y"),o.width-=c,o.height-=u}return z(o)}function E(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=h(10),o="HTML"===e.nodeName,i=k(t),s=k(e),l=c(t),u=a(e),p=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);r&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var d=z({top:i.top-s.top-p,left:i.left-s.left-f,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!n&&o){var v=parseFloat(u.marginTop),m=parseFloat(u.marginLeft);d.top-=p-v,d.bottom-=p-v,d.left-=f-m,d.right-=f-m,d.marginTop=v,d.marginLeft=m}return(n&&!r?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(d=w(d,e)),d}function M(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=E(t,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:g(r),a=e?0:g(r,"left"),l={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:i};return z(l)}function L(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var r=l(t);return!!r&&L(r)}function T(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function H(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?T(t):m(t,u(e));if("viewport"===n)i=M(s,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=c(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var p=E(a,s,o);if("HTML"!==a.nodeName||L(s))i=p;else{var f=y(t.ownerDocument),h=f.height,d=f.width;i.top+=p.top-p.marginTop,i.bottom=h+p.top,i.left+=p.left-p.marginLeft,i.right=d+p.left}}var v="number"==typeof(r=r||0);return i.left+=v?r:r.left||0,i.top+=v?r:r.top||0,i.right-=v?r:r.right||0,i.bottom-=v?r:r.bottom||0,i}function A(t){return t.width*t.height}function S(t,e,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=H(r,n,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return j({key:t},a[t],{area:A(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=t.split("-")[1];return u+(p?"-"+p:"")}function V(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?T(e):m(e,u(r));return E(r,o,n)}function $(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function B(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function P(t,e,r){r=r.split("-")[0];var n=$(t),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=r===a?e[a]-n[c]:e[B(a)],o}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function D(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=N(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&s(r)&&(e.offsets.popper=z(e.offsets.popper),e.offsets.reference=z(e.offsets.reference),e=r(e,t))})),e}function F(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=V(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=S(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=P(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=D(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function W(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function U(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],i=o?""+o+r:t;if(void 0!==document.body.style[i])return i}return null}function I(){return this.state.isDestroyed=!0,W(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Z(t){var e=t.ownerDocument;return e?e.defaultView:window}function R(t,e,r,n){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,r,{passive:!0}),o||R(c(i.parentNode),e,r,n),n.push(i)}function Y(t,e,r,n){r.updateBound=n,Z(t).addEventListener("resize",r.updateBound,{passive:!0});var o=c(t);return R(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,Z(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(t,e,r){var n=N(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!o){var i="`"+e+"`",s="`"+r+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=et.indexOf(t),n=et.slice(r+1).concat(et.slice(0,r));return e?n.reverse():n}var nt="flip",ot="clockwise",it="counterclockwise";function st(t,e,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(N(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,n){var o=(1===n?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=r;break;case"%":case"%r":default:a=n}return z(a)[e]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,o,e,r)}))}))).forEach((function(t,e){t.forEach((function(r,n){X(r)&&(o[e]+=r*("-"===t[n-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(r),l=a?"left":"top",c=a?"width":"height",u={start:O({},l,i[l]),end:O({},l,i[l]+i[c]-s[c])};t.offsets.popper=j({},s,u[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=X(+r)?[+r,0]:st(r,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||d(t.instance.popper);t.instance.reference===r&&(r=d(r));var n=U("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=H(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);o.top=i,o.left=s,o[n]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,p={primary:function(t){var r=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(r=Math.max(u[t],l[t])),O({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=u[r];return u[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(u[r],l[t]-("right"===t?u.width:u.height))),O({},r,n)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=j({},u,p[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return r[a]<i(n[l])&&(t.offsets.popper[l]=i(n[l])-r[c]),r[l]>i(n[a])&&(t.offsets.popper[l]=i(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",p=c?"Top":"Left",f=p.toLowerCase(),h=c?"left":"top",d=c?"bottom":"right",v=$(n)[u];l[d]-v<s[f]&&(t.offsets.popper[f]-=s[f]-(l[d]-v)),l[f]+v>s[d]&&(t.offsets.popper[f]+=l[f]+v-s[d]),t.offsets.popper=z(t.offsets.popper);var m=l[f]+l[u]/2-v/2,g=a(t.instance.popper),w=parseFloat(g["margin"+p]),x=parseFloat(g["border"+p+"Width"]),b=m-t.offsets.popper[f]-w-x;return b=Math.max(Math.min(s[u]-v,b),0),t.arrowElement=n,t.offsets.arrow=(O(r={},f,Math.round(b)),O(r,h,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(W(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=H(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=B(n),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case nt:s=[n,o];break;case ot:s=rt(n);break;case it:s=rt(n,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=B(n);var c=t.offsets.popper,u=t.offsets.reference,p=Math.floor,f="left"===n&&p(c.right)>p(u.left)||"right"===n&&p(c.left)<p(u.right)||"top"===n&&p(c.bottom)>p(u.top)||"bottom"===n&&p(c.top)<p(u.bottom),h=p(c.left)<p(r.left),d=p(c.right)>p(r.right),v=p(c.top)<p(r.top),m=p(c.bottom)>p(r.bottom),g="left"===n&&h||"right"===n&&d||"top"===n&&v||"bottom"===n&&m,w=-1!==["top","bottom"].indexOf(n),x=!!e.flipVariations&&(w&&"start"===i&&h||w&&"end"===i&&d||!w&&"start"===i&&v||!w&&"end"===i&&m),b=!!e.flipVariationsByContent&&(w&&"start"===i&&d||w&&"end"===i&&h||!w&&"start"===i&&m||!w&&"end"===i&&v),y=x||b;(f||g||y)&&(t.flipped=!0,(f||g)&&(n=s[l+1]),y&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=n+(i?"-"+i:""),t.offsets.popper=j({},t.offsets.popper,P(t.instance.popper,t.offsets.reference,t.placement)),t=D(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,o=n.popper,i=n.reference,s=-1!==["left","right"].indexOf(r),a=-1===["top","left"].indexOf(r);return o[s?"left":"top"]=i[r]-(a?o[s?"width":"height"]:0),t.placement=B(e),t.offsets.popper=z(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=N(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,o=t.offsets.popper,i=N(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=d(t.instance.popper),l=k(a),c={position:o.position},u=function(t,e){var r=t.offsets,n=r.popper,o=r.reference,i=Math.round,s=Math.floor,a=function(t){return t},l=i(o.width),c=i(n.width),u=-1!==["left","right"].indexOf(t.placement),p=-1!==t.placement.indexOf("-"),f=e?u||p||l%2==c%2?i:s:a,h=e?i:a;return{left:f(l%2==1&&c%2==1&&!p&&e?n.left-1:n.left),top:h(n.top),bottom:h(n.bottom),right:f(n.right)}}(t,window.devicePixelRatio<2||!K),p="bottom"===r?"top":"bottom",f="right"===n?"left":"right",h=U("transform"),v=void 0,m=void 0;if(m="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,v="right"===f?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&h)c[h]="translate3d("+v+"px, "+m+"px, 0)",c[p]=0,c[f]=0,c.willChange="transform";else{var g="bottom"===p?-1:1,w="right"===f?-1:1;c[p]=m*g,c[f]=v*w,c.willChange=p+", "+f}var x={"x-placement":t.placement};return t.attributes=j({},x,t.attributes),t.styles=j({},c,t.styles),t.arrowStyles=j({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return J(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,o){var i=V(o,e,t,r.positionFixed),s=S(r.placement,i,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},lt=function(){function t(e,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=j({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(j({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){n.options.modifiers[e]=j({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return j({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return F.call(this)}},{key:"destroy",value:function(){return I.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const ct=lt,ut={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ct(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const pt=(0,r(1900).Z)(ut,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?r("portal",{attrs:{to:"dropdown"}},[r("div",[r("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),r("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5007:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{name:String}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return"apple"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("g",{attrs:{"fill-rule":"nonzero"}},[r("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),r("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,r)=>{"use strict";r.d(e,{Z:()=>f});var n=r(5007),o=r(3354),i=r(381);const s={components:{Icon:n.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return""===r[0]?""===t:r.filter((function(e){return t.startsWith(e)})).length}}};var a=r(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),r("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),r("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),r("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const c={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const u=(0,a.Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.$page.props.flash.success&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):r("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?r("span",[t._v("There is one form error.")]):r("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,p={components:{Dropdown:i.Z,FlashMessages:u,Icon:n.Z,Logo:o.Z,MainMenu:l}};const f=(0,a.Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),r("div",{staticClass:"md:flex md:flex-col"},[r("div",{staticClass:"md:h-screen md:flex md:flex-col"},[r("div",{staticClass:"md:flex md:flex-shrink-0"},[r("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[r("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[r("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),r("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[r("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),r("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[r("main-menu")],1)])],1),t._v(" "),r("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[r("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),r("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[r("div",{staticClass:"flex items-center cursor-pointer select-none group"},[r("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[r("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),r("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),r("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),r("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[r("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),r("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[r("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},3354:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const n=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),r("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},5251:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{links:Array}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.links.length>3?r("div",[r("div",{staticClass:"flex flex-wrap -mb-1"},[t._l(t.links,(function(e,n){return[null===e.url?r("div",{key:n,staticClass:"mr-1 mb-1 px-4 py-3 text-sm leading-4 text-gray-400 border rounded",domProps:{innerHTML:t._s(e.label)}}):r("inertia-link",{key:n,staticClass:"mr-1 mb-1 px-4 py-3 text-sm leading-4 border rounded hover:bg-white focus:border-indigo-500 focus:text-indigo-500",class:{"bg-white":e.active},attrs:{href:e.url},domProps:{innerHTML:t._s(e.label)}})]}))],2)]):t._e()}),[],!1,null,null,null).exports},8014:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={components:{Dropdown:r(381).Z},props:{value:String,maxWidth:{type:Number,default:300}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"flex items-center"},[r("div",{staticClass:"flex w-full bg-white shadow rounded"},[r("dropdown",{staticClass:"px-4 md:px-6 rounded-l border-r hover:bg-gray-100 focus:border-white focus:ring focus:z-10",attrs:{"auto-close":!1,placement:"bottom-start"}},[r("div",{staticClass:"flex items-baseline"},[r("span",{staticClass:"text-gray-700 hidden md:inline"},[t._v("Filter")]),t._v(" "),r("svg",{staticClass:"w-2 h-2 fill-gray-700 md:ml-2",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 961.243 599.998"}},[r("path",{attrs:{d:"M239.998 239.999L0 0h961.243L721.246 240c-131.999 132-240.28 240-240.624 239.999-.345-.001-108.625-108.001-240.624-240z"}})])]),t._v(" "),r("div",{staticClass:"mt-2 px-4 py-6 w-screen shadow-xl bg-white rounded",style:{maxWidth:t.maxWidth+"px"},attrs:{slot:"dropdown"},slot:"dropdown"},[t._t("default")],2)]),t._v(" "),r("input",{staticClass:"relative w-full px-6 py-3 rounded-r focus:ring",attrs:{autocomplete:"off",type:"text",name:"search",placeholder:"Search…"},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})],1),t._v(" "),r("button",{staticClass:"ml-3 text-sm text-gray-500 hover:text-gray-700 focus:text-indigo-500",attrs:{type:"button"},on:{click:function(e){return t.$emit("reset")}}},[t._v("Reset")])])}),[],!1,null,null,null).exports},1900:(t,e,r)=>{"use strict";function n(t,e,r,n,o,i,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),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:()=>n})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[260],{1260:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var r=n(9714),i=n(5007),o=n(6119),s=n(3669);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const p={metaInfo:function(){return{title:this.campaign.name}},components:{Icon:i.Z,TextInput:o.Z,SelectInput:s.Z},layout:r.Z,props:{token:Object,variables:Array,dictionary:Object,campaign:Object,errors:Object},data:function(){return{variable:this.variables.length?null:"add",default_value:"",name:"",value:"",inputs:{}}},watch:{},methods:{add:function(){this.$inertia.post(this.route("token.campaign.variable.add",[this.token.id,this.dictionary.id,this.campaign.id]),{variable:this.variable,default_value:this.default_value,name:this.name,value:this.value}),this.name="",this.value=""},edit:function(t,e){var n=this;e.map((function(e){n.inputs=l(l({},n.inputs),{},c({},t,l(l({},n.inputs[t]),{},c({},e.name,{editable:!0,val:e.val}))))}))},editCancel:function(t,e){this.inputs=l(l({},this.inputs),{},c({},t,l(l({},this.inputs[t]),{},c({},e,l(l({},this.inputs[t][e]),{},{editable:!1})))))},save:function(t,e){var n=this,r={variable_id:t};e.map((function(e){r[e]=n.inputs[t][e].val,n.editCancel(t,e)})),-1===e.indexOf("name")?this.$inertia.post(this.route("token.campaign.variable.edit",[this.token.id,this.dictionary.id,this.campaign.id]),r):this.$inertia.post(this.route("variable.edit",[t]),r)},destroy:function(t){confirm("Are you sure you want to delete this campaign var?")&&this.$inertia.delete(this.route("variable.destroy",[t]))}}};const u=(0,n(1900).Z)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"mb-8 font-bold text-3xl"},[n("inertia-link",{staticClass:"text-indigo-400 hover:text-indigo-600",attrs:{href:t.route("tokens")}},[t._v("\n Tokens\n ")]),t._v(" "),n("span",{staticClass:"text-indigo-400 font-medium"},[t._v("/")]),t._v(" "),n("inertia-link",{staticClass:"text-indigo-400 hover:text-indigo-600",attrs:{href:t.route("token.edit",t.token.id)}},[t._v("\n "+t._s(t.token.login)+"\n ")]),t._v(" "),n("span",{staticClass:"text-indigo-400 font-medium"},[t._v("/")]),t._v("\n "+t._s(t.dictionary.name)+"\n "),n("span",{staticClass:"text-indigo-400 font-medium"},[t._v("/")]),t._v("\n "+t._s(t.campaign.name)+"\n ")],1),t._v(" "),n("div",{staticClass:"mb-6 flex justify-between items-center"},[n("div",{staticClass:"mt-4 flex flex-wrap"},[n("select-input",{staticClass:"pr-6",attrs:{label:"Variable"},model:{value:t.variable,callback:function(e){t.variable=e},expression:"variable"}},[n("option",{attrs:{value:"add"}},[t._v("\n [Add new]\n ")]),t._v(" "),t._l(t.variables,(function(e){return n("option",{key:e.id,domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+"\n ")])}))],2),t._v(" "),"add"===t.variable?n("text-input",{staticClass:"pr-6",attrs:{error:t.errors.name,label:"New variable name"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}):t._e(),t._v(" "),"add"===t.variable?n("text-input",{staticClass:"pr-6",attrs:{error:t.errors.default_value,label:"New variable default value"},model:{value:t.default_value,callback:function(e){t.default_value=e},expression:"default_value"}}):t._e(),t._v(" "),n("text-input",{staticClass:"pr-6",attrs:{error:t.errors.value,label:"Campaign default value"},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t._v(" "),n("button",{staticClass:"btn-indigo hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:t.add}},[t._v("\n Add\n ")])],1)]),t._v(" "),n("div",{staticClass:"bg-white rounded-md shadow overflow-x-auto"},[n("table",{staticClass:"w-full whitespace-nowrap"},[t._m(0),t._v(" "),t._l(t.variables,(function(e){return n("tr",{key:e.id,staticClass:"hover:bg-gray-100 focus-within:bg-gray-100"},[n("td",{staticClass:"px-6 py-4 border-t"},[t.inputs[e.id]&&t.inputs[e.id].name&&t.inputs[e.id].name.editable?n("div",{staticClass:"inline-flex"},[n("text-input",{staticClass:"pr-6",attrs:{label:"Variable name"},model:{value:t.inputs[e.id].name.val,callback:function(n){t.$set(t.inputs[e.id].name,"val",n)},expression:"inputs[variable.id].name.val"}}),t._v(" "),n("text-input",{staticClass:"pr-6",attrs:{label:"Variable default value"},model:{value:t.inputs[e.id].default_value.val,callback:function(n){t.$set(t.inputs[e.id].default_value,"val",n)},expression:"inputs[variable.id].default_value.val"}}),t._v(" "),n("button",{staticClass:"btn-indigo hover:underline mr-6",attrs:{tabindex:"-1",type:"button"},on:{click:function(n){return t.save(e.id,["name","default_value"])}}},[t._v("\n\n Save\n ")]),t._v(" "),n("button",{staticClass:"btn-indigo hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:function(n){return t.editCancel(e.id,"name")}}},[t._v("\n\n Cancel\n ")])],1):n("div",{staticClass:"hover:text-indigo-500 focus:text-indigo-500 cursor-pointer",on:{click:function(n){return t.edit(e.id,[{name:"default_value",val:e.default_value},{name:"name",val:e.name}])}}},[t._v("\n "+t._s(e.name)+"\n ")])]),t._v(" "),n("td",{staticClass:"px-6 py-4 border-t"},[t.inputs[e.id]&&t.inputs[e.id].value&&t.inputs[e.id].value.editable?n("div",{staticClass:"inline-flex"},[n("text-input",{staticClass:"pr-6",attrs:{label:"Campaign default value"},model:{value:t.inputs[e.id].value.val,callback:function(n){t.$set(t.inputs[e.id].value,"val",n)},expression:"inputs[variable.id].value.val"}}),t._v(" "),n("button",{staticClass:"btn-indigo hover:underline mr-6",attrs:{tabindex:"-1",type:"button"},on:{click:function(n){return t.save(e.id,["value"])}}},[t._v("\n\n Save\n ")]),t._v(" "),n("button",{staticClass:"btn-indigo hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:function(n){return t.editCancel(e.id,"value")}}},[t._v("\n\n Cancel\n ")])],1):n("div",{staticClass:"hover:text-indigo-500 focus:text-indigo-500 cursor-pointer",on:{click:function(n){return t.edit(e.id,[{name:"value",val:e.dictionaryCampaign?e.dictionaryCampaign.value:""}])}}},[t._v("\n "+t._s(e.dictionaryCampaign?e.dictionaryCampaign.value:e.default_value)+"\n ")])]),t._v(" "),n("td",{staticClass:"px-6 py-4 border-t w-px"},[n("button",{staticClass:"px-4 flex items-center",attrs:{type:"button",tabindex:"-1"},on:{click:function(n){return t.destroy(e.id)}}},[n("icon",{staticClass:"block w-6 h-6 fill-gray-400",attrs:{name:"trash"}})],1)])])})),t._v(" "),0===t.variables.length?n("tr",[n("td",{staticClass:"border-t px-6 py-4",attrs:{colspan:"4"}},[t._v("No variables found.")])]):t._e()],2)])])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",{staticClass:"text-left font-bold"},[n("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Name")]),t._v(" "),n("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Default value")])])}],!1,null,null,null).exports},381:(t,e,n)=>{"use strict";n.d(e,{Z:()=>ut});var r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,i=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(r&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var o=r&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),i))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:c(l(t))}function p(t){return t&&t.referenceNode?t.referenceNode:t}var u=r&&!(!window.MSInputMethodContext||!document.documentMode),d=r&&/MSIE 10/.test(navigator.userAgent);function f(t){return 11===t?u:10===t?d:u||d}function h(t){if(!t)return document.documentElement;for(var e=f(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?h(n):n:t?t.ownerDocument.documentElement:document.documentElement}function v(t){return null!==t.parentNode?v(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var s,a,l=o.commonAncestorContainer;if(t!==l&&e!==l||r.contains(i))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&h(s.firstElementChild)!==s?h(l):l;var c=v(t);return c.host?m(c.host,e):m(t,v(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||i;return o[n]}return t[n]}function w(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),i=g(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function b(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function x(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],f(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,n=t.documentElement,r=f(10)&&getComputedStyle(n);return{height:x("Height",e,n,r),width:x("Width",e,n,r)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),k=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function E(t){return O({},t,{right:t.left+t.width,bottom:t.top+t.height})}function z(t){var e={};try{if(f(10)){e=t.getBoundingClientRect();var n=g(t,"top"),r=g(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?y(t.ownerDocument):{},s=o.width||t.clientWidth||i.width,l=o.height||t.clientHeight||i.height,c=t.offsetWidth-s,p=t.offsetHeight-l;if(c||p){var u=a(t);c-=b(u,"x"),p-=b(u,"y"),i.width-=c,i.height-=p}return E(i)}function M(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=f(10),i="HTML"===e.nodeName,o=z(t),s=z(e),l=c(t),p=a(e),u=parseFloat(p.borderTopWidth),d=parseFloat(p.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=E({top:o.top-s.top-u,left:o.left-s.left-d,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!r&&i){var v=parseFloat(p.marginTop),m=parseFloat(p.marginLeft);h.top-=u-v,h.bottom-=u-v,h.left-=d-m,h.right-=d-m,h.marginTop=v,h.marginLeft=m}return(r&&!n?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(h=w(h,e)),h}function L(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=M(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:g(n),a=e?0:g(n,"left"),l={top:s-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:i,height:o};return E(l)}function H(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=l(t);return!!n&&H(n)}function V(t){if(!t||!t.parentElement||f())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function $(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},s=i?V(t):m(t,p(e));if("viewport"===r)o=L(s,i);else{var a=void 0;"scrollParent"===r?"BODY"===(a=c(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===r?t.ownerDocument.documentElement:r;var u=M(a,s,i);if("HTML"!==a.nodeName||H(s))o=u;else{var d=y(t.ownerDocument),f=d.height,h=d.width;o.top+=u.top-u.marginTop,o.bottom=f+u.top,o.left+=u.left-u.marginLeft,o.right=h+u.left}}var v="number"==typeof(n=n||0);return o.left+=v?n:n.left||0,o.top+=v?n:n.top||0,o.right-=v?n:n.right||0,o.bottom-=v?n:n.bottom||0,o}function S(t){return t.width*t.height}function T(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=$(n,r,o,i),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return O({key:t},a[t],{area:S(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),p=c.length>0?c[0].key:l[0].key,u=t.split("-")[1];return p+(u?"-"+u:"")}function B(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?V(e):m(e,p(n));return M(n,i,r)}function j(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function D(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function N(t,e,n){n=n.split("-")[0];var r=j(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return i[s]=e[s]+e[l]/2-r[l]/2,i[a]=n===a?e[a]-r[c]:e[D(a)],i}function A(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function P(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=A(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&s(n)&&(e.offsets.popper=E(e.offsets.popper),e.offsets.reference=E(e.offsets.reference),e=n(e,t))})),e}function F(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=B(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=T(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=N(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=P(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function Z(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function U(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==document.body.style[o])return o}return null}function W(){return this.state.isDestroyed=!0,Z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function I(t){var e=t.ownerDocument;return e?e.defaultView:window}function R(t,e,n,r){var i="BODY"===t.nodeName,o=i?t.ownerDocument.defaultView:t;o.addEventListener(e,n,{passive:!0}),i||R(c(o.parentNode),e,n,r),r.push(o)}function Y(t,e,n,r){n.updateBound=r,I(t).addEventListener("resize",n.updateBound,{passive:!0});var i=c(t);return R(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,I(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&X(e[n])&&(r="px"),t.style[n]=e[n]+r}))}var K=r&&/Firefox/i.test(navigator.userAgent);function Q(t,e,n){var r=A(t,(function(t){return t.name===e})),i=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!i){var o="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function nt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=et.indexOf(t),r=et.slice(n+1).concat(et.slice(0,n));return e?r.reverse():r}var rt="flip",it="clockwise",ot="counterclockwise";function st(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(A(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,r){var i=(1===r?!o:o)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],s=i[2];if(!o)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=r}return E(a)[e]/100*o}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){X(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,s=i.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",p={start:k({},l,o[l]),end:k({},l,o[l]+o[c]-s[c])};t.offsets.popper=O({},s,p[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,s=i.reference,a=r.split("-")[0],l=void 0;return l=X(+n)?[+n,0]:st(n,o,s,a),"left"===a?(o.top+=l[0],o.left-=l[1]):"right"===a?(o.top+=l[0],o.left+=l[1]):"top"===a?(o.left+=l[0],o.top-=l[1]):"bottom"===a&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||h(t.instance.popper);t.instance.reference===n&&(n=h(n));var r=U("transform"),i=t.instance.popper.style,o=i.top,s=i.left,a=i[r];i.top="",i.left="",i[r]="";var l=$(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=s,i[r]=a,e.boundaries=l;var c=e.priority,p=t.offsets.popper,u={primary:function(t){var n=p[t];return p[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(p[t],l[t])),k({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=p[n];return p[t]>l[t]&&!e.escapeWithReference&&(r=Math.min(p[n],l[t]-("right"===t?p.width:p.height))),k({},n,r)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";p=O({},p,u[e](t))})),t.offsets.popper=p,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(i),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<o(r[l])&&(t.offsets.popper[l]=o(r[l])-n[c]),n[l]>o(r[a])&&(t.offsets.popper[l]=o(r[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,s=o.popper,l=o.reference,c=-1!==["left","right"].indexOf(i),p=c?"height":"width",u=c?"Top":"Left",d=u.toLowerCase(),f=c?"left":"top",h=c?"bottom":"right",v=j(r)[p];l[h]-v<s[d]&&(t.offsets.popper[d]-=s[d]-(l[h]-v)),l[d]+v>s[h]&&(t.offsets.popper[d]+=l[d]+v-s[h]),t.offsets.popper=E(t.offsets.popper);var m=l[d]+l[p]/2-v/2,g=a(t.instance.popper),w=parseFloat(g["margin"+u]),b=parseFloat(g["border"+u+"Width"]),x=m-t.offsets.popper[d]-w-b;return x=Math.max(Math.min(s[p]-v,x),0),t.arrowElement=r,t.offsets.arrow=(k(n={},d,Math.round(x)),k(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(Z(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=$(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=D(r),o=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case rt:s=[r,i];break;case it:s=nt(r);break;case ot:s=nt(r,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(r!==a||s.length===l+1)return t;r=t.placement.split("-")[0],i=D(r);var c=t.offsets.popper,p=t.offsets.reference,u=Math.floor,d="left"===r&&u(c.right)>u(p.left)||"right"===r&&u(c.left)<u(p.right)||"top"===r&&u(c.bottom)>u(p.top)||"bottom"===r&&u(c.top)<u(p.bottom),f=u(c.left)<u(n.left),h=u(c.right)>u(n.right),v=u(c.top)<u(n.top),m=u(c.bottom)>u(n.bottom),g="left"===r&&f||"right"===r&&h||"top"===r&&v||"bottom"===r&&m,w=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(w&&"start"===o&&f||w&&"end"===o&&h||!w&&"start"===o&&v||!w&&"end"===o&&m),x=!!e.flipVariationsByContent&&(w&&"start"===o&&h||w&&"end"===o&&f||!w&&"start"===o&&m||!w&&"end"===o&&v),y=b||x;(d||g||y)&&(t.flipped=!0,(d||g)&&(r=s[l+1]),y&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=O({},t.offsets.popper,N(t.instance.popper,t.offsets.reference,t.placement)),t=P(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[s?"left":"top"]=o[n]-(a?i[s?"width":"height"]:0),t.placement=D(e),t.offsets.popper=E(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=A(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=A(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==o?o:e.gpuAcceleration,a=h(t.instance.popper),l=z(a),c={position:i.position},p=function(t,e){var n=t.offsets,r=n.popper,i=n.reference,o=Math.round,s=Math.floor,a=function(t){return t},l=o(i.width),c=o(r.width),p=-1!==["left","right"].indexOf(t.placement),u=-1!==t.placement.indexOf("-"),d=e?p||u||l%2==c%2?o:s:a,f=e?o:a;return{left:d(l%2==1&&c%2==1&&!u&&e?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:d(r.right)}}(t,window.devicePixelRatio<2||!K),u="bottom"===n?"top":"bottom",d="right"===r?"left":"right",f=U("transform"),v=void 0,m=void 0;if(m="bottom"===u?"HTML"===a.nodeName?-a.clientHeight+p.bottom:-l.height+p.bottom:p.top,v="right"===d?"HTML"===a.nodeName?-a.clientWidth+p.right:-l.width+p.right:p.left,s&&f)c[f]="translate3d("+v+"px, "+m+"px, 0)",c[u]=0,c[d]=0,c.willChange="transform";else{var g="bottom"===u?-1:1,w="right"===d?-1:1;c[u]=m*g,c[d]=v*w,c.willChange=u+", "+d}var b={"x-placement":t.placement};return t.attributes=O({},b,t.attributes),t.styles=O({},c,t.styles),t.arrowStyles=O({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return J(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,i){var o=B(i,e,t,n.positionFixed),s=T(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},lt=function(){function t(e,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=O({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(O({},t.Defaults.modifiers,i.modifiers)).forEach((function(e){r.options.modifiers[e]=O({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return O({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return F.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const ct=lt,pt={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ct(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const ut=(0,n(1900).Z)(pt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?n("portal",{attrs:{to:"dropdown"}},[n("div",[n("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),n("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5007:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{name:String}};const i=(0,n(1900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return"apple"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[n("g",{attrs:{"fill-rule":"nonzero"}},[n("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),n("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,n)=>{"use strict";n.d(e,{Z:()=>d});var r=n(5007),i=n(3354),o=n(381);const s={components:{Icon:r.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return""===n[0]?""===t:n.filter((function(e){return t.startsWith(e)})).length}}};var a=n(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),n("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),n("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),n("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),n("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),n("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const c={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const p=(0,a.Z)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.$page.props.flash.success&&t.show?n("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[n("div",{staticClass:"flex items-center"},[n("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),n("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),n("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[n("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[n("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?n("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[n("div",{staticClass:"flex items-center"},[n("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?n("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):n("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?n("span",[t._v("There is one form error.")]):n("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),n("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[n("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[n("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,u={components:{Dropdown:o.Z,FlashMessages:p,Icon:r.Z,Logo:i.Z,MainMenu:l}};const d=(0,a.Z)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),n("div",{staticClass:"md:flex md:flex-col"},[n("div",{staticClass:"md:h-screen md:flex md:flex-col"},[n("div",{staticClass:"md:flex md:flex-shrink-0"},[n("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[n("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[n("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),n("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[n("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),n("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[n("main-menu")],1)])],1),t._v(" "),n("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[n("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),n("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[n("div",{staticClass:"flex items-center cursor-pointer select-none group"},[n("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[n("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),n("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),n("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),n("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),n("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[n("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),n("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[n("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},3354:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=(0,n(1900).Z)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),n("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},3669:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={inheritAttrs:!1,props:{id:{type:String,default:function(){return"select-input-".concat(this._uid)}},value:[String,Number,Boolean],label:String,error:String},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("input",t)}},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()}}};const i=(0,n(1900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.label?n("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),n("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"input",staticClass:"form-select",class:{error:t.error},attrs:{id:t.id},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?n:n[0]}}},"select",t.$attrs,!1),[t._t("default")],2),t._v(" "),t.error?n("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},6119:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={inheritAttrs:!1,props:{id:{type:String,default:function(){return"text-input-".concat(this._uid)}},type:{type:String,default:"text"},value:String,label:String,error:String,readonly:Boolean},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},setSelectionRange:function(t,e){this.$refs.input.setSelectionRange(t,e)}}};const i=(0,n(1900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.label?n("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),n("input",t._b({ref:"input",staticClass:"form-input",class:{error:t.error},attrs:{id:t.id,readonly:t.readonly,type:t.type},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},"input",t.$attrs,!1)),t._v(" "),t.error?n("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},1900:(t,e,n)=>{"use strict";function r(t,e,n,r,i,o,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):i&&(l=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var p=c.render;c.render=function(t,e){return l.call(e),p(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:c}}n.d(e,{Z:()=>r})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[266],{8266:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>f});var n=r(9714),o=r(6119),i=r(5865),s=r(3669),a=r(1100),l=r(284);const c={metaInfo:function(){return{title:"".concat(this.form.first_name," ").concat(this.form.last_name)}},components:{FileInput:i.Z,LoadingButton:a.Z,SelectInput:s.Z,TextInput:o.Z,TrashedMessage:l.Z},layout:n.Z,props:{user:Object},remember:"form",data:function(){return{form:this.$inertia.form({_method:"put",first_name:this.user.first_name,last_name:this.user.last_name,email:this.user.email,password:null,owner:this.user.owner,photo:null})}},methods:{update:function(){var t=this;this.form.post(this.route("users.update",this.user.id),{onSuccess:function(){return t.form.reset("password","photo")}})},destroy:function(){confirm("Are you sure you want to delete this user?")&&this.$inertia.delete(this.route("users.destroy",this.user.id))},restore:function(){confirm("Are you sure you want to restore this user?")&&this.$inertia.put(this.route("users.restore",this.user.id))}}};const f=(0,r(1900).Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-8 flex justify-start max-w-3xl"},[r("h1",{staticClass:"font-bold text-3xl"},[r("inertia-link",{staticClass:"text-indigo-400 hover:text-indigo-600",attrs:{href:t.route("users")}},[t._v("Users")]),t._v(" "),r("span",{staticClass:"text-indigo-400 font-medium"},[t._v("/")]),t._v("\n "+t._s(t.form.first_name)+" "+t._s(t.form.last_name)+"\n ")],1),t._v(" "),t.user.photo?r("img",{staticClass:"block w-8 h-8 rounded-full ml-4",attrs:{src:t.user.photo}}):t._e()]),t._v(" "),t.user.deleted_at?r("trashed-message",{staticClass:"mb-6",on:{restore:t.restore}},[t._v("\n This user has been deleted.\n ")]):t._e(),t._v(" "),r("div",{staticClass:"bg-white rounded-md shadow overflow-hidden max-w-3xl"},[r("form",{on:{submit:function(e){return e.preventDefault(),t.update(e)}}},[r("div",{staticClass:"p-8 -mr-6 -mb-8 flex flex-wrap"},[r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.first_name,label:"First name"},model:{value:t.form.first_name,callback:function(e){t.$set(t.form,"first_name",e)},expression:"form.first_name"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.last_name,label:"Last name"},model:{value:t.form.last_name,callback:function(e){t.$set(t.form,"last_name",e)},expression:"form.last_name"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.email,label:"Email"},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.password,type:"password",autocomplete:"new-password",label:"Password"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t._v(" "),r("select-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.owner,label:"Owner"},model:{value:t.form.owner,callback:function(e){t.$set(t.form,"owner",e)},expression:"form.owner"}},[r("option",{domProps:{value:!0}},[t._v("Yes")]),t._v(" "),r("option",{domProps:{value:!1}},[t._v("No")])]),t._v(" "),r("file-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.photo,type:"file",accept:"image/*",label:"Photo"},model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),r("div",{staticClass:"px-8 py-4 bg-gray-50 border-t border-gray-100 flex items-center"},[t.user.deleted_at?t._e():r("button",{staticClass:"text-red-600 hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:t.destroy}},[t._v("Delete User")]),t._v(" "),r("loading-button",{staticClass:"btn-indigo ml-auto",attrs:{loading:t.form.processing,type:"submit"}},[t._v("Update User")])],1)])])],1)}),[],!1,null,null,null).exports},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>pt});var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),r=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?t:c(l(t))}function f(t){return t&&t.referenceNode?t.referenceNode:t}var p=n&&!(!window.MSInputMethodContext||!document.documentMode),u=n&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?p:10===t?u:p||u}function h(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===a(r,"position")?h(r):r:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,o=r?e:t,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&h(s.firstElementChild)!==s?h(l):l;var c=m(t);return c.host?v(c.host,e):v(t,m(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[r]}return t[r]}function w(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g(e,"top"),o=g(e,"left"),i=r?-1:1;return t.top+=n*i,t.bottom+=n*i,t.left+=o*i,t.right+=o*i,t}function b(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function x(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],d(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,r=t.documentElement,n=d(10)&&getComputedStyle(r);return{height:x("Height",e,r,n),width:x("Width",e,r,n)}}var y=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),k=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function z(t){return E({},t,{right:t.left+t.width,bottom:t.top+t.height})}function M(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var r=g(t,"top"),n=g(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?_(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,c=t.offsetWidth-s,f=t.offsetHeight-l;if(c||f){var p=a(t);c-=b(p,"x"),f-=b(p,"y"),o.width-=c,o.height-=f}return z(o)}function L(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=d(10),o="HTML"===e.nodeName,i=M(t),s=M(e),l=c(t),f=a(e),p=parseFloat(f.borderTopWidth),u=parseFloat(f.borderLeftWidth);r&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=z({top:i.top-s.top-p,left:i.left-s.left-u,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!n&&o){var m=parseFloat(f.marginTop),v=parseFloat(f.marginLeft);h.top-=p-m,h.bottom-=p-m,h.left-=u-v,h.right-=u-v,h.marginTop=m,h.marginLeft=v}return(n&&!r?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(h=w(h,e)),h}function H(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=L(t,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:g(r),a=e?0:g(r,"left"),l={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:i};return z(l)}function O(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var r=l(t);return!!r&&O(r)}function $(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function B(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?$(t):v(t,f(e));if("viewport"===n)i=H(s,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=c(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var p=L(a,s,o);if("HTML"!==a.nodeName||O(s))i=p;else{var u=_(t.ownerDocument),d=u.height,h=u.width;i.top+=p.top-p.marginTop,i.bottom=d+p.top,i.left+=p.left-p.marginLeft,i.right=h+p.left}}var m="number"==typeof(r=r||0);return i.left+=m?r:r.left||0,i.top+=m?r:r.top||0,i.right-=m?r:r.right||0,i.bottom-=m?r:r.bottom||0,i}function V(t){return t.width*t.height}function T(t,e,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=B(r,n,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return E({key:t},a[t],{area:V(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),f=c.length>0?c[0].key:l[0].key,p=t.split("-")[1];return f+(p?"-"+p:"")}function S(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?$(e):v(e,f(r));return L(r,o,n)}function D(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function N(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function F(t,e,r){r=r.split("-")[0];var n=D(t),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=r===a?e[a]-n[c]:e[N(a)],o}function A(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Z(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=A(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&s(r)&&(e.offsets.popper=z(e.offsets.popper),e.offsets.reference=z(e.offsets.reference),e=r(e,t))})),e}function P(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=S(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=T(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=F(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Z(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function j(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function U(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],i=o?""+o+r:t;if(void 0!==document.body.style[i])return i}return null}function W(){return this.state.isDestroyed=!0,j(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(t){var e=t.ownerDocument;return e?e.defaultView:window}function I(t,e,r,n){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,r,{passive:!0}),o||I(c(i.parentNode),e,r,n),n.push(i)}function Y(t,e,r,n){r.updateBound=n,R(t).addEventListener("resize",r.updateBound,{passive:!0});var o=c(t);return I(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,R(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(t,e,r){var n=A(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!o){var i="`"+e+"`",s="`"+r+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=et.indexOf(t),n=et.slice(r+1).concat(et.slice(0,r));return e?n.reverse():n}var nt="flip",ot="clockwise",it="counterclockwise";function st(t,e,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(A(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,n){var o=(1===n?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=r;break;case"%":case"%r":default:a=n}return z(a)[e]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,o,e,r)}))}))).forEach((function(t,e){t.forEach((function(r,n){X(r)&&(o[e]+=r*("-"===t[n-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(r),l=a?"left":"top",c=a?"width":"height",f={start:k({},l,i[l]),end:k({},l,i[l]+i[c]-s[c])};t.offsets.popper=E({},s,f[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=X(+r)?[+r,0]:st(r,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||h(t.instance.popper);t.instance.reference===r&&(r=h(r));var n=U("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=B(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);o.top=i,o.left=s,o[n]=a,e.boundaries=l;var c=e.priority,f=t.offsets.popper,p={primary:function(t){var r=f[t];return f[t]<l[t]&&!e.escapeWithReference&&(r=Math.max(f[t],l[t])),k({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=f[r];return f[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(f[r],l[t]-("right"===t?f.width:f.height))),k({},r,n)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=E({},f,p[e](t))})),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return r[a]<i(n[l])&&(t.offsets.popper[l]=i(n[l])-r[c]),r[l]>i(n[a])&&(t.offsets.popper[l]=i(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),f=c?"height":"width",p=c?"Top":"Left",u=p.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",m=D(n)[f];l[h]-m<s[u]&&(t.offsets.popper[u]-=s[u]-(l[h]-m)),l[u]+m>s[h]&&(t.offsets.popper[u]+=l[u]+m-s[h]),t.offsets.popper=z(t.offsets.popper);var v=l[u]+l[f]/2-m/2,g=a(t.instance.popper),w=parseFloat(g["margin"+p]),b=parseFloat(g["border"+p+"Width"]),x=v-t.offsets.popper[u]-w-b;return x=Math.max(Math.min(s[f]-m,x),0),t.arrowElement=n,t.offsets.arrow=(k(r={},u,Math.round(x)),k(r,d,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(j(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=B(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=N(n),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case nt:s=[n,o];break;case ot:s=rt(n);break;case it:s=rt(n,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=N(n);var c=t.offsets.popper,f=t.offsets.reference,p=Math.floor,u="left"===n&&p(c.right)>p(f.left)||"right"===n&&p(c.left)<p(f.right)||"top"===n&&p(c.bottom)>p(f.top)||"bottom"===n&&p(c.top)<p(f.bottom),d=p(c.left)<p(r.left),h=p(c.right)>p(r.right),m=p(c.top)<p(r.top),v=p(c.bottom)>p(r.bottom),g="left"===n&&d||"right"===n&&h||"top"===n&&m||"bottom"===n&&v,w=-1!==["top","bottom"].indexOf(n),b=!!e.flipVariations&&(w&&"start"===i&&d||w&&"end"===i&&h||!w&&"start"===i&&m||!w&&"end"===i&&v),x=!!e.flipVariationsByContent&&(w&&"start"===i&&h||w&&"end"===i&&d||!w&&"start"===i&&v||!w&&"end"===i&&m),_=b||x;(u||g||_)&&(t.flipped=!0,(u||g)&&(n=s[l+1]),_&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=n+(i?"-"+i:""),t.offsets.popper=E({},t.offsets.popper,F(t.instance.popper,t.offsets.reference,t.placement)),t=Z(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,o=n.popper,i=n.reference,s=-1!==["left","right"].indexOf(r),a=-1===["top","left"].indexOf(r);return o[s?"left":"top"]=i[r]-(a?o[s?"width":"height"]:0),t.placement=N(e),t.offsets.popper=z(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=A(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,o=t.offsets.popper,i=A(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=h(t.instance.popper),l=M(a),c={position:o.position},f=function(t,e){var r=t.offsets,n=r.popper,o=r.reference,i=Math.round,s=Math.floor,a=function(t){return t},l=i(o.width),c=i(n.width),f=-1!==["left","right"].indexOf(t.placement),p=-1!==t.placement.indexOf("-"),u=e?f||p||l%2==c%2?i:s:a,d=e?i:a;return{left:u(l%2==1&&c%2==1&&!p&&e?n.left-1:n.left),top:d(n.top),bottom:d(n.bottom),right:u(n.right)}}(t,window.devicePixelRatio<2||!K),p="bottom"===r?"top":"bottom",u="right"===n?"left":"right",d=U("transform"),m=void 0,v=void 0;if(v="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+f.bottom:-l.height+f.bottom:f.top,m="right"===u?"HTML"===a.nodeName?-a.clientWidth+f.right:-l.width+f.right:f.left,s&&d)c[d]="translate3d("+m+"px, "+v+"px, 0)",c[p]=0,c[u]=0,c.willChange="transform";else{var g="bottom"===p?-1:1,w="right"===u?-1:1;c[p]=v*g,c[u]=m*w,c.willChange=p+", "+u}var b={"x-placement":t.placement};return t.attributes=E({},b,t.attributes),t.styles=E({},c,t.styles),t.arrowStyles=E({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return J(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,o){var i=S(o,e,t,r.positionFixed),s=T(r.placement,i,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},lt=function(){function t(e,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=E({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(E({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){n.options.modifiers[e]=E({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return E({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return P.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const ct=lt,ft={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ct(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const pt=(0,r(1900).Z)(ft,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?r("portal",{attrs:{to:"dropdown"}},[r("div",[r("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),r("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5865:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{value:File,label:String,accept:String,errors:{type:Array,default:function(){return[]}}},watch:{value:function(t){t||(this.$refs.file.value="")}},methods:{filesize:function(t){var e=Math.floor(Math.log(t)/Math.log(1024));return 1*(t/Math.pow(1024,e)).toFixed(2)+" "+["B","kB","MB","GB","TB"][e]},browse:function(){this.$refs.file.click()},change:function(t){this.$emit("input",t.target.files[0])},remove:function(){this.$emit("input",null)}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label"},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("div",{staticClass:"form-input p-0",class:{error:t.errors.length}},[r("input",{ref:"file",staticClass:"hidden",attrs:{type:"file",accept:t.accept},on:{change:t.change}}),t._v(" "),t.value?r("div",{staticClass:"flex items-center justify-between p-2"},[r("div",{staticClass:"flex-1 pr-1"},[t._v("\n "+t._s(t.value.name)+" "),r("span",{staticClass:"text-gray-500 text-xs"},[t._v("("+t._s(t.filesize(t.value.size))+")")])]),t._v(" "),r("button",{staticClass:"px-4 py-1 bg-gray-500 hover:bg-gray-700 rounded-sm text-xs font-medium text-white",attrs:{type:"button"},on:{click:t.remove}},[t._v("\n Remove\n ")])]):r("div",{staticClass:"p-2"},[r("button",{staticClass:"px-4 py-1 bg-gray-500 hover:bg-gray-700 rounded-sm text-xs font-medium text-white",attrs:{type:"button"},on:{click:t.browse}},[t._v("\n Browse\n ")])])]),t._v(" "),t.errors.length?r("div",{staticClass:"form-error"},[t._v(t._s(t.errors[0]))]):t._e()])}),[],!1,null,null,null).exports},5007:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{name:String}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return"apple"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("g",{attrs:{"fill-rule":"nonzero"}},[r("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),r("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,r)=>{"use strict";r.d(e,{Z:()=>u});var n=r(5007),o=r(3354),i=r(381);const s={components:{Icon:n.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return""===r[0]?""===t:r.filter((function(e){return t.startsWith(e)})).length}}};var a=r(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),r("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),r("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),r("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const c={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const f=(0,a.Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.$page.props.flash.success&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):r("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?r("span",[t._v("There is one form error.")]):r("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,p={components:{Dropdown:i.Z,FlashMessages:f,Icon:n.Z,Logo:o.Z,MainMenu:l}};const u=(0,a.Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),r("div",{staticClass:"md:flex md:flex-col"},[r("div",{staticClass:"md:h-screen md:flex md:flex-col"},[r("div",{staticClass:"md:flex md:flex-shrink-0"},[r("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[r("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[r("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),r("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[r("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),r("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[r("main-menu")],1)])],1),t._v(" "),r("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[r("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),r("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[r("div",{staticClass:"flex items-center cursor-pointer select-none group"},[r("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[r("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),r("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),r("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),r("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[r("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),r("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[r("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},1100:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{loading:Boolean}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{staticClass:"flex items-center",attrs:{disabled:t.loading}},[t.loading?r("div",{staticClass:"btn-spinner mr-2"}):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},3354:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const n=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),r("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},3669:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"select-input-".concat(this._uid)}},value:[String,Number,Boolean],label:String,error:String},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("input",t)}},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"input",staticClass:"form-select",class:{error:t.error},attrs:{id:t.id},on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?r:r[0]}}},"select",t.$attrs,!1),[t._t("default")],2),t._v(" "),t.error?r("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},6119:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"text-input-".concat(this._uid)}},type:{type:String,default:"text"},value:String,label:String,error:String,readonly:Boolean},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},setSelectionRange:function(t,e){this.$refs.input.setSelectionRange(t,e)}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("input",t._b({ref:"input",staticClass:"form-input",class:{error:t.error},attrs:{id:t.id,readonly:t.readonly,type:t.type},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},"input",t.$attrs,!1)),t._v(" "),t.error?r("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},284:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={components:{Icon:r(5007).Z}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"p-4 bg-yellow-300 rounded flex items-center justify-between max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("icon",{staticClass:"flex-shrink-0 w-4 h-4 fill-yellow-800 mr-2",attrs:{name:"trash"}}),t._v(" "),r("div",{staticClass:"text-sm font-medium text-yellow-800"},[t._t("default")],2)],1),t._v(" "),r("button",{staticClass:"text-sm text-yellow-800 hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:function(e){return t.$emit("restore")}}},[t._v("Restore")])])}),[],!1,null,null,null).exports},1900:(t,e,r)=>{"use strict";function n(t,e,r,n,o,i,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var f=c.render;c.render=function(t,e){return l.call(e),f(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}r.d(e,{Z:()=>n})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[322],{322:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>a});var n=r(9714),o=r(6119),i=r(3669);const s={metaInfo:{title:"Create Organization"},components:{LoadingButton:r(1100).Z,SelectInput:i.Z,TextInput:o.Z},layout:n.Z,remember:"form",data:function(){return{form:this.$inertia.form({name:null,email:null,phone:null,address:null,city:null,region:null,country:null,postal_code:null})}},methods:{store:function(){this.form.post(this.route("organizations.store"))}}};const a=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("h1",{staticClass:"mb-8 font-bold text-3xl"},[r("inertia-link",{staticClass:"text-indigo-400 hover:text-indigo-600",attrs:{href:t.route("organizations")}},[t._v("Organizations")]),t._v(" "),r("span",{staticClass:"text-indigo-400 font-medium"},[t._v("/")]),t._v(" Create\n ")],1),t._v(" "),r("div",{staticClass:"bg-white rounded-md shadow overflow-hidden max-w-3xl"},[r("form",{on:{submit:function(e){return e.preventDefault(),t.store(e)}}},[r("div",{staticClass:"p-8 -mr-6 -mb-8 flex flex-wrap"},[r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.name,label:"Name"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.email,label:"Email"},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.phone,label:"Phone"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.address,label:"Address"},model:{value:t.form.address,callback:function(e){t.$set(t.form,"address",e)},expression:"form.address"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.city,label:"City"},model:{value:t.form.city,callback:function(e){t.$set(t.form,"city",e)},expression:"form.city"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.region,label:"Province/State"},model:{value:t.form.region,callback:function(e){t.$set(t.form,"region",e)},expression:"form.region"}}),t._v(" "),r("select-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.country,label:"Country"},model:{value:t.form.country,callback:function(e){t.$set(t.form,"country",e)},expression:"form.country"}},[r("option",{domProps:{value:null}}),t._v(" "),r("option",{attrs:{value:"CA"}},[t._v("Canada")]),t._v(" "),r("option",{attrs:{value:"US"}},[t._v("United States")])]),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.postal_code,label:"Postal code"},model:{value:t.form.postal_code,callback:function(e){t.$set(t.form,"postal_code",e)},expression:"form.postal_code"}})],1),t._v(" "),r("div",{staticClass:"px-8 py-4 bg-gray-50 border-t border-gray-100 flex justify-end items-center"},[r("loading-button",{staticClass:"btn-indigo",attrs:{loading:t.form.processing,type:"submit"}},[t._v("Create Organization")])],1)])])])}),[],!1,null,null,null).exports},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>pt});var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function f(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),r=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?t:f(l(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var p=n&&!(!window.MSInputMethodContext||!document.documentMode),u=n&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?p:10===t?u:p||u}function h(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===a(r,"position")?h(r):r:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,o=r?e:t,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&h(s.firstElementChild)!==s?h(l):l;var f=m(t);return f.host?v(f.host,e):v(t,m(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[r]}return t[r]}function w(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g(e,"top"),o=g(e,"left"),i=r?-1:1;return t.top+=n*i,t.bottom+=n*i,t.left+=o*i,t.right+=o*i,t}function b(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function x(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],d(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,r=t.documentElement,n=d(10)&&getComputedStyle(r);return{height:x("Height",e,r,n),width:x("Width",e,r,n)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),z=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function k(t){return E({},t,{right:t.left+t.width,bottom:t.top+t.height})}function M(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var r=g(t,"top"),n=g(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,f=t.offsetWidth-s,c=t.offsetHeight-l;if(f||c){var p=a(t);f-=b(p,"x"),c-=b(p,"y"),o.width-=f,o.height-=c}return k(o)}function L(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=d(10),o="HTML"===e.nodeName,i=M(t),s=M(e),l=f(t),c=a(e),p=parseFloat(c.borderTopWidth),u=parseFloat(c.borderLeftWidth);r&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=k({top:i.top-s.top-p,left:i.left-s.left-u,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!n&&o){var m=parseFloat(c.marginTop),v=parseFloat(c.marginLeft);h.top-=p-m,h.bottom-=p-m,h.left-=u-v,h.right-=u-v,h.marginTop=m,h.marginLeft=v}return(n&&!r?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(h=w(h,e)),h}function H(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=L(t,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:g(r),a=e?0:g(r,"left"),l={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:i};return k(l)}function O(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var r=l(t);return!!r&&O(r)}function $(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function V(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?$(t):v(t,c(e));if("viewport"===n)i=H(s,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=f(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var p=L(a,s,o);if("HTML"!==a.nodeName||O(s))i=p;else{var u=y(t.ownerDocument),d=u.height,h=u.width;i.top+=p.top-p.marginTop,i.bottom=d+p.top,i.left+=p.left-p.marginLeft,i.right=h+p.left}}var m="number"==typeof(r=r||0);return i.left+=m?r:r.left||0,i.top+=m?r:r.top||0,i.right-=m?r:r.right||0,i.bottom-=m?r:r.bottom||0,i}function S(t){return t.width*t.height}function B(t,e,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=V(r,n,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return E({key:t},a[t],{area:S(a[t])})})).sort((function(t,e){return e.area-t.area})),f=l.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),c=f.length>0?f[0].key:l[0].key,p=t.split("-")[1];return c+(p?"-"+p:"")}function T(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?$(e):v(e,c(r));return L(r,o,n)}function N(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function D(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function A(t,e,r){r=r.split("-")[0];var n=N(t),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",f=i?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=r===a?e[a]-n[f]:e[D(a)],o}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function P(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=F(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&s(r)&&(e.offsets.popper=k(e.offsets.popper),e.offsets.reference=k(e.offsets.reference),e=r(e,t))})),e}function Z(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=T(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=B(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=A(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=P(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function U(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function j(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],i=o?""+o+r:t;if(void 0!==document.body.style[i])return i}return null}function W(){return this.state.isDestroyed=!0,U(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[j("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(t){var e=t.ownerDocument;return e?e.defaultView:window}function I(t,e,r,n){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,r,{passive:!0}),o||I(f(i.parentNode),e,r,n),n.push(i)}function Y(t,e,r,n){r.updateBound=n,R(t).addEventListener("resize",r.updateBound,{passive:!0});var o=f(t);return I(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,R(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(t,e,r){var n=F(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!o){var i="`"+e+"`",s="`"+r+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=et.indexOf(t),n=et.slice(r+1).concat(et.slice(0,r));return e?n.reverse():n}var nt="flip",ot="clockwise",it="counterclockwise";function st(t,e,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(F(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,f=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(f=f.map((function(t,n){var o=(1===n?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=r;break;case"%":case"%r":default:a=n}return k(a)[e]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,o,e,r)}))}))).forEach((function(t,e){t.forEach((function(r,n){X(r)&&(o[e]+=r*("-"===t[n-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(r),l=a?"left":"top",f=a?"width":"height",c={start:z({},l,i[l]),end:z({},l,i[l]+i[f]-s[f])};t.offsets.popper=E({},s,c[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=X(+r)?[+r,0]:st(r,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||h(t.instance.popper);t.instance.reference===r&&(r=h(r));var n=j("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=V(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);o.top=i,o.left=s,o[n]=a,e.boundaries=l;var f=e.priority,c=t.offsets.popper,p={primary:function(t){var r=c[t];return c[t]<l[t]&&!e.escapeWithReference&&(r=Math.max(c[t],l[t])),z({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=c[r];return c[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(c[r],l[t]-("right"===t?c.width:c.height))),z({},r,n)}};return f.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=E({},c,p[e](t))})),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",f=s?"width":"height";return r[a]<i(n[l])&&(t.offsets.popper[l]=i(n[l])-r[f]),r[l]>i(n[a])&&(t.offsets.popper[l]=i(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,f=-1!==["left","right"].indexOf(o),c=f?"height":"width",p=f?"Top":"Left",u=p.toLowerCase(),d=f?"left":"top",h=f?"bottom":"right",m=N(n)[c];l[h]-m<s[u]&&(t.offsets.popper[u]-=s[u]-(l[h]-m)),l[u]+m>s[h]&&(t.offsets.popper[u]+=l[u]+m-s[h]),t.offsets.popper=k(t.offsets.popper);var v=l[u]+l[c]/2-m/2,g=a(t.instance.popper),w=parseFloat(g["margin"+p]),b=parseFloat(g["border"+p+"Width"]),x=v-t.offsets.popper[u]-w-b;return x=Math.max(Math.min(s[c]-m,x),0),t.arrowElement=n,t.offsets.arrow=(z(r={},u,Math.round(x)),z(r,d,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(U(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=V(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=D(n),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case nt:s=[n,o];break;case ot:s=rt(n);break;case it:s=rt(n,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=D(n);var f=t.offsets.popper,c=t.offsets.reference,p=Math.floor,u="left"===n&&p(f.right)>p(c.left)||"right"===n&&p(f.left)<p(c.right)||"top"===n&&p(f.bottom)>p(c.top)||"bottom"===n&&p(f.top)<p(c.bottom),d=p(f.left)<p(r.left),h=p(f.right)>p(r.right),m=p(f.top)<p(r.top),v=p(f.bottom)>p(r.bottom),g="left"===n&&d||"right"===n&&h||"top"===n&&m||"bottom"===n&&v,w=-1!==["top","bottom"].indexOf(n),b=!!e.flipVariations&&(w&&"start"===i&&d||w&&"end"===i&&h||!w&&"start"===i&&m||!w&&"end"===i&&v),x=!!e.flipVariationsByContent&&(w&&"start"===i&&h||w&&"end"===i&&d||!w&&"start"===i&&v||!w&&"end"===i&&m),y=b||x;(u||g||y)&&(t.flipped=!0,(u||g)&&(n=s[l+1]),y&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=n+(i?"-"+i:""),t.offsets.popper=E({},t.offsets.popper,A(t.instance.popper,t.offsets.reference,t.placement)),t=P(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,o=n.popper,i=n.reference,s=-1!==["left","right"].indexOf(r),a=-1===["top","left"].indexOf(r);return o[s?"left":"top"]=i[r]-(a?o[s?"width":"height"]:0),t.placement=D(e),t.offsets.popper=k(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=F(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,o=t.offsets.popper,i=F(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=h(t.instance.popper),l=M(a),f={position:o.position},c=function(t,e){var r=t.offsets,n=r.popper,o=r.reference,i=Math.round,s=Math.floor,a=function(t){return t},l=i(o.width),f=i(n.width),c=-1!==["left","right"].indexOf(t.placement),p=-1!==t.placement.indexOf("-"),u=e?c||p||l%2==f%2?i:s:a,d=e?i:a;return{left:u(l%2==1&&f%2==1&&!p&&e?n.left-1:n.left),top:d(n.top),bottom:d(n.bottom),right:u(n.right)}}(t,window.devicePixelRatio<2||!K),p="bottom"===r?"top":"bottom",u="right"===n?"left":"right",d=j("transform"),m=void 0,v=void 0;if(v="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+c.bottom:-l.height+c.bottom:c.top,m="right"===u?"HTML"===a.nodeName?-a.clientWidth+c.right:-l.width+c.right:c.left,s&&d)f[d]="translate3d("+m+"px, "+v+"px, 0)",f[p]=0,f[u]=0,f.willChange="transform";else{var g="bottom"===p?-1:1,w="right"===u?-1:1;f[p]=v*g,f[u]=m*w,f.willChange=p+", "+u}var b={"x-placement":t.placement};return t.attributes=E({},b,t.attributes),t.styles=E({},f,t.styles),t.arrowStyles=E({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return J(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,o){var i=T(o,e,t,r.positionFixed),s=B(r.placement,i,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},lt=function(){function t(e,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=E({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(E({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){n.options.modifiers[e]=E({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return E({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return Z.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const ft=lt,ct={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ft(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const pt=(0,r(1900).Z)(ct,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?r("portal",{attrs:{to:"dropdown"}},[r("div",[r("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),r("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5007:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{name:String}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return"apple"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("g",{attrs:{"fill-rule":"nonzero"}},[r("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),r("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,r)=>{"use strict";r.d(e,{Z:()=>u});var n=r(5007),o=r(3354),i=r(381);const s={components:{Icon:n.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return""===r[0]?""===t:r.filter((function(e){return t.startsWith(e)})).length}}};var a=r(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),r("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),r("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),r("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const f={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const c=(0,a.Z)(f,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.$page.props.flash.success&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):r("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?r("span",[t._v("There is one form error.")]):r("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,p={components:{Dropdown:i.Z,FlashMessages:c,Icon:n.Z,Logo:o.Z,MainMenu:l}};const u=(0,a.Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),r("div",{staticClass:"md:flex md:flex-col"},[r("div",{staticClass:"md:h-screen md:flex md:flex-col"},[r("div",{staticClass:"md:flex md:flex-shrink-0"},[r("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[r("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[r("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),r("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[r("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),r("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[r("main-menu")],1)])],1),t._v(" "),r("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[r("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),r("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[r("div",{staticClass:"flex items-center cursor-pointer select-none group"},[r("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[r("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),r("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),r("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),r("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[r("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),r("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[r("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},1100:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{loading:Boolean}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{staticClass:"flex items-center",attrs:{disabled:t.loading}},[t.loading?r("div",{staticClass:"btn-spinner mr-2"}):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},3354:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const n=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),r("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},3669:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"select-input-".concat(this._uid)}},value:[String,Number,Boolean],label:String,error:String},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("input",t)}},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"input",staticClass:"form-select",class:{error:t.error},attrs:{id:t.id},on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?r:r[0]}}},"select",t.$attrs,!1),[t._t("default")],2),t._v(" "),t.error?r("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},6119:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"text-input-".concat(this._uid)}},type:{type:String,default:"text"},value:String,label:String,error:String,readonly:Boolean},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},setSelectionRange:function(t,e){this.$refs.input.setSelectionRange(t,e)}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("input",t._b({ref:"input",staticClass:"form-input",class:{error:t.error},attrs:{id:t.id,readonly:t.readonly,type:t.type},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},"input",t.$attrs,!1)),t._v(" "),t.error?r("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},1900:(t,e,r)=>{"use strict";function n(t,e,r,n,o,i,s,a){var l,f="function"==typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=r,f._compiled=!0),n&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},f._ssrRegister=l):o&&(l=a?function(){o.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(f.functional){f._injectStyles=l;var c=f.render;f.render=function(t,e){return l.call(e),c(t,e)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:f}}r.d(e,{Z:()=>n})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[36],{5036:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>f});var n=r(5007),o=r(9714),i=r(6119),s=r(3669),a=r(1100),l=r(284);const c={metaInfo:function(){return{title:this.form.name}},components:{Icon:n.Z,LoadingButton:a.Z,SelectInput:s.Z,TextInput:i.Z,TrashedMessage:l.Z},layout:o.Z,props:{organization:Object},remember:"form",data:function(){return{form:this.$inertia.form({name:this.organization.name,email:this.organization.email,phone:this.organization.phone,address:this.organization.address,city:this.organization.city,region:this.organization.region,country:this.organization.country,postal_code:this.organization.postal_code})}},methods:{update:function(){this.form.put(this.route("organizations.update",this.organization.id))},destroy:function(){confirm("Are you sure you want to delete this organization?")&&this.$inertia.delete(this.route("organizations.destroy",this.organization.id))},restore:function(){confirm("Are you sure you want to restore this organization?")&&this.$inertia.put(this.route("organizations.restore",this.organization.id))}}};const f=(0,r(1900).Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("h1",{staticClass:"mb-8 font-bold text-3xl"},[r("inertia-link",{staticClass:"text-indigo-400 hover:text-indigo-600",attrs:{href:t.route("organizations")}},[t._v("Organizations")]),t._v(" "),r("span",{staticClass:"text-indigo-400 font-medium"},[t._v("/")]),t._v("\n "+t._s(t.form.name)+"\n ")],1),t._v(" "),t.organization.deleted_at?r("trashed-message",{staticClass:"mb-6",on:{restore:t.restore}},[t._v("\n This organization has been deleted.\n ")]):t._e(),t._v(" "),r("div",{staticClass:"bg-white rounded-md shadow overflow-hidden max-w-3xl"},[r("form",{on:{submit:function(e){return e.preventDefault(),t.update(e)}}},[r("div",{staticClass:"p-8 -mr-6 -mb-8 flex flex-wrap"},[r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.name,label:"Name"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.email,label:"Email"},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.phone,label:"Phone"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.address,label:"Address"},model:{value:t.form.address,callback:function(e){t.$set(t.form,"address",e)},expression:"form.address"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.city,label:"City"},model:{value:t.form.city,callback:function(e){t.$set(t.form,"city",e)},expression:"form.city"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.region,label:"Province/State"},model:{value:t.form.region,callback:function(e){t.$set(t.form,"region",e)},expression:"form.region"}}),t._v(" "),r("select-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.country,label:"Country"},model:{value:t.form.country,callback:function(e){t.$set(t.form,"country",e)},expression:"form.country"}},[r("option",{domProps:{value:null}}),t._v(" "),r("option",{attrs:{value:"CA"}},[t._v("Canada")]),t._v(" "),r("option",{attrs:{value:"US"}},[t._v("United States")])]),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.postal_code,label:"Postal code"},model:{value:t.form.postal_code,callback:function(e){t.$set(t.form,"postal_code",e)},expression:"form.postal_code"}})],1),t._v(" "),r("div",{staticClass:"px-8 py-4 bg-gray-50 border-t border-gray-100 flex items-center"},[t.organization.deleted_at?t._e():r("button",{staticClass:"text-red-600 hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:t.destroy}},[t._v("Delete Organization")]),t._v(" "),r("loading-button",{staticClass:"btn-indigo ml-auto",attrs:{loading:t.form.processing,type:"submit"}},[t._v("Update Organization")])],1)])]),t._v(" "),r("h2",{staticClass:"mt-12 font-bold text-2xl"},[t._v("Contacts")]),t._v(" "),r("div",{staticClass:"mt-6 bg-white rounded shadow overflow-x-auto"},[r("table",{staticClass:"w-full whitespace-nowrap"},[t._m(0),t._v(" "),t._l(t.organization.contacts,(function(e){return r("tr",{key:e.id,staticClass:"hover:bg-gray-100 focus-within:bg-gray-100"},[r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center focus:text-indigo-500",attrs:{href:t.route("contacts.edit",e.id)}},[t._v("\n "+t._s(e.name)+"\n "),e.deleted_at?r("icon",{staticClass:"flex-shrink-0 w-3 h-3 fill-gray-400 ml-2",attrs:{name:"trash"}}):t._e()],1)],1),t._v(" "),r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center",attrs:{href:t.route("contacts.edit",e.id),tabindex:"-1"}},[t._v("\n "+t._s(e.city)+"\n ")])],1),t._v(" "),r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center",attrs:{href:t.route("contacts.edit",e.id),tabindex:"-1"}},[t._v("\n "+t._s(e.phone)+"\n ")])],1),t._v(" "),r("td",{staticClass:"border-t w-px"},[r("inertia-link",{staticClass:"px-4 flex items-center",attrs:{href:t.route("contacts.edit",e.id),tabindex:"-1"}},[r("icon",{staticClass:"block w-6 h-6 fill-gray-400",attrs:{name:"cheveron-right"}})],1)],1)])})),t._v(" "),0===t.organization.contacts.length?r("tr",[r("td",{staticClass:"border-t px-6 py-4",attrs:{colspan:"4"}},[t._v("No contacts found.")])]):t._e()],2)])],1)}),[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",{staticClass:"text-left font-bold"},[r("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Name")]),t._v(" "),r("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("City")]),t._v(" "),r("th",{staticClass:"px-6 pt-6 pb-4",attrs:{colspan:"2"}},[t._v("Phone")])])}],!1,null,null,null).exports},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>pt});var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),r=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?t:c(l(t))}function f(t){return t&&t.referenceNode?t.referenceNode:t}var p=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function u(t){return 11===t?p:10===t?d:p||d}function h(t){if(!t)return document.documentElement;for(var e=u(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===a(r,"position")?h(r):r:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,o=r?e:t,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&h(s.firstElementChild)!==s?h(l):l;var c=m(t);return c.host?v(c.host,e):v(t,m(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[r]}return t[r]}function w(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g(e,"top"),o=g(e,"left"),i=r?-1:1;return t.top+=n*i,t.bottom+=n*i,t.left+=o*i,t.right+=o*i,t}function b(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function x(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],u(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,r=t.documentElement,n=u(10)&&getComputedStyle(r);return{height:x("Height",e,r,n),width:x("Width",e,r,n)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),z=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function E(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function M(t){var e={};try{if(u(10)){e=t.getBoundingClientRect();var r=g(t,"top"),n=g(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,c=t.offsetWidth-s,f=t.offsetHeight-l;if(c||f){var p=a(t);c-=b(p,"x"),f-=b(p,"y"),o.width-=c,o.height-=f}return E(o)}function L(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=u(10),o="HTML"===e.nodeName,i=M(t),s=M(e),l=c(t),f=a(e),p=parseFloat(f.borderTopWidth),d=parseFloat(f.borderLeftWidth);r&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=E({top:i.top-s.top-p,left:i.left-s.left-d,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!n&&o){var m=parseFloat(f.marginTop),v=parseFloat(f.marginLeft);h.top-=p-m,h.bottom-=p-m,h.left-=d-v,h.right-=d-v,h.marginTop=m,h.marginLeft=v}return(n&&!r?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(h=w(h,e)),h}function O(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=L(t,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:g(r),a=e?0:g(r,"left"),l={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:i};return E(l)}function H(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var r=l(t);return!!r&&H(r)}function $(t){if(!t||!t.parentElement||u())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function V(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?$(t):v(t,f(e));if("viewport"===n)i=O(s,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=c(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var p=L(a,s,o);if("HTML"!==a.nodeName||H(s))i=p;else{var d=y(t.ownerDocument),u=d.height,h=d.width;i.top+=p.top-p.marginTop,i.bottom=u+p.top,i.left+=p.left-p.marginLeft,i.right=h+p.left}}var m="number"==typeof(r=r||0);return i.left+=m?r:r.left||0,i.top+=m?r:r.top||0,i.right-=m?r:r.right||0,i.bottom-=m?r:r.bottom||0,i}function S(t){return t.width*t.height}function T(t,e,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=V(r,n,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return k({key:t},a[t],{area:S(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),f=c.length>0?c[0].key:l[0].key,p=t.split("-")[1];return f+(p?"-"+p:"")}function B(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?$(e):v(e,f(r));return L(r,o,n)}function N(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function D(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function A(t,e,r){r=r.split("-")[0];var n=N(t),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=r===a?e[a]-n[c]:e[D(a)],o}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Z(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=F(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&s(r)&&(e.offsets.popper=E(e.offsets.popper),e.offsets.reference=E(e.offsets.reference),e=r(e,t))})),e}function P(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=B(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=T(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=A(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Z(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function U(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function j(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],i=o?""+o+r:t;if(void 0!==document.body.style[i])return i}return null}function W(){return this.state.isDestroyed=!0,U(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[j("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function I(t){var e=t.ownerDocument;return e?e.defaultView:window}function R(t,e,r,n){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,r,{passive:!0}),o||R(c(i.parentNode),e,r,n),n.push(i)}function Y(t,e,r,n){r.updateBound=n,I(t).addEventListener("resize",r.updateBound,{passive:!0});var o=c(t);return R(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,I(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(t,e,r){var n=F(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!o){var i="`"+e+"`",s="`"+r+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=et.indexOf(t),n=et.slice(r+1).concat(et.slice(0,r));return e?n.reverse():n}var nt="flip",ot="clockwise",it="counterclockwise";function st(t,e,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(F(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,n){var o=(1===n?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=r;break;case"%":case"%r":default:a=n}return E(a)[e]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,o,e,r)}))}))).forEach((function(t,e){t.forEach((function(r,n){X(r)&&(o[e]+=r*("-"===t[n-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(r),l=a?"left":"top",c=a?"width":"height",f={start:z({},l,i[l]),end:z({},l,i[l]+i[c]-s[c])};t.offsets.popper=k({},s,f[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=X(+r)?[+r,0]:st(r,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||h(t.instance.popper);t.instance.reference===r&&(r=h(r));var n=j("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=V(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);o.top=i,o.left=s,o[n]=a,e.boundaries=l;var c=e.priority,f=t.offsets.popper,p={primary:function(t){var r=f[t];return f[t]<l[t]&&!e.escapeWithReference&&(r=Math.max(f[t],l[t])),z({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=f[r];return f[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(f[r],l[t]-("right"===t?f.width:f.height))),z({},r,n)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=k({},f,p[e](t))})),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return r[a]<i(n[l])&&(t.offsets.popper[l]=i(n[l])-r[c]),r[l]>i(n[a])&&(t.offsets.popper[l]=i(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),f=c?"height":"width",p=c?"Top":"Left",d=p.toLowerCase(),u=c?"left":"top",h=c?"bottom":"right",m=N(n)[f];l[h]-m<s[d]&&(t.offsets.popper[d]-=s[d]-(l[h]-m)),l[d]+m>s[h]&&(t.offsets.popper[d]+=l[d]+m-s[h]),t.offsets.popper=E(t.offsets.popper);var v=l[d]+l[f]/2-m/2,g=a(t.instance.popper),w=parseFloat(g["margin"+p]),b=parseFloat(g["border"+p+"Width"]),x=v-t.offsets.popper[d]-w-b;return x=Math.max(Math.min(s[f]-m,x),0),t.arrowElement=n,t.offsets.arrow=(z(r={},d,Math.round(x)),z(r,u,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(U(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=V(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=D(n),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case nt:s=[n,o];break;case ot:s=rt(n);break;case it:s=rt(n,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=D(n);var c=t.offsets.popper,f=t.offsets.reference,p=Math.floor,d="left"===n&&p(c.right)>p(f.left)||"right"===n&&p(c.left)<p(f.right)||"top"===n&&p(c.bottom)>p(f.top)||"bottom"===n&&p(c.top)<p(f.bottom),u=p(c.left)<p(r.left),h=p(c.right)>p(r.right),m=p(c.top)<p(r.top),v=p(c.bottom)>p(r.bottom),g="left"===n&&u||"right"===n&&h||"top"===n&&m||"bottom"===n&&v,w=-1!==["top","bottom"].indexOf(n),b=!!e.flipVariations&&(w&&"start"===i&&u||w&&"end"===i&&h||!w&&"start"===i&&m||!w&&"end"===i&&v),x=!!e.flipVariationsByContent&&(w&&"start"===i&&h||w&&"end"===i&&u||!w&&"start"===i&&v||!w&&"end"===i&&m),y=b||x;(d||g||y)&&(t.flipped=!0,(d||g)&&(n=s[l+1]),y&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=n+(i?"-"+i:""),t.offsets.popper=k({},t.offsets.popper,A(t.instance.popper,t.offsets.reference,t.placement)),t=Z(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,o=n.popper,i=n.reference,s=-1!==["left","right"].indexOf(r),a=-1===["top","left"].indexOf(r);return o[s?"left":"top"]=i[r]-(a?o[s?"width":"height"]:0),t.placement=D(e),t.offsets.popper=E(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=F(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,o=t.offsets.popper,i=F(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=h(t.instance.popper),l=M(a),c={position:o.position},f=function(t,e){var r=t.offsets,n=r.popper,o=r.reference,i=Math.round,s=Math.floor,a=function(t){return t},l=i(o.width),c=i(n.width),f=-1!==["left","right"].indexOf(t.placement),p=-1!==t.placement.indexOf("-"),d=e?f||p||l%2==c%2?i:s:a,u=e?i:a;return{left:d(l%2==1&&c%2==1&&!p&&e?n.left-1:n.left),top:u(n.top),bottom:u(n.bottom),right:d(n.right)}}(t,window.devicePixelRatio<2||!K),p="bottom"===r?"top":"bottom",d="right"===n?"left":"right",u=j("transform"),m=void 0,v=void 0;if(v="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+f.bottom:-l.height+f.bottom:f.top,m="right"===d?"HTML"===a.nodeName?-a.clientWidth+f.right:-l.width+f.right:f.left,s&&u)c[u]="translate3d("+m+"px, "+v+"px, 0)",c[p]=0,c[d]=0,c.willChange="transform";else{var g="bottom"===p?-1:1,w="right"===d?-1:1;c[p]=v*g,c[d]=m*w,c.willChange=p+", "+d}var b={"x-placement":t.placement};return t.attributes=k({},b,t.attributes),t.styles=k({},c,t.styles),t.arrowStyles=k({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return J(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,o){var i=B(o,e,t,r.positionFixed),s=T(r.placement,i,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},lt=function(){function t(e,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=k({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(k({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){n.options.modifiers[e]=k({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return k({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return P.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const ct=lt,ft={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ct(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const pt=(0,r(1900).Z)(ft,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?r("portal",{attrs:{to:"dropdown"}},[r("div",[r("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),r("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5007:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{name:String}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return"apple"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("g",{attrs:{"fill-rule":"nonzero"}},[r("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),r("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,r)=>{"use strict";r.d(e,{Z:()=>d});var n=r(5007),o=r(3354),i=r(381);const s={components:{Icon:n.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return""===r[0]?""===t:r.filter((function(e){return t.startsWith(e)})).length}}};var a=r(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),r("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),r("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),r("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const c={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const f=(0,a.Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.$page.props.flash.success&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):r("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?r("span",[t._v("There is one form error.")]):r("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,p={components:{Dropdown:i.Z,FlashMessages:f,Icon:n.Z,Logo:o.Z,MainMenu:l}};const d=(0,a.Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),r("div",{staticClass:"md:flex md:flex-col"},[r("div",{staticClass:"md:h-screen md:flex md:flex-col"},[r("div",{staticClass:"md:flex md:flex-shrink-0"},[r("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[r("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[r("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),r("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[r("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),r("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[r("main-menu")],1)])],1),t._v(" "),r("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[r("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),r("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[r("div",{staticClass:"flex items-center cursor-pointer select-none group"},[r("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[r("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),r("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),r("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),r("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[r("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),r("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[r("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},1100:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{loading:Boolean}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{staticClass:"flex items-center",attrs:{disabled:t.loading}},[t.loading?r("div",{staticClass:"btn-spinner mr-2"}):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},3354:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const n=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),r("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},3669:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"select-input-".concat(this._uid)}},value:[String,Number,Boolean],label:String,error:String},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("input",t)}},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"input",staticClass:"form-select",class:{error:t.error},attrs:{id:t.id},on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?r:r[0]}}},"select",t.$attrs,!1),[t._t("default")],2),t._v(" "),t.error?r("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},6119:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"text-input-".concat(this._uid)}},type:{type:String,default:"text"},value:String,label:String,error:String,readonly:Boolean},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},setSelectionRange:function(t,e){this.$refs.input.setSelectionRange(t,e)}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("input",t._b({ref:"input",staticClass:"form-input",class:{error:t.error},attrs:{id:t.id,readonly:t.readonly,type:t.type},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},"input",t.$attrs,!1)),t._v(" "),t.error?r("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},284:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={components:{Icon:r(5007).Z}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"p-4 bg-yellow-300 rounded flex items-center justify-between max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("icon",{staticClass:"flex-shrink-0 w-4 h-4 fill-yellow-800 mr-2",attrs:{name:"trash"}}),t._v(" "),r("div",{staticClass:"text-sm font-medium text-yellow-800"},[t._t("default")],2)],1),t._v(" "),r("button",{staticClass:"text-sm text-yellow-800 hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:function(e){return t.$emit("restore")}}},[t._v("Restore")])])}),[],!1,null,null,null).exports},1900:(t,e,r)=>{"use strict";function n(t,e,r,n,o,i,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var f=c.render;c.render=function(t,e){return l.call(e),f(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}r.d(e,{Z:()=>n})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[428],{8552:(t,e,r)=>{var n=r(852)(r(5639),"DataView");t.exports=n},1989:(t,e,r)=>{var n=r(1789),o=r(401),i=r(7667),s=r(1327),a=r(1866);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l},8407:(t,e,r)=>{var n=r(7040),o=r(4125),i=r(2117),s=r(7518),a=r(4705);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l},7071:(t,e,r)=>{var n=r(852)(r(5639),"Map");t.exports=n},3369:(t,e,r)=>{var n=r(4785),o=r(1285),i=r(6e3),s=r(9916),a=r(5265);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l},3818:(t,e,r)=>{var n=r(852)(r(5639),"Promise");t.exports=n},8525:(t,e,r)=>{var n=r(852)(r(5639),"Set");t.exports=n},8668:(t,e,r)=>{var n=r(3369),o=r(619),i=r(2385);function s(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}s.prototype.add=s.prototype.push=o,s.prototype.has=i,t.exports=s},6384:(t,e,r)=>{var n=r(8407),o=r(7465),i=r(3779),s=r(7599),a=r(4758),l=r(4309);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=s,c.prototype.has=a,c.prototype.set=l,t.exports=c},2705:(t,e,r)=>{var n=r(5639).Symbol;t.exports=n},1149:(t,e,r)=>{var n=r(5639).Uint8Array;t.exports=n},577:(t,e,r)=>{var n=r(852)(r(5639),"WeakMap");t.exports=n},4963:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var s=t[r];e(s,r,t)&&(i[o++]=s)}return i}},4636:(t,e,r)=>{var n=r(2545),o=r(5694),i=r(1469),s=r(4144),a=r(5776),l=r(6719),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),u=!r&&o(t),p=!r&&!u&&s(t),f=!r&&!u&&!p&&l(t),h=r||u||p||f,d=h?n(t.length,String):[],v=d.length;for(var m in t)!e&&!c.call(t,m)||h&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,v))||d.push(m);return d}},9932:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},2488:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},2908:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},708:(t,e,r)=>{var n=r(9465),o=r(7813),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var s=t[e];i.call(t,e)&&o(s,r)&&(void 0!==r||e in t)||n(t,e,r)}},8470:(t,e,r)=>{var n=r(7813);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},9465:(t,e,r)=>{var n=r(8777);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},8483:(t,e,r)=>{var n=r(5063)();t.exports=n},7816:(t,e,r)=>{var n=r(8483),o=r(3674);t.exports=function(t,e){return t&&n(t,e,o)}},7786:(t,e,r)=>{var n=r(1811),o=r(327);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},8866:(t,e,r)=>{var n=r(2488),o=r(1469);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},4239:(t,e,r)=>{var n=r(2705),o=r(9607),i=r(2333),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?o(t):i(t)}},13:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},9454:(t,e,r)=>{var n=r(4239),o=r(7005);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},939:(t,e,r)=>{var n=r(2492),o=r(7005);t.exports=function t(e,r,i,s,a){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,s,t,a))}},2492:(t,e,r)=>{var n=r(6384),o=r(7114),i=r(8351),s=r(6096),a=r(4160),l=r(1469),c=r(4144),u=r(6719),p="[object Arguments]",f="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,v,m,g){var w=l(t),x=l(e),b=w?f:a(t),y=x?f:a(e),_=(b=b==p?h:b)==h,C=(y=y==p?h:y)==h,O=b==y;if(O&&c(t)){if(!c(e))return!1;w=!0,_=!1}if(O&&!_)return g||(g=new n),w||u(t)?o(t,e,r,v,m,g):i(t,e,b,r,v,m,g);if(!(1&r)){var j=_&&d.call(t,"__wrapped__"),z=C&&d.call(e,"__wrapped__");if(j||z){var k=j?t.value():t,E=z?e.value():e;return g||(g=new n),m(k,E,r,v,g)}}return!!O&&(g||(g=new n),s(t,e,r,v,m,g))}},2958:(t,e,r)=>{var n=r(6384),o=r(939);t.exports=function(t,e,r,i){var s=r.length,a=s,l=!i;if(null==t)return!a;for(t=Object(t);s--;){var c=r[s];if(l&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++s<a;){var u=(c=r[s])[0],p=t[u],f=c[1];if(l&&c[2]){if(void 0===p&&!(u in t))return!1}else{var h=new n;if(i)var d=i(p,f,u,t,e,h);if(!(void 0===d?o(f,p,3,i,h):d))return!1}}return!0}},8458:(t,e,r)=>{var n=r(3560),o=r(5346),i=r(3218),s=r(346),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,f=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?f:a).test(s(t))}},8749:(t,e,r)=>{var n=r(4239),o=r(1780),i=r(7005),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!s[n(t)]}},7206:(t,e,r)=>{var n=r(1573),o=r(6432),i=r(6557),s=r(1469),a=r(9601);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?s(t)?o(t[0],t[1]):n(t):a(t)}},280:(t,e,r)=>{var n=r(5726),o=r(6916),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},313:(t,e,r)=>{var n=r(3218),o=r(5726),i=r(3498),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=o(t),r=[];for(var a in t)("constructor"!=a||!e&&s.call(t,a))&&r.push(a);return r}},1573:(t,e,r)=>{var n=r(2958),o=r(1499),i=r(2634);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},6432:(t,e,r)=>{var n=r(939),o=r(7361),i=r(9095),s=r(5403),a=r(9162),l=r(2634),c=r(327);t.exports=function(t,e){return s(t)&&a(e)?l(c(t),e):function(r){var s=o(r,t);return void 0===s&&s===e?i(r,t):n(e,s,3)}}},3012:(t,e,r)=>{var n=r(7786),o=r(611),i=r(1811);t.exports=function(t,e,r){for(var s=-1,a=e.length,l={};++s<a;){var c=e[s],u=n(t,c);r(u,c)&&o(l,i(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 n=r(7786);t.exports=function(t){return function(e){return n(e,t)}}},611:(t,e,r)=>{var n=r(708),o=r(1811),i=r(5776),s=r(3218),a=r(327);t.exports=function(t,e,r,l){if(!s(t))return t;for(var c=-1,u=(e=o(e,t)).length,p=u-1,f=t;null!=f&&++c<u;){var h=a(e[c]),d=r;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(c!=p){var v=f[h];void 0===(d=l?l(v,h,f):void 0)&&(d=s(v)?v:i(e[c+1])?[]:{})}n(f,h,d),f=f[h]}return t}},2545:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},531:(t,e,r)=>{var n=r(2705),o=r(9932),i=r(1469),s=r(3448),a=n?n.prototype:void 0,l=a?a.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(s(e))return l?l.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r}},7561:(t,e,r)=>{var n=r(7990),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},1717:t=>{t.exports=function(t){return function(e){return t(e)}}},4757:t=>{t.exports=function(t,e){return t.has(e)}},1811:(t,e,r)=>{var n=r(1469),o=r(5403),i=r(5514),s=r(9833);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(s(t))}},4429:(t,e,r)=>{var n=r(5639)["__core-js_shared__"];t.exports=n},5063:t=>{t.exports=function(t){return function(e,r,n){for(var o=-1,i=Object(e),s=n(e),a=s.length;a--;){var l=s[t?a:++o];if(!1===r(i[l],l,i))break}return e}}},8777:(t,e,r)=>{var n=r(852),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},7114:(t,e,r)=>{var n=r(8668),o=r(2908),i=r(4757);t.exports=function(t,e,r,s,a,l){var c=1&r,u=t.length,p=e.length;if(u!=p&&!(c&&p>u))return!1;var f=l.get(t),h=l.get(e);if(f&&h)return f==e&&h==t;var d=-1,v=!0,m=2&r?new n:void 0;for(l.set(t,e),l.set(e,t);++d<u;){var g=t[d],w=e[d];if(s)var x=c?s(w,g,d,e,t,l):s(g,w,d,t,e,l);if(void 0!==x){if(x)continue;v=!1;break}if(m){if(!o(e,(function(t,e){if(!i(m,e)&&(g===t||a(g,t,r,s,l)))return m.push(e)}))){v=!1;break}}else if(g!==w&&!a(g,w,r,s,l)){v=!1;break}}return l.delete(t),l.delete(e),v}},8351:(t,e,r)=>{var n=r(2705),o=r(1149),i=r(7813),s=r(7114),a=r(8776),l=r(1814),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,r,n,c,p,f){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 o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+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 h=a;case"[object Set]":var d=1&n;if(h||(h=l),t.size!=e.size&&!d)return!1;var v=f.get(t);if(v)return v==e;n|=2,f.set(t,e);var m=s(h(t),h(e),n,c,p,f);return f.delete(t),m;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},6096:(t,e,r)=>{var n=r(8234),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,s,a){var l=1&r,c=n(t),u=c.length;if(u!=n(e).length&&!l)return!1;for(var p=u;p--;){var f=c[p];if(!(l?f in e:o.call(e,f)))return!1}var h=a.get(t),d=a.get(e);if(h&&d)return h==e&&d==t;var v=!0;a.set(t,e),a.set(e,t);for(var m=l;++p<u;){var g=t[f=c[p]],w=e[f];if(i)var x=l?i(w,g,f,e,t,a):i(g,w,f,t,e,a);if(!(void 0===x?g===w||s(g,w,r,i,a):x)){v=!1;break}m||(m="constructor"==f)}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 a.delete(t),a.delete(e),v}},1957:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},8234:(t,e,r)=>{var n=r(8866),o=r(9551),i=r(3674);t.exports=function(t){return n(t,i,o)}},6904:(t,e,r)=>{var n=r(8866),o=r(1442),i=r(1704);t.exports=function(t){return n(t,i,o)}},5050:(t,e,r)=>{var n=r(7019);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},1499:(t,e,r)=>{var n=r(9162),o=r(3674);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var i=e[r],s=t[i];e[r]=[i,s,n(s)]}return e}},852:(t,e,r)=>{var n=r(8458),o=r(7801);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},5924:(t,e,r)=>{var n=r(5569)(Object.getPrototypeOf,Object);t.exports=n},9607:(t,e,r)=>{var n=r(2705),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[a]=r:delete t[a]),o}},9551:(t,e,r)=>{var n=r(4963),o=r(479),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),n(s(t),(function(e){return i.call(t,e)})))}:o;t.exports=a},1442:(t,e,r)=>{var n=r(2488),o=r(5924),i=r(9551),s=r(479),a=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,i(t)),t=o(t);return e}:s;t.exports=a},4160:(t,e,r)=>{var n=r(8552),o=r(7071),i=r(3818),s=r(8525),a=r(577),l=r(4239),c=r(346),u="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",v=c(n),m=c(o),g=c(i),w=c(s),x=c(a),b=l;(n&&b(new n(new ArrayBuffer(1)))!=d||o&&b(new o)!=u||i&&b(i.resolve())!=p||s&&b(new s)!=f||a&&b(new a)!=h)&&(b=function(t){var e=l(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case v:return d;case m:return u;case g:return p;case w:return f;case x:return h}return e}),t.exports=b},7801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},222:(t,e,r)=>{var n=r(1811),o=r(5694),i=r(1469),s=r(5776),a=r(1780),l=r(327);t.exports=function(t,e,r){for(var c=-1,u=(e=n(e,t)).length,p=!1;++c<u;){var f=l(e[c]);if(!(p=null!=t&&r(t,f)))break;t=t[f]}return p||++c!=u?p:!!(u=null==t?0:t.length)&&a(u)&&s(f,u)&&(i(t)||o(t))}},1789:(t,e,r)=>{var n=r(4536);t.exports=function(){this.__data__=n?n(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 n=r(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},1327:(t,e,r)=>{var n=r(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1866:(t,e,r)=>{var n=r(4536);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},5776:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},5403:(t,e,r)=>{var n=r(1469),o=r(3448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(s.test(t)||!i.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 n,o=r(4429),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},5726:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},9162:(t,e,r)=>{var n=r(3218);t.exports=function(t){return t==t&&!n(t)}},7040:t=>{t.exports=function(){this.__data__=[],this.size=0}},4125:(t,e,r)=>{var n=r(8470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},2117:(t,e,r)=>{var n=r(8470);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},7518:(t,e,r)=>{var n=r(8470);t.exports=function(t){return n(this.__data__,t)>-1}},4705:(t,e,r)=>{var n=r(8470);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},4785:(t,e,r)=>{var n=r(1989),o=r(8407),i=r(7071);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},1285:(t,e,r)=>{var n=r(5050);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6e3:(t,e,r)=>{var n=r(5050);t.exports=function(t){return n(this,t).get(t)}},9916:(t,e,r)=>{var n=r(5050);t.exports=function(t){return n(this,t).has(t)}},5265:(t,e,r)=>{var n=r(5050);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},8776:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,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 n=r(8306);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},4536:(t,e,r)=>{var n=r(852)(Object,"create");t.exports=n},6916:(t,e,r)=>{var n=r(5569)(Object.keys,Object);t.exports=n},3498:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},1167:(t,e,r)=>{t=r.nmd(t);var n=r(1957),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,s=i&&i.exports===o&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a},2333:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},5639:(t,e,r)=>{var n=r(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},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 n=r(8407);t.exports=function(){this.__data__=new n,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 n=r(8407),o=r(7071),i=r(3369);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(s)}return r.set(t,e),this.size=r.size,this}},5514:(t,e,r)=>{var n=r(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)})),e}));t.exports=s},327:(t,e,r)=>{var n=r(3448);t.exports=function(t){if("string"==typeof t||n(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 n=r(3218),o=r(7771),i=r(4841),s=Math.max,a=Math.min;t.exports=function(t,e,r){var l,c,u,p,f,h,d=0,v=!1,m=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function w(e){var r=l,n=c;return l=c=void 0,d=e,p=t.apply(n,r)}function x(t){return d=t,f=setTimeout(y,e),v?w(t):p}function b(t){var r=t-h;return void 0===h||r>=e||r<0||m&&t-d>=u}function y(){var t=o();if(b(t))return _(t);f=setTimeout(y,function(t){var r=e-(t-h);return m?a(r,u-(t-d)):r}(t))}function _(t){return f=void 0,g&&l?w(t):(l=c=void 0,p)}function C(){var t=o(),r=b(t);if(l=arguments,c=this,h=t,r){if(void 0===f)return x(h);if(m)return clearTimeout(f),f=setTimeout(y,e),w(h)}return void 0===f&&(f=setTimeout(y,e)),p}return e=i(e)||0,n(r)&&(v=!!r.leading,u=(m="maxWait"in r)?s(i(r.maxWait)||0,e):u,g="trailing"in r?!!r.trailing:g),C.cancel=function(){void 0!==f&&clearTimeout(f),d=0,l=h=c=f=void 0},C.flush=function(){return void 0===f?p:_(o())},C}},7813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},7361:(t,e,r)=>{var n=r(7786);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},9095:(t,e,r)=>{var n=r(13),o=r(222);t.exports=function(t,e){return null!=t&&o(t,e,n)}},6557:t=>{t.exports=function(t){return t}},5694:(t,e,r)=>{var n=r(9454),o=r(7005),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(t){return o(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=l},1469:t=>{var e=Array.isArray;t.exports=e},8612:(t,e,r)=>{var n=r(3560),o=r(1780);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},4144:(t,e,r)=>{t=r.nmd(t);var n=r(5639),o=r(5062),i=e&&!e.nodeType&&e,s=i&&t&&!t.nodeType&&t,a=s&&s.exports===i?n.Buffer:void 0,l=(a?a.isBuffer:void 0)||o;t.exports=l},3560:(t,e,r)=>{var n=r(4239),o=r(3218);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3218:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},3448:(t,e,r)=>{var n=r(4239),o=r(7005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},6719:(t,e,r)=>{var n=r(8749),o=r(1717),i=r(1167),s=i&&i.isTypedArray,a=s?o(s):n;t.exports=a},3674:(t,e,r)=>{var n=r(4636),o=r(280),i=r(8612);t.exports=function(t){return i(t)?n(t):o(t)}},1704:(t,e,r)=>{var n=r(4636),o=r(313),i=r(8612);t.exports=function(t){return i(t)?n(t,!0):o(t)}},6604:(t,e,r)=>{var n=r(9465),o=r(7816),i=r(7206);t.exports=function(t,e){var r={};return e=i(e,3),o(t,(function(t,o,i){n(r,o,e(t,o,i))})),r}},8306:(t,e,r)=>{var n=r(3369);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=t.apply(this,n);return r.cache=i.set(o,s)||i,s};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},7771:(t,e,r)=>{var n=r(5639);t.exports=function(){return n.Date.now()}},5937:(t,e,r)=>{var n=r(9932),o=r(7206),i=r(3012),s=r(6904);t.exports=function(t,e){if(null==t)return{};var r=n(s(t),(function(t){return[t]}));return e=o(e),i(t,r,(function(t,r){return e(t,r[0])}))}},9601:(t,e,r)=>{var n=r(371),o=r(9152),i=r(5403),s=r(327);t.exports=function(t){return i(t)?n(s(t)):o(t)}},479:t=>{t.exports=function(){return[]}},5062:t=>{t.exports=function(){return!1}},3493:(t,e,r)=>{var n=r(3279),o=r(3218);t.exports=function(t,e,r){var i=!0,s=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),n(t,e,{leading:i,maxWait:e,trailing:s})}},4841:(t,e,r)=>{var n=r(7561),o=r(3218),i=r(3448),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=a.test(t);return r||l.test(t)?c(t.slice(2),r?2:8):s.test(t)?NaN:+t}},9833:(t,e,r)=>{var n=r(531);t.exports=function(t){return null==t?"":n(t)}},1428:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>d});var n=r(5007),o=r(5937),i=r.n(o),s=r(9714),a=r(3493),l=r.n(a),c=r(6604),u=r.n(c),p=r(5251),f=r(8014);const h={metaInfo:{title:"Organizations"},components:{Icon:n.Z,Pagination:p.Z,SearchFilter:f.Z},layout:s.Z,props:{organizations:Object,filters:Object},data:function(){return{form:{search:this.filters.search,trashed:this.filters.trashed}}},watch:{form:{handler:l()((function(){var t=i()(this.form);this.$inertia.replace(this.route("organizations",Object.keys(t).length?t:{remember:"forget"}))}),150),deep:!0}},methods:{reset:function(){this.form=u()(this.form,(function(){return null}))}}};const d=(0,r(1900).Z)(h,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("h1",{staticClass:"mb-8 font-bold text-3xl"},[t._v("Organizations")]),t._v(" "),r("div",{staticClass:"mb-6 flex justify-between items-center"},[r("search-filter",{staticClass:"w-full max-w-md mr-4",on:{reset:t.reset},model:{value:t.form.search,callback:function(e){t.$set(t.form,"search",e)},expression:"form.search"}},[r("label",{staticClass:"block text-gray-700"},[t._v("Trashed:")]),t._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:t.form.trashed,expression:"form.trashed"}],staticClass:"mt-1 w-full form-select",on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.form,"trashed",e.target.multiple?r:r[0])}}},[r("option",{domProps:{value:null}}),t._v(" "),r("option",{attrs:{value:"with"}},[t._v("With Trashed")]),t._v(" "),r("option",{attrs:{value:"only"}},[t._v("Only Trashed")])])]),t._v(" "),r("inertia-link",{staticClass:"btn-indigo",attrs:{href:t.route("organizations.create")}},[r("span",[t._v("Create")]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v("Organization")])])],1),t._v(" "),r("div",{staticClass:"bg-white rounded-md shadow overflow-x-auto"},[r("table",{staticClass:"w-full whitespace-nowrap"},[t._m(0),t._v(" "),t._l(t.organizations.data,(function(e){return r("tr",{key:e.id,staticClass:"hover:bg-gray-100 focus-within:bg-gray-100"},[r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center focus:text-indigo-500",attrs:{href:t.route("organizations.edit",e.id)}},[t._v("\n "+t._s(e.name)+"\n "),e.deleted_at?r("icon",{staticClass:"flex-shrink-0 w-3 h-3 fill-gray-400 ml-2",attrs:{name:"trash"}}):t._e()],1)],1),t._v(" "),r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center",attrs:{href:t.route("organizations.edit",e.id),tabindex:"-1"}},[t._v("\n "+t._s(e.city)+"\n ")])],1),t._v(" "),r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center",attrs:{href:t.route("organizations.edit",e.id),tabindex:"-1"}},[t._v("\n "+t._s(e.phone)+"\n ")])],1),t._v(" "),r("td",{staticClass:"border-t w-px"},[r("inertia-link",{staticClass:"px-4 flex items-center",attrs:{href:t.route("organizations.edit",e.id),tabindex:"-1"}},[r("icon",{staticClass:"block w-6 h-6 fill-gray-400",attrs:{name:"cheveron-right"}})],1)],1)])})),t._v(" "),0===t.organizations.data.length?r("tr",[r("td",{staticClass:"border-t px-6 py-4",attrs:{colspan:"4"}},[t._v("No organizations found.")])]):t._e()],2)]),t._v(" "),r("pagination",{staticClass:"mt-6",attrs:{links:t.organizations.links}})],1)}),[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",{staticClass:"text-left font-bold"},[r("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Name")]),t._v(" "),r("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("City")]),t._v(" "),r("th",{staticClass:"px-6 pt-6 pb-4",attrs:{colspan:"2"}},[t._v("Phone")])])}],!1,null,null,null).exports},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>pt});var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),r=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?t:c(l(t))}function u(t){return t&&t.referenceNode?t.referenceNode:t}var p=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?p:10===t?f:p||f}function d(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===a(r,"position")?d(r):r:t?t.ownerDocument.documentElement:document.documentElement}function v(t){return null!==t.parentNode?v(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,o=r?e:t,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&d(s.firstElementChild)!==s?d(l):l;var c=v(t);return c.host?m(c.host,e):m(t,v(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[r]}return t[r]}function w(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g(e,"top"),o=g(e,"left"),i=r?-1:1;return t.top+=n*i,t.bottom+=n*i,t.left+=o*i,t.right+=o*i,t}function x(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function b(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],h(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,r=t.documentElement,n=h(10)&&getComputedStyle(r);return{height:b("Height",e,r,n),width:b("Width",e,r,n)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),O=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},j=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function z(t){return j({},t,{right:t.left+t.width,bottom:t.top+t.height})}function k(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var r=g(t,"top"),n=g(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,c=t.offsetWidth-s,u=t.offsetHeight-l;if(c||u){var p=a(t);c-=x(p,"x"),u-=x(p,"y"),o.width-=c,o.height-=u}return z(o)}function E(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=h(10),o="HTML"===e.nodeName,i=k(t),s=k(e),l=c(t),u=a(e),p=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);r&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var d=z({top:i.top-s.top-p,left:i.left-s.left-f,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!n&&o){var v=parseFloat(u.marginTop),m=parseFloat(u.marginLeft);d.top-=p-v,d.bottom-=p-v,d.left-=f-m,d.right-=f-m,d.marginTop=v,d.marginLeft=m}return(n&&!r?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(d=w(d,e)),d}function M(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=E(t,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:g(r),a=e?0:g(r,"left"),l={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:i};return z(l)}function L(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var r=l(t);return!!r&&L(r)}function T(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function H(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?T(t):m(t,u(e));if("viewport"===n)i=M(s,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=c(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var p=E(a,s,o);if("HTML"!==a.nodeName||L(s))i=p;else{var f=y(t.ownerDocument),h=f.height,d=f.width;i.top+=p.top-p.marginTop,i.bottom=h+p.top,i.left+=p.left-p.marginLeft,i.right=d+p.left}}var v="number"==typeof(r=r||0);return i.left+=v?r:r.left||0,i.top+=v?r:r.top||0,i.right-=v?r:r.right||0,i.bottom-=v?r:r.bottom||0,i}function A(t){return t.width*t.height}function S(t,e,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=H(r,n,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return j({key:t},a[t],{area:A(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=t.split("-")[1];return u+(p?"-"+p:"")}function V(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?T(e):m(e,u(r));return E(r,o,n)}function $(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function B(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function P(t,e,r){r=r.split("-")[0];var n=$(t),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=r===a?e[a]-n[c]:e[B(a)],o}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function D(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=N(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&s(r)&&(e.offsets.popper=z(e.offsets.popper),e.offsets.reference=z(e.offsets.reference),e=r(e,t))})),e}function F(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=V(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=S(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=P(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=D(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function W(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function U(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],i=o?""+o+r:t;if(void 0!==document.body.style[i])return i}return null}function I(){return this.state.isDestroyed=!0,W(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Z(t){var e=t.ownerDocument;return e?e.defaultView:window}function R(t,e,r,n){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,r,{passive:!0}),o||R(c(i.parentNode),e,r,n),n.push(i)}function Y(t,e,r,n){r.updateBound=n,Z(t).addEventListener("resize",r.updateBound,{passive:!0});var o=c(t);return R(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,Z(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(t,e,r){var n=N(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!o){var i="`"+e+"`",s="`"+r+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=et.indexOf(t),n=et.slice(r+1).concat(et.slice(0,r));return e?n.reverse():n}var nt="flip",ot="clockwise",it="counterclockwise";function st(t,e,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(N(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,n){var o=(1===n?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=r;break;case"%":case"%r":default:a=n}return z(a)[e]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,o,e,r)}))}))).forEach((function(t,e){t.forEach((function(r,n){X(r)&&(o[e]+=r*("-"===t[n-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(r),l=a?"left":"top",c=a?"width":"height",u={start:O({},l,i[l]),end:O({},l,i[l]+i[c]-s[c])};t.offsets.popper=j({},s,u[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=X(+r)?[+r,0]:st(r,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||d(t.instance.popper);t.instance.reference===r&&(r=d(r));var n=U("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=H(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);o.top=i,o.left=s,o[n]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,p={primary:function(t){var r=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(r=Math.max(u[t],l[t])),O({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=u[r];return u[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(u[r],l[t]-("right"===t?u.width:u.height))),O({},r,n)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=j({},u,p[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return r[a]<i(n[l])&&(t.offsets.popper[l]=i(n[l])-r[c]),r[l]>i(n[a])&&(t.offsets.popper[l]=i(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",p=c?"Top":"Left",f=p.toLowerCase(),h=c?"left":"top",d=c?"bottom":"right",v=$(n)[u];l[d]-v<s[f]&&(t.offsets.popper[f]-=s[f]-(l[d]-v)),l[f]+v>s[d]&&(t.offsets.popper[f]+=l[f]+v-s[d]),t.offsets.popper=z(t.offsets.popper);var m=l[f]+l[u]/2-v/2,g=a(t.instance.popper),w=parseFloat(g["margin"+p]),x=parseFloat(g["border"+p+"Width"]),b=m-t.offsets.popper[f]-w-x;return b=Math.max(Math.min(s[u]-v,b),0),t.arrowElement=n,t.offsets.arrow=(O(r={},f,Math.round(b)),O(r,h,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(W(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=H(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=B(n),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case nt:s=[n,o];break;case ot:s=rt(n);break;case it:s=rt(n,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=B(n);var c=t.offsets.popper,u=t.offsets.reference,p=Math.floor,f="left"===n&&p(c.right)>p(u.left)||"right"===n&&p(c.left)<p(u.right)||"top"===n&&p(c.bottom)>p(u.top)||"bottom"===n&&p(c.top)<p(u.bottom),h=p(c.left)<p(r.left),d=p(c.right)>p(r.right),v=p(c.top)<p(r.top),m=p(c.bottom)>p(r.bottom),g="left"===n&&h||"right"===n&&d||"top"===n&&v||"bottom"===n&&m,w=-1!==["top","bottom"].indexOf(n),x=!!e.flipVariations&&(w&&"start"===i&&h||w&&"end"===i&&d||!w&&"start"===i&&v||!w&&"end"===i&&m),b=!!e.flipVariationsByContent&&(w&&"start"===i&&d||w&&"end"===i&&h||!w&&"start"===i&&m||!w&&"end"===i&&v),y=x||b;(f||g||y)&&(t.flipped=!0,(f||g)&&(n=s[l+1]),y&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=n+(i?"-"+i:""),t.offsets.popper=j({},t.offsets.popper,P(t.instance.popper,t.offsets.reference,t.placement)),t=D(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,o=n.popper,i=n.reference,s=-1!==["left","right"].indexOf(r),a=-1===["top","left"].indexOf(r);return o[s?"left":"top"]=i[r]-(a?o[s?"width":"height"]:0),t.placement=B(e),t.offsets.popper=z(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=N(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,o=t.offsets.popper,i=N(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=d(t.instance.popper),l=k(a),c={position:o.position},u=function(t,e){var r=t.offsets,n=r.popper,o=r.reference,i=Math.round,s=Math.floor,a=function(t){return t},l=i(o.width),c=i(n.width),u=-1!==["left","right"].indexOf(t.placement),p=-1!==t.placement.indexOf("-"),f=e?u||p||l%2==c%2?i:s:a,h=e?i:a;return{left:f(l%2==1&&c%2==1&&!p&&e?n.left-1:n.left),top:h(n.top),bottom:h(n.bottom),right:f(n.right)}}(t,window.devicePixelRatio<2||!K),p="bottom"===r?"top":"bottom",f="right"===n?"left":"right",h=U("transform"),v=void 0,m=void 0;if(m="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,v="right"===f?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&h)c[h]="translate3d("+v+"px, "+m+"px, 0)",c[p]=0,c[f]=0,c.willChange="transform";else{var g="bottom"===p?-1:1,w="right"===f?-1:1;c[p]=m*g,c[f]=v*w,c.willChange=p+", "+f}var x={"x-placement":t.placement};return t.attributes=j({},x,t.attributes),t.styles=j({},c,t.styles),t.arrowStyles=j({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return J(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,o){var i=V(o,e,t,r.positionFixed),s=S(r.placement,i,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},lt=function(){function t(e,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=j({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(j({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){n.options.modifiers[e]=j({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return j({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return F.call(this)}},{key:"destroy",value:function(){return I.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const ct=lt,ut={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ct(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const pt=(0,r(1900).Z)(ut,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?r("portal",{attrs:{to:"dropdown"}},[r("div",[r("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),r("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5007:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{name:String}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return"apple"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("g",{attrs:{"fill-rule":"nonzero"}},[r("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),r("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,r)=>{"use strict";r.d(e,{Z:()=>f});var n=r(5007),o=r(3354),i=r(381);const s={components:{Icon:n.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return""===r[0]?""===t:r.filter((function(e){return t.startsWith(e)})).length}}};var a=r(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),r("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),r("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),r("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const c={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const u=(0,a.Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.$page.props.flash.success&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):r("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?r("span",[t._v("There is one form error.")]):r("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,p={components:{Dropdown:i.Z,FlashMessages:u,Icon:n.Z,Logo:o.Z,MainMenu:l}};const f=(0,a.Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),r("div",{staticClass:"md:flex md:flex-col"},[r("div",{staticClass:"md:h-screen md:flex md:flex-col"},[r("div",{staticClass:"md:flex md:flex-shrink-0"},[r("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[r("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[r("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),r("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[r("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),r("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[r("main-menu")],1)])],1),t._v(" "),r("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[r("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),r("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[r("div",{staticClass:"flex items-center cursor-pointer select-none group"},[r("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[r("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),r("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),r("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),r("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[r("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),r("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[r("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},3354:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const n=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),r("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},5251:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{links:Array}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.links.length>3?r("div",[r("div",{staticClass:"flex flex-wrap -mb-1"},[t._l(t.links,(function(e,n){return[null===e.url?r("div",{key:n,staticClass:"mr-1 mb-1 px-4 py-3 text-sm leading-4 text-gray-400 border rounded",domProps:{innerHTML:t._s(e.label)}}):r("inertia-link",{key:n,staticClass:"mr-1 mb-1 px-4 py-3 text-sm leading-4 border rounded hover:bg-white focus:border-indigo-500 focus:text-indigo-500",class:{"bg-white":e.active},attrs:{href:e.url},domProps:{innerHTML:t._s(e.label)}})]}))],2)]):t._e()}),[],!1,null,null,null).exports},8014:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={components:{Dropdown:r(381).Z},props:{value:String,maxWidth:{type:Number,default:300}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"flex items-center"},[r("div",{staticClass:"flex w-full bg-white shadow rounded"},[r("dropdown",{staticClass:"px-4 md:px-6 rounded-l border-r hover:bg-gray-100 focus:border-white focus:ring focus:z-10",attrs:{"auto-close":!1,placement:"bottom-start"}},[r("div",{staticClass:"flex items-baseline"},[r("span",{staticClass:"text-gray-700 hidden md:inline"},[t._v("Filter")]),t._v(" "),r("svg",{staticClass:"w-2 h-2 fill-gray-700 md:ml-2",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 961.243 599.998"}},[r("path",{attrs:{d:"M239.998 239.999L0 0h961.243L721.246 240c-131.999 132-240.28 240-240.624 239.999-.345-.001-108.625-108.001-240.624-240z"}})])]),t._v(" "),r("div",{staticClass:"mt-2 px-4 py-6 w-screen shadow-xl bg-white rounded",style:{maxWidth:t.maxWidth+"px"},attrs:{slot:"dropdown"},slot:"dropdown"},[t._t("default")],2)]),t._v(" "),r("input",{staticClass:"relative w-full px-6 py-3 rounded-r focus:ring",attrs:{autocomplete:"off",type:"text",name:"search",placeholder:"Search…"},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})],1),t._v(" "),r("button",{staticClass:"ml-3 text-sm text-gray-500 hover:text-gray-700 focus:text-indigo-500",attrs:{type:"button"},on:{click:function(e){return t.$emit("reset")}}},[t._v("Reset")])])}),[],!1,null,null,null).exports},1900:(t,e,r)=>{"use strict";function n(t,e,r,n,o,i,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),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:()=>n})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[456],{5456:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var s=r(3354),n=r(6119);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l={metaInfo:{title:"Login"},components:{LoadingButton:r(1100).Z,Logo:s.Z,TextInput:n.Z},data:function(){return{form:this.$inertia.form({email:"johndoe@example.com",password:"secret",remember:!1})}},methods:{login:function(){this.form.transform((function(e){return i(i({},e),{},{remember:e.remember?"on":""})})).post(this.route("login.attempt"))}}};const c=(0,r(1900).Z)(l,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"p-6 bg-indigo-800 min-h-screen flex justify-center items-center"},[r("div",{staticClass:"w-full max-w-md"},[r("logo",{staticClass:"block mx-auto w-full max-w-xs fill-white",attrs:{height:"50"}}),e._v(" "),r("form",{staticClass:"mt-8 bg-white rounded-lg shadow-xl overflow-hidden",on:{submit:function(t){return t.preventDefault(),e.login(t)}}},[r("div",{staticClass:"px-10 py-12"},[r("h1",{staticClass:"text-center font-bold text-3xl"},[e._v("Welcome Back!")]),e._v(" "),r("div",{staticClass:"mx-auto mt-6 w-24 border-b-2"}),e._v(" "),r("text-input",{staticClass:"mt-10",attrs:{error:e.form.errors.email,label:"Email",type:"email",autofocus:"",autocapitalize:"off"},model:{value:e.form.email,callback:function(t){e.$set(e.form,"email",t)},expression:"form.email"}}),e._v(" "),r("text-input",{staticClass:"mt-6",attrs:{error:e.form.errors.password,label:"Password",type:"password"},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}}),e._v(" "),r("label",{staticClass:"mt-6 select-none flex items-center",attrs:{for:"remember"}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.remember,expression:"form.remember"}],staticClass:"mr-1",attrs:{id:"remember",type:"checkbox"},domProps:{checked:Array.isArray(e.form.remember)?e._i(e.form.remember,null)>-1:e.form.remember},on:{change:function(t){var r=e.form.remember,s=t.target,n=!!s.checked;if(Array.isArray(r)){var o=e._i(r,null);s.checked?o<0&&e.$set(e.form,"remember",r.concat([null])):o>-1&&e.$set(e.form,"remember",r.slice(0,o).concat(r.slice(o+1)))}else e.$set(e.form,"remember",n)}}}),e._v(" "),r("span",{staticClass:"text-sm"},[e._v("Remember Me")])])],1),e._v(" "),r("div",{staticClass:"px-10 py-4 bg-gray-100 border-t border-gray-100 flex justify-between items-center"},[r("a",{staticClass:"hover:underline",attrs:{tabindex:"-1",href:"#reset-password"}},[e._v("Forgot password?")]),e._v(" "),r("loading-button",{staticClass:"btn-indigo",attrs:{loading:e.form.processing,type:"submit"}},[e._v("Login")])],1)])],1)])}),[],!1,null,null,null).exports},1100:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const s={props:{loading:Boolean}};const n=(0,r(1900).Z)(s,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("button",{staticClass:"flex items-center",attrs:{disabled:e.loading}},[e.loading?r("div",{staticClass:"btn-spinner mr-2"}):e._e(),e._v(" "),e._t("default")],2)}),[],!1,null,null,null).exports},3354:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});const s=(0,r(1900).Z)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),e._v(" "),r("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},6119:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const s={inheritAttrs:!1,props:{id:{type:String,default:function(){return"text-input-".concat(this._uid)}},type:{type:String,default:"text"},value:String,label:String,error:String,readonly:Boolean},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},setSelectionRange:function(e,t){this.$refs.input.setSelectionRange(e,t)}}};const n=(0,r(1900).Z)(s,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[e.label?r("label",{staticClass:"form-label",attrs:{for:e.id}},[e._v(e._s(e.label)+":")]):e._e(),e._v(" "),r("input",e._b({ref:"input",staticClass:"form-input",class:{error:e.error},attrs:{id:e.id,readonly:e.readonly,type:e.type},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)}}},"input",e.$attrs,!1)),e._v(" "),e.error?r("div",{staticClass:"form-error"},[e._v(e._s(e.error))]):e._e()])}),[],!1,null,null,null).exports},1900:(e,t,r)=>{"use strict";function s(e,t,r,s,n,o,i,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=r,c._compiled=!0),s&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),i?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=l):n&&(l=a?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(e,t){return l.call(t),u(e,t)}}else{var m=c.beforeCreate;c.beforeCreate=m?[].concat(m,l):[l]}return{exports:e,options:c}}r.d(t,{Z:()=>s})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[492],{1492:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(3669);const n={components:{Icon:s(5007).Z,SelectInput:a.Z},props:{cities:Array,token:Object,main_token_campaigns:Array},data:function(){return{city:!1}},watch:{},mounted:function(){},methods:{cityAdd:function(){this.$emit("add",this.city)},cityDelete:function(t){this.$emit("delete",t)},synced:function(t,e,s){this.$emit("synced",t,e,s)},updated:function(t,e,s){this.$emit("updated",t,e,s)},enabled:function(t,e,s){this.$emit("enabled",t,e,s)}}};const i=(0,s(1900).Z)(n,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("h2",{staticClass:"mt-12 font-bold text-2xl"},[t._v("Cities")]),t._v(" "),t.cities.length?s("div",{staticClass:"mt-4 flex flex-wrap"},[s("select-input",{staticClass:"pr-6",model:{value:t.city,callback:function(e){t.city=e},expression:"city"}},t._l(t.cities,(function(e){return s("option",{domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+"\n ")])})),0),t._v(" "),s("button",{staticClass:"btn-indigo hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:t.cityAdd}},[t._v("\n Add\n ")])],1):t._e(),t._v(" "),s("div",{staticClass:"mt-6 bg-white rounded shadow"},[s("table",{staticClass:"w-full whitespace-nowrap"},[t._m(0),t._v(" "),t._l(t.token.cities,(function(e){return[s("tr",{key:e.id,staticClass:"hover:bg-gray-100 focus-within:bg-gray-100"},[s("td",{staticClass:"border-t",attrs:{colspan:"5"}},[s("div",{staticClass:"px-6 py-4"},[t._v("\n "+t._s(e.name)+"\n ")])]),t._v(" "),s("td",{staticClass:"border-t w-px"},[s("div",{staticClass:"px-6 py-4"},[s("button",{staticClass:"px-4 flex items-center",attrs:{tabindex:"-1"},on:{click:function(s){return t.cityDelete(e.id)}}},[s("icon",{staticClass:"block w-6 h-6 fill-gray-400",attrs:{name:"trash"}})],1)])])]),t._v(" "),e.dictionary_campaigns.length?s("tr",[s("th",{staticClass:"px-6 pt-6 pb-4"}),t._v(" "),s("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Кампания")]),t._v(" "),s("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Обновлять?")]),t._v(" "),s("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Синхронизировать?")]),t._v(" "),s("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Включено?")]),t._v(" "),s("th",{staticClass:"px-6 pt-6 pb-4"})]):t._e(),t._v(" "),t._l(e.dictionary_campaigns,(function(a){return e.dictionary_campaigns.length?s("tr",{key:a.id},[s("td",{staticClass:"border-t"}),t._v(" "),s("td",{staticClass:"border-t"},[s("span",{staticClass:"px-6 py-4 flex items-center focus:text-indigo-500"},[s("inertia-link",{staticClass:"hover:text-indigo-500 focus:text-indigo-500",attrs:{href:t.route("token.campaign.variables",[t.token.id,e.id,a.campaign_id])}},[t._v("\n "+t._s(a.name)+"\n ")])],1)]),t._v(" "),s("td",{staticClass:"border-t text-center"},[s("div",{staticClass:"px-6 py-4"},[s("input",{attrs:{type:"checkbox"},domProps:{checked:a.updated},on:{change:function(s){return t.updated(e.id,a.campaign_id,!a.updated)}}})])]),t._v(" "),s("td",{staticClass:"border-t text-center"},[s("input",{attrs:{type:"checkbox"},domProps:{checked:a.synced},on:{change:function(s){return t.synced(e.id,a.campaign_id,!a.synced)}}})]),t._v(" "),s("td",{staticClass:"border-t text-center"},[s("input",{attrs:{type:"checkbox"},domProps:{checked:a.enabled},on:{change:function(s){return t.enabled(e.id,a.campaign_id,!a.enabled)}}})]),t._v(" "),s("td",{staticClass:"border-t"})]):t._e()}))]})),t._v(" "),0===t.token.cities.length?s("tr",[s("td",{staticClass:"border-t px-6 py-4",attrs:{colspan:"4"}},[t._v("No City found.")])]):t._e()],2)])])}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("tr",{staticClass:"text-left font-bold"},[s("th",{staticClass:"px-6 pt-6 pb-4",attrs:{colspan:"5"}},[t._v("Name")]),t._v(" "),s("th",{staticClass:"px-6 pt-6 pb-4"})])}],!1,null,null,null).exports},5007:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const a={props:{name:String}};const n=(0,s(1900).Z)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return"apple"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[s("g",{attrs:{"fill-rule":"nonzero"}},[s("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),s("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},3669:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const a={inheritAttrs:!1,props:{id:{type:String,default:function(){return"select-input-".concat(this._uid)}},value:[String,Number,Boolean],label:String,error:String},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("input",t)}},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()}}};const n=(0,s(1900).Z)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.label?s("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),s("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"input",staticClass:"form-select",class:{error:t.error},attrs:{id:t.id},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?s:s[0]}}},"select",t.$attrs,!1),[t._t("default")],2),t._v(" "),t.error?s("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},1900:(t,e,s)=>{"use strict";function a(t,e,s,a,n,i,r,o){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=s,l._compiled=!0),a&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),r?(c=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(r)},l._ssrRegister=c):n&&(c=o?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(t,e){return c.call(e),d(t,e)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:l}}s.d(e,{Z:()=>a})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[568],{2568:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5007),n=s(3669),r=s(1100);const i={components:{Icon:a.Z,SelectInput:n.Z,LoadingButton:r.Z},props:{campaigns:Array,token:Object},data:function(){return{campaign_id:null}},watch:{},mounted:function(){},methods:{add:function(){this.campaign_id&&this.$emit("add",this.campaign_id)},enabled:function(t,e){this.$emit("enabled",t,e)},destroy:function(t){this.$emit("delete",t)}}};const o=(0,s(1900).Z)(i,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("h2",{staticClass:"mt-12 font-bold text-2xl"},[t._v("Campaigns")]),t._v(" "),t.campaigns.length?s("div",{staticClass:"mt-4 flex flex-wrap"},[s("select-input",{staticClass:"pr-6",attrs:{readonly:t.campaign_id},model:{value:t.campaign_id,callback:function(e){t.campaign_id=e},expression:"campaign_id"}},t._l(t.campaigns,(function(e){return s("option",{domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+"\n ")])})),0),t._v(" "),s("button",{staticClass:"btn-indigo hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:t.add}},[t._v("\n Add\n ")])],1):t._e(),t._v(" "),s("div",{staticClass:"mt-4 flex flex-wrap"}),t._v(" "),s("div",{staticClass:"mt-6 bg-white rounded shadow overflow-x-auto"},[s("table",{staticClass:"w-full whitespace-nowrap"},[t._m(0),t._v(" "),t._l(t.token.campaigns,(function(e){return s("tr",{key:e.id,staticClass:"hover:bg-gray-100 focus-within:bg-gray-100"},[s("td",{staticClass:"border-t px-6 py-3"},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),s("td",{staticClass:"border-t px-6 py-3"},[s("input",{attrs:{id:"campaign-enabled-"+e.id,type:"checkbox"},domProps:{checked:e.enabled},on:{change:function(s){return t.enabled(e.id,!e.enabled)}}}),t._v(" "),s("label",{attrs:{for:"campaign-enabled-"+e.id}},[t._v("Enabled")])]),t._v(" "),s("td",{staticClass:"border-t w-px"},[s("div",{staticClass:"px-6 py-4"},[s("button",{staticClass:"px-4 flex items-center",attrs:{tabindex:"-1"},on:{click:function(s){return t.destroy(e.id)}}},[s("icon",{staticClass:"block w-6 h-6 fill-gray-400",attrs:{name:"trash"}})],1)])])])})),t._v(" "),0===t.token.campaigns.length?s("tr",[s("td",{staticClass:"border-t px-6 py-4",attrs:{colspan:"5"}},[t._v("No campaigns found.")])]):t._e()],2)])])}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("tr",{staticClass:"text-left font-bold"},[s("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Name")]),t._v(" "),s("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Action")])])}],!1,null,null,null).exports},5007:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const a={props:{name:String}};const n=(0,s(1900).Z)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return"apple"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[s("g",{attrs:{"fill-rule":"nonzero"}},[s("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),s("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[s("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},1100:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const a={props:{loading:Boolean}};const n=(0,s(1900).Z)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("button",{staticClass:"flex items-center",attrs:{disabled:t.loading}},[t.loading?s("div",{staticClass:"btn-spinner mr-2"}):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},3669:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const a={inheritAttrs:!1,props:{id:{type:String,default:function(){return"select-input-".concat(this._uid)}},value:[String,Number,Boolean],label:String,error:String},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("input",t)}},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()}}};const n=(0,s(1900).Z)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.label?s("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),s("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"input",staticClass:"form-select",class:{error:t.error},attrs:{id:t.id},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?s:s[0]}}},"select",t.$attrs,!1),[t._t("default")],2),t._v(" "),t.error?s("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},1900:(t,e,s)=>{"use strict";function a(t,e,s,a,n,r,i,o){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=s,c._compiled=!0),a&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),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 d=c.render;c.render=function(t,e){return l.call(e),d(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}s.d(e,{Z:()=>a})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[734],{8552:(t,e,r)=>{var n=r(852)(r(5639),"DataView");t.exports=n},1989:(t,e,r)=>{var n=r(1789),o=r(401),i=r(7667),s=r(1327),a=r(1866);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l},8407:(t,e,r)=>{var n=r(7040),o=r(4125),i=r(2117),s=r(7518),a=r(4705);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l},7071:(t,e,r)=>{var n=r(852)(r(5639),"Map");t.exports=n},3369:(t,e,r)=>{var n=r(4785),o=r(1285),i=r(6e3),s=r(9916),a=r(5265);function l(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l},3818:(t,e,r)=>{var n=r(852)(r(5639),"Promise");t.exports=n},8525:(t,e,r)=>{var n=r(852)(r(5639),"Set");t.exports=n},8668:(t,e,r)=>{var n=r(3369),o=r(619),i=r(2385);function s(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}s.prototype.add=s.prototype.push=o,s.prototype.has=i,t.exports=s},6384:(t,e,r)=>{var n=r(8407),o=r(7465),i=r(3779),s=r(7599),a=r(4758),l=r(4309);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=s,c.prototype.has=a,c.prototype.set=l,t.exports=c},2705:(t,e,r)=>{var n=r(5639).Symbol;t.exports=n},1149:(t,e,r)=>{var n=r(5639).Uint8Array;t.exports=n},577:(t,e,r)=>{var n=r(852)(r(5639),"WeakMap");t.exports=n},4963:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var s=t[r];e(s,r,t)&&(i[o++]=s)}return i}},4636:(t,e,r)=>{var n=r(2545),o=r(5694),i=r(1469),s=r(4144),a=r(5776),l=r(6719),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),u=!r&&o(t),p=!r&&!u&&s(t),f=!r&&!u&&!p&&l(t),h=r||u||p||f,d=h?n(t.length,String):[],v=d.length;for(var m in t)!e&&!c.call(t,m)||h&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,v))||d.push(m);return d}},9932:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},2488:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},2908:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},708:(t,e,r)=>{var n=r(9465),o=r(7813),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var s=t[e];i.call(t,e)&&o(s,r)&&(void 0!==r||e in t)||n(t,e,r)}},8470:(t,e,r)=>{var n=r(7813);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},9465:(t,e,r)=>{var n=r(8777);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},8483:(t,e,r)=>{var n=r(5063)();t.exports=n},7816:(t,e,r)=>{var n=r(8483),o=r(3674);t.exports=function(t,e){return t&&n(t,e,o)}},7786:(t,e,r)=>{var n=r(1811),o=r(327);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},8866:(t,e,r)=>{var n=r(2488),o=r(1469);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},4239:(t,e,r)=>{var n=r(2705),o=r(9607),i=r(2333),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?o(t):i(t)}},13:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},9454:(t,e,r)=>{var n=r(4239),o=r(7005);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},939:(t,e,r)=>{var n=r(2492),o=r(7005);t.exports=function t(e,r,i,s,a){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,s,t,a))}},2492:(t,e,r)=>{var n=r(6384),o=r(7114),i=r(8351),s=r(6096),a=r(4160),l=r(1469),c=r(4144),u=r(6719),p="[object Arguments]",f="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,v,m,g){var w=l(t),x=l(e),b=w?f:a(t),y=x?f:a(e),_=(b=b==p?h:b)==h,C=(y=y==p?h:y)==h,j=b==y;if(j&&c(t)){if(!c(e))return!1;w=!0,_=!1}if(j&&!_)return g||(g=new n),w||u(t)?o(t,e,r,v,m,g):i(t,e,b,r,v,m,g);if(!(1&r)){var O=_&&d.call(t,"__wrapped__"),k=C&&d.call(e,"__wrapped__");if(O||k){var z=O?t.value():t,E=k?e.value():e;return g||(g=new n),m(z,E,r,v,g)}}return!!j&&(g||(g=new n),s(t,e,r,v,m,g))}},2958:(t,e,r)=>{var n=r(6384),o=r(939);t.exports=function(t,e,r,i){var s=r.length,a=s,l=!i;if(null==t)return!a;for(t=Object(t);s--;){var c=r[s];if(l&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++s<a;){var u=(c=r[s])[0],p=t[u],f=c[1];if(l&&c[2]){if(void 0===p&&!(u in t))return!1}else{var h=new n;if(i)var d=i(p,f,u,t,e,h);if(!(void 0===d?o(f,p,3,i,h):d))return!1}}return!0}},8458:(t,e,r)=>{var n=r(3560),o=r(5346),i=r(3218),s=r(346),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,f=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?f:a).test(s(t))}},8749:(t,e,r)=>{var n=r(4239),o=r(1780),i=r(7005),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!s[n(t)]}},7206:(t,e,r)=>{var n=r(1573),o=r(6432),i=r(6557),s=r(1469),a=r(9601);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?s(t)?o(t[0],t[1]):n(t):a(t)}},280:(t,e,r)=>{var n=r(5726),o=r(6916),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},313:(t,e,r)=>{var n=r(3218),o=r(5726),i=r(3498),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=o(t),r=[];for(var a in t)("constructor"!=a||!e&&s.call(t,a))&&r.push(a);return r}},1573:(t,e,r)=>{var n=r(2958),o=r(1499),i=r(2634);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},6432:(t,e,r)=>{var n=r(939),o=r(7361),i=r(9095),s=r(5403),a=r(9162),l=r(2634),c=r(327);t.exports=function(t,e){return s(t)&&a(e)?l(c(t),e):function(r){var s=o(r,t);return void 0===s&&s===e?i(r,t):n(e,s,3)}}},3012:(t,e,r)=>{var n=r(7786),o=r(611),i=r(1811);t.exports=function(t,e,r){for(var s=-1,a=e.length,l={};++s<a;){var c=e[s],u=n(t,c);r(u,c)&&o(l,i(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 n=r(7786);t.exports=function(t){return function(e){return n(e,t)}}},611:(t,e,r)=>{var n=r(708),o=r(1811),i=r(5776),s=r(3218),a=r(327);t.exports=function(t,e,r,l){if(!s(t))return t;for(var c=-1,u=(e=o(e,t)).length,p=u-1,f=t;null!=f&&++c<u;){var h=a(e[c]),d=r;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(c!=p){var v=f[h];void 0===(d=l?l(v,h,f):void 0)&&(d=s(v)?v:i(e[c+1])?[]:{})}n(f,h,d),f=f[h]}return t}},2545:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},531:(t,e,r)=>{var n=r(2705),o=r(9932),i=r(1469),s=r(3448),a=n?n.prototype:void 0,l=a?a.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(s(e))return l?l.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r}},7561:(t,e,r)=>{var n=r(7990),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},1717:t=>{t.exports=function(t){return function(e){return t(e)}}},4757:t=>{t.exports=function(t,e){return t.has(e)}},1811:(t,e,r)=>{var n=r(1469),o=r(5403),i=r(5514),s=r(9833);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(s(t))}},4429:(t,e,r)=>{var n=r(5639)["__core-js_shared__"];t.exports=n},5063:t=>{t.exports=function(t){return function(e,r,n){for(var o=-1,i=Object(e),s=n(e),a=s.length;a--;){var l=s[t?a:++o];if(!1===r(i[l],l,i))break}return e}}},8777:(t,e,r)=>{var n=r(852),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},7114:(t,e,r)=>{var n=r(8668),o=r(2908),i=r(4757);t.exports=function(t,e,r,s,a,l){var c=1&r,u=t.length,p=e.length;if(u!=p&&!(c&&p>u))return!1;var f=l.get(t),h=l.get(e);if(f&&h)return f==e&&h==t;var d=-1,v=!0,m=2&r?new n:void 0;for(l.set(t,e),l.set(e,t);++d<u;){var g=t[d],w=e[d];if(s)var x=c?s(w,g,d,e,t,l):s(g,w,d,t,e,l);if(void 0!==x){if(x)continue;v=!1;break}if(m){if(!o(e,(function(t,e){if(!i(m,e)&&(g===t||a(g,t,r,s,l)))return m.push(e)}))){v=!1;break}}else if(g!==w&&!a(g,w,r,s,l)){v=!1;break}}return l.delete(t),l.delete(e),v}},8351:(t,e,r)=>{var n=r(2705),o=r(1149),i=r(7813),s=r(7114),a=r(8776),l=r(1814),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,r,n,c,p,f){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 o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+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 h=a;case"[object Set]":var d=1&n;if(h||(h=l),t.size!=e.size&&!d)return!1;var v=f.get(t);if(v)return v==e;n|=2,f.set(t,e);var m=s(h(t),h(e),n,c,p,f);return f.delete(t),m;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},6096:(t,e,r)=>{var n=r(8234),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,s,a){var l=1&r,c=n(t),u=c.length;if(u!=n(e).length&&!l)return!1;for(var p=u;p--;){var f=c[p];if(!(l?f in e:o.call(e,f)))return!1}var h=a.get(t),d=a.get(e);if(h&&d)return h==e&&d==t;var v=!0;a.set(t,e),a.set(e,t);for(var m=l;++p<u;){var g=t[f=c[p]],w=e[f];if(i)var x=l?i(w,g,f,e,t,a):i(g,w,f,t,e,a);if(!(void 0===x?g===w||s(g,w,r,i,a):x)){v=!1;break}m||(m="constructor"==f)}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 a.delete(t),a.delete(e),v}},1957:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},8234:(t,e,r)=>{var n=r(8866),o=r(9551),i=r(3674);t.exports=function(t){return n(t,i,o)}},6904:(t,e,r)=>{var n=r(8866),o=r(1442),i=r(1704);t.exports=function(t){return n(t,i,o)}},5050:(t,e,r)=>{var n=r(7019);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},1499:(t,e,r)=>{var n=r(9162),o=r(3674);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var i=e[r],s=t[i];e[r]=[i,s,n(s)]}return e}},852:(t,e,r)=>{var n=r(8458),o=r(7801);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},5924:(t,e,r)=>{var n=r(5569)(Object.getPrototypeOf,Object);t.exports=n},9607:(t,e,r)=>{var n=r(2705),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[a]=r:delete t[a]),o}},9551:(t,e,r)=>{var n=r(4963),o=r(479),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),n(s(t),(function(e){return i.call(t,e)})))}:o;t.exports=a},1442:(t,e,r)=>{var n=r(2488),o=r(5924),i=r(9551),s=r(479),a=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,i(t)),t=o(t);return e}:s;t.exports=a},4160:(t,e,r)=>{var n=r(8552),o=r(7071),i=r(3818),s=r(8525),a=r(577),l=r(4239),c=r(346),u="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",v=c(n),m=c(o),g=c(i),w=c(s),x=c(a),b=l;(n&&b(new n(new ArrayBuffer(1)))!=d||o&&b(new o)!=u||i&&b(i.resolve())!=p||s&&b(new s)!=f||a&&b(new a)!=h)&&(b=function(t){var e=l(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case v:return d;case m:return u;case g:return p;case w:return f;case x:return h}return e}),t.exports=b},7801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},222:(t,e,r)=>{var n=r(1811),o=r(5694),i=r(1469),s=r(5776),a=r(1780),l=r(327);t.exports=function(t,e,r){for(var c=-1,u=(e=n(e,t)).length,p=!1;++c<u;){var f=l(e[c]);if(!(p=null!=t&&r(t,f)))break;t=t[f]}return p||++c!=u?p:!!(u=null==t?0:t.length)&&a(u)&&s(f,u)&&(i(t)||o(t))}},1789:(t,e,r)=>{var n=r(4536);t.exports=function(){this.__data__=n?n(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 n=r(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},1327:(t,e,r)=>{var n=r(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1866:(t,e,r)=>{var n=r(4536);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},5776:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},5403:(t,e,r)=>{var n=r(1469),o=r(3448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(s.test(t)||!i.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 n,o=r(4429),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},5726:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},9162:(t,e,r)=>{var n=r(3218);t.exports=function(t){return t==t&&!n(t)}},7040:t=>{t.exports=function(){this.__data__=[],this.size=0}},4125:(t,e,r)=>{var n=r(8470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},2117:(t,e,r)=>{var n=r(8470);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},7518:(t,e,r)=>{var n=r(8470);t.exports=function(t){return n(this.__data__,t)>-1}},4705:(t,e,r)=>{var n=r(8470);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},4785:(t,e,r)=>{var n=r(1989),o=r(8407),i=r(7071);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},1285:(t,e,r)=>{var n=r(5050);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6e3:(t,e,r)=>{var n=r(5050);t.exports=function(t){return n(this,t).get(t)}},9916:(t,e,r)=>{var n=r(5050);t.exports=function(t){return n(this,t).has(t)}},5265:(t,e,r)=>{var n=r(5050);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},8776:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,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 n=r(8306);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},4536:(t,e,r)=>{var n=r(852)(Object,"create");t.exports=n},6916:(t,e,r)=>{var n=r(5569)(Object.keys,Object);t.exports=n},3498:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},1167:(t,e,r)=>{t=r.nmd(t);var n=r(1957),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,s=i&&i.exports===o&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a},2333:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},5639:(t,e,r)=>{var n=r(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},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 n=r(8407);t.exports=function(){this.__data__=new n,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 n=r(8407),o=r(7071),i=r(3369);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(s)}return r.set(t,e),this.size=r.size,this}},5514:(t,e,r)=>{var n=r(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)})),e}));t.exports=s},327:(t,e,r)=>{var n=r(3448);t.exports=function(t){if("string"==typeof t||n(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 n=r(3218),o=r(7771),i=r(4841),s=Math.max,a=Math.min;t.exports=function(t,e,r){var l,c,u,p,f,h,d=0,v=!1,m=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function w(e){var r=l,n=c;return l=c=void 0,d=e,p=t.apply(n,r)}function x(t){return d=t,f=setTimeout(y,e),v?w(t):p}function b(t){var r=t-h;return void 0===h||r>=e||r<0||m&&t-d>=u}function y(){var t=o();if(b(t))return _(t);f=setTimeout(y,function(t){var r=e-(t-h);return m?a(r,u-(t-d)):r}(t))}function _(t){return f=void 0,g&&l?w(t):(l=c=void 0,p)}function C(){var t=o(),r=b(t);if(l=arguments,c=this,h=t,r){if(void 0===f)return x(h);if(m)return clearTimeout(f),f=setTimeout(y,e),w(h)}return void 0===f&&(f=setTimeout(y,e)),p}return e=i(e)||0,n(r)&&(v=!!r.leading,u=(m="maxWait"in r)?s(i(r.maxWait)||0,e):u,g="trailing"in r?!!r.trailing:g),C.cancel=function(){void 0!==f&&clearTimeout(f),d=0,l=h=c=f=void 0},C.flush=function(){return void 0===f?p:_(o())},C}},7813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},7361:(t,e,r)=>{var n=r(7786);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},9095:(t,e,r)=>{var n=r(13),o=r(222);t.exports=function(t,e){return null!=t&&o(t,e,n)}},6557:t=>{t.exports=function(t){return t}},5694:(t,e,r)=>{var n=r(9454),o=r(7005),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(t){return o(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=l},1469:t=>{var e=Array.isArray;t.exports=e},8612:(t,e,r)=>{var n=r(3560),o=r(1780);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},4144:(t,e,r)=>{t=r.nmd(t);var n=r(5639),o=r(5062),i=e&&!e.nodeType&&e,s=i&&t&&!t.nodeType&&t,a=s&&s.exports===i?n.Buffer:void 0,l=(a?a.isBuffer:void 0)||o;t.exports=l},3560:(t,e,r)=>{var n=r(4239),o=r(3218);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3218:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},3448:(t,e,r)=>{var n=r(4239),o=r(7005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},6719:(t,e,r)=>{var n=r(8749),o=r(1717),i=r(1167),s=i&&i.isTypedArray,a=s?o(s):n;t.exports=a},3674:(t,e,r)=>{var n=r(4636),o=r(280),i=r(8612);t.exports=function(t){return i(t)?n(t):o(t)}},1704:(t,e,r)=>{var n=r(4636),o=r(313),i=r(8612);t.exports=function(t){return i(t)?n(t,!0):o(t)}},6604:(t,e,r)=>{var n=r(9465),o=r(7816),i=r(7206);t.exports=function(t,e){var r={};return e=i(e,3),o(t,(function(t,o,i){n(r,o,e(t,o,i))})),r}},8306:(t,e,r)=>{var n=r(3369);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=t.apply(this,n);return r.cache=i.set(o,s)||i,s};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},7771:(t,e,r)=>{var n=r(5639);t.exports=function(){return n.Date.now()}},5937:(t,e,r)=>{var n=r(9932),o=r(7206),i=r(3012),s=r(6904);t.exports=function(t,e){if(null==t)return{};var r=n(s(t),(function(t){return[t]}));return e=o(e),i(t,r,(function(t,r){return e(t,r[0])}))}},9601:(t,e,r)=>{var n=r(371),o=r(9152),i=r(5403),s=r(327);t.exports=function(t){return i(t)?n(s(t)):o(t)}},479:t=>{t.exports=function(){return[]}},5062:t=>{t.exports=function(){return!1}},3493:(t,e,r)=>{var n=r(3279),o=r(3218);t.exports=function(t,e,r){var i=!0,s=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),n(t,e,{leading:i,maxWait:e,trailing:s})}},4841:(t,e,r)=>{var n=r(7561),o=r(3218),i=r(3448),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=a.test(t);return r||l.test(t)?c(t.slice(2),r?2:8):s.test(t)?NaN:+t}},9833:(t,e,r)=>{var n=r(531);t.exports=function(t){return null==t?"":n(t)}},2734:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>d});var n=r(5007),o=r(5937),i=r.n(o),s=r(9714),a=r(3493),l=r.n(a),c=r(6604),u=r.n(c),p=r(5251),f=r(8014);const h={metaInfo:{title:"Tokens"},components:{Icon:n.Z,Pagination:p.Z,SearchFilter:f.Z},layout:s.Z,props:{tokens:Object,filters:Object,types:Object},data:function(){return{form:{login:this.filters.login,type:this.filters.type}}},watch:{form:{handler:l()((function(){var t=i()(this.form);this.$inertia.replace(this.route("tokens",Object.keys(t).length?t:{remember:"forget"}))}),150),deep:!0}},methods:{reset:function(){this.form=u()(this.form,(function(){return null}))}}};const d=(0,r(1900).Z)(h,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("h1",{staticClass:"mb-8 font-bold text-3xl"},[t._v("Tokens")]),t._v(" "),r("div",{staticClass:"mb-6 flex justify-between items-center"},[r("search-filter",{staticClass:"w-full max-w-md mr-4",on:{reset:t.reset},model:{value:t.form.login,callback:function(e){t.$set(t.form,"login",e)},expression:"form.login"}},[r("label",{staticClass:"block text-gray-700"},[t._v("Тип:")]),t._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:t.form.type,expression:"form.type"}],staticClass:"mt-1 w-full form-select",on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.form,"type",e.target.multiple?r:r[0])}}},[r("option",{domProps:{value:null}}),t._v(" "),t._l(t.types,(function(e,n){return r("option",{domProps:{value:n}},[t._v(t._s(e))])}))],2)]),t._v(" "),r("inertia-link",{staticClass:"btn-indigo",attrs:{href:t.route("token.get",{api:"yd"})}},[r("span",[t._v("Добавить ")]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v("токен")])])],1),t._v(" "),r("div",{staticClass:"bg-white rounded-md shadow overflow-x-auto"},[r("table",{staticClass:"w-full whitespace-nowrap"},[t._m(0),t._v(" "),t._l(t.tokens.data,(function(e){return r("tr",{key:e.id,staticClass:"hover:bg-gray-100 focus-within:bg-gray-100"},[r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center focus:text-indigo-500",attrs:{href:t.route("token.edit",e.id)}},[t._v("\n "+t._s(e.login)+"\n ")])],1),t._v(" "),r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center",attrs:{href:t.route("token.edit",e.id),tabindex:"-1"}},[t._v("\n "+t._s(e.api)+"\n ")])],1),t._v(" "),r("td",{staticClass:"border-t"},[r("inertia-link",{staticClass:"px-6 py-4 flex items-center",attrs:{href:t.route("token.edit",e.id),tabindex:"-1"}},[t._v("\n "+t._s(t.types[e.type])+"\n ")])],1),t._v(" "),r("td",{staticClass:"border-t w-px"},[r("inertia-link",{staticClass:"px-4 flex items-center",attrs:{href:t.route("token.edit",e.id),tabindex:"-1"}},[r("icon",{staticClass:"block w-6 h-6 fill-gray-400",attrs:{name:"cheveron-right"}})],1)],1)])})),t._v(" "),0===t.tokens.data.length?r("tr",[r("td",{staticClass:"border-t px-6 py-4",attrs:{colspan:"4"}},[t._v("No tokens found.")])]):t._e()],2)]),t._v(" "),r("pagination",{staticClass:"mt-6",attrs:{links:t.tokens.links}})],1)}),[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",{staticClass:"text-left font-bold"},[r("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Login")]),t._v(" "),r("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("АПИ")]),t._v(" "),r("th",{staticClass:"px-6 pt-6 pb-4",attrs:{colspan:"2"}},[t._v("Тип")])])}],!1,null,null,null).exports},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>pt});var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),r=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?t:c(l(t))}function u(t){return t&&t.referenceNode?t.referenceNode:t}var p=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?p:10===t?f:p||f}function d(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===a(r,"position")?d(r):r:t?t.ownerDocument.documentElement:document.documentElement}function v(t){return null!==t.parentNode?v(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,o=r?e:t,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&d(s.firstElementChild)!==s?d(l):l;var c=v(t);return c.host?m(c.host,e):m(t,v(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[r]}return t[r]}function w(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g(e,"top"),o=g(e,"left"),i=r?-1:1;return t.top+=n*i,t.bottom+=n*i,t.left+=o*i,t.right+=o*i,t}function x(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function b(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],h(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,r=t.documentElement,n=h(10)&&getComputedStyle(r);return{height:b("Height",e,r,n),width:b("Width",e,r,n)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),j=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function k(t){return O({},t,{right:t.left+t.width,bottom:t.top+t.height})}function z(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var r=g(t,"top"),n=g(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,c=t.offsetWidth-s,u=t.offsetHeight-l;if(c||u){var p=a(t);c-=x(p,"x"),u-=x(p,"y"),o.width-=c,o.height-=u}return k(o)}function E(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=h(10),o="HTML"===e.nodeName,i=z(t),s=z(e),l=c(t),u=a(e),p=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);r&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var d=k({top:i.top-s.top-p,left:i.left-s.left-f,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!n&&o){var v=parseFloat(u.marginTop),m=parseFloat(u.marginLeft);d.top-=p-v,d.bottom-=p-v,d.left-=f-m,d.right-=f-m,d.marginTop=v,d.marginLeft=m}return(n&&!r?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(d=w(d,e)),d}function M(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=E(t,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:g(r),a=e?0:g(r,"left"),l={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:i};return k(l)}function L(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var r=l(t);return!!r&&L(r)}function T(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function H(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?T(t):m(t,u(e));if("viewport"===n)i=M(s,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=c(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var p=E(a,s,o);if("HTML"!==a.nodeName||L(s))i=p;else{var f=y(t.ownerDocument),h=f.height,d=f.width;i.top+=p.top-p.marginTop,i.bottom=h+p.top,i.left+=p.left-p.marginLeft,i.right=d+p.left}}var v="number"==typeof(r=r||0);return i.left+=v?r:r.left||0,i.top+=v?r:r.top||0,i.right-=v?r:r.right||0,i.bottom-=v?r:r.bottom||0,i}function A(t){return t.width*t.height}function S(t,e,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=H(r,n,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return O({key:t},a[t],{area:A(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=t.split("-")[1];return u+(p?"-"+p:"")}function V(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?T(e):m(e,u(r));return E(r,o,n)}function $(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function B(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function P(t,e,r){r=r.split("-")[0];var n=$(t),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=r===a?e[a]-n[c]:e[B(a)],o}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function D(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=N(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&s(r)&&(e.offsets.popper=k(e.offsets.popper),e.offsets.reference=k(e.offsets.reference),e=r(e,t))})),e}function F(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=V(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=S(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=P(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=D(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function W(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function U(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],i=o?""+o+r:t;if(void 0!==document.body.style[i])return i}return null}function I(){return this.state.isDestroyed=!0,W(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Z(t){var e=t.ownerDocument;return e?e.defaultView:window}function R(t,e,r,n){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,r,{passive:!0}),o||R(c(i.parentNode),e,r,n),n.push(i)}function Y(t,e,r,n){r.updateBound=n,Z(t).addEventListener("resize",r.updateBound,{passive:!0});var o=c(t);return R(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,Z(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(t,e,r){var n=N(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!o){var i="`"+e+"`",s="`"+r+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=et.indexOf(t),n=et.slice(r+1).concat(et.slice(0,r));return e?n.reverse():n}var nt="flip",ot="clockwise",it="counterclockwise";function st(t,e,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(N(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,n){var o=(1===n?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=r;break;case"%":case"%r":default:a=n}return k(a)[e]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,o,e,r)}))}))).forEach((function(t,e){t.forEach((function(r,n){X(r)&&(o[e]+=r*("-"===t[n-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(r),l=a?"left":"top",c=a?"width":"height",u={start:j({},l,i[l]),end:j({},l,i[l]+i[c]-s[c])};t.offsets.popper=O({},s,u[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=X(+r)?[+r,0]:st(r,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||d(t.instance.popper);t.instance.reference===r&&(r=d(r));var n=U("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=H(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);o.top=i,o.left=s,o[n]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,p={primary:function(t){var r=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(r=Math.max(u[t],l[t])),j({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=u[r];return u[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(u[r],l[t]-("right"===t?u.width:u.height))),j({},r,n)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=O({},u,p[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return r[a]<i(n[l])&&(t.offsets.popper[l]=i(n[l])-r[c]),r[l]>i(n[a])&&(t.offsets.popper[l]=i(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",p=c?"Top":"Left",f=p.toLowerCase(),h=c?"left":"top",d=c?"bottom":"right",v=$(n)[u];l[d]-v<s[f]&&(t.offsets.popper[f]-=s[f]-(l[d]-v)),l[f]+v>s[d]&&(t.offsets.popper[f]+=l[f]+v-s[d]),t.offsets.popper=k(t.offsets.popper);var m=l[f]+l[u]/2-v/2,g=a(t.instance.popper),w=parseFloat(g["margin"+p]),x=parseFloat(g["border"+p+"Width"]),b=m-t.offsets.popper[f]-w-x;return b=Math.max(Math.min(s[u]-v,b),0),t.arrowElement=n,t.offsets.arrow=(j(r={},f,Math.round(b)),j(r,h,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(W(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=H(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=B(n),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case nt:s=[n,o];break;case ot:s=rt(n);break;case it:s=rt(n,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=B(n);var c=t.offsets.popper,u=t.offsets.reference,p=Math.floor,f="left"===n&&p(c.right)>p(u.left)||"right"===n&&p(c.left)<p(u.right)||"top"===n&&p(c.bottom)>p(u.top)||"bottom"===n&&p(c.top)<p(u.bottom),h=p(c.left)<p(r.left),d=p(c.right)>p(r.right),v=p(c.top)<p(r.top),m=p(c.bottom)>p(r.bottom),g="left"===n&&h||"right"===n&&d||"top"===n&&v||"bottom"===n&&m,w=-1!==["top","bottom"].indexOf(n),x=!!e.flipVariations&&(w&&"start"===i&&h||w&&"end"===i&&d||!w&&"start"===i&&v||!w&&"end"===i&&m),b=!!e.flipVariationsByContent&&(w&&"start"===i&&d||w&&"end"===i&&h||!w&&"start"===i&&m||!w&&"end"===i&&v),y=x||b;(f||g||y)&&(t.flipped=!0,(f||g)&&(n=s[l+1]),y&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=n+(i?"-"+i:""),t.offsets.popper=O({},t.offsets.popper,P(t.instance.popper,t.offsets.reference,t.placement)),t=D(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,o=n.popper,i=n.reference,s=-1!==["left","right"].indexOf(r),a=-1===["top","left"].indexOf(r);return o[s?"left":"top"]=i[r]-(a?o[s?"width":"height"]:0),t.placement=B(e),t.offsets.popper=k(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=N(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,o=t.offsets.popper,i=N(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=d(t.instance.popper),l=z(a),c={position:o.position},u=function(t,e){var r=t.offsets,n=r.popper,o=r.reference,i=Math.round,s=Math.floor,a=function(t){return t},l=i(o.width),c=i(n.width),u=-1!==["left","right"].indexOf(t.placement),p=-1!==t.placement.indexOf("-"),f=e?u||p||l%2==c%2?i:s:a,h=e?i:a;return{left:f(l%2==1&&c%2==1&&!p&&e?n.left-1:n.left),top:h(n.top),bottom:h(n.bottom),right:f(n.right)}}(t,window.devicePixelRatio<2||!K),p="bottom"===r?"top":"bottom",f="right"===n?"left":"right",h=U("transform"),v=void 0,m=void 0;if(m="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,v="right"===f?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&h)c[h]="translate3d("+v+"px, "+m+"px, 0)",c[p]=0,c[f]=0,c.willChange="transform";else{var g="bottom"===p?-1:1,w="right"===f?-1:1;c[p]=m*g,c[f]=v*w,c.willChange=p+", "+f}var x={"x-placement":t.placement};return t.attributes=O({},x,t.attributes),t.styles=O({},c,t.styles),t.arrowStyles=O({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return J(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,o){var i=V(o,e,t,r.positionFixed),s=S(r.placement,i,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},lt=function(){function t(e,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=O({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(O({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){n.options.modifiers[e]=O({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return O({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return F.call(this)}},{key:"destroy",value:function(){return I.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const ct=lt,ut={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ct(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const pt=(0,r(1900).Z)(ut,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?r("portal",{attrs:{to:"dropdown"}},[r("div",[r("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),r("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5007:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{name:String}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return"apple"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("g",{attrs:{"fill-rule":"nonzero"}},[r("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),r("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,r)=>{"use strict";r.d(e,{Z:()=>f});var n=r(5007),o=r(3354),i=r(381);const s={components:{Icon:n.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return""===r[0]?""===t:r.filter((function(e){return t.startsWith(e)})).length}}};var a=r(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),r("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),r("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),r("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const c={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const u=(0,a.Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.$page.props.flash.success&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):r("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?r("span",[t._v("There is one form error.")]):r("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,p={components:{Dropdown:i.Z,FlashMessages:u,Icon:n.Z,Logo:o.Z,MainMenu:l}};const f=(0,a.Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),r("div",{staticClass:"md:flex md:flex-col"},[r("div",{staticClass:"md:h-screen md:flex md:flex-col"},[r("div",{staticClass:"md:flex md:flex-shrink-0"},[r("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[r("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[r("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),r("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[r("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),r("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[r("main-menu")],1)])],1),t._v(" "),r("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[r("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),r("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[r("div",{staticClass:"flex items-center cursor-pointer select-none group"},[r("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[r("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),r("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),r("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),r("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[r("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),r("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[r("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},3354:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const n=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),r("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},5251:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{links:Array}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.links.length>3?r("div",[r("div",{staticClass:"flex flex-wrap -mb-1"},[t._l(t.links,(function(e,n){return[null===e.url?r("div",{key:n,staticClass:"mr-1 mb-1 px-4 py-3 text-sm leading-4 text-gray-400 border rounded",domProps:{innerHTML:t._s(e.label)}}):r("inertia-link",{key:n,staticClass:"mr-1 mb-1 px-4 py-3 text-sm leading-4 border rounded hover:bg-white focus:border-indigo-500 focus:text-indigo-500",class:{"bg-white":e.active},attrs:{href:e.url},domProps:{innerHTML:t._s(e.label)}})]}))],2)]):t._e()}),[],!1,null,null,null).exports},8014:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={components:{Dropdown:r(381).Z},props:{value:String,maxWidth:{type:Number,default:300}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"flex items-center"},[r("div",{staticClass:"flex w-full bg-white shadow rounded"},[r("dropdown",{staticClass:"px-4 md:px-6 rounded-l border-r hover:bg-gray-100 focus:border-white focus:ring focus:z-10",attrs:{"auto-close":!1,placement:"bottom-start"}},[r("div",{staticClass:"flex items-baseline"},[r("span",{staticClass:"text-gray-700 hidden md:inline"},[t._v("Filter")]),t._v(" "),r("svg",{staticClass:"w-2 h-2 fill-gray-700 md:ml-2",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 961.243 599.998"}},[r("path",{attrs:{d:"M239.998 239.999L0 0h961.243L721.246 240c-131.999 132-240.28 240-240.624 239.999-.345-.001-108.625-108.001-240.624-240z"}})])]),t._v(" "),r("div",{staticClass:"mt-2 px-4 py-6 w-screen shadow-xl bg-white rounded",style:{maxWidth:t.maxWidth+"px"},attrs:{slot:"dropdown"},slot:"dropdown"},[t._t("default")],2)]),t._v(" "),r("input",{staticClass:"relative w-full px-6 py-3 rounded-r focus:ring",attrs:{autocomplete:"off",type:"text",name:"search",placeholder:"Search…"},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})],1),t._v(" "),r("button",{staticClass:"ml-3 text-sm text-gray-500 hover:text-gray-700 focus:text-indigo-500",attrs:{type:"button"},on:{click:function(e){return t.$emit("reset")}}},[t._v("Reset")])])}),[],!1,null,null,null).exports},1900:(t,e,r)=>{"use strict";function n(t,e,r,n,o,i,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),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:()=>n})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[786],{8786:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>a});var n=r(9714),o=r(6119),i=r(3669);const s={metaInfo:{title:"Create Contact"},components:{LoadingButton:r(1100).Z,SelectInput:i.Z,TextInput:o.Z},layout:n.Z,props:{organizations:Array},remember:"form",data:function(){return{form:this.$inertia.form({first_name:null,last_name:null,organization_id:null,email:null,phone:null,address:null,city:null,region:null,country:null,postal_code:null})}},methods:{store:function(){this.form.post(this.route("contacts.store"))}}};const a=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("h1",{staticClass:"mb-8 font-bold text-3xl"},[r("inertia-link",{staticClass:"text-indigo-400 hover:text-indigo-600",attrs:{href:t.route("contacts")}},[t._v("Contacts")]),t._v(" "),r("span",{staticClass:"text-indigo-400 font-medium"},[t._v("/")]),t._v(" Create\n ")],1),t._v(" "),r("div",{staticClass:"bg-white rounded-md shadow overflow-hidden max-w-3xl"},[r("form",{on:{submit:function(e){return e.preventDefault(),t.store(e)}}},[r("div",{staticClass:"p-8 -mr-6 -mb-8 flex flex-wrap"},[r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.first_name,label:"First name"},model:{value:t.form.first_name,callback:function(e){t.$set(t.form,"first_name",e)},expression:"form.first_name"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.last_name,label:"Last name"},model:{value:t.form.last_name,callback:function(e){t.$set(t.form,"last_name",e)},expression:"form.last_name"}}),t._v(" "),r("select-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.organization_id,label:"Organization"},model:{value:t.form.organization_id,callback:function(e){t.$set(t.form,"organization_id",e)},expression:"form.organization_id"}},[r("option",{domProps:{value:null}}),t._v(" "),t._l(t.organizations,(function(e){return r("option",{key:e.id,domProps:{value:e.id}},[t._v(t._s(e.name))])}))],2),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.email,label:"Email"},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.phone,label:"Phone"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.address,label:"Address"},model:{value:t.form.address,callback:function(e){t.$set(t.form,"address",e)},expression:"form.address"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.city,label:"City"},model:{value:t.form.city,callback:function(e){t.$set(t.form,"city",e)},expression:"form.city"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.region,label:"Province/State"},model:{value:t.form.region,callback:function(e){t.$set(t.form,"region",e)},expression:"form.region"}}),t._v(" "),r("select-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.country,label:"Country"},model:{value:t.form.country,callback:function(e){t.$set(t.form,"country",e)},expression:"form.country"}},[r("option",{domProps:{value:null}}),t._v(" "),r("option",{attrs:{value:"CA"}},[t._v("Canada")]),t._v(" "),r("option",{attrs:{value:"US"}},[t._v("United States")])]),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.postal_code,label:"Postal code"},model:{value:t.form.postal_code,callback:function(e){t.$set(t.form,"postal_code",e)},expression:"form.postal_code"}})],1),t._v(" "),r("div",{staticClass:"px-8 py-4 bg-gray-50 border-t border-gray-100 flex justify-end items-center"},[r("loading-button",{staticClass:"btn-indigo",attrs:{loading:t.form.processing,type:"submit"}},[t._v("Create Contact")])],1)])])])}),[],!1,null,null,null).exports},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>pt});var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function f(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),r=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?t:f(l(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var p=n&&!(!window.MSInputMethodContext||!document.documentMode),u=n&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?p:10===t?u:p||u}function h(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===a(r,"position")?h(r):r:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,o=r?e:t,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&h(s.firstElementChild)!==s?h(l):l;var f=m(t);return f.host?v(f.host,e):v(t,m(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[r]}return t[r]}function w(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g(e,"top"),o=g(e,"left"),i=r?-1:1;return t.top+=n*i,t.bottom+=n*i,t.left+=o*i,t.right+=o*i,t}function b(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function x(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],d(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,r=t.documentElement,n=d(10)&&getComputedStyle(r);return{height:x("Height",e,r,n),width:x("Width",e,r,n)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),z=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function k(t){return E({},t,{right:t.left+t.width,bottom:t.top+t.height})}function M(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var r=g(t,"top"),n=g(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,f=t.offsetWidth-s,c=t.offsetHeight-l;if(f||c){var p=a(t);f-=b(p,"x"),c-=b(p,"y"),o.width-=f,o.height-=c}return k(o)}function L(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=d(10),o="HTML"===e.nodeName,i=M(t),s=M(e),l=f(t),c=a(e),p=parseFloat(c.borderTopWidth),u=parseFloat(c.borderLeftWidth);r&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=k({top:i.top-s.top-p,left:i.left-s.left-u,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!n&&o){var m=parseFloat(c.marginTop),v=parseFloat(c.marginLeft);h.top-=p-m,h.bottom-=p-m,h.left-=u-v,h.right-=u-v,h.marginTop=m,h.marginLeft=v}return(n&&!r?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(h=w(h,e)),h}function H(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=L(t,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:g(r),a=e?0:g(r,"left"),l={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:i};return k(l)}function O(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var r=l(t);return!!r&&O(r)}function $(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function V(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?$(t):v(t,c(e));if("viewport"===n)i=H(s,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=f(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var p=L(a,s,o);if("HTML"!==a.nodeName||O(s))i=p;else{var u=y(t.ownerDocument),d=u.height,h=u.width;i.top+=p.top-p.marginTop,i.bottom=d+p.top,i.left+=p.left-p.marginLeft,i.right=h+p.left}}var m="number"==typeof(r=r||0);return i.left+=m?r:r.left||0,i.top+=m?r:r.top||0,i.right-=m?r:r.right||0,i.bottom-=m?r:r.bottom||0,i}function S(t){return t.width*t.height}function B(t,e,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=V(r,n,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return E({key:t},a[t],{area:S(a[t])})})).sort((function(t,e){return e.area-t.area})),f=l.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),c=f.length>0?f[0].key:l[0].key,p=t.split("-")[1];return c+(p?"-"+p:"")}function T(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?$(e):v(e,c(r));return L(r,o,n)}function D(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function N(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function A(t,e,r){r=r.split("-")[0];var n=D(t),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",f=i?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=r===a?e[a]-n[f]:e[N(a)],o}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function P(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=F(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&s(r)&&(e.offsets.popper=k(e.offsets.popper),e.offsets.reference=k(e.offsets.reference),e=r(e,t))})),e}function Z(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=T(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=B(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=A(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=P(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function U(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function j(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],i=o?""+o+r:t;if(void 0!==document.body.style[i])return i}return null}function W(){return this.state.isDestroyed=!0,U(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[j("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(t){var e=t.ownerDocument;return e?e.defaultView:window}function I(t,e,r,n){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,r,{passive:!0}),o||I(f(i.parentNode),e,r,n),n.push(i)}function Y(t,e,r,n){r.updateBound=n,R(t).addEventListener("resize",r.updateBound,{passive:!0});var o=f(t);return I(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,R(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(t,e,r){var n=F(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!o){var i="`"+e+"`",s="`"+r+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=et.indexOf(t),n=et.slice(r+1).concat(et.slice(0,r));return e?n.reverse():n}var nt="flip",ot="clockwise",it="counterclockwise";function st(t,e,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(F(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,f=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(f=f.map((function(t,n){var o=(1===n?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=r;break;case"%":case"%r":default:a=n}return k(a)[e]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,o,e,r)}))}))).forEach((function(t,e){t.forEach((function(r,n){X(r)&&(o[e]+=r*("-"===t[n-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(r),l=a?"left":"top",f=a?"width":"height",c={start:z({},l,i[l]),end:z({},l,i[l]+i[f]-s[f])};t.offsets.popper=E({},s,c[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=X(+r)?[+r,0]:st(r,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||h(t.instance.popper);t.instance.reference===r&&(r=h(r));var n=j("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=V(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);o.top=i,o.left=s,o[n]=a,e.boundaries=l;var f=e.priority,c=t.offsets.popper,p={primary:function(t){var r=c[t];return c[t]<l[t]&&!e.escapeWithReference&&(r=Math.max(c[t],l[t])),z({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=c[r];return c[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(c[r],l[t]-("right"===t?c.width:c.height))),z({},r,n)}};return f.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=E({},c,p[e](t))})),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",f=s?"width":"height";return r[a]<i(n[l])&&(t.offsets.popper[l]=i(n[l])-r[f]),r[l]>i(n[a])&&(t.offsets.popper[l]=i(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,f=-1!==["left","right"].indexOf(o),c=f?"height":"width",p=f?"Top":"Left",u=p.toLowerCase(),d=f?"left":"top",h=f?"bottom":"right",m=D(n)[c];l[h]-m<s[u]&&(t.offsets.popper[u]-=s[u]-(l[h]-m)),l[u]+m>s[h]&&(t.offsets.popper[u]+=l[u]+m-s[h]),t.offsets.popper=k(t.offsets.popper);var v=l[u]+l[c]/2-m/2,g=a(t.instance.popper),w=parseFloat(g["margin"+p]),b=parseFloat(g["border"+p+"Width"]),x=v-t.offsets.popper[u]-w-b;return x=Math.max(Math.min(s[c]-m,x),0),t.arrowElement=n,t.offsets.arrow=(z(r={},u,Math.round(x)),z(r,d,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(U(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=V(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=N(n),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case nt:s=[n,o];break;case ot:s=rt(n);break;case it:s=rt(n,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=N(n);var f=t.offsets.popper,c=t.offsets.reference,p=Math.floor,u="left"===n&&p(f.right)>p(c.left)||"right"===n&&p(f.left)<p(c.right)||"top"===n&&p(f.bottom)>p(c.top)||"bottom"===n&&p(f.top)<p(c.bottom),d=p(f.left)<p(r.left),h=p(f.right)>p(r.right),m=p(f.top)<p(r.top),v=p(f.bottom)>p(r.bottom),g="left"===n&&d||"right"===n&&h||"top"===n&&m||"bottom"===n&&v,w=-1!==["top","bottom"].indexOf(n),b=!!e.flipVariations&&(w&&"start"===i&&d||w&&"end"===i&&h||!w&&"start"===i&&m||!w&&"end"===i&&v),x=!!e.flipVariationsByContent&&(w&&"start"===i&&h||w&&"end"===i&&d||!w&&"start"===i&&v||!w&&"end"===i&&m),y=b||x;(u||g||y)&&(t.flipped=!0,(u||g)&&(n=s[l+1]),y&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=n+(i?"-"+i:""),t.offsets.popper=E({},t.offsets.popper,A(t.instance.popper,t.offsets.reference,t.placement)),t=P(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,o=n.popper,i=n.reference,s=-1!==["left","right"].indexOf(r),a=-1===["top","left"].indexOf(r);return o[s?"left":"top"]=i[r]-(a?o[s?"width":"height"]:0),t.placement=N(e),t.offsets.popper=k(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=F(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,o=t.offsets.popper,i=F(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=h(t.instance.popper),l=M(a),f={position:o.position},c=function(t,e){var r=t.offsets,n=r.popper,o=r.reference,i=Math.round,s=Math.floor,a=function(t){return t},l=i(o.width),f=i(n.width),c=-1!==["left","right"].indexOf(t.placement),p=-1!==t.placement.indexOf("-"),u=e?c||p||l%2==f%2?i:s:a,d=e?i:a;return{left:u(l%2==1&&f%2==1&&!p&&e?n.left-1:n.left),top:d(n.top),bottom:d(n.bottom),right:u(n.right)}}(t,window.devicePixelRatio<2||!K),p="bottom"===r?"top":"bottom",u="right"===n?"left":"right",d=j("transform"),m=void 0,v=void 0;if(v="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+c.bottom:-l.height+c.bottom:c.top,m="right"===u?"HTML"===a.nodeName?-a.clientWidth+c.right:-l.width+c.right:c.left,s&&d)f[d]="translate3d("+m+"px, "+v+"px, 0)",f[p]=0,f[u]=0,f.willChange="transform";else{var g="bottom"===p?-1:1,w="right"===u?-1:1;f[p]=v*g,f[u]=m*w,f.willChange=p+", "+u}var b={"x-placement":t.placement};return t.attributes=E({},b,t.attributes),t.styles=E({},f,t.styles),t.arrowStyles=E({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return J(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,o){var i=T(o,e,t,r.positionFixed),s=B(r.placement,i,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},lt=function(){function t(e,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=E({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(E({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){n.options.modifiers[e]=E({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return E({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return Z.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const ft=lt,ct={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ft(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const pt=(0,r(1900).Z)(ct,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?r("portal",{attrs:{to:"dropdown"}},[r("div",[r("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),r("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5007:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{name:String}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return"apple"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("g",{attrs:{"fill-rule":"nonzero"}},[r("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),r("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,r)=>{"use strict";r.d(e,{Z:()=>u});var n=r(5007),o=r(3354),i=r(381);const s={components:{Icon:n.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return""===r[0]?""===t:r.filter((function(e){return t.startsWith(e)})).length}}};var a=r(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),r("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),r("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),r("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const f={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const c=(0,a.Z)(f,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.$page.props.flash.success&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):r("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?r("span",[t._v("There is one form error.")]):r("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,p={components:{Dropdown:i.Z,FlashMessages:c,Icon:n.Z,Logo:o.Z,MainMenu:l}};const u=(0,a.Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),r("div",{staticClass:"md:flex md:flex-col"},[r("div",{staticClass:"md:h-screen md:flex md:flex-col"},[r("div",{staticClass:"md:flex md:flex-shrink-0"},[r("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[r("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[r("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),r("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[r("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),r("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[r("main-menu")],1)])],1),t._v(" "),r("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[r("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),r("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[r("div",{staticClass:"flex items-center cursor-pointer select-none group"},[r("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[r("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),r("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),r("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),r("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[r("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),r("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[r("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},1100:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{loading:Boolean}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{staticClass:"flex items-center",attrs:{disabled:t.loading}},[t.loading?r("div",{staticClass:"btn-spinner mr-2"}):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},3354:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const n=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),r("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},3669:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"select-input-".concat(this._uid)}},value:[String,Number,Boolean],label:String,error:String},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("input",t)}},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"input",staticClass:"form-select",class:{error:t.error},attrs:{id:t.id},on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?r:r[0]}}},"select",t.$attrs,!1),[t._t("default")],2),t._v(" "),t.error?r("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},6119:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"text-input-".concat(this._uid)}},type:{type:String,default:"text"},value:String,label:String,error:String,readonly:Boolean},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},setSelectionRange:function(t,e){this.$refs.input.setSelectionRange(t,e)}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("input",t._b({ref:"input",staticClass:"form-input",class:{error:t.error},attrs:{id:t.id,readonly:t.readonly,type:t.type},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},"input",t.$attrs,!1)),t._v(" "),t.error?r("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},1900:(t,e,r)=>{"use strict";function n(t,e,r,n,o,i,s,a){var l,f="function"==typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=r,f._compiled=!0),n&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},f._ssrRegister=l):o&&(l=a?function(){o.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(f.functional){f._injectStyles=l;var c=f.render;f.render=function(t,e){return l.call(e),c(t,e)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:f}}r.d(e,{Z:()=>n})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[907],{6907:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>f});var n=r(9714),o=r(5865),i=r(6119),s=r(3669),a=r(1100);const l={metaInfo:{title:"Create User"},components:{FileInput:o.Z,LoadingButton:a.Z,SelectInput:s.Z,TextInput:i.Z},layout:n.Z,remember:"form",data:function(){return{form:this.$inertia.form({first_name:null,last_name:null,email:null,password:null,owner:!1,photo:null})}},methods:{store:function(){this.form.post(this.route("users.store"))}}};const f=(0,r(1900).Z)(l,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("h1",{staticClass:"mb-8 font-bold text-3xl"},[r("inertia-link",{staticClass:"text-indigo-400 hover:text-indigo-600",attrs:{href:t.route("users")}},[t._v("Users")]),t._v(" "),r("span",{staticClass:"text-indigo-400 font-medium"},[t._v("/")]),t._v(" Create\n ")],1),t._v(" "),r("div",{staticClass:"bg-white rounded-md shadow overflow-hidden max-w-3xl"},[r("form",{on:{submit:function(e){return e.preventDefault(),t.store(e)}}},[r("div",{staticClass:"p-8 -mr-6 -mb-8 flex flex-wrap"},[r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.first_name,label:"First name"},model:{value:t.form.first_name,callback:function(e){t.$set(t.form,"first_name",e)},expression:"form.first_name"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.last_name,label:"Last name"},model:{value:t.form.last_name,callback:function(e){t.$set(t.form,"last_name",e)},expression:"form.last_name"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.email,label:"Email"},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}}),t._v(" "),r("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.password,type:"password",autocomplete:"new-password",label:"Password"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t._v(" "),r("select-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.owner,label:"Owner"},model:{value:t.form.owner,callback:function(e){t.$set(t.form,"owner",e)},expression:"form.owner"}},[r("option",{domProps:{value:!0}},[t._v("Yes")]),t._v(" "),r("option",{domProps:{value:!1}},[t._v("No")])]),t._v(" "),r("file-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.photo,type:"file",accept:"image/*",label:"Photo"},model:{value:t.form.photo,callback:function(e){t.$set(t.form,"photo",e)},expression:"form.photo"}})],1),t._v(" "),r("div",{staticClass:"px-8 py-4 bg-gray-50 border-t border-gray-100 flex justify-end items-center"},[r("loading-button",{staticClass:"btn-indigo",attrs:{loading:t.form.processing,type:"submit"}},[t._v("Create User")])],1)])])])}),[],!1,null,null,null).exports},381:(t,e,r)=>{"use strict";r.d(e,{Z:()=>ct});var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function f(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),r=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?t:f(l(t))}function p(t){return t&&t.referenceNode?t.referenceNode:t}var c=n&&!(!window.MSInputMethodContext||!document.documentMode),u=n&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?c:10===t?u:c||u}function h(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===a(r,"position")?h(r):r:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,o=r?e:t,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&h(s.firstElementChild)!==s?h(l):l;var f=m(t);return f.host?v(f.host,e):v(t,m(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[r]}return t[r]}function w(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g(e,"top"),o=g(e,"left"),i=r?-1:1;return t.top+=n*i,t.bottom+=n*i,t.left+=o*i,t.right+=o*i,t}function b(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function x(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],d(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,r=t.documentElement,n=d(10)&&getComputedStyle(r);return{height:x("Height",e,r,n),width:x("Width",e,r,n)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),E=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function z(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function M(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var r=g(t,"top"),n=g(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,f=t.offsetWidth-s,p=t.offsetHeight-l;if(f||p){var c=a(t);f-=b(c,"x"),p-=b(c,"y"),o.width-=f,o.height-=p}return z(o)}function L(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=d(10),o="HTML"===e.nodeName,i=M(t),s=M(e),l=f(t),p=a(e),c=parseFloat(p.borderTopWidth),u=parseFloat(p.borderLeftWidth);r&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=z({top:i.top-s.top-c,left:i.left-s.left-u,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!n&&o){var m=parseFloat(p.marginTop),v=parseFloat(p.marginLeft);h.top-=c-m,h.bottom-=c-m,h.left-=u-v,h.right-=u-v,h.marginTop=m,h.marginLeft=v}return(n&&!r?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(h=w(h,e)),h}function H(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=L(t,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:g(r),a=e?0:g(r,"left"),l={top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:i};return z(l)}function O(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var r=l(t);return!!r&&O(r)}function $(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function B(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?$(t):v(t,p(e));if("viewport"===n)i=H(s,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=f(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var c=L(a,s,o);if("HTML"!==a.nodeName||O(s))i=c;else{var u=y(t.ownerDocument),d=u.height,h=u.width;i.top+=c.top-c.marginTop,i.bottom=d+c.top,i.left+=c.left-c.marginLeft,i.right=h+c.left}}var m="number"==typeof(r=r||0);return i.left+=m?r:r.left||0,i.top+=m?r:r.top||0,i.right-=m?r:r.right||0,i.bottom-=m?r:r.bottom||0,i}function V(t){return t.width*t.height}function S(t,e,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=B(r,n,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return k({key:t},a[t],{area:V(a[t])})})).sort((function(t,e){return e.area-t.area})),f=l.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),p=f.length>0?f[0].key:l[0].key,c=t.split("-")[1];return p+(c?"-"+c:"")}function T(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?$(e):v(e,p(r));return L(r,o,n)}function N(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function D(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function F(t,e,r){r=r.split("-")[0];var n=N(t),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",f=i?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=r===a?e[a]-n[f]:e[D(a)],o}function A(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Z(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=A(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&s(r)&&(e.offsets.popper=z(e.offsets.popper),e.offsets.reference=z(e.offsets.reference),e=r(e,t))})),e}function P(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=T(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=S(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=F(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Z(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function U(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function j(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],i=o?""+o+r:t;if(void 0!==document.body.style[i])return i}return null}function W(){return this.state.isDestroyed=!0,U(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[j("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(t){var e=t.ownerDocument;return e?e.defaultView:window}function I(t,e,r,n){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,r,{passive:!0}),o||I(f(i.parentNode),e,r,n),n.push(i)}function Y(t,e,r,n){r.updateBound=n,R(t).addEventListener("resize",r.updateBound,{passive:!0});var o=f(t);return I(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,R(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(t,e,r){var n=A(t,(function(t){return t.name===e})),o=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!o){var i="`"+e+"`",s="`"+r+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=et.indexOf(t),n=et.slice(r+1).concat(et.slice(0,r));return e?n.reverse():n}var nt="flip",ot="clockwise",it="counterclockwise";function st(t,e,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(A(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,f=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(f=f.map((function(t,n){var o=(1===n?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=r;break;case"%":case"%r":default:a=n}return z(a)[e]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,o,e,r)}))}))).forEach((function(t,e){t.forEach((function(r,n){X(r)&&(o[e]+=r*("-"===t[n-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(r),l=a?"left":"top",f=a?"width":"height",p={start:E({},l,i[l]),end:E({},l,i[l]+i[f]-s[f])};t.offsets.popper=k({},s,p[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=X(+r)?[+r,0]:st(r,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||h(t.instance.popper);t.instance.reference===r&&(r=h(r));var n=j("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=B(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);o.top=i,o.left=s,o[n]=a,e.boundaries=l;var f=e.priority,p=t.offsets.popper,c={primary:function(t){var r=p[t];return p[t]<l[t]&&!e.escapeWithReference&&(r=Math.max(p[t],l[t])),E({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=p[r];return p[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(p[r],l[t]-("right"===t?p.width:p.height))),E({},r,n)}};return f.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";p=k({},p,c[e](t))})),t.offsets.popper=p,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",f=s?"width":"height";return r[a]<i(n[l])&&(t.offsets.popper[l]=i(n[l])-r[f]),r[l]>i(n[a])&&(t.offsets.popper[l]=i(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,f=-1!==["left","right"].indexOf(o),p=f?"height":"width",c=f?"Top":"Left",u=c.toLowerCase(),d=f?"left":"top",h=f?"bottom":"right",m=N(n)[p];l[h]-m<s[u]&&(t.offsets.popper[u]-=s[u]-(l[h]-m)),l[u]+m>s[h]&&(t.offsets.popper[u]+=l[u]+m-s[h]),t.offsets.popper=z(t.offsets.popper);var v=l[u]+l[p]/2-m/2,g=a(t.instance.popper),w=parseFloat(g["margin"+c]),b=parseFloat(g["border"+c+"Width"]),x=v-t.offsets.popper[u]-w-b;return x=Math.max(Math.min(s[p]-m,x),0),t.arrowElement=n,t.offsets.arrow=(E(r={},u,Math.round(x)),E(r,d,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(U(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=B(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=D(n),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case nt:s=[n,o];break;case ot:s=rt(n);break;case it:s=rt(n,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=D(n);var f=t.offsets.popper,p=t.offsets.reference,c=Math.floor,u="left"===n&&c(f.right)>c(p.left)||"right"===n&&c(f.left)<c(p.right)||"top"===n&&c(f.bottom)>c(p.top)||"bottom"===n&&c(f.top)<c(p.bottom),d=c(f.left)<c(r.left),h=c(f.right)>c(r.right),m=c(f.top)<c(r.top),v=c(f.bottom)>c(r.bottom),g="left"===n&&d||"right"===n&&h||"top"===n&&m||"bottom"===n&&v,w=-1!==["top","bottom"].indexOf(n),b=!!e.flipVariations&&(w&&"start"===i&&d||w&&"end"===i&&h||!w&&"start"===i&&m||!w&&"end"===i&&v),x=!!e.flipVariationsByContent&&(w&&"start"===i&&h||w&&"end"===i&&d||!w&&"start"===i&&v||!w&&"end"===i&&m),y=b||x;(u||g||y)&&(t.flipped=!0,(u||g)&&(n=s[l+1]),y&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=n+(i?"-"+i:""),t.offsets.popper=k({},t.offsets.popper,F(t.instance.popper,t.offsets.reference,t.placement)),t=Z(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,o=n.popper,i=n.reference,s=-1!==["left","right"].indexOf(r),a=-1===["top","left"].indexOf(r);return o[s?"left":"top"]=i[r]-(a?o[s?"width":"height"]:0),t.placement=D(e),t.offsets.popper=z(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=A(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,o=t.offsets.popper,i=A(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=h(t.instance.popper),l=M(a),f={position:o.position},p=function(t,e){var r=t.offsets,n=r.popper,o=r.reference,i=Math.round,s=Math.floor,a=function(t){return t},l=i(o.width),f=i(n.width),p=-1!==["left","right"].indexOf(t.placement),c=-1!==t.placement.indexOf("-"),u=e?p||c||l%2==f%2?i:s:a,d=e?i:a;return{left:u(l%2==1&&f%2==1&&!c&&e?n.left-1:n.left),top:d(n.top),bottom:d(n.bottom),right:u(n.right)}}(t,window.devicePixelRatio<2||!K),c="bottom"===r?"top":"bottom",u="right"===n?"left":"right",d=j("transform"),m=void 0,v=void 0;if(v="bottom"===c?"HTML"===a.nodeName?-a.clientHeight+p.bottom:-l.height+p.bottom:p.top,m="right"===u?"HTML"===a.nodeName?-a.clientWidth+p.right:-l.width+p.right:p.left,s&&d)f[d]="translate3d("+m+"px, "+v+"px, 0)",f[c]=0,f[u]=0,f.willChange="transform";else{var g="bottom"===c?-1:1,w="right"===u?-1:1;f[c]=v*g,f[u]=m*w,f.willChange=c+", "+u}var b={"x-placement":t.placement};return t.attributes=k({},b,t.attributes),t.styles=k({},f,t.styles),t.arrowStyles=k({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return J(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,o){var i=T(o,e,t,r.positionFixed),s=S(r.placement,i,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},lt=function(){function t(e,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=k({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(k({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){n.options.modifiers[e]=k({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return k({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return P.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const ft=lt,pt={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ft(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const ct=(0,r(1900).Z)(pt,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?r("portal",{attrs:{to:"dropdown"}},[r("div",[r("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),r("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5865:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{value:File,label:String,accept:String,errors:{type:Array,default:function(){return[]}}},watch:{value:function(t){t||(this.$refs.file.value="")}},methods:{filesize:function(t){var e=Math.floor(Math.log(t)/Math.log(1024));return 1*(t/Math.pow(1024,e)).toFixed(2)+" "+["B","kB","MB","GB","TB"][e]},browse:function(){this.$refs.file.click()},change:function(t){this.$emit("input",t.target.files[0])},remove:function(){this.$emit("input",null)}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label"},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("div",{staticClass:"form-input p-0",class:{error:t.errors.length}},[r("input",{ref:"file",staticClass:"hidden",attrs:{type:"file",accept:t.accept},on:{change:t.change}}),t._v(" "),t.value?r("div",{staticClass:"flex items-center justify-between p-2"},[r("div",{staticClass:"flex-1 pr-1"},[t._v("\n "+t._s(t.value.name)+" "),r("span",{staticClass:"text-gray-500 text-xs"},[t._v("("+t._s(t.filesize(t.value.size))+")")])]),t._v(" "),r("button",{staticClass:"px-4 py-1 bg-gray-500 hover:bg-gray-700 rounded-sm text-xs font-medium text-white",attrs:{type:"button"},on:{click:t.remove}},[t._v("\n Remove\n ")])]):r("div",{staticClass:"p-2"},[r("button",{staticClass:"px-4 py-1 bg-gray-500 hover:bg-gray-700 rounded-sm text-xs font-medium text-white",attrs:{type:"button"},on:{click:t.browse}},[t._v("\n Browse\n ")])])]),t._v(" "),t.errors.length?r("div",{staticClass:"form-error"},[t._v(t._s(t.errors[0]))]):t._e()])}),[],!1,null,null,null).exports},5007:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{name:String}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return"apple"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("g",{attrs:{"fill-rule":"nonzero"}},[r("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),r("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,r)=>{"use strict";r.d(e,{Z:()=>u});var n=r(5007),o=r(3354),i=r(381);const s={components:{Icon:n.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return""===r[0]?""===t:r.filter((function(e){return t.startsWith(e)})).length}}};var a=r(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),r("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),r("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),r("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),r("div",{staticClass:"mb-4"},[r("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[r("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),r("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const f={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const p=(0,a.Z)(f,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.$page.props.flash.success&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?r("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[r("div",{staticClass:"flex items-center"},[r("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?r("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):r("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?r("span",[t._v("There is one form error.")]):r("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),r("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[r("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[r("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,c={components:{Dropdown:i.Z,FlashMessages:p,Icon:n.Z,Logo:o.Z,MainMenu:l}};const u=(0,a.Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),r("div",{staticClass:"md:flex md:flex-col"},[r("div",{staticClass:"md:h-screen md:flex md:flex-col"},[r("div",{staticClass:"md:flex md:flex-shrink-0"},[r("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[r("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[r("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),r("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[r("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),r("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[r("main-menu")],1)])],1),t._v(" "),r("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[r("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),r("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[r("div",{staticClass:"flex items-center cursor-pointer select-none group"},[r("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[r("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),r("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),r("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),r("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),r("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),r("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[r("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),r("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[r("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},1100:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={props:{loading:Boolean}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{staticClass:"flex items-center",attrs:{disabled:t.loading}},[t.loading?r("div",{staticClass:"btn-spinner mr-2"}):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},3354:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const n=(0,r(1900).Z)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),r("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},3669:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"select-input-".concat(this._uid)}},value:[String,Number,Boolean],label:String,error:String},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("input",t)}},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"input",staticClass:"form-select",class:{error:t.error},attrs:{id:t.id},on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?r:r[0]}}},"select",t.$attrs,!1),[t._t("default")],2),t._v(" "),t.error?r("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},6119:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"text-input-".concat(this._uid)}},type:{type:String,default:"text"},value:String,label:String,error:String,readonly:Boolean},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},setSelectionRange:function(t,e){this.$refs.input.setSelectionRange(t,e)}}};const o=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.label?r("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),r("input",t._b({ref:"input",staticClass:"form-input",class:{error:t.error},attrs:{id:t.id,readonly:t.readonly,type:t.type},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},"input",t.$attrs,!1)),t._v(" "),t.error?r("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},1900:(t,e,r)=>{"use strict";function n(t,e,r,n,o,i,s,a){var l,f="function"==typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=r,f._compiled=!0),n&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},f._ssrRegister=l):o&&(l=a?function(){o.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(f.functional){f._injectStyles=l;var p=f.render;f.render=function(t,e){return l.call(e),p(t,e)}}else{var c=f.beforeCreate;f.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:f}}r.d(e,{Z:()=>n})}}]);
\ No newline at end of file
(self.webpackChunk=self.webpackChunk||[]).push([[92,568,492],{2568:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(5007),o=n(3669),r=n(1100);const s={components:{Icon:i.Z,SelectInput:o.Z,LoadingButton:r.Z},props:{campaigns:Array,token:Object},data:function(){return{campaign_id:null}},watch:{},mounted:function(){},methods:{add:function(){this.campaign_id&&this.$emit("add",this.campaign_id)},enabled:function(t,e){this.$emit("enabled",t,e)},destroy:function(t){this.$emit("delete",t)}}};const a=(0,n(1900).Z)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",{staticClass:"mt-12 font-bold text-2xl"},[t._v("Campaigns")]),t._v(" "),t.campaigns.length?n("div",{staticClass:"mt-4 flex flex-wrap"},[n("select-input",{staticClass:"pr-6",attrs:{readonly:t.campaign_id},model:{value:t.campaign_id,callback:function(e){t.campaign_id=e},expression:"campaign_id"}},t._l(t.campaigns,(function(e){return n("option",{domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+"\n ")])})),0),t._v(" "),n("button",{staticClass:"btn-indigo hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:t.add}},[t._v("\n Add\n ")])],1):t._e(),t._v(" "),n("div",{staticClass:"mt-4 flex flex-wrap"}),t._v(" "),n("div",{staticClass:"mt-6 bg-white rounded shadow overflow-x-auto"},[n("table",{staticClass:"w-full whitespace-nowrap"},[t._m(0),t._v(" "),t._l(t.token.campaigns,(function(e){return n("tr",{key:e.id,staticClass:"hover:bg-gray-100 focus-within:bg-gray-100"},[n("td",{staticClass:"border-t px-6 py-3"},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticClass:"border-t px-6 py-3"},[n("input",{attrs:{id:"campaign-enabled-"+e.id,type:"checkbox"},domProps:{checked:e.enabled},on:{change:function(n){return t.enabled(e.id,!e.enabled)}}}),t._v(" "),n("label",{attrs:{for:"campaign-enabled-"+e.id}},[t._v("Enabled")])]),t._v(" "),n("td",{staticClass:"border-t w-px"},[n("div",{staticClass:"px-6 py-4"},[n("button",{staticClass:"px-4 flex items-center",attrs:{tabindex:"-1"},on:{click:function(n){return t.destroy(e.id)}}},[n("icon",{staticClass:"block w-6 h-6 fill-gray-400",attrs:{name:"trash"}})],1)])])])})),t._v(" "),0===t.token.campaigns.length?n("tr",[n("td",{staticClass:"border-t px-6 py-4",attrs:{colspan:"5"}},[t._v("No campaigns found.")])]):t._e()],2)])])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",{staticClass:"text-left font-bold"},[n("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Name")]),t._v(" "),n("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Action")])])}],!1,null,null,null).exports},1492:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>r});var i=n(3669);const o={components:{Icon:n(5007).Z,SelectInput:i.Z},props:{cities:Array,token:Object,main_token_campaigns:Array},data:function(){return{city:!1}},watch:{},mounted:function(){},methods:{cityAdd:function(){this.$emit("add",this.city)},cityDelete:function(t){this.$emit("delete",t)},synced:function(t,e,n){this.$emit("synced",t,e,n)},updated:function(t,e,n){this.$emit("updated",t,e,n)},enabled:function(t,e,n){this.$emit("enabled",t,e,n)}}};const r=(0,n(1900).Z)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",{staticClass:"mt-12 font-bold text-2xl"},[t._v("Cities")]),t._v(" "),t.cities.length?n("div",{staticClass:"mt-4 flex flex-wrap"},[n("select-input",{staticClass:"pr-6",model:{value:t.city,callback:function(e){t.city=e},expression:"city"}},t._l(t.cities,(function(e){return n("option",{domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+"\n ")])})),0),t._v(" "),n("button",{staticClass:"btn-indigo hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:t.cityAdd}},[t._v("\n Add\n ")])],1):t._e(),t._v(" "),n("div",{staticClass:"mt-6 bg-white rounded shadow"},[n("table",{staticClass:"w-full whitespace-nowrap"},[t._m(0),t._v(" "),t._l(t.token.cities,(function(e){return[n("tr",{key:e.id,staticClass:"hover:bg-gray-100 focus-within:bg-gray-100"},[n("td",{staticClass:"border-t",attrs:{colspan:"5"}},[n("div",{staticClass:"px-6 py-4"},[t._v("\n "+t._s(e.name)+"\n ")])]),t._v(" "),n("td",{staticClass:"border-t w-px"},[n("div",{staticClass:"px-6 py-4"},[n("button",{staticClass:"px-4 flex items-center",attrs:{tabindex:"-1"},on:{click:function(n){return t.cityDelete(e.id)}}},[n("icon",{staticClass:"block w-6 h-6 fill-gray-400",attrs:{name:"trash"}})],1)])])]),t._v(" "),e.dictionary_campaigns.length?n("tr",[n("th",{staticClass:"px-6 pt-6 pb-4"}),t._v(" "),n("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Кампания")]),t._v(" "),n("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Обновлять?")]),t._v(" "),n("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Синхронизировать?")]),t._v(" "),n("th",{staticClass:"px-6 pt-6 pb-4"},[t._v("Включено?")]),t._v(" "),n("th",{staticClass:"px-6 pt-6 pb-4"})]):t._e(),t._v(" "),t._l(e.dictionary_campaigns,(function(i){return e.dictionary_campaigns.length?n("tr",{key:i.id},[n("td",{staticClass:"border-t"}),t._v(" "),n("td",{staticClass:"border-t"},[n("span",{staticClass:"px-6 py-4 flex items-center focus:text-indigo-500"},[n("inertia-link",{staticClass:"hover:text-indigo-500 focus:text-indigo-500",attrs:{href:t.route("token.campaign.variables",[t.token.id,e.id,i.campaign_id])}},[t._v("\n "+t._s(i.name)+"\n ")])],1)]),t._v(" "),n("td",{staticClass:"border-t text-center"},[n("div",{staticClass:"px-6 py-4"},[n("input",{attrs:{type:"checkbox"},domProps:{checked:i.updated},on:{change:function(n){return t.updated(e.id,i.campaign_id,!i.updated)}}})])]),t._v(" "),n("td",{staticClass:"border-t text-center"},[n("input",{attrs:{type:"checkbox"},domProps:{checked:i.synced},on:{change:function(n){return t.synced(e.id,i.campaign_id,!i.synced)}}})]),t._v(" "),n("td",{staticClass:"border-t text-center"},[n("input",{attrs:{type:"checkbox"},domProps:{checked:i.enabled},on:{change:function(n){return t.enabled(e.id,i.campaign_id,!i.enabled)}}})]),t._v(" "),n("td",{staticClass:"border-t"})]):t._e()}))]})),t._v(" "),0===t.token.cities.length?n("tr",[n("td",{staticClass:"border-t px-6 py-4",attrs:{colspan:"4"}},[t._v("No City found.")])]):t._e()],2)])])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",{staticClass:"text-left font-bold"},[n("th",{staticClass:"px-6 pt-6 pb-4",attrs:{colspan:"5"}},[t._v("Name")]),t._v(" "),n("th",{staticClass:"px-6 pt-6 pb-4"})])}],!1,null,null,null).exports},1092:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var i=n(5007),o=n(9714),r=n(6119),s=n(3669),a=n(1100),l=n(284),c=n(1492);const p={metaInfo:function(){return{title:this.form.login}},components:{CampaignsSettings:n(2568).default,CitySettings:c.default,Icon:i.Z,LoadingButton:a.Z,SelectInput:s.Z,TextInput:r.Z,TrashedMessage:l.Z},layout:o.Z,props:{campaigns:Array,token:Object,types:Object,cities:Array,main_token_campaigns:Array},remember:"form",data:function(){return{form:this.$inertia.form({id:this.token.id,login:this.token.login,token:this.token.token,api:this.token.api,type:this.token.type})}},methods:{cityAdd:function(t){this.$inertia.post(this.route("token.city.store",[this.token.id,t]))},cityUpdated:function(t,e,n){this.$inertia.post(this.route("token.city.campaign.updated",[this.token.id,t,e]),{updated:n?1:0})},citySynced:function(t,e,n){this.$inertia.post(this.route("token.city.campaign.synced",[this.token.id,t,e]),{updated:n?1:0})},cityEnabled:function(t,e,n){this.$inertia.post(this.route("token.city.campaign.enabled",[this.token.id,t,e]),{enabled:n?1:0})},cityDelete:function(t){confirm("Are you sure you want to delete this city?")&&this.$inertia.delete(this.route("token.city.destroy",[this.token.id,t]))},tokenUpdate:function(){this.form.post(this.route("token.update",this.token.id))},tokenDestroy:function(){confirm("Are you sure you want to delete this token?")&&this.$inertia.delete(this.route("token.destroy",this.token.id))},campaignEnabled:function(t,e){this.$inertia.post(this.route("token.campaign.enabled",[this.token.id,t]),{enabled:e?1:0})},campaignManaged:function(t,e){this.$inertia.post(this.route("token.campaign.managed",[this.token.id,t]),{managed:e?1:0})},campaignDelete:function(t){confirm("Are you sure you want to delete this campaign?")&&this.campaignManaged(t,0)},campaignAdd:function(t){this.campaignManaged(t,1)}}};const d=(0,n(1900).Z)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"mb-8 font-bold text-3xl"},[n("inertia-link",{staticClass:"text-indigo-400 hover:text-indigo-600",attrs:{href:t.route("tokens")}},[t._v("Tokens")]),t._v(" "),n("span",{staticClass:"text-indigo-400 font-medium"},[t._v("/")]),t._v("\n "+t._s(t.form.login)+"\n ")],1),t._v(" "),n("div",{staticClass:"bg-white rounded-md shadow overflow-hidden max-w-3xl"},[n("form",{on:{submit:function(e){return e.preventDefault(),t.tokenUpdate(e)}}},[n("div",{staticClass:"p-8 -mr-6 -mb-8 flex flex-wrap"},[n("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.login,readonly:!0,label:"Login"},model:{value:t.form.login,callback:function(e){t.$set(t.form,"login",e)},expression:"form.login"}}),t._v(" "),n("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.token,readonly:!0,label:"Token"},model:{value:t.form.token,callback:function(e){t.$set(t.form,"token",e)},expression:"form.token"}}),t._v(" "),n("text-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.api,readonly:!0,label:"API"},model:{value:t.form.api,callback:function(e){t.$set(t.form,"api",e)},expression:"form.api"}}),t._v(" "),n("select-input",{staticClass:"pr-6 pb-8 w-full lg:w-1/2",attrs:{error:t.form.errors.type,readonly:t.form.type,label:"Type"},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},[n("option",{domProps:{value:null}}),t._v(" "),t._l(t.types,(function(e,i){return n("option",{domProps:{value:i}},[t._v(t._s(e))])}))],2)],1),t._v(" "),n("div",{staticClass:"px-8 py-4 bg-gray-50 border-t border-gray-100 flex items-center"},[n("button",{staticClass:"text-red-600 hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:t.tokenDestroy}},[t._v("\n Delete Token\n ")]),t._v(" "),this.token.type?t._e():n("loading-button",{staticClass:"btn-indigo ml-auto",attrs:{loading:t.form.processing,type:"submit"}},[t._v("\n Update Token\n ")])],1)])]),t._v(" "),t.campaigns.length&&t.token.main?n("campaigns-settings",{attrs:{campaigns:t.campaigns,token:t.token},on:{add:t.campaignAdd,enabled:t.campaignEnabled,delete:t.campaignDelete}}):t._e(),t._v(" "),"main"!==t.token.type?n("city-settings",{attrs:{cities:t.cities,token:t.token,main_token_campaigns:t.main_token_campaigns},on:{add:t.cityAdd,delete:t.cityDelete,updated:t.cityUpdated,synced:t.citySynced,enabled:t.cityEnabled}}):t._e()],1)}),[],!1,null,null,null).exports},381:(t,e,n)=>{"use strict";n.d(e,{Z:()=>dt});var i="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(i&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var r=i&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:c(l(t))}function p(t){return t&&t.referenceNode?t.referenceNode:t}var d=i&&!(!window.MSInputMethodContext||!document.documentMode),f=i&&/MSIE 10/.test(navigator.userAgent);function u(t){return 11===t?d:10===t?f:d||f}function h(t){if(!t)return document.documentElement;for(var e=u(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?h(n):n:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&h(s.firstElementChild)!==s?h(l):l;var c=m(t);return c.host?v(c.host,e):v(t,m(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[n]}return t[n]}function w(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=g(e,"top"),o=g(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function b(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+i+"Width"])}function x(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],u(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,n=t.documentElement,i=u(10)&&getComputedStyle(n);return{height:x("Height",e,n,i),width:x("Width",e,n,i)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},C=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),k=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function z(t){return E({},t,{right:t.left+t.width,bottom:t.top+t.height})}function M(t){var e={};try{if(u(10)){e=t.getBoundingClientRect();var n=g(t,"top"),i=g(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?y(t.ownerDocument):{},s=r.width||t.clientWidth||o.width,l=r.height||t.clientHeight||o.height,c=t.offsetWidth-s,p=t.offsetHeight-l;if(c||p){var d=a(t);c-=b(d,"x"),p-=b(d,"y"),o.width-=c,o.height-=p}return z(o)}function $(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=u(10),o="HTML"===e.nodeName,r=M(t),s=M(e),l=c(t),p=a(e),d=parseFloat(p.borderTopWidth),f=parseFloat(p.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=z({top:r.top-s.top-d,left:r.left-s.left-f,width:r.width,height:r.height});if(h.marginTop=0,h.marginLeft=0,!i&&o){var m=parseFloat(p.marginTop),v=parseFloat(p.marginLeft);h.top-=d-m,h.bottom-=d-m,h.left-=f-v,h.right-=f-v,h.marginTop=m,h.marginLeft=v}return(i&&!n?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(h=w(h,e)),h}function L(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=$(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:g(n),a=e?0:g(n,"left"),l={top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:r};return z(l)}function O(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=l(t);return!!n&&O(n)}function H(t){if(!t||!t.parentElement||u())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function T(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?H(t):v(t,p(e));if("viewport"===i)r=L(s,o);else{var a=void 0;"scrollParent"===i?"BODY"===(a=c(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===i?t.ownerDocument.documentElement:i;var d=$(a,s,o);if("HTML"!==a.nodeName||O(s))r=d;else{var f=y(t.ownerDocument),u=f.height,h=f.width;r.top+=d.top-d.marginTop,r.bottom=u+d.top,r.left+=d.left-d.marginLeft,r.right=h+d.left}}var m="number"==typeof(n=n||0);return r.left+=m?n:n.left||0,r.top+=m?n:n.top||0,r.right-=m?n:n.right||0,r.bottom-=m?n:n.bottom||0,r}function S(t){return t.width*t.height}function V(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=T(n,i,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return E({key:t},a[t],{area:S(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight})),p=c.length>0?c[0].key:l[0].key,d=t.split("-")[1];return p+(d?"-"+d:"")}function A(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=i?H(e):v(e,p(n));return $(n,o,i)}function B(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function D(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function N(t,e,n){n=n.split("-")[0];var i=B(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[D(a)],o}function Z(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function P(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var i=Z(t,(function(t){return t[e]===n}));return t.indexOf(i)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&s(n)&&(e.offsets.popper=z(e.offsets.popper),e.offsets.reference=z(e.offsets.reference),e=n(e,t))})),e}function F(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=V(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=N(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=P(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function j(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function U(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var o=e[i],r=o?""+o+n:t;if(void 0!==document.body.style[r])return r}return null}function I(){return this.state.isDestroyed=!0,j(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(t){var e=t.ownerDocument;return e?e.defaultView:window}function R(t,e,n,i){var o="BODY"===t.nodeName,r=o?t.ownerDocument.defaultView:t;r.addEventListener(e,n,{passive:!0}),o||R(c(r.parentNode),e,n,i),i.push(r)}function Y(t,e,n,i){n.updateBound=i,W(t).addEventListener("resize",n.updateBound,{passive:!0});var o=c(t);return R(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,W(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&X(e[n])&&(i="px"),t.style[n]=e[n]+i}))}var K=i&&/Firefox/i.test(navigator.userAgent);function Q(t,e,n){var i=Z(t,(function(t){return t.name===e})),o=!!i&&t.some((function(t){return t.name===n&&t.enabled&&t.order<i.order}));if(!o){var r="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var tt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],et=tt.slice(3);function nt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=et.indexOf(t),i=et.slice(n+1).concat(et.slice(0,n));return e?i.reverse():i}var it="flip",ot="clockwise",rt="counterclockwise";function st(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(Z(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,i){var o=(1===i?!r:r)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return z(a)[e]/100*r}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(t,o,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,i){X(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))}))})),o}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",p={start:k({},l,r[l]),end:k({},l,r[l]+r[c]-s[c])};t.offsets.popper=E({},s,p[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=i.split("-")[0],l=void 0;return l=X(+n)?[+n,0]:st(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||h(t.instance.popper);t.instance.reference===n&&(n=h(n));var i=U("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[i];o.top="",o.left="",o[i]="";var l=T(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=r,o.left=s,o[i]=a,e.boundaries=l;var c=e.priority,p=t.offsets.popper,d={primary:function(t){var n=p[t];return p[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(p[t],l[t])),k({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=p[n];return p[t]>l[t]&&!e.escapeWithReference&&(i=Math.min(p[n],l[t]-("right"===t?p.width:p.height))),k({},n,i)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";p=E({},p,d[e](t))})),t.offsets.popper=p,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(i[l])&&(t.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,s=r.popper,l=r.reference,c=-1!==["left","right"].indexOf(o),p=c?"height":"width",d=c?"Top":"Left",f=d.toLowerCase(),u=c?"left":"top",h=c?"bottom":"right",m=B(i)[p];l[h]-m<s[f]&&(t.offsets.popper[f]-=s[f]-(l[h]-m)),l[f]+m>s[h]&&(t.offsets.popper[f]+=l[f]+m-s[h]),t.offsets.popper=z(t.offsets.popper);var v=l[f]+l[p]/2-m/2,g=a(t.instance.popper),w=parseFloat(g["margin"+d]),b=parseFloat(g["border"+d+"Width"]),x=v-t.offsets.popper[f]-w-b;return x=Math.max(Math.min(s[p]-m,x),0),t.arrowElement=i,t.offsets.arrow=(k(n={},f,Math.round(x)),k(n,u,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(j(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=T(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=D(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case it:s=[i,o];break;case ot:s=nt(i);break;case rt:s=nt(i,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],o=D(i);var c=t.offsets.popper,p=t.offsets.reference,d=Math.floor,f="left"===i&&d(c.right)>d(p.left)||"right"===i&&d(c.left)<d(p.right)||"top"===i&&d(c.bottom)>d(p.top)||"bottom"===i&&d(c.top)<d(p.bottom),u=d(c.left)<d(n.left),h=d(c.right)>d(n.right),m=d(c.top)<d(n.top),v=d(c.bottom)>d(n.bottom),g="left"===i&&u||"right"===i&&h||"top"===i&&m||"bottom"===i&&v,w=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(w&&"start"===r&&u||w&&"end"===r&&h||!w&&"start"===r&&m||!w&&"end"===r&&v),x=!!e.flipVariationsByContent&&(w&&"start"===r&&h||w&&"end"===r&&u||!w&&"start"===r&&v||!w&&"end"===r&&m),y=b||x;(f||g||y)&&(t.flipped=!0,(f||g)&&(i=s[l+1]),y&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=E({},t.offsets.popper,N(t.instance.popper,t.offsets.reference,t.placement)),t=P(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=D(e),t.offsets.popper=z(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=Z(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,o=t.offsets.popper,r=Z(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==r?r:e.gpuAcceleration,a=h(t.instance.popper),l=M(a),c={position:o.position},p=function(t,e){var n=t.offsets,i=n.popper,o=n.reference,r=Math.round,s=Math.floor,a=function(t){return t},l=r(o.width),c=r(i.width),p=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),f=e?p||d||l%2==c%2?r:s:a,u=e?r:a;return{left:f(l%2==1&&c%2==1&&!d&&e?i.left-1:i.left),top:u(i.top),bottom:u(i.bottom),right:f(i.right)}}(t,window.devicePixelRatio<2||!K),d="bottom"===n?"top":"bottom",f="right"===i?"left":"right",u=U("transform"),m=void 0,v=void 0;if(v="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+p.bottom:-l.height+p.bottom:p.top,m="right"===f?"HTML"===a.nodeName?-a.clientWidth+p.right:-l.width+p.right:p.left,s&&u)c[u]="translate3d("+m+"px, "+v+"px, 0)",c[d]=0,c[f]=0,c.willChange="transform";else{var g="bottom"===d?-1:1,w="right"===f?-1:1;c[d]=v*g,c[f]=m*w,c.willChange=d+", "+f}var b={"x-placement":t.placement};return t.attributes=E({},b,t.attributes),t.styles=E({},c,t.styles),t.arrowStyles=E({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return J(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var r=A(o,e,t,n.positionFixed),s=V(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),J(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},lt=function(){function t(e,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=r(this.update.bind(this)),this.options=E({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(E({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){i.options.modifiers[e]=E({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return E({name:t},i.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return C(t,[{key:"update",value:function(){return F.call(this)}},{key:"destroy",value:function(){return I.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();lt.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,lt.placements=tt,lt.Defaults=at;const ct=lt,pt={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ct(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const dt=(0,n(1900).Z)(pt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?n("portal",{attrs:{to:"dropdown"}},[n("div",[n("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),n("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},5007:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});const i={props:{name:String}};const o=(0,n(1900).Z)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return"apple"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[n("g",{attrs:{"fill-rule":"nonzero"}},[n("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),n("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}})]):"location"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):t._e()}),[],!1,null,null,null).exports},9714:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var i=n(5007),o=n(3354),r=n(381);const s={components:{Icon:i.Z},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return""===n[0]?""===t:n.filter((function(e){return t.startsWith(e)})).length}}};var a=n(1900);const l=(0,a.Z)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("dashboard")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"dashboard"}}),t._v(" "),n("div",{class:t.isUrl("")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Dashboard")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("tokens")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("tokens")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),n("div",{class:t.isUrl("tokens")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Tokens")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("organizations")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("organizations")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"office"}}),t._v(" "),n("div",{class:t.isUrl("organizations")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Organizations")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("contacts")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("contacts")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"users"}}),t._v(" "),n("div",{class:t.isUrl("contacts")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Contacts")])],1)],1),t._v(" "),n("div",{staticClass:"mb-4"},[n("inertia-link",{staticClass:"flex items-center group py-3",attrs:{href:t.route("reports")}},[n("icon",{staticClass:"w-4 h-4 mr-2",class:t.isUrl("reports")?"fill-white":"fill-indigo-400 group-hover:fill-white",attrs:{name:"printer"}}),t._v(" "),n("div",{class:t.isUrl("reports")?"text-white":"text-indigo-300 group-hover:text-white"},[t._v("Reports")])],1)],1)])}),[],!1,null,null,null).exports;const c={data:function(){return{show:!0}},watch:{"$page.props.flash":{handler:function(){this.show=!0},deep:!0}}};const p=(0,a.Z)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.$page.props.flash.success&&t.show?n("div",{staticClass:"mb-8 flex items-center justify-between bg-green-500 rounded max-w-3xl"},[n("div",{staticClass:"flex items-center"},[n("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("polygon",{attrs:{points:"0 11 2 9 7 14 18 3 20 5 7 18"}})]),t._v(" "),n("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.success))])]),t._v(" "),n("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[n("svg",{staticClass:"block w-2 h-2 fill-green-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[n("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e(),t._v(" "),(t.$page.props.flash.error||Object.keys(t.$page.props.errors).length>0)&&t.show?n("div",{staticClass:"mb-8 flex items-center justify-between bg-red-400 rounded max-w-3xl"},[n("div",{staticClass:"flex items-center"},[n("svg",{staticClass:"ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]),t._v(" "),t.$page.props.flash.error?n("div",{staticClass:"py-4 text-white text-sm font-medium"},[t._v(t._s(t.$page.props.flash.error))]):n("div",{staticClass:"py-4 text-white text-sm font-medium"},[1===Object.keys(t.$page.props.errors).length?n("span",[t._v("There is one form error.")]):n("span",[t._v("There are "+t._s(Object.keys(t.$page.props.errors).length)+" form errors.")])])]),t._v(" "),n("button",{staticClass:"group mr-2 p-2",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[n("svg",{staticClass:"block w-2 h-2 fill-red-800 group-hover:fill-white",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"235.908",height:"235.908",viewBox:"278.046 126.846 235.908 235.908"}},[n("path",{attrs:{d:"M506.784 134.017c-9.56-9.56-25.06-9.56-34.62 0L396 210.18l-76.164-76.164c-9.56-9.56-25.06-9.56-34.62 0-9.56 9.56-9.56 25.06 0 34.62L361.38 244.8l-76.164 76.165c-9.56 9.56-9.56 25.06 0 34.62 9.56 9.56 25.06 9.56 34.62 0L396 279.42l76.164 76.165c9.56 9.56 25.06 9.56 34.62 0 9.56-9.56 9.56-25.06 0-34.62L430.62 244.8l76.164-76.163c9.56-9.56 9.56-25.06 0-34.62z"}})])])]):t._e()])}),[],!1,null,null,null).exports,d={components:{Dropdown:r.Z,FlashMessages:p,Icon:i.Z,Logo:o.Z,MainMenu:l}};const f=(0,a.Z)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),n("div",{staticClass:"md:flex md:flex-col"},[n("div",{staticClass:"md:h-screen md:flex md:flex-col"},[n("div",{staticClass:"md:flex md:flex-shrink-0"},[n("div",{staticClass:"bg-indigo-900 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"},[n("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[n("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),n("dropdown",{staticClass:"md:hidden",attrs:{placement:"bottom-end"}},[n("svg",{staticClass:"fill-white w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[n("path",{attrs:{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"}})]),t._v(" "),n("div",{staticClass:"mt-2 px-8 py-4 shadow-lg bg-indigo-800 rounded",attrs:{slot:"dropdown"},slot:"dropdown"},[n("main-menu")],1)])],1),t._v(" "),n("div",{staticClass:"bg-white border-b w-full p-4 md:py-0 md:px-12 text-sm md:text-md flex justify-between items-center"},[n("div",{staticClass:"mt-1 mr-4"},[t._v(t._s(t.$page.props.auth.user.account.name))]),t._v(" "),n("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[n("div",{staticClass:"flex items-center cursor-pointer select-none group"},[n("div",{staticClass:"text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[n("span",[t._v(t._s(t.$page.props.auth.user.first_name))]),t._v(" "),n("span",{staticClass:"hidden md:inline"},[t._v(t._s(t.$page.props.auth.user.last_name))])]),t._v(" "),n("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),n("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},[n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users.edit",t.$page.props.auth.user.id)}},[t._v("My Profile")]),t._v(" "),n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white",attrs:{href:t.route("users")}},[t._v("Manage Users")]),t._v(" "),n("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left",attrs:{href:t.route("logout"),method:"post",as:"button"}},[t._v("Logout")])],1)])],1)]),t._v(" "),n("div",{staticClass:"md:flex md:flex-grow md:overflow-hidden"},[n("main-menu",{staticClass:"hidden md:block bg-indigo-800 flex-shrink-0 w-56 p-12 overflow-y-auto"}),t._v(" "),n("div",{staticClass:"md:flex-1 px-4 py-8 md:p-12 md:overflow-y-auto",attrs:{"scroll-region":""}},[n("flash-messages"),t._v(" "),t._t("default")],2)],1)])])],1)}),[],!1,null,null,null).exports},1100:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});const i={props:{loading:Boolean}};const o=(0,n(1900).Z)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"flex items-center",attrs:{disabled:t.loading}},[t.loading?n("div",{staticClass:"btn-spinner mr-2"}):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},3354:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=(0,n(1900).Z)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{attrs:{viewBox:"0 0 1185 266",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M77.463 265c-19.497 0-35.318-15.405-35.318-34.39v-22.054C17.987 202.676 0 181.326 0 155.948V55.206C0 25.291 24.946 1 55.668 1h154.664C241.054 1 266 25.29 266 55.206v100.806c0 29.916-24.946 54.206-55.668 54.206H145.67c-2.823 0-5.383 1.407-6.827 3.58-10.7 17.067-24.158 31.897-39.98 43.915-6.236 4.794-13.654 7.287-21.4 7.287zM55.701 27.336c-15.771 0-28.65 12.465-28.65 27.87v100.806c0 15.342 12.813 27.87 28.65 27.87 7.49 0 13.536 5.881 13.536 13.168v33.624c0 4.922 4.272 7.99 8.214 7.99 1.709 0 3.286-.575 4.732-1.662 13.273-10.1 24.576-22.565 33.578-36.947 6.309-10.036 17.743-16.237 29.965-16.237h64.727c15.77 0 28.65-12.464 28.65-27.87V55.206c0-15.341-12.814-27.87-28.65-27.87H55.7z"}}),t._v(" "),n("path",{attrs:{d:"M395.752 2.4c37.152 0 65.088 27.936 65.088 64.8 0 36.576-27.936 64.8-65.088 64.8h-46.368v72H322.6V2.4h73.152zm0 104.544c22.176 0 38.592-16.992 38.592-39.744 0-23.04-16.416-39.744-38.592-39.744h-46.368v79.488h46.368zM502.6 33.792c-9.504 0-16.992-7.488-16.992-16.704 0-9.216 7.488-16.992 16.992-16.992 9.216 0 16.704 7.776 16.704 16.992 0 9.216-7.488 16.704-16.704 16.704zM489.928 204V60h25.056v144h-25.056zM625 56.256c33.696 0 55.872 22.464 55.872 59.328V204h-25.056v-86.976c0-23.616-13.536-36.864-35.712-36.864-23.04 0-41.76 13.536-41.76 47.52V204h-25.056V60h25.056v20.736C589 63.744 604.84 56.256 625 56.256zM835.24 60h24.768v137.952c0 44.928-36 67.392-73.44 67.392-32.256 0-56.448-12.384-68.256-35.136l21.888-12.384c6.624 13.536 18.72 24.192 46.944 24.192 29.952 0 48.096-16.992 48.096-44.064v-20.448c-11.52 17.568-29.952 28.8-54.144 28.8-40.896 0-73.44-33.12-73.44-75.168 0-41.76 32.544-74.88 73.44-74.88 24.192 0 42.624 10.944 54.144 28.512V60zm-51.264 122.4c29.088 0 51.264-22.176 51.264-51.264 0-28.8-22.176-50.976-51.264-50.976-29.088 0-51.264 22.176-51.264 50.976 0 29.088 22.176 51.264 51.264 51.264zM946.8 205.08c-28.21 0-45.63-20.8-41.08-48.88 4.42-27.17 26.91-46.28 53.56-46.28 19.37 0 31.59 9.36 38.35 22.36l-23.79 12.61c-3.25-5.85-9.1-9.49-16.9-9.49-12.35 0-23.14 9.23-25.35 22.1-2.08 11.83 4.29 22.1 17.16 22.1 8.06 0 13.91-4.03 18.59-10.14l21.58 13.65c-9.36 13.78-24.44 21.97-42.12 21.97zm126.36-59.93c-1.95 11.18-8.58 19.5-18.2 24.44l11.7 33.28h-26l-9.36-28.6h-8.32l-5.07 28.6h-26l16.12-91h36.4c18.33 0 32.24 13.65 28.73 33.28zm-43.42-9.36l-2.99 16.9h10.66c5.07.13 8.84-2.99 9.75-8.32.91-5.33-1.82-8.58-7.02-8.58h-10.4zM1184.05 112l-15.99 91h-26l7.67-43.81-25.48 33.54h-2.34l-14.82-35.23-7.93 45.5h-26l15.99-91h26l13.65 37.31 27.95-37.31h27.3z"}})])}),[],!1,null,null,null).exports},3669:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});const i={inheritAttrs:!1,props:{id:{type:String,default:function(){return"select-input-".concat(this._uid)}},value:[String,Number,Boolean],label:String,error:String},data:function(){return{selected:this.value}},watch:{selected:function(t){this.$emit("input",t)}},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()}}};const o=(0,n(1900).Z)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.label?n("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),n("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"input",staticClass:"form-select",class:{error:t.error},attrs:{id:t.id},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?n:n[0]}}},"select",t.$attrs,!1),[t._t("default")],2),t._v(" "),t.error?n("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},6119:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});const i={inheritAttrs:!1,props:{id:{type:String,default:function(){return"text-input-".concat(this._uid)}},type:{type:String,default:"text"},value:String,label:String,error:String,readonly:Boolean},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},setSelectionRange:function(t,e){this.$refs.input.setSelectionRange(t,e)}}};const o=(0,n(1900).Z)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.label?n("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),n("input",t._b({ref:"input",staticClass:"form-input",class:{error:t.error},attrs:{id:t.id,readonly:t.readonly,type:t.type},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},"input",t.$attrs,!1)),t._v(" "),t.error?n("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},284:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});const i={components:{Icon:n(5007).Z}};const o=(0,n(1900).Z)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"p-4 bg-yellow-300 rounded flex items-center justify-between max-w-3xl"},[n("div",{staticClass:"flex items-center"},[n("icon",{staticClass:"flex-shrink-0 w-4 h-4 fill-yellow-800 mr-2",attrs:{name:"trash"}}),t._v(" "),n("div",{staticClass:"text-sm font-medium text-yellow-800"},[t._t("default")],2)],1),t._v(" "),n("button",{staticClass:"text-sm text-yellow-800 hover:underline",attrs:{tabindex:"-1",type:"button"},on:{click:function(e){return t.$emit("restore")}}},[t._v("Restore")])])}),[],!1,null,null,null).exports},1900:(t,e,n)=>{"use strict";function i(t,e,n,i,o,r,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),s?(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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var p=c.render;c.render=function(t,e){return l.call(e),p(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}n.d(e,{Z:()=>i})}}]);
\ No newline at end of file
This diff could not be displayed because it is too large.
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT */
/*!
* Vue.js v2.6.12
* (c) 2014-2020 Evan You
* Released under the MIT License.
*/
......@@ -32,5 +32,8 @@ mix
},
},
})
.version()
.sourceMaps()
.version();
if (!mix.inProduction()) {
mix.sourceMaps();
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!