diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php
index f794644..00383c3 100755
--- a/app/Http/Kernel.php
+++ b/app/Http/Kernel.php
@@ -17,6 +17,7 @@ use App\Http\Middleware\InjectPwaMeta;
use App\Http\Middleware\InstallationMiddleware;
use App\Http\Middleware\LocalizationMiddleware;
use App\Http\Middleware\LogViewerMiddleware;
+use App\Http\Middleware\HandleInertiaRequests;
use App\Http\Middleware\MaintenanceMiddleware;
use App\Http\Middleware\PreventRequestsDuringMaintenance;
use App\Http\Middleware\RealClientIpMiddleware;
@@ -84,6 +85,7 @@ class Kernel extends HttpKernel
SubstituteBindings::class,
LocalizationMiddleware::class,
InstallationMiddleware::class,
+ HandleInertiaRequests::class,
],
'api' => [
diff --git a/app/Http/Middleware/HandleInertiaRequests.php b/app/Http/Middleware/HandleInertiaRequests.php
new file mode 100755
index 0000000..a6c1ae5
--- /dev/null
+++ b/app/Http/Middleware/HandleInertiaRequests.php
@@ -0,0 +1,24 @@
+ setting('avatar_imager'),
+ ];
+ }
+}
diff --git a/composer.json b/composer.json
index 561e65b..b7fb97c 100755
--- a/composer.json
+++ b/composer.json
@@ -16,6 +16,7 @@
"filament/filament": "^5.0",
"flowframe/laravel-trend": "0.4.99",
"guzzlehttp/guzzle": "^7.2",
+ "inertiajs/inertia-laravel": "^3.1",
"laravel/fortify": "^1.16",
"laravel/framework": "^13.0",
"laravel/octane": "^2.17",
diff --git a/composer.lock b/composer.lock
index d533a90..be7b8a9 100755
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "9944b69232ce924d916aff32d3263e43",
+ "content-hash": "647e6549ddd7a48db6ef78503e9ce2be",
"packages": [
{
"name": "bacon/bacon-qr-code",
@@ -2537,6 +2537,79 @@
],
"time": "2025-08-22T14:27:06+00:00"
},
+ {
+ "name": "inertiajs/inertia-laravel",
+ "version": "v3.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/inertiajs/inertia-laravel.git",
+ "reference": "f588ce4a5beb25d166f4e372bac0c7f46a4f52ac"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/inertiajs/inertia-laravel/zipball/f588ce4a5beb25d166f4e372bac0c7f46a4f52ac",
+ "reference": "f588ce4a5beb25d166f4e372bac0c7f46a4f52ac",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "laravel/framework": "^11.0|^12.0|^13.0",
+ "php": "^8.2.0",
+ "symfony/console": "^7.0|^8.0"
+ },
+ "conflict": {
+ "laravel/boost": "<2.2.0"
+ },
+ "require-dev": {
+ "guzzlehttp/guzzle": "^7.2",
+ "larastan/larastan": "^3.0",
+ "laravel/pint": "^1.16",
+ "mockery/mockery": "^1.3.3",
+ "orchestra/testbench": "^9.2|^10.0|^11.0",
+ "phpunit/phpunit": "^11.5|^12.0",
+ "roave/security-advisories": "dev-master"
+ },
+ "suggest": {
+ "ext-pcntl": "Recommended when running the Inertia SSR server via the `inertia:start-ssr` artisan command."
+ },
+ "type": "library",
+ "extra": {
+ "laravel": {
+ "providers": [
+ "Inertia\\ServiceProvider"
+ ]
+ }
+ },
+ "autoload": {
+ "files": [
+ "./helpers.php"
+ ],
+ "psr-4": {
+ "Inertia\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jonathan Reinink",
+ "email": "jonathan@reinink.ca",
+ "homepage": "https://reinink.ca"
+ }
+ ],
+ "description": "The Laravel adapter for Inertia.js.",
+ "keywords": [
+ "inertia",
+ "laravel"
+ ],
+ "support": {
+ "issues": "https://github.com/inertiajs/inertia-laravel/issues",
+ "source": "https://github.com/inertiajs/inertia-laravel/tree/v3.1.0"
+ },
+ "time": "2026-04-30T15:30:29+00:00"
+ },
{
"name": "kirschbaum-development/eloquent-power-joins",
"version": "4.3.1",
diff --git a/package.json b/package.json
index e613043..ab7642e 100755
--- a/package.json
+++ b/package.json
@@ -52,7 +52,11 @@
"vite": "^8.0.3"
},
"dependencies": {
+ "@inertiajs/react": "^3.2.0",
+ "@vitejs/plugin-react": "^6.0.2",
"flowbite": "2.5.2",
+ "react": "^19.2.6",
+ "react-dom": "^19.2.6",
"sass": "1.83.4",
"swiper": "^12.1.3"
}
diff --git a/public/build/assets/app-BBe1NbvP.js b/public/build/assets/app-BBe1NbvP.js
new file mode 100644
index 0000000..a02a93d
--- /dev/null
+++ b/public/build/assets/app-BBe1NbvP.js
@@ -0,0 +1,48 @@
+import{r as Yn,t as Kn}from"./chunk-BqhQeaEc.js";import{t as Un}from"./axios-BgauIbGG.js";import{l as $n,t as Xn,u as je}from"./swiper-B7Yxk788.js";var Jn=Kn(((e,t)=>{(function(){var i=this;(function(){(function(){this.Turbolinks={supported:(function(){return window.history.pushState!=null&&window.requestAnimationFrame!=null&&window.addEventListener!=null})(),visit:function(r,o){return n.controller.visit(r,o)},clearCache:function(){return n.controller.clearCache()},setProgressBarDelay:function(r){return n.controller.setProgressBarDelay(r)}}}).call(this)}).call(i);var n=i.Turbolinks;(function(){(function(){var r,o,a,s=[].slice;n.copyObject=function(l){var c,u={},d;for(c in l)d=l[c],u[c]=d;return u},n.closest=function(l,c){return r.call(l,c)},r=(function(){var l,c;return l=document.documentElement,(c=l.closest)!=null?c:function(u){var d;for(d=this;d;){if(d.nodeType===Node.ELEMENT_NODE&&o.call(d,u))return d;d=d.parentNode}}})(),n.defer=function(l){return setTimeout(l,1)},n.throttle=function(l){var c;return c=null,function(){var u;return u=1<=arguments.length?s.call(arguments,0):[],c??(c=requestAnimationFrame((function(d){return function(){return c=null,l.apply(d,u)}})(this)))}},n.dispatch=function(l,c){var u,d,f,h,p,v;return p=c??{},v=p.target,u=p.cancelable,d=p.data,f=document.createEvent("Events"),f.initEvent(l,!0,u===!0),f.data=d??{},f.cancelable&&!a&&(h=f.preventDefault,f.preventDefault=function(){return this.defaultPrevented||Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}}),h.call(this)}),(v??document).dispatchEvent(f),f},a=(function(){var l;return l=document.createEvent("Events"),l.initEvent("test",!0,!0),l.preventDefault(),l.defaultPrevented})(),n.match=function(l,c){return o.call(l,c)},o=(function(){var l,c,u,d;return l=document.documentElement,(c=(u=(d=l.matchesSelector)!=null?d:l.webkitMatchesSelector)!=null?u:l.msMatchesSelector)!=null?c:l.mozMatchesSelector})(),n.uuid=function(){var l,c,u;for(u="",l=c=1;36>=c;l=++c)u+=l===9||l===14||l===19||l===24?"-":l===15?"4":l===20?(Math.floor(4*Math.random())+8).toString(16):Math.floor(15*Math.random()).toString(16);return u}}).call(this),function(){n.Location=(function(){function r(c){var u,d;c??="",d=document.createElement("a"),d.href=c.toString(),this.absoluteURL=d.href,u=d.hash.length,2>u?this.requestURL=this.absoluteURL:(this.requestURL=this.absoluteURL.slice(0,-u),this.anchor=d.hash.slice(1))}var o,a,s,l;return r.wrap=function(c){return c instanceof this?c:new this(c)},r.prototype.getOrigin=function(){return this.absoluteURL.split("/",3).join("/")},r.prototype.getPath=function(){var c,u;return(c=(u=this.requestURL.match(/\/\/[^\/]*(\/[^?;]*)/))!=null?u[1]:void 0)!=null?c:"/"},r.prototype.getPathComponents=function(){return this.getPath().split("/").slice(1)},r.prototype.getLastPathComponent=function(){return this.getPathComponents().slice(-1)[0]},r.prototype.getExtension=function(){var c,u;return(c=(u=this.getLastPathComponent().match(/\.[^.]*$/))!=null?u[0]:void 0)!=null?c:""},r.prototype.isHTML=function(){return this.getExtension().match(/^(?:|\.(?:htm|html|xhtml))$/)},r.prototype.isPrefixedBy=function(c){var u;return u=a(c),this.isEqualTo(c)||l(this.absoluteURL,u)},r.prototype.isEqualTo=function(c){return this.absoluteURL===c?.absoluteURL},r.prototype.toCacheKey=function(){return this.requestURL},r.prototype.toJSON=function(){return this.absoluteURL},r.prototype.toString=function(){return this.absoluteURL},r.prototype.valueOf=function(){return this.absoluteURL},a=function(c){return o(c.getOrigin()+c.getPath())},o=function(c){return s(c,"/")?c:c+"/"},l=function(c,u){return c.slice(0,u.length)===u},s=function(c,u){return c.slice(-u.length)===u},r})()}.call(this),function(){var r=function(o,a){return function(){return o.apply(a,arguments)}};n.HttpRequest=(function(){function o(a,s,l){this.delegate=a,this.requestCanceled=r(this.requestCanceled,this),this.requestTimedOut=r(this.requestTimedOut,this),this.requestFailed=r(this.requestFailed,this),this.requestLoaded=r(this.requestLoaded,this),this.requestProgressed=r(this.requestProgressed,this),this.url=n.Location.wrap(s).requestURL,this.referrer=n.Location.wrap(l).absoluteURL,this.createXHR()}return o.NETWORK_FAILURE=0,o.TIMEOUT_FAILURE=-1,o.timeout=60,o.prototype.send=function(){var a;return this.xhr&&!this.sent?(this.notifyApplicationBeforeRequestStart(),this.setProgress(0),this.xhr.send(),this.sent=!0,typeof(a=this.delegate).requestStarted=="function"?a.requestStarted():void 0):void 0},o.prototype.cancel=function(){return this.xhr&&this.sent?this.xhr.abort():void 0},o.prototype.requestProgressed=function(a){return a.lengthComputable?this.setProgress(a.loaded/a.total):void 0},o.prototype.requestLoaded=function(){return this.endRequest((function(a){return function(){var s;return 200<=(s=a.xhr.status)&&300>s?a.delegate.requestCompletedWithResponse(a.xhr.responseText,a.xhr.getResponseHeader("Turbolinks-Location")):(a.failed=!0,a.delegate.requestFailedWithStatusCode(a.xhr.status,a.xhr.responseText))}})(this))},o.prototype.requestFailed=function(){return this.endRequest((function(a){return function(){return a.failed=!0,a.delegate.requestFailedWithStatusCode(a.constructor.NETWORK_FAILURE)}})(this))},o.prototype.requestTimedOut=function(){return this.endRequest((function(a){return function(){return a.failed=!0,a.delegate.requestFailedWithStatusCode(a.constructor.TIMEOUT_FAILURE)}})(this))},o.prototype.requestCanceled=function(){return this.endRequest()},o.prototype.notifyApplicationBeforeRequestStart=function(){return n.dispatch("turbolinks:request-start",{data:{url:this.url,xhr:this.xhr}})},o.prototype.notifyApplicationAfterRequestEnd=function(){return n.dispatch("turbolinks:request-end",{data:{url:this.url,xhr:this.xhr}})},o.prototype.createXHR=function(){return this.xhr=new XMLHttpRequest,this.xhr.open("GET",this.url,!0),this.xhr.timeout=1e3*this.constructor.timeout,this.xhr.setRequestHeader("Accept","text/html, application/xhtml+xml"),this.xhr.setRequestHeader("Turbolinks-Referrer",this.referrer),this.xhr.onprogress=this.requestProgressed,this.xhr.onload=this.requestLoaded,this.xhr.onerror=this.requestFailed,this.xhr.ontimeout=this.requestTimedOut,this.xhr.onabort=this.requestCanceled},o.prototype.endRequest=function(a){return this.xhr?(this.notifyApplicationAfterRequestEnd(),a?.call(this),this.destroy()):void 0},o.prototype.setProgress=function(a){var s;return this.progress=a,typeof(s=this.delegate).requestProgressed=="function"?s.requestProgressed(this.progress):void 0},o.prototype.destroy=function(){var a;return this.setProgress(1),typeof(a=this.delegate).requestFinished=="function"&&a.requestFinished(),this.delegate=null,this.xhr=null},o})()}.call(this),function(){var r=function(o,a){return function(){return o.apply(a,arguments)}};n.ProgressBar=(function(){function o(){this.trickle=r(this.trickle,this),this.stylesheetElement=this.createStylesheetElement(),this.progressElement=this.createProgressElement()}var a;return a=300,o.defaultCSS=`.turbolinks-progress-bar {
+ position: fixed;
+ display: block;
+ top: 0;
+ left: 0;
+ height: 3px;
+ background: #0076ff;
+ z-index: 9999;
+ transition: width `+a+"ms ease-out, opacity "+a/2+"ms "+a/2+`ms ease-in;
+ transform: translate3d(0, 0, 0);
+}`,o.prototype.show=function(){return this.visible?void 0:(this.visible=!0,this.installStylesheetElement(),this.installProgressElement(),this.startTrickling())},o.prototype.hide=function(){return this.visible&&!this.hiding?(this.hiding=!0,this.fadeProgressElement((function(s){return function(){return s.uninstallProgressElement(),s.stopTrickling(),s.visible=!1,s.hiding=!1}})(this))):void 0},o.prototype.setValue=function(s){return this.value=s,this.refresh()},o.prototype.installStylesheetElement=function(){return document.head.insertBefore(this.stylesheetElement,document.head.firstChild)},o.prototype.installProgressElement=function(){return this.progressElement.style.width=0,this.progressElement.style.opacity=1,document.documentElement.insertBefore(this.progressElement,document.body),this.refresh()},o.prototype.fadeProgressElement=function(s){return this.progressElement.style.opacity=0,setTimeout(s,1.5*a)},o.prototype.uninstallProgressElement=function(){return this.progressElement.parentNode?document.documentElement.removeChild(this.progressElement):void 0},o.prototype.startTrickling=function(){return this.trickleInterval!=null?this.trickleInterval:this.trickleInterval=setInterval(this.trickle,a)},o.prototype.stopTrickling=function(){return clearInterval(this.trickleInterval),this.trickleInterval=null},o.prototype.trickle=function(){return this.setValue(this.value+Math.random()/100)},o.prototype.refresh=function(){return requestAnimationFrame((function(s){return function(){return s.progressElement.style.width=10+90*s.value+"%"}})(this))},o.prototype.createStylesheetElement=function(){var s;return s=document.createElement("style"),s.type="text/css",s.textContent=this.constructor.defaultCSS,s},o.prototype.createProgressElement=function(){var s;return s=document.createElement("div"),s.className="turbolinks-progress-bar",s},o})()}.call(this),function(){var r=function(o,a){return function(){return o.apply(a,arguments)}};n.BrowserAdapter=(function(){function o(c){this.controller=c,this.showProgressBar=r(this.showProgressBar,this),this.progressBar=new n.ProgressBar}var a,s,l;return l=n.HttpRequest,a=l.NETWORK_FAILURE,s=l.TIMEOUT_FAILURE,o.prototype.visitProposedToLocationWithAction=function(c,u){return this.controller.startVisitToLocationWithAction(c,u)},o.prototype.visitStarted=function(c){return c.issueRequest(),c.changeHistory(),c.loadCachedSnapshot()},o.prototype.visitRequestStarted=function(c){return this.progressBar.setValue(0),c.hasCachedSnapshot()||c.action!=="restore"?this.showProgressBarAfterDelay():this.showProgressBar()},o.prototype.visitRequestProgressed=function(c){return this.progressBar.setValue(c.progress)},o.prototype.visitRequestCompleted=function(c){return c.loadResponse()},o.prototype.visitRequestFailedWithStatusCode=function(c,u){switch(u){case a:case s:return this.reload();default:return c.loadResponse()}},o.prototype.visitRequestFinished=function(c){return this.hideProgressBar()},o.prototype.visitCompleted=function(c){return c.followRedirect()},o.prototype.pageInvalidated=function(){return this.reload()},o.prototype.showProgressBarAfterDelay=function(){return this.progressBarTimeout=setTimeout(this.showProgressBar,this.controller.progressBarDelay)},o.prototype.showProgressBar=function(){return this.progressBar.show()},o.prototype.hideProgressBar=function(){return this.progressBar.hide(),clearTimeout(this.progressBarTimeout)},o.prototype.reload=function(){return window.location.reload()},o})()}.call(this),function(){var r=function(o,a){return function(){return o.apply(a,arguments)}};n.History=(function(){function o(a){this.delegate=a,this.onPageLoad=r(this.onPageLoad,this),this.onPopState=r(this.onPopState,this)}return o.prototype.start=function(){return this.started?void 0:(addEventListener("popstate",this.onPopState,!1),addEventListener("load",this.onPageLoad,!1),this.started=!0)},o.prototype.stop=function(){return this.started?(removeEventListener("popstate",this.onPopState,!1),removeEventListener("load",this.onPageLoad,!1),this.started=!1):void 0},o.prototype.push=function(a,s){return a=n.Location.wrap(a),this.update("push",a,s)},o.prototype.replace=function(a,s){return a=n.Location.wrap(a),this.update("replace",a,s)},o.prototype.onPopState=function(a){var s,l,c,u;return this.shouldHandlePopState()&&(u=(l=a.state)!=null?l.turbolinks:void 0)?(s=n.Location.wrap(window.location),c=u.restorationIdentifier,this.delegate.historyPoppedToLocationWithRestorationIdentifier(s,c)):void 0},o.prototype.onPageLoad=function(a){return n.defer((function(s){return function(){return s.pageLoaded=!0}})(this))},o.prototype.shouldHandlePopState=function(){return this.pageIsLoaded()},o.prototype.pageIsLoaded=function(){return this.pageLoaded||document.readyState==="complete"},o.prototype.update=function(a,s,l){var c;return c={turbolinks:{restorationIdentifier:l}},history[a+"State"](c,null,s)},o})()}.call(this),function(){n.HeadDetails=(function(){function r(u){var d,f,h,p,v,g;for(this.elements={},h=0,v=u.length;v>h;h++)g=u[h],g.nodeType===Node.ELEMENT_NODE&&(p=g.outerHTML,f=(d=this.elements)[p]!=null?d[p]:d[p]={type:c(g),tracked:l(g),elements:[]},f.elements.push(g))}var o,a,s,l,c;return r.fromHeadElement=function(u){var d;return new this((d=u?.childNodes)!=null?d:[])},r.prototype.hasElementWithKey=function(u){return u in this.elements},r.prototype.getTrackedElementSignature=function(){var u,d;return function(){var f=this.elements,h=[];for(u in f)d=f[u].tracked,d&&h.push(u);return h}.call(this).join("")},r.prototype.getScriptElementsNotInDetails=function(u){return this.getElementsMatchingTypeNotInDetails("script",u)},r.prototype.getStylesheetElementsNotInDetails=function(u){return this.getElementsMatchingTypeNotInDetails("stylesheet",u)},r.prototype.getElementsMatchingTypeNotInDetails=function(u,d){var f,h,p=this.elements,v,g=[],k;for(h in p)v=p[h],k=v.type,f=v.elements,k!==u||d.hasElementWithKey(h)||g.push(f[0]);return g},r.prototype.getProvisionalElements=function(){var u,d,f=[],h=this.elements,p,v,g;for(d in h)p=h[d],g=p.type,v=p.tracked,u=p.elements,g!=null||v?u.length>1&&f.push.apply(f,u.slice(1)):f.push.apply(f,u);return f},r.prototype.getMetaValue=function(u){var d;return(d=this.findMetaElementByName(u))!=null?d.getAttribute("content"):void 0},r.prototype.findMetaElementByName=function(u){var d=void 0,f,h,p=this.elements;for(h in p)f=p[h].elements,o(f[0],u)&&(d=f[0]);return d},c=function(u){return a(u)?"script":s(u)?"stylesheet":void 0},l=function(u){return u.getAttribute("data-turbolinks-track")==="reload"},a=function(u){var d;return d=u.tagName.toLowerCase(),d==="script"},s=function(u){var d;return d=u.tagName.toLowerCase(),d==="style"||d==="link"&&u.getAttribute("rel")==="stylesheet"},o=function(u,d){var f;return f=u.tagName.toLowerCase(),f==="meta"&&u.getAttribute("name")===d},r})()}.call(this),function(){n.Snapshot=(function(){function r(o,a){this.headDetails=o,this.bodyElement=a}return r.wrap=function(o){return o instanceof this?o:typeof o=="string"?this.fromHTMLString(o):this.fromHTMLElement(o)},r.fromHTMLString=function(o){var a;return a=document.createElement("html"),a.innerHTML=o,this.fromHTMLElement(a)},r.fromHTMLElement=function(o){var a,s,l,c;return l=o.querySelector("head"),a=(c=o.querySelector("body"))!=null?c:document.createElement("body"),s=n.HeadDetails.fromHeadElement(l),new this(s,a)},r.prototype.clone=function(){return new this.constructor(this.headDetails,this.bodyElement.cloneNode(!0))},r.prototype.getRootLocation=function(){var o,a;return a=(o=this.getSetting("root"))!=null?o:"/",new n.Location(a)},r.prototype.getCacheControlValue=function(){return this.getSetting("cache-control")},r.prototype.getElementForAnchor=function(o){try{return this.bodyElement.querySelector("[id='"+o+"'], a[name='"+o+"']")}catch{}},r.prototype.getPermanentElements=function(){return this.bodyElement.querySelectorAll("[id][data-turbolinks-permanent]")},r.prototype.getPermanentElementById=function(o){return this.bodyElement.querySelector("#"+o+"[data-turbolinks-permanent]")},r.prototype.getPermanentElementsPresentInSnapshot=function(o){var a,s,l,c,u;for(c=this.getPermanentElements(),u=[],s=0,l=c.length;l>s;s++)a=c[s],o.getPermanentElementById(a.id)&&u.push(a);return u},r.prototype.findFirstAutofocusableElement=function(){return this.bodyElement.querySelector("[autofocus]")},r.prototype.hasAnchor=function(o){return this.getElementForAnchor(o)!=null},r.prototype.isPreviewable=function(){return this.getCacheControlValue()!=="no-preview"},r.prototype.isCacheable=function(){return this.getCacheControlValue()!=="no-cache"},r.prototype.isVisitable=function(){return this.getSetting("visit-control")!=="reload"},r.prototype.getSetting=function(o){return this.headDetails.getMetaValue("turbolinks-"+o)},r})()}.call(this),function(){var r=[].slice;n.Renderer=(function(){function o(){}var a;return o.render=function(){var s,l,c,u;return c=arguments[0],l=arguments[1],s=3<=arguments.length?r.call(arguments,2):[],u=(function(d,f,h){h.prototype=d.prototype;var p=new h,v=d.apply(p,f);return Object(v)===v?v:p})(this,s,function(){}),u.delegate=c,u.render(l),u},o.prototype.renderView=function(s){return this.delegate.viewWillRender(this.newBody),s(),this.delegate.viewRendered(this.newBody)},o.prototype.invalidateView=function(){return this.delegate.viewInvalidated()},o.prototype.createScriptElement=function(s){var l;return s.getAttribute("data-turbolinks-eval")==="false"?s:(l=document.createElement("script"),l.textContent=s.textContent,l.async=!1,a(l,s),l)},a=function(s,l){var c,u,d,f,h,p,v;for(f=l.attributes,p=[],c=0,u=f.length;u>c;c++)h=f[c],d=h.name,v=h.value,p.push(s.setAttribute(d,v));return p},o})()}.call(this),function(){var r,o,a=function(l,c){function u(){this.constructor=l}for(var d in c)s.call(c,d)&&(l[d]=c[d]);return u.prototype=c.prototype,l.prototype=new u,l.__super__=c.prototype,l},s={}.hasOwnProperty;n.SnapshotRenderer=(function(l){function c(u,d,f){this.currentSnapshot=u,this.newSnapshot=d,this.isPreview=f,this.currentHeadDetails=this.currentSnapshot.headDetails,this.newHeadDetails=this.newSnapshot.headDetails,this.currentBody=this.currentSnapshot.bodyElement,this.newBody=this.newSnapshot.bodyElement}return a(c,l),c.prototype.render=function(u){return this.shouldRender()?(this.mergeHead(),this.renderView((function(d){return function(){return d.replaceBody(),d.isPreview||d.focusFirstAutofocusableElement(),u()}})(this))):this.invalidateView()},c.prototype.mergeHead=function(){return this.copyNewHeadStylesheetElements(),this.copyNewHeadScriptElements(),this.removeCurrentHeadProvisionalElements(),this.copyNewHeadProvisionalElements()},c.prototype.replaceBody=function(){var u;return u=this.relocateCurrentBodyPermanentElements(),this.activateNewBodyScriptElements(),this.assignNewBody(),this.replacePlaceholderElementsWithClonedPermanentElements(u)},c.prototype.shouldRender=function(){return this.newSnapshot.isVisitable()&&this.trackedElementsAreIdentical()},c.prototype.trackedElementsAreIdentical=function(){return this.currentHeadDetails.getTrackedElementSignature()===this.newHeadDetails.getTrackedElementSignature()},c.prototype.copyNewHeadStylesheetElements=function(){var u,d,f,h,p;for(h=this.getNewHeadStylesheetElements(),p=[],d=0,f=h.length;f>d;d++)u=h[d],p.push(document.head.appendChild(u));return p},c.prototype.copyNewHeadScriptElements=function(){var u,d,f,h,p;for(h=this.getNewHeadScriptElements(),p=[],d=0,f=h.length;f>d;d++)u=h[d],p.push(document.head.appendChild(this.createScriptElement(u)));return p},c.prototype.removeCurrentHeadProvisionalElements=function(){var u,d,f,h,p;for(h=this.getCurrentHeadProvisionalElements(),p=[],d=0,f=h.length;f>d;d++)u=h[d],p.push(document.head.removeChild(u));return p},c.prototype.copyNewHeadProvisionalElements=function(){var u,d,f,h,p;for(h=this.getNewHeadProvisionalElements(),p=[],d=0,f=h.length;f>d;d++)u=h[d],p.push(document.head.appendChild(u));return p},c.prototype.relocateCurrentBodyPermanentElements=function(){var u,d,f,h,p,v,g;for(v=this.getCurrentBodyPermanentElements(),g=[],u=0,d=v.length;d>u;u++)h=v[u],p=r(h),f=this.newSnapshot.getPermanentElementById(h.id),o(h,p.element),o(f,h),g.push(p);return g},c.prototype.replacePlaceholderElementsWithClonedPermanentElements=function(u){var d,f,h,p,v,g,k;for(k=[],h=0,p=u.length;p>h;h++)g=u[h],f=g.element,v=g.permanentElement,d=v.cloneNode(!0),k.push(o(f,d));return k},c.prototype.activateNewBodyScriptElements=function(){var u,d,f,h,p,v;for(p=this.getNewBodyScriptElements(),v=[],d=0,h=p.length;h>d;d++)f=p[d],u=this.createScriptElement(f),v.push(o(f,u));return v},c.prototype.assignNewBody=function(){return document.body=this.newBody},c.prototype.focusFirstAutofocusableElement=function(){var u;return(u=this.newSnapshot.findFirstAutofocusableElement())!=null?u.focus():void 0},c.prototype.getNewHeadStylesheetElements=function(){return this.newHeadDetails.getStylesheetElementsNotInDetails(this.currentHeadDetails)},c.prototype.getNewHeadScriptElements=function(){return this.newHeadDetails.getScriptElementsNotInDetails(this.currentHeadDetails)},c.prototype.getCurrentHeadProvisionalElements=function(){return this.currentHeadDetails.getProvisionalElements()},c.prototype.getNewHeadProvisionalElements=function(){return this.newHeadDetails.getProvisionalElements()},c.prototype.getCurrentBodyPermanentElements=function(){return this.currentSnapshot.getPermanentElementsPresentInSnapshot(this.newSnapshot)},c.prototype.getNewBodyScriptElements=function(){return this.newBody.querySelectorAll("script")},c})(n.Renderer),r=function(l){var c;return c=document.createElement("meta"),c.setAttribute("name","turbolinks-permanent-placeholder"),c.setAttribute("content",l.id),{element:c,permanentElement:l}},o=function(l,c){var u;return(u=l.parentNode)?u.replaceChild(c,l):void 0}}.call(this),function(){var r=function(a,s){function l(){this.constructor=a}for(var c in s)o.call(s,c)&&(a[c]=s[c]);return l.prototype=s.prototype,a.prototype=new l,a.__super__=s.prototype,a},o={}.hasOwnProperty;n.ErrorRenderer=(function(a){function s(l){var c=document.createElement("html");c.innerHTML=l,this.newHead=c.querySelector("head"),this.newBody=c.querySelector("body")}return r(s,a),s.prototype.render=function(l){return this.renderView((function(c){return function(){return c.replaceHeadAndBody(),c.activateBodyScriptElements(),l()}})(this))},s.prototype.replaceHeadAndBody=function(){var l,c;return c=document.head,l=document.body,c.parentNode.replaceChild(this.newHead,c),l.parentNode.replaceChild(this.newBody,l)},s.prototype.activateBodyScriptElements=function(){var l,c,u,d,f,h;for(d=this.getScriptElements(),h=[],c=0,u=d.length;u>c;c++)f=d[c],l=this.createScriptElement(f),h.push(f.parentNode.replaceChild(l,f));return h},s.prototype.getScriptElements=function(){return document.documentElement.querySelectorAll("script")},s})(n.Renderer)}.call(this),function(){n.View=(function(){function r(o){this.delegate=o,this.htmlElement=document.documentElement}return r.prototype.getRootLocation=function(){return this.getSnapshot().getRootLocation()},r.prototype.getElementForAnchor=function(o){return this.getSnapshot().getElementForAnchor(o)},r.prototype.getSnapshot=function(){return n.Snapshot.fromHTMLElement(this.htmlElement)},r.prototype.render=function(o,a){var s,l,c;return c=o.snapshot,s=o.error,l=o.isPreview,this.markAsPreview(l),c!=null?this.renderSnapshot(c,l,a):this.renderError(s,a)},r.prototype.markAsPreview=function(o){return o?this.htmlElement.setAttribute("data-turbolinks-preview",""):this.htmlElement.removeAttribute("data-turbolinks-preview")},r.prototype.renderSnapshot=function(o,a,s){return n.SnapshotRenderer.render(this.delegate,s,this.getSnapshot(),n.Snapshot.wrap(o),a)},r.prototype.renderError=function(o,a){return n.ErrorRenderer.render(this.delegate,a,o)},r})()}.call(this),function(){var r=function(o,a){return function(){return o.apply(a,arguments)}};n.ScrollManager=(function(){function o(a){this.delegate=a,this.onScroll=r(this.onScroll,this),this.onScroll=n.throttle(this.onScroll)}return o.prototype.start=function(){return this.started?void 0:(addEventListener("scroll",this.onScroll,!1),this.onScroll(),this.started=!0)},o.prototype.stop=function(){return this.started?(removeEventListener("scroll",this.onScroll,!1),this.started=!1):void 0},o.prototype.scrollToElement=function(a){return a.scrollIntoView()},o.prototype.scrollToPosition=function(a){var s,l;return s=a.x,l=a.y,window.scrollTo(s,l)},o.prototype.onScroll=function(a){return this.updatePosition({x:window.pageXOffset,y:window.pageYOffset})},o.prototype.updatePosition=function(a){var s;return this.position=a,(s=this.delegate)!=null?s.scrollPositionChanged(this.position):void 0},o})()}.call(this),function(){n.SnapshotCache=(function(){function r(a){this.size=a,this.keys=[],this.snapshots={}}var o;return r.prototype.has=function(a){var s;return s=o(a),s in this.snapshots},r.prototype.get=function(a){var s;if(this.has(a))return s=this.read(a),this.touch(a),s},r.prototype.put=function(a,s){return this.write(a,s),this.touch(a),s},r.prototype.read=function(a){var s;return s=o(a),this.snapshots[s]},r.prototype.write=function(a,s){var l;return l=o(a),this.snapshots[l]=s},r.prototype.touch=function(a){var s,l;return l=o(a),s=this.keys.indexOf(l),s>-1&&this.keys.splice(s,1),this.keys.unshift(l),this.trim()},r.prototype.trim=function(){var a,s,l,c,u;for(c=this.keys.splice(this.size),u=[],a=0,l=c.length;l>a;a++)s=c[a],u.push(delete this.snapshots[s]);return u},o=function(a){return n.Location.wrap(a).toCacheKey()},r})()}.call(this),function(){var r=function(o,a){return function(){return o.apply(a,arguments)}};n.Visit=(function(){function o(s,l,c){this.controller=s,this.action=c,this.performScroll=r(this.performScroll,this),this.identifier=n.uuid(),this.location=n.Location.wrap(l),this.adapter=this.controller.adapter,this.state="initialized",this.timingMetrics={}}var a;return o.prototype.start=function(){return this.state==="initialized"?(this.recordTimingMetric("visitStart"),this.state="started",this.adapter.visitStarted(this)):void 0},o.prototype.cancel=function(){var s;return this.state==="started"?((s=this.request)!=null&&s.cancel(),this.cancelRender(),this.state="canceled"):void 0},o.prototype.complete=function(){var s;return this.state==="started"?(this.recordTimingMetric("visitEnd"),this.state="completed",typeof(s=this.adapter).visitCompleted=="function"&&s.visitCompleted(this),this.controller.visitCompleted(this)):void 0},o.prototype.fail=function(){var s;return this.state==="started"?(this.state="failed",typeof(s=this.adapter).visitFailed=="function"?s.visitFailed(this):void 0):void 0},o.prototype.changeHistory=function(){var s,l;return this.historyChanged?void 0:(s=this.location.isEqualTo(this.referrer)?"replace":this.action,l=a(s),this.controller[l](this.location,this.restorationIdentifier),this.historyChanged=!0)},o.prototype.issueRequest=function(){return this.shouldIssueRequest()&&this.request==null?(this.progress=0,this.request=new n.HttpRequest(this,this.location,this.referrer),this.request.send()):void 0},o.prototype.getCachedSnapshot=function(){var s;return!(s=this.controller.getCachedSnapshotForLocation(this.location))||this.location.anchor!=null&&!s.hasAnchor(this.location.anchor)||this.action!=="restore"&&!s.isPreviewable()?void 0:s},o.prototype.hasCachedSnapshot=function(){return this.getCachedSnapshot()!=null},o.prototype.loadCachedSnapshot=function(){var s,l;return(l=this.getCachedSnapshot())?(s=this.shouldIssueRequest(),this.render(function(){var c;return this.cacheSnapshot(),this.controller.render({snapshot:l,isPreview:s},this.performScroll),typeof(c=this.adapter).visitRendered=="function"&&c.visitRendered(this),s?void 0:this.complete()})):void 0},o.prototype.loadResponse=function(){return this.response!=null?this.render(function(){var s,l;return this.cacheSnapshot(),this.request.failed?(this.controller.render({error:this.response},this.performScroll),typeof(s=this.adapter).visitRendered=="function"&&s.visitRendered(this),this.fail()):(this.controller.render({snapshot:this.response},this.performScroll),typeof(l=this.adapter).visitRendered=="function"&&l.visitRendered(this),this.complete())}):void 0},o.prototype.followRedirect=function(){return this.redirectedToLocation&&!this.followedRedirect?(this.location=this.redirectedToLocation,this.controller.replaceHistoryWithLocationAndRestorationIdentifier(this.redirectedToLocation,this.restorationIdentifier),this.followedRedirect=!0):void 0},o.prototype.requestStarted=function(){var s;return this.recordTimingMetric("requestStart"),typeof(s=this.adapter).visitRequestStarted=="function"?s.visitRequestStarted(this):void 0},o.prototype.requestProgressed=function(s){var l;return this.progress=s,typeof(l=this.adapter).visitRequestProgressed=="function"?l.visitRequestProgressed(this):void 0},o.prototype.requestCompletedWithResponse=function(s,l){return this.response=s,l!=null&&(this.redirectedToLocation=n.Location.wrap(l)),this.adapter.visitRequestCompleted(this)},o.prototype.requestFailedWithStatusCode=function(s,l){return this.response=l,this.adapter.visitRequestFailedWithStatusCode(this,s)},o.prototype.requestFinished=function(){var s;return this.recordTimingMetric("requestEnd"),typeof(s=this.adapter).visitRequestFinished=="function"?s.visitRequestFinished(this):void 0},o.prototype.performScroll=function(){return this.scrolled?void 0:(this.action==="restore"?this.scrollToRestoredPosition()||this.scrollToTop():this.scrollToAnchor()||this.scrollToTop(),this.scrolled=!0)},o.prototype.scrollToRestoredPosition=function(){var s,l;return s=(l=this.restorationData)!=null?l.scrollPosition:void 0,s!=null?(this.controller.scrollToPosition(s),!0):void 0},o.prototype.scrollToAnchor=function(){return this.location.anchor!=null?(this.controller.scrollToAnchor(this.location.anchor),!0):void 0},o.prototype.scrollToTop=function(){return this.controller.scrollToPosition({x:0,y:0})},o.prototype.recordTimingMetric=function(s){var l;return(l=this.timingMetrics)[s]!=null?l[s]:l[s]=new Date().getTime()},o.prototype.getTimingMetrics=function(){return n.copyObject(this.timingMetrics)},a=function(s){switch(s){case"replace":return"replaceHistoryWithLocationAndRestorationIdentifier";case"advance":case"restore":return"pushHistoryWithLocationAndRestorationIdentifier"}},o.prototype.shouldIssueRequest=function(){return this.action==="restore"?!this.hasCachedSnapshot():!0},o.prototype.cacheSnapshot=function(){return this.snapshotCached?void 0:(this.controller.cacheSnapshot(),this.snapshotCached=!0)},o.prototype.render=function(s){return this.cancelRender(),this.frame=requestAnimationFrame((function(l){return function(){return l.frame=null,s.call(l)}})(this))},o.prototype.cancelRender=function(){return this.frame?cancelAnimationFrame(this.frame):void 0},o})()}.call(this),function(){var r=function(o,a){return function(){return o.apply(a,arguments)}};n.Controller=(function(){function o(){this.clickBubbled=r(this.clickBubbled,this),this.clickCaptured=r(this.clickCaptured,this),this.pageLoaded=r(this.pageLoaded,this),this.history=new n.History(this),this.view=new n.View(this),this.scrollManager=new n.ScrollManager(this),this.restorationData={},this.clearCache(),this.setProgressBarDelay(500)}return o.prototype.start=function(){return n.supported&&!this.started?(addEventListener("click",this.clickCaptured,!0),addEventListener("DOMContentLoaded",this.pageLoaded,!1),this.scrollManager.start(),this.startHistory(),this.started=!0,this.enabled=!0):void 0},o.prototype.disable=function(){return this.enabled=!1},o.prototype.stop=function(){return this.started?(removeEventListener("click",this.clickCaptured,!0),removeEventListener("DOMContentLoaded",this.pageLoaded,!1),this.scrollManager.stop(),this.stopHistory(),this.started=!1):void 0},o.prototype.clearCache=function(){return this.cache=new n.SnapshotCache(10)},o.prototype.visit=function(a,s){var l,c;return s??={},a=n.Location.wrap(a),this.applicationAllowsVisitingLocation(a)?this.locationIsVisitable(a)?(l=(c=s.action)!=null?c:"advance",this.adapter.visitProposedToLocationWithAction(a,l)):window.location=a:void 0},o.prototype.startVisitToLocationWithAction=function(a,s,l){var c;return n.supported?(c=this.getRestorationDataForIdentifier(l),this.startVisit(a,s,{restorationData:c})):window.location=a},o.prototype.setProgressBarDelay=function(a){return this.progressBarDelay=a},o.prototype.startHistory=function(){return this.location=n.Location.wrap(window.location),this.restorationIdentifier=n.uuid(),this.history.start(),this.history.replace(this.location,this.restorationIdentifier)},o.prototype.stopHistory=function(){return this.history.stop()},o.prototype.pushHistoryWithLocationAndRestorationIdentifier=function(a,s){return this.restorationIdentifier=s,this.location=n.Location.wrap(a),this.history.push(this.location,this.restorationIdentifier)},o.prototype.replaceHistoryWithLocationAndRestorationIdentifier=function(a,s){return this.restorationIdentifier=s,this.location=n.Location.wrap(a),this.history.replace(this.location,this.restorationIdentifier)},o.prototype.historyPoppedToLocationWithRestorationIdentifier=function(a,s){var l;return this.restorationIdentifier=s,this.enabled?(l=this.getRestorationDataForIdentifier(this.restorationIdentifier),this.startVisit(a,"restore",{restorationIdentifier:this.restorationIdentifier,restorationData:l,historyChanged:!0}),this.location=n.Location.wrap(a)):this.adapter.pageInvalidated()},o.prototype.getCachedSnapshotForLocation=function(a){var s;return(s=this.cache.get(a))!=null?s.clone():void 0},o.prototype.shouldCacheSnapshot=function(){return this.view.getSnapshot().isCacheable()},o.prototype.cacheSnapshot=function(){var a,s;return this.shouldCacheSnapshot()?(this.notifyApplicationBeforeCachingSnapshot(),s=this.view.getSnapshot(),a=this.lastRenderedLocation,n.defer((function(l){return function(){return l.cache.put(a,s.clone())}})(this))):void 0},o.prototype.scrollToAnchor=function(a){var s;return(s=this.view.getElementForAnchor(a))?this.scrollToElement(s):this.scrollToPosition({x:0,y:0})},o.prototype.scrollToElement=function(a){return this.scrollManager.scrollToElement(a)},o.prototype.scrollToPosition=function(a){return this.scrollManager.scrollToPosition(a)},o.prototype.scrollPositionChanged=function(a){var s;return s=this.getCurrentRestorationData(),s.scrollPosition=a},o.prototype.render=function(a,s){return this.view.render(a,s)},o.prototype.viewInvalidated=function(){return this.adapter.pageInvalidated()},o.prototype.viewWillRender=function(a){return this.notifyApplicationBeforeRender(a)},o.prototype.viewRendered=function(){return this.lastRenderedLocation=this.currentVisit.location,this.notifyApplicationAfterRender()},o.prototype.pageLoaded=function(){return this.lastRenderedLocation=this.location,this.notifyApplicationAfterPageLoad()},o.prototype.clickCaptured=function(){return removeEventListener("click",this.clickBubbled,!1),addEventListener("click",this.clickBubbled,!1)},o.prototype.clickBubbled=function(a){var s,l,c;return this.enabled&&this.clickEventIsSignificant(a)&&(l=this.getVisitableLinkForNode(a.target))&&(c=this.getVisitableLocationForLink(l))&&this.applicationAllowsFollowingLinkToLocation(l,c)?(a.preventDefault(),s=this.getActionForLink(l),this.visit(c,{action:s})):void 0},o.prototype.applicationAllowsFollowingLinkToLocation=function(a,s){var l;return l=this.notifyApplicationAfterClickingLinkToLocation(a,s),!l.defaultPrevented},o.prototype.applicationAllowsVisitingLocation=function(a){var s;return s=this.notifyApplicationBeforeVisitingLocation(a),!s.defaultPrevented},o.prototype.notifyApplicationAfterClickingLinkToLocation=function(a,s){return n.dispatch("turbolinks:click",{target:a,data:{url:s.absoluteURL},cancelable:!0})},o.prototype.notifyApplicationBeforeVisitingLocation=function(a){return n.dispatch("turbolinks:before-visit",{data:{url:a.absoluteURL},cancelable:!0})},o.prototype.notifyApplicationAfterVisitingLocation=function(a){return n.dispatch("turbolinks:visit",{data:{url:a.absoluteURL}})},o.prototype.notifyApplicationBeforeCachingSnapshot=function(){return n.dispatch("turbolinks:before-cache")},o.prototype.notifyApplicationBeforeRender=function(a){return n.dispatch("turbolinks:before-render",{data:{newBody:a}})},o.prototype.notifyApplicationAfterRender=function(){return n.dispatch("turbolinks:render")},o.prototype.notifyApplicationAfterPageLoad=function(a){return a??={},n.dispatch("turbolinks:load",{data:{url:this.location.absoluteURL,timing:a}})},o.prototype.startVisit=function(a,s,l){var c;return(c=this.currentVisit)!=null&&c.cancel(),this.currentVisit=this.createVisit(a,s,l),this.currentVisit.start(),this.notifyApplicationAfterVisitingLocation(a)},o.prototype.createVisit=function(a,s,l){var c,u,d,f,h;return u=l??{},f=u.restorationIdentifier,d=u.restorationData,c=u.historyChanged,h=new n.Visit(this,a,s),h.restorationIdentifier=f??n.uuid(),h.restorationData=n.copyObject(d),h.historyChanged=c,h.referrer=this.location,h},o.prototype.visitCompleted=function(a){return this.notifyApplicationAfterPageLoad(a.getTimingMetrics())},o.prototype.clickEventIsSignificant=function(a){return!(a.defaultPrevented||a.target.isContentEditable||a.which>1||a.altKey||a.ctrlKey||a.metaKey||a.shiftKey)},o.prototype.getVisitableLinkForNode=function(a){return this.nodeIsVisitable(a)?n.closest(a,"a[href]:not([target]):not([download])"):void 0},o.prototype.getVisitableLocationForLink=function(a){var s;return s=new n.Location(a.getAttribute("href")),this.locationIsVisitable(s)?s:void 0},o.prototype.getActionForLink=function(a){var s;return(s=a.getAttribute("data-turbolinks-action"))!=null?s:"advance"},o.prototype.nodeIsVisitable=function(a){var s;return(s=n.closest(a,"[data-turbolinks]"))?s.getAttribute("data-turbolinks")!=="false":!0},o.prototype.locationIsVisitable=function(a){return a.isPrefixedBy(this.view.getRootLocation())&&a.isHTML()},o.prototype.getCurrentRestorationData=function(){return this.getRestorationDataForIdentifier(this.restorationIdentifier)},o.prototype.getRestorationDataForIdentifier=function(a){var s;return(s=this.restorationData)[a]!=null?s[a]:s[a]={}},o})()}.call(this),function(){(function(){var r,o;if((r=o=document.currentScript)&&!o.hasAttribute("data-turbolinks-suppress-warning")){for(;r=r.parentNode;)if(r===document.body)return console.warn(`You are loading Turbolinks from a
+
+
+
+ @vite(['resources/js/ssr.jsx', 'resources/themes/' . setting('theme', 'atom') . '/css/app.css', 'resources/themes/' . setting('theme', 'atom') . '/js/app.js'], 'build')
+
+
+
+ @inertiaHead
+