@nil-/xit 0.4.14 → 0.4.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/assets/bundler.js CHANGED
@@ -11,10 +11,17 @@ Defaulting to 2020, but this will stop working in the future.`)),A.ecmaVersion=1
11
11
 
12
12
  `),map:null}}catch{return null}}});function Vd(e,A,t){throw new Error(t?`No known conditions for "${A}" specifier in "${e}" package`:`Missing "${A}" specifier in "${e}" package`)}function rS(e,A,t,g){let I,Q,C=Wd(e,t),i=function(s){let a=new Set(["default",...s.conditions||[]]);return s.unsafe||a.add(s.require?"require":"import"),s.unsafe||a.add(s.browser?"browser":"node"),a}(g||{}),B=A[C];if(B===void 0){let s,a,n,o;for(o in A)a&&o.length<a.length||(o[o.length-1]==="/"&&C.startsWith(o)?(Q=C.substring(o.length),a=o):o.length>1&&(n=o.indexOf("*",1),~n&&(s=RegExp("^"+o.substring(0,n)+"(.*)"+o.substring(1+n)+"$").exec(C),s&&s[1]&&(Q=s[1],a=o))));B=A[a]}return B||Vd(e,C),I=Gl(B,i),I||Vd(e,C,1),Q&&function(s,a){let n,o=0,D=s.length,f=/[*]/g,d=/[/]$/;for(;o<D;o++)s[o]=f.test(n=s[o])?n.replace(f,a):d.test(n)?n+a:n}(I,Q),I}function Wd(e,A,t){if(e===A||A===".")return".";let g=e+"/",I=g.length,Q=A.slice(0,I)===g,C=Q?A.slice(I):A;return C[0]==="#"?C:Q||!t?C.slice(0,2)==="./"?C:"./"+C:C}function Gl(e,A,t){if(e){if(typeof e=="string")return t&&t.add(e),[e];let g,I;if(Array.isArray(e)){for(I=t||new Set,g=0;g<e.length;g++)Gl(e[g],A,I);if(!t&&I.size)return[...I]}else for(g in e)if(A.has(g))return Gl(e[g],A,t)}}function cS(e,A={}){let t,g=0,I=A.browser,Q=A.fields||["module","main"],C=typeof I=="string";for(I&&!Q.includes("browser")&&(Q.unshift("browser"),C&&(I=Wd(e.name,I,!0)));g<Q.length;g++)if(t=e[Q[g]]){if(typeof t!="string"){if(typeof t!="object"||Q[g]!="browser")continue;if(C&&(t=t[I],t==null))return I}return typeof t=="string"?"./"+t.replace(/^\.?\//,""):t}}function lS(e,A,t){let g,I=e.exports;if(I){if(typeof I=="string")I={".":I};else for(g in I){g[0]!=="."&&(I={".":I});break}return rS(e.name,I,A||".",t)}}const Jn="file://",uI="<nil_xit_resource>",Xd="<nil_xit_internal>",hS=e=>`import { mount, unmount } from 'svelte';
13
13
  import Component from "${e.replace(/\\/g,"/")}";
14
+ if (window.process == null) {
15
+ window.process = { env: { NODE_ENV: "production" } };
16
+ } else if (window.process.env == null) {
17
+ window.process.env = { NODE_ENV: "production" };
18
+ } else if (window.process.env.NODE_ENV == null) {
19
+ window.process.env = "production";
20
+ }
14
21
  export const action = (target, context) => {
15
22
  const ref = mount(Component, { target, context });
16
23
  return { destroy: () => unmount(ref) };
17
- };`,ml=new Map,uS=/^(@[^/]*\/[^/]*)(?:\/(.*))?$/s,DS=/^([^/]*)(?:\/(.*))?$/s,dS=async(e,A)=>{if(A!=null){const t=new URL(A);return new URL(e,t).href}return e},Fn=async(e,A)=>e.endsWith("..")?(await fetch(new URL(`${e}/index.js`,A),{method:"HEAD"})).url:e.endsWith("/")?(await fetch(new URL(`${e}index.js`,A),{method:"HEAD"})).url:(await fetch(new URL(e,A),{method:"HEAD"})).url,pS=async e=>{const A=await fetch(e);if(A.ok)return JSON.parse(await A.text())},wS=async(e,A)=>{const[t,g,I=""]=e.split(e.startsWith("@")?uS:DS),Q=g=="@nil-/xit"?`${A}/${g}@0.4.14`:`${A}/${g}`,C=`${Q}/package.json`;if(ml.has(C))return{...ml.get(C),rest:I};const i=await pS(C);if(i!=null)return ml.set(C,{base:Q,json:i}),{base:Q,json:i,rest:I}},fS=(e,A)=>({input:t=>({resolved:t}),hook:async(t,g)=>{if(t.startsWith(Xd))return t;if(t.startsWith(".")){if(g!=null&&g.startsWith(Jn))return await dS(t,g);if(g!=null&&g.startsWith(uI))return`${uI}${await Fn(t,g.slice(uI.length))}`}if(t.startsWith("$")){const Q=t.indexOf("/"),C=t.slice(1,Q);return C in A?`${Jn}${A[C]}${t.slice(Q)}`:null}if(t.startsWith("https://"))return null;const I=await wS(t,e);if(I!=null){const Q=lS(I.json,I.rest,{browser:!0,conditions:["svelte","production"]});if(Q!=null){if(Array.isArray(Q)&&Q.length>0)return`${uI}${await Fn(`${I.base}/${Q[0]}`)}`;if(typeof Q=="string")return`${uI}${await Fn(`${I.base}/${Q}`)}`}else{const C=cS(I.json);if(C!=null)return`${uI}${await Fn(`${I.base}/${C}`)}`}}throw"unknown file, should be unreachable"}});function ZA(e,A,t){const g=t._;let I=!1;function Q(i,{next:B,state:s}){B(s)}function C(i,B,s){if(I||!i.type)return;let a;const n={},o={path:B,state:s,next:(f=s)=>{B.push(i);for(const d in i){if(d==="type")continue;const l=i[d];if(l&&typeof l=="object")if(Array.isArray(l)){const c={};l.forEach((h,w)=>{if(h&&typeof h=="object"){const N=C(h,B,f);N&&(c[w]=N)}}),Object.keys(c).length>0&&(n[d]=l.map((h,w)=>c[w]??h))}else{const c=C(l,B,f);c&&(n[d]=c)}}if(B.pop(),Object.keys(n).length>0)return zd(i,n)},stop:()=>{I=!0},visit:(f,d=s)=>{B.push(i);const l=C(f,B,d)??f;return B.pop(),l}};let D=t[i.type]??Q;if(g){let f;a=g(i,{...o,next:(d=s)=>(s=d,f=D(i,{...o,state:d}),f)}),!a&&f&&(a=f)}else a=D(i,o);if(a||Object.keys(n).length>0&&(a=zd(i,n)),a)return a}return C(e,[],A)??e}function zd(e,A){const t={},g=Object.getOwnPropertyDescriptors(e);for(const I in g)Object.defineProperty(t,I,g[I]);for(const I in A)t[I]=A[I];return t}const KQ=/\s/,Nl=/\s+/,Sn=/^\r?\n/,yS=/^\s/,TC=/^[ \t\r\n]+/,$d=/\s$/,_Q=/[ \t\r\n]+$/,PQ=/[^ \t\r\n]/,Ap=/[ \t\n\r\f]+/g,kS=/^[ \t\n\r\f]+$/,ep=/[^\n]/g,tp=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/,GS=/(^[^a-zA-Z_$]|[^a-zA-Z0-9_$])/g,mS=/^[aeiou]/,NS=/^h[1-6]$/,MS=/(^[0-9-.])|[\^$@%&#?!|()[\]{}^*+~;]/,Ln=/[\u202a\u202b\u202c\u202d\u202e\u2066\u2067\u2068\u2069]+/g,Ml=1,Yn=2,RS=4,JS=8,FS=16,SS=1,LS=2,YS=4,US=8,bS=16,qS=1,vS=2,xS=4,HS=1,gp=2,KS=4,_S=8,PS="[",TS="[!",jS="]",OS=1,Ip=2,Qp="http://www.w3.org/2000/svg",Cp="http://www.w3.org/1998/Math/MathML",ZS=["state_snapshot_uncloneable","binding_property_non_reactive","hydration_attribute_changed","hydration_html_changed","ownership_invalid_binding","ownership_invalid_mutation"];function Un(e,A){if(A.length===0)return null;const g=new $S(A).get(e);return g&&g[0][0]>.7?g[0][1]:null}const Rl=2,Jl=3;function VS(e,A){if(e===null&&A===null)throw"Trying to compare two null values";return e===null||A===null?0:(e=String(e),A=String(A),1-WS(e,A)/Math.max(e.length,A.length))}function WS(e,A){const t=[];let g=0,I=0;for(let Q=0;Q<=A.length;Q++)for(let C=0;C<=e.length;C++)Q&&C?e.charAt(C-1)===A.charAt(Q-1)?I=g:I=Math.min(t[C],t[C-1],g)+1:I=Q+C,g=t[C],t[C]=I;return t.pop()}const XS=/[^\w, ]+/;function zS(e,A=2){const t="-"+e.toLowerCase().replace(XS,"")+"-",g=A-t.length,I=[];if(g>0)for(let Q=0;Q<g;++Q)e+="-";for(let Q=0;Q<t.length-A+1;++Q)I.push(t.slice(Q,Q+A));return I}function ip(e,A=2){const t={},g=zS(e,A);let I=0;for(I;I<g.length;++I)g[I]in t?t[g[I]]+=1:t[g[I]]=1;return t}function Bp(e,A){return A[0]-e[0]}class $S{constructor(A){nA(this,"exact_set",{});nA(this,"match_dict",{});nA(this,"items",{});for(let t=Rl;t<Jl+1;++t)this.items[t]=[];for(let t=0;t<A.length;++t)this.add(A[t])}add(A){if(A.toLowerCase()in this.exact_set)return!1;let g=Rl;for(g;g<Jl+1;++g)this._add(A,g)}_add(A,t){const g=A.toLowerCase(),I=this.items[t]||[],Q=I.length;I.push(0);const C=ip(g,t);let i=0,B,s;for(B in C)s=C[B],i+=Math.pow(s,2),B in this.match_dict?this.match_dict[B].push([Q,s]):this.match_dict[B]=[[Q,s]];const a=Math.sqrt(i);I[Q]=[a,g],this.items[t]=I,this.exact_set[g]=A}get(A){const t=A.toLowerCase(),g=this.exact_set[t];if(g)return[[1,g]];for(let I=Jl;I>=Rl;--I){const Q=this.__get(A,I);if(Q.length>0)return Q}return null}__get(A,t){const g=A.toLowerCase(),I={},Q=ip(g,t),C=this.items[t];let i=0,B,s,a,n,o;for(B in Q)if(s=Q[B],i+=Math.pow(s,2),B in this.match_dict)for(a=0;a<this.match_dict[B].length;++a)n=this.match_dict[B][a][0],o=this.match_dict[B][a][1],n in I?I[n]+=s*o:I[n]=s*o;const D=Math.sqrt(i);let f=[],d;for(const h in I)d=I[h],f.push([d/(D*C[h][0]),C[h][1]]);f.sort(Bp);let l=[];const c=Math.min(50,f.length);for(let h=0;h<c;++h)l.push([VS(f[h][1],g),f[h][1]]);f=l,f.sort(Bp),l=[];for(let h=0;h<f.length;++h)f[h][0]===f[0][0]&&l.push([f[h][0],this.exact_set[f[h][1]]]);return l}}function AL(e,A){return e.start<=A&&A<e.end}function sp(e,A={}){const{offsetLine:t=0,offsetColumn:g=0}=A;let I=0;const Q=e.split(`
24
+ };`,ml=new Map,uS=/^(@[^/]*\/[^/]*)(?:\/(.*))?$/s,DS=/^([^/]*)(?:\/(.*))?$/s,dS=async(e,A)=>{if(A!=null){const t=new URL(A);return new URL(e,t).href}return e},Fn=async(e,A)=>e.endsWith("..")?(await fetch(new URL(`${e}/index.js`,A),{method:"HEAD"})).url:e.endsWith(".")?(await fetch(new URL(`${e}/index.js`,A),{method:"HEAD"})).url:e.endsWith("/")?(await fetch(new URL(`${e}index.js`,A),{method:"HEAD"})).url:(await fetch(new URL(e,A),{method:"HEAD"})).url,pS=async e=>{const A=await fetch(e);if(A.ok)return JSON.parse(await A.text())},wS=async(e,A)=>{const[t,g,I=""]=e.split(e.startsWith("@")?uS:DS),Q=g=="@nil-/xit"?`${A}/${g}@0.4.16`:`${A}/${g}`,C=`${Q}/package.json`;if(ml.has(C))return{...ml.get(C),rest:I};const i=await pS(C);if(i!=null)return ml.set(C,{base:Q,json:i}),{base:Q,json:i,rest:I}},fS=(e,A)=>({input:t=>({resolved:t}),hook:async(t,g)=>{if(t.startsWith(Xd))return t;if(t.startsWith(".")){if(g!=null&&g.startsWith(Jn))return await dS(t,g);if(g!=null&&g.startsWith(uI))return`${uI}${await Fn(t,g.slice(uI.length))}`}if(t.startsWith("$")){const Q=t.indexOf("/"),C=t.slice(1,Q);return C in A?`${Jn}${A[C]}${t.slice(Q)}`:null}if(t.startsWith("https://"))return null;const I=await wS(t,e);if(I!=null){const Q=lS(I.json,I.rest,{browser:!0,conditions:["svelte","production"]});if(Q!=null){if(Array.isArray(Q)&&Q.length>0)return`${uI}${await Fn(`${I.base}/${Q[0]}`)}`;if(typeof Q=="string")return`${uI}${await Fn(`${I.base}/${Q}`)}`}else{const C=cS(I.json);if(C!=null)return`${uI}${await Fn(`${I.base}/${C}`)}`}}throw"unknown file, should be unreachable"}});function ZA(e,A,t){const g=t._;let I=!1;function Q(i,{next:B,state:s}){B(s)}function C(i,B,s){if(I||!i.type)return;let a;const n={},o={path:B,state:s,next:(f=s)=>{B.push(i);for(const d in i){if(d==="type")continue;const l=i[d];if(l&&typeof l=="object")if(Array.isArray(l)){const c={};l.forEach((h,w)=>{if(h&&typeof h=="object"){const N=C(h,B,f);N&&(c[w]=N)}}),Object.keys(c).length>0&&(n[d]=l.map((h,w)=>c[w]??h))}else{const c=C(l,B,f);c&&(n[d]=c)}}if(B.pop(),Object.keys(n).length>0)return zd(i,n)},stop:()=>{I=!0},visit:(f,d=s)=>{B.push(i);const l=C(f,B,d)??f;return B.pop(),l}};let D=t[i.type]??Q;if(g){let f;a=g(i,{...o,next:(d=s)=>(s=d,f=D(i,{...o,state:d}),f)}),!a&&f&&(a=f)}else a=D(i,o);if(a||Object.keys(n).length>0&&(a=zd(i,n)),a)return a}return C(e,[],A)??e}function zd(e,A){const t={},g=Object.getOwnPropertyDescriptors(e);for(const I in g)Object.defineProperty(t,I,g[I]);for(const I in A)t[I]=A[I];return t}const KQ=/\s/,Nl=/\s+/,Sn=/^\r?\n/,yS=/^\s/,TC=/^[ \t\r\n]+/,$d=/\s$/,_Q=/[ \t\r\n]+$/,PQ=/[^ \t\r\n]/,Ap=/[ \t\n\r\f]+/g,kS=/^[ \t\n\r\f]+$/,ep=/[^\n]/g,tp=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/,GS=/(^[^a-zA-Z_$]|[^a-zA-Z0-9_$])/g,mS=/^[aeiou]/,NS=/^h[1-6]$/,MS=/(^[0-9-.])|[\^$@%&#?!|()[\]{}^*+~;]/,Ln=/[\u202a\u202b\u202c\u202d\u202e\u2066\u2067\u2068\u2069]+/g,Ml=1,Yn=2,RS=4,JS=8,FS=16,SS=1,LS=2,YS=4,US=8,bS=16,qS=1,vS=2,xS=4,HS=1,gp=2,KS=4,_S=8,PS="[",TS="[!",jS="]",OS=1,Ip=2,Qp="http://www.w3.org/2000/svg",Cp="http://www.w3.org/1998/Math/MathML",ZS=["state_snapshot_uncloneable","binding_property_non_reactive","hydration_attribute_changed","hydration_html_changed","ownership_invalid_binding","ownership_invalid_mutation"];function Un(e,A){if(A.length===0)return null;const g=new $S(A).get(e);return g&&g[0][0]>.7?g[0][1]:null}const Rl=2,Jl=3;function VS(e,A){if(e===null&&A===null)throw"Trying to compare two null values";return e===null||A===null?0:(e=String(e),A=String(A),1-WS(e,A)/Math.max(e.length,A.length))}function WS(e,A){const t=[];let g=0,I=0;for(let Q=0;Q<=A.length;Q++)for(let C=0;C<=e.length;C++)Q&&C?e.charAt(C-1)===A.charAt(Q-1)?I=g:I=Math.min(t[C],t[C-1],g)+1:I=Q+C,g=t[C],t[C]=I;return t.pop()}const XS=/[^\w, ]+/;function zS(e,A=2){const t="-"+e.toLowerCase().replace(XS,"")+"-",g=A-t.length,I=[];if(g>0)for(let Q=0;Q<g;++Q)e+="-";for(let Q=0;Q<t.length-A+1;++Q)I.push(t.slice(Q,Q+A));return I}function ip(e,A=2){const t={},g=zS(e,A);let I=0;for(I;I<g.length;++I)g[I]in t?t[g[I]]+=1:t[g[I]]=1;return t}function Bp(e,A){return A[0]-e[0]}class $S{constructor(A){nA(this,"exact_set",{});nA(this,"match_dict",{});nA(this,"items",{});for(let t=Rl;t<Jl+1;++t)this.items[t]=[];for(let t=0;t<A.length;++t)this.add(A[t])}add(A){if(A.toLowerCase()in this.exact_set)return!1;let g=Rl;for(g;g<Jl+1;++g)this._add(A,g)}_add(A,t){const g=A.toLowerCase(),I=this.items[t]||[],Q=I.length;I.push(0);const C=ip(g,t);let i=0,B,s;for(B in C)s=C[B],i+=Math.pow(s,2),B in this.match_dict?this.match_dict[B].push([Q,s]):this.match_dict[B]=[[Q,s]];const a=Math.sqrt(i);I[Q]=[a,g],this.items[t]=I,this.exact_set[g]=A}get(A){const t=A.toLowerCase(),g=this.exact_set[t];if(g)return[[1,g]];for(let I=Jl;I>=Rl;--I){const Q=this.__get(A,I);if(Q.length>0)return Q}return null}__get(A,t){const g=A.toLowerCase(),I={},Q=ip(g,t),C=this.items[t];let i=0,B,s,a,n,o;for(B in Q)if(s=Q[B],i+=Math.pow(s,2),B in this.match_dict)for(a=0;a<this.match_dict[B].length;++a)n=this.match_dict[B][a][0],o=this.match_dict[B][a][1],n in I?I[n]+=s*o:I[n]=s*o;const D=Math.sqrt(i);let f=[],d;for(const h in I)d=I[h],f.push([d/(D*C[h][0]),C[h][1]]);f.sort(Bp);let l=[];const c=Math.min(50,f.length);for(let h=0;h<c;++h)l.push([VS(f[h][1],g),f[h][1]]);f=l,f.sort(Bp),l=[];for(let h=0;h<f.length;++h)f[h][0]===f[0][0]&&l.push([f[h][0],this.exact_set[f[h][1]]]);return l}}function AL(e,A){return e.start<=A&&A<e.end}function sp(e,A={}){const{offsetLine:t=0,offsetColumn:g=0}=A;let I=0;const Q=e.split(`
18
25
  `).map((B,s)=>{const a=I+B.length+1,n={start:I,end:a,line:s};return I=a,n});let C=0;function i(B,s){if(typeof B=="string"&&(B=e.indexOf(B,s??0)),B===-1)return;let a=Q[C];const n=B>=a.end?1:-1;for(;a;){if(AL(a,B))return{line:t+a.line,column:g+B-a.start,character:B};C+=n,a=Q[C]}}return i}const eL=/\r/g;function tL(e){e=e.replace(eL,"");let A=5381,t=e.length;for(;t--;)A=(A<<5)-A^e.charCodeAt(t);return(A>>>0).toString(36)}const gL=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function jC(e){return gL.includes(e)||e.toLowerCase()==="!doctype"}const IL=["arguments","await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","eval","export","extends","false","finally","for","function","if","implements","import","in","instanceof","interface","let","new","null","package","private","protected","public","return","static","super","switch","this","throw","true","try","typeof","var","void","while","with","yield"];function Ep(e){return IL.includes(e)}function ap(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const QL=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function op(e){return QL.includes(e)}const np=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory","defer","disablepictureinpicture","disableremoteplayback"];function Fl(e){return np.includes(e)}const CL={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function iL(e){return e=e.toLowerCase(),CL[e]??e}const BL=[...np,"formNoValidate","isMap","noModule","playsInline","readOnly","value","volume","defaultValue","defaultChecked","srcObject","noValidate","allowFullscreen","disablePictureInPicture","disableRemotePlayback"];function sL(e){return BL.includes(e)}const EL=["autofocus","muted","defaultValue","defaultChecked"];function Sl(e){return EL.includes(e)}const aL=["touchstart","touchmove"];function oL(e){return aL.includes(e)}const nL=["textContent","innerHTML","innerText"];function Ll(e){return nL.includes(e)}const rL=["body","embed","iframe","img","link","object","script","style","track"];function bn(e){return rL.includes(e)}const cL=["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hatch","hatchpath","hkern","image","line","linearGradient","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tref","tspan","unknown","use","view","vkern"];function Yl(e){return cL.includes(e)}const lL=["annotation","annotation-xml","maction","math","merror","mfrac","mi","mmultiscripts","mn","mo","mover","mpadded","mphantom","mprescripts","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msubsup","msup","mtable","mtd","mtext","mtr","munder","munderover","semantics"];function rp(e){return lL.includes(e)}const cp=["$state","$state.raw","$derived","$derived.by"],hL=[...cp,"$state.snapshot","$props","$props.id","$bindable","$effect","$effect.pre","$effect.tracking","$effect.root","$inspect","$inspect().with","$inspect.trace","$host"];function DI(e){return hL.includes(e)}function uL(e){return cp.includes(e)}function DL(e){return e==null?void 0:e.replace(/\//g,"/​")}let TQ=[],xt,qn,MA,Gt=sp("",{offsetLine:1});function lp(e){const A=Gt(e.start);return`${DL(xt)}:${A==null?void 0:A.line}:${A.column}`}let hp,ZI=[],vn=new Map;function dL(e){const A=new Set([...ZI.at(-1)||[],...e]);ZI.push(A)}function pL(){ZI.pop()}function up(e=()=>!0){hp=e}function vg(e,A){var t;return MA&&!!((t=vn.get(e))!=null&&t.some(g=>g.has(A)))}function Dp(e,A){var g;qn=e;const t=(g=A.rootDir)==null?void 0:g.replace(/\\/g,"/");xt=A.filename.replace(/\\/g,"/"),MA=!!A.dev,typeof t=="string"&&xt.startsWith(t)&&(xt=xt.replace(t,"").replace(/^[/\\]/,"")),Gt=sp(qn,{offsetLine:1}),TQ=[],ZI=[],vn.clear()}const wL=/^\t+/;function Ul(e){return e.replace(wL,A=>A.split(" ").join(" "))}function fL(e,A,t){const g=e.split(`
19
26
  `),I=Math.max(0,A-2),Q=Math.min(A+3,g.length),C=String(Q+1).length;return g.slice(I,Q).map((i,B)=>{const s=I+B===A,a=String(B+I+1).padStart(C," ");if(s){const n=" ".repeat(C+2+Ul(i.slice(0,t)).length)+"^";return`${a}: ${Ul(i)}
20
27
  ${n}`}return`${a}: ${Ul(i)}`}).join(`
package/assets/index.js CHANGED
@@ -2453,8 +2453,9 @@ const _e = async (s) => new Promise((t, e) => {
2453
2453
  _e({ host: s, cdn_url: i, id: t, tag: e })
2454
2454
  ]), b = {
2455
2455
  svelte: () => import("./svelte/index.js").then((p) => p.b_),
2456
- "svelte/store": () => import("./svelte/store.js").then((p) => p.i),
2456
+ "svelte/store": () => import("./svelte/store.js").then((p) => p.a),
2457
2457
  "svelte/animate": () => import("./svelte/animate.js"),
2458
+ "svelte/reactivity": () => import("./svelte/reactivity.js"),
2458
2459
  "svelte/easing": () => import("./svelte/easing.js"),
2459
2460
  "svelte/events": () => import("./svelte/events.js"),
2460
2461
  "svelte/motion": () => import("./svelte/motion.js").then((p) => p.i),
@@ -2118,113 +2118,113 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2118
2118
  untrack: J
2119
2119
  }, Symbol.toStringTag, { value: "Module" }));
