<commit_before><link rel="import" href="../../../bower_components/paper-spinner/paper-spinner.html">
<link rel="import" href="ncg-dashboard-panel.html">

<dom-module id="ncg-workspace">
	<template>
		<style>
			:host {
				display: block;
				width: 100%;
				height: 100%;
				pointer-events: none;
				box-sizing: border-box;
			}

			#panels {
				transform: translateY(40px);
				opacity: 0;
				transition: opacity 500ms ease, transform 600ms ease-out;
			}

			:host(:not([fullbleed])) {
				padding: 32px;
			}

			:host(:not([fullbleed])) #panels {
				padding-bottom: 32px;
			}

			#panels {
				width: 100%;
				height: 100%;
			}

			#loadingSpinner {
				position: fixed;
				top: 50%;
				left: 50%;
				transform: translate(-50%);
				width: 68px;
				height: 68px;
				--paper-spinner-stroke-width: 5px;
				--paper-spinner-layer-1-color: #645BA6;
				--paper-spinner-layer-2-color: #A50074;
				--paper-spinner-layer-3-color: #5BA664;
				--paper-spinner-layer-4-color: #C9513E;
			}

			iframe {
				display: block;
				width: 100%;
			}
		</style>

		<div id="panels">
			<template is="dom-repeat" items="[[panels]]" as="panel">
				<ncg-dashboard-panel
					id="[[panel.bundleName]]_[[panel.name]]"
					display-title="[[panel.title]]"
					bundle="[[panel.bundleName]]"
					panel="[[panel.name]]"
					header-color="[[panel.headerColor]]"
					width="[[panel.width]]"
					on-transitioning-changed="_handlePanelCollapseTransition"
					fullbleed="[[panel.fullbleed]]">
					<iframe
						src="/bundles/[[panel.bundleName]]/dashboard/[[panel.file]]"
						frameborder="0"
						scrolling$="[[_calcIframeScrolling(panel.fullbleed)]]"
						id="[[panel.bundleName]]_[[panel.name]]_iframe"
						on-iframe-resized="shiftPackery"
						fullbleed$="[[panel.fullbleed]]">
					</iframe><commit_msg>fix(dashboard): fix panel iframe heights in Firefox<commit_after><link rel="import" href="../../../bower_components/paper-spinner/paper-spinner.html">
<link rel="import" href="ncg-dashboard-panel.html">

<dom-module id="ncg-workspace">
	<template>
		<style>
			:host {
				display: block;
				width: 100%;
				height: 100%;
				pointer-events: none;
				box-sizing: border-box;
			}

			#panels {
				transform: translateY(40px);
				opacity: 0;
				transition: opacity 500ms ease, transform 600ms ease-out;
			}

			:host(:not([fullbleed])) {
				padding: 32px;
			}

			:host(:not([fullbleed])) #panels {
				padding-bottom: 32px;
			}

			#panels {
				width: 100%;
				height: 100%;
			}

			#loadingSpinner {
				position: fixed;
				top: 50%;
				left: 50%;
				transform: translate(-50%);
				width: 68px;
				height: 68px;
				--paper-spinner-stroke-width: 5px;
				--paper-spinner-layer-1-color: #645BA6;
				--paper-spinner-layer-2-color: #A50074;
				--paper-spinner-layer-3-color: #5BA664;
				--paper-spinner-layer-4-color: #C9513E;
			}

			iframe {
				display: block;
				width: 100%;
				height: 100%;
			}
		</style>

		<div id="panels">
			<template is="dom-repeat" items="[[panels]]" as="panel">
				<ncg-dashboard-panel
					id="[[panel.bundleName]]_[[panel.name]]"
					display-title="[[panel.title]]"
					bundle="[[panel.bundleName]]"
					panel="[[panel.name]]"
					header-color="[[panel.headerColor]]"
					width="[[panel.width]]"
					on-transitioning-changed="_handlePanelCollapseTransition"
					fullbleed="[[panel.fullbleed]]">
					<iframe
						src="/bundles/[[panel.bundleName]]/dashboard/[[panel.file]]"
						frameborder="0"
						scrolling$="[[_calcIframeScrolling(panel.fullbleed)]]"
						id="[[panel.bundleName]]_[[panel.name]]_iframe"
						on-iframe-resized="shiftPackery"
						fullbleed$="[[panel.fullbleed]]">
					</iframe>
{'fraction_non_alphanumeric': 0.18794133623030962, 'fraction_numerical': 0.03394894079304726, 'mean_word_length': 3.096774193548387, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6876321', 'n_tokens_mistral': 1795, 'n_tokens_neox': 1310, 'n_words': 201}