Last active
September 21, 2018 15:46
-
-
Save manuelroth/82f674853dff8569a121549e98cf98f1 to your computer and use it in GitHub Desktop.
ES Module loading with fallback to SystemJS for IE11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function noop(){}function assign(t,e){for(var a in e)t[a]=e[a];return t}function assignTrue(t,e){for(var a in e)t[a]=1;return t}function callAfter(t,e){return 0===e&&t(),function(){--e||t()}}function run(t){t()}function append(t,e){t.appendChild(e)}function insert(t,e,a){t.insertBefore(e,a)}function detachNode(t){t.parentNode.removeChild(t)}function createElement(t){return document.createElement(t)}function createSvgElement(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function createText(t){return document.createTextNode(t)}function createComment(){return document.createComment("")}function addListener(t,e,a){t.addEventListener(e,a,!1)}function removeListener(t,e,a){t.removeEventListener(e,a,!1)}function setAttribute(t,e,a){t.setAttribute(e,a)}function setData(t,e){t.data=""+e}function setStyle(t,e,a){t.style.setProperty(e,a)}function destroyBlock(t,e){t.d(1),e[t.key]=null}function outroAndDestroyBlock(t,e){t.o(function(){destroyBlock(t,e)})}function updateKeyedEach(t,e,a,r,n,s,i,o,c,l,u,f,d,m){for(var h=t.length,v=i.length,_=h,p={};_--;)p[t[_].key]=_;var g=[],b={},k={};for(_=v;_--;){var w=m(s,i,_),x=r(w),A=o[x];A?n&&A.p(a,w):(A=u(e,x,w)).c(),g[_]=b[x]=A,x in p&&(k[x]=Math.abs(_-p[x]))}var y={},V={};function H(t){t[f](c,d),o[t.key]=t,d=t.first,v--}for(;h&&v;){var z=g[v-1],E=t[h-1],M=z.key,N=E.key;z===E?(d=z.first,h--,v--):b[N]?!o[M]||y[M]?H(z):V[N]?h--:k[M]>k[N]?(V[M]=!0,H(z)):(y[N]=!0,h--):(l(E,o),h--)}for(;h--;){b[(E=t[h]).key]||l(E,o)}for(;v;)H(g[v-1]);return g}function blankObject(){return Object.create(null)}function destroy(t){this.destroy=noop,this.fire("destroy"),this.set=noop,this._fragment.d(!1!==t),this._fragment=null,this._state={}}function _differs(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function fire(t,e){var a=t in this._handlers&&this._handlers[t].slice();if(a)for(var r=0;r<a.length;r+=1){var n=a[r];if(!n.__calling)try{n.__calling=!0,n.call(this,e)}finally{n.__calling=!1}}}function flush(t){t._lock=!0,callAll(t._beforecreate),callAll(t._oncreate),callAll(t._aftercreate),t._lock=!1}function get(){return this._state}function init(t,e){t._handlers=blankObject(),t._slots=blankObject(),t._bind=e._bind,t._staged={},t.options=e,t.root=e.root||t,t.store=e.store||t.root.store,e.root||(t._beforecreate=[],t._oncreate=[],t._aftercreate=[])}function on(t,e){var a=this._handlers[t]||(this._handlers[t]=[]);return a.push(e),{cancel:function(){var t=a.indexOf(e);~t&&a.splice(t,1)}}}function set(t){this._set(assign({},t)),this.root._lock||flush(this.root)}function _set(t){var e=this._state,a={},r=!1;for(var n in t=assign(this._staged,t),this._staged={},t)this._differs(t[n],e[n])&&(a[n]=r=!0);r&&(this._state=assign(assign({},e),t),this._recompute(a,this._state),this._bind&&this._bind(a,this._state),this._fragment&&(this.fire("state",{changed:a,current:this._state,previous:e}),this._fragment.p(a,this._state),this.fire("update",{changed:a,current:this._state,previous:e})))}function _stage(t){assign(this._staged,t)}function callAll(t){for(;t&&t.length;)t.shift()()}function _mount(t,e){this._fragment[this._fragment.i?"i":"m"](t,e||null)}var proto={destroy:destroy,get:get,fire:fire,on:on,set:set,_recompute:noop,_set:_set,_stage:_stage,_mount:_mount,_differs:_differs};function widthOfMinibar(t){return t.value/t.maxValue*100}function create_main_fragment(t,e){var a,r,n,s,i,o;function c(t){return t.type===t.sortingArg?create_if_block:create_if_block_1}var l=c(e),u=l(t,e);function f(t){return 0===t.widthOfMinibar?create_if_block_2:create_if_block_3}var d=f(e),m=d(t,e);return{c:function(){a=createElement("div"),u.c(),r=createText("\n "),n=createElement("div"),s=createElement("div"),i=createText("\n "),m.c(),s.className="st-1827-list-item__points__bar__baseline s-color-gray-8 svelte-8t8n6f",n.className="st-1827-list-item__points__bar s-color-gray-3 svelte-8t8n6f",a.className="st-1827-list-item__points__bar-container svelte-8t8n6f"},m:function(t,e){insert(t,a,e),u.m(a,null),append(a,r),append(a,n),append(n,s),append(n,i),m.m(n,null),o=!0},p:function(e,s){l===(l=c(s))&&u?u.p(e,s):(u.d(1),(u=l(t,s)).c(),u.m(a,r)),d===(d=f(s))&&m?m.p(e,s):(m.d(1),(m=d(t,s)).c(),m.m(n,null))},i:function(t,e){o||this.m(t,e)},o:run,d:function(t){t&&detachNode(a),u.d(),m.d()}}}function create_if_block(t,e){var a,r;return{c:function(){a=createElement("div"),r=createText(e.value),a.className="st-1827-list-item__points__value s-font-note-s s-font-note-s--strong"},m:function(t,e){insert(t,a,e),append(a,r)},p:function(t,e){t.value&&setData(r,e.value)},d:function(t){t&&detachNode(a)}}}function create_if_block_1(t,e){var a,r;return{c:function(){a=createElement("div"),r=createText(e.value),a.className="st-1827-list-item__points__value s-font-note-s s-font-note-s--light"},m:function(t,e){insert(t,a,e),append(a,r)},p:function(t,e){t.value&&setData(r,e.value)},d:function(t){t&&detachNode(a)}}}function create_if_block_2(t,e){var a,r;return{c:function(){(a=createElement("div")).className=r="st-1827-list-item__points__bar__valuebar "+e.barColor+" svelte-8t8n6f",setStyle(a,"width",e.widthOfMinibar+"%")},m:function(t,e){insert(t,a,e)},p:function(t,e){t.barColor&&r!==(r="st-1827-list-item__points__bar__valuebar "+e.barColor+" svelte-8t8n6f")&&(a.className=r),t.widthOfMinibar&&setStyle(a,"width",e.widthOfMinibar+"%")},d:function(t){t&&detachNode(a)}}}function create_if_block_3(t,e){var a,r;return{c:function(){(a=createElement("div")).className=r="st-1827-list-item__points__bar__valuebar "+e.barColor+" svelte-8t8n6f",setStyle(a,"min-width","1px"),setStyle(a,"width",e.widthOfMinibar+"%")},m:function(t,e){insert(t,a,e)},p:function(t,e){t.barColor&&r!==(r="st-1827-list-item__points__bar__valuebar "+e.barColor+" svelte-8t8n6f")&&(a.className=r),t.widthOfMinibar&&setStyle(a,"width",e.widthOfMinibar+"%")},d:function(t){t&&detachNode(a)}}}function DataTableRowMinibar(t){init(this,t),this._state=assign({},t.data),this._recompute({value:1,maxValue:1},this._state),this._intro=!!t.intro,this._fragment=create_main_fragment(this,this._state),t.target&&(this._fragment.c(),this._mount(t.target,t.anchor)),this._intro=!0}function rankFromLastYear(t){var e=t.row;return t.hasRankFromLastYear?0===e.rankFromLastYear?"new":e.rank<e.rankFromLastYear?"up":e.rank>e.rankFromLastYear?"down":e.rank===e.rankFromLastYear?"equal":void 0:e.changeFromLastYear}function translate(t){for(var e=t.itemHeights,a=t.index,r=0,n=0;n<a;n++)r+=e[n];return r}function data(){return{readyToRender:!1}}function oncreate(){var t=this,e=[],a=this.get().index,r=this.get().itemHeights;if(r[a]=this.refs.row.offsetHeight,this.set({itemHeights:r}),a===r.length-1)var n=setInterval(function(){(e.push(t.refs.row.offsetHeight),e.length>5)&&(e.slice(e.length-6,e.length-1).every(function(t,e,a){return t===a[0]})&&(a=t.get().index,(r=t.get().itemHeights)[a]=t.refs.row.offsetHeight,t.set({itemHeights:r}),t.set({readyToRender:!0}),clearInterval(n)))},100)}function onstate(t){var e=t.changed;t.curr,t.prev;if(e.readyToRender){var a=this.get().index,r=this.get().itemHeights;this.refs.row&&(r[a]=this.refs.row.offsetHeight)}}function create_main_fragment$1(t,e){var a,r,n,s,i,o,c,l,u,f,d,m,h,v,_,p,g,b=e.row.rank+".",k=e.row.name,w={},x={},A={},y={};function V(t){return"new"===t.rankFromLastYear?create_if_block$1:"up"===t.rankFromLastYear?create_if_block_1$1:"down"===t.rankFromLastYear?create_if_block_3$1:"equal"===t.rankFromLastYear?create_if_block_5:null}var H=V(e),z=H&&H(t,e),E=null!==e.row.country&&create_if_block_6(t,e),M=null!==e.row.institution&&create_if_block_7(t,e),N={sortingArg:e.sortingArg,type:"total",barColor:"s-viz-color-one-5"};void 0!==e.row.total&&(N.value=e.row.total,w.value=!0),void 0!==e.maxValues.total&&(N.maxValue=e.maxValues.total,w.maxValue=!0);var T=new DataTableRowMinibar({root:t.root,store:t.store,data:N,_bind:function(a,r){var n={};!w.value&&a.value&&(e.row.total=r.value,n.row=e.row),!w.maxValue&&a.maxValue&&(e.maxValues.total=r.maxValue,n.maxValues=e.maxValues),t._set(n),w={}}});t.root._beforecreate.push(function(){T._bind({value:1,maxValue:1},T.get())});var L={sortingArg:e.sortingArg,type:"science",barColor:"s-viz-color-two-3"};void 0!==e.row.science&&(L.value=e.row.science,x.value=!0),void 0!==e.maxValues.science&&(L.maxValue=e.maxValues.science,x.maxValue=!0);var Y=new DataTableRowMinibar({root:t.root,store:t.store,data:L,_bind:function(a,r){var n={};!x.value&&a.value&&(e.row.science=r.value,n.row=e.row),!x.maxValue&&a.maxValue&&(e.maxValues.science=r.maxValue,n.maxValues=e.maxValues),t._set(n),x={}}});t.root._beforecreate.push(function(){Y._bind({value:1,maxValue:1},Y.get())});var F={sortingArg:e.sortingArg,type:"media",barColor:"s-viz-color-three-3"};void 0!==e.row.media&&(F.value=e.row.media,A.value=!0),void 0!==e.maxValues.media&&(F.maxValue=e.maxValues.media,A.maxValue=!0);var S=new DataTableRowMinibar({root:t.root,store:t.store,data:F,_bind:function(a,r){var n={};!A.value&&a.value&&(e.row.media=r.value,n.row=e.row),!A.maxValue&&a.maxValue&&(e.maxValues.media=r.maxValue,n.maxValues=e.maxValues),t._set(n),A={}}});t.root._beforecreate.push(function(){S._bind({value:1,maxValue:1},S.get())});var R={sortingArg:e.sortingArg,type:"politics",barColor:"s-viz-color-four-3"};void 0!==e.row.politics&&(R.value=e.row.politics,y.value=!0),void 0!==e.maxValues.politics&&(R.maxValue=e.maxValues.politics,y.maxValue=!0);var D=new DataTableRowMinibar({root:t.root,store:t.store,data:R,_bind:function(a,r){var n={};!y.value&&a.value&&(e.row.politics=r.value,n.row=e.row),!y.maxValue&&a.maxValue&&(e.maxValues.politics=r.maxValue,n.maxValues=e.maxValues),t._set(n),y={}}});return t.root._beforecreate.push(function(){D._bind({value:1,maxValue:1},D.get())}),{c:function(){a=createElement("div"),r=createElement("div"),n=createText(b),s=createText("\n "),z&&z.c(),i=createText("\n "),o=createElement("div"),c=createElement("div"),l=createText(k),u=createText("\n "),E&&E.c(),f=createText("\n "),M&&M.c(),d=createText("\n "),m=createElement("div"),T._fragment.c(),h=createText("\n "),Y._fragment.c(),v=createText("\n "),S._fragment.c(),_=createText("\n "),D._fragment.c(),r.className="st-1827-list-item__rank s-font-sans s-color-gray-8 svelte-15mkph2",c.className="st-1827-list-item__name s-font-text-s",o.className="st-1827-list-item__description svelte-15mkph2",m.className="st-1827-list-item__points s-font-note-s svelte-15mkph2",a.className=p="st-1827-list-item st-1827-container--"+e.size+" s-color-gray-3 svelte-15mkph2",setStyle(a,"transform","translateY("+e.translate+"px)")},m:function(e,p){insert(e,a,p),append(a,r),append(r,n),append(r,s),z&&z.m(r,null),append(a,i),append(a,o),append(o,c),append(c,l),append(c,u),E&&E.m(c,null),append(o,f),M&&M.m(o,null),append(a,d),append(a,m),T._mount(m,null),append(m,h),Y._mount(m,null),append(m,v),S._mount(m,null),append(m,_),D._mount(m,null),t.refs.row=a,g=!0},p:function(s,i){e=i,g&&!s.row||b===(b=e.row.rank+".")||setData(n,b),H===(H=V(e))&&z?z.p(s,e):(z&&z.d(1),(z=H&&H(t,e))&&z.c(),z&&z.m(r,null)),g&&!s.row||k===(k=e.row.name)||setData(l,k),null!==e.row.country?E?E.p(s,e):((E=create_if_block_6(t,e)).c(),E.m(c,null)):E&&(E.d(1),E=null),null!==e.row.institution?M?M.p(s,e):((M=create_if_block_7(t,e)).c(),M.m(o,null)):M&&(M.d(1),M=null);var u={};s.sortingArg&&(u.sortingArg=e.sortingArg),!w.value&&s.row&&(u.value=e.row.total,w.value=void 0!==e.row.total),!w.maxValue&&s.maxValues&&(u.maxValue=e.maxValues.total,w.maxValue=void 0!==e.maxValues.total),T._set(u),w={};var f={};s.sortingArg&&(f.sortingArg=e.sortingArg),!x.value&&s.row&&(f.value=e.row.science,x.value=void 0!==e.row.science),!x.maxValue&&s.maxValues&&(f.maxValue=e.maxValues.science,x.maxValue=void 0!==e.maxValues.science),Y._set(f),x={};var d={};s.sortingArg&&(d.sortingArg=e.sortingArg),!A.value&&s.row&&(d.value=e.row.media,A.value=void 0!==e.row.media),!A.maxValue&&s.maxValues&&(d.maxValue=e.maxValues.media,A.maxValue=void 0!==e.maxValues.media),S._set(d),A={};var m={};s.sortingArg&&(m.sortingArg=e.sortingArg),!y.value&&s.row&&(m.value=e.row.politics,y.value=void 0!==e.row.politics),!y.maxValue&&s.maxValues&&(m.maxValue=e.maxValues.politics,y.maxValue=void 0!==e.maxValues.politics),D._set(m),y={},g&&!s.size||p===(p="st-1827-list-item st-1827-container--"+e.size+" s-color-gray-3 svelte-15mkph2")||(a.className=p),g&&!s.translate||setStyle(a,"transform","translateY("+e.translate+"px)")},i:function(t,e){g||this.m(t,e)},o:function(t){g&&(t=callAfter(t,4),T&&T._fragment.o(t),Y&&Y._fragment.o(t),S&&S._fragment.o(t),D&&D._fragment.o(t),g=!1)},d:function(e){e&&detachNode(a),z&&z.d(),E&&E.d(),M&&M.d(),T.destroy(),Y.destroy(),S.destroy(),D.destroy(),t.refs.row===a&&(t.refs.row=null)}}}function create_if_block_2$1(t,e){var a,r,n,s=e.row.rankFromLastYear;return{c:function(){a=createElement("div"),r=createText(s),n=createText("."),a.className="st-1827-rankFromLastYear svelte-15mkph2"},m:function(t,e){insert(t,a,e),append(a,r),append(a,n)},p:function(t,e){t.row&&s!==(s=e.row.rankFromLastYear)&&setData(r,s)},d:function(t){t&&detachNode(a)}}}function create_if_block_4(t,e){var a,r,n,s=e.row.rankFromLastYear;return{c:function(){a=createElement("div"),r=createText(s),n=createText("."),a.className="st-1827-rankFromLastYear svelte-15mkph2"},m:function(t,e){insert(t,a,e),append(a,r),append(a,n)},p:function(t,e){t.row&&s!==(s=e.row.rankFromLastYear)&&setData(r,s)},d:function(t){t&&detachNode(a)}}}function create_if_block$1(t,e){var a,r,n;return{c:function(){a=createSvgElement("svg"),r=createSvgElement("ellipse"),n=createSvgElement("path"),setAttribute(r,"class","s-color-gray-6 svelte-15mkph2"),setAttribute(r,"cx","6.5"),setAttribute(r,"cy","6.5"),setAttribute(r,"rx","6.5"),setAttribute(r,"ry","6.5"),setAttribute(n,"class","s-color-gray-2 svelte-15mkph2"),setAttribute(n,"d","M7 6V2H6v4H2v1h4v4h1V7h4V6H7z"),setAttribute(a,"viewBox","0 0 13 13"),setAttribute(a,"xmlns","http://www.w3.org/2000/svg"),setAttribute(a,"class","st-1827-legend-icon svelte-15mkph2")},m:function(t,e){insert(t,a,e),append(a,r),append(a,n)},p:noop,d:function(t){t&&detachNode(a)}}}function create_if_block_1$1(t,e){var a,r,n,s,i,o=e.hasRankFromLastYear&&create_if_block_2$1(t,e);return{c:function(){a=createSvgElement("svg"),r=createSvgElement("circle"),n=createSvgElement("path"),s=createText("\n "),o&&o.c(),i=createComment(),setAttribute(r,"class","s-color-gray-6 svelte-15mkph2"),setAttribute(r,"cx","6.5"),setAttribute(r,"cy","6.5"),setAttribute(r,"r","6.5"),setAttribute(n,"class","s-color-gray-2 svelte-15mkph2"),setAttribute(n,"d","M5 3h5v1H5V3zm4 1h1v4H9V4zm0 0v1l-5 5-1-1 5-5h1z"),setAttribute(a,"viewBox","0 0 13 13"),setAttribute(a,"xmlns","http://www.w3.org/2000/svg"),setAttribute(a,"class","st-1827-legend-icon svelte-15mkph2")},m:function(t,e){insert(t,a,e),append(a,r),append(a,n),insert(t,s,e),o&&o.m(t,e),insert(t,i,e)},p:function(e,a){a.hasRankFromLastYear?o?o.p(e,a):((o=create_if_block_2$1(t,a)).c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d:function(t){t&&(detachNode(a),detachNode(s)),o&&o.d(t),t&&detachNode(i)}}}function create_if_block_3$1(t,e){var a,r,n,s,i,o=e.hasRankFromLastYear&&create_if_block_4(t,e);return{c:function(){a=createSvgElement("svg"),r=createSvgElement("circle"),n=createSvgElement("path"),s=createText("\n "),o&&o.c(),i=createComment(),setAttribute(r,"class","s-color-gray-6 svelte-15mkph2"),setAttribute(r,"transform","matrix(1 0 0 -1 0 13)"),setAttribute(r,"cx","6.5"),setAttribute(r,"cy","6.5"),setAttribute(r,"r","6.5"),setAttribute(n,"class","s-color-gray-2 svelte-15mkph2"),setAttribute(n,"d","M5 10h5V9H5v1zm4-1h1V5H9v4zm0 0V8L4 3 3 4l5 5h1z"),setAttribute(a,"viewBox","0 0 13 13"),setAttribute(a,"xmlns","http://www.w3.org/2000/svg"),setAttribute(a,"class","st-1827-legend-icon svelte-15mkph2")},m:function(t,e){insert(t,a,e),append(a,r),append(a,n),insert(t,s,e),o&&o.m(t,e),insert(t,i,e)},p:function(e,a){a.hasRankFromLastYear?o?o.p(e,a):((o=create_if_block_4(t,a)).c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d:function(t){t&&(detachNode(a),detachNode(s)),o&&o.d(t),t&&detachNode(i)}}}function create_if_block_5(t,e){var a,r,n;return{c:function(){a=createSvgElement("svg"),r=createSvgElement("circle"),n=createSvgElement("path"),setAttribute(r,"class","s-color-gray-6 svelte-15mkph2"),setAttribute(r,"cx","6.5"),setAttribute(r,"cy","6.5"),setAttribute(r,"r","6.5"),setAttribute(n,"class","s-color-gray-2 svelte-15mkph2"),setAttribute(n,"d","M3 4v1h7V4zM3 8v1h7V8z"),setAttribute(a,"viewBox","0 0 13 13"),setAttribute(a,"xmlns","http://www.w3.org/2000/svg"),setAttribute(a,"class","st-1827-legend-icon svelte-15mkph2")},m:function(t,e){insert(t,a,e),append(a,r),append(a,n)},p:noop,d:function(t){t&&detachNode(a)}}}function create_if_block_6(t,e){var a,r,n=e.row.country;return{c:function(){a=createElement("span"),r=createText(n),a.className="st-1827-list-item__country s-font-note svelte-15mkph2"},m:function(t,e){insert(t,a,e),append(a,r)},p:function(t,e){t.row&&n!==(n=e.row.country)&&setData(r,n)},d:function(t){t&&detachNode(a)}}}function create_if_block_7(t,e){var a,r,n=e.row.institution;return{c:function(){a=createElement("div"),r=createText(n),a.className="st-1827-list-item__institution s-font-note-s svelte-15mkph2"},m:function(t,e){insert(t,a,e),append(a,r)},p:function(t,e){t.row&&n!==(n=e.row.institution)&&setData(r,n)},d:function(t){t&&detachNode(a)}}}function DataTableRow(t){var e=this;init(this,t),this.refs={},this._state=assign(data(),t.data),this._recompute({row:1,hasRankFromLastYear:1,itemHeights:1,index:1},this._state),this._intro=!!t.intro,this._handlers.state=[onstate],onstate.call(this,{changed:assignTrue({},this._state),current:this._state}),this._fragment=create_main_fragment$1(this,this._state),this.root._oncreate.push(function(){oncreate.call(e),e.fire("update",{changed:assignTrue({},e._state),current:e._state})}),t.target&&(this._fragment.c(),this._mount(t.target,t.anchor),flush(this)),this._intro=!0}function hasRankFromLastYear(t){return t.data[0].includes("rankFromLastYear")}function hasTotal(t){return t.data[0].includes("total")}function objectArray(t){var e=t.data,a=t.hasRankFromLastYear,r=t.hasTotal,n=[],s=e.slice(),i=s.splice(0,1)[0];return s.map(function(t){var e=parseInt(t[i.indexOf("media")])||0,s=parseInt(t[i.indexOf("politics")])||0,o=parseInt(t[i.indexOf("science")])||0,c={name:t[i.indexOf("name")]||"",country:t[i.indexOf("country")]||"",institution:t[i.indexOf("institution")]||"",rank:parseInt(t[i.indexOf("rank")])||0,media:e,politics:s,science:o};c.total=r?parseInt(t[i.indexOf("total")])||0:c.media+c.politics+c.science,a?c.rankFromLastYear=parseInt(t[i.indexOf("rankFromLastYear")]):c.changeFromLastYear=t[i.indexOf("changeFromLastYear")],n.push(c)}),n}function sortedData(t){var e=t.objectArray,a=t.sortingArg,r=t.orderType;return e.sort(function(t,e){var n;return"desc"===r?"total"===a?t.rank-e.rank:0===(n=e[a]-t[a])?t.rank-e.rank:n:"asc"===r?"total"===a?e.rank-t.rank:0===(n=t[a]-e[a])?e.rank-t.rank:n:void 0})}function maxValues(t){var e=t.objectArray,a=t.listtype,r={total:0,science:0,media:0,politics:0};return"people"===a?(r.total=1e3,r.science=500,r.media=250,r.politics=250):"institutions"===a&&(r.total=e.reduce(function(t,e){return e.total>t?e.total:t},0),r.science=e.reduce(function(t,e){return e.science>t?e.science:t},0),r.media=e.reduce(function(t,e){return e.media>t?e.media:t},0),r.politics=e.reduce(function(t,e){return e.politics>t?e.politics:t},0)),r}function size(t){return t.width>t.breakingWidth?"large":"small"}function totalHeight(t){return t.itemHeights.reduce(function(t,e){return t+e},0)}function data$1(){return{sortingArg:"total",orderType:"desc",itemHeights:[]}}assign(DataTableRowMinibar.prototype,proto),DataTableRowMinibar.prototype._recompute=function(t,e){(t.value||t.maxValue)&&this._differs(e.widthOfMinibar,e.widthOfMinibar=widthOfMinibar(e))&&(t.widthOfMinibar=!0)},assign(DataTableRow.prototype,proto),DataTableRow.prototype._recompute=function(t,e){(t.row||t.hasRankFromLastYear)&&this._differs(e.rankFromLastYear,e.rankFromLastYear=rankFromLastYear(e))&&(t.rankFromLastYear=!0),(t.itemHeights||t.index)&&this._differs(e.translate,e.translate=translate(e))&&(t.translate=!0)};var methods={sort:function(t,e){"desc"===this.get().orderType&&this.get().sortingArg===e?this.set({orderType:"asc"}):this.set({orderType:"desc"}),fireTrackingEvent(t,e),this.set({sortingArg:e})}};function fireTrackingEvent(t,e){var a=new CustomEvent("q-tracking-event",{bubbles:!0,detail:{eventInfo:{componentName:"1827-oekonomenranking",eventAction:"sortColumn"+e.charAt(0).toUpperCase()+e.slice(1)}}});t.dispatchEvent(a)}function create_main_fragment$2(t,e){var a,r,n,s,i,o,c,l,u,f,d,m,h,v,_,p,g,b,k,w,x,A,y,V,H,z,E,M,N,T,L,Y,F,S=[],R=blankObject(),D=e.currentYear-1,$=e.currentYear-1;function O(t){return"total"===t.sortingArg?create_if_block$2:create_if_block_3$2}var C=O(e),j=C(t,e);function B(t){return"science"===t.sortingArg?create_if_block_4$1:create_if_block_7$1}var I=B(e),W=I(t,e);function q(t){return"media"===t.sortingArg?create_if_block_8:create_if_block_11}var P=q(e),G=P(t,e);function K(t){return"politics"===t.sortingArg?create_if_block_12:create_if_block_15}for(var U=K(e),J=U(t,e),Q=e.sortedData,X=function(t){return t.row.name},Z=0;Z<Q.length;Z+=1){var tt=get_each_context(e,Q,Z),et=X(tt);S[Z]=R[et]=create_each_block(t,et,tt)}return{c:function(){for(a=createElement("div"),r=createElement("div"),n=createElement("div"),s=createElement("div"),j.c(),i=createText("\n "),W.c(),o=createText("\n "),G.c(),c=createText("\n "),J.c(),l=createText("\n "),u=createElement("div"),f=createText("\n "),d=createElement("div"),Z=0;Z<S.length;Z+=1)S[Z].c();m=createText("\n "),h=createElement("div"),v=createElement("div"),_=createElement("span"),p=createSvgElement("svg"),g=createSvgElement("circle"),b=createSvgElement("path"),k=createText("\n besser platziert als "),w=createText(D),x=createText("\n "),A=createElement("span"),y=createSvgElement("svg"),V=createSvgElement("circle"),H=createSvgElement("path"),z=createText("\n schlechter platziert als "),E=createText($),M=createText("\n "),(N=createElement("span")).innerHTML='<svg preserveAspectRatio="xMinYMid meet" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg" class="st-1827-legend-icon svelte-1af7krf"><circle class="s-color-gray-6 svelte-1af7krf" cx="6.5" cy="6.5" r="6.5"></circle><path class="s-color-gray-2 svelte-1af7krf" d="M3 4v1h7V4zM3 8v1h7V8z"></path></svg>\n unverändert',T=createText("\n "),(L=createElement("span")).innerHTML='<svg preserveAspectRatio="xMinYMid meet" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg" class="st-1827-legend-icon svelte-1af7krf"><ellipse class="s-color-gray-6 svelte-1af7krf" cx="6.5" cy="6.5" rx="6.5" ry="6.5"></ellipse><path class="s-color-gray-2 svelte-1af7krf" d="M7 6V2H6v4H2v1h4v4h1V7h4V6H7z"></path></svg>\n neu im Ranking',s.className="st-1827-list-header svelte-1af7krf",u.className="st-1827-list-header-line s-color-gray-3 svelte-1af7krf",n.className="st-1827-list-header-container svelte-1af7krf",d.className="st-1827-people-list svelte-1af7krf",setStyle(d,"height",e.totalHeight+"px"),setAttribute(g,"class","s-color-gray-6 svelte-1af7krf"),setAttribute(g,"cx","6.5"),setAttribute(g,"cy","6.5"),setAttribute(g,"r","6.5"),setAttribute(b,"class","s-color-gray-2 svelte-1af7krf"),setAttribute(b,"d","M5 3h5v1H5V3zm4 1h1v4H9V4zm0 0v1l-5 5-1-1 5-5h1z"),setAttribute(p,"preserveAspectRatio","xMinYMid meet"),setAttribute(p,"viewBox","0 0 13 13"),setAttribute(p,"xmlns","http://www.w3.org/2000/svg"),setAttribute(p,"class","st-1827-legend-icon svelte-1af7krf"),_.className="st-1827-legend__item s-font-note-s s-font-note-s--light svelte-1af7krf",setAttribute(V,"class","s-color-gray-6 svelte-1af7krf"),setAttribute(V,"transform","matrix(1 0 0 -1 0 13)"),setAttribute(V,"cx","6.5"),setAttribute(V,"cy","6.5"),setAttribute(V,"r","6.5"),setAttribute(H,"class","s-color-gray-2 svelte-1af7krf"),setAttribute(H,"d","M5 10h5V9H5v1zm4-1h1V5H9v4zm0 0V8L4 3 3 4l5 5h1z"),setAttribute(y,"preserveAspectRatio","xMinYMid meet"),setAttribute(y,"viewBox","0 0 13 13"),setAttribute(y,"xmlns","http://www.w3.org/2000/svg"),setAttribute(y,"class","st-1827-legend-icon svelte-1af7krf"),A.className="st-1827-legend__item s-font-note-s s-font-note-s--light svelte-1af7krf",N.className="st-1827-legend__item s-font-note-s s-font-note-s--light svelte-1af7krf",L.className="st-1827-legend__item s-font-note-s s-font-note-s--light svelte-1af7krf",v.className="st-1827-legend svelte-1af7krf",h.className="st-1827-footer s-font-note-s s-font-note-s--light svelte-1af7krf",a.className=Y="st-1827-container st-1827-container--"+e.size+" s-q-item svelte-1af7krf",setStyle(a,"opacity","0")},m:function(t,e){for(insert(t,a,e),append(a,r),append(r,n),append(n,s),j.m(s,null),append(s,i),W.m(s,null),append(s,o),G.m(s,null),append(s,c),J.m(s,null),append(n,l),append(n,u),append(r,f),append(r,d),Z=0;Z<S.length;Z+=1)S[Z].i(d,null);append(a,m),append(a,h),append(h,v),append(v,_),append(_,p),append(p,g),append(p,b),append(_,k),append(_,w),append(v,x),append(v,A),append(A,y),append(y,V),append(y,H),append(A,z),append(A,E),append(v,M),append(v,N),append(v,T),append(v,L),F=!0},p:function(e,r){C===(C=O(r))&&j?j.p(e,r):(j.d(1),(j=C(t,r)).c(),j.m(s,i)),I===(I=B(r))&&W?W.p(e,r):(W.d(1),(W=I(t,r)).c(),W.m(s,o)),P===(P=q(r))&&G?G.p(e,r):(G.d(1),(G=P(t,r)).c(),G.m(s,c)),U===(U=K(r))&&J?J.p(e,r):(J.d(1),(J=U(t,r)).c(),J.m(s,null));var n=r.sortedData;S=updateKeyedEach(S,t,e,X,1,r,n,R,d,outroAndDestroyBlock,create_each_block,"i",null,get_each_context),F&&!e.totalHeight||setStyle(d,"height",r.totalHeight+"px"),F&&!e.currentYear||D===(D=r.currentYear-1)||setData(w,D),F&&!e.currentYear||$===($=r.currentYear-1)||setData(E,$),F&&!e.size||Y===(Y="st-1827-container st-1827-container--"+r.size+" s-q-item svelte-1af7krf")||(a.className=Y)},i:function(t,e){F||this.m(t,e)},o:function(t){if(F){var e=callAfter(t,S.length);for(Z=0;Z<S.length;Z+=1)S[Z].o(e);F=!1}},d:function(t){for(t&&detachNode(a),j.d(),W.d(),G.d(),J.d(),Z=0;Z<S.length;Z+=1)S[Z].d()}}}function create_if_block_1$2(t,e){var a,r;return{c:function(){a=createSvgElement("svg"),setAttribute(r=createSvgElement("path"),"d","M8 9h8l-1-2H8v2zM8 6h6l-1-2H8v2zM4 0H2v6H0l3 4 3-4H4V0zM8 3h4l-1-2H8v2z"),setAttribute(r,"class","svelte-1af7krf"),setAttribute(a,"width","16"),setAttribute(a,"height","10"),setAttribute(a,"xmlns","http://www.w3.org/2000/svg"),setAttribute(a,"class","svelte-1af7krf")},m:function(t,e){insert(t,a,e),append(a,r)},d:function(t){t&&detachNode(a)}}}function create_if_block_2$2(t,e){var a,r;return{c:function(){a=createSvgElement("svg"),setAttribute(r=createSvgElement("path"),"d","M8 1h8l-1 2H8V1zM8 4h6l-1 2H8V4zM8 7h4l-1 2H8V7zM4 6V0H2v6H0l3 4 3-4H4z"),setAttribute(r,"class","svelte-1af7krf"),setAttribute(a,"width","16"),setAttribute(a,"height","10"),setAttribute(a,"xmlns","http://www.w3.org/2000/svg"),setAttribute(a,"class","svelte-1af7krf")},m:function(t,e){insert(t,a,e),append(a,r)},d:function(t){t&&detachNode(a)}}}function create_if_block$2(t,e){var a,r,n,s;function i(t){return"asc"===t.orderType?create_if_block_1$2:create_if_block_2$2}var o=i(e),c=o(t,e);function l(e){t.sort(this,"total")}return{c:function(){a=createElement("div"),r=createElement("div"),n=createElement("div"),c.c(),s=createText("\n Gesamt"),n.className="st-1827-list-header__item__sort-icon st-1827-list-header__item__sort-icon--state-active sophie-color-gray-7 svelte-1af7krf",r.className="st-1827-list-header__item__label s-font-note-s s-font-note-s--strong svelte-1af7krf",addListener(a,"click",l),a.className="st-1827-list-header__item s-viz-color-one-5 svelte-1af7krf"},m:function(t,e){insert(t,a,e),append(a,r),append(r,n),c.m(n,null),append(r,s)},p:function(e,a){o!==(o=i(a))&&(c.d(1),(c=o(t,a)).c(),c.m(n,null))},d:function(t){t&&detachNode(a),c.d(),removeListener(a,"click",l)}}}function create_if_block_3$2(t,e){var a;function r(e){t.sort(this,"total")}return{c:function(){(a=createElement("div")).innerHTML='<div class="st-1827-list-header__item__label s-font-note-s s-font-note-s--light svelte-1af7krf"><div class="st-1827-list-header__item__sort-icon sophie-color-gray-5 svelte-1af7krf"><svg width="14" height="10" viewBox="0 0 14 10" xmlns="http://www.w3.org/2000/svg" class="svelte-1af7krf"><g fill="none" fill-rule="evenodd"><path d="M4 6V0H2v6H0l3 4 3-4zM12 4v6h-2V4H8l3-4 3 4z" class="svelte-1af7krf"></path>\n <path d="M-1-3h16v16H-1z" class="svelte-1af7krf"></path>\n </g>\n </svg></div>\n Gesamt</div>',addListener(a,"click",r),a.className="st-1827-list-header__item s-viz-color-one-5 svelte-1af7krf"},m:function(t,e){insert(t,a,e)},p:noop,d:function(t){t&&detachNode(a),removeListener(a,"click",r)}}}function create_if_block_5$1(t,e){var a,r;return{c:function(){a=createSvgElement("svg"),setAttribute(r=createSvgElement("path"),"d","M8 9h8l-1-2H8v2zM8 6h6l-1-2H8v2zM4 0H2v6H0l3 4 3-4H4V0zM8 3h4l-1-2H8v2z"),setAttribute(r,"class","svelte-1af7krf"),setAttribute(a,"width","16"),setAttribute(a,"height","10"),setAttribute(a,"xmlns","http://www.w3.org/2000/svg"),setAttribute(a,"class","svelte-1af7krf")},m:function(t,e){insert(t,a,e),append(a,r)},d:function(t){t&&detachNode(a)}}}function create_if_block_6$1(t,e){var a,r;return{c:function(){a=createSvgElement("svg"),setAttribute(r=createSvgElement("path"),"d","M8 1h8l-1 2H8V1zM8 4h6l-1 2H8V4zM8 7h4l-1 2H8V7zM4 6V0H2v6H0l3 4 3-4H4z"),setAttribute(r,"class","svelte-1af7krf"),setAttribute(a,"width","16"),setAttribute(a,"height","10"),setAttribute(a,"xmlns","http://www.w3.org/2000/svg"),setAttribute(a,"class","svelte-1af7krf")},m:function(t,e){insert(t,a,e),append(a,r)},d:function(t){t&&detachNode(a)}}}function create_if_block_4$1(t,e){var a,r,n,s;function i(t){return"asc"===t.orderType?create_if_block_5$1:create_if_block_6$1}var o=i(e),c=o(t,e);function l(e){t.sort(this,"science")}return{c:function(){a=createElement("div"),r=createElement("div"),n=createElement("div"),c.c(),s=createText("\n Forschung"),n.className="st-1827-list-header__item__sort-icon st-1827-list-header__item__sort-icon--state-active sophie-color-gray-7 svelte-1af7krf",r.className="st-1827-list-header__item__label s-font-note-s s-font-note-s--strong svelte-1af7krf",addListener(a,"click",l),a.className="st-1827-list-header__item s-viz-color-two-3 svelte-1af7krf"},m:function(t,e){insert(t,a,e),append(a,r),append(r,n),c.m(n,null),append(r,s)},p:function(e,a){o!==(o=i(a))&&(c.d(1),(c=o(t,a)).c(),c.m(n,null))},d:function(t){t&&detachNode(a),c.d(),removeListener(a,"click",l)}}}function create_if_block_7$1(t,e){var a;function r(e){t.sort(this,"science")}return{c:function(){(a=createElement("div")).innerHTML='<div class="st-1827-list-header__item__label s-font-note-s s-font-note-s--light svelte-1af7krf"><div class="st-1827-list-header__item__sort-icon sophie-color-gray-5 svelte-1af7krf"><svg width="14" height="10" viewBox="0 0 14 10" xmlns="http://www.w3.org/2000/svg" class="svelte-1af7krf"><g fill="none" fill-rule="evenodd"><path d="M4 6V0H2v6H0l3 4 3-4zM12 4v6h-2V4H8l3-4 3 4z" class="svelte-1af7krf"></path>\n <path d="M-1-3h16v16H-1z" class="svelte-1af7krf"></path>\n </g>\n </svg></div>\n Forschung</div>',addListener(a,"click",r),a.className="st-1827-list-header__item s-viz-color-two-3 svelte-1af7krf"},m:function(t,e){insert(t,a,e)},p:noop,d:function(t){t&&detachNode(a),removeListener(a,"click",r)}}}function create_if_block_9(t,e){var a,r;return{c:function(){a=createSvgElement("svg"),setAttribute(r=createSvgElement("path"),"d","M8 9h8l-1-2H8v2zM8 6h6l-1-2H8v2zM4 0H2v6H0l3 4 3-4H4V0zM8 3h4l-1-2H8v2z"),setAttribute(r,"class","svelte-1af7krf"),setAttribute(a,"width","16"),setAttribute(a,"height","10"),setAttribute(a,"xmlns","http://www.w3.org/2000/svg"),setAttribute(a,"class","svelte-1af7krf")},m:function(t,e){insert(t,a,e),append(a,r)},d:function(t){t&&detachNode(a)}}}function create_if_block_10(t,e){var a,r;return{c:function(){a=createSvgElement("svg"),setAttribute(r=createSvgElement("path"),"d","M8 1h8l-1 2H8V1zM8 4h6l-1 2H8V4zM8 7h4l-1 2H8V7zM4 6V0H2v6H0l3 4 3-4H4z"),setAttribute(r,"class","svelte-1af7krf"),setAttribute(a,"width","16"),setAttribute(a,"height","10"),setAttribute(a,"xmlns","http://www.w3.org/2000/svg"),setAttribute(a,"class","svelte-1af7krf")},m:function(t,e){insert(t,a,e),append(a,r)},d:function(t){t&&detachNode(a)}}}function create_if_block_8(t,e){var a,r,n,s;function i(t){return"asc"===t.orderType?create_if_block_9:create_if_block_10}var o=i(e),c=o(t,e);function l(e){t.sort(this,"media")}return{c:function(){a=createElement("div"),r=createElement("div"),n=createElement("div"),c.c(),s=createText("\n Medien"),n.className="st-1827-list-header__item__sort-icon st-1827-list-header__item__sort-icon--state-active sophie-color-gray-7 svelte-1af7krf",r.className="st-1827-list-header__item__label s-font-note-s s-font-note-s--strong svelte-1af7krf",addListener(a,"click",l),a.className="st-1827-list-header__item s-viz-color-three-3 svelte-1af7krf"},m:function(t,e){insert(t,a,e),append(a,r),append(r,n),c.m(n,null),append(r,s)},p:function(e,a){o!==(o=i(a))&&(c.d(1),(c=o(t,a)).c(),c.m(n,null))},d:function(t){t&&detachNode(a),c.d(),removeListener(a,"click",l)}}}function create_if_block_11(t,e){var a;function r(e){t.sort(this,"media")}return{c:function(){(a=createElement("div")).innerHTML='<div class="st-1827-list-header__item__label s-font-note-s s-font-note-s--light svelte-1af7krf"><div class="st-1827-list-header__item__sort-icon sophie-color-gray-5 svelte-1af7krf"><svg width="14" height="10" viewBox="0 0 14 10" xmlns="http://www.w3.org/2000/svg" class="svelte-1af7krf"><g fill="none" fill-rule="evenodd"><path d="M4 6V0H2v6H0l3 4 3-4zM12 4v6h-2V4H8l3-4 3 4z" class="svelte-1af7krf"></path>\n <path d="M-1-3h16v16H-1z" class="svelte-1af7krf"></path>\n </g>\n </svg></div>\n Medien</div>',addListener(a,"click",r),a.className="st-1827-list-header__item s-viz-color-three-3 svelte-1af7krf"},m:function(t,e){insert(t,a,e)},p:noop,d:function(t){t&&detachNode(a),removeListener(a,"click",r)}}}function create_if_block_13(t,e){var a,r;return{c:function(){a=createSvgElement("svg"),setAttribute(r=createSvgElement("path"),"d","M8 9h8l-1-2H8v2zM8 6h6l-1-2H8v2zM4 0H2v6H0l3 4 3-4H4V0zM8 3h4l-1-2H8v2z"),setAttribute(r,"class","svelte-1af7krf"),setAttribute(a,"width","16"),setAttribute(a,"height","10"),setAttribute(a,"xmlns","http://www.w3.org/2000/svg"),setAttribute(a,"class","svelte-1af7krf")},m:function(t,e){insert(t,a,e),append(a,r)},d:function(t){t&&detachNode(a)}}}function create_if_block_14(t,e){var a,r;return{c:function(){a=createSvgElement("svg"),setAttribute(r=createSvgElement("path"),"d","M8 1h8l-1 2H8V1zM8 4h6l-1 2H8V4zM8 7h4l-1 2H8V7zM4 6V0H2v6H0l3 4 3-4H4z"),setAttribute(r,"class","svelte-1af7krf"),setAttribute(a,"width","16"),setAttribute(a,"height","10"),setAttribute(a,"xmlns","http://www.w3.org/2000/svg"),setAttribute(a,"class","svelte-1af7krf")},m:function(t,e){insert(t,a,e),append(a,r)},d:function(t){t&&detachNode(a)}}}function create_if_block_12(t,e){var a,r,n,s;function i(t){return"asc"===t.orderType?create_if_block_13:create_if_block_14}var o=i(e),c=o(t,e);function l(e){t.sort(this,"politics")}return{c:function(){a=createElement("div"),r=createElement("div"),n=createElement("div"),c.c(),s=createText("\n Politik"),n.className="st-1827-list-header__item__sort-icon st-1827-list-header__item__sort-icon--state-active sophie-color-gray-7 svelte-1af7krf",r.className="st-1827-list-header__item__label s-font-note-s s-font-note-s--strong svelte-1af7krf",addListener(a,"click",l),a.className="st-1827-list-header__item s-viz-color-four-3 svelte-1af7krf"},m:function(t,e){insert(t,a,e),append(a,r),append(r,n),c.m(n,null),append(r,s)},p:function(e,a){o!==(o=i(a))&&(c.d(1),(c=o(t,a)).c(),c.m(n,null))},d:function(t){t&&detachNode(a),c.d(),removeListener(a,"click",l)}}}function create_if_block_15(t,e){var a;function r(e){t.sort(this,"politics")}return{c:function(){(a=createElement("div")).innerHTML='<div class="st-1827-list-header__item__label s-font-note-s s-font-note-s--light svelte-1af7krf"><div class="st-1827-list-header__item__sort-icon sophie-color-gray-5 svelte-1af7krf"><svg width="14" height="10" viewBox="0 0 14 10" xmlns="http://www.w3.org/2000/svg" class="svelte-1af7krf"><g fill="none" fill-rule="evenodd"><path d="M4 6V0H2v6H0l3 4 3-4zM12 4v6h-2V4H8l3-4 3 4z" class="svelte-1af7krf"></path>\n <path d="M-1-3h16v16H-1z" class="svelte-1af7krf"></path>\n </g>\n </svg></div>\n Politik</div>',addListener(a,"click",r),a.className="st-1827-list-header__item s-viz-color-four-3 svelte-1af7krf"},m:function(t,e){insert(t,a,e)},p:noop,d:function(t){t&&detachNode(a),removeListener(a,"click",r)}}}function create_each_block(t,e,a){var r,n,s={},i={index:a.index,row:a.row,sortingArg:a.sortingArg,maxValues:a.maxValues,size:a.size,hasRankFromLastYear:a.hasRankFromLastYear};void 0!==a.itemHeights&&(i.itemHeights=a.itemHeights,s.itemHeights=!0);var o=new DataTableRow({root:t.root,store:t.store,data:i,_bind:function(e,a){var r={};!s.itemHeights&&e.itemHeights&&(r.itemHeights=a.itemHeights),t._set(r),s={}}});return t.root._beforecreate.push(function(){o._bind({itemHeights:1},o.get())}),{key:e,first:null,c:function(){r=createComment(),o._fragment.c(),this.first=r},m:function(t,e){insert(t,r,e),o._mount(t,e),n=!0},p:function(t,e){a=e;var r={};t.sortedData&&(r.index=a.index),t.sortedData&&(r.row=a.row),t.sortingArg&&(r.sortingArg=a.sortingArg),t.maxValues&&(r.maxValues=a.maxValues),t.size&&(r.size=a.size),t.hasRankFromLastYear&&(r.hasRankFromLastYear=a.hasRankFromLastYear),!s.itemHeights&&t.itemHeights&&(r.itemHeights=a.itemHeights,s.itemHeights=void 0!==a.itemHeights),o._set(r),s={}},i:function(t,e){n||this.m(t,e)},o:function(t){n&&(o&&o._fragment.o(t),n=!1)},d:function(t){t&&detachNode(r),o.destroy(t)}}}function get_each_context(t,e,a){var r=Object.create(t);return r.row=e[a],r.each_value=e,r.index=a,r}function DataTable(t){init(this,t),this._state=assign(data$1(),t.data),this._recompute({data:1,hasRankFromLastYear:1,hasTotal:1,objectArray:1,sortingArg:1,orderType:1,listtype:1,width:1,breakingWidth:1,itemHeights:1},this._state),this._intro=!!t.intro,this._fragment=create_main_fragment$2(this,this._state),t.target&&(this._fragment.c(),this._mount(t.target,t.anchor),flush(this)),this._intro=!0}function create_main_fragment$3(t,e){var a,r={data:e.data,listtype:e.listtype,currentYear:e.currentYear,width:e.width,breakingWidth:e.breakingWidth},n=new DataTable({root:t.root,store:t.store,data:r});return{c:function(){n._fragment.c()},m:function(t,e){n._mount(t,e),a=!0},p:function(t,e){var a={};t.data&&(a.data=e.data),t.listtype&&(a.listtype=e.listtype),t.currentYear&&(a.currentYear=e.currentYear),t.width&&(a.width=e.width),t.breakingWidth&&(a.breakingWidth=e.breakingWidth),n._set(a)},i:function(t,e){a||this.m(t,e)},o:function(t){a&&(n&&n._fragment.o(t),a=!1)},d:function(t){n.destroy(t)}}}function App(t){init(this,t),this._state=assign({},t.data),this._intro=!!t.intro,this._fragment=create_main_fragment$3(this,this._state),t.target&&(this._fragment.c(),this._mount(t.target,t.anchor),flush(this)),this._intro=!0}assign(DataTable.prototype,proto),assign(DataTable.prototype,methods),DataTable.prototype._recompute=function(t,e){t.data&&(this._differs(e.hasRankFromLastYear,e.hasRankFromLastYear=hasRankFromLastYear(e))&&(t.hasRankFromLastYear=!0),this._differs(e.hasTotal,e.hasTotal=hasTotal(e))&&(t.hasTotal=!0)),(t.data||t.hasRankFromLastYear||t.hasTotal)&&this._differs(e.objectArray,e.objectArray=objectArray(e))&&(t.objectArray=!0),(t.objectArray||t.sortingArg||t.orderType)&&this._differs(e.sortedData,e.sortedData=sortedData(e))&&(t.sortedData=!0),(t.objectArray||t.listtype)&&this._differs(e.maxValues,e.maxValues=maxValues(e))&&(t.maxValues=!0),(t.width||t.breakingWidth)&&this._differs(e.size,e.size=size(e))&&(t.size=!0),t.itemHeights&&this._differs(e.totalHeight,e.totalHeight=totalHeight(e))&&(t.totalHeight=!0)},assign(App.prototype,proto);export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.register("App",[],function(t,e){"use strict";return{execute:function(){function e(){}function n(t,e){for(var n in e)t[n]=e[n];return t}function s(t,e){for(var n in e)t[n]=1;return t}function a(t,e){return 0===e&&t(),function(){--e||t()}}function r(t){t()}function i(t,e){t.appendChild(e)}function o(t,e,n){t.insertBefore(e,n)}function l(t){t.parentNode.removeChild(t)}function c(t){return document.createElement(t)}function f(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function u(t){return document.createTextNode(t)}function h(){return document.createComment("")}function v(t,e,n){t.addEventListener(e,n,!1)}function m(t,e,n){t.removeEventListener(e,n,!1)}function d(t,e,n){t.setAttribute(e,n)}function g(t,e){t.data=""+e}function _(t,e,n){t.style.setProperty(e,n)}function p(t,e){t.o(function(){!function(t,e){t.d(1),e[t.key]=null}(t,e)})}function w(){return Object.create(null)}function k(t){t._lock=!0,V(t._beforecreate),V(t._oncreate),V(t._aftercreate),t._lock=!1}function x(t,e){t._handlers=w(),t._slots=w(),t._bind=e._bind,t._staged={},t.options=e,t.root=e.root||t,t.store=e.store||t.root.store,e.root||(t._beforecreate=[],t._oncreate=[],t._aftercreate=[])}function V(t){for(;t&&t.length;)t.shift()()}var H={destroy:function(t){this.destroy=e,this.fire("destroy"),this.set=e,this._fragment.d(!1!==t),this._fragment=null,this._state={}},get:function(){return this._state},fire:function(t,e){var n=t in this._handlers&&this._handlers[t].slice();if(n)for(var s=0;s<n.length;s+=1){var a=n[s];if(!a.__calling)try{a.__calling=!0,a.call(this,e)}finally{a.__calling=!1}}},on:function(t,e){var n=this._handlers[t]||(this._handlers[t]=[]);return n.push(e),{cancel:function(){var t=n.indexOf(e);~t&&n.splice(t,1)}}},set:function(t){this._set(n({},t)),this.root._lock||k(this.root)},_recompute:e,_set:function(t){var e=this._state,s={},a=!1;for(var r in t=n(this._staged,t),this._staged={},t)this._differs(t[r],e[r])&&(s[r]=a=!0);a&&(this._state=n(n({},e),t),this._recompute(s,this._state),this._bind&&this._bind(s,this._state),this._fragment&&(this.fire("state",{changed:s,current:this._state,previous:e}),this._fragment.p(s,this._state),this.fire("update",{changed:s,current:this._state,previous:e})))},_stage:function(t){n(this._staged,t)},_mount:function(t,e){this._fragment[this._fragment.i?"i":"m"](t,e||null)},_differs:function(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}};function y(t,e){var n,s;return{c:function(){n=c("div"),s=u(e.value),n.className="st-1827-list-item__points__value s-font-note-s s-font-note-s--strong"},m:function(t,e){o(t,n,e),i(n,s)},p:function(t,e){t.value&&g(s,e.value)},d:function(t){t&&l(n)}}}function z(t,e){var n,s;return{c:function(){n=c("div"),s=u(e.value),n.className="st-1827-list-item__points__value s-font-note-s s-font-note-s--light"},m:function(t,e){o(t,n,e),i(n,s)},p:function(t,e){t.value&&g(s,e.value)},d:function(t){t&&l(n)}}}function b(t,e){var n,s;return{c:function(){(n=c("div")).className=s="st-1827-list-item__points__bar__valuebar "+e.barColor+" svelte-8t8n6f",_(n,"width",e.widthOfMinibar+"%")},m:function(t,e){o(t,n,e)},p:function(t,e){t.barColor&&s!==(s="st-1827-list-item__points__bar__valuebar "+e.barColor+" svelte-8t8n6f")&&(n.className=s),t.widthOfMinibar&&_(n,"width",e.widthOfMinibar+"%")},d:function(t){t&&l(n)}}}function M(t,e){var n,s;return{c:function(){(n=c("div")).className=s="st-1827-list-item__points__bar__valuebar "+e.barColor+" svelte-8t8n6f",_(n,"min-width","1px"),_(n,"width",e.widthOfMinibar+"%")},m:function(t,e){o(t,n,e)},p:function(t,e){t.barColor&&s!==(s="st-1827-list-item__points__bar__valuebar "+e.barColor+" svelte-8t8n6f")&&(n.className=s),t.widthOfMinibar&&_(n,"width",e.widthOfMinibar+"%")},d:function(t){t&&l(n)}}}function Y(t){x(this,t),this._state=n({},t.data),this._recompute({value:1,maxValue:1},this._state),this._intro=!!t.intro,this._fragment=function(t,e){var n,s,a,f,h,v;function m(t){return t.type===t.sortingArg?y:z}var d=m(e),g=d(t,e);function _(t){return 0===t.widthOfMinibar?b:M}var p=_(e),w=p(t,e);return{c:function(){n=c("div"),g.c(),s=u("\n "),a=c("div"),f=c("div"),h=u("\n "),w.c(),f.className="st-1827-list-item__points__bar__baseline s-color-gray-8 svelte-8t8n6f",a.className="st-1827-list-item__points__bar s-color-gray-3 svelte-8t8n6f",n.className="st-1827-list-item__points__bar-container svelte-8t8n6f"},m:function(t,e){o(t,n,e),g.m(n,null),i(n,s),i(n,a),i(a,f),i(a,h),w.m(a,null),v=!0},p:function(e,r){d===(d=m(r))&&g?g.p(e,r):(g.d(1),(g=d(t,r)).c(),g.m(n,s)),p===(p=_(r))&&w?w.p(e,r):(w.d(1),(w=p(t,r)).c(),w.m(a,null))},i:function(t,e){v||this.m(t,e)},o:r,d:function(t){t&&l(n),g.d(),w.d()}}}(this,this._state),t.target&&(this._fragment.c(),this._mount(t.target,t.anchor)),this._intro=!0}function N(t){var e=t.changed;t.curr,t.prev;if(e.readyToRender){var n=this.get().index,s=this.get().itemHeights;this.refs.row&&(s[n]=this.refs.row.offsetHeight)}}function A(t,e){var n,s,a,r=e.row.rankFromLastYear;return{c:function(){n=c("div"),s=u(r),a=u("."),n.className="st-1827-rankFromLastYear svelte-15mkph2"},m:function(t,e){o(t,n,e),i(n,s),i(n,a)},p:function(t,e){t.row&&r!==(r=e.row.rankFromLastYear)&&g(s,r)},d:function(t){t&&l(n)}}}function L(t,e){var n,s,a,r=e.row.rankFromLastYear;return{c:function(){n=c("div"),s=u(r),a=u("."),n.className="st-1827-rankFromLastYear svelte-15mkph2"},m:function(t,e){o(t,n,e),i(n,s),i(n,a)},p:function(t,e){t.row&&r!==(r=e.row.rankFromLastYear)&&g(s,r)},d:function(t){t&&l(n)}}}function F(t,n){var s,a,r;return{c:function(){s=f("svg"),a=f("ellipse"),r=f("path"),d(a,"class","s-color-gray-6 svelte-15mkph2"),d(a,"cx","6.5"),d(a,"cy","6.5"),d(a,"rx","6.5"),d(a,"ry","6.5"),d(r,"class","s-color-gray-2 svelte-15mkph2"),d(r,"d","M7 6V2H6v4H2v1h4v4h1V7h4V6H7z"),d(s,"viewBox","0 0 13 13"),d(s,"xmlns","http://www.w3.org/2000/svg"),d(s,"class","st-1827-legend-icon svelte-15mkph2")},m:function(t,e){o(t,s,e),i(s,a),i(s,r)},p:e,d:function(t){t&&l(s)}}}function T(t,e){var n,s,a,r,c,v=e.hasRankFromLastYear&&A(0,e);return{c:function(){n=f("svg"),s=f("circle"),a=f("path"),r=u("\n "),v&&v.c(),c=h(),d(s,"class","s-color-gray-6 svelte-15mkph2"),d(s,"cx","6.5"),d(s,"cy","6.5"),d(s,"r","6.5"),d(a,"class","s-color-gray-2 svelte-15mkph2"),d(a,"d","M5 3h5v1H5V3zm4 1h1v4H9V4zm0 0v1l-5 5-1-1 5-5h1z"),d(n,"viewBox","0 0 13 13"),d(n,"xmlns","http://www.w3.org/2000/svg"),d(n,"class","st-1827-legend-icon svelte-15mkph2")},m:function(t,e){o(t,n,e),i(n,s),i(n,a),o(t,r,e),v&&v.m(t,e),o(t,c,e)},p:function(t,e){e.hasRankFromLastYear?v?v.p(t,e):((v=A(0,e)).c(),v.m(c.parentNode,c)):v&&(v.d(1),v=null)},d:function(t){t&&(l(n),l(r)),v&&v.d(t),t&&l(c)}}}function R(t,e){var n,s,a,r,c,v=e.hasRankFromLastYear&&L(0,e);return{c:function(){n=f("svg"),s=f("circle"),a=f("path"),r=u("\n "),v&&v.c(),c=h(),d(s,"class","s-color-gray-6 svelte-15mkph2"),d(s,"transform","matrix(1 0 0 -1 0 13)"),d(s,"cx","6.5"),d(s,"cy","6.5"),d(s,"r","6.5"),d(a,"class","s-color-gray-2 svelte-15mkph2"),d(a,"d","M5 10h5V9H5v1zm4-1h1V5H9v4zm0 0V8L4 3 3 4l5 5h1z"),d(n,"viewBox","0 0 13 13"),d(n,"xmlns","http://www.w3.org/2000/svg"),d(n,"class","st-1827-legend-icon svelte-15mkph2")},m:function(t,e){o(t,n,e),i(n,s),i(n,a),o(t,r,e),v&&v.m(t,e),o(t,c,e)},p:function(t,e){e.hasRankFromLastYear?v?v.p(t,e):((v=L(0,e)).c(),v.m(c.parentNode,c)):v&&(v.d(1),v=null)},d:function(t){t&&(l(n),l(r)),v&&v.d(t),t&&l(c)}}}function O(t,n){var s,a,r;return{c:function(){s=f("svg"),a=f("circle"),r=f("path"),d(a,"class","s-color-gray-6 svelte-15mkph2"),d(a,"cx","6.5"),d(a,"cy","6.5"),d(a,"r","6.5"),d(r,"class","s-color-gray-2 svelte-15mkph2"),d(r,"d","M3 4v1h7V4zM3 8v1h7V8z"),d(s,"viewBox","0 0 13 13"),d(s,"xmlns","http://www.w3.org/2000/svg"),d(s,"class","st-1827-legend-icon svelte-15mkph2")},m:function(t,e){o(t,s,e),i(s,a),i(s,r)},p:e,d:function(t){t&&l(s)}}}function C(t,e){var n,s,a=e.row.country;return{c:function(){n=c("span"),s=u(a),n.className="st-1827-list-item__country s-font-note svelte-15mkph2"},m:function(t,e){o(t,n,e),i(n,s)},p:function(t,e){t.row&&a!==(a=e.row.country)&&g(s,a)},d:function(t){t&&l(n)}}}function B(t,e){var n,s,a=e.row.institution;return{c:function(){n=c("div"),s=u(a),n.className="st-1827-list-item__institution s-font-note-s svelte-15mkph2"},m:function(t,e){o(t,n,e),i(n,s)},p:function(t,e){t.row&&a!==(a=e.row.institution)&&g(s,a)},d:function(t){t&&l(n)}}}function j(t){var e=this;x(this,t),this.refs={},this._state=n({readyToRender:!1},t.data),this._recompute({row:1,hasRankFromLastYear:1,itemHeights:1,index:1},this._state),this._intro=!!t.intro,this._handlers.state=[N],N.call(this,{changed:s({},this._state),current:this._state}),this._fragment=function(t,e){var n,s,r,f,h,v,m,d,p,w,k,x,V,H,y,z,b,M=e.row.rank+".",N=e.row.name,A={},L={},j={},I={};function W(t){return"new"===t.rankFromLastYear?F:"up"===t.rankFromLastYear?T:"down"===t.rankFromLastYear?R:"equal"===t.rankFromLastYear?O:null}var D=W(e),E=D&&D(t,e),q=null!==e.row.country&&C(0,e),P=null!==e.row.institution&&B(0,e),G={sortingArg:e.sortingArg,type:"total",barColor:"s-viz-color-one-5"};void 0!==e.row.total&&(G.value=e.row.total,A.value=!0),void 0!==e.maxValues.total&&(G.maxValue=e.maxValues.total,A.maxValue=!0);var S=new Y({root:t.root,store:t.store,data:G,_bind:function(n,s){var a={};!A.value&&n.value&&(e.row.total=s.value,a.row=e.row),!A.maxValue&&n.maxValue&&(e.maxValues.total=s.maxValue,a.maxValues=e.maxValues),t._set(a),A={}}});t.root._beforecreate.push(function(){S._bind({value:1,maxValue:1},S.get())});var U={sortingArg:e.sortingArg,type:"science",barColor:"s-viz-color-two-3"};void 0!==e.row.science&&(U.value=e.row.science,L.value=!0),void 0!==e.maxValues.science&&(U.maxValue=e.maxValues.science,L.maxValue=!0);var J=new Y({root:t.root,store:t.store,data:U,_bind:function(n,s){var a={};!L.value&&n.value&&(e.row.science=s.value,a.row=e.row),!L.maxValue&&n.maxValue&&(e.maxValues.science=s.maxValue,a.maxValues=e.maxValues),t._set(a),L={}}});t.root._beforecreate.push(function(){J._bind({value:1,maxValue:1},J.get())});var K={sortingArg:e.sortingArg,type:"media",barColor:"s-viz-color-three-3"};void 0!==e.row.media&&(K.value=e.row.media,j.value=!0),void 0!==e.maxValues.media&&(K.maxValue=e.maxValues.media,j.maxValue=!0);var Q=new Y({root:t.root,store:t.store,data:K,_bind:function(n,s){var a={};!j.value&&n.value&&(e.row.media=s.value,a.row=e.row),!j.maxValue&&n.maxValue&&(e.maxValues.media=s.maxValue,a.maxValues=e.maxValues),t._set(a),j={}}});t.root._beforecreate.push(function(){Q._bind({value:1,maxValue:1},Q.get())});var X={sortingArg:e.sortingArg,type:"politics",barColor:"s-viz-color-four-3"};void 0!==e.row.politics&&(X.value=e.row.politics,I.value=!0),void 0!==e.maxValues.politics&&(X.maxValue=e.maxValues.politics,I.maxValue=!0);var Z=new Y({root:t.root,store:t.store,data:X,_bind:function(n,s){var a={};!I.value&&n.value&&(e.row.politics=s.value,a.row=e.row),!I.maxValue&&n.maxValue&&(e.maxValues.politics=s.maxValue,a.maxValues=e.maxValues),t._set(a),I={}}});return t.root._beforecreate.push(function(){Z._bind({value:1,maxValue:1},Z.get())}),{c:function(){n=c("div"),s=c("div"),r=u(M),f=u("\n "),E&&E.c(),h=u("\n "),v=c("div"),m=c("div"),d=u(N),p=u("\n "),q&&q.c(),w=u("\n "),P&&P.c(),k=u("\n "),x=c("div"),S._fragment.c(),V=u("\n "),J._fragment.c(),H=u("\n "),Q._fragment.c(),y=u("\n "),Z._fragment.c(),s.className="st-1827-list-item__rank s-font-sans s-color-gray-8 svelte-15mkph2",m.className="st-1827-list-item__name s-font-text-s",v.className="st-1827-list-item__description svelte-15mkph2",x.className="st-1827-list-item__points s-font-note-s svelte-15mkph2",n.className=z="st-1827-list-item st-1827-container--"+e.size+" s-color-gray-3 svelte-15mkph2",_(n,"transform","translateY("+e.translate+"px)")},m:function(e,a){o(e,n,a),i(n,s),i(s,r),i(s,f),E&&E.m(s,null),i(n,h),i(n,v),i(v,m),i(m,d),i(m,p),q&&q.m(m,null),i(v,w),P&&P.m(v,null),i(n,k),i(n,x),S._mount(x,null),i(x,V),J._mount(x,null),i(x,H),Q._mount(x,null),i(x,y),Z._mount(x,null),t.refs.row=n,b=!0},p:function(a,i){e=i,b&&!a.row||M===(M=e.row.rank+".")||g(r,M),D===(D=W(e))&&E?E.p(a,e):(E&&E.d(1),(E=D&&D(t,e))&&E.c(),E&&E.m(s,null)),b&&!a.row||N===(N=e.row.name)||g(d,N),null!==e.row.country?q?q.p(a,e):((q=C(0,e)).c(),q.m(m,null)):q&&(q.d(1),q=null),null!==e.row.institution?P?P.p(a,e):((P=B(0,e)).c(),P.m(v,null)):P&&(P.d(1),P=null);var o={};a.sortingArg&&(o.sortingArg=e.sortingArg),!A.value&&a.row&&(o.value=e.row.total,A.value=void 0!==e.row.total),!A.maxValue&&a.maxValues&&(o.maxValue=e.maxValues.total,A.maxValue=void 0!==e.maxValues.total),S._set(o),A={};var l={};a.sortingArg&&(l.sortingArg=e.sortingArg),!L.value&&a.row&&(l.value=e.row.science,L.value=void 0!==e.row.science),!L.maxValue&&a.maxValues&&(l.maxValue=e.maxValues.science,L.maxValue=void 0!==e.maxValues.science),J._set(l),L={};var c={};a.sortingArg&&(c.sortingArg=e.sortingArg),!j.value&&a.row&&(c.value=e.row.media,j.value=void 0!==e.row.media),!j.maxValue&&a.maxValues&&(c.maxValue=e.maxValues.media,j.maxValue=void 0!==e.maxValues.media),Q._set(c),j={};var f={};a.sortingArg&&(f.sortingArg=e.sortingArg),!I.value&&a.row&&(f.value=e.row.politics,I.value=void 0!==e.row.politics),!I.maxValue&&a.maxValues&&(f.maxValue=e.maxValues.politics,I.maxValue=void 0!==e.maxValues.politics),Z._set(f),I={},b&&!a.size||z===(z="st-1827-list-item st-1827-container--"+e.size+" s-color-gray-3 svelte-15mkph2")||(n.className=z),b&&!a.translate||_(n,"transform","translateY("+e.translate+"px)")},i:function(t,e){b||this.m(t,e)},o:function(t){b&&(t=a(t,4),S&&S._fragment.o(t),J&&J._fragment.o(t),Q&&Q._fragment.o(t),Z&&Z._fragment.o(t),b=!1)},d:function(e){e&&l(n),E&&E.d(),q&&q.d(),P&&P.d(),S.destroy(),J.destroy(),Q.destroy(),Z.destroy(),t.refs.row===n&&(t.refs.row=null)}}}(this,this._state),this.root._oncreate.push(function(){(function(){var t=this,e=[],n=this.get().index,s=this.get().itemHeights;if(s[n]=this.refs.row.offsetHeight,this.set({itemHeights:s}),n===s.length-1)var a=setInterval(function(){e.push(t.refs.row.offsetHeight),e.length>5&&e.slice(e.length-6,e.length-1).every(function(t,e,n){return t===n[0]})&&(n=t.get().index,(s=t.get().itemHeights)[n]=t.refs.row.offsetHeight,t.set({itemHeights:s}),t.set({readyToRender:!0}),clearInterval(a))},100)}).call(e),e.fire("update",{changed:s({},e._state),current:e._state})}),t.target&&(this._fragment.c(),this._mount(t.target,t.anchor),k(this)),this._intro=!0}n(Y.prototype,H),Y.prototype._recompute=function(t,e){var n;(t.value||t.maxValue)&&this._differs(e.widthOfMinibar,e.widthOfMinibar=(n=e).value/n.maxValue*100)&&(t.widthOfMinibar=!0)},n(j.prototype,H),j.prototype._recompute=function(t,e){var n,s;(t.row||t.hasRankFromLastYear)&&this._differs(e.rankFromLastYear,e.rankFromLastYear=(s=(n=e).row,n.hasRankFromLastYear?0===s.rankFromLastYear?"new":s.rank<s.rankFromLastYear?"up":s.rank>s.rankFromLastYear?"down":s.rank===s.rankFromLastYear?"equal":void 0:s.changeFromLastYear))&&(t.rankFromLastYear=!0),(t.itemHeights||t.index)&&this._differs(e.translate,e.translate=function(t){for(var e=t.itemHeights,n=t.index,s=0,a=0;a<n;a++)s+=e[a];return s}(e))&&(t.translate=!0)};var I={sort:function(t,e){"desc"===this.get().orderType&&this.get().sortingArg===e?this.set({orderType:"asc"}):this.set({orderType:"desc"}),function(t,e){var n=new CustomEvent("q-tracking-event",{bubbles:!0,detail:{eventInfo:{componentName:"1827-oekonomenranking",eventAction:"sortColumn"+e.charAt(0).toUpperCase()+e.slice(1)}}});t.dispatchEvent(n)}(t,e),this.set({sortingArg:e})}};function W(t,e){var n,s,r,h,v,m,k,x,V,H,y,z,b,M,Y,N,A,L,F,T,R,O,C,B,j,I,W,D,E,G,S,K,Q,$=[],tt=w(),rt=e.currentYear-1,it=e.currentYear-1;function ot(t){return"total"===t.sortingArg?q:P}var lt=ot(e),ct=lt(t,e);function ft(t){return"science"===t.sortingArg?U:J}var ut=ft(e),ht=ut(t,e);function vt(t){return"media"===t.sortingArg?X:Z}var mt=vt(e),dt=mt(t,e);function gt(t){return"politics"===t.sortingArg?et:nt}for(var _t=gt(e),pt=_t(t,e),wt=e.sortedData,kt=function(t){return t.row.name},xt=0;xt<wt.length;xt+=1){var Vt=at(e,wt,xt),Ht=kt(Vt);$[xt]=tt[Ht]=st(t,Ht,Vt)}return{c:function(){for(n=c("div"),s=c("div"),r=c("div"),h=c("div"),ct.c(),v=u("\n "),ht.c(),m=u("\n "),dt.c(),k=u("\n "),pt.c(),x=u("\n "),V=c("div"),H=u("\n "),y=c("div"),xt=0;xt<$.length;xt+=1)$[xt].c();z=u("\n "),b=c("div"),M=c("div"),Y=c("span"),N=f("svg"),A=f("circle"),L=f("path"),F=u("\n besser platziert als "),T=u(rt),R=u("\n "),O=c("span"),C=f("svg"),B=f("circle"),j=f("path"),I=u("\n schlechter platziert als "),W=u(it),D=u("\n "),(E=c("span")).innerHTML='<svg preserveAspectRatio="xMinYMid meet" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg" class="st-1827-legend-icon svelte-1af7krf"><circle class="s-color-gray-6 svelte-1af7krf" cx="6.5" cy="6.5" r="6.5"></circle><path class="s-color-gray-2 svelte-1af7krf" d="M3 4v1h7V4zM3 8v1h7V8z"></path></svg>\n unverändert',G=u("\n "),(S=c("span")).innerHTML='<svg preserveAspectRatio="xMinYMid meet" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg" class="st-1827-legend-icon svelte-1af7krf"><ellipse class="s-color-gray-6 svelte-1af7krf" cx="6.5" cy="6.5" rx="6.5" ry="6.5"></ellipse><path class="s-color-gray-2 svelte-1af7krf" d="M7 6V2H6v4H2v1h4v4h1V7h4V6H7z"></path></svg>\n neu im Ranking',h.className="st-1827-list-header svelte-1af7krf",V.className="st-1827-list-header-line s-color-gray-3 svelte-1af7krf",r.className="st-1827-list-header-container svelte-1af7krf",y.className="st-1827-people-list svelte-1af7krf",_(y,"height",e.totalHeight+"px"),d(A,"class","s-color-gray-6 svelte-1af7krf"),d(A,"cx","6.5"),d(A,"cy","6.5"),d(A,"r","6.5"),d(L,"class","s-color-gray-2 svelte-1af7krf"),d(L,"d","M5 3h5v1H5V3zm4 1h1v4H9V4zm0 0v1l-5 5-1-1 5-5h1z"),d(N,"preserveAspectRatio","xMinYMid meet"),d(N,"viewBox","0 0 13 13"),d(N,"xmlns","http://www.w3.org/2000/svg"),d(N,"class","st-1827-legend-icon svelte-1af7krf"),Y.className="st-1827-legend__item s-font-note-s s-font-note-s--light svelte-1af7krf",d(B,"class","s-color-gray-6 svelte-1af7krf"),d(B,"transform","matrix(1 0 0 -1 0 13)"),d(B,"cx","6.5"),d(B,"cy","6.5"),d(B,"r","6.5"),d(j,"class","s-color-gray-2 svelte-1af7krf"),d(j,"d","M5 10h5V9H5v1zm4-1h1V5H9v4zm0 0V8L4 3 3 4l5 5h1z"),d(C,"preserveAspectRatio","xMinYMid meet"),d(C,"viewBox","0 0 13 13"),d(C,"xmlns","http://www.w3.org/2000/svg"),d(C,"class","st-1827-legend-icon svelte-1af7krf"),O.className="st-1827-legend__item s-font-note-s s-font-note-s--light svelte-1af7krf",E.className="st-1827-legend__item s-font-note-s s-font-note-s--light svelte-1af7krf",S.className="st-1827-legend__item s-font-note-s s-font-note-s--light svelte-1af7krf",M.className="st-1827-legend svelte-1af7krf",b.className="st-1827-footer s-font-note-s s-font-note-s--light svelte-1af7krf",n.className=K="st-1827-container st-1827-container--"+e.size+" s-q-item svelte-1af7krf",_(n,"opacity","0")},m:function(t,e){for(o(t,n,e),i(n,s),i(s,r),i(r,h),ct.m(h,null),i(h,v),ht.m(h,null),i(h,m),dt.m(h,null),i(h,k),pt.m(h,null),i(r,x),i(r,V),i(s,H),i(s,y),xt=0;xt<$.length;xt+=1)$[xt].i(y,null);i(n,z),i(n,b),i(b,M),i(M,Y),i(Y,N),i(N,A),i(N,L),i(Y,F),i(Y,T),i(M,R),i(M,O),i(O,C),i(C,B),i(C,j),i(O,I),i(O,W),i(M,D),i(M,E),i(M,G),i(M,S),Q=!0},p:function(e,s){lt===(lt=ot(s))&&ct?ct.p(e,s):(ct.d(1),(ct=lt(t,s)).c(),ct.m(h,v)),ut===(ut=ft(s))&&ht?ht.p(e,s):(ht.d(1),(ht=ut(t,s)).c(),ht.m(h,m)),mt===(mt=vt(s))&&dt?dt.p(e,s):(dt.d(1),(dt=mt(t,s)).c(),dt.m(h,k)),_t===(_t=gt(s))&&pt?pt.p(e,s):(pt.d(1),(pt=_t(t,s)).c(),pt.m(h,null));var a=s.sortedData;$=function(t,e,n,s,a,r,i,o,l,c,f,u,h,v){for(var m=t.length,d=i.length,g=m,_={};g--;)_[t[g].key]=g;var p=[],w={},k={};for(g=d;g--;){var x=v(r,i,g),V=s(x),H=o[V];H?a&&H.p(n,x):(H=f(e,V,x)).c(),p[g]=w[V]=H,V in _&&(k[V]=Math.abs(g-_[V]))}var y={},z={};function b(t){t[u](l,h),o[t.key]=t,h=t.first,d--}for(;m&&d;){var M=p[d-1],Y=t[m-1],N=M.key,A=Y.key;M===Y?(h=M.first,m--,d--):w[A]?!o[N]||y[N]?b(M):z[A]?m--:k[N]>k[A]?(z[N]=!0,b(M)):(y[A]=!0,m--):(c(Y,o),m--)}for(;m--;)w[(Y=t[m]).key]||c(Y,o);for(;d;)b(p[d-1]);return p}($,t,e,kt,1,s,a,tt,y,p,st,"i",null,at),Q&&!e.totalHeight||_(y,"height",s.totalHeight+"px"),Q&&!e.currentYear||rt===(rt=s.currentYear-1)||g(T,rt),Q&&!e.currentYear||it===(it=s.currentYear-1)||g(W,it),Q&&!e.size||K===(K="st-1827-container st-1827-container--"+s.size+" s-q-item svelte-1af7krf")||(n.className=K)},i:function(t,e){Q||this.m(t,e)},o:function(t){if(Q){var e=a(t,$.length);for(xt=0;xt<$.length;xt+=1)$[xt].o(e);Q=!1}},d:function(t){for(t&&l(n),ct.d(),ht.d(),dt.d(),pt.d(),xt=0;xt<$.length;xt+=1)$[xt].d()}}}function D(t,e){var n,s;return{c:function(){n=f("svg"),d(s=f("path"),"d","M8 9h8l-1-2H8v2zM8 6h6l-1-2H8v2zM4 0H2v6H0l3 4 3-4H4V0zM8 3h4l-1-2H8v2z"),d(s,"class","svelte-1af7krf"),d(n,"width","16"),d(n,"height","10"),d(n,"xmlns","http://www.w3.org/2000/svg"),d(n,"class","svelte-1af7krf")},m:function(t,e){o(t,n,e),i(n,s)},d:function(t){t&&l(n)}}}function E(t,e){var n,s;return{c:function(){n=f("svg"),d(s=f("path"),"d","M8 1h8l-1 2H8V1zM8 4h6l-1 2H8V4zM8 7h4l-1 2H8V7zM4 6V0H2v6H0l3 4 3-4H4z"),d(s,"class","svelte-1af7krf"),d(n,"width","16"),d(n,"height","10"),d(n,"xmlns","http://www.w3.org/2000/svg"),d(n,"class","svelte-1af7krf")},m:function(t,e){o(t,n,e),i(n,s)},d:function(t){t&&l(n)}}}function q(t,e){var n,s,a,r;function f(t){return"asc"===t.orderType?D:E}var h=f(e),d=h(t,e);function g(e){t.sort(this,"total")}return{c:function(){n=c("div"),s=c("div"),a=c("div"),d.c(),r=u("\n Gesamt"),a.className="st-1827-list-header__item__sort-icon st-1827-list-header__item__sort-icon--state-active sophie-color-gray-7 svelte-1af7krf",s.className="st-1827-list-header__item__label s-font-note-s s-font-note-s--strong svelte-1af7krf",v(n,"click",g),n.className="st-1827-list-header__item s-viz-color-one-5 svelte-1af7krf"},m:function(t,e){o(t,n,e),i(n,s),i(s,a),d.m(a,null),i(s,r)},p:function(e,n){h!==(h=f(n))&&(d.d(1),(d=h(t,n)).c(),d.m(a,null))},d:function(t){t&&l(n),d.d(),m(n,"click",g)}}}function P(t,n){var s;function a(e){t.sort(this,"total")}return{c:function(){(s=c("div")).innerHTML='<div class="st-1827-list-header__item__label s-font-note-s s-font-note-s--light svelte-1af7krf"><div class="st-1827-list-header__item__sort-icon sophie-color-gray-5 svelte-1af7krf"><svg width="14" height="10" viewBox="0 0 14 10" xmlns="http://www.w3.org/2000/svg" class="svelte-1af7krf"><g fill="none" fill-rule="evenodd"><path d="M4 6V0H2v6H0l3 4 3-4zM12 4v6h-2V4H8l3-4 3 4z" class="svelte-1af7krf"></path>\n <path d="M-1-3h16v16H-1z" class="svelte-1af7krf"></path>\n </g>\n </svg></div>\n Gesamt</div>',v(s,"click",a),s.className="st-1827-list-header__item s-viz-color-one-5 svelte-1af7krf"},m:function(t,e){o(t,s,e)},p:e,d:function(t){t&&l(s),m(s,"click",a)}}}function G(t,e){var n,s;return{c:function(){n=f("svg"),d(s=f("path"),"d","M8 9h8l-1-2H8v2zM8 6h6l-1-2H8v2zM4 0H2v6H0l3 4 3-4H4V0zM8 3h4l-1-2H8v2z"),d(s,"class","svelte-1af7krf"),d(n,"width","16"),d(n,"height","10"),d(n,"xmlns","http://www.w3.org/2000/svg"),d(n,"class","svelte-1af7krf")},m:function(t,e){o(t,n,e),i(n,s)},d:function(t){t&&l(n)}}}function S(t,e){var n,s;return{c:function(){n=f("svg"),d(s=f("path"),"d","M8 1h8l-1 2H8V1zM8 4h6l-1 2H8V4zM8 7h4l-1 2H8V7zM4 6V0H2v6H0l3 4 3-4H4z"),d(s,"class","svelte-1af7krf"),d(n,"width","16"),d(n,"height","10"),d(n,"xmlns","http://www.w3.org/2000/svg"),d(n,"class","svelte-1af7krf")},m:function(t,e){o(t,n,e),i(n,s)},d:function(t){t&&l(n)}}}function U(t,e){var n,s,a,r;function f(t){return"asc"===t.orderType?G:S}var h=f(e),d=h(t,e);function g(e){t.sort(this,"science")}return{c:function(){n=c("div"),s=c("div"),a=c("div"),d.c(),r=u("\n Forschung"),a.className="st-1827-list-header__item__sort-icon st-1827-list-header__item__sort-icon--state-active sophie-color-gray-7 svelte-1af7krf",s.className="st-1827-list-header__item__label s-font-note-s s-font-note-s--strong svelte-1af7krf",v(n,"click",g),n.className="st-1827-list-header__item s-viz-color-two-3 svelte-1af7krf"},m:function(t,e){o(t,n,e),i(n,s),i(s,a),d.m(a,null),i(s,r)},p:function(e,n){h!==(h=f(n))&&(d.d(1),(d=h(t,n)).c(),d.m(a,null))},d:function(t){t&&l(n),d.d(),m(n,"click",g)}}}function J(t,n){var s;function a(e){t.sort(this,"science")}return{c:function(){(s=c("div")).innerHTML='<div class="st-1827-list-header__item__label s-font-note-s s-font-note-s--light svelte-1af7krf"><div class="st-1827-list-header__item__sort-icon sophie-color-gray-5 svelte-1af7krf"><svg width="14" height="10" viewBox="0 0 14 10" xmlns="http://www.w3.org/2000/svg" class="svelte-1af7krf"><g fill="none" fill-rule="evenodd"><path d="M4 6V0H2v6H0l3 4 3-4zM12 4v6h-2V4H8l3-4 3 4z" class="svelte-1af7krf"></path>\n <path d="M-1-3h16v16H-1z" class="svelte-1af7krf"></path>\n </g>\n </svg></div>\n Forschung</div>',v(s,"click",a),s.className="st-1827-list-header__item s-viz-color-two-3 svelte-1af7krf"},m:function(t,e){o(t,s,e)},p:e,d:function(t){t&&l(s),m(s,"click",a)}}}function K(t,e){var n,s;return{c:function(){n=f("svg"),d(s=f("path"),"d","M8 9h8l-1-2H8v2zM8 6h6l-1-2H8v2zM4 0H2v6H0l3 4 3-4H4V0zM8 3h4l-1-2H8v2z"),d(s,"class","svelte-1af7krf"),d(n,"width","16"),d(n,"height","10"),d(n,"xmlns","http://www.w3.org/2000/svg"),d(n,"class","svelte-1af7krf")},m:function(t,e){o(t,n,e),i(n,s)},d:function(t){t&&l(n)}}}function Q(t,e){var n,s;return{c:function(){n=f("svg"),d(s=f("path"),"d","M8 1h8l-1 2H8V1zM8 4h6l-1 2H8V4zM8 7h4l-1 2H8V7zM4 6V0H2v6H0l3 4 3-4H4z"),d(s,"class","svelte-1af7krf"),d(n,"width","16"),d(n,"height","10"),d(n,"xmlns","http://www.w3.org/2000/svg"),d(n,"class","svelte-1af7krf")},m:function(t,e){o(t,n,e),i(n,s)},d:function(t){t&&l(n)}}}function X(t,e){var n,s,a,r;function f(t){return"asc"===t.orderType?K:Q}var h=f(e),d=h(t,e);function g(e){t.sort(this,"media")}return{c:function(){n=c("div"),s=c("div"),a=c("div"),d.c(),r=u("\n Medien"),a.className="st-1827-list-header__item__sort-icon st-1827-list-header__item__sort-icon--state-active sophie-color-gray-7 svelte-1af7krf",s.className="st-1827-list-header__item__label s-font-note-s s-font-note-s--strong svelte-1af7krf",v(n,"click",g),n.className="st-1827-list-header__item s-viz-color-three-3 svelte-1af7krf"},m:function(t,e){o(t,n,e),i(n,s),i(s,a),d.m(a,null),i(s,r)},p:function(e,n){h!==(h=f(n))&&(d.d(1),(d=h(t,n)).c(),d.m(a,null))},d:function(t){t&&l(n),d.d(),m(n,"click",g)}}}function Z(t,n){var s;function a(e){t.sort(this,"media")}return{c:function(){(s=c("div")).innerHTML='<div class="st-1827-list-header__item__label s-font-note-s s-font-note-s--light svelte-1af7krf"><div class="st-1827-list-header__item__sort-icon sophie-color-gray-5 svelte-1af7krf"><svg width="14" height="10" viewBox="0 0 14 10" xmlns="http://www.w3.org/2000/svg" class="svelte-1af7krf"><g fill="none" fill-rule="evenodd"><path d="M4 6V0H2v6H0l3 4 3-4zM12 4v6h-2V4H8l3-4 3 4z" class="svelte-1af7krf"></path>\n <path d="M-1-3h16v16H-1z" class="svelte-1af7krf"></path>\n </g>\n </svg></div>\n Medien</div>',v(s,"click",a),s.className="st-1827-list-header__item s-viz-color-three-3 svelte-1af7krf"},m:function(t,e){o(t,s,e)},p:e,d:function(t){t&&l(s),m(s,"click",a)}}}function $(t,e){var n,s;return{c:function(){n=f("svg"),d(s=f("path"),"d","M8 9h8l-1-2H8v2zM8 6h6l-1-2H8v2zM4 0H2v6H0l3 4 3-4H4V0zM8 3h4l-1-2H8v2z"),d(s,"class","svelte-1af7krf"),d(n,"width","16"),d(n,"height","10"),d(n,"xmlns","http://www.w3.org/2000/svg"),d(n,"class","svelte-1af7krf")},m:function(t,e){o(t,n,e),i(n,s)},d:function(t){t&&l(n)}}}function tt(t,e){var n,s;return{c:function(){n=f("svg"),d(s=f("path"),"d","M8 1h8l-1 2H8V1zM8 4h6l-1 2H8V4zM8 7h4l-1 2H8V7zM4 6V0H2v6H0l3 4 3-4H4z"),d(s,"class","svelte-1af7krf"),d(n,"width","16"),d(n,"height","10"),d(n,"xmlns","http://www.w3.org/2000/svg"),d(n,"class","svelte-1af7krf")},m:function(t,e){o(t,n,e),i(n,s)},d:function(t){t&&l(n)}}}function et(t,e){var n,s,a,r;function f(t){return"asc"===t.orderType?$:tt}var h=f(e),d=h(t,e);function g(e){t.sort(this,"politics")}return{c:function(){n=c("div"),s=c("div"),a=c("div"),d.c(),r=u("\n Politik"),a.className="st-1827-list-header__item__sort-icon st-1827-list-header__item__sort-icon--state-active sophie-color-gray-7 svelte-1af7krf",s.className="st-1827-list-header__item__label s-font-note-s s-font-note-s--strong svelte-1af7krf",v(n,"click",g),n.className="st-1827-list-header__item s-viz-color-four-3 svelte-1af7krf"},m:function(t,e){o(t,n,e),i(n,s),i(s,a),d.m(a,null),i(s,r)},p:function(e,n){h!==(h=f(n))&&(d.d(1),(d=h(t,n)).c(),d.m(a,null))},d:function(t){t&&l(n),d.d(),m(n,"click",g)}}}function nt(t,n){var s;function a(e){t.sort(this,"politics")}return{c:function(){(s=c("div")).innerHTML='<div class="st-1827-list-header__item__label s-font-note-s s-font-note-s--light svelte-1af7krf"><div class="st-1827-list-header__item__sort-icon sophie-color-gray-5 svelte-1af7krf"><svg width="14" height="10" viewBox="0 0 14 10" xmlns="http://www.w3.org/2000/svg" class="svelte-1af7krf"><g fill="none" fill-rule="evenodd"><path d="M4 6V0H2v6H0l3 4 3-4zM12 4v6h-2V4H8l3-4 3 4z" class="svelte-1af7krf"></path>\n <path d="M-1-3h16v16H-1z" class="svelte-1af7krf"></path>\n </g>\n </svg></div>\n Politik</div>',v(s,"click",a),s.className="st-1827-list-header__item s-viz-color-four-3 svelte-1af7krf"},m:function(t,e){o(t,s,e)},p:e,d:function(t){t&&l(s),m(s,"click",a)}}}function st(t,e,n){var s,a,r={},i={index:n.index,row:n.row,sortingArg:n.sortingArg,maxValues:n.maxValues,size:n.size,hasRankFromLastYear:n.hasRankFromLastYear};void 0!==n.itemHeights&&(i.itemHeights=n.itemHeights,r.itemHeights=!0);var c=new j({root:t.root,store:t.store,data:i,_bind:function(e,n){var s={};!r.itemHeights&&e.itemHeights&&(s.itemHeights=n.itemHeights),t._set(s),r={}}});return t.root._beforecreate.push(function(){c._bind({itemHeights:1},c.get())}),{key:e,first:null,c:function(){s=h(),c._fragment.c(),this.first=s},m:function(t,e){o(t,s,e),c._mount(t,e),a=!0},p:function(t,e){n=e;var s={};t.sortedData&&(s.index=n.index),t.sortedData&&(s.row=n.row),t.sortingArg&&(s.sortingArg=n.sortingArg),t.maxValues&&(s.maxValues=n.maxValues),t.size&&(s.size=n.size),t.hasRankFromLastYear&&(s.hasRankFromLastYear=n.hasRankFromLastYear),!r.itemHeights&&t.itemHeights&&(s.itemHeights=n.itemHeights,r.itemHeights=void 0!==n.itemHeights),c._set(s),r={}},i:function(t,e){a||this.m(t,e)},o:function(t){a&&(c&&c._fragment.o(t),a=!1)},d:function(t){t&&l(s),c.destroy(t)}}}function at(t,e,n){var s=Object.create(t);return s.row=e[n],s.each_value=e,s.index=n,s}function rt(t){x(this,t),this._state=n({sortingArg:"total",orderType:"desc",itemHeights:[]},t.data),this._recompute({data:1,hasRankFromLastYear:1,hasTotal:1,objectArray:1,sortingArg:1,orderType:1,listtype:1,width:1,breakingWidth:1,itemHeights:1},this._state),this._intro=!!t.intro,this._fragment=W(this,this._state),t.target&&(this._fragment.c(),this._mount(t.target,t.anchor),k(this)),this._intro=!0}function it(t){var e,s,a,r,i;x(this,t),this._state=n({},t.data),this._intro=!!t.intro,this._fragment=(e=this,s=this._state,r={data:s.data,listtype:s.listtype,currentYear:s.currentYear,width:s.width,breakingWidth:s.breakingWidth},i=new rt({root:e.root,store:e.store,data:r}),{c:function(){i._fragment.c()},m:function(t,e){i._mount(t,e),a=!0},p:function(t,e){var n={};t.data&&(n.data=e.data),t.listtype&&(n.listtype=e.listtype),t.currentYear&&(n.currentYear=e.currentYear),t.width&&(n.width=e.width),t.breakingWidth&&(n.breakingWidth=e.breakingWidth),i._set(n)},i:function(t,e){a||this.m(t,e)},o:function(t){a&&(i&&i._fragment.o(t),a=!1)},d:function(t){i.destroy(t)}}),t.target&&(this._fragment.c(),this._mount(t.target,t.anchor),k(this)),this._intro=!0}n(rt.prototype,H),n(rt.prototype,I),rt.prototype._recompute=function(t,e){t.data&&(this._differs(e.hasRankFromLastYear,e.hasRankFromLastYear=e.data[0].includes("rankFromLastYear"))&&(t.hasRankFromLastYear=!0),this._differs(e.hasTotal,e.hasTotal=function(t){return t.data[0].includes("total")}(e))&&(t.hasTotal=!0)),(t.data||t.hasRankFromLastYear||t.hasTotal)&&this._differs(e.objectArray,e.objectArray=function(t){var e=t.data,n=t.hasRankFromLastYear,s=t.hasTotal,a=[],r=e.slice(),i=r.splice(0,1)[0];return r.map(function(t){var e=parseInt(t[i.indexOf("media")])||0,r=parseInt(t[i.indexOf("politics")])||0,o=parseInt(t[i.indexOf("science")])||0,l={name:t[i.indexOf("name")]||"",country:t[i.indexOf("country")]||"",institution:t[i.indexOf("institution")]||"",rank:parseInt(t[i.indexOf("rank")])||0,media:e,politics:r,science:o};l.total=s?parseInt(t[i.indexOf("total")])||0:l.media+l.politics+l.science,n?l.rankFromLastYear=parseInt(t[i.indexOf("rankFromLastYear")]):l.changeFromLastYear=t[i.indexOf("changeFromLastYear")],a.push(l)}),a}(e))&&(t.objectArray=!0),(t.objectArray||t.sortingArg||t.orderType)&&this._differs(e.sortedData,e.sortedData=function(t){var e=t.objectArray,n=t.sortingArg,s=t.orderType;return e.sort(function(t,e){var a;return"desc"===s?"total"===n?t.rank-e.rank:0==(a=e[n]-t[n])?t.rank-e.rank:a:"asc"===s?"total"===n?e.rank-t.rank:0==(a=t[n]-e[n])?e.rank-t.rank:a:void 0})}(e))&&(t.sortedData=!0),(t.objectArray||t.listtype)&&this._differs(e.maxValues,e.maxValues=function(t){var e=t.objectArray,n=t.listtype,s={total:0,science:0,media:0,politics:0};return"people"===n?(s.total=1e3,s.science=500,s.media=250,s.politics=250):"institutions"===n&&(s.total=e.reduce(function(t,e){return e.total>t?e.total:t},0),s.science=e.reduce(function(t,e){return e.science>t?e.science:t},0),s.media=e.reduce(function(t,e){return e.media>t?e.media:t},0),s.politics=e.reduce(function(t,e){return e.politics>t?e.politics:t},0)),s}(e))&&(t.maxValues=!0),(t.width||t.breakingWidth)&&this._differs(e.size,e.size=function(t){return t.width>t.breakingWidth?"large":"small"}(e))&&(t.size=!0),t.itemHeights&&this._differs(e.totalHeight,e.totalHeight=function(t){return t.itemHeights.reduce(function(t,e){return t+e},0)}(e))&&(t.totalHeight=!0)},n(it.prototype,H),t("default",it)}}}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.st-1827-container.svelte-1af7krf{opacity:1!important;margin-left:-5px;margin-right:-5px}.st-1827-list-header-container.svelte-1af7krf{position:relative}.st-1827-list-header-container.svelte-1af7krf::after{content:'';display:table;clear:both}.st-1827-list-header-line.svelte-1af7krf{border-bottom:1px solid currentColor;margin-top:12px}.st-1827-list-header.svelte-1af7krf::after{content:'';display:table;clear:both}.st-1827-list-header__item.svelte-1af7krf{border-bottom:3px solid currentColor;float:left;width:calc(25% - 10px);margin:0 5px;cursor:pointer;padding-top:14px;position:relative}.st-1827-list-header__item__sort-icon.svelte-1af7krf{position:absolute;top:0;width:100%}.st-1827-list-header__item__sort-icon.svelte-1af7krf path.svelte-1af7krf:first-child{fill:currentColor}.st-1827-list-header__item__sort-icon--state-active.svelte-1af7krf{fill:currentColor}.st-1827-list-header__item__sort-icon+.st-1827-list-header__item__sort-icon.svelte-1af7krf{display:none}.st-1827-list-header__item__label.svelte-1af7krf{text-align:center}.st-1827-legend-icon.svelte-1af7krf circle.svelte-1af7krf,.st-1827-legend-icon.svelte-1af7krf ellipse.svelte-1af7krf,.st-1827-legend-icon.svelte-1af7krf path.svelte-1af7krf{fill:currentColor}.st-1827-legend.svelte-1af7krf span.svelte-1af7krf{padding-right:8px}.st-1827-people-list.svelte-1af7krf{position:relative;clear:both}.st-1827-container--large.svelte-1af7krf .st-1827-list-header-line.svelte-1af7krf{width:48%;position:absolute;bottom:1px}.st-1827-container--large.svelte-1af7krf .st-1827-list-header.svelte-1af7krf{width:52%;float:right}.st-1827-legend__item.svelte-1af7krf svg.svelte-1af7krf{height:13px;margin-bottom:-2px;width:12px}.st-1827-legend__item.svelte-1af7krf{white-space:nowrap}.st-1827-footer.svelte-1af7krf{padding:10px 5px 0 5px} | |
.st-1827-list-item__rank.svelte-15mkph2{font-size:26px;line-height:31px;text-align:right;display:block}.st-1827-list-item__rank.svelte-15mkph2{width:28%;float:left;padding:0 25px 0 5px;position:relative}.st-1827-list-item__rank.svelte-15mkph2 svg.svelte-15mkph2{display:inline-block;width:13px;position:absolute;top:0;right:5px}.st-1827-container--large.svelte-15mkph2 .st-1827-list-item__rank.svelte-15mkph2{width:14%;float:left}.st-1827-container--large.svelte-15mkph2 .st-1827-list-item__description.svelte-15mkph2{width:34%;float:left;padding:0 5px}.st-1827-container--large.svelte-15mkph2 .st-1827-list-item__points.svelte-15mkph2{width:52%;float:left}.st-1827-list-item__points.svelte-15mkph2{width:100%;float:left;margin-top:4px}.st-1827-list-item__description.svelte-15mkph2{width:72%;float:left;padding:0 5px}.st-1827-list-item__institution.svelte-15mkph2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-1827-list-item.svelte-15mkph2{padding:13px 0;border-bottom:1px solid currentColor;position:absolute;width:100%;transition:all 0.3s ease-out}.st-1827-list-item.svelte-15mkph2::after{content:'';display:table;clear:left}.st-1827-list-item__country.svelte-15mkph2{margin-left:10px}.st-1827-legend-icon.svelte-15mkph2 circle.svelte-15mkph2,.st-1827-legend-icon.svelte-15mkph2 ellipse.svelte-15mkph2,.st-1827-legend-icon.svelte-15mkph2 path.svelte-15mkph2{fill:currentColor}.st-1827-rankFromLastYear.svelte-15mkph2{color:#92929e;font-size:10px;margin-top:6.5px;margin-right:-21px;float:right}@media all and (-ms-high-contrast:none){.st-1827-list-item__rank.svelte-15mkph2 svg.svelte-15mkph2{margin-top:-11px}} | |
.st-1827-list-item__points__bar-container.svelte-8t8n6f{width:25%;float:left;padding:0 5px;color:transparent}.st-1827-list-item__points__bar.svelte-8t8n6f{background:currentColor;height:13px;position:relative}.st-1827-list-item__points__bar__baseline.svelte-8t8n6f{position:absolute;left:0;width:1px;height:100%;background:currentColor}.st-1827-list-item__points__bar__valuebar.svelte-8t8n6f{position:absolute;left:0;top:0;height:13px;background:currentColor} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset='utf8'> | |
<meta name='viewport' content='width=device-width'> | |
<title>Svelte app</title> | |
<link rel="stylesheet" type="text/css" href="https://service.sophie.nzz.ch/bundle/sophie-color@1,sophie-font@1,sophie-q@1,sophie-viz-color@1[general].css"> | |
<link rel="stylesheet" type="text/css" href="bundle.css"> | |
</head> | |
<body> | |
<div id="ranking"></div> | |
<script> | |
window.data = [ | |
[ | |
"name", | |
"institution", | |
"rank", | |
"rankFromLastYear", | |
"media", | |
"politics", | |
"science" | |
], | |
["Fehr, Ernst", "Universität Zürich", "1", "1", "47", "65", "500"], | |
[ | |
"Eichenberger, Reiner", | |
"Université de Fribourg", | |
"2", | |
"1", | |
"250", | |
"163", | |
"8" | |
], | |
[ | |
"Binswanger, Matthias", | |
"FH Nordwestschweiz", | |
"3", | |
"4", | |
"47", | |
"250", | |
"8" | |
], | |
["Frey, Bruno S.", "Crema Zürich", "4", "4", "81", "49", "172"], | |
[ | |
"Schaltegger, Christoph A.", | |
"Universität Luzern", | |
"5", | |
"6", | |
"110", | |
"168", | |
"7" | |
], | |
["Sinn, Hans-Werner", "Ifo-Institut (em.)", "6", "7", "128", "114", "16"], | |
["Bütler, Monika", "Universität St. Gallen", "7", "7", "64", "190", "2"], | |
[ | |
"Sousa-Poza, Alfonso", | |
"Universität Hohenheim", | |
"8", | |
"9", | |
"0", | |
"217", | |
"20" | |
], | |
["Brunetti, Aymo", "Universität Bern", "9", "10", "35", "141", "9"], | |
[ | |
"Wellershoff, Klaus", | |
"Wellershoff & Partners", | |
"10", | |
"10", | |
"93", | |
"76", | |
"0" | |
], | |
["Sturm, Jan-Egbert", "ETH Zürich", "11", "10", "81", "43", "35"], | |
["Flassbeck, Heiner", "Flassbeck Economics", "12", "12", "6", "147", "0"], | |
["Seiz, Ralf", "Universität St. Gallen", "13", "14", "0", "141", "1"], | |
["Foellmi, Reto", "Universität St. Gallen", "14", "14", "29", "87", "4"], | |
["Dorn, David", "Universität Zürich", "15", "16", "64", "27", "20"], | |
["Schmidheiny, Kurt", "Universität Basel", "16", "0", "12", "82", "5"], | |
["Sheldon, George", "Universität Basel", "17", "18", "93", "0", "0"], | |
["Fratzscher, Marcel", "DIW Berlin", "17", "19", "47", "0", "47"], | |
["Slembeck, Tilman", "ZHAW Zürich", "19", "20", "6", "76", "0"], | |
["Feld, Lars", "Walter Eucken Institut", "20", "0", "6", "43", "26"] | |
]; | |
</script> | |
<!-- Load bundle as native ES Module --> | |
<script type="module"> | |
import App from "./bundle-esm.js"; | |
var app = new App({ | |
target: document.querySelector("#ranking"), | |
data: { | |
listtype: "people", | |
currentYear: 2018, | |
data: window.data, | |
width: 640, | |
breakingWidth: 500 | |
} | |
}); | |
</script> | |
<!-- Fallback code for IE11 using SystemJS as module loader--> | |
<script nomodule src="https://cdn.polyfill.io/v2/polyfill.js?features=CustomEvent,Promise,Array.prototype.includes"></script> | |
<script nomodule src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.21.4/system-production.js"></script> | |
<script nomodule src="bundle-system.js"></script> | |
<script nomodule> | |
System.import("App").then(function (App) { | |
var app = new App.default({ | |
target: document.querySelector("#ranking"), | |
data: { | |
listtype: "people", | |
currentYear: 2018, | |
data: window.data, | |
width: 640, | |
breakingWidth: 500 | |
} | |
}); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment