132 lines
233 KiB
JavaScript
132 lines
233 KiB
JavaScript
|
|
(()=>{var zf=Object.create;var ls=Object.defineProperty;var Kf=Object.getOwnPropertyDescriptor;var Vf=Object.getOwnPropertyNames;var Jf=Object.getPrototypeOf,Gf=Object.prototype.hasOwnProperty;var Xf=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Yf=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Vf(t))!Gf.call(e,i)&&i!==r&&ls(e,i,{get:()=>t[i],enumerable:!(n=Kf(t,i))||n.enumerable});return e};var Qf=(e,t,r)=>(r=e!=null?zf(Jf(e)):{},Yf(t||!e||!e.__esModule?ls(r,"default",{value:e,enumerable:!0}):r,e));var of=Xf((qa,nf)=>{(function(e,t){typeof define=="function"&&define.amd?define(t):typeof qa=="object"?nf.exports=t():e.NProgress=t()})(qa,function(){var e={};e.version="0.2.0";var t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};e.configure=function(d){var p,m;for(p in d)m=d[p],m!==void 0&&d.hasOwnProperty(p)&&(t[p]=m);return this},e.status=null,e.set=function(d){var p=e.isStarted();d=r(d,t.minimum,1),e.status=d===1?null:d;var m=e.render(!p),h=m.querySelector(t.barSelector),v=t.speed,y=t.easing;return m.offsetWidth,o(function(w){t.positionUsing===""&&(t.positionUsing=e.getPositioningCSS()),a(h,i(d,v,y)),d===1?(a(m,{transition:"none",opacity:1}),m.offsetWidth,setTimeout(function(){a(m,{transition:"all "+v+"ms linear",opacity:0}),setTimeout(function(){e.remove(),w()},v)},v)):setTimeout(w,v)}),this},e.isStarted=function(){return typeof e.status=="number"},e.start=function(){e.status||e.set(0);var d=function(){setTimeout(function(){!e.status||(e.trickle(),d())},t.trickleSpeed)};return t.trickle&&d(),this},e.done=function(d){return!d&&!e.status?this:e.inc(.3+.5*Math.random()).set(1)},e.inc=function(d){var p=e.status;return p?(typeof d!="number"&&(d=(1-p)*r(Math.random()*p,.1,.95)),p=r(p+d,0,.994),e.set(p)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var d=0,p=0;e.promise=function(m){return!m||m.state()==="resolved"?this:(p===0&&e.start(),d++,p++,m.always(function(){p--,p===0?(d=0,e.done()):e.set((d-p)/d)}),this)}}(),e.render=function(d){if(e.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var p=document.createElement("div");p.id="nprogress",p.innerHTML=t.template;var m=p.querySelector(t.barSelector),h=d?"-100":n(e.status||0),v=document.querySelector(t.parent),y;return a(m,{transition:"all 0 linear",transform:"translate3d("+h+"%,0,0)"}),t.showSpinner||(y=p.querySelector(t.spinnerSelector),y&&f(y)),v!=document.body&&l(v,"nprogress-custom-parent"),v.appendChild(p),p},e.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var d=document.getElementById("nprogress");d&&f(d)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var d=document.body.style,p="WebkitTransform"in d?"Webkit":"MozTransform"in d?"Moz":"msTransform"in d?"ms":"OTransform"in d?"O":"";return p+"Perspective"in d?"translate3d":p+"Transform"in d?"translate":"margin"};function r(d,p,m){return d<p?p:d>m?m:d}function n(d){return(-1+d)*100}function i(d,p,m){var h;return t.positionUsing==="translate3d"?h={transform:"translate3d("+n(d)+"%,0,0)"}:t.positionUsing==="translate"?h={transform:"translate("+n(d)+"%,0)"}:h={"margin-left":n(d)+"%"},h.transition="all "+p+"ms "+m,h}var o=function(){var d=[];function p(){var m=d.shift();m&&m(p)}return function(m){d.push(m),d.length==1&&p()}}(),a=function(){var d=["Webkit","O","Moz","ms"],p={};function m(w){return w.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(S,C){return C.toUpperCase()})}function h(w){var S=document.body.style;if(w in S)return w;for(var C=d.length,P=w.charAt(0).toUpperCase()+w.slice(1),O;C--;)if(O=d[C]+P,O in S)return O;return w}function v(w){return w=m(w),p[w]||(p[
|
||
|
|
|
||
|
|
${r?'Expression: "'+r+`"
|
||
|
|
|
||
|
|
`:""}`,t),setTimeout(()=>{throw e},0)}var Wt=!0;function Ys(e){let t=Wt;Wt=!1;let r=e();return Wt=t,r}function wt(e,t,r={}){let n;return de(e,t)(i=>n=i,r),n}function de(...e){return Qs(...e)}var Qs=()=>{};function xd(e){Qs=e}var Zs;function Ed(e){Zs=e}function Sd(e,t){let r={};kr(r,e);let n=[r,...Et(e)],i=typeof t=="function"?Ad(n,t):Od(n,t,e);return yd.bind(null,e,t,i)}function Ad(e,t){return(r=()=>{},{scope:n={},params:i=[],context:o}={})=>{if(!Wt){Mr(r,t,St([n,...e]),i);return}let a=t.apply(St([n,...e]),i);Mr(r,a)}}var Yi={};function Cd(e,t){if(Yi[e])return Yi[e];let r=Object.getPrototypeOf(async function(){}).constructor,n=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,o=(()=>{try{let a=new r(["__self","scope"],`with (scope) { __self.result = ${n} }; __self.finished = true; return __self.result;`);return Object.defineProperty(a,"name",{value:`[Alpine] ${e}`}),a}catch(a){return Tr(a,t,e),Promise.resolve()}})();return Yi[e]=o,o}function Od(e,t,r){let n=Cd(t,r);return(i=()=>{},{scope:o={},params:a=[],context:s}={})=>{n.result=void 0,n.finished=!1;let l=St([o,...e]);if(typeof n=="function"){let u=n.call(s,n,l).catch(c=>Tr(c,r,t));n.finished?(Mr(i,n.result,l,a,r),n.result=void 0):u.then(c=>{Mr(i,c,l,a,r)}).catch(c=>Tr(c,r,t)).finally(()=>n.result=void 0)}}}function Mr(e,t,r,n,i){if(Wt&&typeof t=="function"){let o=t.apply(r,n);o instanceof Promise?o.then(a=>Mr(e,a,r,n)).catch(a=>Tr(a,i,t)):e(o)}else typeof t=="object"&&t instanceof Promise?t.then(o=>e(o)):e(t)}function kd(...e){return Zs(...e)}function Td(e,t,r={}){let n={};kr(n,e);let i=[n,...Et(e)],o=St([r.scope??{},...i]),a=r.params??[];if(t.includes("await")){let s=Object.getPrototypeOf(async function(){}).constructor,l=/^[\n\s]*if.*\(.*\)/.test(t.trim())||/^(let|const)\s/.test(t.trim())?`(async()=>{ ${t} })()`:t;return new s(["scope"],`with (scope) { let __result = ${l}; return __result }`).call(r.context,o)}else{let s=/^[\n\s]*if.*\(.*\)/.test(t.trim())||/^(let|const)\s/.test(t.trim())?`(()=>{ ${t} })()`:t,u=new Function(["scope"],`with (scope) { let __result = ${s}; return __result }`).call(r.context,o);return typeof u=="function"&&Wt?u.apply(o,a):u}}var Co="x-";function Jt(e=""){return Co+e}function Md(e){Co=e}var An={};function ee(e,t){return An[e]=t,{before(r){if(!An[r]){console.warn(String.raw`Cannot find directive \`${r}\`. \`${e}\` will use the default order of execution`);return}let n=bt.indexOf(r);bt.splice(n>=0?n:bt.indexOf("DEFAULT"),0,e)}}}function Nd(e){return Object.keys(An).includes(e)}function Oo(e,t,r){if(t=Array.from(t),e._x_virtualDirectives){let o=Object.entries(e._x_virtualDirectives).map(([s,l])=>({name:s,value:l})),a=el(o);o=o.map(s=>a.find(l=>l.name===s.name)?{name:`x-bind:${s.name}`,value:`"${s.value}"`}:s),t=t.concat(o)}let n={};return t.map(ol((o,a)=>n[o]=a)).filter(sl).map(Dd(n,r)).sort(Fd).map(o=>Id(e,o))}function el(e){return Array.from(e).map(ol()).filter(t=>!sl(t))}var ao=!1,Ar=new Map,tl=Symbol();function Pd(e){ao=!0;let t=Symbol();tl=t,Ar.set(t,[]);let r=()=>{for(;Ar.get(t).length;)Ar.get(t).shift()();Ar.delete(t)},n=()=>{ao=!1,r()};e(r),n()}function rl(e){let t=[],r=s=>t.push(s),[n,i]=ld(e);return t.push(i),[{Alpine:Xt,effect:n,cleanup:r,evaluateLater:de.bind(de,e),evaluate:wt.bind(wt,e)},()=>t.forEach(s=>s())]}function Id(e,t){let r=()=>{},n=An[t.type]||r,[i,o]=rl(e);qs(e,t.original,o);let a=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,t,i),n=n.bind(n,e,t,i),ao?Ar.get(tl).push(n):n())};return a.runCleanups=o,a}var nl=(e,t)=>({name:r,value:n})=>(r.startsWith(e)&&(r=r.replace(e,t)),{name:r,value:n}),il=e=>e;function ol(e=()=>{}){return({name:t,value:r})=>{let{name:n,value:i}=al.reduce((o,a)=>a(o),{name:t,value:r});return n!==t&&e(n,t),{name:n,value:i}}}var al=[];function ko(e){al.push(e)}function sl({name:e}){return ll().test(e)}var ll=()=>new RegExp(`^${Co}([^:^.]+)\\b`);function Dd(e,t){return({name:r,value:n})=>{r===n&&(n="");let i=r.match(ll()),o=r.match(/:([a-zA-Z0-9\-_:]+)/),a=r.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],s=t||e[r]||r;return{type:i?i[1]:null,value:o?o[1]:null,
|
||
|
|
Would you like to refresh the page?`)&&window.location.reload();return}n.aborted||zo(i)}},redirect:n=>{let i=!1;r.invokeOnRedirect({url:n,preventDefault:()=>i=!0}),!i&&(window.location.href=n)},dump:n=>{let i=!1;r.invokeOnDump({html:n,preventDefault:()=>i=!0}),!i&&zo(n)},success:async({response:n,responseBody:i,responseJson:o})=>{r.invokeOnSuccess({response:n,body:i,json:o}),await Rn("payload.intercept",o);let a=o.components;r.messages.forEach(s=>{a.forEach(l=>{if(s.isCancelled())return;if(l.skip){l.id===s.component.id&&(s.responsePayload=l,s.markSkipped(),s.invokeOnSkipped(),s.resolveActionPromises([],[]),s.invokeOnFinish());return}let{snapshot:u,effects:c}=l,f=JSON.parse(u);if(f.memo.id===s.component.id){if(s.responsePayload={snapshot:f,effects:c},s.invokeOnSuccess(),s.isCancelled())return;Alpine.transaction(async()=>{s.component.mergeNewSnapshot(u,c,s.updates),s.invokeOnSync(),!s.isCancelled()&&(s.component.processEffects(c,r),s.invokeOnEffect(),!s.isCancelled()&&await s.invokeOnMorph())}).then(()=>{s.isCancelled()||(s.resolveActionPromises(s.pendingReturns,s.pendingReturnsMeta),s.invokeOnFinish()),requestAnimationFrame(()=>{s.isCancelled()||s.invokeOnRender()})})}})})}})})}async function Oh(e,t){let r;try{if(e.isCancelled())return;let o=fetch(e.uri,e.options);if(e.isCancelled())return;t.send({responsePromise:o}),r=await o}catch(o){if(e.isCancelled())return;t.failure({error:o}),t.finish();return}t.response({response:r});let n=null;if(r.headers.has("X-Livewire-Stream")?n=await t.stream({response:r}):n=await r.text(),e.isCancelled())return;if(t.parsed({response:r,responseBody:n}),!r.ok){t.error({response:r,responseBody:n}),t.finish();return}if(r.redirected&&t.redirect(r.url),ms(n)){let o;[o,n]=gs(n),t.dump(o)}let i=null;try{i=JSON.parse(n)}catch(o){console.error(o),t.error({response:r,responseBody:n}),t.finish();return}t.success({response:r,responseBody:n,responseJson:i}),t.finish()}async function kh(e,t){let r=e.body.getReader(),n="";for(;;){let{done:i,value:o}=await r.read(),s=new TextDecoder().decode(o),[l,u]=Th(n+s);if(l.forEach(c=>{t(c)}),n=u,i)return n}}function Th(e){let t=/({"stream":true.*?"endStream":true})/g,r=e.match(t),n=[];if(r)for(let o=0;o<r.length;o++)n.push(JSON.parse(r[o]).body);let i=e.replace(t,"");return[n,i]}async function au(e,t,r){let n=new $n(e),i={headers:{"X-Livewire-Navigate":"1"},signal:n.controller.signal};z("navigate.request",{uri:e,options:i});let o;try{o=await fetch(e,i);let a=Mh(e,o),s=await o.text(),l=o.status;t(s,a,l)}catch(a){throw r(a),a}}function Mh(e,t){let r=tu(e),n=tu(t.url);return r.pathname+r.search===n.pathname+n.search&&(n.hash=r.hash),n}function tu(e){return e!==null&&new URL(e,document.baseURI)}eu(zn,ae);function su(e){let t=e.__errorsState??=_.reactive({clientErrors:null});return e.__lastErrorsSnapshot??=e.snapshot,{messages(){return e.__lastErrorsSnapshot!==e.snapshot&&(t.clientErrors=null,e.__lastErrorsSnapshot=e.snapshot),t.clientErrors??=e.snapshot.memo.errors},keys(){return Object.keys(this.messages())},has(...r){if(this.isEmpty())return!1;if(r.length===0||r.length===1&&r[0]==null)return this.any();r.length===1&&Array.isArray(r[0])&&(r=r[0]);for(let n of r)if(this.first(n)==="")return!1;return!0},hasAny(r){if(this.isEmpty())return!1;r.length===1&&Array.isArray(r[0])&&(r=r[0]);for(let n of r)if(this.has(n))return!0;return!1},missing(...r){return r.length===1&&Array.isArray(r[0])&&(r=r[0]),!this.hasAny(r)},first(r=null){let n=r===null?this.all():this.get(r),i=n.length>0?n[0]:"";return Array.isArray(i)?i[0]:i},get(r){return this.messages()[r]||[]},all(){return Object.values(this.messages()).flat()},isEmpty(){return!this.any()},isNotEmpty(){return this.any()},any(){return Object.keys(this.messages()).length>0},count(){return Object.values(this.messages()).reduce((r,n)=>r+n.length,0)},clear(r=null){if(r===null)t.clientErrors={};else{let n={...t.clientErrors??e.snapshot.memo.errors};delete n[r],t.clientErrors=n}}}}function Zt(e,t){let r=e.el.querySelector(`[wire\\:ref="${t}"]`);return r||console.error(`Ref "${t}" not found in component "${e.id}"`)}var Rr=new Set;function
|
||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||r.return==null||r.return()}finally{if(s)throw o}}}}function Qh(e,t,r){return(t=nm(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zh(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function em(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Ru(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Fu(Object(r),!0).forEach(function(n){Qh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fu(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function jr(){var e,t,r=typeof Symbol=="function"?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function o(p,m,h,v){var y=m&&m.prototype instanceof s?m:s,w=Object.create(y.prototype);return _e(w,"_invoke",function(S,C,P){var O,k,j,K=0,se=P||[],X=!1,W={p:0,n:0,v:e,a:I,f:I.bind(e,4),d:function(g,b){return O=g,k=0,j=e,W.n=b,a}};function I(g,b){for(k=g,j=b,t=0;!X&&K&&!E&&t<se.length;t++){var E,A=se[t],T=W.p,L=A[2];g>3?(E=L===b)&&(j=A[(k=A[4])?5:(k=3,3)],A[4]=A[5]=e):A[0]<=T&&((E=g<2&&T<A[1])?(k=0,W.v=b,W.n=A[1]):T<L&&(E=g<3||A[0]>b||b>L)&&(A[4]=g,A[5]=b,W.n=L,k=0))}if(E||g>1)return a;throw X=!0,b}return function(g,b,E){if(K>1)throw TypeError("Generator is already running");for(X&&b===1&&I(b,E),k=b,j=E;(t=k<2?e:j)||!X;){O||(k?k<3?(k>1&&(W.n=-1),I(k,j)):W.n=j:W.v=j);try{if(K=2,O){if(k||(g="next"),t=O[g]){if(!(t=t.call(O,j)))throw TypeError("iterator result is not an object");if(!t.done)return t;j=t.value,k<2&&(k=0)}else k===1&&(t=O.return)&&t.call(O),k<2&&(j=TypeError("The iterator does not provide a '"+g+"' method"),k=1);O=e}else if((t=(X=W.n<0)?j:S.call(C,W))!==a)break}catch(A){O=e,k=1,j=A}finally{K=1}}return{value:t,done:X}}}(p,h,v),!0),w}var a={};function s(){}function l(){}function u(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_e(t={},n,function(){return this}),t),f=u.prototype=s.prototype=Object.create(c);function d(p){return Object.setPrototypeOf?Object.setPrototypeOf(p,u):(p.__proto__=u,_e(p,i,"GeneratorFunction")),p.prototype=Object.create(f),p}return l.prototype=u,_e(f,"constructor",u),_e(u,"constructor",l),l.displayName="GeneratorFunction",_e(u,i,"GeneratorFunction"),_e(f),_e(f,i,"Generator"),_e(f,n,function(){return this}),_e(f,"toString",function(){return"[object Generator]"}),(jr=function(){return{w:o,m:d}})()}function _e(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch{i=0}_e=function(o,a,s,l){function u(c,f){_e(o,c,function(d){return this._invoke(c,f,d)})}a?i?i(o,a,{value:s,enumerable:!l,configurable:!l,writable:!l}):o[a]=s:(u("next",0),u("throw",1),u("return",2))},_e(e,t,r,n)}function tm(e){return Yh(e)||Zh(e)||Ku(e)||em()}function rm(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function nm(e){var t=rm(e,"string");return typeof t=="symbol"?t:t+""}function Ku(e,t){if(e){if(typeof e=="string")return aa(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?aa(e,t):void 0}}var ze={getActiveTrap:function(t){return t?.length>0?t[t.length-1]:null},activateTrap:function(t,r){var n=ze.getActiveTrap(t);r!==n&&ze.pauseTrap(t);var i=t.indexOf(r);i===-1||t.splice(i,1),t.push(r)},deactivateTrap:function(t,r){var n=t.indexOf(r);n!==-1&&t.splice(n,1),ze.unpauseTrap(t)},pauseTrap:function(t){var r=ze.getActiveTrap(t);r?._setPausedState(!0)},unpauseTrap:function(t){var r=ze.getActiveTrap(t);r&&!r._isManuallyPaused()&&r._setPausedState(!1)}},im=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},om=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},Ur=function(t){return t?.key==="Tab"||t?.keyCode===9},am=function(t){return Ur(t)&&!t.shiftKe
|
||
|
|
|
||
|
|
#nprogress {
|
||
|
|
pointer-events: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
#nprogress .bar {
|
||
|
|
background: var(--livewire-progress-bar-color, #29d);
|
||
|
|
|
||
|
|
position: fixed;
|
||
|
|
z-index: 1031;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
|
||
|
|
width: 100%;
|
||
|
|
height: 2px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Fancy blur effect */
|
||
|
|
#nprogress .peg {
|
||
|
|
display: block;
|
||
|
|
position: absolute;
|
||
|
|
right: 0px;
|
||
|
|
width: 100px;
|
||
|
|
height: 100%;
|
||
|
|
box-shadow: 0 0 10px var(--livewire-progress-bar-color, #29d), 0 0 5px var(--livewire-progress-bar-color, #29d);
|
||
|
|
opacity: 1.0;
|
||
|
|
|
||
|
|
-webkit-transform: rotate(3deg) translate(0px, -4px);
|
||
|
|
-ms-transform: rotate(3deg) translate(0px, -4px);
|
||
|
|
transform: rotate(3deg) translate(0px, -4px);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Remove these to get rid of the spinner */
|
||
|
|
#nprogress .spinner {
|
||
|
|
display: block;
|
||
|
|
position: fixed;
|
||
|
|
z-index: 1031;
|
||
|
|
top: 15px;
|
||
|
|
right: 15px;
|
||
|
|
}
|
||
|
|
|
||
|
|
#nprogress .spinner-icon {
|
||
|
|
width: 18px;
|
||
|
|
height: 18px;
|
||
|
|
box-sizing: border-box;
|
||
|
|
|
||
|
|
border: solid 2px transparent;
|
||
|
|
border-top-color: var(--livewire-progress-bar-color, #29d);
|
||
|
|
border-left-color: var(--livewire-progress-bar-color, #29d);
|
||
|
|
border-radius: 50%;
|
||
|
|
|
||
|
|
-webkit-animation: nprogress-spinner 400ms linear infinite;
|
||
|
|
animation: nprogress-spinner 400ms linear infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nprogress-custom-parent {
|
||
|
|
overflow: hidden;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nprogress-custom-parent #nprogress .spinner,
|
||
|
|
.nprogress-custom-parent #nprogress .bar {
|
||
|
|
position: absolute;
|
||
|
|
}
|
||
|
|
|
||
|
|
@-webkit-keyframes nprogress-spinner {
|
||
|
|
0% { -webkit-transform: rotate(0deg); }
|
||
|
|
100% { -webkit-transform: rotate(360deg); }
|
||
|
|
}
|
||
|
|
@keyframes nprogress-spinner {
|
||
|
|
0% { transform: rotate(0deg); }
|
||
|
|
100% { transform: rotate(360deg); }
|
||
|
|
}
|
||
|
|
`;let t=Ht();t&&(e.nonce=t),document.head.appendChild(e)}function za(e){!lf()||e.querySelectorAll(":popover-open").forEach(t=>{t.setAttribute("data-navigate-popover-open","");let r=t.getAnimations();t._pausedAnimations=r.map(n=>({keyframes:n.effect.getKeyframes(),options:{duration:n.effect.getTiming().duration,easing:n.effect.getTiming().easing,fill:n.effect.getTiming().fill,iterations:n.effect.getTiming().iterations},currentTime:n.currentTime,playState:n.playState})),r.forEach(n=>n.pause())})}function Ka(e){!lf()||e.querySelectorAll("[data-navigate-popover-open]").forEach(t=>{t.removeAttribute("data-navigate-popover-open"),queueMicrotask(()=>{!t.isConnected||(t.showPopover(),t.getAnimations().forEach(r=>r.finish()),t._pausedAnimations&&(t._pausedAnimations.forEach(({keyframes:r,options:n,currentTime:i,now:o,playState:a})=>{let s=t.animate(r,n);s.currentTime=i}),delete t._pausedAnimations))})})}function lf(){return typeof document.createElement("div").showPopover=="function"}var Va=[],Fi=["data-csrf","nonce","aria-hidden"];function Ja(e,t){e=gn(e);let r=new DOMParser().parseFromString(e,"text/html"),n=r.documentElement,i=document.adoptNode(r.body),o=document.adoptNode(r.head);Va=Va.concat(Array.from(document.body.querySelectorAll("script")).map(l=>pf(Ri(l.outerHTML,Fi))));let a=()=>{};Lg(n),$g(o).finally(()=>{a()}),Rg(i,Va);let s=document.body;document.body.replaceWith(i),Alpine.destroyTree(s),t(l=>a=l)}function Rg(e,t){e.querySelectorAll("script").forEach(r=>{if(r.hasAttribute("data-navigate-once")){let n=pf(Ri(r.outerHTML,Fi));if(t.includes(n))return}r.replaceWith(br(r))})}function Lg(e){let t=document.documentElement;Array.from(e.attributes).forEach(r=>{let n=r.name,i=r.value;t.getAttribute(n)!==i&&t.setAttribute(n,i)}),Array.from(t.attributes).forEach(r=>{e.hasAttribute(r.name)||t.removeAttribute(r.name)})}function $g(e){let t=Array.from(document.head.children),r=t.map(a=>Ri(a.outerHTML,Fi)),n=document.createDocumentFragment(),i=[],o=[];for(let a of Array.from(e.children))if(cf(a)){let s=Ri(a.outerHTML,Fi);if(r.includes(s))n.appendChild(a);else if(ff(a)&&jg(a,t)&&setTimeout(()=>window.location.reload()),df(a))try{o.push(Bg(br(a)))}catch{}else document.head.appendChild(a);i.push(a)}for(let a of Array.from(document.head.children))cf(a)||a.remove();for(let a of Array.from(e.children))a.tagName.toLowerCase()!=="noscript"&&document.head.appendChild(a);return Promise.all(o)}async function Bg(e){return new Promise((t,r)=>{e.src?(e.onload=()=>t(),e.onerror=()=>r()):t(),document.head.appendChild(e)})}function ff(e){return e.hasAttribute("data-navigate-track")}function jg(e,t){let[r,n]=uf(e);return t.some(i=>{if(!ff(i))return!1;let[o,a]=uf(i);if(o===r&&n!==a)return!0})}function uf(e){return(df(e)?e.src:e.href).split("?")}function cf(e){return e.tagName.toLowerCase()==="link"&&e.getAttribute("rel").toLowerCase()==="stylesheet"||e.tagName.toLowerCase()==="style"||e.tagName.toLowerCase()==="script"}function df(e){return e.tagName.toLowerCase()==="script"}function pf(e){return e.split("").reduce((t,r)=>(t=(t<<5)-t+r.charCodeAt(0),t&t),0)}function Ri(e,t){let r=e;return t.forEach(n=>{let i=new RegExp(`${n}="[^"]*"|${n}='[^']*'`,"g");r=r.replace(i,"")}),r=r.replaceAll(" ",""),r.trim()}var Li=!0,mr=!0,Ug=!0,hf=!1;function bf(e){e.navigate=(r,n={})=>{let{preserveScroll:i=!1}=n,o=rn(r);Qe("alpine:navigate",{url:o,history:!1,cached:!1})||t(o,{preserveScroll:i})},e.navigate.disableProgressBar=()=>{mr=!1},e.addInitSelector(()=>`[${e.prefixed("navigate")}]`),e.directive("navigate",(r,{modifiers:n})=>{let i=n.includes("hover"),o=n.includes("preserve-scroll");i&&Qc(r,60,()=>{let a=Pa(r);!a||Da(a,(s,l)=>{Fa(s,a,l)},()=>{mr&&an()})}),Yc(r,a=>{let s=Pa(r);!s||(Da(s,(l,u)=>{Fa(l,s,u)},()=>{mr&&an()}),a(()=>{Qe("alpine:navigate",{url:s,history:!1,cached:!1})||t(s,{preserveScroll:o})}))})});function t(r,{preserveScroll:n=!1,shouldPushToHistoryState:i=!0}){mr&&af(),Hg(r,(o,a)=>{let s=[];Qe("alpine:navigating",{onSwap:l=>s.push(l)}),Ug&&Ba(),qg(),i&&Kc(),mf(e,l=>{Li&&Ua(u=>{Ra(u),za(u)}),i?Gc(o,a):Na(a,o),Ja(o,u=>{La(document.body),Li&&Ha((c,f)
|
||
|
|
|
||
|
|
${t?'Expression: "'+t+`"
|
||
|
|
|
||
|
|
`:""}`,e),console.error(i)}}function iv(e,t){let r=["JSON","true","false","null","undefined","this","$wire","$event"];t&&r.push(...nv(t));let n=[],i=e.replace(/(["'`])(?:(?!\1)[^\\]|\\.)*\1/g,o=>(n.push(o),`___${n.length-1}___`));return i=i.replace(/(^|[^.\w$])(\$?[a-zA-Z_]\w*)/g,(o,a,s,l)=>r.includes(s)||/^___\d+___$/.test(s)||i[l+o.length]===":"?a+s:a+"$wire."+s),i.replace(/___(\d+)___/g,(o,a)=>n[a])}var gr=new WeakMap,ji=new Set;R("payload.intercept",async({assets:e})=>{if(!!e)for(let[t,r]of Object.entries(e))await sv(t,async()=>{await lv(r)})});R("component.init",({component:e})=>{let t=e.snapshot.memo.assets;t&&t.forEach(r=>{ji.has(r)||ji.add(r)})});R("effect",({component:e,effects:t})=>{let r=t.scripts;r&&Object.entries(r).forEach(([n,i])=>{ov(e,n,()=>{let o=av(i);o=o.includes("await")?`(async()=>{ ${o} })()`:`(()=>{ ${o} })()`,_.dontAutoEvaluateFunctions(()=>{un(e.el,o,{context:e.$wire,scope:{$wire:e.$wire,$js:e.$wire.js}})})})})});function ov(e,t,r){if(gr.has(e)&&gr.get(e).includes(t))return;r(),gr.has(e)||gr.set(e,[]);let n=gr.get(e);n.push(t),gr.set(e,n)}function av(e){let r=/<script\b[^>]*>([\s\S]*?)<\/script>/gm.exec(e);return r&&r[1]?r[1].trim():""}async function sv(e,t){ji.has(e)||(ji.add(e),await t())}async function lv(e){e=gn(e);let t=new DOMParser().parseFromString(e,"text/html"),r=document.adoptNode(t.head);for(let n of r.children)try{await uv(n)}catch{}}async function uv(e){return new Promise((t,r)=>{if(cv(e)){let n=br(e);n.src?(n.onload=()=>t(),n.onerror=()=>r()):t(),document.head.appendChild(n)}else document.head.appendChild(e),t()})}function cv(e){return e.tagName.toLowerCase()==="script"}_.magic("js",e=>re(e).$wire.js);R("effect",({component:e,effects:t})=>{let r=t.js,n=t.xjs;r&&Object.entries(r).forEach(([i,o])=>{mu(e,i,()=>{un(e.el,o)})}),n&&n.forEach(({expression:i,params:o})=>{o=Object.values(o),un(e.el,i,{scope:e.getJsActions(),params:o})})});var fv="match-element";Kn("transition",({el:e,directive:t,cleanup:r})=>{});function Mf(e,t={}){e.querySelectorAll("[wire\\:transition]").forEach(r=>{if(r.style.viewTransitionName)return;let n=r.getAttribute("wire:transition");!n&&t.type||(r.style.viewTransitionName=n||fv)})}function dv(e){e.querySelectorAll("[wire\\:transition]").forEach(t=>{t.style.viewTransitionName=""})}async function Qa(e,t,r,n={}){if(n.skip||!e.querySelector("[wire\\:transition]")&&!t.querySelector("[wire\\:transition]")||typeof document.startViewTransition!="function"||document.querySelector("dialog:modal"))return r();Mf(e,n);let i=document.createElement("style");i.textContent=`
|
||
|
|
@media (prefers-reduced-motion: reduce) {
|
||
|
|
::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) {
|
||
|
|
animation: none !important;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
::view-transition-old(root) {
|
||
|
|
animation: none !important;
|
||
|
|
opacity: 0 !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
::view-transition-new(root) {
|
||
|
|
animation: none !important;
|
||
|
|
opacity: 1 !important;
|
||
|
|
}
|
||
|
|
`,document.head.appendChild(i);let o=()=>{r(),Mf(e,n)},a={update:o};n.type&&(a.types=[n.type]);let s=()=>{i.remove(),dv(e)},l=u=>{let c=new MutationObserver(()=>{document.querySelector("dialog:modal")&&(u.skipTransition(),c.disconnect())});c.observe(document.documentElement,{attributes:!0,attributeFilter:["open"],subtree:!0}),u.finished.finally(()=>c.disconnect())};try{let u=document.startViewTransition(a);l(u),u.finished.finally(s),await u.updateCallbackDone}catch{let c=document.startViewTransition(o);l(c),c.finished.finally(s),await c.updateCallbackDone}}async function Pf(e,t,r){let n=cn(t.parentElement),i=document.createElement(n);i.innerHTML=r;let o;try{o=re(t.parentElement)}catch{}o&&(i.__livewire=o);let a=i.firstElementChild;a.setAttribute("wire:snapshot",e.snapshotEncoded);let s={...e.effects};delete s.html,a.setAttribute("wire:effects",JSON.stringify(s)),a.__livewire=e,z("morph",{el:t,toEl:a,component:e});let l={};t.querySelectorAll("[wire\\:id]").forEach(c=>{l[c.getAttribute("wire:id")]=c}),a.querySelectorAll("[wire\\:id]").forEach(c=>{if(c.hasAttribute("wire:snapshot"))return;let f=c.getAttribute("wire:id"),d=l[f];d&&c.replaceWith(d.cloneNode(!0))});let u=e.effects.transition||{};await Qa(t,a,()=>{_.morph(t,a,If(e))},u),z("morphed",{el:t,component:e})}async function Ui(e,t,r,n){let i=t.parentElement,o=cn(i),a=document.createElement(o);a.innerHTML=n,a.__livewire=e;let s=e.el.parentElement,l=cn(s),u;try{u=s?re(s):null}catch{}if(u){let m=document.createElement(l);m.appendChild(a),m.__livewire=u}z("island.morph",{startNode:t,endNode:r,component:e});let c=e.effects.transition||{},f=!1,d=t.nextSibling;for(;d&&d!==r;){if(d.nodeType===1&&(d.hasAttribute?.("wire:transition")||d.querySelector?.("[wire\\:transition]"))){f=!0;break}d=d.nextSibling}let p=f?i:document.createElement("div");await Qa(p,a,()=>{_.morphBetween(t,r,a,If(e))},c),z("island.morphed",{startNode:t,endNode:r,component:e})}function If(e){return{updating:(t,r,n,i,o,a)=>{if(Nt(t)&&Nt(r)){let s=Re(r);s.mode!=="morph"&&a(l=>nr(l)?Re(l).token===s.token:!1)}if(!vr(t)){if(z("morph.updating",{el:t,toEl:r,component:e,skip:i,childrenOnly:n,skipChildren:o,skipUntil:a}),t.__livewire_replace===!0&&(t.innerHTML=r.innerHTML),t.__livewire_replace_self===!0)return t.outerHTML=r.outerHTML,i();if(t.__livewire_ignore===!0)return i();if(t.__livewire_ignore_self===!0&&n(),t.__livewire_ignore_children===!0)return o();if(Nf(t)&&t.getAttribute("wire:id")!==e.id)return i();Nf(t)&&(r.__livewire=e)}},updated:t=>{vr(t)||z("morph.updated",{el:t,component:e})},removing:(t,r)=>{vr(t)||z("morph.removing",{el:t,component:e,skip:r})},removed:t=>{vr(t)||z("morph.removed",{el:t,component:e})},adding:t=>{z("morph.adding",{el:t,component:e})},added:t=>{if(vr(t))return;let r=re(t).id;z("morph.added",{el:t})},key:t=>{if(!vr(t))return t.hasAttribute("wire:id")?t.getAttribute("wire:id"):t.hasAttribute("wire:key")?t.getAttribute("wire:key"):t.id},lookahead:!1}}function vr(e){return typeof e.hasAttribute!="function"}function Nf(e){return e.hasAttribute("wire:id")}function cn(e){let t=e?e.tagName.toLowerCase():"div",r=customElements.get(t);return r?r.name:t}ae(({message:e,onSuccess:t})=>{t(({payload:r,onMorph:n})=>{n(async()=>{let i=r.effects.html;!i||await Pf(e.component,e.component.el,i)})})});R("effect",({component:e,effects:t})=>{queueMicrotask(()=>{queueMicrotask(()=>{queueMicrotask(()=>{pv(e,t.dispatches||[])})})})});function pv(e,t){t.forEach(({name:r,params:n={},self:i=!1,component:o,ref:a,el:s})=>{i?We(e,r,n):o?rr(o,r,n):a?Xn(e,a,r,n):s?Gn(e,s,r,n):Jn(e,r,n)})}var Za=new fn;R("directive.init",({el:e,directive:t,cleanup:r,component:n})=>setTimeout(()=>{t.value==="submit"&&e.addEventListener("submit",()=>{let i=t.expression.startsWith("$parent")?n.parent.id:n.id,o=hv(e);Za.add(i,o)})}));R("commit",({component:e,respond:t})=>{t(()=>{Za.each(e.id,r=>r()),Za.remove(e.id)})});function hv(e){let t=[];return _.walk(e,(r,n)=>{if(!!e.contains(r)){if(r.hasAttribute("wire:ignore"))return n();mv(r)?t.push(vv(r)):gv(r)&&t.push(bv(r))}}),()=>{for(;t.length>0;)t.shift()()}}function mv(e){let t=e.tagNam
|
||
|
|
`),r===""&&(r="Are you sure?"),e.__livewire_confirm=(i,o)=>{if(n){let[a,s]=r.split("|");s?prompt(a)===s?i():o():console.warn("Livewire: Must provide expectation with wire:confirm.prompt")}else confirm(r)?i():o()}});var is=new Set,os=new Set;window.addEventListener("offline",()=>is.forEach(e=>e()));window.addEventListener("online",()=>os.forEach(e=>e()));te("offline",({el:e,directive:t,cleanup:r})=>{let n=()=>Fe(e,t,!0),i=()=>Fe(e,t,!1);is.add(n),os.add(i),r(()=>{is.delete(n),os.delete(i)})});te("loading",({el:e,directive:t,component:r,cleanup:n})=>{let{targets:i,inverted:o}=Tv(e),[a,s]=Av(t),l=Cv(r,e,i,o,[()=>a(()=>Fe(e,t,!0)),()=>s(()=>Fe(e,t,!1))]),u=Ov(r,i,[()=>a(()=>Fe(e,t,!0)),()=>s(()=>Fe(e,t,!1))]);n(()=>{l(),u()})});function Av(e){if(!e.modifiers.includes("delay")||e.modifiers.includes("none"))return[o=>o(),o=>o()];let t=200,r={shortest:50,shorter:100,short:150,default:200,long:300,longer:500,longest:1e3};Object.keys(r).some(o=>{if(e.modifiers.includes(o))return t=r[o],!0});let n,i=!1;return[o=>{n=setTimeout(()=>{o(),i=!0},t)},async o=>{i?(await o(),i=!1):clearTimeout(n)}]}function Cv(e,t,r,n,[i,o]){return ae(({message:a,onSend:s,onSuccess:l,onFinish:u})=>{if(e!==a.component)return;if(r.length===0){let d=ts(t);if(d&&!a.hasActionForIsland(d)||!d&&!a.hasActionForComponent())return}let c=!0,f=!1;s(({payload:d})=>{r.length>0&&kv(d,r)===n&&(c=!1),c&&i()}),l(({onEffect:d})=>{d(()=>{c&&!f&&(o(),f=!0)})}),u(()=>{c&&!f&&(o(),f=!0)})})}function Ov(e,t,[r,n]){let i=l=>{let{id:u,property:c}=l.detail;return u!==e.id||t.length>0&&!t.map(f=>f.target).includes(c)},o=hn(window,"livewire-upload-start",l=>{i(l)||r()}),a=hn(window,"livewire-upload-finish",l=>{i(l)||n()}),s=hn(window,"livewire-upload-error",l=>{i(l)||n()});return()=>{o(),a(),s()}}function kv(e,t){let{updates:r,calls:n}=e;return t.some(({target:i,params:o})=>{if(o)return n.some(({method:s,params:l})=>i===s&&o===Uf(JSON.stringify(l)));if(Object.keys(r).some(s=>s.includes(".")&&s.split(".")[0]===i?!0:s===i)||n.map(s=>s.method).includes(i))return!0})}function Tv(e){let t=er(e),r=[],n=!1;if(t.has("target")){let i=t.get("target");i.modifiers.includes("except")&&(n=!0),i.methods.forEach(({method:o,params:a})=>{r.push({target:o,params:a&&a.length>0?Uf(JSON.stringify(a)):void 0})})}else{let i=["init","dirty","offline","navigate","target","loading","poll","ignore","key","id"];t.all().filter(o=>!i.includes(o.value)).map(o=>o.expression.split("(")[0]).forEach(o=>r.push({target:o}))}return{targets:r,inverted:n}}function Uf(e){return btoa(encodeURIComponent(e))}te("replace",({el:e,directive:t})=>{t.modifiers.includes("self")?e.__livewire_replace_self=!0:e.__livewire_replace=!0});te("ignore",({el:e,directive:t})=>{t.modifiers.includes("self")?e.__livewire_ignore_self=!0:t.modifiers.includes("children")?e.__livewire_ignore_children=!0:e.__livewire_ignore=!0});_.interceptInit(e=>{e.hasAttribute("wire:cloak")&&_.mutateDom(()=>e.removeAttribute("wire:cloak"))});te("model",({el:e,directive:t,component:r,cleanup:n})=>{r=re(e);let{expression:i,modifiers:o}=t;if(!i)return console.warn("Livewire: [wire:model] is missing a value.",e);if(Hf(r,i))return console.warn('Livewire: [wire:model="'+i+'"] property does not exist on component: ['+r.name+"]",e);if(e.type&&e.type.toLowerCase()==="file")return ys(e,i,r,n);let a=o.indexOf("live"),s=a!==-1,l=o.includes("lazy")&&!s,u=s||l,c=s&&!l?o.slice(0,a):o.slice(),f=s&&!l?o.slice(a+1):[];l&&(c=c.filter(se=>se!=="lazy"),f.push("change")),c.includes("deep")||f.includes("deep")||c.includes("self")||c.push("self");let d=c.includes("blur"),p=c.includes("change")||c.includes("lazy"),m=c.includes("enter"),h=d||p||m,v=f.includes("blur"),y=f.includes("change")||f.includes("lazy"),w=f.includes("enter"),S=v||y||w,C=f.includes("debounce"),P=f.includes("throttle"),O=()=>{we({el:e,directive:t}),(s||C)&&Qt({type:"model.live"}),i.startsWith("$parent")?r.$wire.$parent.$commit():r.$wire.$commit()},k=O;(u&&!S&&Nv(e)||C)&&(k=Pv(k,qi(f,"debounce")||150)),P&&(k=Iv(k,qi(f,"throttle")||150));let j={};u&&v&&(j["@blur"]=()=>O()),u&&y&&(j["@change"]=()=>O()),u&&w&&(j["@keydown.e
|
||
|
|
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
||
|
|
* @license MIT */
|
||
|
|
/*! Bundled license information:
|
||
|
|
|
||
|
|
sortablejs/modular/sortable.esm.js:
|
||
|
|
(**!
|
||
|
|
* Sortable 1.15.2
|
||
|
|
* @author RubaXa <trash@rubaxa.org>
|
||
|
|
* @author owenm <owen23355@gmail.com>
|
||
|
|
* @license MIT
|
||
|
|
*)
|
||
|
|
*/
|
||
|
|
/*! Bundled license information:
|
||
|
|
|
||
|
|
tabbable/dist/index.esm.js:
|
||
|
|
(*!
|
||
|
|
* tabbable 6.4.0
|
||
|
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
||
|
|
*)
|
||
|
|
|
||
|
|
focus-trap/dist/focus-trap.esm.js:
|
||
|
|
(*!
|
||
|
|
* focus-trap 8.0.0
|
||
|
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
||
|
|
*)
|
||
|
|
(*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE *)
|
||
|
|
*/
|
||
|
|
//# sourceMappingURL=livewire.min.js.map
|