PageSourceSearch

https://www.csm.org/_app/immutable/chunks/Bd6dei9h.js

js csm.org collected 2026-10-02 09:58:59 UTC 4,248 bytes, 1 lines download raw bytes

1import{ao as e,g as t,a8 as n,q as s,u as i,ap as a,v as r,T as h,y as f,aq as c,a7 as p,A as d,z as o,ar as _,I as l,as as g,at as u,au as v,af as m,av as y,aw as w,ax as b,Y as E,Z as k,ay as L,az as T,aA as x,K as q,n as C,J as F,aB as M,aC as V,E as j,aD as z,aE as A,aF as D,aG as I,U as J,aH as K,aI as N,aJ as P,L as R,aK as S,aL as U,aM as W,aN as $,aO as B,aP as G,aQ as H,aR as O,aS as Q,aT as Y,p as Z,R as X,aU as ee,aV as te,c as ne}from"./y82lklpP.js";var se=j|z|A;class ie{parent;#e=!1;#t;#n=f?h:null;#s;#i;#a;#r=null;#h=null;#f=null;#c=null;#p=0;#d=0;#o=!1;#_=null;#l=()=>{this.#_&&c(this.#_,this.#p)};#g=function(h){let f,c=0,p=n(0);return()=>{e()&&(t(p),s(()=>(0===c&&(f=i(()=>h())),c+=1,()=>{r(()=>{c-=1,0===c&&(f?.(),f=void 0,a(p))})})))}}(()=>(this.#_=n(this.#p),()=>{this.#_=null}));constructor(e,t,n){this.#t=e,this.#s=t,this.#i=n,this.parent=p.b,this.#e=!!this.#s.pending,this.#a=d(()=>{if(p.b=this,f){const e=this.#n;o(),e.nodeType===_&&e.data===l?this.#u():this.#v()}else{try{this.#r=g(()=>n(this.#t))}catch(e){this.error(e)}this.#d>0?this.#m():this.#e=!1}},se),f&&(this.#t=h)}#v(){try{this.#r=g(()=>this.#i(this.#t))}catch(e){this.error(e)}this.#e=!1}#u(){const e=this.#s.pending;e&&(this.#h=g(()=>e(this.#t)),u.enqueue(()=>{this.#r=this.#y(()=>(u.ensure(),g(()=>this.#i(this.#t)))),this.#d>0?this.#m():(v(this.#h,()=>{this.#h=null}),this.#e=!1)}))}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#s.pending}#y(e){var t=p,n=E,s=k;m(this.#a),y(this.#a),w(this.#a.ctx);try{return e()}catch(i){return b(i),null}finally{m(t),y(n),w(s)}}#m(){const e=this.#s.pending;null!==this.#r&&(this.#c=document.createDocumentFragment(),L(this.#r,this.#c)),null===this.#h&&(this.#h=g(()=>e(this.#t)))}#w(e){this.has_pending_snippet()?(this.#d+=e,0===this.#d&&(this.#e=!1,this.#h&&v(this.#h,()=>{this.#h=null}),this.#c&&(this.#t.before(this.#c),this.#c=null))):this.parent&&this.parent.#w(e)}update_pending_count(e){this.#w(e),this.#p+=e,T.add(this.#l)}get_effect_pending(){return this.#g(),t(this.#_)}error(e){var t=this.#s.onerror;let n=this.#s.failed;if(this.#o||!t&&!n)throw e;this.#r&&(x(this.#r),this.#r=null),this.#h&&(x(this.#h),this.#h=null),this.#f&&(x(this.#f),this.#f=null),f&&(q(this.#n),C(),q(F()));var s=!1,i=!1;const a=()=>{s?D():(s=!0,i&&V(),u.ensure(),this.#p=0,null!==this.#f&&v(this.#f,()=>{this.#f=null}),this.#e=this.has_pending_snippet(),this.#r=this.#y(()=>(this.#o=!1,g(()=>this.#i(this.#t)))),this.#d>0?this.#m():this.#e=!1)};var h=E;try{y(null),i=!0,t?.(e,a),i=!1}catch(c){M(c,this.#a&&this.#a.parent)}finally{y(h)}n&&r(()=>{this.#f=this.#y(()=>{this.#o=!0;try{return g(()=>{n(this.#t,()=>e,()=>a)})}catch(c){return M(c,this.#a.parent),null}finally{this.#o=!1}})})}}function ae(e,t){var n=null==t?"":"object"==typeof t?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function re(e,t){return ce(e,t)}function he(e,t){I(),t.intro=t.intro??!1;const n=t.target,s=f,i=h;try{for(var a=J(n);a&&(a.nodeType!==_||a.data!==K);)a=N(a);if(!a)throw P;R(!0),q(a);const s=ce(e,{...t,anchor:a});return R(!1),s}catch(r){if(r instanceof Error&&r.message.split("\n").some(e=>e.startsWith("https://svelte.dev/e/")))throw r;return r!==P&&console.warn("Failed to hydrate: ",r),!1===t.recover&&S(),I(),U(n),R(!1),re(e,t)}finally{R(s),q(i),Y()}}const fe=new Map;function ce(e,{target:t,anchor:n,props:s={},events:i,context:a,intro:r=!0}){I();var c=new Set,d=e=>{for(var n=0;n<e.length;n++){var s=e[n];if(!c.has(s)){c.add(s);var i=O(s);t.addEventListener(s,H,{passive:i});var a=fe.get(s);void 0===a?(document.addEventListener(s,H,{passive:i}),fe.set(s,1)):fe.set(s,a+1)}}};d(W($)),B.add(d);var o=void 0,l=G(()=>{var r=n??t.appendChild(Q());return new ie(r,{pending:()=>{}},t=>{if(a&&(Z({}),k.c=a),i&&(s.$$events=i),f&&X(t,null),o=e(t,s)||{},f&&(p.nodes_end=h,null===h||h.nodeType!==_||h.data!==ee))throw te(),P;a&&ne()}),()=>{for(var e of c){t.removeEventListener(e,H);var s=fe.get(e);0===--s?(document.removeEventListener(e,H),fe.delete(e)):fe.set(e,s)}B.delete(d),r!==n&&r.parentNode?.removeChild(r)}});return pe.set(o,l),o}
1let pe=new WeakMap;function de(e,t){const n=pe.get(e);return n?(pe.delete(e),n(t)):Promise.resolve()}export{he as h,re as m,ae as s,de as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.