2120
2120
  export {
2121
- za as $,
2121
+ ie as $,
2122
2122
  la as A,
2123
- B,
2124
- v as C,
2125
- p as D,
2123
+ gi as B,
2124
+ B as C,
2125
+ v as D,
2126
2126
  Kt as E,
2127
2127
  Mn as F,
2128
- Aa as G,
2128
+ p as G,
2129
2129
  Xt as H,
2130
- Sa as I,
2131
- vt as J,
2132
- Gr as K,
2130
+ Aa as I,
2131
+ Sa as J,
2132
+ vt as K,
2133
2133
  Br as L,
2134
- Wr as M,
2135
- Ue as N,
2136
- Va as O,
2137
- Dn as P,
2138
- va as Q,
2139
- Mt as R,
2134
+ Gr as M,
2135
+ Wr as N,
2136
+ Ue as O,
2137
+ Va as P,
2138
+ Dn as Q,
2139
+ va as R,
2140
2140
  G as S,
2141
- qr as T,
2141
+ Mt as T,
2142
2142
  S as U,
2143
- Ia as V,
2144
- D as W,
2145
- nt as X,
2146
- $t as Y,
2147
- ge as Z,
2148
- ie as _,
2143
+ qr as V,
2144
+ Ia as W,
2145
+ D as X,
2146
+ nt as Y,
2147
+ $t as Z,
2148
+ ge as _,
2149
2149
  M as a,
2150
- et as a$,
2151
- dr as a0,
2152
- Ve as a1,
2153
- Oa as a2,
2154
- Yr as a3,
2155
- Lt as a4,
2156
- g as a5,
2157
- q as a6,
2158
- Zr as a7,
2159
- ha as a8,
2160
- it as a9,
2161
- Xa as aA,
2162
- fa as aB,
2163
- Gt as aC,
2164
- Ur as aD,
2165
- Tr as aE,
2166
- Ja as aF,
2167
- cn as aG,
2168
- Yt as aH,
2169
- zt as aI,
2170
- dn as aJ,
2171
- Fr as aK,
2172
- sa as aL,
2173
- ia as aM,
2174
- oa as aN,
2175
- Ze as aO,
2176
- ni as aP,
2177
- ri as aQ,
2178
- da as aR,
2179
- xa as aS,
2180
- Ba as aT,
2181
- lr as aU,
2182
- jr as aV,
2183
- Zt as aW,
2184
- ln as aX,
2185
- Kr as aY,
2186
- na as aZ,
2187
- be as a_,
2188
- fn as aa,
2189
- Jr as ab,
2190
- Xr as ac,
2191
- wa as ad,
2192
- Nt as ae,
2193
- Qr as af,
2194
- Je as ag,
2195
- Fe as ah,
2196
- pr as ai,
2197
- ta as aj,
2198
- j as ak,
2199
- Ga as al,
2200
- vr as am,
2201
- Ot as an,
2202
- rt as ao,
2203
- E as ap,
2204
- ne as aq,
2205
- Se as ar,
2206
- Za as as,
2207
- Ye as at,
2208
- Ha as au,
2209
- Vr as av,
2210
- Ka as aw,
2211
- tn as ax,
2212
- si as ay,
2213
- ti as az,
2150
+ be as a$,
2151
+ za as a0,
2152
+ dr as a1,
2153
+ Ve as a2,
2154
+ Oa as a3,
2155
+ Yr as a4,
2156
+ Lt as a5,
2157
+ g as a6,
2158
+ q as a7,
2159
+ Zr as a8,
2160
+ ha as a9,
2161
+ ti as aA,
2162
+ Xa as aB,
2163
+ fa as aC,
2164
+ Gt as aD,
2165
+ Ur as aE,
2166
+ Tr as aF,
2167
+ Ja as aG,
2168
+ cn as aH,
2169
+ Yt as aI,
2170
+ zt as aJ,
2171
+ dn as aK,
2172
+ Fr as aL,
2173
+ sa as aM,
2174
+ ia as aN,
2175
+ oa as aO,
2176
+ Ze as aP,
2177
+ ni as aQ,
2178
+ ri as aR,
2179
+ da as aS,
2180
+ xa as aT,
2181
+ Ba as aU,
2182
+ lr as aV,
2183
+ jr as aW,
2184
+ Zt as aX,
2185
+ ln as aY,
2186
+ Kr as aZ,
2187
+ na as a_,
2188
+ it as aa,
2189
+ fn as ab,
2190
+ Jr as ac,
2191
+ Xr as ad,
2192
+ wa as ae,
2193
+ Nt as af,
2194
+ Qr as ag,
2195
+ Je as ah,
2196
+ Fe as ai,
2197
+ pr as aj,
2198
+ ta as ak,
2199
+ j as al,
2200
+ Ga as am,
2201
+ vr as an,
2202
+ Ot as ao,
2203
+ rt as ap,
2204
+ E as aq,
2205
+ ne as ar,
2206
+ Se as as,
2207
+ Za as at,
2208
+ Ye as au,
2209
+ Ha as av,
2210
+ Vr as aw,
2211
+ Ka as ax,
2212
+ tn as ay,
2213
+ si as az,
2214
2214
  Me as b,
2215
- ra as b0,
2216
- ea as b1,
2217
- ga as b2,
2218
- aa as b3,
2219
- H as b4,
2220
- Et as b5,
2221
- ka as b6,
2222
- Fa as b7,
2223
- Pt as b8,
2224
- zr as b9,
2225
- mi as bA,
2226
- di as bB,
2227
- pa as bC,
2215
+ et as b0,
2216
+ ra as b1,
2217
+ ea as b2,
2218
+ ga as b3,
2219
+ aa as b4,
2220
+ H as b5,
2221
+ Et as b6,
2222
+ ka as b7,
2223
+ Fa as b8,
2224
+ Pt as b9,
2225
+ pi as bA,
2226
+ mi as bB,
2227
+ di as bC,
2228
2228
  Ya as bD,
2229
2229
  Wa as bE,
2230
2230
  ma as bF,
@@ -2249,32 +2249,32 @@ export {
2249
2249
  Ma as bY,
2250
2250
  Pa as bZ,
2251
2251
  xi as b_,
2252
- Ne as ba,
2253
- Ea as bb,
2254
- xr as bc,
2255
- rn as bd,
2256
- Nr as be,
2257
- Lr as bf,
2258
- wi as bg,
2259
- Ta as bh,
2260
- Vn as bi,
2261
- Un as bj,
2262
- ca as bk,
2263
- Ai as bl,
2264
- Si as bm,
2265
- fi as bn,
2266
- ui as bo,
2267
- oi as bp,
2268
- ai as bq,
2269
- ei as br,
2270
- Ca as bs,
2271
- Na as bt,
2272
- hi as bu,
2273
- li as bv,
2274
- _i as bw,
2275
- ci as bx,
2276
- vi as by,
2277
- pi as bz,
2252
+ zr as ba,
2253
+ Ne as bb,
2254
+ Ea as bc,
2255
+ xr as bd,
2256
+ rn as be,
2257
+ Nr as bf,
2258
+ Lr as bg,
2259
+ wi as bh,
2260
+ Ta as bi,
2261
+ Vn as bj,
2262
+ Un as bk,
2263
+ ca as bl,
2264
+ Ai as bm,
2265
+ Si as bn,
2266
+ fi as bo,
2267
+ ui as bp,
2268
+ oi as bq,
2269
+ ai as br,
2270
+ ei as bs,
2271
+ Ca as bt,
2272
+ Na as bu,
2273
+ hi as bv,
2274
+ li as bw,
2275
+ _i as bx,
2276
+ ci as by,
2277
+ vi as bz,
2278
2278
  te as c,
2279
2279
  $ as d,
2280
2280
  fr as e,
@@ -2283,20 +2283,20 @@ export {
2283
2283
  z as h,
2284
2284
  h as i,
2285
2285
  Ua as j,
2286
- $r as k,
2287
- ba as l,
2288
- Qa as m,
2286
+ pa as k,
2287
+ $r as l,
2288
+ ba as m,
2289
2289
  vn as n,
2290
2290
  ii as o,
2291
- m as p,
2292
- On as q,
2291
+ Qa as p,
2292
+ m as q,
2293
2293
  ve as r,
2294
2294
  gn as s,
2295
2295
  ir as t,
2296
2296
  J as u,
2297
- Ae as v,
2298
- ua as w,
2299
- ee as x,
2300
- We as y,
2301
- gi as z
2297
+ On as v,
2298
+ Ae as w,
2299
+ ua as x,
2300
+ ee as y,
2301
+ We as z
2302
2302
  };