From 7eb9f33d04af1327dfbaa7f0a75a7658c964b66c Mon Sep 17 00:00:00 2001 From: Louis Charette Date: Mon, 14 Oct 2024 22:28:08 -0400 Subject: [PATCH] Removed the "any" label Bypass the filter empty object not being the same as the object not having a value --- dist/{components-C2btdOGx.js => components-Byf-8j2v.js} | 2 +- dist/{components-tJe3-PQ9.cjs => components-G82TVPrS.cjs} | 2 +- dist/components.cjs | 2 +- dist/components.js | 2 +- dist/plugins.cjs | 2 +- dist/plugins.js | 2 +- src/components/Sprunjer/SprunjeFilters.vue | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) rename dist/{components-C2btdOGx.js => components-Byf-8j2v.js} (99%) rename dist/{components-tJe3-PQ9.cjs => components-G82TVPrS.cjs} (98%) diff --git a/dist/components-C2btdOGx.js b/dist/components-Byf-8j2v.js similarity index 99% rename from dist/components-C2btdOGx.js rename to dist/components-Byf-8j2v.js index 28c6ade..37c24b0 100644 --- a/dist/components-C2btdOGx.js +++ b/dist/components-Byf-8j2v.js @@ -12213,7 +12213,7 @@ const Zw = /* @__PURE__ */ ri(Yw, [["render", Qw]]), ty = { "onUpdate:modelValue": (T) => L(r)[S] = T, class: "uk-select" }, [ - v[0] || (v[0] = x("option", { value: "" }, "Any", -1)), + v[0] || (v[0] = x("option", { value: "" }, null, -1)), (I(!0), D(Qe, null, ei(k(S), (T) => (I(), D("option", { key: T.value, value: T.value diff --git a/dist/components-tJe3-PQ9.cjs b/dist/components-G82TVPrS.cjs similarity index 98% rename from dist/components-tJe3-PQ9.cjs rename to dist/components-G82TVPrS.cjs index 3526121..3351136 100644 --- a/dist/components-tJe3-PQ9.cjs +++ b/dist/components-G82TVPrS.cjs @@ -8,4 +8,4 @@ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...a){const r=new this(i);return a.forEach(d=>r.set(d)),r}static accessor(i){const a=(this[pl]=this[pl]={accessors:{}}).accessors,r=this.prototype;function d(h){const p=In(h);a[p]||(_v(r,h),a[p]=!0)}return _.isArray(i)?i.forEach(d):d(i),this}}It.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.reduceDescriptors(It.prototype,({value:o},i)=>{let a=i[0].toUpperCase()+i.slice(1);return{get:()=>o,set(r){this[a]=r}}});_.freezeMethods(It);function rs(o,i){const a=this||Hn,r=i||a,d=It.from(r.headers);let h=r.data;return _.forEach(o,function(p){h=p.call(a,h,d.normalize(),i?i.status:void 0)}),d.normalize(),h}function kc(o){return!!(o&&o.__CANCEL__)}function rn(o,i,a){q.call(this,o??"canceled",q.ERR_CANCELED,i,a),this.name="CanceledError"}_.inherits(rn,q,{__CANCEL__:!0});function $c(o,i,a){const r=a.config.validateStatus;!a.status||!r||r(a.status)?o(a):i(new q("Request failed with status code "+a.status,[q.ERR_BAD_REQUEST,q.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))}function Cv(o){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(o);return i&&i[1]||""}function Nv(o,i){o=o||10;const a=new Array(o),r=new Array(o);let d=0,h=0,p;return i=i!==void 0?i:1e3,function(v){const $=Date.now(),w=r[h];p||(p=$),a[d]=v,r[d]=$;let b=h,B=0;for(;b!==d;)B+=a[b++],b=b%o;if(d=(d+1)%o,d===h&&(h=(h+1)%o),$-p{a=$,d=null,h&&(clearTimeout(h),h=null),o.apply(null,v)};return[(...v)=>{const $=Date.now(),w=$-a;w>=r?p(v,$):(d=v,h||(h=setTimeout(()=>{h=null,p(d)},r-w)))},()=>d&&p(d)]}const Vo=(o,i,a=3)=>{let r=0;const d=Nv(50,250);return Tv(h=>{const p=h.loaded,v=h.lengthComputable?h.total:void 0,$=p-r,w=d($),b=p<=v;r=p;const B={loaded:p,total:v,progress:v?p/v:void 0,bytes:$,rate:w||void 0,estimated:w&&v&&b?(v-p)/w:void 0,event:h,lengthComputable:v!=null,[i?"download":"upload"]:!0};o(B)},a)},ml=(o,i)=>{const a=o!=null;return[r=>i[0]({lengthComputable:a,total:o,loaded:r}),i[1]]},gl=o=>(...i)=>_.asap(()=>o(...i)),Bv=Gt.hasStandardBrowserEnv?function(){const o=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");let a;function r(d){let h=d;return o&&(i.setAttribute("href",h),h=i.href),i.setAttribute("href",h),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return a=r(window.location.href),function(d){const h=_.isString(d)?r(d):d;return h.protocol===a.protocol&&h.host===a.host}}():function(){return function(){return!0}}(),Ov=Gt.hasStandardBrowserEnv?{write(o,i,a,r,d,h){const p=[o+"="+encodeURIComponent(i)];_.isNumber(a)&&p.push("expires="+new Date(a).toGMTString()),_.isString(r)&&p.push("path="+r),_.isString(d)&&p.push("domain="+d),h===!0&&p.push("secure"),document.cookie=p.join("; ")},read(o){const i=document.cookie.match(new RegExp("(^|;\\s*)("+o+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(o){this.write(o,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Pv(o){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o)}function Av(o,i){return i?o.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):o}function xc(o,i){return o&&!Pv(i)?Av(o,i):i}const vl=o=>o instanceof It?{...o}:o;function Ve(o,i){i=i||{};const a={};function r(w,b,B){return _.isPlainObject(w)&&_.isPlainObject(b)?_.merge.call({caseless:B},w,b):_.isPlainObject(b)?_.merge({},b):_.isArray(b)?b.slice():b}function d(w,b,B){if(_.isUndefined(b)){if(!_.isUndefined(w))return r(void 0,w,B)}else return r(w,b,B)}function h(w,b){if(!_.isUndefined(b))return r(void 0,b)}function p(w,b){if(_.isUndefined(b)){if(!_.isUndefined(w))return r(void 0,w)}else return r(void 0,b)}function v(w,b,B){if(B in i)return r(w,b);if(B in o)return r(void 0,w)}const $={url:h,method:h,data:h,baseURL:p,transformRequest:p,transformResponse:p,paramsSerializer:p,timeout:p,timeoutMessage:p,withCredentials:p,withXSRFToken:p,adapter:p,responseType:p,xsrfCookieName:p,xsrfHeaderName:p,onUploadProgress:p,onDownloadProgress:p,decompress:p,maxContentLength:p,maxBodyLength:p,beforeRedirect:p,transport:p,httpAgent:p,httpsAgent:p,cancelToken:p,socketPath:p,responseEncoding:p,validateStatus:v,headers:(w,b)=>d(vl(w),vl(b),!0)};return _.forEach(Object.keys(Object.assign({},o,i)),function(w){const b=$[w]||d,B=b(o[w],i[w],w);_.isUndefined(B)&&b!==v||(a[w]=B)}),a}const Ec=o=>{const i=Ve({},o);let{data:a,withXSRFToken:r,xsrfHeaderName:d,xsrfCookieName:h,headers:p,auth:v}=i;i.headers=p=It.from(p),i.url=bc(xc(i.baseURL,i.url),o.params,o.paramsSerializer),v&&p.set("Authorization","Basic "+btoa((v.username||"")+":"+(v.password?unescape(encodeURIComponent(v.password)):"")));let $;if(_.isFormData(a)){if(Gt.hasStandardBrowserEnv||Gt.hasStandardBrowserWebWorkerEnv)p.setContentType(void 0);else if(($=p.getContentType())!==!1){const[w,...b]=$?$.split(";").map(B=>B.trim()).filter(Boolean):[];p.setContentType([w||"multipart/form-data",...b].join("; "))}}if(Gt.hasStandardBrowserEnv&&(r&&_.isFunction(r)&&(r=r(i)),r||r!==!1&&Bv(i.url))){const w=d&&h&&Ov.read(h);w&&p.set(d,w)}return i},Rv=typeof XMLHttpRequest<"u",Dv=Rv&&function(o){return new Promise(function(i,a){const r=Ec(o);let d=r.data;const h=It.from(r.headers).normalize();let{responseType:p,onUploadProgress:v,onDownloadProgress:$}=r,w,b,B,E,O;function N(){E&&E(),O&&O(),r.cancelToken&&r.cancelToken.unsubscribe(w),r.signal&&r.signal.removeEventListener("abort",w)}let T=new XMLHttpRequest;T.open(r.method.toUpperCase(),r.url,!0),T.timeout=r.timeout;function V(){if(!T)return;const j=It.from("getAllResponseHeaders"in T&&T.getAllResponseHeaders()),K={data:!p||p==="text"||p==="json"?T.responseText:T.response,status:T.status,statusText:T.statusText,headers:j,config:o,request:T};$c(function(yt){i(yt),N()},function(yt){a(yt),N()},K),T=null}"onloadend"in T?T.onloadend=V:T.onreadystatechange=function(){!T||T.readyState!==4||T.status===0&&!(T.responseURL&&T.responseURL.indexOf("file:")===0)||setTimeout(V)},T.onabort=function(){T&&(a(new q("Request aborted",q.ECONNABORTED,o,T)),T=null)},T.onerror=function(){a(new q("Network Error",q.ERR_NETWORK,o,T)),T=null},T.ontimeout=function(){let j=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const K=r.transitional||wc;r.timeoutErrorMessage&&(j=r.timeoutErrorMessage),a(new q(j,K.clarifyTimeoutError?q.ETIMEDOUT:q.ECONNABORTED,o,T)),T=null},d===void 0&&h.setContentType(null),"setRequestHeader"in T&&_.forEach(h.toJSON(),function(j,K){T.setRequestHeader(K,j)}),_.isUndefined(r.withCredentials)||(T.withCredentials=!!r.withCredentials),p&&p!=="json"&&(T.responseType=r.responseType),$&&([B,O]=Vo($,!0),T.addEventListener("progress",B)),v&&T.upload&&([b,E]=Vo(v),T.upload.addEventListener("progress",b),T.upload.addEventListener("loadend",E)),(r.cancelToken||r.signal)&&(w=j=>{T&&(a(!j||j.type?new rn(null,o,T):j),T.abort(),T=null)},r.cancelToken&&r.cancelToken.subscribe(w),r.signal&&(r.signal.aborted?w():r.signal.addEventListener("abort",w)));const L=Cv(r.url);if(L&&Gt.protocols.indexOf(L)===-1){a(new q("Unsupported protocol "+L+":",q.ERR_BAD_REQUEST,o));return}T.send(d||null)})},Iv=(o,i)=>{let a=new AbortController,r;const d=function($){if(!r){r=!0,p();const w=$ instanceof Error?$:this.reason;a.abort(w instanceof q?w:new rn(w instanceof Error?w.message:w))}};let h=i&&setTimeout(()=>{d(new q(`timeout ${i} of ms exceeded`,q.ETIMEDOUT))},i);const p=()=>{o&&(h&&clearTimeout(h),h=null,o.forEach($=>{$&&($.removeEventListener?$.removeEventListener("abort",d):$.unsubscribe(d))}),o=null)};o.forEach($=>$&&$.addEventListener&&$.addEventListener("abort",d));const{signal:v}=a;return v.unsubscribe=p,[v,()=>{h&&clearTimeout(h),h=null}]},Fv=function*(o,i){let a=o.byteLength;if(a{const h=Vv(o,i,d);let p=0,v,$=w=>{v||(v=!0,r&&r(w))};return new ReadableStream({async pull(w){try{const{done:b,value:B}=await h.next();if(b){$(),w.close();return}let E=B.byteLength;if(a){let O=p+=E;a(O)}w.enqueue(new Uint8Array(B))}catch(b){throw $(b),b}},cancel(w){return $(w),h.return()}},{highWaterMark:2})},Yo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Sc=Yo&&typeof ReadableStream=="function",bs=Yo&&(typeof TextEncoder=="function"?(o=>i=>o.encode(i))(new TextEncoder):async o=>new Uint8Array(await new Response(o).arrayBuffer())),_c=(o,...i)=>{try{return!!o(...i)}catch{return!1}},jv=Sc&&_c(()=>{let o=!1;const i=new Request(Gt.origin,{body:new ReadableStream,method:"POST",get duplex(){return o=!0,"half"}}).headers.has("Content-Type");return o&&!i}),wl=64*1024,ws=Sc&&_c(()=>_.isReadableStream(new Response("").body)),jo={stream:ws&&(o=>o.body)};Yo&&(o=>{["text","arrayBuffer","blob","formData","stream"].forEach(i=>{!jo[i]&&(jo[i]=_.isFunction(o[i])?a=>a[i]():(a,r)=>{throw new q(`Response type '${i}' is not supported`,q.ERR_NOT_SUPPORT,r)})})})(new Response);const Mv=async o=>{if(o==null)return 0;if(_.isBlob(o))return o.size;if(_.isSpecCompliantForm(o))return(await new Request(o).arrayBuffer()).byteLength;if(_.isArrayBufferView(o)||_.isArrayBuffer(o))return o.byteLength;if(_.isURLSearchParams(o)&&(o=o+""),_.isString(o))return(await bs(o)).byteLength},Lv=async(o,i)=>_.toFiniteNumber(o.getContentLength())??Mv(i),Uv=Yo&&(async o=>{let{url:i,method:a,data:r,signal:d,cancelToken:h,timeout:p,onDownloadProgress:v,onUploadProgress:$,responseType:w,headers:b,withCredentials:B="same-origin",fetchOptions:E}=Ec(o);w=w?(w+"").toLowerCase():"text";let[O,N]=d||h||p?Iv([d,h],p):[],T,V;const L=()=>{!T&&setTimeout(()=>{O&&O.unsubscribe()}),T=!0};let j;try{if($&&jv&&a!=="get"&&a!=="head"&&(j=await Lv(b,r))!==0){let ht=new Request(i,{method:"POST",body:r,duplex:"half"}),Ct;if(_.isFormData(r)&&(Ct=ht.headers.get("content-type"))&&b.setContentType(Ct),ht.body){const[Ht,Bt]=ml(j,Vo(gl($)));r=bl(ht.body,wl,Ht,Bt,bs)}}_.isString(B)||(B=B?"include":"omit"),V=new Request(i,{...E,signal:O,method:a.toUpperCase(),headers:b.normalize().toJSON(),body:r,duplex:"half",credentials:B});let K=await fetch(V);const yt=ws&&(w==="stream"||w==="response");if(ws&&(v||yt)){const ht={};["status","statusText","headers"].forEach(rt=>{ht[rt]=K[rt]});const Ct=_.toFiniteNumber(K.headers.get("content-length")),[Ht,Bt]=v&&ml(Ct,Vo(gl(v),!0))||[];K=new Response(bl(K.body,wl,Ht,()=>{Bt&&Bt(),yt&&L()},bs),ht)}w=w||"text";let _t=await jo[_.findKey(jo,w)||"text"](K,o);return!yt&&L(),N&&N(),await new Promise((ht,Ct)=>{$c(ht,Ct,{data:_t,headers:It.from(K.headers),status:K.status,statusText:K.statusText,config:o,request:V})})}catch(K){throw L(),K&&K.name==="TypeError"&&/fetch/i.test(K.message)?Object.assign(new q("Network Error",q.ERR_NETWORK,o,V),{cause:K.cause||K}):q.from(K,K&&K.code,o,V)}}),ys={http:sv,xhr:Dv,fetch:Uv};_.forEach(ys,(o,i)=>{if(o){try{Object.defineProperty(o,"name",{value:i})}catch{}Object.defineProperty(o,"adapterName",{value:i})}});const yl=o=>`- ${o}`,zv=o=>_.isFunction(o)||o===null||o===!1,Cc={getAdapter:o=>{o=_.isArray(o)?o:[o];const{length:i}=o;let a,r;const d={};for(let h=0;h`adapter ${v} `+($===!1?"is not supported by the environment":"is not available in the build"));let p=i?h.length>1?`since : `+h.map(yl).join(` `):" "+yl(h[0]):"as no adapter specified";throw new q("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return r},adapters:ys};function as(o){if(o.cancelToken&&o.cancelToken.throwIfRequested(),o.signal&&o.signal.aborted)throw new rn(null,o)}function kl(o){return as(o),o.headers=It.from(o.headers),o.data=rs.call(o,o.transformRequest),["post","put","patch"].indexOf(o.method)!==-1&&o.headers.setContentType("application/x-www-form-urlencoded",!1),Cc.getAdapter(o.adapter||Hn.adapter)(o).then(function(i){return as(o),i.data=rs.call(o,o.transformResponse,i),i.headers=It.from(i.headers),i},function(i){return kc(i)||(as(o),i&&i.response&&(i.response.data=rs.call(o,o.transformResponse,i.response),i.response.headers=It.from(i.response.headers))),Promise.reject(i)})}const Nc="1.7.3",Os={};["object","boolean","number","function","string","symbol"].forEach((o,i)=>{Os[o]=function(a){return typeof a===o||"a"+(i<1?"n ":" ")+o}});const $l={};Os.transitional=function(o,i,a){function r(d,h){return"[Axios v"+Nc+"] Transitional option '"+d+"'"+h+(a?". "+a:"")}return(d,h,p)=>{if(o===!1)throw new q(r(h," has been removed"+(i?" in "+i:"")),q.ERR_DEPRECATED);return i&&!$l[h]&&($l[h]=!0,console.warn(r(h," has been deprecated since v"+i+" and will be removed in the near future"))),o?o(d,h,p):!0}};function Hv(o,i,a){if(typeof o!="object")throw new q("options must be an object",q.ERR_BAD_OPTION_VALUE);const r=Object.keys(o);let d=r.length;for(;d-- >0;){const h=r[d],p=i[h];if(p){const v=o[h],$=v===void 0||p(v,h,o);if($!==!0)throw new q("option "+h+" must be "+$,q.ERR_BAD_OPTION_VALUE);continue}if(a!==!0)throw new q("Unknown option "+h,q.ERR_BAD_OPTION)}}const ks={assertOptions:Hv,validators:Os},pe=ks.validators;class Ie{constructor(i){this.defaults=i,this.interceptors={request:new fl,response:new fl}}async request(i,a){try{return await this._request(i,a)}catch(r){if(r instanceof Error){let d;Error.captureStackTrace?Error.captureStackTrace(d={}):d=new Error;const h=d.stack?d.stack.replace(/^.+\n/,""):"";try{r.stack?h&&!String(r.stack).endsWith(h.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+h):r.stack=h}catch{}}throw r}}_request(i,a){typeof i=="string"?(a=a||{},a.url=i):a=i||{},a=Ve(this.defaults,a);const{transitional:r,paramsSerializer:d,headers:h}=a;r!==void 0&&ks.assertOptions(r,{silentJSONParsing:pe.transitional(pe.boolean),forcedJSONParsing:pe.transitional(pe.boolean),clarifyTimeoutError:pe.transitional(pe.boolean)},!1),d!=null&&(_.isFunction(d)?a.paramsSerializer={serialize:d}:ks.assertOptions(d,{encode:pe.function,serialize:pe.function},!0)),a.method=(a.method||this.defaults.method||"get").toLowerCase();let p=h&&_.merge(h.common,h[a.method]);h&&_.forEach(["delete","get","head","post","put","patch","common"],N=>{delete h[N]}),a.headers=It.concat(p,h);const v=[];let $=!0;this.interceptors.request.forEach(function(N){typeof N.runWhen=="function"&&N.runWhen(a)===!1||($=$&&N.synchronous,v.unshift(N.fulfilled,N.rejected))});const w=[];this.interceptors.response.forEach(function(N){w.push(N.fulfilled,N.rejected)});let b,B=0,E;if(!$){const N=[kl.bind(this),void 0];for(N.unshift.apply(N,v),N.push.apply(N,w),E=N.length,b=Promise.resolve(a);B{if(!r._listeners)return;let h=r._listeners.length;for(;h-- >0;)r._listeners[h](d);r._listeners=null}),this.promise.then=d=>{let h;const p=new Promise(v=>{r.subscribe(v),h=v}).then(d);return p.cancel=function(){r.unsubscribe(h)},p},i(function(d,h,p){r.reason||(r.reason=new rn(d,h,p),a(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const a=this._listeners.indexOf(i);a!==-1&&this._listeners.splice(a,1)}static source(){let i;return{token:new Ps(function(a){i=a}),cancel:i}}}function qv(o){return function(i){return o.apply(null,i)}}function Wv(o){return _.isObject(o)&&o.isAxiosError===!0}const $s={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($s).forEach(([o,i])=>{$s[i]=o});function Tc(o){const i=new Ie(o),a=rc(Ie.prototype.request,i);return _.extend(a,Ie.prototype,i,{allOwnKeys:!0}),_.extend(a,i,null,{allOwnKeys:!0}),a.create=function(r){return Tc(Ve(o,r))},a}const vt=Tc(Hn);vt.Axios=Ie;vt.CanceledError=rn;vt.CancelToken=Ps;vt.isCancel=kc;vt.VERSION=Nc;vt.toFormData=Xo;vt.AxiosError=q;vt.Cancel=vt.CanceledError;vt.all=function(o){return Promise.all(o)};vt.spread=qv;vt.isAxiosError=Wv;vt.mergeConfig=Ve;vt.AxiosHeaders=It;vt.formToJSON=o=>yc(_.isHTMLForm(o)?new FormData(o):o);vt.getAdapter=Cc.getAdapter;vt.HttpStatusCode=$s;vt.default=vt;const Jv=o=>{const i=typeof o;return o!==null&&(i==="object"||i==="function")},ls=new Set(["__proto__","prototype","constructor"]),Kv=new Set("0123456789");function Gv(o){const i=[];let a="",r="start",d=!1;for(const h of o)switch(h){case"\\":{if(r==="index")throw new Error("Invalid character in an index");if(r==="indexEnd")throw new Error("Invalid character after an index");d&&(a+=h),r="property",d=!d;break}case".":{if(r==="index")throw new Error("Invalid character in an index");if(r==="indexEnd"){r="property";break}if(d){d=!1,a+=h;break}if(ls.has(a))return[];i.push(a),a="",r="property";break}case"[":{if(r==="index")throw new Error("Invalid character in an index");if(r==="indexEnd"){r="index";break}if(d){d=!1,a+=h;break}if(r==="property"){if(ls.has(a))return[];i.push(a),a=""}r="index";break}case"]":{if(r==="index"){i.push(Number.parseInt(a,10)),a="",r="indexEnd";break}if(r==="indexEnd")throw new Error("Invalid character after an index")}default:{if(r==="index"&&!Kv.has(h))throw new Error("Invalid character in an index");if(r==="indexEnd")throw new Error("Invalid character after an index");r==="start"&&(r="property"),d&&(d=!1,a+="\\"),a+=h}}switch(d&&(a+="\\"),r){case"property":{if(ls.has(a))return[];i.push(a);break}case"index":throw new Error("Index was not closed");case"start":{i.push("");break}}return i}function Xv(o,i){if(typeof i!="number"&&Array.isArray(o)){const a=Number.parseInt(i,10);return Number.isInteger(a)&&o[a]===o[i]}return!1}function Yv(o,i,a){if(!Jv(o)||typeof i!="string")return a===void 0?o:a;const r=Gv(i);if(r.length===0)return a;for(let d=0;d({config:{}}),getters:{get:o=>(i,a)=>Yv(o.config,i,a)},actions:{async load(){vt.get("/api/config").then(o=>{this.config=o.data})}}});function Qv(){return{first_name:"",last_name:"",email:"",user_name:"",password:"",passwordc:"",locale:Bc().get("site.registration.user_defaults.locale","en_US"),captcha:"",spiderbro:"http://"}}function Zv(){return Bc().get("locales.available")}function tb(){return"/account/captcha"}async function eb(o){return lt.post("/account/register",o).then(i=>i.data).catch(i=>{throw{description:"An error as occurred",style:ie.Danger,closeBtn:!0,...i.response.data}})}const nb=Object.freeze(Object.defineProperty({__proto__:null,doRegister:eb,getAvailableLocales:Zv,getCaptchaUrl:tb,getDefaultForm:Qv},Symbol.toStringTag,{value:"Module"}));async function ob(o){return lt.post("/account/forgot-password",{email:o}).then(i=>({description:i.data.message,style:ie.Success,closeBtn:!0})).catch(i=>{throw{description:"An error as occurred",style:ie.Danger,closeBtn:!0,...i.response.data}})}async function ib(o){return lt.post("/account/resend-verification",{email:o}).then(i=>({description:i.data.message,style:ie.Success,closeBtn:!0})).catch(i=>{throw{description:"An error as occurred",style:ie.Danger,closeBtn:!0,...i.response.data}})}const sb={class:"uk-fieldset uk-form-stacked"},rb={class:"uk-margin"},ab={class:"uk-form-controls uk-grid-small","uk-grid":""},lb={class:"uk-width-1-2"},cb={class:"uk-width-1-2"},ub={class:"uk-width-1-1"},db={class:"uk-margin"},hb={class:"uk-margin"},fb={class:"uk-form-controls uk-grid-small","uk-grid":""},pb={class:"uk-width-1-2"},mb={class:"uk-width-1-2"},gb={class:"uk-margin"},vb=["value"],bb={class:"uk-margin"},wb={class:"uk-form-controls uk-grid-small","uk-grid":""},yb={class:"uk-width-2-3"},kb={class:"uk-width-1-3"},$b=["src"],xb={class:"uk-text-center"},Eb=["disabled"],As=l.defineComponent({__name:"FormRegister",setup(o){const{getDefaultForm:i,doRegister:a,getAvailableLocales:r,getCaptchaUrl:d}=nb,h=l.ref(!1),p=l.ref();let v=i();async function $(){h.value=!0,p.value=null,await a(v).then(w=>{xs.notification({message:"Succesfully registered "+(w==null?void 0:w.full_name)+"!",status:"success",pos:"bottom-right",timeout:4e3})}).catch(w=>{p.value=w}).finally(()=>{h.value=!1})}return(w,b)=>{const B=l.resolveComponent("UFAlert");return l.openBlock(),l.createElementBlock("form",{onSubmit:b[8]||(b[8]=l.withModifiers(E=>$(),["prevent"]))},[l.createElementVNode("fieldset",sb,[p.value?(l.openBlock(),l.createBlock(B,{key:0,"data-test":"error",alert:p.value},null,8,["alert"])):l.createCommentVNode("",!0),l.createElementVNode("div",rb,[b[9]||(b[9]=l.createElementVNode("label",{class:"uk-form-label",for:"first_name"},"Name and email",-1)),l.createElementVNode("div",ab,[l.createElementVNode("div",lb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:"First Name","aria-label":"First Name",id:"first_name","data-test":"first_name","onUpdate:modelValue":b[0]||(b[0]=E=>l.unref(v).first_name=E)},null,512),[[l.vModelText,l.unref(v).first_name]])]),l.createElementVNode("div",cb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:"Last Name","aria-label":"Last Name","data-test":"last_name","onUpdate:modelValue":b[1]||(b[1]=E=>l.unref(v).last_name=E)},null,512),[[l.vModelText,l.unref(v).last_name]])]),l.createElementVNode("div",ub,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"email",placeholder:"Email","aria-label":"Email","data-test":"email","onUpdate:modelValue":b[2]||(b[2]=E=>l.unref(v).email=E)},null,512),[[l.vModelText,l.unref(v).email]])])])]),l.createElementVNode("div",db,[b[10]||(b[10]=l.createElementVNode("label",{class:"uk-form-label",for:"form-stacked-text"},"Username",-1)),l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:"Username","aria-label":"Username","data-test":"username","onUpdate:modelValue":b[3]||(b[3]=E=>l.unref(v).user_name=E)},null,512),[[l.vModelText,l.unref(v).user_name]])]),l.createElementVNode("div",hb,[b[11]||(b[11]=l.createElementVNode("label",{class:"uk-form-label",for:"form-stacked-text"},"Password",-1)),l.createElementVNode("div",fb,[l.createElementVNode("div",pb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"password",placeholder:"Password","aria-label":"Password","data-test":"password","onUpdate:modelValue":b[4]||(b[4]=E=>l.unref(v).password=E)},null,512),[[l.vModelText,l.unref(v).password]])]),l.createElementVNode("div",mb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"password",placeholder:"Confirm Password","aria-label":"Confirm Password","data-test":"passwordc","onUpdate:modelValue":b[5]||(b[5]=E=>l.unref(v).passwordc=E)},null,512),[[l.vModelText,l.unref(v).passwordc]])])])]),l.createElementVNode("div",gb,[b[12]||(b[12]=l.createElementVNode("label",{class:"uk-form-label",for:"form-stacked-text"},"Locale",-1)),l.withDirectives(l.createElementVNode("select",{class:"uk-select",id:"form-stacked-select","data-test":"locale","onUpdate:modelValue":b[6]||(b[6]=E=>l.unref(v).locale=E)},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(r)(),(E,O)=>(l.openBlock(),l.createElementBlock("option",{value:O,key:O},l.toDisplayString(E),9,vb))),128))],512),[[l.vModelSelect,l.unref(v).locale]])]),l.createElementVNode("div",bb,[b[13]||(b[13]=l.createElementVNode("label",{class:"uk-form-label",for:"r-form-captcha"},"Captcha",-1)),l.createElementVNode("div",wb,[l.createElementVNode("div",yb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"password",placeholder:"Captcha","aria-label":"Captcha",id:"r-form-captcha","data-test":"captcha","onUpdate:modelValue":b[7]||(b[7]=E=>l.unref(v).captcha=E)},null,512),[[l.vModelText,l.unref(v).captcha]])]),l.createElementVNode("div",kb,[l.createElementVNode("img",{src:l.unref(d)(),id:"captcha","data-target":"#r-form-captcha"},null,8,$b)])])]),b[14]||(b[14]=l.createElementVNode("p",null,[l.createTextVNode(" By registering an account with UserFrosting, you accept "),l.createElementVNode("a",null,"the terms and conditions"),l.createTextVNode(". ")],-1)),l.createElementVNode("div",xb,[l.createElementVNode("button",{class:"uk-button uk-button-primary",disabled:h.value},"Sign me up",8,Eb)])])],32)}}}),Sb={class:"uk-fieldset"},_b={class:"uk-margin"},Cb={class:"uk-inline uk-width-1-1"},Nb={class:"uk-text-center"},Tb=["disabled"],Rs=l.defineComponent({__name:"FormForgotPassword",setup(o){const i=l.ref(!1),a=l.ref();let r="";async function d(){i.value=!0,a.value=null,await ob(r).then(h=>{a.value=h}).catch(h=>{a.value=h}).finally(()=>{i.value=!1})}return(h,p)=>{const v=l.resolveComponent("UFAlert");return l.openBlock(),l.createElementBlock("form",{onSubmit:p[1]||(p[1]=l.withModifiers($=>d(),["prevent"]))},[l.createElementVNode("fieldset",Sb,[a.value?(l.openBlock(),l.createBlock(v,{key:0,"data-test":"error",alert:a.value},null,8,["alert"])):l.createCommentVNode("",!0),l.createElementVNode("div",_b,[l.createElementVNode("div",Cb,[p[2]||(p[2]=l.createElementVNode("span",{class:"uk-form-icon","uk-icon":"icon: mail"},null,-1)),l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"email",placeholder:"Email","aria-label":"Email","data-test":"email","onUpdate:modelValue":p[0]||(p[0]=$=>l.isRef(r)?r.value=$:r=$)},null,512),[[l.vModelText,l.unref(r)]])])]),l.createElementVNode("div",Nb,[l.createElementVNode("button",{class:"uk-button uk-button-primary",disabled:i.value,"data-test":"submit"}," Email Password Reset Link ",8,Tb)])])],32)}}}),Bb={"uk-sticky":"sel-target: .uk-navbar-container; cls-active: uk-navbar-sticky"},Ob={class:"uk-navbar-container"},Pb={class:"uk-container uk-container-expand"},Ab={class:"uk-navbar","uk-navbar":""},Rb={class:"uk-navbar-left","data-test":"navbar-left"},Db={class:"uk-navbar-right","data-test":"navbar-right"},Ib={class:"uk-navbar-nav"},Oc=l.defineComponent({__name:"NavBar",props:{to:{default:""},title:{default:""}},setup(o){return(i,a)=>(l.openBlock(),l.createElementBlock("header",null,[l.createElementVNode("div",Bb,[l.createElementVNode("div",Ob,[l.createElementVNode("div",Pb,[l.createElementVNode("nav",Ab,[l.createElementVNode("div",Rb,[l.createVNode(Mo,{to:i.to,class:"uk-navbar-item uk-logo",label:""},{default:l.withCtx(()=>[l.renderSlot(i.$slots,"title",{},()=>[l.createTextVNode(l.toDisplayString(i.title),1)])]),_:3},8,["to"])]),l.createElementVNode("div",Db,[l.createElementVNode("ul",Ib,[l.renderSlot(i.$slots,"default")])])])])])])]))}}),Fb={"data-test":"label"},Vb={class:"uk-navbar-dropdown","uk-dropdown":"offset: 0px"},jb={class:"uk-nav uk-navbar-dropdown-nav","data-test":"slot"},Qo=l.defineComponent({__name:"NavBarDropdown",props:{label:{default:""}},setup(o){return(i,a)=>(l.openBlock(),l.createElementBlock("li",null,[l.createElementVNode("a",Fb,[l.renderSlot(i.$slots,"label",{},()=>[l.createTextVNode(l.toDisplayString(i.label),1)]),a[0]||(a[0]=l.createTextVNode()),a[1]||(a[1]=l.createElementVNode("span",{"uk-navbar-parent-icon":""},null,-1))]),l.createElementVNode("div",Vb,[l.createElementVNode("ul",jb,[l.renderSlot(i.$slots,"default")])])]))}}),Mb={},Lb={class:"uk-nav-divider"};function Ub(o,i){return l.openBlock(),l.createElementBlock("li",Lb)}const Pc=Mn(Mb,[["render",Ub]]),zb={key:0},Hb=["href"],qb=["href","onClick"],Ac=l.defineComponent({__name:"NavBarItem",props:{to:{default:""},label:{default:""}},setup(o){const i=o,a=l.computed(()=>i.to===""||typeof i.to=="string"&&i.to.startsWith("http"));return(r,d)=>a.value?(l.openBlock(),l.createElementBlock("li",zb,[l.createElementVNode("a",{href:r.to.toString(),target:"_blank"},[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],8,Hb)])):(l.openBlock(),l.createBlock(l.unref(jn.RouterLink),l.mergeProps({key:1,to:r.to},r.$props,{custom:""}),{default:l.withCtx(({isActive:h,href:p,navigate:v})=>[l.createElementVNode("li",{class:l.normalizeClass({"uk-active":h})},[l.createElementVNode("a",l.mergeProps(r.$attrs,{href:p,onClick:v}),[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],16,qb)],2)]),_:3},16,["to"]))}}),Wb={class:"uk-text-center"},Rc=l.defineComponent({__name:"NavBarLogin",setup(o){return(i,a)=>(l.openBlock(),l.createBlock(Qo,{label:"Login",class:"uf-nav-login uk-text-center"},{default:l.withCtx(()=>[l.createVNode(Wo),l.createElementVNode("div",Wb,[l.createElementVNode("button",{class:"uk-button uk-button-default",onClick:a[0]||(a[0]=r=>i.$emit("gotoRegistration")),"data-test":"gotoRegistration"}," Register ")]),l.renderSlot(i.$slots,"default")]),_:3}))}}),Jb={key:0,"data-test":"username"},Kb=["src"],Gb={class:"uk-margin"},Xb=["src"],Yb={key:1,class:"uk-margin-remove","data-test":"username"},Qb={key:2,class:"uk-margin-remove uk-text-meta","data-test":"meta"},Dc=l.defineComponent({__name:"NavBarUserCard",props:{username:{default:""},avatar:{default:""},meta:{default:""}},setup(o){return(i,a)=>(l.openBlock(),l.createBlock(Qo,{class:"uf-nav-user uk-text-center"},{label:l.withCtx(()=>[i.username?(l.openBlock(),l.createElementBlock("span",Jb,l.toDisplayString(i.username),1)):l.createCommentVNode("",!0),i.avatar?(l.openBlock(),l.createElementBlock("img",{key:1,src:i.avatar,alt:"avatar",class:"uk-border-circle"},null,8,Kb)):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createElementVNode("div",Gb,[i.avatar?(l.openBlock(),l.createElementBlock("img",{key:0,src:i.avatar,alt:"avatar",class:"uk-border-circle","uk-height-match":""},null,8,Xb)):l.createCommentVNode("",!0),i.username?(l.openBlock(),l.createElementBlock("p",Yb,l.toDisplayString(i.username),1)):l.createCommentVNode("",!0),i.meta?(l.openBlock(),l.createElementBlock("p",Qb,"("+l.toDisplayString(i.meta)+")",1)):l.createCommentVNode("",!0)]),l.renderSlot(i.$slots,"default",{dataTest:"slot"})]),_:3}))}}),Zb={key:0},tw=["href"],ew={key:1},Ic=l.defineComponent({__name:"NavBarUserCardButton",props:{to:{default:""},label:{default:""}},setup(o){const i=o,a=l.computed(()=>typeof i.to=="string"&&i.to.startsWith("http"));return(r,d)=>a.value?(l.openBlock(),l.createElementBlock("li",Zb,[l.createElementVNode("a",{class:"uk-button uk-button-default uk-button-small uk-text-center",href:r.to.toString(),target:"_blank"},[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],8,tw)])):(l.openBlock(),l.createElementBlock("li",ew,[l.createVNode(l.unref(jn.RouterLink),{to:r.to,class:"uk-button uk-button-default uk-button-small uk-text-center"},{default:l.withCtx(()=>[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])]),_:3},8,["to"])]))}}),nw={class:"uk-list"},ow={class:"uk-text-center"},Fc=l.defineComponent({__name:"PageLogin",setup(o){return(i,a)=>{const r=l.resolveComponent("font-awesome-icon"),d=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(d,null,{default:l.withCtx(()=>[a[5]||(a[5]=l.createElementVNode("h3",{class:"uk-card-title"},"Login",-1)),l.createVNode(Wo),l.createElementVNode("ul",nw,[l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:a[0]||(a[0]=h=>i.$emit("gotoForgotPassword")),"data-test":"gotoForgotPassword"},"Forgot your password?")]),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:a[1]||(a[1]=h=>i.$emit("gotoResendVerification")),"data-test":"gotoResendVerification"},"Resend verification email")])]),a[6]||(a[6]=l.createElementVNode("hr",null,null,-1)),l.createElementVNode("div",ow,[a[4]||(a[4]=l.createElementVNode("p",null,"You don't have an account yet?",-1)),l.createElementVNode("button",{class:"uk-button uk-button-default",onClick:a[2]||(a[2]=h=>i.$emit("gotoRegistration")),"data-test":"gotoRegistration"},[l.createVNode(r,{icon:["fas","user-plus"]}),a[3]||(a[3]=l.createTextVNode(" Register "))])])]),_:1})}}}),iw={class:"uk-text-center"},Vc=l.defineComponent({__name:"PageRegister",setup(o){return(i,a)=>{const r=l.resolveComponent("font-awesome-icon"),d=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(d,null,{default:l.withCtx(()=>[a[3]||(a[3]=l.createElementVNode("h3",{class:"uk-card-title"},"Register",-1)),l.createVNode(As),a[4]||(a[4]=l.createElementVNode("hr",null,null,-1)),l.createElementVNode("div",iw,[a[2]||(a[2]=l.createElementVNode("p",null,"Already have an account ?",-1)),l.createElementVNode("button",{class:"uk-button uk-button-default",onClick:a[0]||(a[0]=h=>i.$emit("gotoLogin")),"data-test":"gotoLogin"},[l.createVNode(r,{icon:["fas","right-to-bracket"]}),a[1]||(a[1]=l.createTextVNode(" Login "))])])]),_:1})}}}),jc=l.defineComponent({__name:"PageForgotPassword",setup(o){return(i,a)=>{const r=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(r,null,{default:l.withCtx(()=>[a[0]||(a[0]=l.createElementVNode("h3",{class:"uk-card-title"},"Forgotten Password",-1)),a[1]||(a[1]=l.createElementVNode("p",null," Please enter the email address you used to sign up. A link with instructions to reset your password will be emailed to you. ",-1)),l.createVNode(Rs)]),_:1})}}}),sw={class:"uk-fieldset"},rw={class:"uk-margin"},aw={class:"uk-inline uk-width-1-1"},lw={class:"uk-text-center"},cw=["disabled"],uw=l.defineComponent({__name:"FormResendVerification",setup(o){const i=l.ref(!1),a=l.ref();let r="";async function d(){i.value=!0,a.value=null,await ib(r).then(h=>{a.value=h}).catch(h=>{a.value=h}).finally(()=>{i.value=!1})}return(h,p)=>{const v=l.resolveComponent("UFAlert");return l.openBlock(),l.createElementBlock("form",{onSubmit:p[1]||(p[1]=l.withModifiers($=>d(),["prevent"]))},[l.createElementVNode("fieldset",sw,[a.value?(l.openBlock(),l.createBlock(v,{key:0,"data-test":"error",alert:a.value},null,8,["alert"])):l.createCommentVNode("",!0),l.createElementVNode("div",rw,[l.createElementVNode("div",aw,[p[2]||(p[2]=l.createElementVNode("span",{class:"uk-form-icon","uk-icon":"icon: mail"},null,-1)),l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"email",placeholder:"Email","aria-label":"Email","data-test":"email","onUpdate:modelValue":p[0]||(p[0]=$=>l.isRef(r)?r.value=$:r=$)},null,512),[[l.vModelText,l.unref(r)]])])]),l.createElementVNode("div",lw,[l.createElementVNode("button",{class:"uk-button uk-button-primary",disabled:i.value,"data-test":"submit"}," Email the verification link for my account ",8,cw)])])],32)}}}),Mc=l.defineComponent({__name:"PageResendVerification",setup(o){return(i,a)=>{const r=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(r,null,{default:l.withCtx(()=>[a[0]||(a[0]=l.createElementVNode("h3",{class:"uk-card-title"},"Resend Verification Email",-1)),a[1]||(a[1]=l.createElementVNode("p",null," Please enter the email address you used to sign up, and your verification email will be resent. ",-1)),l.createVNode(uw)]),_:1})}}}),dw={},hw={class:"uf-sidebar-left uk-light uk-visible@m"},fw={class:"left-nav-wrap"},pw={class:"uk-nav uk-nav-default","data-uk-nav":""};function mw(o,i){return l.openBlock(),l.createElementBlock("aside",hw,[l.createElementVNode("div",fw,[l.createElementVNode("ul",pw,[l.renderSlot(o.$slots,"default")])])])}const Lc=Mn(dw,[["render",mw]]),gw=["data-uk-icon"],vw={key:2,"uk-nav-parent-icon":"","data-test":"caret"},bw={class:"uk-nav-sub","data-test":"slot"},Uc=l.defineComponent({__name:"SideBarDropdown",props:{to:{default:""},label:{default:""},faIcon:{default:""},icon:{default:""},hideCaret:{type:Boolean,default:!1}},setup(o){return(i,a)=>{const r=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createBlock(l.unref(jn.RouterLink),l.mergeProps({to:i.to},i.$props,{custom:""}),{default:l.withCtx(({isActive:d})=>[l.createElementVNode("li",{class:l.normalizeClass(["uk-parent",{"uk-open":d}])},[l.createElementVNode("a",l.normalizeProps(l.guardReactiveProps(i.$attrs)),[i.icon?(l.openBlock(),l.createElementBlock("span",{key:0,"data-uk-icon":i.icon,class:"uk-margin-small-right","data-test":"icon"},null,8,gw)):l.createCommentVNode("",!0),i.faIcon?(l.openBlock(),l.createBlock(r,{key:1,class:"uk-margin-small-right",icon:i.faIcon,"data-test":"faIcon"},null,8,["icon"])):l.createCommentVNode("",!0),l.renderSlot(i.$slots,"label",{},()=>[l.createTextVNode(l.toDisplayString(i.label),1)]),i.hideCaret?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("span",vw))],16),l.createElementVNode("ul",bw,[l.renderSlot(i.$slots,"default")])],2)]),_:3},16,["to"])}}}),ww={key:0},yw=["href"],kw=["data-uk-icon"],$w=["href","onClick"],xw=["data-uk-icon"],zc=l.defineComponent({__name:"SideBarItem",props:{to:{default:""},label:{default:""},faIcon:{default:""},icon:{default:""}},setup(o){const i=o,a=l.computed(()=>i.to===""||typeof i.to=="string"&&i.to.startsWith("http"));return(r,d)=>{const h=l.resolveComponent("font-awesome-icon");return a.value?(l.openBlock(),l.createElementBlock("li",ww,[l.createElementVNode("a",{href:r.to.toString(),target:"_blank"},[r.icon?(l.openBlock(),l.createElementBlock("span",{key:0,"data-uk-icon":r.icon,class:"uk-margin-small-right","data-test":"icon"},null,8,kw)):l.createCommentVNode("",!0),r.faIcon?(l.openBlock(),l.createBlock(h,{key:1,class:"uk-margin-small-right",icon:r.faIcon,"data-test":"faIcon"},null,8,["icon"])):l.createCommentVNode("",!0),l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],8,yw)])):(l.openBlock(),l.createBlock(l.unref(jn.RouterLink),l.mergeProps({key:1,to:r.to},r.$props,{custom:""}),{default:l.withCtx(({isActive:p,href:v,navigate:$})=>[l.createElementVNode("li",{class:l.normalizeClass({"uk-active":p})},[l.createElementVNode("a",l.mergeProps(r.$attrs,{href:v,onClick:$}),[r.icon?(l.openBlock(),l.createElementBlock("span",{key:0,"data-uk-icon":r.icon,class:"uk-margin-small-right","data-test":"icon"},null,8,xw)):l.createCommentVNode("",!0),r.faIcon?(l.openBlock(),l.createBlock(h,{key:1,class:"uk-margin-small-right",icon:r.faIcon,"data-test":"faIcon"},null,8,["icon"])):l.createCommentVNode("",!0),l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],16,$w)],2)]),_:3},16,["to"]))}}}),Ew={class:"uk-nav-header"},Hc=l.defineComponent({__name:"SideBarLabel",props:{label:{}},setup(o){return(i,a)=>(l.openBlock(),l.createElementBlock("li",Ew,l.toDisplayString(i.label),1))}}),Sw={};function _w(o,i){return l.openBlock(),l.createElementBlock("td",null,[l.renderSlot(o.$slots,"default")])}const qc=Mn(Sw,[["render",_w]]),Cw={key:0,class:"uk-table-link uk-padding-small"},Nw={key:1,class:"uk-padding-small"},Wc=l.defineComponent({__name:"SprunjeHeader",props:{sort:{}},setup(o){const i=l.inject("sprunjer"),{sorts:a,toggleSort:r}=i;return(d,h)=>{const p=l.resolveComponent("font-awesome-icon");return d.sort?(l.openBlock(),l.createElementBlock("th",Cw,[l.createElementVNode("a",{class:"uk-link-reset",onClick:h[0]||(h[0]=v=>l.unref(r)(d.sort))},[l.renderSlot(d.$slots,"default"),l.unref(a)[d.sort]==="asc"?(l.openBlock(),l.createBlock(p,{key:0,icon:["fas","sort-up"],"fixed-width":"",class:"uk-align-right uk-margin-remove"})):l.unref(a)[d.sort]==="desc"?(l.openBlock(),l.createBlock(p,{key:1,icon:["fas","sort-down"],"fixed-width":"",class:"uk-align-right uk-margin-remove"})):(l.openBlock(),l.createBlock(p,{key:2,icon:["fas","sort"],"fixed-width":"",class:"uk-align-right uk-margin-remove"}))])])):(l.openBlock(),l.createElementBlock("th",Nw,[l.renderSlot(d.$slots,"default")]))}}}),Tw={class:"uk-child-width-auto","uk-grid":""},Bw={class:"uk-text-left uk-text-meta"},Ow={class:"uk-text-center uk-width-expand"},Pw=["value"],Aw={class:"uk-text-right"},Rw={"aria-label":"Pagination"},Dw={class:"uk-pagination uk-flex-right","uk-margin":""},Ds=l.defineComponent({__name:"SprunjePaginator",props:{rowsPerPageOptions:{default:()=>[5,10,20,50]}},setup(o){const i=l.inject("sprunjer"),{size:a,page:r,totalPages:d,countFiltered:h,first:p,last:v}=i;function $(w){r.value=w}return(w,b)=>{const B=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createElementBlock("div",Tw,[l.createElementVNode("div",Bw,[l.createElementVNode("span",null,"Showing "+l.toDisplayString(l.unref(p))+" - "+l.toDisplayString(l.unref(v))+" of "+l.toDisplayString(l.unref(h)),1)]),l.createElementVNode("div",Ow,[l.withDirectives(l.createElementVNode("select",{class:"uk-select uk-form-small uk-form-width-small","aria-label":"Select per page","onUpdate:modelValue":b[0]||(b[0]=E=>l.isRef(a)?a.value=E:null)},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(w.rowsPerPageOptions,E=>(l.openBlock(),l.createElementBlock("option",{key:E,value:E},l.toDisplayString(E)+" per page ",9,Pw))),128))],512),[[l.vModelSelect,l.unref(a)]])]),l.createElementVNode("div",Aw,[l.createElementVNode("nav",Rw,[l.createElementVNode("ul",Dw,[l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:b[1]||(b[1]=E=>$(0)),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===0}])},[l.createVNode(B,{icon:"angles-left","fixed-width":""})],2)]),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:b[2]||(b[2]=E=>$(l.unref(r)-1)),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===0}])},[l.createVNode(B,{icon:"angle-left","fixed-width":""})],2)]),l.createElementVNode("li",null,"Page "+l.toDisplayString(l.unref(r)+1)+" of "+l.toDisplayString(l.unref(d)+1),1),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:b[3]||(b[3]=E=>$(l.unref(r)+1)),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===l.unref(d)}])},[l.createVNode(B,{icon:"angle-right","fixed-width":""})],2)]),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:b[4]||(b[4]=E=>$(l.unref(d))),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===l.unref(d)}])},[l.createVNode(B,{icon:"angles-right","fixed-width":""})],2)])])])])])}}}),Iw={key:0,class:"uk-search uk-search-default"},Fw=["placeholder"],Vw=l.defineComponent({__name:"SprunjeSearch",props:{column:{type:String,required:!0},label:{type:String}},setup(o){const i=o,a=l.inject("sprunjer"),{filters:r}=a,d=l.computed(()=>i.label?"Search "+i.label+"...":"Search "+i.column+"...");return(h,p)=>o.column?(l.openBlock(),l.createElementBlock("div",Iw,[l.withDirectives(l.createElementVNode("input",{class:"uk-search-input uk-form-small",type:"search",placeholder:d.value,"aria-label":"Search","onUpdate:modelValue":p[0]||(p[0]=v=>l.unref(r)[o.column]=v)},null,8,Fw),[[l.vModelText,l.unref(r)[o.column]]]),p[1]||(p[1]=l.createElementVNode("span",{class:"uk-search-icon-flip","uk-search-icon":""},null,-1))])):l.createCommentVNode("",!0)}}),jw=["onUpdate:modelValue"],Mw=["value"],Lw=["placeholder","onUpdate:modelValue"],Uw=l.defineComponent({__name:"SprunjeFilters",setup(o){const i=l.inject("sprunjer"),{data:a,filters:r}=i,d=l.computed(()=>a.value.filterable),h=l.computed(()=>a.value.listable),p=()=>{r.value={}},v=w=>h.value[w]!==void 0,$=w=>h.value[w];return(w,b)=>{const B=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createElementBlock(l.Fragment,null,[b[2]||(b[2]=l.createElementVNode("h3",{class:"uk-heading-divider"},"Filters",-1)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(d.value,(E,O)=>(l.openBlock(),l.createElementBlock("dl",{class:"uk-description-list",key:O},[l.createElementVNode("dt",null,l.toDisplayString(E),1),l.createElementVNode("dd",null,[v(E)?l.withDirectives((l.openBlock(),l.createElementBlock("select",{key:0,"onUpdate:modelValue":N=>l.unref(r)[E]=N,class:"uk-select"},[b[0]||(b[0]=l.createElementVNode("option",{value:""},"Any",-1)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList($(E),N=>(l.openBlock(),l.createElementBlock("option",{key:N.value,value:N.value},l.toDisplayString(N.text),9,Mw))),128))],8,jw)),[[l.vModelSelect,l.unref(r)[E]]]):l.withDirectives((l.openBlock(),l.createElementBlock("input",{key:1,class:"uk-input",type:"text",placeholder:E,"onUpdate:modelValue":N=>l.unref(r)[E]=N},null,8,Lw)),[[l.vModelText,l.unref(r)[E]]])])]))),128)),l.createElementVNode("button",{class:"uk-button uk-button-default uk-button-small",onClick:p},[l.createVNode(B,{icon:"xmark","fixed-width":""}),b[1]||(b[1]=l.createTextVNode(" Clear filters "))])],64)}}}),zw={"uk-grid":"",class:"uk-child-width-1-2"},Hw={class:"uk-text-left"},qw={class:"uk-text-right"},Ww={"uk-grid":"",class:"uk-grid-small uk-grid-divider"},Jw={class:"uk-width-expand"},Kw={class:"uk-table uk-table-striped uk-table-small"},Gw={key:0,class:"uk-width-1-4"},Jc=l.defineComponent({__name:"SprunjeTable",props:{dataUrl:{},hidePagination:{type:Boolean,default:!1},hideFilters:{type:Boolean,default:!1},defaultSorts:{default:()=>({})},defaultFilters:{default:()=>({})},defaultSize:{default:10},defaultPage:{default:0},searchColumn:{default:null}},setup(o){const i=l.ref(!1),a=ip.useSprunjer(()=>o.dataUrl,o.defaultSorts,o.defaultFilters,o.defaultSize,o.defaultPage),{rows:r}=a;return l.provide("sprunjer",a),(d,h)=>{const p=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createElementBlock(l.Fragment,null,[l.createElementVNode("div",zw,[l.createElementVNode("div",Hw,[l.renderSlot(d.$slots,"actions")]),l.createElementVNode("div",qw,[l.renderSlot(d.$slots,"filters"),d.searchColumn?(l.openBlock(),l.createBlock(Vw,{key:0,column:d.searchColumn},null,8,["column"])):l.createCommentVNode("",!0),d.hideFilters?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("a",{key:1,class:"uk-button uk-button-default uk-button-small",onClick:h[0]||(h[0]=v=>i.value=!i.value)},[l.createVNode(p,{icon:"filter"})]))])]),l.createElementVNode("div",Ww,[l.createElementVNode("div",Jw,[l.createElementVNode("table",Kw,[l.createElementVNode("thead",null,[l.createElementVNode("tr",null,[l.renderSlot(d.$slots,"header")])]),l.createElementVNode("tbody",null,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(r),v=>(l.openBlock(),l.createElementBlock("tr",{key:v.id},[l.renderSlot(d.$slots,"body",{item:v})]))),128))])])]),i.value===!0?(l.openBlock(),l.createElementBlock("div",Gw,[l.createVNode(Uw),l.renderSlot(d.$slots,"filterPanel")])):l.createCommentVNode("",!0)]),d.hidePagination?l.createCommentVNode("",!0):l.renderSlot(d.$slots,"paginator",{key:0},()=>[l.createVNode(Ds)])],64)}}}),Xw={install:o=>{o.component("UFAlert",El).component("UFLabel",Sl).component("UFAppLink",Mo).component("UFInfoBox",_l).component("UFCardBox",Cl).component("UFCardBoxBig",Nl).component("UFMainContent",Tl).component("UFHeaderPage",Bl).component("UFFooterContent",Ol).component("UFFormLogin",Wo).component("UFFormRegister",As).component("UFFormForgotPassword",Rs).component("UFNavBar",Oc).component("UFNavBarDropdown",Qo).component("UFNavBarDropdownSeparator",Pc).component("UFNavBarItem",Ac).component("UFNavBarLogin",Rc).component("UFNavBarUserCard",Dc).component("UFNavBarUserCardButton",Ic).component("UFPageLogin",Fc).component("UFPageRegister",Vc).component("UFPageForgotPassword",jc).component("UFPageResendVerification",Mc).component("UFSideBar",Lc).component("UFSideBarDropdown",Uc).component("UFSideBarItem",zc).component("UFSideBarLabel",Hc).component("UFSprunjeColumn",qc).component("UFSprunjeHeader",Wc).component("UFSprunjePaginator",Ds).component("UFSprunjeTable",Jc)}};exports.FooterContent=Ol;exports.MainContent=Tl;exports.NavBarDropdownSeparator=Pc;exports.PinkCupcakeComponents=Xw;exports.SideBar=Lc;exports.SprunjeColumn=qc;exports.UIkit=xs;exports._sfc_main=El;exports._sfc_main$1=Sl;exports._sfc_main$10=Oc;exports._sfc_main$11=Qo;exports._sfc_main$12=Ac;exports._sfc_main$13=Rc;exports._sfc_main$14=Dc;exports._sfc_main$15=Ic;exports._sfc_main$16=Fc;exports._sfc_main$17=Vc;exports._sfc_main$18=jc;exports._sfc_main$19=Mc;exports._sfc_main$2=Mo;exports._sfc_main$20=Uc;exports._sfc_main$21=zc;exports._sfc_main$22=Hc;exports._sfc_main$23=Wc;exports._sfc_main$24=Ds;exports._sfc_main$25=Jc;exports._sfc_main$3=_l;exports._sfc_main$4=Cl;exports._sfc_main$5=Nl;exports._sfc_main$6=Bl;exports._sfc_main$7=Wo;exports._sfc_main$8=As;exports._sfc_main$9=Rs;exports.commonjsGlobal=Pl;exports.getDefaultExportFromCjs=Al; +`+h):r.stack=h}catch{}}throw r}}_request(i,a){typeof i=="string"?(a=a||{},a.url=i):a=i||{},a=Ve(this.defaults,a);const{transitional:r,paramsSerializer:d,headers:h}=a;r!==void 0&&ks.assertOptions(r,{silentJSONParsing:pe.transitional(pe.boolean),forcedJSONParsing:pe.transitional(pe.boolean),clarifyTimeoutError:pe.transitional(pe.boolean)},!1),d!=null&&(_.isFunction(d)?a.paramsSerializer={serialize:d}:ks.assertOptions(d,{encode:pe.function,serialize:pe.function},!0)),a.method=(a.method||this.defaults.method||"get").toLowerCase();let p=h&&_.merge(h.common,h[a.method]);h&&_.forEach(["delete","get","head","post","put","patch","common"],N=>{delete h[N]}),a.headers=It.concat(p,h);const v=[];let $=!0;this.interceptors.request.forEach(function(N){typeof N.runWhen=="function"&&N.runWhen(a)===!1||($=$&&N.synchronous,v.unshift(N.fulfilled,N.rejected))});const w=[];this.interceptors.response.forEach(function(N){w.push(N.fulfilled,N.rejected)});let b,B=0,E;if(!$){const N=[kl.bind(this),void 0];for(N.unshift.apply(N,v),N.push.apply(N,w),E=N.length,b=Promise.resolve(a);B{if(!r._listeners)return;let h=r._listeners.length;for(;h-- >0;)r._listeners[h](d);r._listeners=null}),this.promise.then=d=>{let h;const p=new Promise(v=>{r.subscribe(v),h=v}).then(d);return p.cancel=function(){r.unsubscribe(h)},p},i(function(d,h,p){r.reason||(r.reason=new rn(d,h,p),a(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const a=this._listeners.indexOf(i);a!==-1&&this._listeners.splice(a,1)}static source(){let i;return{token:new Ps(function(a){i=a}),cancel:i}}}function qv(o){return function(i){return o.apply(null,i)}}function Wv(o){return _.isObject(o)&&o.isAxiosError===!0}const $s={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($s).forEach(([o,i])=>{$s[i]=o});function Tc(o){const i=new Ie(o),a=rc(Ie.prototype.request,i);return _.extend(a,Ie.prototype,i,{allOwnKeys:!0}),_.extend(a,i,null,{allOwnKeys:!0}),a.create=function(r){return Tc(Ve(o,r))},a}const vt=Tc(Hn);vt.Axios=Ie;vt.CanceledError=rn;vt.CancelToken=Ps;vt.isCancel=kc;vt.VERSION=Nc;vt.toFormData=Xo;vt.AxiosError=q;vt.Cancel=vt.CanceledError;vt.all=function(o){return Promise.all(o)};vt.spread=qv;vt.isAxiosError=Wv;vt.mergeConfig=Ve;vt.AxiosHeaders=It;vt.formToJSON=o=>yc(_.isHTMLForm(o)?new FormData(o):o);vt.getAdapter=Cc.getAdapter;vt.HttpStatusCode=$s;vt.default=vt;const Jv=o=>{const i=typeof o;return o!==null&&(i==="object"||i==="function")},ls=new Set(["__proto__","prototype","constructor"]),Kv=new Set("0123456789");function Gv(o){const i=[];let a="",r="start",d=!1;for(const h of o)switch(h){case"\\":{if(r==="index")throw new Error("Invalid character in an index");if(r==="indexEnd")throw new Error("Invalid character after an index");d&&(a+=h),r="property",d=!d;break}case".":{if(r==="index")throw new Error("Invalid character in an index");if(r==="indexEnd"){r="property";break}if(d){d=!1,a+=h;break}if(ls.has(a))return[];i.push(a),a="",r="property";break}case"[":{if(r==="index")throw new Error("Invalid character in an index");if(r==="indexEnd"){r="index";break}if(d){d=!1,a+=h;break}if(r==="property"){if(ls.has(a))return[];i.push(a),a=""}r="index";break}case"]":{if(r==="index"){i.push(Number.parseInt(a,10)),a="",r="indexEnd";break}if(r==="indexEnd")throw new Error("Invalid character after an index")}default:{if(r==="index"&&!Kv.has(h))throw new Error("Invalid character in an index");if(r==="indexEnd")throw new Error("Invalid character after an index");r==="start"&&(r="property"),d&&(d=!1,a+="\\"),a+=h}}switch(d&&(a+="\\"),r){case"property":{if(ls.has(a))return[];i.push(a);break}case"index":throw new Error("Index was not closed");case"start":{i.push("");break}}return i}function Xv(o,i){if(typeof i!="number"&&Array.isArray(o)){const a=Number.parseInt(i,10);return Number.isInteger(a)&&o[a]===o[i]}return!1}function Yv(o,i,a){if(!Jv(o)||typeof i!="string")return a===void 0?o:a;const r=Gv(i);if(r.length===0)return a;for(let d=0;d({config:{}}),getters:{get:o=>(i,a)=>Yv(o.config,i,a)},actions:{async load(){vt.get("/api/config").then(o=>{this.config=o.data})}}});function Qv(){return{first_name:"",last_name:"",email:"",user_name:"",password:"",passwordc:"",locale:Bc().get("site.registration.user_defaults.locale","en_US"),captcha:"",spiderbro:"http://"}}function Zv(){return Bc().get("locales.available")}function tb(){return"/account/captcha"}async function eb(o){return lt.post("/account/register",o).then(i=>i.data).catch(i=>{throw{description:"An error as occurred",style:ie.Danger,closeBtn:!0,...i.response.data}})}const nb=Object.freeze(Object.defineProperty({__proto__:null,doRegister:eb,getAvailableLocales:Zv,getCaptchaUrl:tb,getDefaultForm:Qv},Symbol.toStringTag,{value:"Module"}));async function ob(o){return lt.post("/account/forgot-password",{email:o}).then(i=>({description:i.data.message,style:ie.Success,closeBtn:!0})).catch(i=>{throw{description:"An error as occurred",style:ie.Danger,closeBtn:!0,...i.response.data}})}async function ib(o){return lt.post("/account/resend-verification",{email:o}).then(i=>({description:i.data.message,style:ie.Success,closeBtn:!0})).catch(i=>{throw{description:"An error as occurred",style:ie.Danger,closeBtn:!0,...i.response.data}})}const sb={class:"uk-fieldset uk-form-stacked"},rb={class:"uk-margin"},ab={class:"uk-form-controls uk-grid-small","uk-grid":""},lb={class:"uk-width-1-2"},cb={class:"uk-width-1-2"},ub={class:"uk-width-1-1"},db={class:"uk-margin"},hb={class:"uk-margin"},fb={class:"uk-form-controls uk-grid-small","uk-grid":""},pb={class:"uk-width-1-2"},mb={class:"uk-width-1-2"},gb={class:"uk-margin"},vb=["value"],bb={class:"uk-margin"},wb={class:"uk-form-controls uk-grid-small","uk-grid":""},yb={class:"uk-width-2-3"},kb={class:"uk-width-1-3"},$b=["src"],xb={class:"uk-text-center"},Eb=["disabled"],As=l.defineComponent({__name:"FormRegister",setup(o){const{getDefaultForm:i,doRegister:a,getAvailableLocales:r,getCaptchaUrl:d}=nb,h=l.ref(!1),p=l.ref();let v=i();async function $(){h.value=!0,p.value=null,await a(v).then(w=>{xs.notification({message:"Succesfully registered "+(w==null?void 0:w.full_name)+"!",status:"success",pos:"bottom-right",timeout:4e3})}).catch(w=>{p.value=w}).finally(()=>{h.value=!1})}return(w,b)=>{const B=l.resolveComponent("UFAlert");return l.openBlock(),l.createElementBlock("form",{onSubmit:b[8]||(b[8]=l.withModifiers(E=>$(),["prevent"]))},[l.createElementVNode("fieldset",sb,[p.value?(l.openBlock(),l.createBlock(B,{key:0,"data-test":"error",alert:p.value},null,8,["alert"])):l.createCommentVNode("",!0),l.createElementVNode("div",rb,[b[9]||(b[9]=l.createElementVNode("label",{class:"uk-form-label",for:"first_name"},"Name and email",-1)),l.createElementVNode("div",ab,[l.createElementVNode("div",lb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:"First Name","aria-label":"First Name",id:"first_name","data-test":"first_name","onUpdate:modelValue":b[0]||(b[0]=E=>l.unref(v).first_name=E)},null,512),[[l.vModelText,l.unref(v).first_name]])]),l.createElementVNode("div",cb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:"Last Name","aria-label":"Last Name","data-test":"last_name","onUpdate:modelValue":b[1]||(b[1]=E=>l.unref(v).last_name=E)},null,512),[[l.vModelText,l.unref(v).last_name]])]),l.createElementVNode("div",ub,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"email",placeholder:"Email","aria-label":"Email","data-test":"email","onUpdate:modelValue":b[2]||(b[2]=E=>l.unref(v).email=E)},null,512),[[l.vModelText,l.unref(v).email]])])])]),l.createElementVNode("div",db,[b[10]||(b[10]=l.createElementVNode("label",{class:"uk-form-label",for:"form-stacked-text"},"Username",-1)),l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:"Username","aria-label":"Username","data-test":"username","onUpdate:modelValue":b[3]||(b[3]=E=>l.unref(v).user_name=E)},null,512),[[l.vModelText,l.unref(v).user_name]])]),l.createElementVNode("div",hb,[b[11]||(b[11]=l.createElementVNode("label",{class:"uk-form-label",for:"form-stacked-text"},"Password",-1)),l.createElementVNode("div",fb,[l.createElementVNode("div",pb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"password",placeholder:"Password","aria-label":"Password","data-test":"password","onUpdate:modelValue":b[4]||(b[4]=E=>l.unref(v).password=E)},null,512),[[l.vModelText,l.unref(v).password]])]),l.createElementVNode("div",mb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"password",placeholder:"Confirm Password","aria-label":"Confirm Password","data-test":"passwordc","onUpdate:modelValue":b[5]||(b[5]=E=>l.unref(v).passwordc=E)},null,512),[[l.vModelText,l.unref(v).passwordc]])])])]),l.createElementVNode("div",gb,[b[12]||(b[12]=l.createElementVNode("label",{class:"uk-form-label",for:"form-stacked-text"},"Locale",-1)),l.withDirectives(l.createElementVNode("select",{class:"uk-select",id:"form-stacked-select","data-test":"locale","onUpdate:modelValue":b[6]||(b[6]=E=>l.unref(v).locale=E)},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(r)(),(E,O)=>(l.openBlock(),l.createElementBlock("option",{value:O,key:O},l.toDisplayString(E),9,vb))),128))],512),[[l.vModelSelect,l.unref(v).locale]])]),l.createElementVNode("div",bb,[b[13]||(b[13]=l.createElementVNode("label",{class:"uk-form-label",for:"r-form-captcha"},"Captcha",-1)),l.createElementVNode("div",wb,[l.createElementVNode("div",yb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"password",placeholder:"Captcha","aria-label":"Captcha",id:"r-form-captcha","data-test":"captcha","onUpdate:modelValue":b[7]||(b[7]=E=>l.unref(v).captcha=E)},null,512),[[l.vModelText,l.unref(v).captcha]])]),l.createElementVNode("div",kb,[l.createElementVNode("img",{src:l.unref(d)(),id:"captcha","data-target":"#r-form-captcha"},null,8,$b)])])]),b[14]||(b[14]=l.createElementVNode("p",null,[l.createTextVNode(" By registering an account with UserFrosting, you accept "),l.createElementVNode("a",null,"the terms and conditions"),l.createTextVNode(". ")],-1)),l.createElementVNode("div",xb,[l.createElementVNode("button",{class:"uk-button uk-button-primary",disabled:h.value},"Sign me up",8,Eb)])])],32)}}}),Sb={class:"uk-fieldset"},_b={class:"uk-margin"},Cb={class:"uk-inline uk-width-1-1"},Nb={class:"uk-text-center"},Tb=["disabled"],Rs=l.defineComponent({__name:"FormForgotPassword",setup(o){const i=l.ref(!1),a=l.ref();let r="";async function d(){i.value=!0,a.value=null,await ob(r).then(h=>{a.value=h}).catch(h=>{a.value=h}).finally(()=>{i.value=!1})}return(h,p)=>{const v=l.resolveComponent("UFAlert");return l.openBlock(),l.createElementBlock("form",{onSubmit:p[1]||(p[1]=l.withModifiers($=>d(),["prevent"]))},[l.createElementVNode("fieldset",Sb,[a.value?(l.openBlock(),l.createBlock(v,{key:0,"data-test":"error",alert:a.value},null,8,["alert"])):l.createCommentVNode("",!0),l.createElementVNode("div",_b,[l.createElementVNode("div",Cb,[p[2]||(p[2]=l.createElementVNode("span",{class:"uk-form-icon","uk-icon":"icon: mail"},null,-1)),l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"email",placeholder:"Email","aria-label":"Email","data-test":"email","onUpdate:modelValue":p[0]||(p[0]=$=>l.isRef(r)?r.value=$:r=$)},null,512),[[l.vModelText,l.unref(r)]])])]),l.createElementVNode("div",Nb,[l.createElementVNode("button",{class:"uk-button uk-button-primary",disabled:i.value,"data-test":"submit"}," Email Password Reset Link ",8,Tb)])])],32)}}}),Bb={"uk-sticky":"sel-target: .uk-navbar-container; cls-active: uk-navbar-sticky"},Ob={class:"uk-navbar-container"},Pb={class:"uk-container uk-container-expand"},Ab={class:"uk-navbar","uk-navbar":""},Rb={class:"uk-navbar-left","data-test":"navbar-left"},Db={class:"uk-navbar-right","data-test":"navbar-right"},Ib={class:"uk-navbar-nav"},Oc=l.defineComponent({__name:"NavBar",props:{to:{default:""},title:{default:""}},setup(o){return(i,a)=>(l.openBlock(),l.createElementBlock("header",null,[l.createElementVNode("div",Bb,[l.createElementVNode("div",Ob,[l.createElementVNode("div",Pb,[l.createElementVNode("nav",Ab,[l.createElementVNode("div",Rb,[l.createVNode(Mo,{to:i.to,class:"uk-navbar-item uk-logo",label:""},{default:l.withCtx(()=>[l.renderSlot(i.$slots,"title",{},()=>[l.createTextVNode(l.toDisplayString(i.title),1)])]),_:3},8,["to"])]),l.createElementVNode("div",Db,[l.createElementVNode("ul",Ib,[l.renderSlot(i.$slots,"default")])])])])])])]))}}),Fb={"data-test":"label"},Vb={class:"uk-navbar-dropdown","uk-dropdown":"offset: 0px"},jb={class:"uk-nav uk-navbar-dropdown-nav","data-test":"slot"},Qo=l.defineComponent({__name:"NavBarDropdown",props:{label:{default:""}},setup(o){return(i,a)=>(l.openBlock(),l.createElementBlock("li",null,[l.createElementVNode("a",Fb,[l.renderSlot(i.$slots,"label",{},()=>[l.createTextVNode(l.toDisplayString(i.label),1)]),a[0]||(a[0]=l.createTextVNode()),a[1]||(a[1]=l.createElementVNode("span",{"uk-navbar-parent-icon":""},null,-1))]),l.createElementVNode("div",Vb,[l.createElementVNode("ul",jb,[l.renderSlot(i.$slots,"default")])])]))}}),Mb={},Lb={class:"uk-nav-divider"};function Ub(o,i){return l.openBlock(),l.createElementBlock("li",Lb)}const Pc=Mn(Mb,[["render",Ub]]),zb={key:0},Hb=["href"],qb=["href","onClick"],Ac=l.defineComponent({__name:"NavBarItem",props:{to:{default:""},label:{default:""}},setup(o){const i=o,a=l.computed(()=>i.to===""||typeof i.to=="string"&&i.to.startsWith("http"));return(r,d)=>a.value?(l.openBlock(),l.createElementBlock("li",zb,[l.createElementVNode("a",{href:r.to.toString(),target:"_blank"},[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],8,Hb)])):(l.openBlock(),l.createBlock(l.unref(jn.RouterLink),l.mergeProps({key:1,to:r.to},r.$props,{custom:""}),{default:l.withCtx(({isActive:h,href:p,navigate:v})=>[l.createElementVNode("li",{class:l.normalizeClass({"uk-active":h})},[l.createElementVNode("a",l.mergeProps(r.$attrs,{href:p,onClick:v}),[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],16,qb)],2)]),_:3},16,["to"]))}}),Wb={class:"uk-text-center"},Rc=l.defineComponent({__name:"NavBarLogin",setup(o){return(i,a)=>(l.openBlock(),l.createBlock(Qo,{label:"Login",class:"uf-nav-login uk-text-center"},{default:l.withCtx(()=>[l.createVNode(Wo),l.createElementVNode("div",Wb,[l.createElementVNode("button",{class:"uk-button uk-button-default",onClick:a[0]||(a[0]=r=>i.$emit("gotoRegistration")),"data-test":"gotoRegistration"}," Register ")]),l.renderSlot(i.$slots,"default")]),_:3}))}}),Jb={key:0,"data-test":"username"},Kb=["src"],Gb={class:"uk-margin"},Xb=["src"],Yb={key:1,class:"uk-margin-remove","data-test":"username"},Qb={key:2,class:"uk-margin-remove uk-text-meta","data-test":"meta"},Dc=l.defineComponent({__name:"NavBarUserCard",props:{username:{default:""},avatar:{default:""},meta:{default:""}},setup(o){return(i,a)=>(l.openBlock(),l.createBlock(Qo,{class:"uf-nav-user uk-text-center"},{label:l.withCtx(()=>[i.username?(l.openBlock(),l.createElementBlock("span",Jb,l.toDisplayString(i.username),1)):l.createCommentVNode("",!0),i.avatar?(l.openBlock(),l.createElementBlock("img",{key:1,src:i.avatar,alt:"avatar",class:"uk-border-circle"},null,8,Kb)):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createElementVNode("div",Gb,[i.avatar?(l.openBlock(),l.createElementBlock("img",{key:0,src:i.avatar,alt:"avatar",class:"uk-border-circle","uk-height-match":""},null,8,Xb)):l.createCommentVNode("",!0),i.username?(l.openBlock(),l.createElementBlock("p",Yb,l.toDisplayString(i.username),1)):l.createCommentVNode("",!0),i.meta?(l.openBlock(),l.createElementBlock("p",Qb,"("+l.toDisplayString(i.meta)+")",1)):l.createCommentVNode("",!0)]),l.renderSlot(i.$slots,"default",{dataTest:"slot"})]),_:3}))}}),Zb={key:0},tw=["href"],ew={key:1},Ic=l.defineComponent({__name:"NavBarUserCardButton",props:{to:{default:""},label:{default:""}},setup(o){const i=o,a=l.computed(()=>typeof i.to=="string"&&i.to.startsWith("http"));return(r,d)=>a.value?(l.openBlock(),l.createElementBlock("li",Zb,[l.createElementVNode("a",{class:"uk-button uk-button-default uk-button-small uk-text-center",href:r.to.toString(),target:"_blank"},[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],8,tw)])):(l.openBlock(),l.createElementBlock("li",ew,[l.createVNode(l.unref(jn.RouterLink),{to:r.to,class:"uk-button uk-button-default uk-button-small uk-text-center"},{default:l.withCtx(()=>[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])]),_:3},8,["to"])]))}}),nw={class:"uk-list"},ow={class:"uk-text-center"},Fc=l.defineComponent({__name:"PageLogin",setup(o){return(i,a)=>{const r=l.resolveComponent("font-awesome-icon"),d=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(d,null,{default:l.withCtx(()=>[a[5]||(a[5]=l.createElementVNode("h3",{class:"uk-card-title"},"Login",-1)),l.createVNode(Wo),l.createElementVNode("ul",nw,[l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:a[0]||(a[0]=h=>i.$emit("gotoForgotPassword")),"data-test":"gotoForgotPassword"},"Forgot your password?")]),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:a[1]||(a[1]=h=>i.$emit("gotoResendVerification")),"data-test":"gotoResendVerification"},"Resend verification email")])]),a[6]||(a[6]=l.createElementVNode("hr",null,null,-1)),l.createElementVNode("div",ow,[a[4]||(a[4]=l.createElementVNode("p",null,"You don't have an account yet?",-1)),l.createElementVNode("button",{class:"uk-button uk-button-default",onClick:a[2]||(a[2]=h=>i.$emit("gotoRegistration")),"data-test":"gotoRegistration"},[l.createVNode(r,{icon:["fas","user-plus"]}),a[3]||(a[3]=l.createTextVNode(" Register "))])])]),_:1})}}}),iw={class:"uk-text-center"},Vc=l.defineComponent({__name:"PageRegister",setup(o){return(i,a)=>{const r=l.resolveComponent("font-awesome-icon"),d=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(d,null,{default:l.withCtx(()=>[a[3]||(a[3]=l.createElementVNode("h3",{class:"uk-card-title"},"Register",-1)),l.createVNode(As),a[4]||(a[4]=l.createElementVNode("hr",null,null,-1)),l.createElementVNode("div",iw,[a[2]||(a[2]=l.createElementVNode("p",null,"Already have an account ?",-1)),l.createElementVNode("button",{class:"uk-button uk-button-default",onClick:a[0]||(a[0]=h=>i.$emit("gotoLogin")),"data-test":"gotoLogin"},[l.createVNode(r,{icon:["fas","right-to-bracket"]}),a[1]||(a[1]=l.createTextVNode(" Login "))])])]),_:1})}}}),jc=l.defineComponent({__name:"PageForgotPassword",setup(o){return(i,a)=>{const r=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(r,null,{default:l.withCtx(()=>[a[0]||(a[0]=l.createElementVNode("h3",{class:"uk-card-title"},"Forgotten Password",-1)),a[1]||(a[1]=l.createElementVNode("p",null," Please enter the email address you used to sign up. A link with instructions to reset your password will be emailed to you. ",-1)),l.createVNode(Rs)]),_:1})}}}),sw={class:"uk-fieldset"},rw={class:"uk-margin"},aw={class:"uk-inline uk-width-1-1"},lw={class:"uk-text-center"},cw=["disabled"],uw=l.defineComponent({__name:"FormResendVerification",setup(o){const i=l.ref(!1),a=l.ref();let r="";async function d(){i.value=!0,a.value=null,await ib(r).then(h=>{a.value=h}).catch(h=>{a.value=h}).finally(()=>{i.value=!1})}return(h,p)=>{const v=l.resolveComponent("UFAlert");return l.openBlock(),l.createElementBlock("form",{onSubmit:p[1]||(p[1]=l.withModifiers($=>d(),["prevent"]))},[l.createElementVNode("fieldset",sw,[a.value?(l.openBlock(),l.createBlock(v,{key:0,"data-test":"error",alert:a.value},null,8,["alert"])):l.createCommentVNode("",!0),l.createElementVNode("div",rw,[l.createElementVNode("div",aw,[p[2]||(p[2]=l.createElementVNode("span",{class:"uk-form-icon","uk-icon":"icon: mail"},null,-1)),l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"email",placeholder:"Email","aria-label":"Email","data-test":"email","onUpdate:modelValue":p[0]||(p[0]=$=>l.isRef(r)?r.value=$:r=$)},null,512),[[l.vModelText,l.unref(r)]])])]),l.createElementVNode("div",lw,[l.createElementVNode("button",{class:"uk-button uk-button-primary",disabled:i.value,"data-test":"submit"}," Email the verification link for my account ",8,cw)])])],32)}}}),Mc=l.defineComponent({__name:"PageResendVerification",setup(o){return(i,a)=>{const r=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(r,null,{default:l.withCtx(()=>[a[0]||(a[0]=l.createElementVNode("h3",{class:"uk-card-title"},"Resend Verification Email",-1)),a[1]||(a[1]=l.createElementVNode("p",null," Please enter the email address you used to sign up, and your verification email will be resent. ",-1)),l.createVNode(uw)]),_:1})}}}),dw={},hw={class:"uf-sidebar-left uk-light uk-visible@m"},fw={class:"left-nav-wrap"},pw={class:"uk-nav uk-nav-default","data-uk-nav":""};function mw(o,i){return l.openBlock(),l.createElementBlock("aside",hw,[l.createElementVNode("div",fw,[l.createElementVNode("ul",pw,[l.renderSlot(o.$slots,"default")])])])}const Lc=Mn(dw,[["render",mw]]),gw=["data-uk-icon"],vw={key:2,"uk-nav-parent-icon":"","data-test":"caret"},bw={class:"uk-nav-sub","data-test":"slot"},Uc=l.defineComponent({__name:"SideBarDropdown",props:{to:{default:""},label:{default:""},faIcon:{default:""},icon:{default:""},hideCaret:{type:Boolean,default:!1}},setup(o){return(i,a)=>{const r=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createBlock(l.unref(jn.RouterLink),l.mergeProps({to:i.to},i.$props,{custom:""}),{default:l.withCtx(({isActive:d})=>[l.createElementVNode("li",{class:l.normalizeClass(["uk-parent",{"uk-open":d}])},[l.createElementVNode("a",l.normalizeProps(l.guardReactiveProps(i.$attrs)),[i.icon?(l.openBlock(),l.createElementBlock("span",{key:0,"data-uk-icon":i.icon,class:"uk-margin-small-right","data-test":"icon"},null,8,gw)):l.createCommentVNode("",!0),i.faIcon?(l.openBlock(),l.createBlock(r,{key:1,class:"uk-margin-small-right",icon:i.faIcon,"data-test":"faIcon"},null,8,["icon"])):l.createCommentVNode("",!0),l.renderSlot(i.$slots,"label",{},()=>[l.createTextVNode(l.toDisplayString(i.label),1)]),i.hideCaret?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("span",vw))],16),l.createElementVNode("ul",bw,[l.renderSlot(i.$slots,"default")])],2)]),_:3},16,["to"])}}}),ww={key:0},yw=["href"],kw=["data-uk-icon"],$w=["href","onClick"],xw=["data-uk-icon"],zc=l.defineComponent({__name:"SideBarItem",props:{to:{default:""},label:{default:""},faIcon:{default:""},icon:{default:""}},setup(o){const i=o,a=l.computed(()=>i.to===""||typeof i.to=="string"&&i.to.startsWith("http"));return(r,d)=>{const h=l.resolveComponent("font-awesome-icon");return a.value?(l.openBlock(),l.createElementBlock("li",ww,[l.createElementVNode("a",{href:r.to.toString(),target:"_blank"},[r.icon?(l.openBlock(),l.createElementBlock("span",{key:0,"data-uk-icon":r.icon,class:"uk-margin-small-right","data-test":"icon"},null,8,kw)):l.createCommentVNode("",!0),r.faIcon?(l.openBlock(),l.createBlock(h,{key:1,class:"uk-margin-small-right",icon:r.faIcon,"data-test":"faIcon"},null,8,["icon"])):l.createCommentVNode("",!0),l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],8,yw)])):(l.openBlock(),l.createBlock(l.unref(jn.RouterLink),l.mergeProps({key:1,to:r.to},r.$props,{custom:""}),{default:l.withCtx(({isActive:p,href:v,navigate:$})=>[l.createElementVNode("li",{class:l.normalizeClass({"uk-active":p})},[l.createElementVNode("a",l.mergeProps(r.$attrs,{href:v,onClick:$}),[r.icon?(l.openBlock(),l.createElementBlock("span",{key:0,"data-uk-icon":r.icon,class:"uk-margin-small-right","data-test":"icon"},null,8,xw)):l.createCommentVNode("",!0),r.faIcon?(l.openBlock(),l.createBlock(h,{key:1,class:"uk-margin-small-right",icon:r.faIcon,"data-test":"faIcon"},null,8,["icon"])):l.createCommentVNode("",!0),l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],16,$w)],2)]),_:3},16,["to"]))}}}),Ew={class:"uk-nav-header"},Hc=l.defineComponent({__name:"SideBarLabel",props:{label:{}},setup(o){return(i,a)=>(l.openBlock(),l.createElementBlock("li",Ew,l.toDisplayString(i.label),1))}}),Sw={};function _w(o,i){return l.openBlock(),l.createElementBlock("td",null,[l.renderSlot(o.$slots,"default")])}const qc=Mn(Sw,[["render",_w]]),Cw={key:0,class:"uk-table-link uk-padding-small"},Nw={key:1,class:"uk-padding-small"},Wc=l.defineComponent({__name:"SprunjeHeader",props:{sort:{}},setup(o){const i=l.inject("sprunjer"),{sorts:a,toggleSort:r}=i;return(d,h)=>{const p=l.resolveComponent("font-awesome-icon");return d.sort?(l.openBlock(),l.createElementBlock("th",Cw,[l.createElementVNode("a",{class:"uk-link-reset",onClick:h[0]||(h[0]=v=>l.unref(r)(d.sort))},[l.renderSlot(d.$slots,"default"),l.unref(a)[d.sort]==="asc"?(l.openBlock(),l.createBlock(p,{key:0,icon:["fas","sort-up"],"fixed-width":"",class:"uk-align-right uk-margin-remove"})):l.unref(a)[d.sort]==="desc"?(l.openBlock(),l.createBlock(p,{key:1,icon:["fas","sort-down"],"fixed-width":"",class:"uk-align-right uk-margin-remove"})):(l.openBlock(),l.createBlock(p,{key:2,icon:["fas","sort"],"fixed-width":"",class:"uk-align-right uk-margin-remove"}))])])):(l.openBlock(),l.createElementBlock("th",Nw,[l.renderSlot(d.$slots,"default")]))}}}),Tw={class:"uk-child-width-auto","uk-grid":""},Bw={class:"uk-text-left uk-text-meta"},Ow={class:"uk-text-center uk-width-expand"},Pw=["value"],Aw={class:"uk-text-right"},Rw={"aria-label":"Pagination"},Dw={class:"uk-pagination uk-flex-right","uk-margin":""},Ds=l.defineComponent({__name:"SprunjePaginator",props:{rowsPerPageOptions:{default:()=>[5,10,20,50]}},setup(o){const i=l.inject("sprunjer"),{size:a,page:r,totalPages:d,countFiltered:h,first:p,last:v}=i;function $(w){r.value=w}return(w,b)=>{const B=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createElementBlock("div",Tw,[l.createElementVNode("div",Bw,[l.createElementVNode("span",null,"Showing "+l.toDisplayString(l.unref(p))+" - "+l.toDisplayString(l.unref(v))+" of "+l.toDisplayString(l.unref(h)),1)]),l.createElementVNode("div",Ow,[l.withDirectives(l.createElementVNode("select",{class:"uk-select uk-form-small uk-form-width-small","aria-label":"Select per page","onUpdate:modelValue":b[0]||(b[0]=E=>l.isRef(a)?a.value=E:null)},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(w.rowsPerPageOptions,E=>(l.openBlock(),l.createElementBlock("option",{key:E,value:E},l.toDisplayString(E)+" per page ",9,Pw))),128))],512),[[l.vModelSelect,l.unref(a)]])]),l.createElementVNode("div",Aw,[l.createElementVNode("nav",Rw,[l.createElementVNode("ul",Dw,[l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:b[1]||(b[1]=E=>$(0)),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===0}])},[l.createVNode(B,{icon:"angles-left","fixed-width":""})],2)]),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:b[2]||(b[2]=E=>$(l.unref(r)-1)),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===0}])},[l.createVNode(B,{icon:"angle-left","fixed-width":""})],2)]),l.createElementVNode("li",null,"Page "+l.toDisplayString(l.unref(r)+1)+" of "+l.toDisplayString(l.unref(d)+1),1),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:b[3]||(b[3]=E=>$(l.unref(r)+1)),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===l.unref(d)}])},[l.createVNode(B,{icon:"angle-right","fixed-width":""})],2)]),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:b[4]||(b[4]=E=>$(l.unref(d))),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===l.unref(d)}])},[l.createVNode(B,{icon:"angles-right","fixed-width":""})],2)])])])])])}}}),Iw={key:0,class:"uk-search uk-search-default"},Fw=["placeholder"],Vw=l.defineComponent({__name:"SprunjeSearch",props:{column:{type:String,required:!0},label:{type:String}},setup(o){const i=o,a=l.inject("sprunjer"),{filters:r}=a,d=l.computed(()=>i.label?"Search "+i.label+"...":"Search "+i.column+"...");return(h,p)=>o.column?(l.openBlock(),l.createElementBlock("div",Iw,[l.withDirectives(l.createElementVNode("input",{class:"uk-search-input uk-form-small",type:"search",placeholder:d.value,"aria-label":"Search","onUpdate:modelValue":p[0]||(p[0]=v=>l.unref(r)[o.column]=v)},null,8,Fw),[[l.vModelText,l.unref(r)[o.column]]]),p[1]||(p[1]=l.createElementVNode("span",{class:"uk-search-icon-flip","uk-search-icon":""},null,-1))])):l.createCommentVNode("",!0)}}),jw=["onUpdate:modelValue"],Mw=["value"],Lw=["placeholder","onUpdate:modelValue"],Uw=l.defineComponent({__name:"SprunjeFilters",setup(o){const i=l.inject("sprunjer"),{data:a,filters:r}=i,d=l.computed(()=>a.value.filterable),h=l.computed(()=>a.value.listable),p=()=>{r.value={}},v=w=>h.value[w]!==void 0,$=w=>h.value[w];return(w,b)=>{const B=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createElementBlock(l.Fragment,null,[b[2]||(b[2]=l.createElementVNode("h3",{class:"uk-heading-divider"},"Filters",-1)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(d.value,(E,O)=>(l.openBlock(),l.createElementBlock("dl",{class:"uk-description-list",key:O},[l.createElementVNode("dt",null,l.toDisplayString(E),1),l.createElementVNode("dd",null,[v(E)?l.withDirectives((l.openBlock(),l.createElementBlock("select",{key:0,"onUpdate:modelValue":N=>l.unref(r)[E]=N,class:"uk-select"},[b[0]||(b[0]=l.createElementVNode("option",{value:""},null,-1)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList($(E),N=>(l.openBlock(),l.createElementBlock("option",{key:N.value,value:N.value},l.toDisplayString(N.text),9,Mw))),128))],8,jw)),[[l.vModelSelect,l.unref(r)[E]]]):l.withDirectives((l.openBlock(),l.createElementBlock("input",{key:1,class:"uk-input",type:"text",placeholder:E,"onUpdate:modelValue":N=>l.unref(r)[E]=N},null,8,Lw)),[[l.vModelText,l.unref(r)[E]]])])]))),128)),l.createElementVNode("button",{class:"uk-button uk-button-default uk-button-small",onClick:p},[l.createVNode(B,{icon:"xmark","fixed-width":""}),b[1]||(b[1]=l.createTextVNode(" Clear filters "))])],64)}}}),zw={"uk-grid":"",class:"uk-child-width-1-2"},Hw={class:"uk-text-left"},qw={class:"uk-text-right"},Ww={"uk-grid":"",class:"uk-grid-small uk-grid-divider"},Jw={class:"uk-width-expand"},Kw={class:"uk-table uk-table-striped uk-table-small"},Gw={key:0,class:"uk-width-1-4"},Jc=l.defineComponent({__name:"SprunjeTable",props:{dataUrl:{},hidePagination:{type:Boolean,default:!1},hideFilters:{type:Boolean,default:!1},defaultSorts:{default:()=>({})},defaultFilters:{default:()=>({})},defaultSize:{default:10},defaultPage:{default:0},searchColumn:{default:null}},setup(o){const i=l.ref(!1),a=ip.useSprunjer(()=>o.dataUrl,o.defaultSorts,o.defaultFilters,o.defaultSize,o.defaultPage),{rows:r}=a;return l.provide("sprunjer",a),(d,h)=>{const p=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createElementBlock(l.Fragment,null,[l.createElementVNode("div",zw,[l.createElementVNode("div",Hw,[l.renderSlot(d.$slots,"actions")]),l.createElementVNode("div",qw,[l.renderSlot(d.$slots,"filters"),d.searchColumn?(l.openBlock(),l.createBlock(Vw,{key:0,column:d.searchColumn},null,8,["column"])):l.createCommentVNode("",!0),d.hideFilters?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("a",{key:1,class:"uk-button uk-button-default uk-button-small",onClick:h[0]||(h[0]=v=>i.value=!i.value)},[l.createVNode(p,{icon:"filter"})]))])]),l.createElementVNode("div",Ww,[l.createElementVNode("div",Jw,[l.createElementVNode("table",Kw,[l.createElementVNode("thead",null,[l.createElementVNode("tr",null,[l.renderSlot(d.$slots,"header")])]),l.createElementVNode("tbody",null,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(r),v=>(l.openBlock(),l.createElementBlock("tr",{key:v.id},[l.renderSlot(d.$slots,"body",{item:v})]))),128))])])]),i.value===!0?(l.openBlock(),l.createElementBlock("div",Gw,[l.createVNode(Uw),l.renderSlot(d.$slots,"filterPanel")])):l.createCommentVNode("",!0)]),d.hidePagination?l.createCommentVNode("",!0):l.renderSlot(d.$slots,"paginator",{key:0},()=>[l.createVNode(Ds)])],64)}}}),Xw={install:o=>{o.component("UFAlert",El).component("UFLabel",Sl).component("UFAppLink",Mo).component("UFInfoBox",_l).component("UFCardBox",Cl).component("UFCardBoxBig",Nl).component("UFMainContent",Tl).component("UFHeaderPage",Bl).component("UFFooterContent",Ol).component("UFFormLogin",Wo).component("UFFormRegister",As).component("UFFormForgotPassword",Rs).component("UFNavBar",Oc).component("UFNavBarDropdown",Qo).component("UFNavBarDropdownSeparator",Pc).component("UFNavBarItem",Ac).component("UFNavBarLogin",Rc).component("UFNavBarUserCard",Dc).component("UFNavBarUserCardButton",Ic).component("UFPageLogin",Fc).component("UFPageRegister",Vc).component("UFPageForgotPassword",jc).component("UFPageResendVerification",Mc).component("UFSideBar",Lc).component("UFSideBarDropdown",Uc).component("UFSideBarItem",zc).component("UFSideBarLabel",Hc).component("UFSprunjeColumn",qc).component("UFSprunjeHeader",Wc).component("UFSprunjePaginator",Ds).component("UFSprunjeTable",Jc)}};exports.FooterContent=Ol;exports.MainContent=Tl;exports.NavBarDropdownSeparator=Pc;exports.PinkCupcakeComponents=Xw;exports.SideBar=Lc;exports.SprunjeColumn=qc;exports.UIkit=xs;exports._sfc_main=El;exports._sfc_main$1=Sl;exports._sfc_main$10=Oc;exports._sfc_main$11=Qo;exports._sfc_main$12=Ac;exports._sfc_main$13=Rc;exports._sfc_main$14=Dc;exports._sfc_main$15=Ic;exports._sfc_main$16=Fc;exports._sfc_main$17=Vc;exports._sfc_main$18=jc;exports._sfc_main$19=Mc;exports._sfc_main$2=Mo;exports._sfc_main$20=Uc;exports._sfc_main$21=zc;exports._sfc_main$22=Hc;exports._sfc_main$23=Wc;exports._sfc_main$24=Ds;exports._sfc_main$25=Jc;exports._sfc_main$3=_l;exports._sfc_main$4=Cl;exports._sfc_main$5=Nl;exports._sfc_main$6=Bl;exports._sfc_main$7=Wo;exports._sfc_main$8=As;exports._sfc_main$9=Rs;exports.commonjsGlobal=Pl;exports.getDefaultExportFromCjs=Al; diff --git a/dist/components.cjs b/dist/components.cjs index a8a8cce..dfd3dfc 100644 --- a/dist/components.cjs +++ b/dist/components.cjs @@ -1 +1 @@ -"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./components-tJe3-PQ9.cjs");exports.AppLink=a._sfc_main$2;exports.CardBox=a._sfc_main$4;exports.CardBoxBig=a._sfc_main$5;exports.FooterContent=a.FooterContent;exports.FormForgotPassword=a._sfc_main$9;exports.FormLogin=a._sfc_main$7;exports.FormRegister=a._sfc_main$8;exports.HeaderPage=a._sfc_main$6;exports.InfoBox=a._sfc_main$3;exports.MainContent=a.MainContent;exports.NavBar=a._sfc_main$10;exports.NavBarDropdown=a._sfc_main$11;exports.NavBarDropdownSeparator=a.NavBarDropdownSeparator;exports.NavBarItem=a._sfc_main$12;exports.NavBarLogin=a._sfc_main$13;exports.NavBarUserCard=a._sfc_main$14;exports.NavBarUserCardButton=a._sfc_main$15;exports.PageForgotPassword=a._sfc_main$18;exports.PageLogin=a._sfc_main$16;exports.PageRegister=a._sfc_main$17;exports.PageResendVerification=a._sfc_main$19;exports.SideBar=a.SideBar;exports.SideBarDropdown=a._sfc_main$20;exports.SideBarItem=a._sfc_main$21;exports.SideBarLabel=a._sfc_main$22;exports.SprunjeColumn=a.SprunjeColumn;exports.SprunjeHeader=a._sfc_main$23;exports.SprunjePaginator=a._sfc_main$24;exports.SprunjeTable=a._sfc_main$25;exports.UFAlert=a._sfc_main;exports.UFLabel=a._sfc_main$1;exports.default=a.PinkCupcakeComponents; +"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./components-G82TVPrS.cjs");exports.AppLink=a._sfc_main$2;exports.CardBox=a._sfc_main$4;exports.CardBoxBig=a._sfc_main$5;exports.FooterContent=a.FooterContent;exports.FormForgotPassword=a._sfc_main$9;exports.FormLogin=a._sfc_main$7;exports.FormRegister=a._sfc_main$8;exports.HeaderPage=a._sfc_main$6;exports.InfoBox=a._sfc_main$3;exports.MainContent=a.MainContent;exports.NavBar=a._sfc_main$10;exports.NavBarDropdown=a._sfc_main$11;exports.NavBarDropdownSeparator=a.NavBarDropdownSeparator;exports.NavBarItem=a._sfc_main$12;exports.NavBarLogin=a._sfc_main$13;exports.NavBarUserCard=a._sfc_main$14;exports.NavBarUserCardButton=a._sfc_main$15;exports.PageForgotPassword=a._sfc_main$18;exports.PageLogin=a._sfc_main$16;exports.PageRegister=a._sfc_main$17;exports.PageResendVerification=a._sfc_main$19;exports.SideBar=a.SideBar;exports.SideBarDropdown=a._sfc_main$20;exports.SideBarItem=a._sfc_main$21;exports.SideBarLabel=a._sfc_main$22;exports.SprunjeColumn=a.SprunjeColumn;exports.SprunjeHeader=a._sfc_main$23;exports.SprunjePaginator=a._sfc_main$24;exports.SprunjeTable=a._sfc_main$25;exports.UFAlert=a._sfc_main;exports.UFLabel=a._sfc_main$1;exports.default=a.PinkCupcakeComponents; diff --git a/dist/components.js b/dist/components.js index 7d33084..0aa1d33 100644 --- a/dist/components.js +++ b/dist/components.js @@ -1,4 +1,4 @@ -import { b as s, e, f as o, F as n, k as t, i as d, j as i, h as B, d as g, M as p, l as S, m as F, N as P, n as m, o as u, p as v, q as N, t as l, r as C, s as w, u as L, S as f, v as j, w as x, x as b, y as U, z as A, A as D, B as I, _ as R, a as k, P as H } from "./components-C2btdOGx.js"; +import { b as s, e, f as o, F as n, k as t, i as d, j as i, h as B, d as g, M as p, l as S, m as F, N as P, n as m, o as u, p as v, q as N, t as l, r as C, s as w, u as L, S as f, v as j, w as x, x as b, y as U, z as A, A as D, B as I, _ as R, a as k, P as H } from "./components-Byf-8j2v.js"; export { s as AppLink, e as CardBox, diff --git a/dist/plugins.cjs b/dist/plugins.cjs index e0eb028..10a4e23 100644 --- a/dist/plugins.cjs +++ b/dist/plugins.cjs @@ -1,4 +1,4 @@ -"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g1=require("./components-tJe3-PQ9.cjs"),u=require("vue"),x3=()=>{};let r2={},W3={},j3=null,_3={mark:x3,measure:x3};try{typeof window<"u"&&(r2=window),typeof document<"u"&&(W3=document),typeof MutationObserver<"u"&&(j3=MutationObserver),typeof performance<"u"&&(_3=performance)}catch{}const{userAgent:g3=""}=r2.navigator||{},R=r2,h=W3,v3=j3,M1=_3;R.document;const q=!!h.documentElement&&!!h.head&&typeof h.addEventListener=="function"&&typeof h.createElement=="function",X3=~g3.indexOf("MSIE")||~g3.indexOf("Trident/");var p="classic",K3="duotone",b="sharp",w="sharp-duotone",os=[p,K3,b,w],is={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}},N3={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},fs=["kit"],ts=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,rs=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,zs={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},ms={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"}},Ls={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}},Ms={classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]},Cs={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}},hs={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}},Y3={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},ps=["solid","regular","light","thin","duotone","brands"],Q3=[1,2,3,4,5,6,7,8,9,10],ds=Q3.concat([11,12,13,14,15,16,17,18,19,20]),J={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},us=[...Object.keys(Ms),...ps,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",J.GROUP,J.SWAP_OPACITY,J.PRIMARY,J.SECONDARY].concat(Q3.map(c=>"".concat(c,"x"))).concat(ds.map(c=>"w-".concat(c))),xs={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},gs={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},vs={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},b3={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}};const P="___FONT_AWESOME___",_1=16,J3="fa",c4="svg-inline--fa",W="data-fa-i2svg",X1="data-fa-pseudo-element",Ns="data-fa-pseudo-element-pending",z2="data-prefix",m2="data-icon",w3="fontawesome-i2svg",bs="async",ws=["HTML","HEAD","STYLE","SCRIPT"],l4=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})(),a4=[p,b,w];function o1(c){return new Proxy(c,{get(l,a){return a in l?l[a]:l[p]}})}const s4={...Y3};s4[p]={...Y3[p],...N3.kit,...N3["kit-duotone"]};const U=o1(s4),K1={...hs};K1[p]={...K1[p],...b3.kit,...b3["kit-duotone"]};const e1=o1(K1),Y1={...Cs};Y1[p]={...Y1[p],...vs.kit};const I=o1(Y1),Q1={...Ls};Q1[p]={...Q1[p],...gs.kit};const ks=o1(Q1),Ss=ts,e4="fa-layers-text",ys=rs,Hs={...is};o1(Hs);const As=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],G1=J,K=new Set;Object.keys(e1[p]).map(K.add.bind(K));Object.keys(e1[b]).map(K.add.bind(K));Object.keys(e1[w]).map(K.add.bind(K));const Vs=[...fs,...us],l1=R.FontAwesomeConfig||{};function Bs(c){var l=h.querySelector("script["+c+"]");if(l)return l.getAttribute(c)}function Fs(c){return c===""?!0:c==="false"?!1:c==="true"?!0:c}h&&typeof h.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(l=>{let[a,s]=l;const e=Fs(Bs(a));e!=null&&(l1[s]=e)});const n4={styleDefault:"solid",familyDefault:"classic",cssPrefix:J3,replacementClass:c4,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};l1.familyPrefix&&(l1.cssPrefix=l1.familyPrefix);const Y={...n4,...l1};Y.autoReplaceSvg||(Y.observeMutations=!1);const r={};Object.keys(n4).forEach(c=>{Object.defineProperty(r,c,{enumerable:!0,set:function(l){Y[c]=l,a1.forEach(a=>a(r))},get:function(){return Y[c]}})});Object.defineProperty(r,"familyPrefix",{enumerable:!0,set:function(c){Y.cssPrefix=c,a1.forEach(l=>l(r))},get:function(){return Y.cssPrefix}});R.FontAwesomeConfig=r;const a1=[];function Ps(c){return a1.push(c),()=>{a1.splice(a1.indexOf(c),1)}}const D=_1,V={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Ts(c){if(!c||!q)return;const l=h.createElement("style");l.setAttribute("type","text/css"),l.innerHTML=c;const a=h.head.childNodes;let s=null;for(let e=a.length-1;e>-1;e--){const n=a[e],o=(n.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(s=n)}return h.head.insertBefore(l,s),c}const qs="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function n1(){let c=12,l="";for(;c-- >0;)l+=qs[Math.random()*62|0];return l}function Q(c){const l=[];for(let a=(c||[]).length>>>0;a--;)l[a]=c[a];return l}function L2(c){return c.classList?Q(c.classList):(c.getAttribute("class")||"").split(" ").filter(l=>l)}function o4(c){return"".concat(c).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Ds(c){return Object.keys(c||{}).reduce((l,a)=>l+"".concat(a,'="').concat(o4(c[a]),'" '),"").trim()}function v1(c){return Object.keys(c||{}).reduce((l,a)=>l+"".concat(a,": ").concat(c[a].trim(),";"),"")}function M2(c){return c.size!==V.size||c.x!==V.x||c.y!==V.y||c.rotate!==V.rotate||c.flipX||c.flipY}function Zs(c){let{transform:l,containerWidth:a,iconWidth:s}=c;const e={transform:"translate(".concat(a/2," 256)")},n="translate(".concat(l.x*32,", ").concat(l.y*32,") "),o="scale(".concat(l.size/16*(l.flipX?-1:1),", ").concat(l.size/16*(l.flipY?-1:1),") "),i="rotate(".concat(l.rotate," 0 0)"),f={transform:"".concat(n," ").concat(o," ").concat(i)},t={transform:"translate(".concat(s/2*-1," -256)")};return{outer:e,inner:f,path:t}}function Rs(c){let{transform:l,width:a=_1,height:s=_1,startCentered:e=!1}=c,n="";return e&&X3?n+="translate(".concat(l.x/D-a/2,"em, ").concat(l.y/D-s/2,"em) "):e?n+="translate(calc(-50% + ".concat(l.x/D,"em), calc(-50% + ").concat(l.y/D,"em)) "):n+="translate(".concat(l.x/D,"em, ").concat(l.y/D,"em) "),n+="scale(".concat(l.size/D*(l.flipX?-1:1),", ").concat(l.size/D*(l.flipY?-1:1),") "),n+="rotate(".concat(l.rotate,"deg) "),n}var Es=`:root, :host { +"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g1=require("./components-G82TVPrS.cjs"),u=require("vue"),x3=()=>{};let r2={},W3={},j3=null,_3={mark:x3,measure:x3};try{typeof window<"u"&&(r2=window),typeof document<"u"&&(W3=document),typeof MutationObserver<"u"&&(j3=MutationObserver),typeof performance<"u"&&(_3=performance)}catch{}const{userAgent:g3=""}=r2.navigator||{},R=r2,h=W3,v3=j3,M1=_3;R.document;const q=!!h.documentElement&&!!h.head&&typeof h.addEventListener=="function"&&typeof h.createElement=="function",X3=~g3.indexOf("MSIE")||~g3.indexOf("Trident/");var p="classic",K3="duotone",b="sharp",w="sharp-duotone",os=[p,K3,b,w],is={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}},N3={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},fs=["kit"],ts=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,rs=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,zs={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},ms={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"}},Ls={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}},Ms={classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]},Cs={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}},hs={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}},Y3={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},ps=["solid","regular","light","thin","duotone","brands"],Q3=[1,2,3,4,5,6,7,8,9,10],ds=Q3.concat([11,12,13,14,15,16,17,18,19,20]),J={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},us=[...Object.keys(Ms),...ps,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",J.GROUP,J.SWAP_OPACITY,J.PRIMARY,J.SECONDARY].concat(Q3.map(c=>"".concat(c,"x"))).concat(ds.map(c=>"w-".concat(c))),xs={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},gs={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},vs={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},b3={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}};const P="___FONT_AWESOME___",_1=16,J3="fa",c4="svg-inline--fa",W="data-fa-i2svg",X1="data-fa-pseudo-element",Ns="data-fa-pseudo-element-pending",z2="data-prefix",m2="data-icon",w3="fontawesome-i2svg",bs="async",ws=["HTML","HEAD","STYLE","SCRIPT"],l4=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})(),a4=[p,b,w];function o1(c){return new Proxy(c,{get(l,a){return a in l?l[a]:l[p]}})}const s4={...Y3};s4[p]={...Y3[p],...N3.kit,...N3["kit-duotone"]};const U=o1(s4),K1={...hs};K1[p]={...K1[p],...b3.kit,...b3["kit-duotone"]};const e1=o1(K1),Y1={...Cs};Y1[p]={...Y1[p],...vs.kit};const I=o1(Y1),Q1={...Ls};Q1[p]={...Q1[p],...gs.kit};const ks=o1(Q1),Ss=ts,e4="fa-layers-text",ys=rs,Hs={...is};o1(Hs);const As=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],G1=J,K=new Set;Object.keys(e1[p]).map(K.add.bind(K));Object.keys(e1[b]).map(K.add.bind(K));Object.keys(e1[w]).map(K.add.bind(K));const Vs=[...fs,...us],l1=R.FontAwesomeConfig||{};function Bs(c){var l=h.querySelector("script["+c+"]");if(l)return l.getAttribute(c)}function Fs(c){return c===""?!0:c==="false"?!1:c==="true"?!0:c}h&&typeof h.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(l=>{let[a,s]=l;const e=Fs(Bs(a));e!=null&&(l1[s]=e)});const n4={styleDefault:"solid",familyDefault:"classic",cssPrefix:J3,replacementClass:c4,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};l1.familyPrefix&&(l1.cssPrefix=l1.familyPrefix);const Y={...n4,...l1};Y.autoReplaceSvg||(Y.observeMutations=!1);const r={};Object.keys(n4).forEach(c=>{Object.defineProperty(r,c,{enumerable:!0,set:function(l){Y[c]=l,a1.forEach(a=>a(r))},get:function(){return Y[c]}})});Object.defineProperty(r,"familyPrefix",{enumerable:!0,set:function(c){Y.cssPrefix=c,a1.forEach(l=>l(r))},get:function(){return Y.cssPrefix}});R.FontAwesomeConfig=r;const a1=[];function Ps(c){return a1.push(c),()=>{a1.splice(a1.indexOf(c),1)}}const D=_1,V={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Ts(c){if(!c||!q)return;const l=h.createElement("style");l.setAttribute("type","text/css"),l.innerHTML=c;const a=h.head.childNodes;let s=null;for(let e=a.length-1;e>-1;e--){const n=a[e],o=(n.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(s=n)}return h.head.insertBefore(l,s),c}const qs="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function n1(){let c=12,l="";for(;c-- >0;)l+=qs[Math.random()*62|0];return l}function Q(c){const l=[];for(let a=(c||[]).length>>>0;a--;)l[a]=c[a];return l}function L2(c){return c.classList?Q(c.classList):(c.getAttribute("class")||"").split(" ").filter(l=>l)}function o4(c){return"".concat(c).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Ds(c){return Object.keys(c||{}).reduce((l,a)=>l+"".concat(a,'="').concat(o4(c[a]),'" '),"").trim()}function v1(c){return Object.keys(c||{}).reduce((l,a)=>l+"".concat(a,": ").concat(c[a].trim(),";"),"")}function M2(c){return c.size!==V.size||c.x!==V.x||c.y!==V.y||c.rotate!==V.rotate||c.flipX||c.flipY}function Zs(c){let{transform:l,containerWidth:a,iconWidth:s}=c;const e={transform:"translate(".concat(a/2," 256)")},n="translate(".concat(l.x*32,", ").concat(l.y*32,") "),o="scale(".concat(l.size/16*(l.flipX?-1:1),", ").concat(l.size/16*(l.flipY?-1:1),") "),i="rotate(".concat(l.rotate," 0 0)"),f={transform:"".concat(n," ").concat(o," ").concat(i)},t={transform:"translate(".concat(s/2*-1," -256)")};return{outer:e,inner:f,path:t}}function Rs(c){let{transform:l,width:a=_1,height:s=_1,startCentered:e=!1}=c,n="";return e&&X3?n+="translate(".concat(l.x/D-a/2,"em, ").concat(l.y/D-s/2,"em) "):e?n+="translate(calc(-50% + ".concat(l.x/D,"em), calc(-50% + ").concat(l.y/D,"em)) "):n+="translate(".concat(l.x/D,"em, ").concat(l.y/D,"em) "),n+="scale(".concat(l.size/D*(l.flipX?-1:1),", ").concat(l.size/D*(l.flipY?-1:1),") "),n+="rotate(".concat(l.rotate,"deg) "),n}var Es=`:root, :host { --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro"; diff --git a/dist/plugins.js b/dist/plugins.js index 2ee0261..b68834c 100644 --- a/dist/plugins.js +++ b/dist/plugins.js @@ -1,4 +1,4 @@ -import { c as is, g as fs, U as ts, P as rs } from "./components-C2btdOGx.js"; +import { c as is, g as fs, U as ts, P as rs } from "./components-Byf-8j2v.js"; import { defineComponent as t2, computed as y, watch as zs, h as W3 } from "vue"; const x3 = () => { }; diff --git a/src/components/Sprunjer/SprunjeFilters.vue b/src/components/Sprunjer/SprunjeFilters.vue index 8df34a4..a1ed88d 100644 --- a/src/components/Sprunjer/SprunjeFilters.vue +++ b/src/components/Sprunjer/SprunjeFilters.vue @@ -32,7 +32,7 @@ const listableOptions = (column: string) => {
{{ column }}