1import { S as SvelteComponent, i as init, s as safe_not_equal, a as space, e as empty, c as claim_space, b as insert_hydration, d as transition_out, f as check_outros, g as transition_in, h as detach, j as afterUpdate, o as onMount, k as element, l as claim_element, m as children, n as attr, p as set_style, q as text, r as claim_text, u as set_data, v as group_outros, w as binding_callbacks, x as construct_svelte_component, y as create_component, z as claim_component, A as mount_component, B as destroy_component } from "../chunks/index.0616d844.js"; 2const scriptRel = "modulepreload"; 3const assetsURL = function(dep, importerUrl) { 4 return new URL(dep, importerUrl).href; 5}; 6const seen = {}; 7const __vitePreload = function preload(baseModule, deps, importerUrl) { 8 if (!deps || deps.length === 0) { 9 return baseModule(); 10 } 11 const links = document.getElementsByTagName("link"); 12 return Promise.all(deps.map((dep) => { 13 dep = assetsURL(dep, importerUrl); 14 if (dep in seen) 15 return; 16 seen[dep] = true; 17 const isCss = dep.endsWith(".css"); 18 const cssSelector = isCss ? '[rel="stylesheet"]' : ""; 19 const isBaseRelative = !!importerUrl; 20 if (isBaseRelative) { 21 for (let i = links.length - 1; i >= 0; i--) { 22 const link2 = links[i]; 23 if (link2.href === dep && (!isCss || link2.rel === "stylesheet")) { 24 return; 25 } 26 } 27 } else if (document.querySelector(`link[href="${dep}"]${cssSelector}`)) { 28 return; 29 } 30 const link = document.createElement("link"); 31 link.rel = isCss ? "stylesheet" : scriptRel; 32 if (!isCss) { 33 link.as = "script"; 34 link.crossOrigin = ""; 35 } 36 link.href = dep; 37 document.head.appendChild(link); 38 if (isCss) { 39 return new Promise((res, rej) => { 40 link.addEventListener("load", res); 41 link.addEventListener("error", () => rej(new Error(`Unable to preload CSS for ${dep}`))); 42 }); 43 } 44 })).then(() => baseModule()); 45}; 46const matchers = {}; 47function create_else_block(ctx) { 48 let switch_instance; 49 let switch_instance_anchor; 50 let current; 51 var switch_value = ( 52 /*constructors*/ 53 ctx[1][0] 54 ); 55 function switch_props(ctx2) { 56 let switch_instance_props = { 57 data: ( 58 /*data_0*/ 59 ctx2[3] 60 ), 61 form: ( 62 /*form*/ 63 ctx2[2] 64 ) 65 }; 66 return { props: switch_instance_props }; 67 } 68 if (switch_value) { 69 switch_instance = construct_svelte_component(switch_value, switch_props(ctx)); 70 ctx[12](switch_instance); 71 } 72 return { 73 c() { 74 if (switch_instance) 75 create_component(switch_instance.$$.fragment); 76 switch_instance_anchor = empty(); 77 }, 78 l(nodes2) { 79 if (switch_instance) 80 claim_component(switch_instance.$$.fragment, nodes2); 81 switch_instance_anchor = empty(); 82 }, 83 m(target, anchor) { 84 if (switch_instance) 85 mount_component(switch_instance, target, anchor); 86 insert_hydration(target, switch_instance_anchor, anchor); 87 current = true; 88 }, 89 p(ctx2, dirty) { 90 const switch_instance_changes = {}; 91 if (dirty & /*data_0*/ 92 8) 93 switch_instance_changes.data = /*data_0*/ 94 ctx2[3]; 95 if (dirty & /*form*/ 96 4) 97 switch_instance_changes.form = /*form*/ 98 ctx2[2]; 99 if (switch_value !== (switch_value = /*constructors*/ 100 ctx2[1][0])) { 101 if (switch_instance) { 102 group_outros(); 103 const old_component = switch_instance; 104 transition_out(old_component.$$.fragment, 1, 0, () => { 105 destroy_component(old_component, 1); 106 }); 107 check_outros(); 108 } 109 if (switch_value) { 110 switch_instance = construct_svelte_component(switch_value, switch_props(ctx2)); 111 ctx2[12](switch_instance); 112 create_component(switch_instance.$$.fragment); 113 transition_in(switch_instance.$$.fragment, 1); 114 mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor); 115 } else { 116 switch_instance = null; 117 } 118 } else if (switch_value) { 119 switch_instance.$set(switch_instance_changes); 120 } 121 }, 122 i(local) { 123 if (current) 124 return; 125 if (switch_instance) 126 transition_in(switch_instance.$$.fragment, local); 127 current = true; 128 }, 129 o(local) { 130 if (switch_instance) 131 transition_out(switch_instance.$$.fragment, local); 132 current = false;
133 }, 134 d(detaching) { 135 ctx[12](null); 136 if (detaching) 137 detach(switch_instance_anchor); 138 if (switch_instance) 139 destroy_component(switch_instance, detaching); 140 } 141 }; 142} 143function create_if_block_2(ctx) { 144 let switch_instance; 145 let switch_instance_anchor; 146 let current; 147 var switch_value = ( 148 /*constructors*/ 149 ctx[1][0] 150 ); 151 function switch_props(ctx2) { 152 let switch_instance_props = { 153 data: ( 154 /*data_0*/ 155 ctx2[3] 156 ), 157 $$slots: { default: [create_default_slot] }, 158 $$scope: { ctx: ctx2 } 159 }; 160 return { props: switch_instance_props }; 161 } 162 if (switch_value) { 163 switch_instance = construct_svelte_component(switch_value, switch_props(ctx)); 164 ctx[11](switch_instance); 165 } 166 return { 167 c() { 168 if (switch_instance) 169 create_component(switch_instance.$$.fragment); 170 switch_instance_anchor = empty(); 171 }, 172 l(nodes2) { 173 if (switch_instance) 174 claim_component(switch_instance.$$.fragment, nodes2); 175 switch_instance_anchor = empty(); 176 }, 177 m(target, anchor) { 178 if (switch_instance) 179 mount_component(switch_instance, target, anchor); 180 insert_hydration(target, switch_instance_anchor, anchor); 181 current = true; 182 }, 183 p(ctx2, dirty) { 184 const switch_instance_changes = {}; 185 if (dirty & /*data_0*/ 186 8) 187 switch_instance_changes.data = /*data_0*/ 188 ctx2[3]; 189 if (dirty & /*$$scope, constructors, data_1, form, components*/ 190 8215) { 191 switch_instance_changes.$$scope = { dirty, ctx: ctx2 }; 192 } 193 if (switch_value !== (switch_value = /*constructors*/ 194 ctx2[1][0])) { 195 if (switch_instance) { 196 group_outros(); 197 const old_component = switch_instance; 198 transition_out(old_component.$$.fragment, 1, 0, () => { 199 destroy_component(old_component, 1); 200 }); 201 check_outros(); 202 } 203 if (switch_value) { 204 switch_instance = construct_svelte_component(switch_value, switch_props(ctx2)); 205 ctx2[11](switch_instance); 206 create_component(switch_instance.$$.fragment); 207 transition_in(switch_instance.$$.fragment, 1); 208 mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor); 209 } else { 210 switch_instance = null; 211 } 212 } else if (switch_value) { 213 switch_instance.$set(switch_instance_changes); 214 } 215 }, 216 i(local) { 217 if (current) 218 return; 219 if (switch_instance) 220 transition_in(switch_instance.$$.fragment, local); 221 current = true; 222 }, 223 o(local) { 224 if (switch_instance) 225 transition_out(switch_instance.$$.fragment, local); 226 current = false; 227 }, 228 d(detaching) { 229 ctx[11](null); 230 if (detaching) 231 detach(switch_instance_anchor); 232 if (switch_instance) 233 destroy_component(switch_instance, detaching); 234 } 235 }; 236} 237function create_default_slot(ctx) { 238 let switch_instance; 239 let switch_instance_anchor; 240 let current; 241 var switch_value = ( 242 /*constructors*/ 243 ctx[1][1] 244 ); 245 function switch_props(ctx2) { 246 let switch_instance_props = { 247 data: ( 248 /*data_1*/ 249 ctx2[4] 250 ), 251 form: ( 252 /*form*/ 253 ctx2[2] 254 ) 255 }; 256 return { props: switch_instance_props }; 257 } 258 if (switch_value) { 259 switch_instance = construct_svelte_component(switch_value, switch_props(ctx)); 260 ctx[10](switch_instance); 261 } 262 return { 263 c() { 264 if (switch_instance) 265 create_component(switch_instance.$$.fragment); 266 switch_instance_anchor = empty(); 267 }, 268 l(nodes2) { 269 if (switch_instance) 270 claim_component(switch_instance.$$.fragment, nodes2); 271 switch_instance_anchor = empty(); 272 }, 273 m(target, anchor) { 274 if (switch_instance) 275 mount_component(switch_instance, target, anchor); 276 insert_hydration(target, switch_instance_anchor, anchor); 277 current = true; 278 }, 279 p(ctx2, dirty) { 280 const switch_instance_changes = {};
281 if (dirty & /*data_1*/ 282 16) 283 switch_instance_changes.data = /*data_1*/ 284 ctx2[4]; 285 if (dirty & /*form*/ 286 4) 287 switch_instance_changes.form = /*form*/ 288 ctx2[2]; 289 if (switch_value !== (switch_value = /*constructors*/ 290 ctx2[1][1])) { 291 if (switch_instance) { 292 group_outros(); 293 const old_component = switch_instance; 294 transition_out(old_component.$$.fragment, 1, 0, () => { 295 destroy_component(old_component, 1); 296 }); 297 check_outros(); 298 } 299 if (switch_value) { 300 switch_instance = construct_svelte_component(switch_value, switch_props(ctx2)); 301 ctx2[10](switch_instance); 302 create_component(switch_instance.$$.fragment); 303 transition_in(switch_instance.$$.fragment, 1); 304 mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor); 305 } else { 306 switch_instance = null; 307 } 308 } else if (switch_value) { 309 switch_instance.$set(switch_instance_changes); 310 } 311 }, 312 i(local) { 313 if (current) 314 return; 315 if (switch_instance) 316 transition_in(switch_instance.$$.fragment, local); 317 current = true; 318 }, 319 o(local) { 320 if (switch_instance) 321 transition_out(switch_instance.$$.fragment, local); 322 current = false; 323 }, 324 d(detaching) { 325 ctx[10](null); 326 if (detaching) 327 detach(switch_instance_anchor); 328 if (switch_instance) 329 destroy_component(switch_instance, detaching); 330 } 331 }; 332} 333function create_if_block(ctx) { 334 let div; 335 let if_block = ( 336 /*navigated*/ 337 ctx[6] && create_if_block_1(ctx) 338 ); 339 return { 340 c() { 341 div = element("div"); 342 if (if_block) 343 if_block.c(); 344 this.h(); 345 }, 346 l(nodes2) { 347 div = claim_element(nodes2, "DIV", { 348 id: true, 349 "aria-live": true, 350 "aria-atomic": true, 351 style: true 352 }); 353 var div_nodes = children(div); 354 if (if_block) 355 if_block.l(div_nodes); 356 div_nodes.forEach(detach); 357 this.h(); 358 }, 359 h() { 360 attr(div, "id", "svelte-announcer"); 361 attr(div, "aria-live", "assertive"); 362 attr(div, "aria-atomic", "true"); 363 set_style(div, "position", "absolute"); 364 set_style(div, "left", "0"); 365 set_style(div, "top", "0"); 366 set_style(div, "clip", "rect(0 0 0 0)"); 367 set_style(div, "clip-path", "inset(50%)"); 368 set_style(div, "overflow", "hidden"); 369 set_style(div, "white-space", "nowrap"); 370 set_style(div, "width", "1px"); 371 set_style(div, "height", "1px"); 372 }, 373 m(target, anchor) { 374 insert_hydration(target, div, anchor); 375 if (if_block) 376 if_block.m(div, null); 377 }, 378 p(ctx2, dirty) { 379 if ( 380 /*navigated*/ 381 ctx2[6] 382 ) { 383 if (if_block) { 384 if_block.p(ctx2, dirty); 385 } else { 386 if_block = create_if_block_1(ctx2); 387 if_block.c(); 388 if_block.m(div, null); 389 } 390 } else if (if_block) { 391 if_block.d(1); 392 if_block = null; 393 } 394 }, 395 d(detaching) { 396 if (detaching) 397 detach(div); 398 if (if_block) 399 if_block.d(); 400 } 401 }; 402} 403function create_if_block_1(ctx) { 404 let t; 405 return { 406 c() { 407 t = text( 408 /*title*/ 409 ctx[7] 410 ); 411 }, 412 l(nodes2) { 413 t = claim_text( 414 nodes2, 415 /*title*/ 416 ctx[7] 417 ); 418 }, 419 m(target, anchor) { 420 insert_hydration(target, t, anchor); 421 }, 422 p(ctx2, dirty) { 423 if (dirty & /*title*/ 424 128) 425 set_data( 426 t, 427 /*title*/ 428 ctx2[7] 429 ); 430 }, 431 d(detaching) { 432 if (detaching) 433 detach(t); 434 } 435 }; 436} 437function create_fragment(ctx) { 438 let current_block_type_index; 439 let if_block0; 440 let t; 441 let if_block1_anchor; 442 let current; 443 const if_block_creators = [create_if_block_2, create_else_block]; 444 const if_blocks = []; 445 function select_block_type(ctx2, dirty) { 446 if ( 447 /*constructors*/ 448 ctx2[1][1] 449 ) 450 return 0; 451 return 1; 452 } 453 current_block_type_index = select_block_type(ctx); 454 if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); 455 let if_block1 = ( 456 /*mounted*/ 457 ctx[5] && create_if_block(ctx) 458 ); 459 return { 460 c() { 461 if_block0.c(); 462 t = space(); 463 if (if_block1) 464 if_block1.c(); 465 if_block1_anchor = empty(); 466 }, 467 l(nodes2) { 468 if_block0.l(nodes2); 469 t = claim_space(nodes2); 470 if (if_block1) 471 if_block1.l(nodes2); 472 if_block1_anchor = empty(); 473 }, 474 m(target, anchor) { 475 if_blocks[current_block_type_index].m(target, anchor); 476 insert_hydration(target, t, anchor); 477 if (if_block1) 478 if_block1.m(target, anchor); 479 insert_hydration(target, if_block1_anchor, anchor); 480 current = true; 481 }, 482 p(ctx2, [dirty]) { 483 let previous_block_index = current_block_type_index; 484 current_block_type_index = select_block_type(ctx2); 485 if (current_block_type_index === previous_block_index) { 486 if_blocks[current_block_type_index].p(ctx2, dirty); 487 } else { 488 group_outros(); 489 transition_out(if_blocks[previous_block_index], 1, 1, () => { 490 if_blocks[previous_block_index] = null; 491 }); 492 check_outros(); 493 if_block0 = if_blocks[current_block_type_index]; 494 if (!if_block0) { 495 if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx2); 496 if_block0.c(); 497 } else { 498 if_block0.p(ctx2, dirty); 499 } 500 transition_in(if_block0, 1); 501 if_block0.m(t.parentNode, t); 502 } 503 if ( 504 /*mounted*/ 505 ctx2[5] 506 ) { 507 if (if_block1) { 508 if_block1.p(ctx2, dirty); 509 } else { 510 if_block1 = create_if_block(ctx2); 511 if_block1.c(); 512 if_block1.m(if_block1_anchor.parentNode, if_block1_anchor); 513 } 514 } else if (if_block1) { 515 if_block1.d(1); 516 if_block1 = null; 517 } 518 }, 519 i(local) { 520 if (current) 521 return; 522 transition_in(if_block0); 523 current = true; 524 }, 525 o(local) { 526 transition_out(if_block0); 527 current = false;
528 }, 529 d(detaching) { 530 if_blocks[current_block_type_index].d(detaching); 531 if (detaching) 532 detach(t); 533 if (if_block1) 534 if_block1.d(detaching); 535 if (detaching) 536 detach(if_block1_anchor); 537 } 538 }; 539} 540function instance($$self, $$props, $$invalidate) { 541 let { stores } = $$props; 542 let { page } = $$props; 543 let { constructors } = $$props; 544 let { components = [] } = $$props; 545 let { form } = $$props; 546 let { data_0 = null } = $$props; 547 let { data_1 = null } = $$props; 548 afterUpdate(stores.page.notify); 549 let mounted = false; 550 let navigated = false; 551 let title = null; 552 onMount(() => { 553 const unsubscribe = stores.page.subscribe(() => { 554 if (mounted) { 555 $$invalidate(6, navigated = true); 556 $$invalidate(7, title = document.title || "untitled page"); 557 } 558 }); 559 $$invalidate(5, mounted = true); 560 return unsubscribe; 561 }); 562 function switch_instance_binding($$value) { 563 binding_callbacks[$$value ? "unshift" : "push"](() => { 564 components[1] = $$value; 565 $$invalidate(0, components); 566 }); 567 } 568 function switch_instance_binding_1($$value) { 569 binding_callbacks[$$value ? "unshift" : "push"](() => { 570 components[0] = $$value; 571 $$invalidate(0, components); 572 }); 573 } 574 function switch_instance_binding_2($$value) { 575 binding_callbacks[$$value ? "unshift" : "push"](() => { 576 components[0] = $$value; 577 $$invalidate(0, components); 578 }); 579 } 580 $$self.$$set = ($$props2) => { 581 if ("stores" in $$props2) 582 $$invalidate(8, stores = $$props2.stores); 583 if ("page" in $$props2) 584 $$invalidate(9, page = $$props2.page); 585 if ("constructors" in $$props2) 586 $$invalidate(1, constructors = $$props2.constructors); 587 if ("components" in $$props2) 588 $$invalidate(0, components = $$props2.components); 589 if ("form" in $$props2) 590 $$invalidate(2, form = $$props2.form); 591 if ("data_0" in $$props2) 592 $$invalidate(3, data_0 = $$props2.data_0); 593 if ("data_1" in $$props2) 594 $$invalidate(4, data_1 = $$props2.data_1); 595 }; 596 $$self.$$.update = () => { 597 if ($$self.$$.dirty & /*stores, page*/ 598 768) { 599 stores.page.set(page); 600 } 601 }; 602 return [ 603 components, 604 constructors, 605 form, 606 data_0, 607 data_1, 608 mounted, 609 navigated, 610 title, 611 stores, 612 page, 613 switch_instance_binding, 614 switch_instance_binding_1, 615 switch_instance_binding_2 616 ]; 617} 618class Root extends SvelteComponent { 619 constructor(options) { 620 super(); 621 init(this, options, instance, create_fragment, safe_not_equal, { 622 stores: 8, 623 page: 9, 624 constructors: 1, 625 components: 0, 626 form: 2, 627 data_0: 3, 628 data_1: 4 629 }); 630 } 631} 632const nodes = [ 633 () => __vitePreload(() => import("../chunks/0.456fc767.js"), true ? ["../chunks/0.456fc767.js","./_layout.svelte.ef1a8d89.js","../chunks/index.0616d844.js"] : void 0, import.meta.url), 634 () => __vitePreload(() => import("../chunks/1.fb3953b5.js"), true ? ["../chunks/1.fb3953b5.js","./_error.svelte.3434b533.js","../chunks/index.0616d844.js"] : void 0, import.meta.url), 635 () => __vitePreload(() => import("../chunks/2.feaaa50a.js"), true ? ["../chunks/2.feaaa50a.js","../chunks/_page.f330256e.js","./_page.svelte.f70d0377.js","../chunks/index.0616d844.js","../chunks/index.18cba605.js","../chunks/CV.66628e74.js","../assets/_page.3f38bc40.css"] : void 0, import.meta.url), 636 () => __vitePreload(() => import("../chunks/3.cff000ff.js"), true ? ["../chunks/3.cff000ff.js","../chunks/_page.9aeaa6fb.js","./plain-page.svelte.08c575fa.js","../chunks/index.0616d844.js","../chunks/CV.66628e74.js"] : void 0, import.meta.url) 637]; 638const server_loads = []; 639const dictionary = { 640 "/": [2], 641 "/plain": [3] 642}; 643const hooks = { 644 handleError: ({ error }) => { 645 console.error(error); 646 } 647}; 648export { 649 dictionary, 650 hooks, 651 matchers, 652 nodes, 653 Root as root, 654 server_loads 655};
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.