Files
campaign-manager/web/build/_app/immutable/entry/app.H3SWXino.js

3 lines
10 KiB
JavaScript

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.D7-FTC_1.js","../chunks/Bzak7iHL.js","../chunks/CAYgxOZ1.js","../chunks/CUCwB180.js","../chunks/DNqN6DmX.js","../chunks/C5YqYP7P.js","../chunks/pTMRHjpX.js","../chunks/eiK12uJk.js","../chunks/YzYuob9f.js","../chunks/CGowzvwH.js","../nodes/1.BZR9od8C.js","../chunks/Db9w--lA.js","../nodes/2.Zg4cVoEY.js","../nodes/3.BjNotmmr.js","../nodes/4.D0WiVz9B.js","../nodes/5.B-zruxZU.js","../nodes/6.Cniq5yLG.js","../nodes/7.BjdHyPf8.js","../nodes/8.Chqc1uyl.js"])))=>i.map(i=>d[i]);
var be=Object.defineProperty;var $=t=>{throw TypeError(t)};var Re=(t,e,r)=>e in t?be(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var ee=(t,e,r)=>Re(t,typeof e!="symbol"?e+"":e,r),te=(t,e,r)=>e.has(t)||$("Cannot "+r);var a=(t,e,r)=>(te(t,e,"read from private field"),r?r.call(t):e.get(t)),O=(t,e,r)=>e.has(t)?$("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),M=(t,e,r,i)=>(te(t,e,"write to private field"),i?i.call(t,r):e.set(t,r),r);import{as as Se,a7 as Y,V as Ae,y as re,U as se,W as Oe,D as C,E as Z,X as Ie,at as Te,F as ie,S as oe,ae as ce,au as fe,a8 as ue,H as le,al as U,ai as we,av as Le,M as De,j as de,P as pe,aw as he,ax as ke,ay as xe,az as Ce,g as b,aA as Ve,e as x,aB as je,z as Be,aC as Me,aD as Fe,K as Ue,aE as qe,aF as Ne,q as Ye,aG as ze,aH as He,aI as _e,aJ as Ge,d as Ke,m as We,p as Je,u as Xe,i as Ze,aK as Qe,f as F,s as $e,a as et,aL as z,c as tt,r as rt,t as st,aM as H}from"../chunks/CUCwB180.js";import{h as at,m as nt,u as it,s as ot}from"../chunks/Db9w--lA.js";import"../chunks/Bzak7iHL.js";import{o as ct}from"../chunks/DNqN6DmX.js";import{a as p,f as me,c as G,t as ft}from"../chunks/pTMRHjpX.js";import{c as ut}from"../chunks/C5YqYP7P.js";var S,I,P,D,V,j,q;class ve{constructor(e,r=!0){ee(this,"anchor");O(this,S,new Map);O(this,I,new Map);O(this,P,new Map);O(this,D,new Set);O(this,V,!0);O(this,j,e=>{if(a(this,S).has(e)){var r=a(this,S).get(e),i=a(this,I).get(r);if(i)Se(i),a(this,D).delete(r);else{var c=a(this,P).get(r);c&&(a(this,I).set(r,c.effect),a(this,P).delete(r),c.fragment.lastChild.remove(),this.anchor.before(c.fragment),i=c.effect)}for(const[n,o]of a(this,S)){if(a(this,S).delete(n),n===e)break;const s=a(this,P).get(o);s&&(Y(s.effect),a(this,P).delete(o))}for(const[n,o]of a(this,I)){if(n===r||a(this,D).has(n))continue;const s=()=>{if(Array.from(a(this,S).values()).includes(n)){var h=document.createDocumentFragment();Ie(o,h),h.append(re()),a(this,P).set(n,{effect:o,fragment:h})}else Y(o);a(this,D).delete(n),a(this,I).delete(n)};a(this,V)||!i?(a(this,D).add(n),Ae(o,s,!1)):s()}}});O(this,q,e=>{a(this,S).delete(e);const r=Array.from(a(this,S).values());for(const[i,c]of a(this,P))r.includes(i)||(Y(c.effect),a(this,P).delete(i))});this.anchor=e,M(this,V,r)}ensure(e,r){var i=Oe,c=Te();if(r&&!a(this,I).has(e)&&!a(this,P).has(e))if(c){var n=document.createDocumentFragment(),o=re();n.append(o),a(this,P).set(e,{effect:se(()=>r(o)),fragment:n})}else a(this,I).set(e,se(()=>r(this.anchor)));if(a(this,S).set(i,e),c){for(const[s,f]of a(this,I))s===e?i.unskip_effect(f):i.skip_effect(f);for(const[s,f]of a(this,P))s===e?i.unskip_effect(f.effect):i.skip_effect(f.effect);i.oncommit(a(this,j)),i.ondiscard(a(this,q))}else C&&(this.anchor=Z),a(this,j).call(this,i)}}S=new WeakMap,I=new WeakMap,P=new WeakMap,D=new WeakMap,V=new WeakMap,j=new WeakMap,q=new WeakMap;function K(t,e,r=!1){var i;C&&(i=Z,ie());var c=new ve(t),n=r?ce:0;function o(s,f){if(C){var h=fe(i);if(s!==parseInt(h.substring(1))){var u=ue();le(u),c.anchor=u,U(!1),c.ensure(s,f),U(!0);return}}c.ensure(s,f)}oe(()=>{var s=!1;e((f,h=0)=>{s=!0,o(h,f)}),s||o(-1,null)},n)}function W(t,e,r){var i;C&&(i=Z,ie());var c=new ve(t);oe(()=>{var n=e()??null;if(C){var o=fe(i),s=o===we,f=n!==null;if(s!==f){var h=ue();le(h),c.anchor=h,U(!1),c.ensure(n,n&&(u=>r(u,n))),U(!0);return}}c.ensure(n,n&&(u=>r(u,n)))},ce)}function ae(t,e){return t===e||(t==null?void 0:t[he])===e}function J(t={},e,r,i){return Le(()=>{var c,n;return De(()=>{c=n,n=[],de(()=>{t!==r(...n)&&(e(t,...n),c&&ae(r(...c),t)&&e(null,...c))})}),()=>{pe(()=>{n&&ae(r(...n),t)&&e(null,...n)})}}),t}function X(t,e,r,i){var A;var c=!Ue||(r&qe)!==0,n=(r&Fe)!==0,o=(r&He)!==0,s=i,f=!0,h=()=>(f&&(f=!1,s=o?de(i):i),s);let u;if(n){var R=he in t||_e in t;u=((A=ke(t,e))==null?void 0:A.set)??(R&&e in t?l=>t[e]=l:void 0)}var g,k=!1;n?[g,k]=ut(()=>t[e]):g=t[e],g===void 0&&i!==void 0&&(g=h(),u&&(c&&xe(),u(g)));var _;if(c?_=()=>{var l=t[e];return l===void 0?h():(f=!0,l)}:_=()=>{var l=t[e];return l!==void 0&&(s=void 0),l===void 0?s:l},c&&(r&Ce)===0)return _;if(u){var d=t.$$legacy;return(function(l,v){return arguments.length>0?((!c||!v||d||k)&&u(v?_():l),l):_()})}var m=!1,E=((r&Ne)!==0?Ye:ze)(()=>(m=!1,_()));n&&b(E);var L=Be;return(function(l,v){if(arguments.length>0){const N=v?b(E):c&&n?Ve(l):l;return x(E,N),m=!0,s!==void 0&&(s=N),l}return je&&m||(L.f&Me)!==0?E.v:b(E)})}function lt(t){return class extends dt{constructor(e){super({component:t,...e})}}}var w,y;class dt{constructor(e){O(this,w);O(this,y);var n;var r=new Map,i=(o,s)=>{var f=We(s,!1,!1);return r.set(o,f),f};const c=new Proxy({...e.props||{},$$events:{}},{get(o,s){return b(r.get(s)??i(s,Reflect.get(o,s)))},has(o,s){return s===_e?!0:(b(r.get(s)??i(s,Reflect.get(o,s))),Reflect.has(o,s))},set(o,s,f){return x(r.get(s)??i(s,f),f),Reflect.set(o,s,f)}});M(this,y,(e.hydrate?at:nt)(e.component,{target:e.target,anchor:e.anchor,props:c,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError})),(!((n=e==null?void 0:e.props)!=null&&n.$$host)||e.sync===!1)&&Ge(),M(this,w,c.$$events);for(const o of Object.keys(a(this,y)))o==="$set"||o==="$destroy"||o==="$on"||Ke(this,o,{get(){return a(this,y)[o]},set(s){a(this,y)[o]=s},enumerable:!0});a(this,y).$set=o=>{Object.assign(c,o)},a(this,y).$destroy=()=>{it(a(this,y))}}$set(e){a(this,y).$set(e)}$on(e,r){a(this,w)[e]=a(this,w)[e]||[];const i=(...c)=>r.call(this,...c);return a(this,w)[e].push(i),()=>{a(this,w)[e]=a(this,w)[e].filter(c=>c!==i)}}$destroy(){a(this,y).$destroy()}}w=new WeakMap,y=new WeakMap;const ht="modulepreload",_t=function(t,e){return new URL(t,e).href},ne={},T=function(e,r,i){let c=Promise.resolve();if(r&&r.length>0){let o=function(u){return Promise.all(u.map(R=>Promise.resolve(R).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};const s=document.getElementsByTagName("link"),f=document.querySelector("meta[property=csp-nonce]"),h=(f==null?void 0:f.nonce)||(f==null?void 0:f.getAttribute("nonce"));c=o(r.map(u=>{if(u=_t(u,i),u in ne)return;ne[u]=!0;const R=u.endsWith(".css"),g=R?'[rel="stylesheet"]':"";if(!!i)for(let d=s.length-1;d>=0;d--){const m=s[d];if(m.href===u&&(!R||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${g}`))return;const _=document.createElement("link");if(_.rel=R?"stylesheet":ht,R||(_.as="script"),_.crossOrigin="",_.href=u,h&&_.setAttribute("nonce",h),document.head.appendChild(_),R)return new Promise((d,m)=>{_.addEventListener("load",d),_.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${u}`)))})}))}function n(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return c.then(o=>{for(const s of o||[])s.status==="rejected"&&n(s.reason);return e().catch(n)})},It={};var mt=me('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),vt=me("<!> <!>",1);function gt(t,e){Je(e,!0);let r=X(e,"components",23,()=>[]),i=X(e,"data_0",3,null),c=X(e,"data_1",3,null);Xe(()=>e.stores.page.set(e.page)),Ze(()=>{e.stores,e.page,e.constructors,r(),e.form,i(),c(),e.stores.page.notify()});let n=z(!1),o=z(!1),s=z(null);ct(()=>{const d=e.stores.page.subscribe(()=>{b(n)&&(x(o,!0),Qe().then(()=>{x(s,document.title||"untitled page",!0)}))});return x(n,!0),d});const f=H(()=>e.constructors[1]);var h=vt(),u=F(h);{var R=d=>{const m=H(()=>e.constructors[0]);var E=G(),L=F(E);W(L,()=>b(m),(A,l)=>{J(l(A,{get data(){return i()},get form(){return e.form},get params(){return e.page.params},children:(v,N)=>{var Q=G(),Ee=F(Q);W(Ee,()=>b(f),(Pe,ye)=>{J(ye(Pe,{get data(){return c()},get form(){return e.form},get params(){return e.page.params}}),B=>r()[1]=B,()=>{var B;return(B=r())==null?void 0:B[1]})}),p(v,Q)},$$slots:{default:!0}}),v=>r()[0]=v,()=>{var v;return(v=r())==null?void 0:v[0]})}),p(d,E)},g=d=>{const m=H(()=>e.constructors[0]);var E=G(),L=F(E);W(L,()=>b(m),(A,l)=>{J(l(A,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),v=>r()[0]=v,()=>{var v;return(v=r())==null?void 0:v[0]})}),p(d,E)};K(u,d=>{e.constructors[1]?d(R):d(g,-1)})}var k=$e(u,2);{var _=d=>{var m=mt(),E=tt(m);{var L=A=>{var l=ft();st(()=>ot(l,b(s))),p(A,l)};K(E,A=>{b(o)&&A(L)})}rt(m),p(d,m)};K(k,d=>{b(n)&&d(_)})}p(t,h),et()}const Tt=lt(gt),wt=[()=>T(()=>import("../nodes/0.D7-FTC_1.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url),()=>T(()=>import("../nodes/1.BZR9od8C.js"),__vite__mapDeps([10,1,2,3,11,6,7,8,4]),import.meta.url),()=>T(()=>import("../nodes/2.Zg4cVoEY.js"),__vite__mapDeps([12,1,2,3,4,7,8]),import.meta.url),()=>T(()=>import("../nodes/3.BjNotmmr.js"),__vite__mapDeps([13,1,2,3,6]),import.meta.url),()=>T(()=>import("../nodes/4.D0WiVz9B.js"),__vite__mapDeps([14,1,2,3,5,4,11,6,7,9,8]),import.meta.url),()=>T(()=>import("../nodes/5.B-zruxZU.js"),__vite__mapDeps([15,1,2,3,6]),import.meta.url),()=>T(()=>import("../nodes/6.Cniq5yLG.js"),__vite__mapDeps([16,1,2,3,5,4,11,6,7,9,8]),import.meta.url),()=>T(()=>import("../nodes/7.BjdHyPf8.js"),__vite__mapDeps([17,1,2,3,5,4,11,6,7,9,8]),import.meta.url),()=>T(()=>import("../nodes/8.Chqc1uyl.js"),__vite__mapDeps([18,1,2,3,6]),import.meta.url)],Lt=[],Dt={"/":[2],"/characters":[3],"/characters/[id]":[4],"/groups":[5],"/groups/[id]":[6],"/groups/[id]/settings":[7],"/login":[8]},ge={handleError:(({error:t})=>{console.error(t)}),reroute:(()=>{}),transport:{}},Et=Object.fromEntries(Object.entries(ge.transport).map(([t,e])=>[t,e.decode])),pt=Object.fromEntries(Object.entries(ge.transport).map(([t,e])=>[t,e.encode])),kt=!1,xt=(t,e)=>Et[t](e);export{xt as decode,Et as decoders,Dt as dictionary,pt as encoders,kt as hash,ge as hooks,It as matchers,wt as nodes,Tt as root,Lt as server_loads};