From ce965e64ed30533291f3d94ef6311552f4a4b5e9 Mon Sep 17 00:00:00 2001 From: yongrenjie Date: Mon, 18 Dec 2023 12:27:59 +0000 Subject: [PATCH] deploy: 53a46491c78d2d8f0ce2cd8fd33876e594adabad --- assets/{index-7456a8f1.js => index-8a326cb4.js} | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename assets/{index-7456a8f1.js => index-8a326cb4.js} (99%) diff --git a/assets/index-7456a8f1.js b/assets/index-8a326cb4.js similarity index 99% rename from assets/index-7456a8f1.js rename to assets/index-8a326cb4.js index 6150b86..c08539b 100644 --- a/assets/index-7456a8f1.js +++ b/assets/index-8a326cb4.js @@ -126,7 +126,7 @@ modelled development strategies on any of the four indicators.
  • Job accessibility, reflecting the number of jobs within 15 minutes;
  • Greenspace accessibility, reflecting the area - of formal parks within 15 minutes.
  • `,he=l1(),Xe=Se("img"),ae(e,"id","background-cover-button"),ae(e,"class","svelte-o9ohsj"),ae(o,"class","svelte-o9ohsj"),ae(g,"type","checkbox"),ae(g,"id","doNotShowNextTime"),ae(d,"for","doNotShowNextTime"),E5(A,"display","contents"),E5(A,"--width","20px"),ae(c,"id","close"),ae(c,"class","svelte-o9ohsj"),ae(_,"id","heading-and-close"),ae(_,"class","svelte-o9ohsj"),ae(O,"class","svelte-o9ohsj"),ae(M,"class","svelte-o9ohsj"),ae(V,"class","svelte-o9ohsj"),ae(J,"href","https://www.gov.uk/government/organisations/geospatial-commission"),ae(J,"target","_blank"),ae(ue,"href","https://www.turing.ac.uk/"),ae(ue,"target","_blank"),ae(ce,"href","https://www.newcastle.gov.uk/"),ae(ce,"target","_blank"),ae(B,"href",Fq),ae(Y,"class","svelte-o9ohsj"),ae(we,"class","smaller-bottom-margin svelte-o9ohsj"),ae(Pe,"class","flex-help svelte-o9ohsj"),ei(n1.src,o1=Dq)||ae(n1,"src",o1),ae(n1,"alt","Screenshot of map"),ae(n1,"class","svelte-o9ohsj"),ae(ze,"class","flex-navigation-help svelte-o9ohsj"),ei(L1.src,v1=Aq)||ae(L1,"src",v1),ae(L1,"alt","Screenshot of left sidebar"),ae(L1,"class","svelte-o9ohsj"),ae(Ue,"class","align-center svelte-o9ohsj"),ei(Ue.src,Ne=wq)||ae(Ue,"src",Ne),ae(Ue,"alt","Modified area outlined in black"),ae(Ue,"width","40%"),ae(G1,"class","flex-help svelte-o9ohsj"),ae(x1,"class","flex-navigation-help svelte-o9ohsj"),ae(s1,"class","flex-help svelte-o9ohsj"),ei(Xe.src,r1=Pq)||ae(Xe,"src",r1),ae(Xe,"alt","Screenshot of right sidebar"),ae(Xe,"class","svelte-o9ohsj"),ae(Ye,"class","flex-navigation-help svelte-o9ohsj"),ae(P,"id","welcome-content"),ae(P,"class","svelte-o9ohsj"),ae(t,"id","welcome"),ae(t,"class","svelte-o9ohsj")},m(Be,E1){i1(Be,e,E1),i1(Be,i,E1),i1(Be,t,E1),ge(t,_),ge(_,o),ge(_,n),ge(_,c),ge(c,u),ge(u,g),g.checked=s[1],ge(u,d),ge(c,x),ge(c,A),b0(m,A,null),ge(t,F),ge(t,P),ge(P,O),ge(P,T),ge(P,M),ge(P,L),ge(P,V),ge(P,W),ge(P,Y),ge(Y,Q),ge(Y,J),ge(Y,se),ge(Y,ue),ge(Y,je),ge(Y,ce),ge(Y,fe),ge(Y,B),ge(B,Ae),ge(Y,Ee),ge(P,De),ge(P,we),ge(P,Fe),ge(P,ze),ge(ze,Pe),ge(ze,Te),ge(ze,n1),ge(P,a1),ge(P,x1),ge(x1,L1),ge(x1,k1),ge(x1,G1),ge(G1,K1),ge(G1,b1),ge(G1,f1),ge(G1,U),ge(G1,Ue),ge(G1,ye),ge(G1,le),ge(P,xe),ge(P,Ye),ge(Ye,s1),ge(Ye,he),ge(Ye,Xe),p1=!0,R1||(_0=[W1(e,"click",s[3]),W1(g,"change",s[4]),W1(g,"change",s[2])],R1=!0)},p(Be,E1){E1&2&&(g.checked=Be[1])},i(Be){p1||(g1(m.$$.fragment,Be),p1=!0)},o(Be){d1(m.$$.fragment,Be),p1=!1},d(Be){Be&&e1(e),Be&&e1(i),Be&&e1(t),g0(m),R1=!1,r4(_0)}}}function Oq(s){let e,i,t=s[0]&&ro(s);return{c(){t&&t.c(),e=Ui()},m(_,o){t&&t.m(_,o),i1(_,e,o),i=!0},p(_,[o]){_[0]?t?(t.p(_,o),o&1&&g1(t,1)):(t=ro(_),t.c(),g1(t,1),t.m(e.parentNode,e)):t&&(b4(),d1(t,1,1,()=>{t=null}),g4())},i(_){i||(g1(t),i=!0)},o(_){d1(t),i=!1},d(_){t&&t.d(_),_&&e1(e)}}}const Fq="https://ciupava.github.io/LandUseDemonstrator";function Sq(s,e,i){let t=localStorage.getItem("doNotShowWelcome")==="true",{welcomeVisible:_=!t}=e;function o(){localStorage.setItem("doNotShowWelcome",t?"true":"false")}const n=()=>{i(0,_=!1)};function c(){t=this.checked,i(1,t)}const u=()=>{i(0,_=!1)};return s.$$set=g=>{"welcomeVisible"in g&&i(0,_=g.welcomeVisible)},[_,t,o,n,c,u]}class kq extends X0{constructor(e){super(),H0(this,e,Sq,Oq,R0,{welcomeVisible:0})}}function Tq(s){let e,i,t,_,o,n,c,u,g,d,x,m,A,F,P;return A=Is(s[2][0]),{c(){e=Se("div"),i=Se("input"),t=l1(),_=Se("label"),_.textContent="View scenarios",o=l1(),n=Se("input"),c=l1(),u=Se("label"),u.textContent="Create your own",g=l1(),d=Se("input"),x=l1(),m=Se("label"),m.textContent="Import from file",ae(i,"type","radio"),ae(i,"class","tab-input svelte-1pkj7zf"),ae(i,"id","choose"),i.__value="choose",i.value=i.__value,i.checked=!0,ae(_,"for","choose"),ae(_,"class","tab-label svelte-1pkj7zf"),ae(n,"type","radio"),ae(n,"class","tab-input svelte-1pkj7zf"),ae(n,"id","create"),n.__value="create",n.value=n.__value,ae(u,"for","create"),ae(u,"class","tab-label svelte-1pkj7zf"),ae(d,"type","radio"),ae(d,"class","tab-input svelte-1pkj7zf"),ae(d,"id","import"),d.__value="import",d.value=d.__value,ae(m,"for","import"),ae(m,"class","tab-label svelte-1pkj7zf"),ae(e,"class","tabs svelte-1pkj7zf"),A.p(i,n,d)},m(O,T){i1(O,e,T),ge(e,i),i.checked=i.__value===s[0],ge(e,t),ge(e,_),ge(e,o),ge(e,n),n.checked=n.__value===s[0],ge(e,c),ge(e,u),ge(e,g),ge(e,d),d.checked=d.__value===s[0],ge(e,x),ge(e,m),F||(P=[W1(i,"change",s[1]),W1(n,"change",s[3]),W1(d,"change",s[4])],F=!0)},p(O,[T]){T&1&&(i.checked=i.__value===O[0]),T&1&&(n.checked=n.__value===O[0]),T&1&&(d.checked=d.__value===O[0])},i:i0,o:i0,d(O){O&&e1(e),A.r(),F=!1,r4(P)}}}function Mq(s,e,i){let{selectedTab:t}=e;const _=[[]];function o(){t=this.__value,i(0,t)}function n(){t=this.__value,i(0,t)}function c(){t=this.__value,i(0,t)}return s.$$set=u=>{"selectedTab"in u&&i(0,t=u.selectedTab)},[t,o,_,n,c]}class Iq extends X0{constructor(e){super(),H0(this,e,Mq,Tq,R0,{selectedTab:0})}}function zq(s){let e,i,t,_,o;return{c(){e=Se("button"),i=Se("img"),ei(i.src,t=up)||ae(i,"src",t),ae(i,"alt","Show welcome screen again"),ae(i,"class","svelte-fz1hxm"),ae(e,"slot","content"),ae(e,"id","show-welcome"),ae(e,"class","svelte-fz1hxm")},m(n,c){i1(n,e,c),ge(e,i),_||(o=W1(e,"click",s[6]),_=!0)},p:i0,d(n){n&&e1(e),_=!1,o()}}}function Lq(s){let e;return{c(){e=Se("span"),e.textContent="Show welcome screen",ae(e,"slot","description")},m(i,t){i1(i,e,t)},p:i0,d(i){i&&e1(e)}}}function Rq(s){let e,i;return e=new Cq({}),e.$on("import",s[4]),{c(){E0(e.$$.fragment)},m(t,_){b0(e,t,_),i=!0},p:i0,i(t){i||(g1(e.$$.fragment,t),i=!0)},o(t){d1(e.$$.fragment,t),i=!1},d(t){g0(e,t)}}}function Bq(s){let e,i;return e=new fq({}),e.$on("changeScenario",s[9]),e.$on("import",s[4]),e.$on("changesUpdated",s[10]),{c(){E0(e.$$.fragment)},m(t,_){b0(e,t,_),i=!0},p:i0,i(t){i||(g1(e.$$.fragment,t),i=!0)},o(t){d1(e.$$.fragment,t),i=!1},d(t){g0(e,t)}}}function Nq(s){let e,i;return e=new Dj({}),e.$on("changeScenario",s[8]),{c(){E0(e.$$.fragment)},m(t,_){b0(e,t,_),i=!0},p:i0,i(t){i||(g1(e.$$.fragment,t),i=!0)},o(t){d1(e.$$.fragment,t),i=!1},d(t){g0(e,t)}}}function Vq(s){let e,i,t,_,o,n,c,u,g,d,x,m,A,F,P,O,T,M;n=new pp({props:{$$slots:{description:[Lq],content:[zq]},$$scope:{ctx:s}}});function L(J){s[7](J)}let V={};s[1]!==void 0&&(V.selectedTab=s[1]),m=new Iq({props:V}),$0.push(()=>I4(m,"selectedTab",L));const W=[Nq,Bq,Rq],Y=[];function Q(J,se){return J[1]==="choose"?0:J[1]==="create"?1:J[1]==="import"?2:-1}return~(O=Q(s))&&(T=Y[O]=W[O](s)),{c(){e=Se("div"),i=Se("h1"),i.textContent="Tyne and Wear development scenario modelling",t=l1(),_=Se("p"),o=e0(`Explore a modelled impact of various development scenarios in Tyne + of formal parks within 15 minutes.`,he=l1(),Xe=Se("img"),ae(e,"id","background-cover-button"),ae(e,"class","svelte-o9ohsj"),ae(o,"class","svelte-o9ohsj"),ae(g,"type","checkbox"),ae(g,"id","doNotShowNextTime"),ae(d,"for","doNotShowNextTime"),E5(A,"display","contents"),E5(A,"--width","20px"),ae(c,"id","close"),ae(c,"class","svelte-o9ohsj"),ae(_,"id","heading-and-close"),ae(_,"class","svelte-o9ohsj"),ae(O,"class","svelte-o9ohsj"),ae(M,"class","svelte-o9ohsj"),ae(V,"class","svelte-o9ohsj"),ae(J,"href","https://www.gov.uk/government/organisations/geospatial-commission"),ae(J,"target","_blank"),ae(ue,"href","https://www.turing.ac.uk/"),ae(ue,"target","_blank"),ae(ce,"href","https://www.newcastle.gov.uk/"),ae(ce,"target","_blank"),ae(B,"href",Fq),ae(Y,"class","svelte-o9ohsj"),ae(we,"class","smaller-bottom-margin svelte-o9ohsj"),ae(Pe,"class","flex-help svelte-o9ohsj"),ei(n1.src,o1=Dq)||ae(n1,"src",o1),ae(n1,"alt","Screenshot of map"),ae(n1,"class","svelte-o9ohsj"),ae(ze,"class","flex-navigation-help svelte-o9ohsj"),ei(L1.src,v1=Aq)||ae(L1,"src",v1),ae(L1,"alt","Screenshot of left sidebar"),ae(L1,"class","svelte-o9ohsj"),ae(Ue,"class","align-center svelte-o9ohsj"),ei(Ue.src,Ne=wq)||ae(Ue,"src",Ne),ae(Ue,"alt","Modified area outlined in black"),ae(Ue,"width","40%"),ae(G1,"class","flex-help svelte-o9ohsj"),ae(x1,"class","flex-navigation-help svelte-o9ohsj"),ae(s1,"class","flex-help svelte-o9ohsj"),ei(Xe.src,r1=Pq)||ae(Xe,"src",r1),ae(Xe,"alt","Screenshot of right sidebar"),ae(Xe,"class","svelte-o9ohsj"),ae(Ye,"class","flex-navigation-help svelte-o9ohsj"),ae(P,"id","welcome-content"),ae(P,"class","svelte-o9ohsj"),ae(t,"id","welcome"),ae(t,"class","svelte-o9ohsj")},m(Be,E1){i1(Be,e,E1),i1(Be,i,E1),i1(Be,t,E1),ge(t,_),ge(_,o),ge(_,n),ge(_,c),ge(c,u),ge(u,g),g.checked=s[1],ge(u,d),ge(c,x),ge(c,A),b0(m,A,null),ge(t,F),ge(t,P),ge(P,O),ge(P,T),ge(P,M),ge(P,L),ge(P,V),ge(P,W),ge(P,Y),ge(Y,Q),ge(Y,J),ge(Y,se),ge(Y,ue),ge(Y,je),ge(Y,ce),ge(Y,fe),ge(Y,B),ge(B,Ae),ge(Y,Ee),ge(P,De),ge(P,we),ge(P,Fe),ge(P,ze),ge(ze,Pe),ge(ze,Te),ge(ze,n1),ge(P,a1),ge(P,x1),ge(x1,L1),ge(x1,k1),ge(x1,G1),ge(G1,K1),ge(G1,b1),ge(G1,f1),ge(G1,U),ge(G1,Ue),ge(G1,ye),ge(G1,le),ge(P,xe),ge(P,Ye),ge(Ye,s1),ge(Ye,he),ge(Ye,Xe),p1=!0,R1||(_0=[W1(e,"click",s[3]),W1(g,"change",s[4]),W1(g,"change",s[2])],R1=!0)},p(Be,E1){E1&2&&(g.checked=Be[1])},i(Be){p1||(g1(m.$$.fragment,Be),p1=!0)},o(Be){d1(m.$$.fragment,Be),p1=!1},d(Be){Be&&e1(e),Be&&e1(i),Be&&e1(t),g0(m),R1=!1,r4(_0)}}}function Oq(s){let e,i,t=s[0]&&ro(s);return{c(){t&&t.c(),e=Ui()},m(_,o){t&&t.m(_,o),i1(_,e,o),i=!0},p(_,[o]){_[0]?t?(t.p(_,o),o&1&&g1(t,1)):(t=ro(_),t.c(),g1(t,1),t.m(e.parentNode,e)):t&&(b4(),d1(t,1,1,()=>{t=null}),g4())},i(_){i||(g1(t),i=!0)},o(_){d1(t),i=!1},d(_){t&&t.d(_),_&&e1(e)}}}const Fq="https://urban-analytics-technology-platform.github.io/demoland-project";function Sq(s,e,i){let t=localStorage.getItem("doNotShowWelcome")==="true",{welcomeVisible:_=!t}=e;function o(){localStorage.setItem("doNotShowWelcome",t?"true":"false")}const n=()=>{i(0,_=!1)};function c(){t=this.checked,i(1,t)}const u=()=>{i(0,_=!1)};return s.$$set=g=>{"welcomeVisible"in g&&i(0,_=g.welcomeVisible)},[_,t,o,n,c,u]}class kq extends X0{constructor(e){super(),H0(this,e,Sq,Oq,R0,{welcomeVisible:0})}}function Tq(s){let e,i,t,_,o,n,c,u,g,d,x,m,A,F,P;return A=Is(s[2][0]),{c(){e=Se("div"),i=Se("input"),t=l1(),_=Se("label"),_.textContent="View scenarios",o=l1(),n=Se("input"),c=l1(),u=Se("label"),u.textContent="Create your own",g=l1(),d=Se("input"),x=l1(),m=Se("label"),m.textContent="Import from file",ae(i,"type","radio"),ae(i,"class","tab-input svelte-1pkj7zf"),ae(i,"id","choose"),i.__value="choose",i.value=i.__value,i.checked=!0,ae(_,"for","choose"),ae(_,"class","tab-label svelte-1pkj7zf"),ae(n,"type","radio"),ae(n,"class","tab-input svelte-1pkj7zf"),ae(n,"id","create"),n.__value="create",n.value=n.__value,ae(u,"for","create"),ae(u,"class","tab-label svelte-1pkj7zf"),ae(d,"type","radio"),ae(d,"class","tab-input svelte-1pkj7zf"),ae(d,"id","import"),d.__value="import",d.value=d.__value,ae(m,"for","import"),ae(m,"class","tab-label svelte-1pkj7zf"),ae(e,"class","tabs svelte-1pkj7zf"),A.p(i,n,d)},m(O,T){i1(O,e,T),ge(e,i),i.checked=i.__value===s[0],ge(e,t),ge(e,_),ge(e,o),ge(e,n),n.checked=n.__value===s[0],ge(e,c),ge(e,u),ge(e,g),ge(e,d),d.checked=d.__value===s[0],ge(e,x),ge(e,m),F||(P=[W1(i,"change",s[1]),W1(n,"change",s[3]),W1(d,"change",s[4])],F=!0)},p(O,[T]){T&1&&(i.checked=i.__value===O[0]),T&1&&(n.checked=n.__value===O[0]),T&1&&(d.checked=d.__value===O[0])},i:i0,o:i0,d(O){O&&e1(e),A.r(),F=!1,r4(P)}}}function Mq(s,e,i){let{selectedTab:t}=e;const _=[[]];function o(){t=this.__value,i(0,t)}function n(){t=this.__value,i(0,t)}function c(){t=this.__value,i(0,t)}return s.$$set=u=>{"selectedTab"in u&&i(0,t=u.selectedTab)},[t,o,_,n,c]}class Iq extends X0{constructor(e){super(),H0(this,e,Mq,Tq,R0,{selectedTab:0})}}function zq(s){let e,i,t,_,o;return{c(){e=Se("button"),i=Se("img"),ei(i.src,t=up)||ae(i,"src",t),ae(i,"alt","Show welcome screen again"),ae(i,"class","svelte-fz1hxm"),ae(e,"slot","content"),ae(e,"id","show-welcome"),ae(e,"class","svelte-fz1hxm")},m(n,c){i1(n,e,c),ge(e,i),_||(o=W1(e,"click",s[6]),_=!0)},p:i0,d(n){n&&e1(e),_=!1,o()}}}function Lq(s){let e;return{c(){e=Se("span"),e.textContent="Show welcome screen",ae(e,"slot","description")},m(i,t){i1(i,e,t)},p:i0,d(i){i&&e1(e)}}}function Rq(s){let e,i;return e=new Cq({}),e.$on("import",s[4]),{c(){E0(e.$$.fragment)},m(t,_){b0(e,t,_),i=!0},p:i0,i(t){i||(g1(e.$$.fragment,t),i=!0)},o(t){d1(e.$$.fragment,t),i=!1},d(t){g0(e,t)}}}function Bq(s){let e,i;return e=new fq({}),e.$on("changeScenario",s[9]),e.$on("import",s[4]),e.$on("changesUpdated",s[10]),{c(){E0(e.$$.fragment)},m(t,_){b0(e,t,_),i=!0},p:i0,i(t){i||(g1(e.$$.fragment,t),i=!0)},o(t){d1(e.$$.fragment,t),i=!1},d(t){g0(e,t)}}}function Nq(s){let e,i;return e=new Dj({}),e.$on("changeScenario",s[8]),{c(){E0(e.$$.fragment)},m(t,_){b0(e,t,_),i=!0},p:i0,i(t){i||(g1(e.$$.fragment,t),i=!0)},o(t){d1(e.$$.fragment,t),i=!1},d(t){g0(e,t)}}}function Vq(s){let e,i,t,_,o,n,c,u,g,d,x,m,A,F,P,O,T,M;n=new pp({props:{$$slots:{description:[Lq],content:[zq]},$$scope:{ctx:s}}});function L(J){s[7](J)}let V={};s[1]!==void 0&&(V.selectedTab=s[1]),m=new Iq({props:V}),$0.push(()=>I4(m,"selectedTab",L));const W=[Nq,Bq,Rq],Y=[];function Q(J,se){return J[1]==="choose"?0:J[1]==="create"?1:J[1]==="import"?2:-1}return~(O=Q(s))&&(T=Y[O]=W[O](s)),{c(){e=Se("div"),i=Se("h1"),i.textContent="Tyne and Wear development scenario modelling",t=l1(),_=Se("p"),o=e0(`Explore a modelled impact of various development scenarios in Tyne and Wear on four indicators of quality of life. `),c=Se("div"),E0(n.$$.fragment),u=l1(),g=Se("p"),g.textContent=`All indicator values are linearly scaled such that the baseline diff --git a/index.html b/index.html index c2d9a6d..42a17b8 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ Land Use Demonstrator • Tyne and Wear - +