From 5aee0d4b15c0b4b988c72509a8bf4ddfd675e69e Mon Sep 17 00:00:00 2001 From: colobas Date: Wed, 7 Feb 2024 23:48:32 +0000 Subject: [PATCH] deploy: 99f2c1623ed8f6e211bcaae0353338587097ea0d --- .../{index-ZY8OWyq9.js => index-V4FqYJtX.js} | 2 +- debates/transcriptions/chega-vs-il.json | 876 +++++++++--------- index.html | 2 +- 3 files changed, 440 insertions(+), 440 deletions(-) rename assets/{index-ZY8OWyq9.js => index-V4FqYJtX.js} (99%) diff --git a/assets/index-ZY8OWyq9.js b/assets/index-V4FqYJtX.js similarity index 99% rename from assets/index-ZY8OWyq9.js rename to assets/index-V4FqYJtX.js index 95216e5..1375c49 100644 --- a/assets/index-ZY8OWyq9.js +++ b/assets/index-V4FqYJtX.js @@ -1,4 +1,4 @@ -var ia=Object.defineProperty;var ra=(n,e,t)=>e in n?ia(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var gs=(n,e,t)=>(ra(n,typeof e!="symbol"?e+"":e,t),t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function t(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=t(i);fetch(i.href,r)}})();function ae(){}function Ur(n,e){for(const t in e)n[t]=e[t];return n}function na(n){return!!n&&(typeof n=="object"||typeof n=="function")&&typeof n.then=="function"}function Br(n){return n()}function Ai(){return Object.create(null)}function mt(n){n.forEach(Br)}function ti(n){return typeof n=="function"}function bt(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}let Dt;function aa(n,e){return n===e?!0:(Dt||(Dt=document.createElement("a")),Dt.href=e,n===Dt.href)}function oa(n){return Object.keys(n).length===0}function la(n,...e){if(n==null){for(const s of e)s(void 0);return ae}const t=n.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Se(n,e){n.appendChild(e)}function se(n,e,t){n.insertBefore(e,t||null)}function te(n){n.parentNode&&n.parentNode.removeChild(n)}function $r(n,e){for(let t=0;tn.removeEventListener(e,t,s)}function fe(n,e,t){t==null?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function ca(n){return Array.from(n.childNodes)}function Ns(n,e){e=""+e,n.data!==e&&(n.data=e)}function Li(n,e,t,s){t==null?n.style.removeProperty(e):n.style.setProperty(e,t,s?"important":"")}function ha(n,e,{bubbles:t=!1,cancelable:s=!1}={}){return new CustomEvent(n,{detail:e,bubbles:t,cancelable:s})}function jt(n,e){return new n(e)}let St;function Ue(n){St=n}function It(){if(!St)throw new Error("Function called outside component initialization");return St}function ua(n){It().$$.on_mount.push(n)}function da(n){It().$$.after_update.push(n)}function fa(n){It().$$.on_destroy.push(n)}function ga(){const n=It();return(e,t,{cancelable:s=!1}={})=>{const i=n.$$.callbacks[e];if(i){const r=ha(e,t,{cancelable:s});return i.slice().forEach(a=>{a.call(n,r)}),!r.defaultPrevented}return!0}}function Ri(n,e){const t=n.$$.callbacks[e.type];t&&t.slice().forEach(s=>s.call(this,e))}const rt=[],bi=[];let at=[];const Ii=[],Kr=Promise.resolve();let Us=!1;function Vr(){Us||(Us=!0,Kr.then(ii))}function ma(){return Vr(),Kr}function Bs(n){at.push(n)}const ms=new Set;let Xe=0;function ii(){if(Xe!==0)return;const n=St;do{try{for(;Xen.indexOf(s)===-1?e.push(s):t.push(s)),t.forEach(s=>s()),at=e}const Bt=new Set;let je;function os(){je={r:0,c:[],p:je}}function ls(){je.r||mt(je.c),je=je.p}function $e(n,e){n&&n.i&&(Bt.delete(n),n.i(e))}function He(n,e,t,s){if(n&&n.o){if(Bt.has(n))return;Bt.add(n),je.c.push(()=>{Bt.delete(n),s&&(t&&n.d(1),s())}),n.o(e)}else s&&s()}function Ea(n,e){const t=e.token={};function s(i,r,a,o){if(e.token!==t)return;e.resolved=o;let l=e.ctx;a!==void 0&&(l=l.slice(),l[a]=o);const c=i&&(e.current=i)(l);let h=!1;e.block&&(e.blocks?e.blocks.forEach((u,d)=>{d!==r&&u&&(os(),He(u,1,1,()=>{e.blocks[d]===u&&(e.blocks[d]=null)}),ls())}):e.block.d(1),c.c(),$e(c,1),c.m(e.mount(),e.anchor),h=!0),e.block=c,e.blocks&&(e.blocks[r]=c),h&&ii()}if(na(n)){const i=It();if(n.then(r=>{Ue(i),s(e.then,1,e.value,r),Ue(null)},r=>{if(Ue(i),s(e.catch,2,e.error,r),Ue(null),!e.hasCatch)throw r}),e.current!==e.pending)return s(e.pending,0),!0}else{if(e.current!==e.then)return s(e.then,1,e.value,n),!0;e.resolved=n}}function ya(n,e,t){const s=e.slice(),{resolved:i}=n;n.current===n.then&&(s[n.value]=i),n.current===n.catch&&(s[n.error]=i),n.block.p(s,t)}function qt(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function zt(n,e){const t={},s={},i={$$scope:1};let r=n.length;for(;r--;){const a=n[r],o=e[r];if(o){for(const l in a)l in o||(s[l]=1);for(const l in o)i[l]||(t[l]=o[l],i[l]=1);n[r]=o}else for(const l in a)i[l]=1}for(const a in s)a in t||(t[a]=void 0);return t}function Xt(n){return typeof n=="object"&&n!==null?n:{}}function vt(n){n&&n.c()}function ct(n,e,t){const{fragment:s,after_update:i}=n.$$;s&&s.m(e,t),Bs(()=>{const r=n.$$.on_mount.map(Br).filter(ti);n.$$.on_destroy?n.$$.on_destroy.push(...r):mt(r),n.$$.on_mount=[]}),i.forEach(Bs)}function ht(n,e){const t=n.$$;t.fragment!==null&&(Ta(t.after_update),mt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function xa(n,e){n.$$.dirty[0]===-1&&(rt.push(n),Vr(),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<{const f=g.length?g[0]:d;return c.ctx&&i(c.ctx[u],c.ctx[u]=f)&&(!c.skip_bound&&c.bound[u]&&c.bound[u](f),h&&xa(n,u)),d}):[],c.update(),h=!0,mt(c.before_update),c.fragment=s?s(c.ctx):!1,e.target){if(e.hydrate){const u=ca(e.target);c.fragment&&c.fragment.l(u),u.forEach(te)}else c.fragment&&c.fragment.c();e.intro&&$e(n.$$.fragment),ct(n,e.target,e.anchor),ii()}Ue(l)}class hs{constructor(){gs(this,"$$");gs(this,"$$set")}$destroy(){ht(this,1),this.$destroy=ae}$on(e,t){if(!ti(t))return ae;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(t),()=>{const i=s.indexOf(t);i!==-1&&s.splice(i,1)}}$set(e){this.$$set&&!oa(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Sa="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Sa);const Qe=[];function Hr(n,e){return{subscribe:Wr(n,e).subscribe}}function Wr(n,e=ae){let t;const s=new Set;function i(o){if(bt(n,o)&&(n=o,t)){const l=!Qe.length;for(const c of s)c[1](),Qe.push(c,n);if(l){for(let c=0;c{s.delete(c),s.size===0&&t&&(t(),t=null)}}return{set:i,update:r,subscribe:a}}function Yr(n,e,t){const s=!Array.isArray(n),i=s?[n]:n;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Hr(t,(a,o)=>{let l=!1;const c=[];let h=0,u=ae;const d=()=>{if(h)return;u();const f=e(s?c[0]:c,a,o);r?a(f):u=ti(f)?f:ae},g=i.map((f,m)=>la(f,T=>{c[m]=T,h&=~(1<{h|=1<{ht(c,1)}),ls()}r?(e=jt(r,a(o,l)),e.$on("routeEvent",o[7]),vt(e.$$.fragment),$e(e.$$.fragment,1),ct(e,t.parentNode,t)):e=null}else if(r){const c=l&4?zt(i,[Xt(o[2])]):{};e.$set(c)}},i(o){s||(e&&$e(e.$$.fragment,o),s=!0)},o(o){e&&He(e.$$.fragment,o),s=!1},d(o){o&&te(t),e&&ht(e,o)}}}function La(n){let e,t,s;const i=[{params:n[1]},n[2]];var r=n[0];function a(o,l){let c={};if(l!==void 0&&l&6)c=zt(i,[l&2&&{params:o[1]},l&4&&Xt(o[2])]);else for(let h=0;h{ht(c,1)}),ls()}r?(e=jt(r,a(o,l)),e.$on("routeEvent",o[6]),vt(e.$$.fragment),$e(e.$$.fragment,1),ct(e,t.parentNode,t)):e=null}else if(r){const c=l&6?zt(i,[l&2&&{params:o[1]},l&4&&Xt(o[2])]):{};e.$set(c)}},i(o){s||(e&&$e(e.$$.fragment,o),s=!0)},o(o){e&&He(e.$$.fragment,o),s=!1},d(o){o&&te(t),e&&ht(e,o)}}}function Ra(n){let e,t,s,i;const r=[La,Aa],a=[];function o(l,c){return l[1]?0:1}return e=o(n),t=a[e]=r[e](n),{c(){t.c(),s=si()},m(l,c){a[e].m(l,c),se(l,s,c),i=!0},p(l,[c]){let h=e;e=o(l),e===h?a[e].p(l,c):(os(),He(a[h],1,1,()=>{a[h]=null}),ls(),t=a[e],t?t.p(l,c):(t=a[e]=r[e](l),t.c()),$e(t,1),t.m(s.parentNode,s))},i(l){i||($e(t),i=!0)},o(l){He(t),i=!1},d(l){l&&te(s),a[e].d(l)}}}function Di(){const n=window.location.href.indexOf("#/");let e=n>-1?window.location.href.substr(n+1):"/";const t=e.indexOf("?");let s="";return t>-1&&(s=e.substr(t+1),e=e.substr(0,t)),{location:e,querystring:s}}const ri=Hr(null,function(e){e(Di());const t=()=>{e(Di())};return window.addEventListener("hashchange",t,!1),function(){window.removeEventListener("hashchange",t,!1)}});Yr(ri,n=>n.location);Yr(ri,n=>n.querystring);const Ci=Wr(void 0);function ba(n){n?window.scrollTo(n.__svelte_spa_router_scrollX,n.__svelte_spa_router_scrollY):window.scrollTo(0,0)}function Ia(n,e,t){let{routes:s={}}=e,{prefix:i=""}=e,{restoreScrollState:r=!1}=e;class a{constructor(y,b){if(!b||typeof b!="function"&&(typeof b!="object"||b._sveltesparouter!==!0))throw Error("Invalid component object");if(!y||typeof y=="string"&&(y.length<1||y.charAt(0)!="/"&&y.charAt(0)!="*")||typeof y=="object"&&!(y instanceof RegExp))throw Error('Invalid value for "path" argument - strings must start with / or *');const{pattern:R,keys:C}=va(y);this.path=y,typeof b=="object"&&b._sveltesparouter===!0?(this.component=b.component,this.conditions=b.conditions||[],this.userData=b.userData,this.props=b.props||{}):(this.component=()=>Promise.resolve(b),this.conditions=[],this.props={}),this._pattern=R,this._keys=C}match(y){if(i){if(typeof i=="string")if(y.startsWith(i))y=y.substr(i.length)||"/";else return null;else if(i instanceof RegExp){const k=y.match(i);if(k&&k[0])y=y.substr(k[0].length)||"/";else return null}}const b=this._pattern.exec(y);if(b===null)return null;if(this._keys===!1)return b;const R={};let C=0;for(;C{o.push(new a(y,A))}):Object.keys(s).forEach(A=>{o.push(new a(A,s[A]))});let l=null,c=null,h={};const u=ga();async function d(A,y){await ma(),u(A,y)}let g=null,f=null;r&&(f=A=>{A.state&&(A.state.__svelte_spa_router_scrollY||A.state.__svelte_spa_router_scrollX)?g=A.state:g=null},window.addEventListener("popstate",f),da(()=>{ba(g)}));let m=null,T=null;const E=ri.subscribe(async A=>{m=A;let y=0;for(;y{Ci.set(c)});return}t(0,l=null),T=null,Ci.set(void 0)});fa(()=>{E(),f&&window.removeEventListener("popstate",f)});function x(A){Ri.call(this,n,A)}function S(A){Ri.call(this,n,A)}return n.$$set=A=>{"routes"in A&&t(3,s=A.routes),"prefix"in A&&t(4,i=A.prefix),"restoreScrollState"in A&&t(5,r=A.restoreScrollState)},n.$$.update=()=>{n.$$.dirty&32&&(history.scrollRestoration=r?"manual":"auto")},[l,c,h,s,i,r,x,S]}class Da extends hs{constructor(e){super(),cs(this,e,Ia,Ra,bt,{routes:3,prefix:4,restoreScrollState:5})}}const _i=[{title:"PS vs IL",thumbnail:"https://images.impresa.pt/sicnot/2024-02-05-Pedro-Nuno-Santos-Rui-Rocha-e66319ff/16x9/mw-1200&outputFormat=jpeg",slug:"ps-vs-il"},{title:"Chega vs PAN",thumbnail:"https://cdn-images.rtp.pt/multimedia/screenshots/p12900/p12900_1_2024020515461.jpg?q=100&format=pjpg&auto=webp&v=3&w=400",slug:"chega-vs-pan"},{title:"PCP vs PAN",thumbnail:"https://cdn-images.rtp.pt/multimedia/screenshots/p12900/p12900_1_2024020615498.jpg?q=100&format=pjpg&auto=webp&v=3&w=400",slug:"pcp-vs-pan"},{title:"BE vs PSD",thumbnail:"https://images.impresa.pt/sicnot/2024-02-06-Mortagua-Montenegro-9d90a5bf/16x9/mw-1200&outputFormat=jpeg",slug:"be-vs-psd"}];function wi(n,e,t){const s=n.slice();return s[1]=e[t].title,s[2]=e[t].thumbnail,s[3]=e[t].slug,s}function ki(n){let e,t,s,i,r,a,o,l;function c(){return n[0](n[3])}return{c(){e=me("div"),t=me("img"),i=Ne(),r=me("p"),r.textContent=`${n[1]}`,a=Ne(),aa(t.src,s=n[2])||fe(t,"src",s),fe(t,"alt",n[1]),fe(t,"class","svelte-1iac3wd"),fe(e,"class","debate svelte-1iac3wd")},m(h,u){se(h,e,u),Se(e,t),Se(e,i),Se(e,r),Se(e,a),o||(l=Gr(e,"click",c),o=!0)},p(h,u){n=h},d(h){h&&te(e),o=!1,l()}}}function Ca(n){let e,t,s,i,r,a=qt(_i),o=[];for(let l=0;le in n?ia(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var gs=(n,e,t)=>(ra(n,typeof e!="symbol"?e+"":e,t),t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function t(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=t(i);fetch(i.href,r)}})();function ae(){}function Ur(n,e){for(const t in e)n[t]=e[t];return n}function na(n){return!!n&&(typeof n=="object"||typeof n=="function")&&typeof n.then=="function"}function Br(n){return n()}function Ai(){return Object.create(null)}function mt(n){n.forEach(Br)}function ti(n){return typeof n=="function"}function bt(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}let Dt;function aa(n,e){return n===e?!0:(Dt||(Dt=document.createElement("a")),Dt.href=e,n===Dt.href)}function oa(n){return Object.keys(n).length===0}function la(n,...e){if(n==null){for(const s of e)s(void 0);return ae}const t=n.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Se(n,e){n.appendChild(e)}function se(n,e,t){n.insertBefore(e,t||null)}function te(n){n.parentNode&&n.parentNode.removeChild(n)}function $r(n,e){for(let t=0;tn.removeEventListener(e,t,s)}function fe(n,e,t){t==null?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function ca(n){return Array.from(n.childNodes)}function Ns(n,e){e=""+e,n.data!==e&&(n.data=e)}function Li(n,e,t,s){t==null?n.style.removeProperty(e):n.style.setProperty(e,t,s?"important":"")}function ha(n,e,{bubbles:t=!1,cancelable:s=!1}={}){return new CustomEvent(n,{detail:e,bubbles:t,cancelable:s})}function jt(n,e){return new n(e)}let St;function Ue(n){St=n}function It(){if(!St)throw new Error("Function called outside component initialization");return St}function ua(n){It().$$.on_mount.push(n)}function da(n){It().$$.after_update.push(n)}function fa(n){It().$$.on_destroy.push(n)}function ga(){const n=It();return(e,t,{cancelable:s=!1}={})=>{const i=n.$$.callbacks[e];if(i){const r=ha(e,t,{cancelable:s});return i.slice().forEach(a=>{a.call(n,r)}),!r.defaultPrevented}return!0}}function Ri(n,e){const t=n.$$.callbacks[e.type];t&&t.slice().forEach(s=>s.call(this,e))}const rt=[],bi=[];let at=[];const Ii=[],Kr=Promise.resolve();let Us=!1;function Vr(){Us||(Us=!0,Kr.then(ii))}function ma(){return Vr(),Kr}function Bs(n){at.push(n)}const ms=new Set;let Xe=0;function ii(){if(Xe!==0)return;const n=St;do{try{for(;Xen.indexOf(s)===-1?e.push(s):t.push(s)),t.forEach(s=>s()),at=e}const Bt=new Set;let je;function os(){je={r:0,c:[],p:je}}function ls(){je.r||mt(je.c),je=je.p}function $e(n,e){n&&n.i&&(Bt.delete(n),n.i(e))}function He(n,e,t,s){if(n&&n.o){if(Bt.has(n))return;Bt.add(n),je.c.push(()=>{Bt.delete(n),s&&(t&&n.d(1),s())}),n.o(e)}else s&&s()}function Ea(n,e){const t=e.token={};function s(i,r,a,o){if(e.token!==t)return;e.resolved=o;let l=e.ctx;a!==void 0&&(l=l.slice(),l[a]=o);const c=i&&(e.current=i)(l);let h=!1;e.block&&(e.blocks?e.blocks.forEach((u,d)=>{d!==r&&u&&(os(),He(u,1,1,()=>{e.blocks[d]===u&&(e.blocks[d]=null)}),ls())}):e.block.d(1),c.c(),$e(c,1),c.m(e.mount(),e.anchor),h=!0),e.block=c,e.blocks&&(e.blocks[r]=c),h&&ii()}if(na(n)){const i=It();if(n.then(r=>{Ue(i),s(e.then,1,e.value,r),Ue(null)},r=>{if(Ue(i),s(e.catch,2,e.error,r),Ue(null),!e.hasCatch)throw r}),e.current!==e.pending)return s(e.pending,0),!0}else{if(e.current!==e.then)return s(e.then,1,e.value,n),!0;e.resolved=n}}function ya(n,e,t){const s=e.slice(),{resolved:i}=n;n.current===n.then&&(s[n.value]=i),n.current===n.catch&&(s[n.error]=i),n.block.p(s,t)}function qt(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function zt(n,e){const t={},s={},i={$$scope:1};let r=n.length;for(;r--;){const a=n[r],o=e[r];if(o){for(const l in a)l in o||(s[l]=1);for(const l in o)i[l]||(t[l]=o[l],i[l]=1);n[r]=o}else for(const l in a)i[l]=1}for(const a in s)a in t||(t[a]=void 0);return t}function Xt(n){return typeof n=="object"&&n!==null?n:{}}function vt(n){n&&n.c()}function ct(n,e,t){const{fragment:s,after_update:i}=n.$$;s&&s.m(e,t),Bs(()=>{const r=n.$$.on_mount.map(Br).filter(ti);n.$$.on_destroy?n.$$.on_destroy.push(...r):mt(r),n.$$.on_mount=[]}),i.forEach(Bs)}function ht(n,e){const t=n.$$;t.fragment!==null&&(Ta(t.after_update),mt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function xa(n,e){n.$$.dirty[0]===-1&&(rt.push(n),Vr(),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<{const f=g.length?g[0]:d;return c.ctx&&i(c.ctx[u],c.ctx[u]=f)&&(!c.skip_bound&&c.bound[u]&&c.bound[u](f),h&&xa(n,u)),d}):[],c.update(),h=!0,mt(c.before_update),c.fragment=s?s(c.ctx):!1,e.target){if(e.hydrate){const u=ca(e.target);c.fragment&&c.fragment.l(u),u.forEach(te)}else c.fragment&&c.fragment.c();e.intro&&$e(n.$$.fragment),ct(n,e.target,e.anchor),ii()}Ue(l)}class hs{constructor(){gs(this,"$$");gs(this,"$$set")}$destroy(){ht(this,1),this.$destroy=ae}$on(e,t){if(!ti(t))return ae;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(t),()=>{const i=s.indexOf(t);i!==-1&&s.splice(i,1)}}$set(e){this.$$set&&!oa(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Sa="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Sa);const Qe=[];function Hr(n,e){return{subscribe:Wr(n,e).subscribe}}function Wr(n,e=ae){let t;const s=new Set;function i(o){if(bt(n,o)&&(n=o,t)){const l=!Qe.length;for(const c of s)c[1](),Qe.push(c,n);if(l){for(let c=0;c{s.delete(c),s.size===0&&t&&(t(),t=null)}}return{set:i,update:r,subscribe:a}}function Yr(n,e,t){const s=!Array.isArray(n),i=s?[n]:n;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Hr(t,(a,o)=>{let l=!1;const c=[];let h=0,u=ae;const d=()=>{if(h)return;u();const f=e(s?c[0]:c,a,o);r?a(f):u=ti(f)?f:ae},g=i.map((f,m)=>la(f,T=>{c[m]=T,h&=~(1<{h|=1<{ht(c,1)}),ls()}r?(e=jt(r,a(o,l)),e.$on("routeEvent",o[7]),vt(e.$$.fragment),$e(e.$$.fragment,1),ct(e,t.parentNode,t)):e=null}else if(r){const c=l&4?zt(i,[Xt(o[2])]):{};e.$set(c)}},i(o){s||(e&&$e(e.$$.fragment,o),s=!0)},o(o){e&&He(e.$$.fragment,o),s=!1},d(o){o&&te(t),e&&ht(e,o)}}}function La(n){let e,t,s;const i=[{params:n[1]},n[2]];var r=n[0];function a(o,l){let c={};if(l!==void 0&&l&6)c=zt(i,[l&2&&{params:o[1]},l&4&&Xt(o[2])]);else for(let h=0;h{ht(c,1)}),ls()}r?(e=jt(r,a(o,l)),e.$on("routeEvent",o[6]),vt(e.$$.fragment),$e(e.$$.fragment,1),ct(e,t.parentNode,t)):e=null}else if(r){const c=l&6?zt(i,[l&2&&{params:o[1]},l&4&&Xt(o[2])]):{};e.$set(c)}},i(o){s||(e&&$e(e.$$.fragment,o),s=!0)},o(o){e&&He(e.$$.fragment,o),s=!1},d(o){o&&te(t),e&&ht(e,o)}}}function Ra(n){let e,t,s,i;const r=[La,Aa],a=[];function o(l,c){return l[1]?0:1}return e=o(n),t=a[e]=r[e](n),{c(){t.c(),s=si()},m(l,c){a[e].m(l,c),se(l,s,c),i=!0},p(l,[c]){let h=e;e=o(l),e===h?a[e].p(l,c):(os(),He(a[h],1,1,()=>{a[h]=null}),ls(),t=a[e],t?t.p(l,c):(t=a[e]=r[e](l),t.c()),$e(t,1),t.m(s.parentNode,s))},i(l){i||($e(t),i=!0)},o(l){He(t),i=!1},d(l){l&&te(s),a[e].d(l)}}}function Di(){const n=window.location.href.indexOf("#/");let e=n>-1?window.location.href.substr(n+1):"/";const t=e.indexOf("?");let s="";return t>-1&&(s=e.substr(t+1),e=e.substr(0,t)),{location:e,querystring:s}}const ri=Hr(null,function(e){e(Di());const t=()=>{e(Di())};return window.addEventListener("hashchange",t,!1),function(){window.removeEventListener("hashchange",t,!1)}});Yr(ri,n=>n.location);Yr(ri,n=>n.querystring);const Ci=Wr(void 0);function ba(n){n?window.scrollTo(n.__svelte_spa_router_scrollX,n.__svelte_spa_router_scrollY):window.scrollTo(0,0)}function Ia(n,e,t){let{routes:s={}}=e,{prefix:i=""}=e,{restoreScrollState:r=!1}=e;class a{constructor(y,b){if(!b||typeof b!="function"&&(typeof b!="object"||b._sveltesparouter!==!0))throw Error("Invalid component object");if(!y||typeof y=="string"&&(y.length<1||y.charAt(0)!="/"&&y.charAt(0)!="*")||typeof y=="object"&&!(y instanceof RegExp))throw Error('Invalid value for "path" argument - strings must start with / or *');const{pattern:R,keys:C}=va(y);this.path=y,typeof b=="object"&&b._sveltesparouter===!0?(this.component=b.component,this.conditions=b.conditions||[],this.userData=b.userData,this.props=b.props||{}):(this.component=()=>Promise.resolve(b),this.conditions=[],this.props={}),this._pattern=R,this._keys=C}match(y){if(i){if(typeof i=="string")if(y.startsWith(i))y=y.substr(i.length)||"/";else return null;else if(i instanceof RegExp){const k=y.match(i);if(k&&k[0])y=y.substr(k[0].length)||"/";else return null}}const b=this._pattern.exec(y);if(b===null)return null;if(this._keys===!1)return b;const R={};let C=0;for(;C{o.push(new a(y,A))}):Object.keys(s).forEach(A=>{o.push(new a(A,s[A]))});let l=null,c=null,h={};const u=ga();async function d(A,y){await ma(),u(A,y)}let g=null,f=null;r&&(f=A=>{A.state&&(A.state.__svelte_spa_router_scrollY||A.state.__svelte_spa_router_scrollX)?g=A.state:g=null},window.addEventListener("popstate",f),da(()=>{ba(g)}));let m=null,T=null;const E=ri.subscribe(async A=>{m=A;let y=0;for(;y{Ci.set(c)});return}t(0,l=null),T=null,Ci.set(void 0)});fa(()=>{E(),f&&window.removeEventListener("popstate",f)});function x(A){Ri.call(this,n,A)}function S(A){Ri.call(this,n,A)}return n.$$set=A=>{"routes"in A&&t(3,s=A.routes),"prefix"in A&&t(4,i=A.prefix),"restoreScrollState"in A&&t(5,r=A.restoreScrollState)},n.$$.update=()=>{n.$$.dirty&32&&(history.scrollRestoration=r?"manual":"auto")},[l,c,h,s,i,r,x,S]}class Da extends hs{constructor(e){super(),cs(this,e,Ia,Ra,bt,{routes:3,prefix:4,restoreScrollState:5})}}const _i=[{title:"PS vs IL",thumbnail:"https://images.impresa.pt/sicnot/2024-02-05-Pedro-Nuno-Santos-Rui-Rocha-e66319ff/16x9/mw-1200&outputFormat=jpeg",slug:"ps-vs-il"},{title:"Chega vs PAN",thumbnail:"https://cdn-images.rtp.pt/multimedia/screenshots/p12900/p12900_1_2024020515461.jpg?q=100&format=pjpg&auto=webp&v=3&w=400",slug:"chega-vs-pan"},{title:"PCP vs PAN",thumbnail:"https://cdn-images.rtp.pt/multimedia/screenshots/p12900/p12900_1_2024020615498.jpg?q=100&format=pjpg&auto=webp&v=3&w=400",slug:"pcp-vs-pan"},{title:"BE vs PSD",thumbnail:"https://images.impresa.pt/sicnot/2024-02-06-Mortagua-Montenegro-9d90a5bf/16x9/mw-1200&outputFormat=jpeg",slug:"be-vs-psd"},{title:"Chega vs IL",thumbnail:"https://cdn-images.rtp.pt/multimedia/screenshots/p12899/p12899_1_20240206000000e002t5554.jpg?q=100&format=pjpg&auto=webp&v=3&w=400",slug:"chega-vs-il"}];function wi(n,e,t){const s=n.slice();return s[1]=e[t].title,s[2]=e[t].thumbnail,s[3]=e[t].slug,s}function ki(n){let e,t,s,i,r,a,o,l;function c(){return n[0](n[3])}return{c(){e=me("div"),t=me("img"),i=Ne(),r=me("p"),r.textContent=`${n[1]}`,a=Ne(),aa(t.src,s=n[2])||fe(t,"src",s),fe(t,"alt",n[1]),fe(t,"class","svelte-1iac3wd"),fe(e,"class","debate svelte-1iac3wd")},m(h,u){se(h,e,u),Se(e,t),Se(e,i),Se(e,r),Se(e,a),o||(l=Gr(e,"click",c),o=!0)},p(h,u){n=h},d(h){h&&te(e),o=!1,l()}}}function Ca(n){let e,t,s,i,r,a=qt(_i),o=[];for(let l=0;l Legislativas 2024 - +