From ab04e609ce1dd3c4fb7a42a33889185de7d8f181 Mon Sep 17 00:00:00 2001 From: JibayMcs Date: Tue, 6 Aug 2024 14:24:28 +0200 Subject: [PATCH] (FIX) [Tour/Highlights] Fixed major issue on opening tours and highlights --- composer.json | 2 +- resources/dist/filament-tour.css | 2 +- resources/dist/filament-tour.js | 4 ++-- resources/js/index.js | 7 ++++--- src/Highlight/Highlight.php | 5 +++-- src/Tour/HasTour.php | 5 +++-- 6 files changed, 14 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index d2b9aa9..41f9187 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ } ], "require": { - "php": "^8.1", + "php": "^8.1|^8.2", "filament/filament": "^3.0", "spatie/laravel-package-tools": "^1.15.0", "illuminate/contracts": "^10.0|^11.0" diff --git a/resources/dist/filament-tour.css b/resources/dist/filament-tour.css index 1b1eefa..637af93 100644 --- a/resources/dist/filament-tour.css +++ b/resources/dist/filament-tour.css @@ -1 +1 @@ -@tailwind base;@tailwind components;@tailwind utilities;.driver-active *,.driver-active .driver-overlay{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in .2s ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in .2s}.driver-popover{all:unset;color:#2d2d2d;min-width:250px;max-width:300px;background-color:#fff}.driver-popover *{font-family:Helvetica Neue,Inter,ui-sans-serif,Apple Color Emoji,Helvetica,Arial,sans-serif}.driver-popover-title{font:19px/normal sans-serif;font-weight:700;display:block;position:relative;line-height:1.5;zoom:1;margin:0}.driver-popover-close-btn{all:unset;position:absolute;top:0;right:0;width:32px;height:28px;cursor:pointer;font-size:18px;font-weight:500;color:#d2d2d2;z-index:1;text-align:center;transition:color;transition-duration:.2s}.driver-popover-close-btn:focus,.driver-popover-close-btn:hover{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{margin-bottom:0;font:14px/normal sans-serif;line-height:1.5;font-weight:400;zoom:1}.driver-popover-footer{margin-top:15px;text-align:right;zoom:1;display:flex;align-items:center;justify-content:space-between}.driver-popover-progress-text{font-size:13px;font-weight:400;color:#727272;zoom:1}.driver-popover-footer button{all:unset;display:inline-block;box-sizing:border-box;padding:3px 7px;text-decoration:none;text-shadow:1px 1px 0 #fff;background-color:#fff;color:#2d2d2d;font:12px/normal sans-serif;cursor:pointer;outline:0;zoom:1;line-height:1.3;border:1px solid #ccc;border-radius:3px}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}:not(body):has(>.driver-active-element){overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}.driver-popover-footer button:focus,.driver-popover-footer button:hover{background-color:#f7f7f7}.driver-popover-navigation-btns{display:flex;flex-grow:1;justify-content:flex-end}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";position:absolute;border:5px solid #fff}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{left:100%;border-right-color:#0000;border-bottom-color:#0000;border-top-color:#0000}.driver-popover-arrow-side-right{right:100%;border-left-color:#0000;border-bottom-color:#0000;border-top-color:#0000}.driver-popover-arrow-side-top{top:100%;border-right-color:#0000;border-bottom-color:#0000;border-left-color:#0000}.driver-popover-arrow-side-bottom{bottom:100%;border-left-color:#0000;border-top-color:#0000;border-right-color:#0000}.driver-popover-arrow-side-center{display:none}.driver-popover-arrow-side-left.driver-popover-arrow-align-start,.driver-popover-arrow-side-right.driver-popover-arrow-align-start{top:15px}.driver-popover-arrow-side-bottom.driver-popover-arrow-align-start,.driver-popover-arrow-side-top.driver-popover-arrow-align-start{left:15px}.driver-popover-arrow-align-end.driver-popover-arrow-side-left,.driver-popover-arrow-align-end.driver-popover-arrow-side-right{bottom:15px}.driver-popover-arrow-side-bottom.driver-popover-arrow-align-end,.driver-popover-arrow-side-top.driver-popover-arrow-align-end{right:15px}.driver-popover-arrow-side-left.driver-popover-arrow-align-center,.driver-popover-arrow-side-right.driver-popover-arrow-align-center{top:50%;margin-top:-5px}.driver-popover-arrow-side-bottom.driver-popover-arrow-align-center,.driver-popover-arrow-side-top.driver-popover-arrow-align-center{left:50%;margin-left:-5px}.driver-popover-arrow-none{display:none}/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgba(var(--gray-200),1)}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:var(--font-family),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-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:rgba(var(--gray-400),1)}input::placeholder,textarea::placeholder{opacity:1;color:rgba(var(--gray-400),1)}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:rgba(var(--gray-500),var(--tw-border-opacity,1));border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow:0 0 #0000}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{outline:2px solid #0000;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:rgba(var(--gray-500),var(--tw-text-opacity,1));opacity:1}input::placeholder,textarea::placeholder{color:rgba(var(--gray-500),var(--tw-text-opacity,1));opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='rgba(var(--gray-500), var(--tw-stroke-opacity, 1))' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:rgba(var(--gray-500),var(--tw-border-opacity,1));border-width:1px;--tw-shadow:0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid #0000;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:#0000;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{border-color:#0000;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");border-color:#0000;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{border-color:#0000;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}html{-webkit-tap-highlight-color:transparent}:root.dark{color-scheme:dark}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--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;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.dark .driver-popover-arrow{border:5px solid #0000!important;border-left:5px solid rgb(var(--gray-900))!important}.dark .driver-popover{box-sizing:border-box;margin:0;padding:15px;border-radius:5px;box-shadow:0 1px 10px #0006;z-index:1000000000;position:fixed;top:0;right:0}:is(.dark .dark\:prose-invert){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.disabled\:placeholder\:\[-webkit-text-fill-color\:theme\(colors\.gray\.400\)\]:disabled::-moz-placeholder,.disabled\:placeholder\:\[-webkit-text-fill-color\:theme\(colors\.gray\.400\)\]:disabled::placeholder{-webkit-text-fill-color:rgba(var(--gray-400),1)}.group:focus .group-focus\:text-gray-500,.group:hover .group-hover\:text-gray-500{--tw-text-opacity:1;color:rgba(var(--gray-500),var(--tw-text-opacity))}:is([dir=ltr] .ltr\:hidden),:is([dir=rtl] .rtl\:hidden){display:none}:is([dir=rtl] .rtl\:-translate-x-0){--tw-translate-x:-0px}:is([dir=rtl] .rtl\:-translate-x-0),:is([dir=rtl] .rtl\:-translate-x-5){transform:translate(var(--tw-translate-x),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))}:is([dir=rtl] .rtl\:-translate-x-5){--tw-translate-x:-1.25rem}:is([dir=rtl] .rtl\:-translate-x-full){--tw-translate-x:-100%}:is([dir=rtl] .rtl\:-translate-x-full),:is([dir=rtl] .rtl\:translate-x-1\/2){transform:translate(var(--tw-translate-x),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))}:is([dir=rtl] .rtl\:translate-x-1\/2){--tw-translate-x:50%}:is([dir=rtl] .rtl\:translate-x-full){--tw-translate-x:100%}:is([dir=rtl] .rtl\:rotate-180),:is([dir=rtl] .rtl\:translate-x-full){transform:translate(var(--tw-translate-x),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))}:is([dir=rtl] .rtl\:rotate-180){--tw-rotate:180deg}:is([dir=rtl] .rtl\:flex-row-reverse){flex-direction:row-reverse}:is([dir=rtl] .rtl\:divide-x-reverse)>:not([hidden])~:not([hidden]){--tw-divide-x-reverse:1}:is(.dark .dark\:divide-white\/10)>:not([hidden])~:not([hidden]){border-color:#ffffff1a}:is(.dark .dark\:divide-white\/20)>:not([hidden])~:not([hidden]){border-color:#fff3}:is(.dark .dark\:divide-white\/5)>:not([hidden])~:not([hidden]){border-color:#ffffff0d}:is(.dark .dark\:border-gray-600){--tw-border-opacity:1;border-color:rgba(var(--gray-600),var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity:1;border-color:rgba(var(--gray-700),var(--tw-border-opacity))}:is(.dark .dark\:border-primary-500){--tw-border-opacity:1;border-color:rgba(var(--primary-500),var(--tw-border-opacity))}:is(.dark .dark\:border-white\/10){border-color:#ffffff1a}:is(.dark .dark\:border-white\/5){border-color:#ffffff0d}:is(.dark .dark\:border-t-white\/10){border-top-color:#ffffff1a}:is(.dark .dark\:\!bg-gray-700){--tw-bg-opacity:1!important;background-color:rgba(var(--gray-700),var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-custom-400\/10){background-color:rgba(var(--c-400),.1)}:is(.dark .dark\:bg-custom-500){--tw-bg-opacity:1;background-color:rgba(var(--c-500),var(--tw-bg-opacity))}:is(.dark .dark\:bg-custom-500\/20){background-color:rgba(var(--c-500),.2)}:is(.dark .dark\:bg-gray-400\/10){background-color:rgba(var(--gray-400),.1)}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity:1;background-color:rgba(var(--gray-500),var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500\/20){background-color:rgba(var(--gray-500),.2)}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity:1;background-color:rgba(var(--gray-600),var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity:1;background-color:rgba(var(--gray-700),var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity:1;background-color:rgba(var(--gray-800),var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity:1;background-color:rgba(var(--gray-900),var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900\/30){background-color:rgba(var(--gray-900),.3)}:is(.dark .dark\:bg-gray-950){--tw-bg-opacity:1;background-color:rgba(var(--gray-950),var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-950\/75){background-color:rgba(var(--gray-950),.75)}:is(.dark .dark\:bg-primary-400){--tw-bg-opacity:1;background-color:rgba(var(--primary-400),var(--tw-bg-opacity))}:is(.dark .dark\:bg-primary-500){--tw-bg-opacity:1;background-color:rgba(var(--primary-500),var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:initial}:is(.dark .dark\:bg-white\/10){background-color:#ffffff1a}:is(.dark .dark\:bg-white\/5){background-color:#ffffff0d}:is(.dark .dark\:fill-current){fill:currentColor}:is(.dark .dark\:text-custom-300\/50){color:rgba(var(--c-300),.5)}:is(.dark .dark\:text-custom-400){--tw-text-opacity:1;color:rgba(var(--c-400),var(--tw-text-opacity))}:is(.dark .dark\:text-custom-400\/10){color:rgba(var(--c-400),.1)}:is(.dark .dark\:text-danger-400){--tw-text-opacity:1;color:rgba(var(--danger-400),var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity:1;color:rgba(var(--gray-200),var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity:1;color:rgba(var(--gray-500),var(--tw-text-opacity))}:is(.dark .dark\:text-gray-700){--tw-text-opacity:1;color:rgba(var(--gray-700),var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity:1;color:rgba(var(--gray-800),var(--tw-text-opacity))}:is(.dark .dark\:text-primary-400){--tw-text-opacity:1;color:rgba(var(--primary-400),var(--tw-text-opacity))}:is(.dark .dark\:text-primary-500){--tw-text-opacity:1;color:rgba(var(--primary-500),var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}:is(.dark .dark\:text-white\/5){color:#ffffff0d}:is(.dark .dark\:ring-custom-400\/30){--tw-ring-color:rgba(var(--c-400),0.3)}:is(.dark .dark\:ring-custom-500){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--c-500),var(--tw-ring-opacity))}:is(.dark .dark\:ring-danger-500){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--danger-500),var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-400\/20){--tw-ring-color:rgba(var(--gray-400),0.2)}:is(.dark .dark\:ring-gray-50\/10){--tw-ring-color:rgba(var(--gray-50),0.1)}:is(.dark .dark\:ring-gray-700){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--gray-700),var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-900){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--gray-900),var(--tw-ring-opacity))}:is(.dark .dark\:ring-white\/10){--tw-ring-color:#ffffff1a}:is(.dark .dark\:ring-white\/20){--tw-ring-color:#fff3}:is(.dark .dark\:placeholder\:text-gray-500)::-moz-placeholder{--tw-text-opacity:1;color:rgba(var(--gray-500),var(--tw-text-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::placeholder{--tw-text-opacity:1;color:rgba(var(--gray-500),var(--tw-text-opacity))}:is(.dark .dark\:before\:bg-primary-500):before{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgba(var(--primary-500),var(--tw-bg-opacity))}:is(.dark .dark\:checked\:bg-danger-500:checked){--tw-bg-opacity:1;background-color:rgba(var(--danger-500),var(--tw-bg-opacity))}:is(.dark .dark\:checked\:bg-primary-500:checked){--tw-bg-opacity:1;background-color:rgba(var(--primary-500),var(--tw-bg-opacity))}:is(.dark .dark\:focus-within\:bg-white\/5:focus-within){background-color:#ffffff0d}:is(.dark .dark\:focus-within\:ring-danger-500:focus-within){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--danger-500),var(--tw-ring-opacity))}:is(.dark .dark\:focus-within\:ring-primary-500:focus-within){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--primary-500),var(--tw-ring-opacity))}:is(.dark .dark\:hover\:bg-custom-400:hover){--tw-bg-opacity:1;background-color:rgba(var(--c-400),var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-custom-400\/10:hover){background-color:rgba(var(--c-400),.1)}:is(.dark .dark\:hover\:bg-white\/10:hover){background-color:#ffffff1a}:is(.dark .dark\:hover\:bg-white\/5:hover){background-color:#ffffff0d}:is(.dark .dark\:hover\:text-custom-300:hover){--tw-text-opacity:1;color:rgba(var(--c-300),var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-custom-300\/75:hover){color:rgba(var(--c-300),.75)}:is(.dark .dark\:hover\:text-gray-200:hover){--tw-text-opacity:1;color:rgba(var(--gray-200),var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-400:hover){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}:is(.dark .dark\:hover\:ring-white\/20:hover){--tw-ring-color:#fff3}:is(.dark .dark\:focus\:border-primary-500:focus){--tw-border-opacity:1;border-color:rgba(var(--primary-500),var(--tw-border-opacity))}:is(.dark .dark\:focus\:bg-custom-400\/10:focus){background-color:rgba(var(--c-400),.1)}:is(.dark .dark\:focus\:bg-white\/5:focus){background-color:#ffffff0d}:is(.dark .dark\:focus\:text-custom-300\/75:focus){color:rgba(var(--c-300),.75)}:is(.dark .dark\:focus\:text-gray-200:focus){--tw-text-opacity:1;color:rgba(var(--gray-200),var(--tw-text-opacity))}:is(.dark .dark\:focus\:text-gray-400:focus){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-custom-400\/50:focus){--tw-ring-color:rgba(var(--c-400),0.5)}:is(.dark .dark\:focus\:ring-custom-500:focus){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--c-500),var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-danger-500:focus){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--danger-500),var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-primary-500:focus){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--primary-500),var(--tw-ring-opacity))}:is(.dark .dark\:checked\:focus\:ring-danger-400\/50:focus:checked){--tw-ring-color:rgba(var(--danger-400),0.5)}:is(.dark .dark\:checked\:focus\:ring-primary-400\/50:focus:checked){--tw-ring-color:rgba(var(--primary-400),0.5)}:is(.dark .dark\:disabled\:bg-transparent:disabled){background-color:initial}:is(.dark .dark\:disabled\:text-gray-400:disabled){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}:is(.dark .dark\:disabled\:ring-white\/10:disabled){--tw-ring-color:#ffffff1a}:is(.dark .dark\:disabled\:\[-webkit-text-fill-color\:theme\(colors\.gray\.400\)\]:disabled){-webkit-text-fill-color:rgba(var(--gray-400),1)}:is(.dark .dark\:disabled\:placeholder\:\[-webkit-text-fill-color\:theme\(colors\.gray\.500\)\]:disabled)::-moz-placeholder,:is(.dark .dark\:disabled\:placeholder\:\[-webkit-text-fill-color\:theme\(colors\.gray\.500\)\]:disabled)::placeholder{-webkit-text-fill-color:rgba(var(--gray-500),1)}:is(.dark .dark\:disabled\:checked\:bg-gray-600:checked:disabled){--tw-bg-opacity:1;background-color:rgba(var(--gray-600),var(--tw-bg-opacity))}:is(.dark .group:focus .dark\:group-focus\:text-gray-400),:is(.dark .group:hover .dark\:group-hover\:text-gray-400){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}@media (min-width:1024px){:is([dir=rtl] .rtl\:lg\:-translate-x-0){--tw-translate-x:-0px}:is([dir=rtl] .rtl\:lg\:-translate-x-0),:is([dir=rtl] .rtl\:lg\:translate-x-full){transform:translate(var(--tw-translate-x),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))}:is([dir=rtl] .rtl\:lg\:translate-x-full){--tw-translate-x:100%}:is(.dark .dark\:lg\:bg-transparent){background-color:initial}}:is(.dark .dark\:\[\&\.trix-active\]\:bg-white\/5.trix-active){background-color:#ffffff0d}:is(.dark .dark\:\[\&\.trix-active\]\:text-primary-400.trix-active){--tw-text-opacity:1;color:rgba(var(--primary-400),var(--tw-text-opacity))}:is(.dark .\[\&\>\*\:first-child\]\:dark\:before\:bg-primary-500)>:first-child:before{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgba(var(--primary-500),var(--tw-bg-opacity))}:is(.dark .\[\&_option\]\:dark\:bg-gray-900) option{--tw-bg-opacity:1;background-color:rgba(var(--gray-900),var(--tw-bg-opacity))}#circle-cursor{pointer-events:none;cursor:crosshair;display:none;width:20px;height:20px;background-color:#ffffff80;border-radius:50%;position:absolute;top:0;left:0;z-index:10000;transition:width .3s,height .3s,left .1s,top .1s;box-shadow:0 0 5px 0 rgb(var(--gray-950))}.driver-popover{box-sizing:border-box;margin:0;padding:15px;border-radius:5px;min-width:300px!important;max-width:750px!important;box-shadow:0 1px 10px #0006;z-index:1000000000;position:fixed;top:0;right:0}.driver-help-button{width:15px;height:15px;position:absolute;cursor:pointer}.top-left{top:-14px;left:-16px}.top-right{top:-14px;right:-16px}.bottom-right{bottom:-14px;right:-16px}.bottom-left{bottom:-14px;left:-16px} \ No newline at end of file +@tailwind base;@tailwind components;@tailwind utilities;.driver-active *,.driver-active .driver-overlay{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in .2s ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in .2s}.driver-popover{all:unset;color:#2d2d2d;min-width:250px;max-width:300px;background-color:#fff}.driver-popover *{font-family:Helvetica Neue,Inter,ui-sans-serif,Apple Color Emoji,Helvetica,Arial,sans-serif}.driver-popover-title{font:19px/normal sans-serif;font-weight:700;display:block;position:relative;line-height:1.5;zoom:1;margin:0}.driver-popover-close-btn{all:unset;position:absolute;top:0;right:0;width:32px;height:28px;cursor:pointer;font-size:18px;font-weight:500;color:#d2d2d2;z-index:1;text-align:center;transition:color;transition-duration:.2s}.driver-popover-close-btn:focus,.driver-popover-close-btn:hover{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{margin-bottom:0;font:14px/normal sans-serif;line-height:1.5;font-weight:400;zoom:1}.driver-popover-footer{margin-top:15px;text-align:right;zoom:1;display:flex;align-items:center;justify-content:space-between}.driver-popover-progress-text{font-size:13px;font-weight:400;color:#727272;zoom:1}.driver-popover-footer button{all:unset;display:inline-block;box-sizing:border-box;padding:3px 7px;text-decoration:none;text-shadow:1px 1px 0 #fff;background-color:#fff;color:#2d2d2d;font:12px/normal sans-serif;cursor:pointer;outline:0;zoom:1;line-height:1.3;border:1px solid #ccc;border-radius:3px}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}:not(body):has(>.driver-active-element){overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}.driver-popover-footer button:focus,.driver-popover-footer button:hover{background-color:#f7f7f7}.driver-popover-navigation-btns{display:flex;flex-grow:1;justify-content:flex-end}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";position:absolute;border:5px solid #fff}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{left:100%;border-right-color:#0000;border-bottom-color:#0000;border-top-color:#0000}.driver-popover-arrow-side-right{right:100%;border-left-color:#0000;border-bottom-color:#0000;border-top-color:#0000}.driver-popover-arrow-side-top{top:100%;border-right-color:#0000;border-bottom-color:#0000;border-left-color:#0000}.driver-popover-arrow-side-bottom{bottom:100%;border-left-color:#0000;border-top-color:#0000;border-right-color:#0000}.driver-popover-arrow-side-center{display:none}.driver-popover-arrow-side-left.driver-popover-arrow-align-start,.driver-popover-arrow-side-right.driver-popover-arrow-align-start{top:15px}.driver-popover-arrow-side-bottom.driver-popover-arrow-align-start,.driver-popover-arrow-side-top.driver-popover-arrow-align-start{left:15px}.driver-popover-arrow-align-end.driver-popover-arrow-side-left,.driver-popover-arrow-align-end.driver-popover-arrow-side-right{bottom:15px}.driver-popover-arrow-side-bottom.driver-popover-arrow-align-end,.driver-popover-arrow-side-top.driver-popover-arrow-align-end{right:15px}.driver-popover-arrow-side-left.driver-popover-arrow-align-center,.driver-popover-arrow-side-right.driver-popover-arrow-align-center{top:50%;margin-top:-5px}.driver-popover-arrow-side-bottom.driver-popover-arrow-align-center,.driver-popover-arrow-side-top.driver-popover-arrow-align-center{left:50%;margin-left:-5px}.driver-popover-arrow-none{display:none}/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgba(var(--gray-200),1)}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:var(--font-family),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-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:rgba(var(--gray-400),1)}input::placeholder,textarea::placeholder{opacity:1;color:rgba(var(--gray-400),1)}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:rgba(var(--gray-500),var(--tw-border-opacity,1));border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow:0 0 #0000}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{outline:2px solid #0000;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:rgba(var(--gray-500),var(--tw-text-opacity,1));opacity:1}input::placeholder,textarea::placeholder{color:rgba(var(--gray-500),var(--tw-text-opacity,1));opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='rgba(var(--gray-500), var(--tw-stroke-opacity, 1))' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:rgba(var(--gray-500),var(--tw-border-opacity,1));border-width:1px;--tw-shadow:0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid #0000;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:#0000;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{border-color:#0000;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");border-color:#0000;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{border-color:#0000;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}:root.dark{color-scheme:dark}[data-field-wrapper]{scroll-margin-top:8rem}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--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;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.prose :where(p):not(:where([class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(hr):not(:where([class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(figure>*):not(:where([class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose :where(code):not(:where([class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose] *)){background-color:initial;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose] *)){vertical-align:initial}.prose :where(tfoot):not(:where([class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose] *)){vertical-align:top}.prose :where(video):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(figure):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose :where(.prose>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.prose-sm :where(p):not(:where([class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(video):not(:where([class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure):not(:where([class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(code):not(:where([class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding:.6666667em 1em}.prose-sm :where(ol):not(:where([class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose] *)){padding-left:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose] *)){padding-right:1em;padding-bottom:.6666667em;padding-left:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose] *)){padding:.6666667em 1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.prose-base :where(p):not(:where([class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose-base :where([class~=lead]):not(:where([class~=not-prose] *)){font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose-base :where(blockquote):not(:where([class~=not-prose] *)){margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose-base :where(h1):not(:where([class~=not-prose] *)){font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose-base :where(h2):not(:where([class~=not-prose] *)){font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose-base :where(h3):not(:where([class~=not-prose] *)){font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose-base :where(h4):not(:where([class~=not-prose] *)){margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose-base :where(img):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose-base :where(video):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose-base :where(figure):not(:where([class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose-base :where(figure>*):not(:where([class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-base :where(figcaption):not(:where([class~=not-prose] *)){font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose-base :where(code):not(:where([class~=not-prose] *)){font-size:.875em}.prose-base :where(h2 code):not(:where([class~=not-prose] *)){font-size:.875em}.prose-base :where(h3 code):not(:where([class~=not-prose] *)){font-size:.9em}.prose-base :where(pre):not(:where([class~=not-prose] *)){font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose-base :where(ol):not(:where([class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose-base :where(ul):not(:where([class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose-base :where(li):not(:where([class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose-base :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose-base :where(ul>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose-base :where(.prose-base>ul>li p):not(:where([class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose-base :where(.prose-base>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose-base :where(.prose-base>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose-base :where(.prose-base>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose-base :where(.prose-base>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose-base :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose-base :where(hr):not(:where([class~=not-prose] *)){margin-top:3em;margin-bottom:3em}.prose-base :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-base :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-base :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-base :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-base :where(table):not(:where([class~=not-prose] *)){font-size:.875em;line-height:1.7142857}.prose-base :where(thead th):not(:where([class~=not-prose] *)){padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose-base :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose-base :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose-base :where(tbody td,tfoot td):not(:where([class~=not-prose] *)){padding:.5714286em}.prose-base :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose-base :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose-base :where(.prose-base>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose-base :where(.prose-base>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.prose-lg :where(p):not(:where([class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em}.prose-lg :where([class~=lead]):not(:where([class~=not-prose] *)){font-size:1.2222222em;line-height:1.4545455;margin-top:1.0909091em;margin-bottom:1.0909091em}.prose-lg :where(blockquote):not(:where([class~=not-prose] *)){margin-top:1.6666667em;margin-bottom:1.6666667em;padding-left:1em}.prose-lg :where(h1):not(:where([class~=not-prose] *)){font-size:2.6666667em;margin-top:0;margin-bottom:.8333333em;line-height:1}.prose-lg :where(h2):not(:where([class~=not-prose] *)){font-size:1.6666667em;margin-top:1.8666667em;margin-bottom:1.0666667em;line-height:1.3333333}.prose-lg :where(h3):not(:where([class~=not-prose] *)){font-size:1.3333333em;margin-top:1.6666667em;margin-bottom:.6666667em;line-height:1.5}.prose-lg :where(h4):not(:where([class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:.4444444em;line-height:1.5555556}.prose-lg :where(img):not(:where([class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(video):not(:where([class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(figure):not(:where([class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(figure>*):not(:where([class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-lg :where(figcaption):not(:where([class~=not-prose] *)){font-size:.8888889em;line-height:1.5;margin-top:1em}.prose-lg :where(code):not(:where([class~=not-prose] *)){font-size:.8888889em}.prose-lg :where(h2 code):not(:where([class~=not-prose] *)){font-size:.8666667em}.prose-lg :where(h3 code):not(:where([class~=not-prose] *)){font-size:.875em}.prose-lg :where(pre):not(:where([class~=not-prose] *)){font-size:.8888889em;line-height:1.75;margin-top:2em;margin-bottom:2em;border-radius:.375rem;padding:1em 1.5em}.prose-lg :where(ol):not(:where([class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.prose-lg :where(ul):not(:where([class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.prose-lg :where(li):not(:where([class~=not-prose] *)){margin-top:.6666667em;margin-bottom:.6666667em}.prose-lg :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.4444444em}.prose-lg :where(ul>li):not(:where([class~=not-prose] *)){padding-left:.4444444em}.prose-lg :where(.prose-lg>ul>li p):not(:where([class~=not-prose] *)){margin-top:.8888889em;margin-bottom:.8888889em}.prose-lg :where(.prose-lg>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(.prose-lg>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.3333333em}.prose-lg :where(.prose-lg>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(.prose-lg>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.3333333em}.prose-lg :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-top:.8888889em;margin-bottom:.8888889em}.prose-lg :where(hr):not(:where([class~=not-prose] *)){margin-top:3.1111111em;margin-bottom:3.1111111em}.prose-lg :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-lg :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-lg :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-lg :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-lg :where(table):not(:where([class~=not-prose] *)){font-size:.8888889em;line-height:1.5}.prose-lg :where(thead th):not(:where([class~=not-prose] *)){padding-right:.75em;padding-bottom:.75em;padding-left:.75em}.prose-lg :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose-lg :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose-lg :where(tbody td,tfoot td):not(:where([class~=not-prose] *)){padding:.75em}.prose-lg :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose-lg :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose-lg :where(.prose-lg>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose-lg :where(.prose-lg>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.h-\[100dvh\]{height:100dvh}.dark .driver-popover-arrow{border:5px solid #0000!important;border-left:5px solid rgb(var(--gray-900))!important}.dark .driver-popover{box-sizing:border-box;margin:0;padding:15px;border-radius:5px;box-shadow:0 1px 10px #0006;z-index:1000000000;position:fixed;top:0;right:0}:is(.dark .dark\:prose-invert){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.disabled\:placeholder\:\[-webkit-text-fill-color\:theme\(colors\.gray\.400\)\]:disabled::-moz-placeholder,.disabled\:placeholder\:\[-webkit-text-fill-color\:theme\(colors\.gray\.400\)\]:disabled::placeholder{-webkit-text-fill-color:rgba(var(--gray-400),1)}.group\/item:focus-visible .group-focus-visible\/item\:underline,.group\/link:focus-visible .group-focus-visible\/link\:underline{text-decoration-line:underline}:is([dir=ltr] .ltr\:hidden),:is([dir=rtl] .rtl\:hidden){display:none}:is([dir=rtl] .rtl\:-translate-x-0){--tw-translate-x:-0px}:is([dir=rtl] .rtl\:-translate-x-0),:is([dir=rtl] .rtl\:-translate-x-5){transform:translate(var(--tw-translate-x),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))}:is([dir=rtl] .rtl\:-translate-x-5){--tw-translate-x:-1.25rem}:is([dir=rtl] .rtl\:-translate-x-full){--tw-translate-x:-100%}:is([dir=rtl] .rtl\:-translate-x-full),:is([dir=rtl] .rtl\:translate-x-1\/2){transform:translate(var(--tw-translate-x),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))}:is([dir=rtl] .rtl\:translate-x-1\/2){--tw-translate-x:50%}:is([dir=rtl] .rtl\:translate-x-1\/4){--tw-translate-x:25%}:is([dir=rtl] .rtl\:translate-x-1\/4),:is([dir=rtl] .rtl\:translate-x-full){transform:translate(var(--tw-translate-x),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))}:is([dir=rtl] .rtl\:translate-x-full){--tw-translate-x:100%}:is([dir=rtl] .rtl\:rotate-180){--tw-rotate:180deg;transform:translate(var(--tw-translate-x),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))}:is([dir=rtl] .rtl\:flex-row-reverse){flex-direction:row-reverse}:is([dir=rtl] .rtl\:divide-x-reverse)>:not([hidden])~:not([hidden]){--tw-divide-x-reverse:1}:is(.dark .dark\:flex){display:flex}:is(.dark .dark\:hidden){display:none}:is(.dark .dark\:divide-white\/10)>:not([hidden])~:not([hidden]){border-color:#ffffff1a}:is(.dark .dark\:divide-white\/5)>:not([hidden])~:not([hidden]){border-color:#ffffff0d}:is(.dark .dark\:border-gray-600){--tw-border-opacity:1;border-color:rgba(var(--gray-600),var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity:1;border-color:rgba(var(--gray-700),var(--tw-border-opacity))}:is(.dark .dark\:border-primary-500){--tw-border-opacity:1;border-color:rgba(var(--primary-500),var(--tw-border-opacity))}:is(.dark .dark\:border-white\/10){border-color:#ffffff1a}:is(.dark .dark\:border-white\/5){border-color:#ffffff0d}:is(.dark .dark\:border-t-white\/10){border-top-color:#ffffff1a}:is(.dark .dark\:\!bg-gray-700){--tw-bg-opacity:1!important;background-color:rgba(var(--gray-700),var(--tw-bg-opacity))!important}:is(.dark .dark\:bg-custom-400\/10){background-color:rgba(var(--c-400),.1)}:is(.dark .dark\:bg-custom-500){--tw-bg-opacity:1;background-color:rgba(var(--c-500),var(--tw-bg-opacity))}:is(.dark .dark\:bg-custom-500\/20){background-color:rgba(var(--c-500),.2)}:is(.dark .dark\:bg-gray-400\/10){background-color:rgba(var(--gray-400),.1)}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity:1;background-color:rgba(var(--gray-500),var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500\/20){background-color:rgba(var(--gray-500),.2)}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity:1;background-color:rgba(var(--gray-600),var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity:1;background-color:rgba(var(--gray-700),var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity:1;background-color:rgba(var(--gray-800),var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity:1;background-color:rgba(var(--gray-900),var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900\/30){background-color:rgba(var(--gray-900),.3)}:is(.dark .dark\:bg-gray-950){--tw-bg-opacity:1;background-color:rgba(var(--gray-950),var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-950\/75){background-color:rgba(var(--gray-950),.75)}:is(.dark .dark\:bg-primary-400){--tw-bg-opacity:1;background-color:rgba(var(--primary-400),var(--tw-bg-opacity))}:is(.dark .dark\:bg-primary-500){--tw-bg-opacity:1;background-color:rgba(var(--primary-500),var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:initial}:is(.dark .dark\:bg-white\/10){background-color:#ffffff1a}:is(.dark .dark\:bg-white\/5){background-color:#ffffff0d}:is(.dark .dark\:fill-current){fill:currentColor}:is(.dark .dark\:text-custom-300\/50){color:rgba(var(--c-300),.5)}:is(.dark .dark\:text-custom-400){--tw-text-opacity:1;color:rgba(var(--c-400),var(--tw-text-opacity))}:is(.dark .dark\:text-custom-400\/10){color:rgba(var(--c-400),.1)}:is(.dark .dark\:text-danger-400){--tw-text-opacity:1;color:rgba(var(--danger-400),var(--tw-text-opacity))}:is(.dark .dark\:text-danger-500){--tw-text-opacity:1;color:rgba(var(--danger-500),var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity:1;color:rgba(var(--gray-200),var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300\/50){color:rgba(var(--gray-300),.5)}:is(.dark .dark\:text-gray-400){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity:1;color:rgba(var(--gray-500),var(--tw-text-opacity))}:is(.dark .dark\:text-gray-700){--tw-text-opacity:1;color:rgba(var(--gray-700),var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity:1;color:rgba(var(--gray-800),var(--tw-text-opacity))}:is(.dark .dark\:text-primary-400){--tw-text-opacity:1;color:rgba(var(--primary-400),var(--tw-text-opacity))}:is(.dark .dark\:text-primary-500){--tw-text-opacity:1;color:rgba(var(--primary-500),var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}:is(.dark .dark\:text-white\/5){color:#ffffff0d}:is(.dark .dark\:ring-custom-400\/30){--tw-ring-color:rgba(var(--c-400),0.3)}:is(.dark .dark\:ring-custom-500){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--c-500),var(--tw-ring-opacity))}:is(.dark .dark\:ring-danger-500){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--danger-500),var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-400\/20){--tw-ring-color:rgba(var(--gray-400),0.2)}:is(.dark .dark\:ring-gray-50\/10){--tw-ring-color:rgba(var(--gray-50),0.1)}:is(.dark .dark\:ring-gray-700){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--gray-700),var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-900){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--gray-900),var(--tw-ring-opacity))}:is(.dark .dark\:ring-white\/10){--tw-ring-color:#ffffff1a}:is(.dark .dark\:ring-white\/20){--tw-ring-color:#fff3}:is(.dark .dark\:placeholder\:text-gray-500)::-moz-placeholder{--tw-text-opacity:1;color:rgba(var(--gray-500),var(--tw-text-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::placeholder{--tw-text-opacity:1;color:rgba(var(--gray-500),var(--tw-text-opacity))}:is(.dark .dark\:before\:bg-primary-500):before{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgba(var(--primary-500),var(--tw-bg-opacity))}:is(.dark .dark\:checked\:bg-danger-500:checked){--tw-bg-opacity:1;background-color:rgba(var(--danger-500),var(--tw-bg-opacity))}:is(.dark .dark\:checked\:bg-primary-500:checked){--tw-bg-opacity:1;background-color:rgba(var(--primary-500),var(--tw-bg-opacity))}:is(.dark .dark\:focus-within\:bg-white\/5:focus-within){background-color:#ffffff0d}:is(.dark .dark\:hover\:bg-custom-400:hover){--tw-bg-opacity:1;background-color:rgba(var(--c-400),var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-custom-400\/10:hover){background-color:rgba(var(--c-400),.1)}:is(.dark .dark\:hover\:bg-white\/10:hover){background-color:#ffffff1a}:is(.dark .dark\:hover\:bg-white\/5:hover){background-color:#ffffff0d}:is(.dark .dark\:hover\:text-custom-300:hover){--tw-text-opacity:1;color:rgba(var(--c-300),var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-custom-300\/75:hover){color:rgba(var(--c-300),.75)}:is(.dark .dark\:hover\:text-gray-200:hover){--tw-text-opacity:1;color:rgba(var(--gray-200),var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300\/75:hover){color:rgba(var(--gray-300),.75)}:is(.dark .dark\:hover\:text-gray-400:hover){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}:is(.dark .dark\:hover\:ring-white\/20:hover){--tw-ring-color:#fff3}:is(.dark .dark\:focus\:ring-danger-500:focus){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--danger-500),var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-primary-500:focus){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--primary-500),var(--tw-ring-opacity))}:is(.dark .dark\:checked\:focus\:ring-danger-400\/50:focus:checked){--tw-ring-color:rgba(var(--danger-400),0.5)}:is(.dark .dark\:checked\:focus\:ring-primary-400\/50:focus:checked){--tw-ring-color:rgba(var(--primary-400),0.5)}:is(.dark .dark\:focus-visible\:border-primary-500:focus-visible){--tw-border-opacity:1;border-color:rgba(var(--primary-500),var(--tw-border-opacity))}:is(.dark .dark\:focus-visible\:bg-custom-400\/10:focus-visible){background-color:rgba(var(--c-400),.1)}:is(.dark .dark\:focus-visible\:bg-white\/5:focus-visible){background-color:#ffffff0d}:is(.dark .dark\:focus-visible\:text-custom-300\/75:focus-visible){color:rgba(var(--c-300),.75)}:is(.dark .dark\:focus-visible\:text-gray-300\/75:focus-visible){color:rgba(var(--gray-300),.75)}:is(.dark .dark\:focus-visible\:text-gray-400:focus-visible){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}:is(.dark .dark\:focus-visible\:ring-custom-400\/50:focus-visible){--tw-ring-color:rgba(var(--c-400),0.5)}:is(.dark .dark\:focus-visible\:ring-custom-500:focus-visible){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--c-500),var(--tw-ring-opacity))}:is(.dark .dark\:focus-visible\:ring-primary-500:focus-visible){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--primary-500),var(--tw-ring-opacity))}:is(.dark .dark\:disabled\:bg-transparent:disabled){background-color:initial}:is(.dark .dark\:disabled\:text-gray-400:disabled){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}:is(.dark .dark\:disabled\:ring-white\/10:disabled){--tw-ring-color:#ffffff1a}:is(.dark .dark\:disabled\:\[-webkit-text-fill-color\:theme\(colors\.gray\.400\)\]:disabled){-webkit-text-fill-color:rgba(var(--gray-400),1)}:is(.dark .dark\:disabled\:placeholder\:\[-webkit-text-fill-color\:theme\(colors\.gray\.500\)\]:disabled)::-moz-placeholder,:is(.dark .dark\:disabled\:placeholder\:\[-webkit-text-fill-color\:theme\(colors\.gray\.500\)\]:disabled)::placeholder{-webkit-text-fill-color:rgba(var(--gray-500),1)}:is(.dark .dark\:disabled\:checked\:bg-gray-600:checked:disabled){--tw-bg-opacity:1;background-color:rgba(var(--gray-600),var(--tw-bg-opacity))}:is(.dark .group\/button:hover .dark\:group-hover\/button\:text-gray-400){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-gray-200){--tw-text-opacity:1;color:rgba(var(--gray-200),var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-gray-400){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}:is(.dark .group:focus-visible .dark\:group-focus-visible\:text-gray-200){--tw-text-opacity:1;color:rgba(var(--gray-200),var(--tw-text-opacity))}:is(.dark .group:focus-visible .dark\:group-focus-visible\:text-gray-400){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}@media (min-width:1024px){:is([dir=rtl] .rtl\:lg\:-translate-x-0){--tw-translate-x:-0px}:is([dir=rtl] .rtl\:lg\:-translate-x-0),:is([dir=rtl] .rtl\:lg\:translate-x-full){transform:translate(var(--tw-translate-x),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))}:is([dir=rtl] .rtl\:lg\:translate-x-full){--tw-translate-x:100%}:is(.dark .dark\:lg\:bg-transparent){background-color:initial}}:is(.dark .dark\:\[\&\.trix-active\]\:bg-white\/5.trix-active){background-color:#ffffff0d}:is(.dark .dark\:\[\&\.trix-active\]\:text-primary-400.trix-active){--tw-text-opacity:1;color:rgba(var(--primary-400),var(--tw-text-opacity))}:is(.dark .dark\:\[\&\:not\(\:has\(\.fi-ac-action\:focus\)\)\]\:focus-within\:ring-danger-500:focus-within:not(:has(.fi-ac-action:focus))){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--danger-500),var(--tw-ring-opacity))}:is(.dark .dark\:\[\&\:not\(\:has\(\.fi-ac-action\:focus\)\)\]\:focus-within\:ring-primary-500:focus-within:not(:has(.fi-ac-action:focus))){--tw-ring-opacity:1;--tw-ring-color:rgba(var(--primary-500),var(--tw-ring-opacity))}:is(.dark .dark\:\[\&\:not\(\:nth-child\(1_of_\.fi-btn\)\)\]\:shadow-\[-1px_0_0_0_theme\(colors\.white\/20\%\)\]:not(:nth-child(1 of .fi-btn))){--tw-shadow:-1px 0 0 0 #fff3;--tw-shadow-colored:-1px 0 0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .\[\&\>\*\:first-child\]\:dark\:before\:bg-primary-500)>:first-child:before{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgba(var(--primary-500),var(--tw-bg-opacity))}:is(.dark .\[\&_optgroup\]\:dark\:bg-gray-900) optgroup{--tw-bg-opacity:1;background-color:rgba(var(--gray-900),var(--tw-bg-opacity))}:is(.dark .\[\&_option\]\:dark\:bg-gray-900) option{--tw-bg-opacity:1;background-color:rgba(var(--gray-900),var(--tw-bg-opacity))}:checked+*>.\[\:checked\+\*\>\&\]\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}input:checked+.\[input\:checked\+\&\]\:bg-custom-600{--tw-bg-opacity:1;background-color:rgba(var(--c-600),var(--tw-bg-opacity))}input:checked+.\[input\:checked\+\&\]\:bg-gray-400{--tw-bg-opacity:1;background-color:rgba(var(--gray-400),var(--tw-bg-opacity))}input:checked+.\[input\:checked\+\&\]\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}input:checked+.\[input\:checked\+\&\]\:ring-0{--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(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 #0000)}input:checked+.\[input\:checked\+\&\]\:hover\:bg-custom-500:hover{--tw-bg-opacity:1;background-color:rgba(var(--c-500),var(--tw-bg-opacity))}input:checked+.\[input\:checked\+\&\]\:hover\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgba(var(--gray-300),var(--tw-bg-opacity))}:is(.dark input:checked+.dark\:\[input\:checked\+\&\]\:bg-custom-500){--tw-bg-opacity:1;background-color:rgba(var(--c-500),var(--tw-bg-opacity))}:is(.dark input:checked+.dark\:\[input\:checked\+\&\]\:bg-gray-600){--tw-bg-opacity:1;background-color:rgba(var(--gray-600),var(--tw-bg-opacity))}:is(.dark input:checked+.dark\:\[input\:checked\+\&\]\:hover\:bg-custom-400:hover){--tw-bg-opacity:1;background-color:rgba(var(--c-400),var(--tw-bg-opacity))}:is(.dark input:checked+.dark\:\[input\:checked\+\&\]\:hover\:bg-gray-500:hover){--tw-bg-opacity:1;background-color:rgba(var(--gray-500),var(--tw-bg-opacity))}input:checked:focus-visible+.\[input\:checked\:focus-visible\+\&\]\:ring-custom-500\/50{--tw-ring-color:rgba(var(--c-500),0.5)}:is(.dark input:checked:focus-visible+.dark\:\[input\:checked\:focus-visible\+\&\]\:ring-custom-400\/50){--tw-ring-color:rgba(var(--c-400),0.5)}input:focus-visible+.\[input\:focus-visible\+\&\]\:z-10{z-index:10}input:focus-visible+.\[input\:focus-visible\+\&\]\:ring-2{--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(2px + 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 #0000)}input:focus-visible+.\[input\:focus-visible\+\&\]\:ring-gray-950\/10{--tw-ring-color:rgba(var(--gray-950),0.1)}:is(.dark input:focus-visible+.dark\:\[input\:focus-visible\+\&\]\:ring-white\/20){--tw-ring-color:#fff3}#circle-cursor{pointer-events:none;cursor:crosshair;display:none;width:20px;height:20px;background-color:#ffffff80;border-radius:50%;position:absolute;top:0;left:0;z-index:10000;transition:width .3s,height .3s,left .1s,top .1s;box-shadow:0 0 5px 0 rgb(var(--gray-950))}.driver-popover{box-sizing:border-box;margin:0;padding:15px;border-radius:5px;min-width:300px!important;max-width:750px!important;box-shadow:0 1px 10px #0006;z-index:1000000000;position:fixed;top:0;right:0}.driver-help-button{width:15px;height:15px;position:absolute;cursor:pointer}.top-left{top:-14px;left:-16px}.top-right{top:-14px;right:-16px}.bottom-right{bottom:-14px;right:-16px}.bottom-left{bottom:-14px;left:-16px} \ No newline at end of file diff --git a/resources/dist/filament-tour.js b/resources/dist/filament-tour.js index 7a676d9..f3d94ec 100644 --- a/resources/dist/filament-tour.js +++ b/resources/dist/filament-tour.js @@ -1,2 +1,2 @@ -var Y={};function j(e={}){Y={animate:!0,allowClose:!0,overlayOpacity:.7,smoothScroll:!1,disableActiveInteraction:!1,showProgress:!1,stagePadding:10,stageRadius:5,popoverOffset:10,showButtons:["next","previous","close"],disableButtons:[],overlayColor:"#000",...e}}function p(e){return e?Y[e]:Y}function O(e,t,n,r){return(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}function U(e){let t='a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])';return e.flatMap(n=>{let r=n.matches(t),o=Array.from(n.querySelectorAll(t));return[...r?[n]:[],...o]}).filter(n=>getComputedStyle(n).pointerEvents!=="none"&&ge(n))}function ee(e){if(!e||he(e))return;let t=p("smoothScroll");e.scrollIntoView({behavior:!t||me(e)?"auto":"smooth",inline:"center",block:"center"})}function me(e){if(!e||!e.parentElement)return;let t=e.parentElement;return t.scrollHeight>t.clientHeight}function he(e){let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function ge(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}var R={};function x(e,t){R[e]=t}function v(e){return e?R[e]:R}function X(){R={}}var q={};function W(e,t){q[e]=t}function A(e){var t;(t=q[e])==null||t.call(q)}function we(){q={}}function ye(e,t,n,r){let o=v("__activeStagePosition"),c=o||n.getBoundingClientRect(),m=r.getBoundingClientRect(),l=O(e,c.x,m.x-c.x,t),s=O(e,c.y,m.y-c.y,t),a=O(e,c.width,m.width-c.width,t),i=O(e,c.height,m.height-c.height,t);o={x:l,y:s,width:a,height:i},ne(o),x("__activeStagePosition",o)}function te(e){if(!e)return;let t=e.getBoundingClientRect(),n={x:t.x,y:t.y,width:t.width,height:t.height};x("__activeStagePosition",n),ne(n)}function be(){let e=v("__activeStagePosition"),t=v("__overlaySvg");if(!e)return;if(!t){console.warn("No stage svg found.");return}let n=window.innerWidth,r=window.innerHeight;t.setAttribute("viewBox",`0 0 ${n} ${r}`)}function xe(e){let t=Ce(e);document.body.appendChild(t),re(t,n=>{n.target.tagName==="path"&&A("overlayClick")}),x("__overlaySvg",t)}function ne(e){let t=v("__overlaySvg");if(!t){xe(e);return}let n=t.firstElementChild;if(n?.tagName!=="path")throw new Error("no path element found in stage svg");n.setAttribute("d",oe(e))}function Ce(e){let t=window.innerWidth,n=window.innerHeight,r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.classList.add("driver-overlay","driver-overlay-animated"),r.setAttribute("viewBox",`0 0 ${t} ${n}`),r.setAttribute("xmlSpace","preserve"),r.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),r.setAttribute("version","1.1"),r.setAttribute("preserveAspectRatio","xMinYMin slice"),r.style.fillRule="evenodd",r.style.clipRule="evenodd",r.style.strokeLinejoin="round",r.style.strokeMiterlimit="2",r.style.zIndex="10000",r.style.position="fixed",r.style.top="0",r.style.left="0",r.style.width="100%",r.style.height="100%";let o=document.createElementNS("http://www.w3.org/2000/svg","path");return o.setAttribute("d",oe(e)),o.style.fill=p("overlayColor")||"rgb(0,0,0)",o.style.opacity=`${p("overlayOpacity")}`,o.style.pointerEvents="auto",o.style.cursor="auto",r.appendChild(o),r}function oe(e){let t=window.innerWidth,n=window.innerHeight,r=p("stagePadding")||0,o=p("stageRadius")||0,c=e.width+r*2,m=e.height+r*2,l=Math.min(o,c/2,m/2),s=Math.floor(Math.max(l,0)),a=e.x-r+s,i=e.y-r,d=c-s*2,u=m-s*2;return`M${t},0L0,0L0,${n}L${t},${n}L${t},0Z - M${a},${i} h${d} a${s},${s} 0 0 1 ${s},${s} v${u} a${s},${s} 0 0 1 -${s},${s} h-${d} a${s},${s} 0 0 1 -${s},-${s} v-${u} a${s},${s} 0 0 1 ${s},-${s} z`}function Se(){let e=v("__overlaySvg");e&&e.remove()}function Le(){let e=document.getElementById("driver-dummy-element");if(e)return e;let t=document.createElement("div");return t.id="driver-dummy-element",t.style.width="0",t.style.height="0",t.style.pointerEvents="none",t.style.opacity="0",t.style.position="fixed",t.style.top="50%",t.style.left="50%",document.body.appendChild(t),t}function V(e){let{element:t}=e,n=typeof t=="string"?document.querySelector(t):t;n||(n=Le()),_e(n,e)}function ke(){let e=v("__activeElement"),t=v("__activeStep");e&&(te(e),be(),le(e,t))}function _e(e,t){let n=Date.now(),r=v("__activeStep"),o=v("__activeElement")||e,c=!o||o===e,m=e.id==="driver-dummy-element",l=o.id==="driver-dummy-element",s=p("animate"),a=t.onHighlightStarted||p("onHighlightStarted"),i=t?.onHighlighted||p("onHighlighted"),d=r?.onDeselected||p("onDeselected"),u=p(),f=v();!c&&d&&d(l?void 0:o,r,{config:u,state:f}),a&&a(m?void 0:e,t,{config:u,state:f});let g=!c&&s,w=!1;$e(),x("previousStep",r),x("previousElement",o),x("activeStep",t),x("activeElement",e);let h=()=>{if(v("__transitionCallback")!==h)return;let y=Date.now()-n,L=400-y<=400/2;t.popover&&L&&!w&&g&&(Z(e,t),w=!0),p("animate")&&y<400?ye(y,400,o,e):(te(e),i&&i(m?void 0:e,t,{config:p(),state:v()}),x("__transitionCallback",void 0),x("__previousStep",r),x("__previousElement",o),x("__activeStep",t),x("__activeElement",e)),window.requestAnimationFrame(h)};x("__transitionCallback",h),window.requestAnimationFrame(h),ee(e),!g&&t.popover&&Z(e,t),o.classList.remove("driver-active-element","driver-no-interaction"),o.removeAttribute("aria-haspopup"),o.removeAttribute("aria-expanded"),o.removeAttribute("aria-controls"),p("disableActiveInteraction")&&e.classList.add("driver-no-interaction"),e.classList.add("driver-active-element"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded","true"),e.setAttribute("aria-controls","driver-popover-content")}function Ee(){var e;(e=document.getElementById("driver-dummy-element"))==null||e.remove(),document.querySelectorAll(".driver-active-element").forEach(t=>{t.classList.remove("driver-active-element","driver-no-interaction"),t.removeAttribute("aria-haspopup"),t.removeAttribute("aria-expanded"),t.removeAttribute("aria-controls")})}function $(){let e=v("__resizeTimeout");e&&window.cancelAnimationFrame(e),x("__resizeTimeout",window.requestAnimationFrame(ke))}function Pe(e){var t;if(!v("isInitialized")||!(e.key==="Tab"||e.keyCode===9))return;let n=v("__activeElement"),r=(t=v("popover"))==null?void 0:t.wrapper,o=U([...r?[r]:[],...n?[n]:[]]),c=o[0],m=o[o.length-1];if(e.preventDefault(),e.shiftKey){let l=o[o.indexOf(document.activeElement)-1]||m;l?.focus()}else{let l=o[o.indexOf(document.activeElement)+1]||c;l?.focus()}}function ie(e){var t;((t=p("allowKeyboardControl"))==null||t)&&(e.key==="Escape"?A("escapePress"):e.key==="ArrowRight"?A("arrowRightPress"):e.key==="ArrowLeft"&&A("arrowLeftPress"))}function re(e,t,n){let r=(o,c)=>{let m=o.target;e.contains(m)&&((!n||n(m))&&(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()),c?.(o))};document.addEventListener("pointerdown",r,!0),document.addEventListener("mousedown",r,!0),document.addEventListener("pointerup",r,!0),document.addEventListener("mouseup",r,!0),document.addEventListener("click",o=>{r(o,t)},!0)}function Ne(){window.addEventListener("keyup",ie,!1),window.addEventListener("keydown",Pe,!1),window.addEventListener("resize",$),window.addEventListener("scroll",$)}function Ae(){window.removeEventListener("keyup",ie),window.removeEventListener("resize",$),window.removeEventListener("scroll",$)}function $e(){let e=v("popover");e&&(e.wrapper.style.display="none")}function Z(e,t){var n,r;let o=v("popover");o&&document.body.removeChild(o.wrapper),o=Te(),document.body.appendChild(o.wrapper);let{title:c,description:m,showButtons:l,disableButtons:s,showProgress:a,nextBtnText:i=p("nextBtnText")||"Next →",prevBtnText:d=p("prevBtnText")||"← Previous",progressText:u=p("progressText")||"{current} of {total}"}=t.popover||{};o.nextButton.innerHTML=i,o.previousButton.innerHTML=d,o.progress.innerHTML=u,c?(o.title.innerHTML=c,o.title.style.display="block"):o.title.style.display="none",m?(o.description.innerHTML=m,o.description.style.display="block"):o.description.style.display="none";let f=l||p("showButtons"),g=a||p("showProgress")||!1,w=f?.includes("next")||f?.includes("previous")||g;o.closeButton.style.display=f.includes("close")?"block":"none",w?(o.footer.style.display="flex",o.progress.style.display=g?"block":"none",o.nextButton.style.display=f.includes("next")?"block":"none",o.previousButton.style.display=f.includes("previous")?"block":"none"):o.footer.style.display="none";let h=s||p("disableButtons")||[];h!=null&&h.includes("next")&&(o.nextButton.disabled=!0,o.nextButton.classList.add("driver-popover-btn-disabled")),h!=null&&h.includes("previous")&&(o.previousButton.disabled=!0,o.previousButton.classList.add("driver-popover-btn-disabled")),h!=null&&h.includes("close")&&(o.closeButton.disabled=!0,o.closeButton.classList.add("driver-popover-btn-disabled"));let y=o.wrapper;y.style.display="block",y.style.left="",y.style.top="",y.style.bottom="",y.style.right="",y.id="driver-popover-content",y.setAttribute("role","dialog"),y.setAttribute("aria-labelledby","driver-popover-title"),y.setAttribute("aria-describedby","driver-popover-description");let L=o.arrow;L.className="driver-popover-arrow";let _=((n=t.popover)==null?void 0:n.popoverClass)||p("popoverClass")||"";y.className=`driver-popover ${_}`.trim(),re(o.wrapper,E=>{var B,T,H;let N=E.target,M=((B=t.popover)==null?void 0:B.onNextClick)||p("onNextClick"),I=((T=t.popover)==null?void 0:T.onPrevClick)||p("onPrevClick"),D=((H=t.popover)==null?void 0:H.onCloseClick)||p("onCloseClick");if(N.classList.contains("driver-popover-next-btn"))return M?M(e,t,{config:p(),state:v()}):A("nextClick");if(N.classList.contains("driver-popover-prev-btn"))return I?I(e,t,{config:p(),state:v()}):A("prevClick");if(N.classList.contains("driver-popover-close-btn"))return D?D(e,t,{config:p(),state:v()}):A("closeClick")},E=>!(o!=null&&o.description.contains(E))&&!(o!=null&&o.title.contains(E))&&typeof E.className=="string"&&E.className.includes("driver-popover")),x("popover",o);let b=((r=t.popover)==null?void 0:r.onPopoverRender)||p("onPopoverRender");b&&b(o,{config:p(),state:v()}),le(e,t),ee(y);let C=e.classList.contains("driver-dummy-element"),S=U([y,...C?[]:[e]]);S.length>0&&S[0].focus()}function se(){let e=v("popover");if(!(e!=null&&e.wrapper))return;let t=e.wrapper.getBoundingClientRect(),n=p("stagePadding")||0,r=p("popoverOffset")||0;return{width:t.width+n+r,height:t.height+n+r,realWidth:t.width,realHeight:t.height}}function G(e,t){let{elementDimensions:n,popoverDimensions:r,popoverPadding:o,popoverArrowDimensions:c}=t;return e==="start"?Math.max(Math.min(n.top-o,window.innerHeight-r.realHeight-c.width),c.width):e==="end"?Math.max(Math.min(n.top-r?.realHeight+n.height+o,window.innerHeight-r?.realHeight-c.width),c.width):e==="center"?Math.max(Math.min(n.top+n.height/2-r?.realHeight/2,window.innerHeight-r?.realHeight-c.width),c.width):0}function Q(e,t){let{elementDimensions:n,popoverDimensions:r,popoverPadding:o,popoverArrowDimensions:c}=t;return e==="start"?Math.max(Math.min(n.left-o,window.innerWidth-r.realWidth-c.width),c.width):e==="end"?Math.max(Math.min(n.left-r?.realWidth+n.width+o,window.innerWidth-r?.realWidth-c.width),c.width):e==="center"?Math.max(Math.min(n.left+n.width/2-r?.realWidth/2,window.innerWidth-r?.realWidth-c.width),c.width):0}function le(e,t){let n=v("popover");if(!n)return;let{align:r="start",side:o="left"}=t?.popover||{},c=r,m=e.id==="driver-dummy-element"?"over":o,l=p("stagePadding")||0,s=se(),a=n.arrow.getBoundingClientRect(),i=e.getBoundingClientRect(),d=i.top-s.height,u=d>=0,f=window.innerHeight-(i.bottom+s.height),g=f>=0,w=i.left-s.width,h=w>=0,y=window.innerWidth-(i.right+s.width),L=y>=0,_=!u&&!g&&!h&&!L,b=m;if(m==="top"&&u?L=h=g=!1:m==="bottom"&&g?L=h=u=!1:m==="left"&&h?L=u=g=!1:m==="right"&&L&&(h=u=g=!1),m==="over"){let C=window.innerWidth/2-s.realWidth/2,S=window.innerHeight/2-s.realHeight/2;n.wrapper.style.left=`${C}px`,n.wrapper.style.right="auto",n.wrapper.style.top=`${S}px`,n.wrapper.style.bottom="auto"}else if(_){let C=window.innerWidth/2-s?.realWidth/2,S=10;n.wrapper.style.left=`${C}px`,n.wrapper.style.right="auto",n.wrapper.style.bottom=`${S}px`,n.wrapper.style.top="auto"}else if(h){let C=Math.min(w,window.innerWidth-s?.realWidth-a.width),S=G(c,{elementDimensions:i,popoverDimensions:s,popoverPadding:l,popoverArrowDimensions:a});n.wrapper.style.left=`${C}px`,n.wrapper.style.top=`${S}px`,n.wrapper.style.bottom="auto",n.wrapper.style.right="auto",b="left"}else if(L){let C=Math.min(y,window.innerWidth-s?.realWidth-a.width),S=G(c,{elementDimensions:i,popoverDimensions:s,popoverPadding:l,popoverArrowDimensions:a});n.wrapper.style.right=`${C}px`,n.wrapper.style.top=`${S}px`,n.wrapper.style.bottom="auto",n.wrapper.style.left="auto",b="right"}else if(u){let C=Math.min(d,window.innerHeight-s.realHeight-a.width),S=Q(c,{elementDimensions:i,popoverDimensions:s,popoverPadding:l,popoverArrowDimensions:a});n.wrapper.style.top=`${C}px`,n.wrapper.style.left=`${S}px`,n.wrapper.style.bottom="auto",n.wrapper.style.right="auto",b="top"}else if(g){let C=Math.min(f,window.innerHeight-s?.realHeight-a.width),S=Q(c,{elementDimensions:i,popoverDimensions:s,popoverPadding:l,popoverArrowDimensions:a});n.wrapper.style.left=`${S}px`,n.wrapper.style.bottom=`${C}px`,n.wrapper.style.top="auto",n.wrapper.style.right="auto",b="bottom"}_?n.arrow.classList.add("driver-popover-arrow-none"):Be(c,b,e)}function Be(e,t,n){let r=v("popover");if(!r)return;let o=n.getBoundingClientRect(),c=se(),m=r.arrow,l=c.width,s=window.innerWidth,a=o.width,i=o.left,d=c.height,u=window.innerHeight,f=o.top,g=o.height;m.className="driver-popover-arrow";let w=t,h=e;t==="top"?(i+a<=0?(w="right",h="end"):i+a-l<=0&&(w="top",h="start"),i>=s?(w="left",h="end"):i+l>=s&&(w="top",h="end")):t==="bottom"?(i+a<=0?(w="right",h="start"):i+a-l<=0&&(w="bottom",h="start"),i>=s?(w="left",h="start"):i+l>=s&&(w="bottom",h="end")):t==="left"?(f+g<=0?(w="bottom",h="end"):f+g-d<=0&&(w="left",h="start"),f>=u?(w="top",h="end"):f+d>=u&&(w="left",h="end")):t==="right"&&(f+g<=0?(w="bottom",h="start"):f+g-d<=0&&(w="right",h="start"),f>=u?(w="top",h="start"):f+d>=u&&(w="right",h="end")),w?(m.classList.add(`driver-popover-arrow-side-${w}`),m.classList.add(`driver-popover-arrow-align-${h}`)):m.classList.add("driver-popover-arrow-none")}function Te(){let e=document.createElement("div");e.classList.add("driver-popover");let t=document.createElement("div");t.classList.add("driver-popover-arrow");let n=document.createElement("header");n.id="driver-popover-title",n.classList.add("driver-popover-title"),n.style.display="none",n.innerText="Popover Title";let r=document.createElement("div");r.id="driver-popover-description",r.classList.add("driver-popover-description"),r.style.display="none",r.innerText="Popover description is here";let o=document.createElement("button");o.type="button",o.classList.add("driver-popover-close-btn"),o.setAttribute("aria-label","Close"),o.innerHTML="×";let c=document.createElement("footer");c.classList.add("driver-popover-footer");let m=document.createElement("span");m.classList.add("driver-popover-progress-text"),m.innerText="";let l=document.createElement("span");l.classList.add("driver-popover-navigation-btns");let s=document.createElement("button");s.type="button",s.classList.add("driver-popover-prev-btn"),s.innerHTML="← Previous";let a=document.createElement("button");return a.type="button",a.classList.add("driver-popover-next-btn"),a.innerHTML="Next →",l.appendChild(s),l.appendChild(a),c.appendChild(m),c.appendChild(l),e.appendChild(o),e.appendChild(t),e.appendChild(n),e.appendChild(r),e.appendChild(c),{wrapper:e,arrow:t,title:n,description:r,footer:c,previousButton:s,nextButton:a,closeButton:o,footerButtons:l,progress:m}}function He(){var e;let t=v("popover");t&&((e=t.wrapper.parentElement)==null||e.removeChild(t.wrapper))}function J(e={}){j(e);function t(){p("allowClose")&&a()}function n(){let i=v("activeIndex"),d=p("steps")||[];if(typeof i>"u")return;let u=i+1;d[u]?s(u):a()}function r(){let i=v("activeIndex"),d=p("steps")||[];if(typeof i>"u")return;let u=i-1;d[u]?s(u):a()}function o(i){(p("steps")||[])[i]?s(i):a()}function c(){var i;if(v("__transitionCallback"))return;let d=v("activeIndex"),u=v("__activeStep"),f=v("__activeElement");if(typeof d>"u"||typeof u>"u"||typeof v("activeIndex")>"u")return;let g=((i=u.popover)==null?void 0:i.onPrevClick)||p("onPrevClick");if(g)return g(f,u,{config:p(),state:v()});r()}function m(){var i;if(v("__transitionCallback"))return;let d=v("activeIndex"),u=v("__activeStep"),f=v("__activeElement");if(typeof d>"u"||typeof u>"u")return;let g=((i=u.popover)==null?void 0:i.onNextClick)||p("onNextClick");if(g)return g(f,u,{config:p(),state:v()});n()}function l(){v("isInitialized")||(x("isInitialized",!0),document.body.classList.add("driver-active",p("animate")?"driver-fade":"driver-simple"),Ne(),W("overlayClick",t),W("escapePress",t),W("arrowLeftPress",c),W("arrowRightPress",m))}function s(i=0){var d,u,f,g,w,h,y,L;let _=p("steps");if(!_){console.error("No steps to drive through"),a();return}if(!_[i]){a();return}x("__activeOnDestroyed",document.activeElement),x("activeIndex",i);let b=_[i],C=_[i+1],S=_[i-1],E=((d=b.popover)==null?void 0:d.doneBtnText)||p("doneBtnText")||"Done",B=p("allowClose"),T=typeof((u=b.popover)==null?void 0:u.showProgress)<"u"?(f=b.popover)==null?void 0:f.showProgress:p("showProgress"),H=(((g=b.popover)==null?void 0:g.progressText)||p("progressText")||"{{current}} of {{total}}").replace("{{current}}",`${i+1}`).replace("{{total}}",`${_.length}`),N=((w=b.popover)==null?void 0:w.showButtons)||p("showButtons"),M=["next","previous",...B?["close"]:[]].filter(fe=>!(N!=null&&N.length)||N.includes(fe)),I=((h=b.popover)==null?void 0:h.onNextClick)||p("onNextClick"),D=((y=b.popover)==null?void 0:y.onPrevClick)||p("onPrevClick"),ve=((L=b.popover)==null?void 0:L.onCloseClick)||p("onCloseClick");V({...b,popover:{showButtons:M,nextBtnText:C?void 0:E,disableButtons:[...S?[]:["previous"]],showProgress:T,progressText:H,onNextClick:I||(()=>{C?s(i+1):a()}),onPrevClick:D||(()=>{s(i-1)}),onCloseClick:ve||(()=>{a()}),...b?.popover||{}}})}function a(i=!0){let d=v("__activeElement"),u=v("__activeStep"),f=v("__activeOnDestroyed"),g=p("onDestroyStarted");if(i&&g){let y=!d||d?.id==="driver-dummy-element";g(y?void 0:d,u,{config:p(),state:v()});return}let w=u?.onDeselected||p("onDeselected"),h=p("onDestroyed");if(document.body.classList.remove("driver-active","driver-fade","driver-simple"),Ae(),He(),Ee(),Se(),we(),X(),d&&u){let y=d.id==="driver-dummy-element";w&&w(y?void 0:d,u,{config:p(),state:v()}),h&&h(y?void 0:d,u,{config:p(),state:v()})}f&&f.focus()}return{isActive:()=>v("isInitialized")||!1,refresh:$,drive:(i=0)=>{l(),s(i)},setConfig:j,setSteps:i=>{X(),j({...p(),steps:i})},getConfig:p,getState:v,getActiveIndex:()=>v("activeIndex"),isFirstStep:()=>v("activeIndex")===0,isLastStep:()=>{let i=p("steps")||[],d=v("activeIndex");return d!==void 0&&d===i.length-1},getActiveStep:()=>v("activeStep"),getActiveElement:()=>v("activeElement"),getPreviousElement:()=>v("previousElement"),getPreviousStep:()=>v("previousStep"),moveNext:n,movePrevious:r,moveTo:o,hasNextStep:()=>{let i=p("steps")||[],d=v("activeIndex");return d!==void 0&&i[d+1]},hasPreviousStep:()=>{let i=p("steps")||[],d=v("activeIndex");return d!==void 0&&i[d-1]},highlight:i=>{l(),V({...i,popover:i.popover?{showButtons:[],showProgress:!1,progressText:"",...i.popover}:void 0})},destroy:()=>{a(!1)}}}var ae=0,ce=0,P=!1,Me=window.navigator.clipboard,K=!1,z=null,k=document.querySelector("#circle-cursor");function pe(){Livewire.on("filament-tour::change-css-selector-status",function({enabled:e}){if(e){let t=function(n){n.key==="Escape"&&(P=!1,z=null,k.style.display="none")};document.onmousemove=Oe,document.onkeyup=t,document.onmouseover=We,document.onmouseleave=Re,document.addEventListener("keydown",function(n){n.ctrlKey&&n.code==="Space"&&!P&&(Me?(P=!0,ue(ae,ce),k.style.display="block",new FilamentNotification().title("Filament Tour - CSS Selector").body("Activated !
Press Ctrl + C to copy the CSS Selector of the selected element !").success().send()):new FilamentNotification().title("Filament Tour - CSS Selector").body("Your browser does not support the Clipboard API !
Don't forget to be in https:// protocol").danger().send()),n.ctrlKey&&n.code==="KeyC"&&P&&(navigator.clipboard.writeText(Ie(z)??"Nothing selected !"),P=!1,z=null,k.style.display="none",new FilamentNotification().title("Filament Tour - CSS Selector").body("CSS Selector copied to clipboard !").success().send())})}})}function de(e){return e.replace(/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,"\\$1")}function Ie(e){let t=F(e);return De(t)}function De(e){let t=e.split(" > ");for(let n=t.length-2;n>=0;n--){let r=t.slice(n).join(" > ");if(document.querySelectorAll(r).length===1)return r}return e}function F(e){if(!e)return"";if(e.id)return"#"+de(e.id);if(e===document.body)return"body";let t=e.tagName.toLowerCase(),n=e.className.split(/\s+/).filter(c=>c&&!c.startsWith("--")),r=n.length?"."+n.map(de).join("."):"",o=t+r;try{let c=Array.from(e.parentNode.querySelectorAll(o));if(c.length===1&&c[0]===e)return F(e.parentNode)+" > "+o;let l=Array.from(e.parentNode.children).filter(s=>s.tagName===e.tagName&&s.className===e.className);if(l.length>1){let s=l.indexOf(e)+1;return F(e.parentNode)+" > "+t+r+":nth-of-type("+s+")"}else return F(e.parentNode)+" > "+t+r}catch{}}function Oe(e){ae=e.clientX,ce=e.clientY,ue(e.clientX,e.clientY)}function ue(e,t){if(!P)return;let n=10;K||(k.style.left=e-n+"px",k.style.top=t-n+"px",k.style.width="20px",k.style.height="20px",k.style.borderRadius="50%")}function We(e){if(e.stopPropagation(),!P)return;K=!0;let t=e.target;for(;t.lastElementChild;)t=t.lastElementChild;if(t){let n=t.offsetParent?t.offsetLeft+t.offsetParent.offsetLeft:t.offsetLeft,r=t.offsetParent?t.offsetTop+t.offsetParent.offsetTop:t.offsetTop,o=t.offsetWidth,c=t.offsetHeight,m=6;z=t,k.style.left=n-m+"px",k.style.top=r-m+"px",k.style.width=o+m*2-1+"px",k.style.height=c+m*2-1+"px",k.style.borderRadius="5px"}}function Re(e){P&&(K=!1)}document.addEventListener("livewire:initialized",async function(){pe();let e,t=[],n=[];function r(l,s){if(document.querySelector(l)){s(document.querySelector(l));return}let a=new MutationObserver(function(i){document.querySelector(l)&&(s(document.querySelector(l)),a.disconnect())});a.observe(document.body,{childList:!0,subtree:!0})}function o(l){return Array.isArray(l)?l[0]:typeof l=="object"?l.id:l}Livewire.dispatch("filament-tour::load-elements",{request:window.location}),Livewire.on("filament-tour::loaded-elements",function(l){e=l,e.tours.forEach(s=>{t.push(s),localStorage.getItem("tours")||localStorage.setItem("tours","[]")}),c(t),e.highlights.forEach(s=>{s.route===window.location.pathname&&(r(s.parent,function(a){a.parentNode.style.position="relative";let i=document.createElement("div");i.innerHTML=s.button,i.firstChild.classList.add(s.position),a.parentNode.insertBefore(i.firstChild,a)}),n.push(s))})});function c(l,s=0){for(let a=s;ai.id===s);a?J({overlayColor:localStorage.theme==="light"?a.colors.light:a.colors.dark,onPopoverRender:(i,{config:d,state:u})=>{i.title.innerHTML="",i.title.innerHTML=u.activeStep.popover.title,u.activeStep.popover.description||(i.title.firstChild.style.justifyContent="center");let f="dark:text-white fi-section rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10 mb-4";i.footer.parentElement.classList.add(...f.split(" "))}}).highlight(a):console.error(`Highlight with id '${s}' not found`)}),Livewire.on("filament-tour::open-tour",function(l){let s=o(l),a=t.find(i=>i.id===s);a?m(a):console.error(`Tour with id '${s}' not found`)});function m(l){let s=JSON.parse(l.steps);if(s.length>0){let a=J({allowClose:!0,disableActiveInteraction:!0,overlayColor:localStorage.theme==="light"?l.colors.light:l.colors.dark,onDeselected:(i,d,{config:u,state:f})=>{},onCloseClick:(i,d,{config:u,state:f})=>{f.activeStep&&(!f.activeStep.uncloseable||l.uncloseable)&&a.destroy(),localStorage.getItem("tours").includes(l.id)||localStorage.setItem("tours",JSON.stringify([...JSON.parse(localStorage.getItem("tours")),l.id]))},onDestroyStarted:(i,d,{config:u,state:f})=>{f.activeStep&&!f.activeStep.uncloseable&&!l.uncloseable&&a.destroy()},onDestroyed:(i,d,{config:u,state:f})=>{},onNextClick:(i,d,{config:u,state:f})=>{if(t.length>1&&a.isLastStep()){let g=t.findIndex(w=>w.id===l.id);if(g!==-1&&g{(u.activeStep.uncloseable||l.uncloseable)&&document.querySelector(".driver-popover-close-btn").remove(),i.title.innerHTML="",i.title.innerHTML=u.activeStep.popover.title,u.activeStep.popover.description||(i.title.firstChild.style.justifyContent="center");let f="dark:text-white fi-section rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10 mb-4";i.footer.parentElement.classList.add(...f.split(" ")),i.footer.innerHTML="",i.footer.classList.add("flex","mt-3"),i.footer.style.justifyContent="space-evenly",i.footer.classList.remove("driver-popover-footer");let g=document.createElement("button"),w="fi-btn fi-btn-size-md relative grid-flow-col items-center justify-center font-semibold outline-none transition duration-75 focus:ring-2 disabled:pointer-events-none disabled:opacity-70 rounded-lg fi-btn-color-primary gap-1.5 px-3 py-2 text-sm inline-grid shadow-sm bg-custom-600 text-white hover:bg-custom-500 dark:bg-custom-500 dark:hover:bg-custom-400 focus:ring-custom-500/50 dark:focus:ring-custom-400/50 fi-ac-btn-action";g.classList.add(...w.split(" "),"driver-popover-next-btn"),g.innerText=a.isLastStep()?l.doneButtonLabel:l.nextButtonLabel,g.style.setProperty("--c-400","var(--primary-400"),g.style.setProperty("--c-500","var(--primary-500"),g.style.setProperty("--c-600","var(--primary-600");let h=document.createElement("button"),y="fi-btn fi-btn-size-md relative grid-flow-col items-center justify-center font-semibold outline-none transition duration-75 focus:ring-2 disabled:pointer-events-none disabled:opacity-70 rounded-lg fi-btn-color-gray gap-1.5 px-3 py-2 text-sm inline-grid shadow-sm bg-white text-gray-950 hover:bg-gray-50 dark:bg-white/5 dark:text-white dark:hover:bg-white/10 ring-1 ring-gray-950/10 dark:ring-white/20 fi-ac-btn-action";h.classList.add(...y.split(" "),"driver-popover-prev-btn"),h.innerText=l.previousButtonLabel,a.isFirstStep()||i.footer.appendChild(h),i.footer.appendChild(g)},steps:s});a.drive()}}}); +var Y={};function j(e={}){Y={animate:!0,allowClose:!0,overlayOpacity:.7,smoothScroll:!1,disableActiveInteraction:!1,showProgress:!1,stagePadding:10,stageRadius:5,popoverOffset:10,showButtons:["next","previous","close"],disableButtons:[],overlayColor:"#000",...e}}function p(e){return e?Y[e]:Y}function O(e,t,o,r){return(e/=r/2)<1?o/2*e*e+t:-o/2*(--e*(e-2)-1)+t}function U(e){let t='a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])';return e.flatMap(o=>{let r=o.matches(t),n=Array.from(o.querySelectorAll(t));return[...r?[o]:[],...n]}).filter(o=>getComputedStyle(o).pointerEvents!=="none"&&ge(o))}function ee(e){if(!e||he(e))return;let t=p("smoothScroll");e.scrollIntoView({behavior:!t||me(e)?"auto":"smooth",inline:"center",block:"center"})}function me(e){if(!e||!e.parentElement)return;let t=e.parentElement;return t.scrollHeight>t.clientHeight}function he(e){let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function ge(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}var R={};function x(e,t){R[e]=t}function v(e){return e?R[e]:R}function X(){R={}}var q={};function W(e,t){q[e]=t}function A(e){var t;(t=q[e])==null||t.call(q)}function we(){q={}}function ye(e,t,o,r){let n=v("__activeStagePosition"),c=n||o.getBoundingClientRect(),m=r.getBoundingClientRect(),l=O(e,c.x,m.x-c.x,t),s=O(e,c.y,m.y-c.y,t),d=O(e,c.width,m.width-c.width,t),i=O(e,c.height,m.height-c.height,t);n={x:l,y:s,width:d,height:i},oe(n),x("__activeStagePosition",n)}function te(e){if(!e)return;let t=e.getBoundingClientRect(),o={x:t.x,y:t.y,width:t.width,height:t.height};x("__activeStagePosition",o),oe(o)}function be(){let e=v("__activeStagePosition"),t=v("__overlaySvg");if(!e)return;if(!t){console.warn("No stage svg found.");return}let o=window.innerWidth,r=window.innerHeight;t.setAttribute("viewBox",`0 0 ${o} ${r}`)}function xe(e){let t=Ce(e);document.body.appendChild(t),re(t,o=>{o.target.tagName==="path"&&A("overlayClick")}),x("__overlaySvg",t)}function oe(e){let t=v("__overlaySvg");if(!t){xe(e);return}let o=t.firstElementChild;if(o?.tagName!=="path")throw new Error("no path element found in stage svg");o.setAttribute("d",ne(e))}function Ce(e){let t=window.innerWidth,o=window.innerHeight,r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.classList.add("driver-overlay","driver-overlay-animated"),r.setAttribute("viewBox",`0 0 ${t} ${o}`),r.setAttribute("xmlSpace","preserve"),r.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),r.setAttribute("version","1.1"),r.setAttribute("preserveAspectRatio","xMinYMin slice"),r.style.fillRule="evenodd",r.style.clipRule="evenodd",r.style.strokeLinejoin="round",r.style.strokeMiterlimit="2",r.style.zIndex="10000",r.style.position="fixed",r.style.top="0",r.style.left="0",r.style.width="100%",r.style.height="100%";let n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",ne(e)),n.style.fill=p("overlayColor")||"rgb(0,0,0)",n.style.opacity=`${p("overlayOpacity")}`,n.style.pointerEvents="auto",n.style.cursor="auto",r.appendChild(n),r}function ne(e){let t=window.innerWidth,o=window.innerHeight,r=p("stagePadding")||0,n=p("stageRadius")||0,c=e.width+r*2,m=e.height+r*2,l=Math.min(n,c/2,m/2),s=Math.floor(Math.max(l,0)),d=e.x-r+s,i=e.y-r,a=c-s*2,u=m-s*2;return`M${t},0L0,0L0,${o}L${t},${o}L${t},0Z + M${d},${i} h${a} a${s},${s} 0 0 1 ${s},${s} v${u} a${s},${s} 0 0 1 -${s},${s} h-${a} a${s},${s} 0 0 1 -${s},-${s} v-${u} a${s},${s} 0 0 1 ${s},-${s} z`}function Se(){let e=v("__overlaySvg");e&&e.remove()}function Le(){let e=document.getElementById("driver-dummy-element");if(e)return e;let t=document.createElement("div");return t.id="driver-dummy-element",t.style.width="0",t.style.height="0",t.style.pointerEvents="none",t.style.opacity="0",t.style.position="fixed",t.style.top="50%",t.style.left="50%",document.body.appendChild(t),t}function V(e){let{element:t}=e,o=typeof t=="string"?document.querySelector(t):t;o||(o=Le()),_e(o,e)}function ke(){let e=v("__activeElement"),t=v("__activeStep");e&&(te(e),be(),le(e,t))}function _e(e,t){let o=Date.now(),r=v("__activeStep"),n=v("__activeElement")||e,c=!n||n===e,m=e.id==="driver-dummy-element",l=n.id==="driver-dummy-element",s=p("animate"),d=t.onHighlightStarted||p("onHighlightStarted"),i=t?.onHighlighted||p("onHighlighted"),a=r?.onDeselected||p("onDeselected"),u=p(),f=v();!c&&a&&a(l?void 0:n,r,{config:u,state:f}),d&&d(m?void 0:e,t,{config:u,state:f});let g=!c&&s,w=!1;$e(),x("previousStep",r),x("previousElement",n),x("activeStep",t),x("activeElement",e);let h=()=>{if(v("__transitionCallback")!==h)return;let y=Date.now()-o,L=400-y<=400/2;t.popover&&L&&!w&&g&&(Z(e,t),w=!0),p("animate")&&y<400?ye(y,400,n,e):(te(e),i&&i(m?void 0:e,t,{config:p(),state:v()}),x("__transitionCallback",void 0),x("__previousStep",r),x("__previousElement",n),x("__activeStep",t),x("__activeElement",e)),window.requestAnimationFrame(h)};x("__transitionCallback",h),window.requestAnimationFrame(h),ee(e),!g&&t.popover&&Z(e,t),n.classList.remove("driver-active-element","driver-no-interaction"),n.removeAttribute("aria-haspopup"),n.removeAttribute("aria-expanded"),n.removeAttribute("aria-controls"),p("disableActiveInteraction")&&e.classList.add("driver-no-interaction"),e.classList.add("driver-active-element"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded","true"),e.setAttribute("aria-controls","driver-popover-content")}function Ee(){var e;(e=document.getElementById("driver-dummy-element"))==null||e.remove(),document.querySelectorAll(".driver-active-element").forEach(t=>{t.classList.remove("driver-active-element","driver-no-interaction"),t.removeAttribute("aria-haspopup"),t.removeAttribute("aria-expanded"),t.removeAttribute("aria-controls")})}function $(){let e=v("__resizeTimeout");e&&window.cancelAnimationFrame(e),x("__resizeTimeout",window.requestAnimationFrame(ke))}function Pe(e){var t;if(!v("isInitialized")||!(e.key==="Tab"||e.keyCode===9))return;let o=v("__activeElement"),r=(t=v("popover"))==null?void 0:t.wrapper,n=U([...r?[r]:[],...o?[o]:[]]),c=n[0],m=n[n.length-1];if(e.preventDefault(),e.shiftKey){let l=n[n.indexOf(document.activeElement)-1]||m;l?.focus()}else{let l=n[n.indexOf(document.activeElement)+1]||c;l?.focus()}}function ie(e){(p("allowKeyboardControl")??!0)&&(e.key==="Escape"?A("escapePress"):e.key==="ArrowRight"?A("arrowRightPress"):e.key==="ArrowLeft"&&A("arrowLeftPress"))}function re(e,t,o){let r=(n,c)=>{let m=n.target;e.contains(m)&&((!o||o(m))&&(n.preventDefault(),n.stopPropagation(),n.stopImmediatePropagation()),c?.(n))};document.addEventListener("pointerdown",r,!0),document.addEventListener("mousedown",r,!0),document.addEventListener("pointerup",r,!0),document.addEventListener("mouseup",r,!0),document.addEventListener("click",n=>{r(n,t)},!0)}function Ne(){window.addEventListener("keyup",ie,!1),window.addEventListener("keydown",Pe,!1),window.addEventListener("resize",$),window.addEventListener("scroll",$)}function Ae(){window.removeEventListener("keyup",ie),window.removeEventListener("resize",$),window.removeEventListener("scroll",$)}function $e(){let e=v("popover");e&&(e.wrapper.style.display="none")}function Z(e,t){var o,r;let n=v("popover");n&&document.body.removeChild(n.wrapper),n=Te(),document.body.appendChild(n.wrapper);let{title:c,description:m,showButtons:l,disableButtons:s,showProgress:d,nextBtnText:i=p("nextBtnText")||"Next →",prevBtnText:a=p("prevBtnText")||"← Previous",progressText:u=p("progressText")||"{current} of {total}"}=t.popover||{};n.nextButton.innerHTML=i,n.previousButton.innerHTML=a,n.progress.innerHTML=u,c?(n.title.innerText=c,n.title.style.display="block"):n.title.style.display="none",m?(n.description.innerHTML=m,n.description.style.display="block"):n.description.style.display="none";let f=l||p("showButtons"),g=d||p("showProgress")||!1,w=f?.includes("next")||f?.includes("previous")||g;n.closeButton.style.display=f.includes("close")?"block":"none",w?(n.footer.style.display="flex",n.progress.style.display=g?"block":"none",n.nextButton.style.display=f.includes("next")?"block":"none",n.previousButton.style.display=f.includes("previous")?"block":"none"):n.footer.style.display="none";let h=s||p("disableButtons")||[];h!=null&&h.includes("next")&&(n.nextButton.disabled=!0,n.nextButton.classList.add("driver-popover-btn-disabled")),h!=null&&h.includes("previous")&&(n.previousButton.disabled=!0,n.previousButton.classList.add("driver-popover-btn-disabled")),h!=null&&h.includes("close")&&(n.closeButton.disabled=!0,n.closeButton.classList.add("driver-popover-btn-disabled"));let y=n.wrapper;y.style.display="block",y.style.left="",y.style.top="",y.style.bottom="",y.style.right="",y.id="driver-popover-content",y.setAttribute("role","dialog"),y.setAttribute("aria-labelledby","driver-popover-title"),y.setAttribute("aria-describedby","driver-popover-description");let L=n.arrow;L.className="driver-popover-arrow";let _=((o=t.popover)==null?void 0:o.popoverClass)||p("popoverClass")||"";y.className=`driver-popover ${_}`.trim(),re(n.wrapper,P=>{var B,T,H;let N=P.target,M=((B=t.popover)==null?void 0:B.onNextClick)||p("onNextClick"),I=((T=t.popover)==null?void 0:T.onPrevClick)||p("onPrevClick"),D=((H=t.popover)==null?void 0:H.onCloseClick)||p("onCloseClick");if(N.classList.contains("driver-popover-next-btn"))return M?M(e,t,{config:p(),state:v()}):A("nextClick");if(N.classList.contains("driver-popover-prev-btn"))return I?I(e,t,{config:p(),state:v()}):A("prevClick");if(N.classList.contains("driver-popover-close-btn"))return D?D(e,t,{config:p(),state:v()}):A("closeClick")},P=>!(n!=null&&n.description.contains(P))&&!(n!=null&&n.title.contains(P))&&P.className.includes("driver-popover")),x("popover",n);let b=((r=t.popover)==null?void 0:r.onPopoverRender)||p("onPopoverRender");b&&b(n,{config:p(),state:v()}),le(e,t),ee(y);let C=e.classList.contains("driver-dummy-element"),S=U([y,...C?[]:[e]]);S.length>0&&S[0].focus()}function se(){let e=v("popover");if(!(e!=null&&e.wrapper))return;let t=e.wrapper.getBoundingClientRect(),o=p("stagePadding")||0,r=p("popoverOffset")||0;return{width:t.width+o+r,height:t.height+o+r,realWidth:t.width,realHeight:t.height}}function G(e,t){let{elementDimensions:o,popoverDimensions:r,popoverPadding:n,popoverArrowDimensions:c}=t;return e==="start"?Math.max(Math.min(o.top-n,window.innerHeight-r.realHeight-c.width),c.width):e==="end"?Math.max(Math.min(o.top-r?.realHeight+o.height+n,window.innerHeight-r?.realHeight-c.width),c.width):e==="center"?Math.max(Math.min(o.top+o.height/2-r?.realHeight/2,window.innerHeight-r?.realHeight-c.width),c.width):0}function Q(e,t){let{elementDimensions:o,popoverDimensions:r,popoverPadding:n,popoverArrowDimensions:c}=t;return e==="start"?Math.max(Math.min(o.left-n,window.innerWidth-r.realWidth-c.width),c.width):e==="end"?Math.max(Math.min(o.left-r?.realWidth+o.width+n,window.innerWidth-r?.realWidth-c.width),c.width):e==="center"?Math.max(Math.min(o.left+o.width/2-r?.realWidth/2,window.innerWidth-r?.realWidth-c.width),c.width):0}function le(e,t){let o=v("popover");if(!o)return;let{align:r="start",side:n="left"}=t?.popover||{},c=r,m=e.id==="driver-dummy-element"?"over":n,l=p("stagePadding")||0,s=se(),d=o.arrow.getBoundingClientRect(),i=e.getBoundingClientRect(),a=i.top-s.height,u=a>=0,f=window.innerHeight-(i.bottom+s.height),g=f>=0,w=i.left-s.width,h=w>=0,y=window.innerWidth-(i.right+s.width),L=y>=0,_=!u&&!g&&!h&&!L,b=m;if(m==="top"&&u?L=h=g=!1:m==="bottom"&&g?L=h=u=!1:m==="left"&&h?L=u=g=!1:m==="right"&&L&&(h=u=g=!1),m==="over"){let C=window.innerWidth/2-s.realWidth/2,S=window.innerHeight/2-s.realHeight/2;o.wrapper.style.left=`${C}px`,o.wrapper.style.right="auto",o.wrapper.style.top=`${S}px`,o.wrapper.style.bottom="auto"}else if(_){let C=window.innerWidth/2-s?.realWidth/2,S=10;o.wrapper.style.left=`${C}px`,o.wrapper.style.right="auto",o.wrapper.style.bottom=`${S}px`,o.wrapper.style.top="auto"}else if(h){let C=Math.min(w,window.innerWidth-s?.realWidth-d.width),S=G(c,{elementDimensions:i,popoverDimensions:s,popoverPadding:l,popoverArrowDimensions:d});o.wrapper.style.left=`${C}px`,o.wrapper.style.top=`${S}px`,o.wrapper.style.bottom="auto",o.wrapper.style.right="auto",b="left"}else if(L){let C=Math.min(y,window.innerWidth-s?.realWidth-d.width),S=G(c,{elementDimensions:i,popoverDimensions:s,popoverPadding:l,popoverArrowDimensions:d});o.wrapper.style.right=`${C}px`,o.wrapper.style.top=`${S}px`,o.wrapper.style.bottom="auto",o.wrapper.style.left="auto",b="right"}else if(u){let C=Math.min(a,window.innerHeight-s.realHeight-d.width),S=Q(c,{elementDimensions:i,popoverDimensions:s,popoverPadding:l,popoverArrowDimensions:d});o.wrapper.style.top=`${C}px`,o.wrapper.style.left=`${S}px`,o.wrapper.style.bottom="auto",o.wrapper.style.right="auto",b="top"}else if(g){let C=Math.min(f,window.innerHeight-s?.realHeight-d.width),S=Q(c,{elementDimensions:i,popoverDimensions:s,popoverPadding:l,popoverArrowDimensions:d});o.wrapper.style.left=`${S}px`,o.wrapper.style.bottom=`${C}px`,o.wrapper.style.top="auto",o.wrapper.style.right="auto",b="bottom"}_?o.arrow.classList.add("driver-popover-arrow-none"):Be(c,b,e)}function Be(e,t,o){let r=v("popover");if(!r)return;let n=o.getBoundingClientRect(),c=se(),m=r.arrow,l=c.width,s=window.innerWidth,d=n.width,i=n.left,a=c.height,u=window.innerHeight,f=n.top,g=n.height;m.className="driver-popover-arrow";let w=t,h=e;t==="top"?(i+d<=0?(w="right",h="end"):i+d-l<=0&&(w="top",h="start"),i>=s?(w="left",h="end"):i+l>=s&&(w="top",h="end")):t==="bottom"?(i+d<=0?(w="right",h="start"):i+d-l<=0&&(w="bottom",h="start"),i>=s?(w="left",h="start"):i+l>=s&&(w="bottom",h="end")):t==="left"?(f+g<=0?(w="bottom",h="end"):f+g-a<=0&&(w="left",h="start"),f>=u?(w="top",h="end"):f+a>=u&&(w="left",h="end")):t==="right"&&(f+g<=0?(w="bottom",h="start"):f+g-a<=0&&(w="right",h="start"),f>=u?(w="top",h="start"):f+a>=u&&(w="right",h="end")),w?(m.classList.add(`driver-popover-arrow-side-${w}`),m.classList.add(`driver-popover-arrow-align-${h}`)):m.classList.add("driver-popover-arrow-none")}function Te(){let e=document.createElement("div");e.classList.add("driver-popover");let t=document.createElement("div");t.classList.add("driver-popover-arrow");let o=document.createElement("header");o.id="driver-popover-title",o.classList.add("driver-popover-title"),o.style.display="none",o.innerText="Popover Title";let r=document.createElement("div");r.id="driver-popover-description",r.classList.add("driver-popover-description"),r.style.display="none",r.innerText="Popover description is here";let n=document.createElement("button");n.type="button",n.classList.add("driver-popover-close-btn"),n.setAttribute("aria-label","Close"),n.innerHTML="×";let c=document.createElement("footer");c.classList.add("driver-popover-footer");let m=document.createElement("span");m.classList.add("driver-popover-progress-text"),m.innerText="";let l=document.createElement("span");l.classList.add("driver-popover-navigation-btns");let s=document.createElement("button");s.type="button",s.classList.add("driver-popover-prev-btn"),s.innerHTML="← Previous";let d=document.createElement("button");return d.type="button",d.classList.add("driver-popover-next-btn"),d.innerHTML="Next →",l.appendChild(s),l.appendChild(d),c.appendChild(m),c.appendChild(l),e.appendChild(n),e.appendChild(t),e.appendChild(o),e.appendChild(r),e.appendChild(c),{wrapper:e,arrow:t,title:o,description:r,footer:c,previousButton:s,nextButton:d,closeButton:n,footerButtons:l,progress:m}}function He(){var e;let t=v("popover");t&&((e=t.wrapper.parentElement)==null||e.removeChild(t.wrapper))}function J(e={}){j(e);function t(){p("allowClose")&&d()}function o(){let i=v("activeIndex"),a=p("steps")||[];if(typeof i>"u")return;let u=i+1;a[u]?s(u):d()}function r(){let i=v("activeIndex"),a=p("steps")||[];if(typeof i>"u")return;let u=i-1;a[u]?s(u):d()}function n(i){(p("steps")||[])[i]?s(i):d()}function c(){var i;if(v("__transitionCallback"))return;let a=v("activeIndex"),u=v("__activeStep"),f=v("__activeElement");if(typeof a>"u"||typeof u>"u"||typeof v("activeIndex")>"u")return;let g=((i=u.popover)==null?void 0:i.onPrevClick)||p("onPrevClick");if(g)return g(f,u,{config:p(),state:v()});r()}function m(){var i;if(v("__transitionCallback"))return;let a=v("activeIndex"),u=v("__activeStep"),f=v("__activeElement");if(typeof a>"u"||typeof u>"u")return;let g=((i=u.popover)==null?void 0:i.onNextClick)||p("onNextClick");if(g)return g(f,u,{config:p(),state:v()});o()}function l(){v("isInitialized")||(x("isInitialized",!0),document.body.classList.add("driver-active",p("animate")?"driver-fade":"driver-simple"),Ne(),W("overlayClick",t),W("escapePress",t),W("arrowLeftPress",c),W("arrowRightPress",m))}function s(i=0){var a,u,f,g,w,h,y,L;let _=p("steps");if(!_){console.error("No steps to drive through"),d();return}if(!_[i]){d();return}x("__activeOnDestroyed",document.activeElement),x("activeIndex",i);let b=_[i],C=_[i+1],S=_[i-1],P=((a=b.popover)==null?void 0:a.doneBtnText)||p("doneBtnText")||"Done",B=p("allowClose"),T=typeof((u=b.popover)==null?void 0:u.showProgress)<"u"?(f=b.popover)==null?void 0:f.showProgress:p("showProgress"),H=(((g=b.popover)==null?void 0:g.progressText)||p("progressText")||"{{current}} of {{total}}").replace("{{current}}",`${i+1}`).replace("{{total}}",`${_.length}`),N=((w=b.popover)==null?void 0:w.showButtons)||p("showButtons"),M=["next","previous",...B?["close"]:[]].filter(fe=>!(N!=null&&N.length)||N.includes(fe)),I=((h=b.popover)==null?void 0:h.onNextClick)||p("onNextClick"),D=((y=b.popover)==null?void 0:y.onPrevClick)||p("onPrevClick"),ve=((L=b.popover)==null?void 0:L.onCloseClick)||p("onCloseClick");V({...b,popover:{showButtons:M,nextBtnText:C?void 0:P,disableButtons:[...S?[]:["previous"]],showProgress:T,progressText:H,onNextClick:I||(()=>{C?s(i+1):d()}),onPrevClick:D||(()=>{s(i-1)}),onCloseClick:ve||(()=>{d()}),...b?.popover||{}}})}function d(i=!0){let a=v("__activeElement"),u=v("__activeStep"),f=v("__activeOnDestroyed"),g=p("onDestroyStarted");if(i&&g){let y=!a||a?.id==="driver-dummy-element";g(y?void 0:a,u,{config:p(),state:v()});return}let w=u?.onDeselected||p("onDeselected"),h=p("onDestroyed");if(document.body.classList.remove("driver-active","driver-fade","driver-simple"),Ae(),He(),Ee(),Se(),we(),X(),a&&u){let y=a.id==="driver-dummy-element";w&&w(y?void 0:a,u,{config:p(),state:v()}),h&&h(y?void 0:a,u,{config:p(),state:v()})}f&&f.focus()}return{isActive:()=>v("isInitialized")||!1,refresh:$,drive:(i=0)=>{l(),s(i)},setConfig:j,setSteps:i=>{X(),j({...p(),steps:i})},getConfig:p,getState:v,getActiveIndex:()=>v("activeIndex"),isFirstStep:()=>v("activeIndex")===0,isLastStep:()=>{let i=p("steps")||[],a=v("activeIndex");return a!==void 0&&a===i.length-1},getActiveStep:()=>v("activeStep"),getActiveElement:()=>v("activeElement"),getPreviousElement:()=>v("previousElement"),getPreviousStep:()=>v("previousStep"),moveNext:o,movePrevious:r,moveTo:n,hasNextStep:()=>{let i=p("steps")||[],a=v("activeIndex");return a!==void 0&&i[a+1]},hasPreviousStep:()=>{let i=p("steps")||[],a=v("activeIndex");return a!==void 0&&i[a-1]},highlight:i=>{l(),V({...i,popover:i.popover?{showButtons:[],showProgress:!1,progressText:"",...i.popover}:void 0})},destroy:()=>{d(!1)}}}var de=0,ce=0,E=!1,Me=window.navigator.clipboard,K=!1,z=null,k=document.querySelector("#circle-cursor");function pe(){Livewire.on("filament-tour::change-css-selector-status",function({enabled:e}){if(e){let t=function(o){o.key==="Escape"&&(E=!1,z=null,k.style.display="none")};document.onmousemove=Oe,document.onkeyup=t,document.onmouseover=We,document.onmouseleave=Re,document.addEventListener("keydown",function(o){o.ctrlKey&&o.code==="Space"&&!E&&(Me?(E=!0,ue(de,ce),k.style.display="block",new FilamentNotification().title("Filament Tour - CSS Selector").body("Activated !
Press Ctrl + C to copy the CSS Selector of the selected element !").success().send()):new FilamentNotification().title("Filament Tour - CSS Selector").body("Your browser does not support the Clipboard API !
Don't forget to be in https:// protocol").danger().send()),o.ctrlKey&&o.code==="KeyC"&&E&&(navigator.clipboard.writeText(Ie(z)??"Nothing selected !"),E=!1,z=null,k.style.display="none",new FilamentNotification().title("Filament Tour - CSS Selector").body("CSS Selector copied to clipboard !").success().send())})}})}function ae(e){return e.replace(/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,"\\$1")}function Ie(e){let t=F(e);return De(t)}function De(e){let t=e.split(" > ");for(let o=t.length-2;o>=0;o--){let r=t.slice(o).join(" > ");if(document.querySelectorAll(r).length===1)return r}return e}function F(e){if(!e)return"";if(e.id)return"#"+ae(e.id);if(e===document.body)return"body";let t=e.tagName.toLowerCase(),o=e.className.split(/\s+/).filter(c=>c&&!c.startsWith("--")),r=o.length?"."+o.map(ae).join("."):"",n=t+r;try{let c=Array.from(e.parentNode.querySelectorAll(n));if(c.length===1&&c[0]===e)return F(e.parentNode)+" > "+n;let l=Array.from(e.parentNode.children).filter(s=>s.tagName===e.tagName&&s.className===e.className);if(l.length>1){let s=l.indexOf(e)+1;return F(e.parentNode)+" > "+t+r+":nth-of-type("+s+")"}else return F(e.parentNode)+" > "+t+r}catch{}}function Oe(e){de=e.clientX,ce=e.clientY,ue(e.clientX,e.clientY)}function ue(e,t){if(!E)return;let o=10;K||(k.style.left=e-o+"px",k.style.top=t-o+"px",k.style.width="20px",k.style.height="20px",k.style.borderRadius="50%")}function We(e){if(e.stopPropagation(),!E)return;K=!0;let t=e.target;for(;t.lastElementChild;)t=t.lastElementChild;if(t){let o=t.offsetParent?t.offsetLeft+t.offsetParent.offsetLeft:t.offsetLeft,r=t.offsetParent?t.offsetTop+t.offsetParent.offsetTop:t.offsetTop,n=t.offsetWidth,c=t.offsetHeight,m=6;z=t,k.style.left=o-m+"px",k.style.top=r-m+"px",k.style.width=n+m*2-1+"px",k.style.height=c+m*2-1+"px",k.style.borderRadius="5px"}}function Re(e){E&&(K=!1)}document.addEventListener("livewire:initialized",async function(){pe();let e,t=[],o=[];function r(l,s){if(document.querySelector(l)){s(document.querySelector(l));return}let d=new MutationObserver(function(i){document.querySelector(l)&&(s(document.querySelector(l)),d.disconnect())});d.observe(document.body,{childList:!0,subtree:!0})}function n(l){return Array.isArray(l)?l[0]:typeof l=="object"?l.id:l}Livewire.dispatch("filament-tour::load-elements",{request:window.location}),Livewire.on("filament-tour::loaded-elements",function(l){e=l,e.tours.forEach(s=>{t.push(s),localStorage.getItem("tours")||localStorage.setItem("tours","[]")}),c(t),e.highlights.forEach(s=>{s.route===window.location.pathname&&(r(s.parent,function(d){d.parentNode.style.position="relative";let i=document.createElement("div");i.innerHTML=s.button,i.firstChild.classList.add(s.position),d.parentNode.insertBefore(i.firstChild,d)}),o.push(s))})});function c(l,s=0){for(let d=s;di.id===s);d?J({overlayColor:localStorage.theme==="light"?d.colors.light:d.colors.dark,onPopoverRender:(i,{config:a,state:u})=>{i.title.innerHTML="",i.title.innerHTML=u.activeStep.popover.title,u.activeStep.popover.description||(i.title.firstChild.style.justifyContent="center");let f="dark:text-white fi-section rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10 mb-4";i.footer.parentElement.classList.add(...f.split(" "))}}).highlight(d):console.error(`Highlight with id '${s}' not found`)}),Livewire.on("filament-tour::open-tour",function(l){let s=n(l),d=t.find(i=>i.id===`tour_${s}`);d?m(d):console.error(`Tour with id '${s}' not found`)});function m(l){let s=JSON.parse(l.steps);if(s.length>0){let d=J({allowClose:!0,disableActiveInteraction:!0,overlayColor:localStorage.theme==="light"?l.colors.light:l.colors.dark,onDeselected:(i,a,{config:u,state:f})=>{},onCloseClick:(i,a,{config:u,state:f})=>{f.activeStep&&(!f.activeStep.uncloseable||l.uncloseable)&&d.destroy(),localStorage.getItem("tours").includes(l.id)||localStorage.setItem("tours",JSON.stringify([...JSON.parse(localStorage.getItem("tours")),l.id]))},onDestroyStarted:(i,a,{config:u,state:f})=>{f.activeStep&&!f.activeStep.uncloseable&&!l.uncloseable&&d.destroy()},onDestroyed:(i,a,{config:u,state:f})=>{},onNextClick:(i,a,{config:u,state:f})=>{if(t.length>1&&d.isLastStep()){let g=t.findIndex(w=>w.id===l.id);if(g!==-1&&g{(u.activeStep.uncloseable||l.uncloseable)&&document.querySelector(".driver-popover-close-btn").remove(),i.title.innerHTML="",i.title.innerHTML=u.activeStep.popover.title,u.activeStep.popover.description||(i.title.firstChild.style.justifyContent="center");let f="dark:text-white fi-section rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10 mb-4";i.footer.parentElement.classList.add(...f.split(" ")),i.footer.innerHTML="",i.footer.classList.add("flex","mt-3"),i.footer.style.justifyContent="space-evenly",i.footer.classList.remove("driver-popover-footer");let g=document.createElement("button"),w="fi-btn fi-btn-size-md relative grid-flow-col items-center justify-center font-semibold outline-none transition duration-75 focus:ring-2 disabled:pointer-events-none disabled:opacity-70 rounded-lg fi-btn-color-primary gap-1.5 px-3 py-2 text-sm inline-grid shadow-sm bg-custom-600 text-white hover:bg-custom-500 dark:bg-custom-500 dark:hover:bg-custom-400 focus:ring-custom-500/50 dark:focus:ring-custom-400/50 fi-ac-btn-action";g.classList.add(...w.split(" "),"driver-popover-next-btn"),g.innerText=d.isLastStep()?l.doneButtonLabel:l.nextButtonLabel,g.style.setProperty("--c-400","var(--primary-400"),g.style.setProperty("--c-500","var(--primary-500"),g.style.setProperty("--c-600","var(--primary-600");let h=document.createElement("button"),y="fi-btn fi-btn-size-md relative grid-flow-col items-center justify-center font-semibold outline-none transition duration-75 focus:ring-2 disabled:pointer-events-none disabled:opacity-70 rounded-lg fi-btn-color-gray gap-1.5 px-3 py-2 text-sm inline-grid shadow-sm bg-white text-gray-950 hover:bg-gray-50 dark:bg-white/5 dark:text-white dark:hover:bg-white/10 ring-1 ring-gray-950/10 dark:ring-white/20 fi-ac-btn-action";h.classList.add(...y.split(" "),"driver-popover-prev-btn"),h.innerText=l.previousButtonLabel,d.isFirstStep()||i.footer.appendChild(h),i.footer.appendChild(g)},steps:s});d.drive()}}}); diff --git a/resources/js/index.js b/resources/js/index.js index 13907d6..961539a 100644 --- a/resources/js/index.js +++ b/resources/js/index.js @@ -104,6 +104,8 @@ document.addEventListener('livewire:initialized', async function () { const id = parseId(params); + console.log(highlights) + let highlight = highlights.find(element => element.id === id); if (highlight) { @@ -133,7 +135,7 @@ document.addEventListener('livewire:initialized', async function () { const id = parseId(params); - let tour = tours.find(element => element.id === id); + let tour = tours.find(element => element.id === `tour_${id}`); if (tour) { openTour(tour); @@ -274,5 +276,4 @@ document.addEventListener('livewire:initialized', async function () { driverObj.drive(); } } -}) -; +}); diff --git a/src/Highlight/Highlight.php b/src/Highlight/Highlight.php index b8a6d37..651c1db 100644 --- a/src/Highlight/Highlight.php +++ b/src/Highlight/Highlight.php @@ -4,6 +4,7 @@ use Closure; use Illuminate\Support\HtmlString; +use Illuminate\Support\Str; use Illuminate\View\View; class Highlight @@ -38,11 +39,11 @@ public function __construct(string $id, array $colors, string $parent) *
* Define a **$parent** to be able to view this highlight button next to it */ - public static function make(string $id, string $parent): static + public static function make(string $parent): static { return app(static::class, [ - 'id' => $id, + 'id' => Str::slug($parent), 'colors' => [ 'dark' => '#fff', 'light' => 'rgb(0,0,0)', diff --git a/src/Tour/HasTour.php b/src/Tour/HasTour.php index f4319b9..52dca21 100644 --- a/src/Tour/HasTour.php +++ b/src/Tour/HasTour.php @@ -2,6 +2,7 @@ namespace JibayMcs\FilamentTour\Tour; +use Filament\Facades\Filament; use JibayMcs\FilamentTour\Tour\Traits\CanConstructRoute; trait HasTour @@ -18,7 +19,7 @@ public function constructTours($class): array if ($tour instanceof Tour) { - if ($tour->getRoute()) { + if ($tour->getRoute() && Filament::auth()->user()) { $this->setRoute($tour->getRoute()); } @@ -42,7 +43,7 @@ public function constructTours($class): array ], ]; - if (! $tour->hasDisabledEvents()) { + if (!$tour->hasDisabledEvents()) { $data[$item]['events'] = [ 'redirectOnNext' => $step->getRedirectOnNext(), 'clickOnNext' => $step->getClickOnNext(),