text
stringlengths
1
22.8M
The UK R&B Chart is a weekly chart, first introduced in October 1994, that ranks the 40 biggest-selling singles and albums that are classified in the R&B genre in the United Kingdom. The chart is compiled by the Official Charts Company, and is based on sales of CDs, downloads, vinyl and other formats over the previous seven days. The following are the number-one albums of 2000. Number-one albums See also List of UK Albums Chart number ones of 2000 References External links Official R&B Albums Chart Top 40 at the Official Charts Company UK Top 40 RnB Albums at BBC Radio 1 2000 in British music United Kingdom RandB Albums 2000
Sylvia Atieno Olero is a Kenyan athlete who specialises in the discus. She got the seventh-place position in the Women's Discus F42 at the 2022 Commonwealth Games, setting a new personal record of 26.35m. Olero also featured in the 2017 World Para Athletics Championship in London and the Dubai 2019 World Para Athletics Championships representing Kenya. References 1979 births Athletes (track and field) at the 2022 Commonwealth Games Living people
The 2015–16 Wyoming Cowgirls basketball team represents the University of Wyoming in the 2015–16 college basketball season. The Cowgirls are led by thirteenth year head coach Joe Legerski. The Cowgirls played their home games at the Arena-Auditorium and were members of the Mountain West Conference. They finished the season 13–16, 6–12 in Mountain West play to finish in a tie for eighth place. They lost in the first round of the Mountain West women's tournament to San Diego State. Roster Statistics Source: Schedule |- !colspan=9 style="background:#492f24; color:#ffc425;"| Exhibition |- !colspan=9 style="background:#492f24; color:#ffc425;"| Non-conference regular season |- !colspan=9 style="background:#492f24; color:#ffc425;"| Mountain West regular season |- !colspan=9 style="background:#492f24; color:#ffc425;"| Mountain West Women's Tournament See also 2015–16 Wyoming Cowboys basketball team References Wyoming Cowgirls basketball seasons Wyoming Cowgirls Wyoming Cowgirls
```kotlin package splitties.views.recyclerview.compose import androidx.compose.foundation.focusable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.ColumnScope import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.padding import androidx.compose.runtime.Composable import androidx.compose.runtime.DisposableEffect import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.focus.FocusRequester import androidx.compose.ui.focus.focusRequester import androidx.compose.ui.focus.onFocusChanged import androidx.compose.ui.platform.ComposeView import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.platform.LocalDensity import androidx.compose.ui.platform.LocalLayoutDirection import androidx.compose.ui.unit.dp import androidx.compose.ui.viewinterop.AndroidView import splitties.experimental.InternalSplittiesApi import splitties.views.dsl.recyclerview.SingleViewAdapter import splitties.views.dsl.recyclerview.recyclerView import splitties.views.recyclerview.compose.genericmotionevent.LocalGenericMotionEventDispatcher import splitties.views.recyclerview.compose.hack.RunWithViewUntilCancelled import splitties.views.recyclerview.compose.hack.rememberViewFactory @Composable fun ColumnWithRecyclerViewScroll( modifier: Modifier = Modifier, verticalArrangement: Arrangement.Vertical = Arrangement.Top, horizontalAlignment: Alignment.Horizontal = Alignment.Start, focusRequester: FocusRequester = remember { FocusRequester() }, requestFocus: Boolean = true, columnContentPadding: PaddingValues = PaddingValues(0.dp), contentPadding: PaddingValues = PaddingValues(0.dp), content: @Composable() (ColumnScope.() -> Unit) ) { val context = LocalContext.current val composeView = remember { ComposeView(context) } @OptIn(InternalSplittiesApi::class) val adapter = remember { SingleViewAdapter(composeView, vertical = true) } DisposableEffect(content as Any) { composeView.setContent { Column( modifier = Modifier.padding(columnContentPadding), verticalArrangement = verticalArrangement, horizontalAlignment = horizontalAlignment, content = content ) } onDispose {} } val paddingLeft: Int val paddingTop: Int val paddingRight: Int val paddingBottom: Int with(LocalDensity.current) { val ld = LocalLayoutDirection.current paddingLeft = contentPadding.calculateLeftPadding(ld).roundToPx() paddingTop = contentPadding.calculateTopPadding().roundToPx() paddingRight = contentPadding.calculateRightPadding(ld).roundToPx() paddingBottom = contentPadding.calculateBottomPadding().roundToPx() } val genericMotionEventDispatcher = LocalGenericMotionEventDispatcher.current val recyclerViewFactory = rememberViewFactory { it.recyclerView { clipToPadding = false } } val isFocusedState = remember { mutableStateOf(false) } recyclerViewFactory.RunWithViewUntilCancelled { view -> genericMotionEventDispatcher?.putViewUntilCancelled(view, isFocusedState) } @OptIn(InternalSplittiesApi::class) AndroidView( factory = recyclerViewFactory, modifier = modifier.onFocusChanged { isFocusedState.value = it.hasFocus }.focusRequester(focusRequester).focusable(), update = { it.setPadding( paddingLeft, paddingTop, paddingRight, paddingBottom ) if (it.layoutManager != adapter.layoutManager) it.layoutManager = adapter.layoutManager if (it.adapter != adapter) it.adapter = adapter } ) if (requestFocus) LaunchedEffect(Unit) { focusRequester.requestFocus() } } ```
Sonnet 120 is one of 154 sonnets written by the English playwright and poet William Shakespeare. It's a member of the Fair Youth sequence, in which the poet expresses his love towards a young man. Structure Sonnet 120 is an English or Shakespearean sonnet. The English sonnet has three quatrains, followed by a final rhyming couplet. It follows the typical rhyme scheme of the form ABAB CDCD EFEF GG and is composed in iambic pentameter, a type of poetic metre based on five pairs of metrically weak/strong syllabic positions. The 4th line exemplifies a regular iambic pentameter: × / × / × / × / × / Unless my nerves were brass or hammer'd steel. (120.4) Four lines (5, 7, 9, and 11) have a final extrametrical syllable or feminine ending, as for example: × / × / × / × / × /(×) For if you were by my unkindness shaken, (120.5) / = ictus, a metrically strong syllabic position. × = nonictus. (×) = extrametrical syllable. Interpretations Paul Rhys, for the 2002 compilation album, When Love Speaks (EMI Classics) Notes References British poems Sonnets by William Shakespeare
Norman Feather FRS FRSE PRSE (16 November 1904 – 14 August 1978), was an English nuclear physicist. Feather and Egon Bretscher were working at the Cavendish Laboratory, Cambridge in 1940, when they proposed that the 239 isotope of element 94 (plutonium) would be better able to sustain a nuclear chain reaction. This research, a breakthrough, was part of the Tube Alloys project, the secret British project during World War II to develop nuclear weapons. Feather was the author of a series of noted introductory texts on the history, fundamental concepts, and meaning of physics. Early life and education Feather was born in 1904 to Samson and Lucy (Clayton) Feather in Pecket Well, West Yorkshire, Northern England. His father was headmaster of Pecket Well. When Feather was still an infant, his father became headmaster of Holme Primary School in Yorkshire, which Feather later attended. Feather was educated at Bridlington Grammar School and Trinity College, Cambridge, before taking a year in the University of London and gaining a Bachelor of Science degree (first class) in 1926. He was a Fellow of Trinity College from 1929 to 1933 then Fellow and Lecturer in Natural Sciences there from 1936 to 1945. Feather received his doctorate (PhD) at Cambridge in 1931 under James Chadwick and Ernest Rutherford. His research employed a Wilson cloud chamber and focused on the problem of the long-range alpha particles. In 1932 Feather married Kathleen Grace Burke (d.1975). Career Discovery of the Neutron In 1929, Feather took a year-long visit to Johns Hopkins University in Baltimore, USA. During his visit, he learned that Kelly Hospital used radon tubes in the treatment of cancers, and that the expired tubes were discarded after use. The expired radon tubes were a source of polonium, a source of energetic alpha particles. Since polonium was difficult to obtain and expensive at the time, Feather acquired a large number of the discarded radon tubes. The expired radon was to be used as a source of alpha particles for experiments in Cambridge. Indeed, the radioactive polonium source used by James Chadwick to discover the neutron in 1932 was derived from these radon tubes. Feather assisted Chadwick with his investigations leading to the discovery of the neutron. He then conducted some of the earliest investigations with the neutron. Feather obtained the first evidence that neutrons can produce nuclear disintegrations. The year 1932 would later be referred to as the "annus mirabilis" for nuclear physics in the Cavendish Laboratory. Plutonium and Tube Alloys In 1940 Feather and Egon Bretscher at the Cavendish Laboratory, made a breakthrough in nuclear research for the Tube Alloys project. They proposed that the 239 isotope of element 94 could be produced from the common isotope of uranium-238 by neutron capture. Like U-235, this new element should be able to sustain a nuclear chain reaction. A slow neutron reactor fueled with uranium would, in theory, produce substantial amounts of plutonium-239 as a by-product, since U-238 absorbs slow neutrons to form the new isotope U-239. This nuclide rapidly emits an electron, decaying into an element with a mass of 239 and an atomic number of 93. This nuclide then emits another electron to become a new element still of mass 239, but with an atomic number 94 and a much greater half-life. Bretscher and Feather showed theoretically feasible grounds that element 94 would be readily 'fissionable' by both slow and fast neutrons, and had the added advantage of being chemically different from uranium and therefore could easily be separated from it. This was confirmed independently in 1940 by Edwin M. McMillan and Philip Abelson at the Berkeley Radiation Laboratory. Nicholas Kemmer of the Cambridge team proposed the names Neptunium for the new element 93 and Plutonium for 94 by analogy with the outer planets Neptune and Pluto beyond Uranus (uranium being element 92). The Americans fortuitously suggested the same names. The production and identification of the first sample of plutonium in 1941 is generally credited to Glenn Seaborg, who used a cyclotron rather than a reactor. Professor in Edinburgh Feather was Professor of Natural Philosophy at the University of Edinburgh from 1945 to 1975, then Emeritus Professor. He was active in nuclear physics research throughout his career, preferring small-scale, modest experiments, rather than the large experiments that became common after the war. Feather was noted for his active service to the University of Edinburgh and the city of Edinburgh. Feather was appointed a Fellow of the Royal Society (FRS) in 1945. From 1946 he was also a Fellow of the Royal Society of Edinburgh (his proposers including C. T. R. Wilson) and was President of that Society from 1967 to 1970. Feather won the Makdougall Brisbane Prize of the Royal Society of Edinburgh for 1968-70. Author Beginning in 1936, Feather authored several monographs on nuclear physics and basic introductory physics, including a biography of Rutherford in 1940. J.D. Jackson cited Feather's monograph on Electricity and Matter as a good account of the history of electricity and magnetism "with a perceptive discussion of the original experiments." Death Feather died on 14 August 1978 at Christie Hospital in Manchester. Books N. Feather, An Introduction to Nuclear Physics, Cambridge University Press, 1936. ASIN B00085IOJG N. Feather, Lord Rutherford, Blackie & Son, 1940. ASIN B0006APC66 N. Feather, Nuclear Stability Rules, Cambridge University Press, 1952. ASIN B0007IW0BM N. Feather, Mass Length and Time, Edinburgh University Press, 1962. ASIN B000XWAWI0 N. Feather, Vibrations and Waves, Edinburgh University Press, 1963. ASIN B000FSNW0W N. Feather, Electricity and Matter: An introductory survey, Edinburgh University Press, 1968. ASIN B00KO6MLPM N. Feather, Matter and Motion, Penguin Books Ltd., 1970. References External links Oral history interview transcript with Norman Feather on 25 February 1971, American Institute of Physics, Niels Bohr Library & Archives - Session I Oral history interview transcript with Norman Feather on 5 November 1971, American Institute of Physics, Niels Bohr Library & Archives - Session II Who Was Who 1971-1980 (A & C Black, London) Professor Norman Feather Feather History Norman Feather 1904-1978 Eminent Cavendish Physicists The Papers of Professor Norman Feather, held at Churchill Archives Centre 1904 births 1978 deaths Alumni of Trinity College, Cambridge Academics of the University of Edinburgh English nuclear physicists English physicists People associated with the nuclear weapons programme of the United Kingdom Presidents of the Royal Society of Edinburgh People from Calderdale (district) Fellows of Trinity College, Cambridge Fellows of the Royal Society Fellows of the Royal Society of Edinburgh Manhattan Project people People educated at Bridlington School
Castle Hill, an electoral district of the Legislative Assembly in the Australian state of New South Wales has had one incarnation, from 2007 to the present. Members for Castle Hill Election results Elections in the 2020s 2023 Elections in the 2010s 2019 2015 2011 Elections in the 2000s 2007 References New South Wales state electoral results by district
The Aryabhata Clan () is the second novel by the Indian author Sudipto Das, published by Niyogi Books in December 2017. It was officially launched at the New Delhi World Book Fair, on 10 January 2018. Set against the backdrop of the Islamic State spreading its tentacles in India, it is a historical thriller and mystery novel where a 1,500-year-old verse composed by the Indian mathematician Aryabhata plays a crucial role in the deciphering of innumerable cryptic symbols, ancient signs, mysterious carpet motifs and a sinister plan to destabilize India. The story is "set in a time period which is very similar to ours but with conspiratorial and complicated mysteries sprinkled into the ancestry of the main characters that have profound implications in shaping the history of mankind". It's an independent sequel to Sudipto's previous novel, The Ekkos Clan. Author The Aryabhata Clan is the second novel by Sudipto Das. An alumnus of IIT Kharagpur, a columnist, a TED speaker, and a musician too, Sudipto is a veteran in the semiconductor Industry and takes deep interest in Internet of things and artificial intelligence. He is a successful entrepreneur, having co-founded two successful startups. The founding member of the band Kohal, Sudipto is also the General Secretary of the Sarathi Socio Cultural Trust, which has been successfully involved in various socio-cultural activities in Bangalore for fifteen years. Plot The Aryabhata Clan is set in 2010, nearly two decades after The Ekkos Clan that unfolded in the 1990s. The Islamic State is slowly but surely making forays into the spheres of academia, media and politics in India. The mastermind Shamsur Ali, a physicist from Bangladesh, wants to destabilize India by creating a sort of apocalypse. And it's all up to the beautiful and spirited 20-year-old Kubha to prevent this at any cost. The crux of the novel is a diabolical plan to legitimize the demolition of one of the most prominent historical structures in India. Afsar Fareedi, a linguistic paleontologist and the main protagonist of The Ekkos Clan, catches the fraud. Amid all this mayhem, there are three gruesome murders, including that of her father, perhaps to eliminate all traces of a carpet, which Afsar discovers, has a lot hidden in its mysterious motifs, and which incidentally her father had a hand in making. Chilling murders, mysterious carpet motifs, cryptic symbols, thousand years old manuscripts, and at the center of all is a verse composed by the maverick mathematician Aryabhata 1,500 years ago - the key to solving all the mysteries. But, "the central crisis that needs to be averted in the present is far more intricate than the historic riddle that needs to be resolved". Background Sudipto "pulls together the mysteries found in Iranian carpet motifs, a 1500-year-old verse by Indian mathematician Aryabhata, and cryptic symbols from ancient languages, and manuscripts to come up with a compelling argument about the inherent falseness of any kind of cultural demolition based on exclusion." In a blog Sudipto has mentioned that one of the inspirations behind writing The Aryabhata Clan was to "talk about some of [the] unusual ways and media which play a big role in informally chronicling" the history of our country. Sudipto has argued that the dominance of the leftist narrative for many years, since the independence of India, on academia and many aspects of art and culture has resulted in a serious problem in writing, teaching and learning history in India. Disastrously, it has suppressed the rightist narrative for too long, resulting in the recent times in the latter's sudden outburst and drastic efforts at creating a counter narrative, which more often than not is also not very authentic. Sudipto feels The Aryabhata Clan was an "attempt at retelling history as authentically as possible, without being driven by any agenda, either the leftist or rightist". The mathematician Aryabhata plays a pivotal role in the novel. Sudipto wanted to write about the enigmatic Aryabhata because he believes "in many ways Aryabhata is perhaps one of the earliest and greatest Indian exports to the world, in such a mammoth scale, in the global sense, per se." The Aryabhata Clan also deals with Linguistics, Linguistic Paleontology, Digital Paleography, Epigraphy, Archaeology, Music, and many other diverse disciplines. Reviews “A very readable sequel to The Ekkos Clan. Sudipto Das is a gifted storyteller,” said the reputed columnist Jug Suraiya. "An ambitious piece of fiction... Designed a lot like The Da Vinci Code," said The Times of India. “Intelligent narration and mindful suspense," said the Deccan Chronicle. "The author rehashes his ability to spin extravagant plots that originate in the infancy of civilization with a winding path to an explosive resolution in the modern day," commented The Hans India in its review. "A spirited 20-year-old woman... and the onus is on her to save India from an impending apocalypse," said Asian Age about the main protagonist Kubha. In a separate review, it said, The Aryabhata Clan "unearths, layer by layer through controlled suspense, a narrative of its own." "A woman Indiana Jones or a Bond, working through a Da Vinci Code-like theme with history deeply woven into a contemporary thriller," pointed out The Hindu. "The author spins a thrilling yarn... sends chills down your spine," extolled The New Indian Express. "Gory, frightening and lunatic, the terror protagonist of the author will make you tremble at the sheer thought of waging a brutal war against the world in the name of fighting for peace," said Business Standard, in a review. "This twisted tale of terror and violence lays bare the failure of extreme religious ideology in the face of false superiority," said Millennium Post, in a review. "Born out of the experiences derived from the various lanes and by-lanes of his life, this novel of Sudipto's would definitely give unadulterated happiness to the readers," asserted the Bengali fortnightly Unish-Kuri. "Full of excitement, The Aryabhata Clan is taut in building the story and the selection of its characters," said the Bengali daily Bartaman in its review of the novel. Criticism Almost everyone has unanimously acknowledged that Sudipto's "familiarity with linguistics, linguistic paleontology, archetypes, digital paleography, epigraphy, archaeology, symbolism and music [is] impressive." But the heavy research, many felt, "make[s] the novel read more like [a] lesson in inductive reasoning at times. Another thing [that] weighs the novel down is a tendency towards verboseness." "The book would probably make for an informative read," commented a reviewer, "but it just took away the hook and pace of a thriller." The Bengali daily Bartaman found the language of the novel "wrapped in an Indian mold" a little too much. The critic found the "tight excitement losing to the language" at times. Referring to "the oft repeated, misplaced references to the history of Islam" in the book, a reviewer felt, "had the author not amplified the canvas of his narrative to encompass Islamic Terrorism, we surely would have a plot for another James Bond blockbuster." In Media Print & Online Business Standard, 2 September 2018: Review, "The author takes the reader on a roller coaster ride to Sri Lanka, Bangladesh, Pakistan and to the motifs of Khushawari rugs." The Times of India, 11 August 2018: Feature, A potpourri of action, suspense, conflict and politics, "Set against the global terrorism perpetrated by the Islamic State and their affiliates... Symbols, characters and mysteries set in a labyrinthine pattern." The New Indian Express 20 February 2018: Feature, Sudipto Das's The Aryabhata Clan: Tentacles of terrorism, "is a gripping tale on the rising Islamic State threat in the Indian subcontinent." 28 January 2018: Featured in "Book Tastings" in the Sunday Magazine The Hindu, 13 February 2018: Feature, Middle-path through history, "... the present work combines a diversity of themes ..." Deccan Chronicle 23 March 2018: Review, "Compelling argument about the inherent falseness of any kind of cultural demolition based on exclusion." 1 February 2018: Feature, "... key to the mystery lies in a verse [...] by [...] Aryabhata..." 1 March 2017: Feature, 'Ekkos'phere of feminism, "Sudipto Das has always had a knack to touch upon lesser discussed topics..." The Asian Age 18 March 2018: Review, "The Aryabhata Clan [...] knits together lore and material culture to expound on the unities of ancient India, Pakistan and Sri Lanka." 31 January 2018: Feature, Mathematical cues, "Sudipto’s protagonists tend to be women and he wishes to keep it that way in all his books." 10 January 2018: Featured in Delhi Age, in "Books" Deccan Herald 30 August 2018: Event Listing. 14 January 2018: Featured in "Book Rack" in Sunday Herald The Hans India, 28 January 2018: Review, "Conspiratorial and complicated mysteries sprinkled into the ancestry of the main characters that have profound implications in shaping the history of mankind" DNA, 31 March 2018: Featured in New Releases. The Statesman, 28 June 2018: New Arrivals. Unish-Kuri (Bengali), 21 May 2018: "Sudipto has now come up with his second novel... The Islamic State is spreading its net slowly all over India's education, media and politics." Bartaman (Bengali), 28 July 2018: Book Review, "Actions abound the plot from the very beginning. The writer makes it quite clear at the start that it's indeed a thriller..." Blog Reviews Interviews References External links Amazon Flipkart Goodreads 2017 Indian novels
```xml /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ import {setup} from './decisionNavigation.mocks'; import {test} from '../test-fixtures'; import {SETUP_WAITING_TIME} from './constants'; import {expect} from '@playwright/test'; import {config} from '../config'; let initialData: Awaited<ReturnType<typeof setup>>; test.beforeAll(async ({request}) => { test.setTimeout(SETUP_WAITING_TIME); initialData = await setup(); await Promise.all([ ...initialData.decisionKeys.map( async (decisionKey) => await expect .poll( async () => { const response = await request.get( `${config.endpoint}/v1/decision-definitions/${decisionKey}`, ); return response.status(); }, {timeout: SETUP_WAITING_TIME}, ) .toBe(200), ), expect .poll( async () => { const response = await request.get( `${config.endpoint}/v1/process-instances/${initialData.processInstanceWithFailedDecision.processInstanceKey}`, ); return response.status(); }, {timeout: SETUP_WAITING_TIME}, ) .toBe(200), expect .poll( async () => { const response = await request.post( `${config.endpoint}/api/process-instances/${initialData.processInstanceWithFailedDecision.processInstanceKey}/flow-node-metadata`, { data: { flowNodeId: 'Activity_1tjwahx', }, }, ); const metaData = await response.json(); return metaData.incidentCount; }, {timeout: SETUP_WAITING_TIME}, ) .toBe(1), ]); }); test.beforeEach(async ({dashboardPage}) => { dashboardPage.navigateToDashboard(); }); test.describe('Decision Navigation', () => { test('Navigation between process and decision', async ({page}) => { const processInstanceKey = initialData.processInstanceWithFailedDecision.processInstanceKey; await page .getByRole('link', { name: /processes/i, }) .click(); await page .getByRole('link', { name: processInstanceKey, }) .click(); await expect(page.getByTestId('diagram')).toBeInViewport(); await expect( page.getByTestId('diagram').getByText(/define approver/i), ).toBeVisible(); await page.getByTestId('diagram').getByText('Define approver').click(); await expect(page.getByTestId('popover')).toBeVisible(); await page .getByRole('link', { name: /view root cause decision invoice classification/i, }) .click(); await expect(page.getByTestId('decision-panel')).toBeVisible(); await expect( page.getByTestId('decision-panel').getByText('Invoice Amount'), ).toBeVisible(); const calledDecisionInstanceId = await page .getByTestId('instance-header') .getByRole('cell') .nth(6) .innerText(); await page.getByRole('button', {name: /close drd panel/i}).click(); await page .getByRole('link', { name: `View process instance ${processInstanceKey}`, }) .click(); await expect(page.getByTestId('instance-header')).toBeVisible(); await expect( page .getByTestId('instance-header') .getByText(processInstanceKey, {exact: true}), ).toBeVisible(); await expect(page.getByTestId('diagram')).toBeInViewport(); await expect( page.getByTestId('diagram').getByText(/define approver/i), ).toBeVisible(); await page .getByRole('link', { name: /decisions/i, }) .click(); await page .getByRole('link', { name: `View decision instance ${calledDecisionInstanceId}`, }) .click(); await expect(page.getByTestId('decision-panel')).toBeVisible(); await expect( page.getByTestId('decision-panel').getByText('Invoice Amount'), ).toBeVisible(); }); }); ```
```xml <!-- ~ contributor license agreements. See the NOTICE file distributed with ~ this work for additional information regarding copyright ownership. ~ ~ path_to_url ~ ~ Unless required by applicable law or agreed to in writing, software ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --> <dataset update-count="1"> <metadata data-nodes="encrypt_shadow_db.t_shadow"> <column name="order_id" type="long" /> <column name="user_id" type="int" /> <column name="order_name_cipher" type="varchar" /> <column name="type_char" type="char" /> <column name="type_boolean" type="boolean" /> <column name="type_smallint" type="smallint" /> <column name="type_enum" type="enum#season" /> <column name="type_decimal" type="decimal" /> <column name="type_date" type="Date" /> <column name="type_time" type="time" /> <column name="type_timestamp" type="timestamp" /> </metadata> <row data-node="encrypt_shadow_db.t_shadow" values="1, 0, OuQCPda97jMdDtibdBO6Jg==, S, true, 5, summer, 10.00, 2017-08-08, 18:30:30, 2017-08-08 18:30:30.0" /> <row data-node="encrypt_shadow_db.t_shadow" values="2, 0, OuQCPda97jMdDtibdBO6Jg==, S, true, 5, summer, 10.00, 2017-08-08, 18:30:30, 2017-08-08 18:30:30.0" /> <row data-node="encrypt_shadow_db.t_shadow" values="3, 0, OuQCPda97jMdDtibdBO6Jg==, S, true, 5, summer, 10.00, 2017-08-08, 18:30:30, 2017-08-08 18:30:30.0" /> <row data-node="encrypt_shadow_db.t_shadow" values="4, 0, OuQCPda97jMdDtibdBO6Jg==, S, true, 5, summer, 10.00, 2017-08-08, 18:30:30, 2017-08-08 18:30:30.0" /> <row data-node="encrypt_shadow_db.t_shadow" values="5, 0, OuQCPda97jMdDtibdBO6Jg==, S, true, 5, summer, 10.00, 2017-08-08, 18:30:30, 2017-08-08 18:30:30.0" /> <row data-node="encrypt_shadow_db.t_shadow" values="6, 0, OuQCPda97jMdDtibdBO6Jg==, S, true, 50, summer, 100.00, 2021-01-01, 12:30:30, 2021-01-01 12:30:30.0" /> </dataset> ```
Joseph Patrick Monaghan (March 26, 1906 – July 4, 1985) of Butte, Montana was a U.S. Representative from Montana from 1933 to 1937. He was a Democrat. In 1936 he decided not to run for reelection and instead challenged Democratic incumbent United States senator James E. Murray in the Democratic primary. When Murray won, Monaghan ran in the general election as an independent. Murray soundly defeated Monaghan and Republican T.O. Larsen. Murray received 55% of the vote, Larsen 27% of the vote and Monaghan 18%. At the age of 30, Monaghan's political career came to an end. He returned to his law practice, and returned to politics only briefly in 1964 when he ran for the Democratic nomination unsuccessfully for the United States Senate in Montana, against Senate Majority leader Mike Mansfield. References External links 1906 births 1985 deaths Politicians from Butte, Montana Democratic Party members of the United States House of Representatives from Montana Montana Independents 20th-century American politicians Carroll College (Montana) alumni Montana State University alumni
Dębowiec is a settlement in the administrative district of Gmina Sieraków, within Międzychód County, Greater Poland Voivodeship, in west-central Poland. It lies approximately north-west of Sieraków, north of Międzychód, and north-west of the regional capital Poznań. References Villages in Międzychód County
Colbie Bell (born 3 November 1971) is a Canadian wrestler. He competed in the men's Greco-Roman 100 kg at the 1996 Summer Olympics. References 1971 births Living people Canadian male sport wrestlers Olympic wrestlers for Canada Wrestlers at the 1996 Summer Olympics Wrestlers at the 2003 Pan American Games Sportspeople from Edmonton Pan American Games medalists in wrestling Pan American Games bronze medalists for Canada 20th-century Canadian people
El Matmar District is a district of Relizane Province, Algeria. The district is further divided into 4 municipalities: El Matmar Belassel Bouzegza Sidi Khettab Sidi M'hamed Benaouda Districts of Relizane Province
```python """ IMPORTS """ import demistomock as demisto from CommonServerPython import * from CommonServerUserPython import * from collections.abc import Generator import dateparser import urllib3 from requests.auth import HTTPBasicAuth # Disable insecure warnings urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) ''' CONSTANTS ''' DATE_FORMAT = '%Y-%m-%dT%H:%M:%SZ' # todo: add all necessary field types COMMON_FIELD_TYPES = ['trafficlightprotocol'] DATE_FIELDS_LIST = ["creationdate", "firstseenbysource", "lastseenbysource", "gibdatecompromised"] IP_COMMON_FIELD_TYPES = ['asn', 'geocountry', 'geolocation'] EVALUATION_FIELDS = ['evaluation.reliability', 'evaluation.credibility', 'evaluation.admiraltyCode', 'evaluation.severity'] EVALUATION_FIELD_TYPES = ['gibreliability', 'gibcredibility', 'gibadmiraltycode', 'gibseverity'] MALWARE_FIELDS = ['malware.name'] MALWARE_FIELD_TYPES = ['gibmalwarename'] THREAT_ACTOR_FIELDS = ['threatActor.name', 'threatActor.isAPT', 'threatActor.id'] THREAT_ACTOR_FIELD_TYPES = ['gibthreatactorname', 'gibthreatactorisapt', 'gibthreatactorid'] MAPPING: dict = { "compromised/mule": { "indicators": [ { "main_field": 'account', "main_field_type": 'GIB Compromised Mule', "add_fields": [ 'dateAdd', 'sourceType', *MALWARE_FIELDS, *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS ], "add_fields_types": [ 'creationdate', 'source', *MALWARE_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES ] }, { "main_field": 'cnc.url', "main_field_type": 'URL', "add_fields": [ *MALWARE_FIELDS, *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS ], "add_fields_types": [ *MALWARE_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES ] }, { "main_field": 'cnc.domain', "main_field_type": 'Domain', "add_fields": [ *MALWARE_FIELDS, *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS ], "add_fields_types": [ *MALWARE_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES ] }, { "main_field": 'cnc.ipv4.ip', "main_field_type": 'IP', "add_fields": [ 'cnc.ipv4.asn', 'cnc.ipv4.countryName', 'cnc.ipv4.region', *MALWARE_FIELDS, *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS ], "add_fields_types": [ *IP_COMMON_FIELD_TYPES, *MALWARE_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES ] } ] }, "compromised/imei": { "indicators": [ { "main_field": 'cnc.url', "main_field_type": 'URL', "add_fields": [ *MALWARE_FIELDS, *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS ], "add_fields_types": [ *MALWARE_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES ] }, { "main_field": 'cnc.domain', "main_field_type": 'Domain', "add_fields": [ *MALWARE_FIELDS, *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS ], "add_fields_types": [ *MALWARE_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES ] }, { "main_field": 'cnc.ipv4.ip', "main_field_type": 'IP', "add_fields": [ 'cnc.ipv4.asn', 'cnc.ipv4.countryName', 'cnc.ipv4.region', *MALWARE_FIELDS, *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS ], "add_fields_types": [ *IP_COMMON_FIELD_TYPES, *MALWARE_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES ] }, { "main_field": 'device.imei', "main_field_type": 'GIB Compromised IMEI', "add_fields": [ 'dateDetected', 'dateCompromised', 'device.model', 'client.ipv4.asn', 'client.ipv4.countryName', 'client.ipv4.region', 'client.ipv4.ip', *MALWARE_FIELDS, *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS ], "add_fields_types": [ 'creationdate', 'gibdatecompromised', 'devicemodel', *IP_COMMON_FIELD_TYPES, 'ipaddress', *MALWARE_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES ] } ] }, "attacks/ddos": { "indicators": [ { "main_field": 'cnc.url', "main_field_type": 'URL', "add_fields": [ *MALWARE_FIELDS, *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS, 'dateBegin', 'dateEnd', ], "add_fields_types": [ *MALWARE_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource' ] }, { "main_field": 'cnc.domain', "main_field_type": 'Domain', "add_fields": [ *MALWARE_FIELDS, *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS, 'dateBegin', 'dateEnd', ], "add_fields_types": [ *MALWARE_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource' ] }, { "main_field": 'cnc.ipv4.ip', "main_field_type": 'IP', "add_fields": [ 'cnc.ipv4.asn', 'cnc.ipv4.countryName', 'cnc.ipv4.region', *MALWARE_FIELDS, *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS, 'dateBegin', 'dateEnd' ], "add_fields_types": [ *IP_COMMON_FIELD_TYPES, *MALWARE_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource' ] }, { "main_field": 'target.ipv4.ip', "main_field_type": 'GIB Victim IP', "add_fields": [ 'target.ipv4.asn', 'target.ipv4.countryName', 'target.ipv4.region', *MALWARE_FIELDS, *THREAT_ACTOR_FIELDS, 'dateBegin', 'dateEnd', *EVALUATION_FIELDS ], "add_fields_types": [ *IP_COMMON_FIELD_TYPES, *MALWARE_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] } ] }, "attacks/deface": { "indicators": [ { "main_field": 'url', "main_field_type": 'URL', "add_fields": [ *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS ], "add_fields_types": [ *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES ] }, { "main_field": 'targetDomain', "main_field_type": 'Domain', "add_fields": [ *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS ], "add_fields_types": [ *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES ] }, { "main_field": 'targetIp.ip', "main_field_type": 'IP', "add_fields": [ 'targetIp.asn', 'targetIp.countryName', 'targetIp.region', *THREAT_ACTOR_FIELDS, *EVALUATION_FIELDS ], "add_fields_types": [ *IP_COMMON_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, *EVALUATION_FIELD_TYPES ] } ] }, "attacks/phishing": { "indicators": [ { "main_field": 'url', "main_field_type": 'URL', "add_fields": [ 'type', *EVALUATION_FIELDS ], "add_fields_types": [ 'gibphishingtype', *EVALUATION_FIELD_TYPES ] }, { "main_field": 'phishingDomain.domain', "main_field_type": 'Domain', "add_fields": [ 'phishingDomain.dateRegistered', 'dateDetected', 'phishingDomain.registrar', 'phishingDomain.title', 'targetBrand', 'targetCategory', 'targetDomain', 'type', *EVALUATION_FIELDS ], "add_fields_types": [ 'creationdate', 'firstseenbysource', 'registrarname', 'gibphishingtitle', 'gibtargetbrand', 'gibtargetcategory', 'gibtargetdomain', 'gibphishingtype', *EVALUATION_FIELD_TYPES ] }, { "main_field": 'ipv4.ip', "main_field_type": 'IP', "add_fields": [ 'ipv4.asn', 'ipv4.countryName', 'ipv4.region', 'type', *EVALUATION_FIELDS ], "add_fields_types": [ *IP_COMMON_FIELD_TYPES, 'gibphishingtype', *EVALUATION_FIELD_TYPES ] } ] }, "attacks/phishing_kit": { "indicators": [ { "main_field": 'emails', "main_field_type": 'Email', "add_fields": [ 'dateFirstSeen', 'dateLastSeen', *EVALUATION_FIELDS ], "add_fields_types": [ 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] } ] }, "apt/threat": { "indicators": [ { "main_field": 'indicators.params.ipv4', "main_field_type": 'IP', "add_fields": [ *THREAT_ACTOR_FIELDS, 'indicators.dateFirstSeen', 'indicators.dateLastSeen', *EVALUATION_FIELDS ], "add_fields_types": [ *THREAT_ACTOR_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] }, { "main_field": 'indicators.params.domain', "main_field_type": 'Domain', "add_fields": [ *THREAT_ACTOR_FIELDS, 'indicators.dateFirstSeen', 'indicators.dateLastSeen', *EVALUATION_FIELDS ], "add_fields_types": [ *THREAT_ACTOR_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] }, { "main_field": 'indicators.params.url', "main_field_type": 'URL', "add_fields": [ *THREAT_ACTOR_FIELDS, 'indicators.dateFirstSeen', 'indicators.dateLastSeen', *EVALUATION_FIELDS ], "add_fields_types": [ *THREAT_ACTOR_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] }, { "main_field": 'indicators.params.hashes.md5', "main_field_type": 'File', "add_fields": [ 'indicators.params.name', 'indicators.params.hashes.md5', 'indicators.params.hashes.sha1', 'indicators.params.hashes.sha256', 'indicators.params.size', *THREAT_ACTOR_FIELDS, 'indicators.dateFirstSeen', 'indicators.dateLastSeen', *EVALUATION_FIELDS ], "add_fields_types": [ 'gibfilename', 'md5', 'sha1', 'sha256', 'size', *THREAT_ACTOR_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] } ] }, "hi/threat": { "indicators": [ { "main_field": 'indicators.params.ipv4', "main_field_type": 'IP', "add_fields": [ *THREAT_ACTOR_FIELDS, 'indicators.dateFirstSeen', 'indicators.dateLastSeen', *EVALUATION_FIELDS ], "add_fields_types": [ *THREAT_ACTOR_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] }, { "main_field": 'indicators.params.domain', "main_field_type": 'Domain', "add_fields": [ *THREAT_ACTOR_FIELDS, 'indicators.dateFirstSeen', 'indicators.dateLastSeen', *EVALUATION_FIELDS ], "add_fields_types": [ *THREAT_ACTOR_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] }, { "main_field": 'indicators.params.url', "main_field_type": 'URL', "add_fields": [ *THREAT_ACTOR_FIELDS, 'indicators.dateFirstSeen', 'indicators.dateLastSeen', *EVALUATION_FIELDS ], "add_fields_types": [ *THREAT_ACTOR_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] }, { "main_field": 'indicators.params.hashes.md5', "main_field_type": 'File', "add_fields": [ 'indicators.params.name', 'indicators.params.hashes.md5', 'indicators.params.hashes.sha1', 'indicators.params.hashes.sha256', 'indicators.params.size', *THREAT_ACTOR_FIELDS, 'indicators.dateFirstSeen', 'indicators.dateLastSeen', *EVALUATION_FIELDS ], "add_fields_types": [ 'gibfilename', 'md5', 'sha1', 'sha256', 'size', *THREAT_ACTOR_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] } ] }, "suspicious_ip/tor_node": { 'indicators': [ { "main_field": 'ipv4.ip', "main_field_type": 'IP', "add_fields": [ 'ipv4.asn', 'ipv4.countryName', 'ipv4.region', 'dateFirstSeen', 'dateLastSeen', *EVALUATION_FIELDS ], "add_fields_types": [ *IP_COMMON_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] } ] }, "suspicious_ip/open_proxy": { 'indicators': [ { "main_field": 'ipv4.ip', "main_field_type": 'IP', "add_fields": [ 'ipv4.asn', 'ipv4.countryName', 'ipv4.region', 'port', 'anonymous', 'source', 'dateFirstSeen', 'dateDetected', *EVALUATION_FIELDS ], "add_fields_types": [ *IP_COMMON_FIELD_TYPES, 'gibproxyport', 'gibproxyanonymous', 'source', 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] } ] }, "suspicious_ip/socks_proxy": { 'indicators': [ { "main_field": 'ipv4.ip', "main_field_type": 'IP', "add_fields": [ 'ipv4.asn', 'ipv4.countryName', 'ipv4.region', 'dateFirstSeen', 'dateLastSeen', *EVALUATION_FIELDS ], "add_fields_types": [ *IP_COMMON_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource', *EVALUATION_FIELD_TYPES ] } ] }, "malware/cnc": { 'indicators': [ { 'main_field': 'url', "main_field_type": 'URL', "add_fields": [ *THREAT_ACTOR_FIELDS, 'dateDetected', 'dateLastSeen' ], "add_fields_types": [ *THREAT_ACTOR_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource' ] }, { 'main_field': 'domain', "main_field_type": 'Domain', "add_fields": [ *THREAT_ACTOR_FIELDS, 'dateDetected', 'dateLastSeen' ], "add_fields_types": [ *THREAT_ACTOR_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource' ] }, { "main_field": 'ipv4.ip', "main_field_type": 'IP', "add_fields": [ 'ipv4.asn', 'ipv4.countryName', 'ipv4.region', *THREAT_ACTOR_FIELDS, 'dateDetected', 'dateLastSeen' ], "add_fields_types": [ *IP_COMMON_FIELD_TYPES, *THREAT_ACTOR_FIELD_TYPES, 'firstseenbysource', 'lastseenbysource' ] } ] }, "osi/vulnerability": { 'indicators': [ { 'main_field': 'id', "main_field_type": 'CVE', "add_fields": [ 'cvss.score', 'cvss.vector', 'softwareMixed', 'description', 'dateModified', 'datePublished', *EVALUATION_FIELDS ], "add_fields_types": [ 'cvss', 'gibcvssvector', 'gibsoftwaremixed', 'cvedescription', 'cvemodified', 'published', *EVALUATION_FIELD_TYPES ] } ] }, 'ioc/common': { 'indicators': [ { 'main_field': 'url', "main_field_type": 'URL', "add_fields": [ 'dateFirstSeen', 'dateLastSeen', ], "add_fields_types": [ 'firstseenbysource', 'lastseenbysource', ] }, { 'main_field': 'domain', "main_field_type": 'Domain', "add_fields": [ 'dateFirstSeen', 'dateLastSeen', ], "add_fields_types": [ 'firstseenbysource', 'lastseenbysource', ] }, { 'main_field': 'ip', "main_field_type": 'IP', "add_fields": [ 'dateFirstSeen', 'dateLastSeen', ], "add_fields_types": [ 'firstseenbysource', 'lastseenbysource', ] } ] } } class Client(BaseClient): """ Client will implement the service API, and should not contain any Demisto logic. Should only do requests and return data. """ def create_update_generator(self, collection_name: str, date_from: str | None = None, seq_update: int | str | None = None, limit: int = 200) -> Generator: """ Creates generator of lists with feeds class objects for an update session (feeds are sorted in ascending order) `collection_name` with set parameters. `seq_update` allows you to receive all relevant feeds. Such a request uses the seq_update parameter, you will receive a portion of feeds that starts with the next `seq_update` parameter for the current collection. For all feeds in the Group IB Intelligence continuous numbering is carried out. For example, the `seq_update` equal to 1999998 can be in the `compromised/accounts` collection, and a feed with seq_update equal to 1999999 can be in the `attacks/ddos` collection. If item updates (for example, if new attacks were associated with existing APT by our specialists or tor node has been detected as active again), the item gets a new parameter and it automatically rises in the database and "becomes relevant" again. :param collection_name: collection to update. :param date_from: start date of update session. :param seq_update: identification number from which to start the session. :param limit: size of portion in iteration. """ while True: session = requests.Session() session.auth = HTTPBasicAuth(self._auth[0], self._auth[1]) session.headers["Accept"] = "*/*" session.headers["User-Agent"] = f'SOAR/CortexSOAR/{self._auth[0]}/unknown' params = {'df': date_from, 'limit': limit, 'seqUpdate': seq_update} params = {key: value for key, value in params.items() if value} portion = session.get(url=f'{self._base_url}{collection_name}/updated', params=params, timeout=60).json() # product = f'SOAR/CortexSOAR/Username/unkown}' # portion = self._http_request(method="GET", url_suffix=collection_name + '/updated', # params=params, timeout=60., # retries=4, status_list_to_retry=[429, 500]) if portion.get("count") == 0: break seq_update = portion.get("seqUpdate") date_from = None yield portion.get('items') def create_search_generator(self, collection_name: str, date_from: str = None, limit: int = 200) -> Generator: """ Creates generator of lists with feeds for the search session (feeds are sorted in descending order) for `collection_name` with set parameters. :param collection_name: collection to search. :param date_from: start date of search session. :param limit: size of portion in iteration. """ result_id = None while True: session = requests.Session() session.auth = HTTPBasicAuth(self._auth[0], self._auth[1]) session.headers["Accept"] = "*/*" session.headers["User-Agent"] = f'SOAR/CortexSOAR/{self._auth[0]}/unknown' params = {'df': date_from, 'limit': limit, 'resultId': result_id} params = {key: value for key, value in params.items() if value} portion = session.get(url=f'{self._base_url}{collection_name}', params=params, timeout=60).json() # params = {'df': date_from, 'limit': limit, 'resultId': result_id} # params = {key: value for key, value in params.items() if value} # portion = self._http_request(method="GET", url_suffix=collection_name, # params=params, timeout=60., # retries=4, status_list_to_retry=[429, 500]) if len(portion.get('items')) == 0: break result_id = portion.get("resultId") date_from = None yield portion.get('items') def search_feed_by_id(self, collection_name: str, feed_id: str) -> dict: """ Searches for feed with `feed_id` in collection with `collection_name`. :param collection_name: in what collection to search. :param feed_id: id of feed to search. """ portion = self._http_request(method="GET", url_suffix=collection_name + '/' + feed_id, timeout=60., retries=4, status_list_to_retry=[429, 500]) return portion def test_module(client: Client) -> str: """ Returning 'ok' indicates that the integration works like it is supposed to. Connection to the service is successful. :param client: GIB_TI&A_Feed client :return: 'ok' if test passed, anything else will fail the test. """ generator = client.create_update_generator(collection_name='compromised/mule', limit=10) generator.__next__() return 'ok' """ Support functions """ def find_element_by_key(obj, key): """ Recursively finds element or elements in dict. """ path = key.split(".", 1) if len(path) == 1: if isinstance(obj, list): return [i.get(path[0]) for i in obj] elif isinstance(obj, dict): return obj.get(path[0]) else: return obj else: if isinstance(obj, list): return [find_element_by_key(i.get(path[0]), path[1]) for i in obj] elif isinstance(obj, dict): return find_element_by_key(obj.get(path[0]), path[1]) else: return obj def unpack_iocs_from_list(ioc): # type: (Union[list, str]) -> list """ Recursively unpacks all IOCs in one list. """ unpacked = [] if isinstance(ioc, list): for i in ioc: unpacked.extend(unpack_iocs_from_list(i)) else: unpacked.append(ioc) return list(unpacked) def unpack_iocs(iocs, ioc_type, fields, fields_names, collection_name): """ Recursively ties together and transforms indicator data. """ unpacked = [] if isinstance(iocs, list): for i, ioc in enumerate(iocs): buf_fields = [] for field in fields: if isinstance(field, list): buf_fields.append(field[i]) else: buf_fields.append(field) unpacked.extend(unpack_iocs(ioc, ioc_type, buf_fields, fields_names, collection_name)) else: if iocs in ['255.255.255.255', '0.0.0.0', '', None]: return unpacked # fields=unpack_iocs_from_list(fields) fields_dict = {fields_names[i]: fields[i] for i in range(len(fields_names)) if fields[i] is not None} # Transforming one certain field into a markdown table if ioc_type == "CVE" and len(fields_dict["gibsoftwaremixed"]) != 0: soft_mixed = fields_dict.get("gibsoftwaremixed", {}) buffer = '' for chunk in soft_mixed: software_name = ', '.join(chunk.get('softwareName')) software_type = ', '.join(chunk.get('softwareType')) software_version = ', '.join(chunk.get('softwareVersion')) if len(software_name) != 0 or len(software_type) != 0 or len(software_version) != 0: buffer += '| {} | {} | {} |\n'.format(software_name, software_type, software_version.replace('||', ', ')) if len(buffer) != 0: buffer = "| Software Name | Software Type | Software Version |\n" \ "| ------------- | ------------- | ---------------- |\n" + buffer fields_dict["gibsoftwaremixed"] = buffer else: del fields_dict["gibsoftwaremixed"] # Transforming into correct date format for date_field in DATE_FIELDS_LIST: if fields_dict.get(date_field): previous_date = dateparser.parse(fields_dict.get(date_field, "")) # previous_date = fields_dict.get(date_field, "") if previous_date: fields_dict[date_field] = previous_date.strftime('%Y-%m-%dT%H:%M:%SZ') # fields_dict[date_field] = convert_to_timestamp(previous_date) fields_dict.update({'gibcollection': collection_name}) raw_json = {'value': iocs, 'type': ioc_type, **fields_dict} unpacked.append({'value': iocs, 'type': ioc_type, 'rawJSON': raw_json, 'fields': fields_dict}) return unpacked def find_iocs_in_feed(feed: dict, collection_name: str, common_fields: dict) -> list: """ Finds IOCs in the feed and transform them to the appropriate format to ingest them into Demisto. :param feed: feed from GIB TI&A. :param collection_name: which collection this feed belongs to. :param common_fields: fields defined by user. """ indicators = [] indicators_info = MAPPING.get(collection_name, {}).get('indicators', []) for i in indicators_info: main_field = find_element_by_key(feed, i['main_field']) main_field_type = i['main_field_type'] add_fields = [] add_fields_list = i.get('add_fields', []) + ['id'] for j in add_fields_list: add_fields.append(find_element_by_key(feed, j)) add_fields_types = i.get('add_fields_types', []) + ['gibid'] for field_type in COMMON_FIELD_TYPES: if common_fields.get(field_type): add_fields.append(common_fields.get(field_type)) add_fields_types.append(field_type) if collection_name in ['apt/threat', 'hi/threat', 'malware/cnc']: add_fields.append(', '.join(find_element_by_key(feed, "malwareList.name"))) add_fields_types = add_fields_types + ['gibmalwarename'] indicators.extend(unpack_iocs(main_field, main_field_type, add_fields, add_fields_types, collection_name)) return indicators def get_human_readable_feed(indicators: list, type_: str, collection_name: str) -> str: headers = ['value', 'type'] for fields in MAPPING.get(collection_name, {}).get('indicators', {}): if fields.get('main_field_type') == type_: headers.extend(fields['add_fields_types']) break if collection_name in ['apt/threat', 'hi/threat', 'malware/cnc']: headers.append('gibmalwarename') return tableToMarkdown(f"{type_} indicators", indicators, removeNull=True, headers=headers) def format_result_for_manual(indicators: list) -> dict: formatted_indicators: dict[str, Any] = {} for indicator in indicators: indicator = indicator.get('rawJSON') type_ = indicator.get('type') if type_ == 'CVE': del indicator["gibsoftwaremixed"] if formatted_indicators.get(type_) is None: formatted_indicators[type_] = [indicator] else: formatted_indicators[type_].append(indicator) return formatted_indicators def handle_first_time_fetch(last_run, collection_name, first_fetch_time): last_fetch = last_run.get('last_fetch', {}).get(collection_name) # Handle first time fetch date_from = None seq_update = None if not last_fetch: date_from_for_mypy = dateparser.parse(first_fetch_time) if date_from_for_mypy is None: raise DemistoException('Inappropriate indicators_first_fetch format, ' 'please use something like this: 2020-01-01 or January 1 2020 or 3 days') date_from = date_from_for_mypy.strftime('%Y-%m-%d') else: seq_update = last_fetch return date_from, seq_update """ Commands """ def fetch_indicators_command(client: Client, last_run: dict, first_fetch_time: str, indicator_collections: list, requests_count: int, common_fields: dict) -> tuple[dict, list]: """ This function will execute each interval (default is 1 minute). :param client: GIB_TI&A_Feed client. :param last_run: the greatest sequpdate we fetched from last fetch. :param first_fetch_time: if last_run is None then fetch all incidents since first_fetch_time. :param indicator_collections: list of collections enabled by client. :param requests_count: count of requests to API per collection. :param common_fields: fields defined by user. :return: next_run will be last_run in the next fetch-indicators; indicators will be created in Demisto. """ indicators = [] next_run: dict[str, dict[str, int | Any]] = {"last_fetch": {}} tags = common_fields.pop("tags", []) for collection_name in indicator_collections: date_from, seq_update = handle_first_time_fetch(last_run=last_run, collection_name=collection_name, first_fetch_time=first_fetch_time) generator = client.create_update_generator(collection_name=collection_name, date_from=date_from, seq_update=seq_update) k = 0 for portion in generator: for feed in portion: seq_update = feed.get('seqUpdate') indicators.extend(find_iocs_in_feed(feed, collection_name, common_fields)) k += 1 if k >= requests_count: break if tags: for indicator in indicators: indicator["fields"].update({"tags": tags}) indicator["rawJSON"].update({"tags": tags}) next_run['last_fetch'][collection_name] = seq_update return next_run, indicators def get_indicators_command(client: Client, args: dict[str, str]): """ Returns limited portion of indicators to War Room. :param client: GIB_TI&A_Feed client. :param args: arguments, provided by client. """ id_, collection_name = args.get('id'), args.get('collection', '') indicators = [] raw_json = None try: limit = int(args.get('limit', '50')) if limit > 50: raise Exception('A limit should be lower than 50.') except ValueError: raise Exception('A limit should be a number, not a string.') if collection_name not in MAPPING.keys(): raise Exception('Incorrect collection name. Please, choose one of the displayed options.') if not id_: generator = client.create_search_generator(collection_name=collection_name, limit=limit) for portion in generator: for feed in portion: indicators.extend(find_iocs_in_feed(feed, collection_name, {})) if len(indicators) >= limit: indicators = indicators[:limit] break if len(indicators) >= limit: break else: raw_json = client.search_feed_by_id(collection_name=collection_name, feed_id=id_) indicators.extend(find_iocs_in_feed(raw_json, collection_name, {})) if len(indicators) >= limit: indicators = indicators[:limit] formatted_indicators = format_result_for_manual(indicators) results = [] for type_, indicator in formatted_indicators.items(): results.append(CommandResults( readable_output=get_human_readable_feed(indicator, type_, collection_name), raw_response=raw_json, ignore_auto_extract=True )) return results def main(): # pragma: no cover """ PARSE AND VALIDATE INTEGRATION PARAMS """ params = demisto.params() username = params.get('credentials').get('identifier') password = params.get('credentials').get('password') proxy = params.get('proxy', False) verify_certificate = not params.get('insecure', False) base_url = str(params.get("url")) indicator_collections = params.get('indicator_collections', []) indicators_first_fetch = params.get('indicators_first_fetch', '3 days').strip() requests_count = int(params.get('requests_count', 2)) args = demisto.args() command = demisto.command() LOG(f'Command being called is {command}') try: client = Client( base_url=base_url, verify=verify_certificate, auth=(username, password), proxy=proxy, headers={ "Accept": "*/*", "User-Agent": f"SOAR/CortexSOAR/{username}/unknown" }) commands = {'gibtia-get-indicators': get_indicators_command} if command == 'test-module': # This is the call made when pressing the integration Test button. result = test_module(client) demisto.results(result) elif command == 'fetch-indicators': # Set and define the fetch incidents command to run after activated via integration settings. common_fields = { 'trafficlightprotocol': params.get("tlp_color"), 'tags': argToList(params.get("feedTags")), } next_run, indicators = fetch_indicators_command(client=client, last_run=get_integration_context(), first_fetch_time=indicators_first_fetch, indicator_collections=indicator_collections, requests_count=requests_count, common_fields=common_fields) set_integration_context(next_run) for b in batch(indicators, batch_size=2000): demisto.createIndicators(b) # type: ignore else: return_results(commands[command](client, args)) # Log exceptions except Exception as e: return_error(f'Failed to execute {demisto.command()} command. Error: {str(e)}') if __name__ in ('__main__', '__builtin__', 'builtins'): main() ```
The Little Saint Andrews River is a river of Grenada. See also List of rivers of Grenada References GEOnet Names Server Grenada map Rivers of Grenada
```smalltalk using System; using System.Collections.ObjectModel; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Windows.Input; using Xamarin.Forms.Internals; using Xamarin.Forms.Xaml; namespace Xamarin.Forms.Controls.GalleryPages.CollectionViewGalleries.HeaderFooterGalleries { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class HeaderFooterTemplate : ContentPage { public HeaderFooterTemplate() { InitializeComponent(); CollectionView.ItemTemplate = ExampleTemplates.PhotoTemplate(); BindingContext = new HeaderFooterDemoModel(); } [Preserve(AllMembers = true)] class HeaderFooterDemoModel : INotifyPropertyChanged { readonly DemoFilteredItemSource _demoFilteredItemSource = new DemoFilteredItemSource(3); DateTime _currentTime; public event PropertyChangedEventHandler PropertyChanged; public HeaderFooterDemoModel() { CurrentTime = DateTime.Now; } void OnPropertyChanged([CallerMemberName] string property = null) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(property)); } public ObservableCollection<CollectionViewGalleryTestItem> Items => _demoFilteredItemSource.Items; public ICommand TapCommand => new Command(() => { CurrentTime = DateTime.Now; }); public DateTime CurrentTime { get => _currentTime; set { if (value == _currentTime) { return; } _currentTime = value; OnPropertyChanged(); } } } } } ```
The Newton–Pepys problem is a probability problem concerning the probability of throwing sixes from a certain number of dice. In 1693 Samuel Pepys and Isaac Newton corresponded over a problem posed to Pepys by a school teacher named John Smith. The problem was: Pepys initially thought that outcome C had the highest probability, but Newton correctly concluded that outcome A actually has the highest probability. Solution The probabilities of outcomes A, B and C are: These results may be obtained by applying the binomial distribution (although Newton obtained them from first principles). In general, if P(n) is the probability of throwing at least n sixes with 6n dice, then: As n grows, P(n) decreases monotonically towards an asymptotic limit of 1/2. Example in R The solution outlined above can be implemented in R as follows: for (s in 1:3) { # looking for s = 1, 2 or 3 sixes n = 6*s # ... in n = 6, 12 or 18 dice q = pbinom(s-1, n, 1/6) # q = Prob( <s sixes in n dice ) cat("Probability of at least", s, "six in", n, "fair dice:", 1-q, "\n") } Newton's explanation Although Newton correctly calculated the odds of each bet, he provided a separate intuitive explanation to Pepys. He imagined that B and C toss their dice in groups of six, and said that A was most favorable because it required a 6 in only one toss, while B and C required a 6 in each of their tosses. This explanation assumes that a group does not produce more than one 6, so it does not actually correspond to the original problem. Generalizations A natural generalization of the problem is to consider n non-necessarily fair dice, with p the probability that each die will select the 6 face when thrown (notice that actually the number of faces of the dice and which face should be selected are irrelevant). If r is the total number of dice selecting the 6 face, then is the probability of having at least k correct selections when throwing exactly n dice. Then the original Newton–Pepys problem can be generalized as follows: Let be natural positive numbers s.t. . Is then not smaller than for all n, p, k? Notice that, with this notation, the original Newton–Pepys problem reads as: is ? As noticed in Rubin and Evans (1961), there are no uniform answers to the generalized Newton–Pepys problem since answers depend on k, n and p. There are nonetheless some variations of the previous questions that admit uniform answers: (from Chaundy and Bullard (1960)): If are positive natural numbers, and , then . If are positive natural numbers, and , then . (from Varagnolo, Pillonetto and Schenato (2013)): If are positive natural numbers, and then . References Factorial and binomial topics Probability problems Isaac Newton Mathematical problems
T'Pau may refer to: T'Pau (Star Trek), a character in the Star Trek universe T'Pau (band), a British musical group from the late 1980s T'Pau, the US title for the T'Pau album Bridge of Spies See also T'pau Almandar, a character from Daniel Keys Moran's novel The Ring de:T'Pau
Kazanka () is a rural locality (a village) in Tenyayevsky Selsoviet, Fyodorovsky District, Bashkortostan, Russia. The population was 2 as of 2010. There is 1 street. Geography Kazanka is located 21 km north of Fyodorovka (the district's administrative centre) by road. Orlovka is the nearest rural locality. References Rural localities in Fyodorovsky District
```c++ #include "wand_parts.h" #include <vespa/vespalib/objects/visit.hpp> namespace search::queryeval::wand { void VectorizedIteratorTerms::visit_members(vespalib::ObjectVisitor &visitor) const { visit(visitor, "children", _terms); } VectorizedIteratorTerms::VectorizedIteratorTerms(VectorizedIteratorTerms &&) noexcept = default; VectorizedIteratorTerms & VectorizedIteratorTerms::operator=(VectorizedIteratorTerms &&) noexcept = default; VectorizedIteratorTerms::~VectorizedIteratorTerms() = default; } void visit(vespalib::ObjectVisitor &self, const std::string &name, const search::queryeval::wand::Term &obj) { self.openStruct(name, "search::queryeval::wand::Term"); visit(self, "weight", obj.weight); visit(self, "estHits", obj.estHits); visit(self, "search", obj.search); self.closeStruct(); } ```
Nishana is a village in Tapi district of Gujarat state of India. References Villages in Tapi district
Hidden Agenda is a 2017 action-adventure game developed by Supermassive Games and published by Sony Interactive Entertainment. It was released on 24 October 2017 for PlayStation 4. Gameplay Hidden Agenda is a psychological action-adventure game played from a third-person perspective. The player takes control of homicide detective Becky Marney (Katie Cassidy) and district attorney Felicity Graves (Christy Choi/Ashley Voom), both of whom are involved in the case of a serial killer known as The Trapper. The game features quick time events that determine the outcome of the story, including a character's death or survival. With the PlayLink feature, others may join the game to vote for a specific decision to be made, using their Android or iOS smartphones. In competitive mode, one player will at some point receive a secret objective, or Hidden Agenda, which is intended to create conflict between the players as they try to prevent it from happening. Plot Part 1 The game opens on an event that occurs six weeks before the playable prologue; Father Rominski is seen sitting in a prayer position with a bomb attached to him. When police officers enter the room, another bomb detonates, killing everyone. In November 2012, Third Precinct detective Becky Marney and her partner Tom Nelson (Leonard Roberts/Michael Addo) arrive at the scene of a possible hostage situation by a serial killer known as the Trapper. Becky can choose to either be cautious and scope the place out or be confident and go straight through the front door. Depending on choices, Tom and/or the hostage Daniella Cardenas (Catherine Toribio/Eleni Miariti) can be killed. Either way, suspected perpetrator Jonathan Finn (Yan Feldman/Jonathan Burteaux) is captured and arrested. Finn confesses to the Trapper crimes and is sentenced to death by lethal injection by Judge William Vanstone (Robert Lewis Merrill/Simon Bond) upon the recommendation of district attorney Felicity Graves. If Tom died or was promoted to sergeant, Becky is assigned a new partner, Karl Carter (West Liang/Jozef Aoki). In 2017, Sergeant Noah Riggs (Chris L. McKenna/Jack Green) is briefing Becky, her partner, and detective Jack Calvary (Chad Michael Collins/Dawid Kocieda) on more unsolved murder victims. Calvary antagonizes Becky, and the meeting is dismissed. As Finn's execution date is approaching, his lawyer contacts Felicity to tell her that Finn wants to make a confession. Finn claims to Felicity that he falsely confessed to being the Trapper, and that the real killer is Adam Jones, his old friend from Las Palmas Orphanage. Finn claims Jones' motive for the killings was fueled by Rominski's physical abuse of him when he was a child, adding that Rominski had regularly abused children at the orphanage. Finn claims he was double-crossed by Jones, who promised him he would be freed after his false confessions. Finn offers to draw a map and can overpower Felicity if she lets her guard down. After Felicity presents the lead on Jones to the Third Precinct, it is discovered that the orphanage housed a child with Jones' name, but he supposedly died in the fire that shut down the orphanage. She is told by medical examiner Simon Hillary (Gabriel Schwalenstocker/Leonardo Patane) that there was no reason to suspect another killer besides Finn. Becky recounts an incident where she attended to a break-in in progress at a trailer park, where she found social worker Catherine Hope (Catherine Haena Kim/Zara Sparkes) tied up and gagged with a bomb strapped to her. Depending on actions, Becky either finds all the clues and saves Hope or escapes while Hope is killed in the explosion. It is later revealed that Hope worked at the orphanage and that the children reported Rominski's abuse of them to her, but she did nothing to stop it. Finn had supposedly left a hair at the scene of Hope's capture. Hillary reports that he ran the DNA through their database and Finn came up as the match. Becky and Felicity can develop a personal relationship or keep it professional. This results in Felicity looking into the Trapper victims with Becky or by herself. They note the victims were all connected to the Las Palmas Orphanage: alcoholic undertaker Rupert Walsh, orderly Frederick LeMay, social worker Catherine Hope, and Father Rominski. She notices photos of mouse traps in the files, which she can be informed by Riggs is a signature of the Trapper. Calvary is later killed alongside a first responding officer in a bombing with the same M.O. as the Trapper. Surveillance footage shows Calvary meeting with a prostitute before his demise. The officers start to suspect Becky of being the real Trapper due to her feud with Calvary. Hillary examines Calvary's body but doesn't permit Becky to have a closer look, and another explosion almost kills them all. Becky can choose to provide an alibi for the night of Calvary's murder; not providing one causes suspicion of her to increase. Part 2 Riggs debriefs the officers on Calvary's murder, saying they are treating it as a Trapper copycat. He also formally introduces Felicity, saying she is familiar with the Trapper and is here to assist the investigation. Felicity has the choice to request for Vanstone to grant Finn a temporary release, but Becky can persuade her not to proceed, believing Finn to be dangerous and untrustworthy. If Finn is temporarily released, he will be present when investigating Jones' childhood home with Becky and Felicity. Finn tell Becky he can help finding Adam leading to Becky releasing Finn, Finn escaping and working with Adam, or being put back in jail Becky attempts to interview sanitation worker Vernon LeMay (Larry Fessenden), the brother of Frederick. Vernon flees upon encountering Becky. If she keeps up with him during the chase and calms him down, he reveals that Frederick was an orderly at the orphanage and sold drugs to the Third Precinct, which caused the precinct to cover up the reports of abuse at the orphanage. Otherwise, Vernon doesn't reveal anything and jumps to his death. Becky then visits the house of Jody Johnson (Deonna Bouye/Storm Stewart), who is Walsh's widow. Johnson states that Walsh was an abusive alcoholic, and criticizes the police for not helping her when she reported that he was abusing her. Becky also investigates the remains of the orphanage, where she encounters a hooded suspect. She chases the figure, and may catch a glimpse of his face if she keeps up. Regardless, the figure escapes. Becky revisits the scene of Calvary's murder, where she encounters the hooded figure again. She then calls her partner, saying they need to meet and talk. As the act ends, a feminine figure is seen sewing something into an unseen gagged victim. Part 3 If Cardenas survived the prologue, she can be brought to the police station, where she reveals that Jones became a "police doctor." This causes Becky's partner to realize that Jones is Hillary. Jones stole the identity of the real Hillary and covered his tracks while employed as the medical examiner. It can also be discovered that Jones was orphaned because his mother shot his father to death after suffering repeated physical abuse. Judge Vanstone later sentenced Jones' mother to life imprisonment without the possibility of parole and barred her from seeing Jones. Jones' mother subsequently committed suicide in prison, fueling Jones' disdain for Vanstone even more. It can also be found that Jones worked odd jobs for Walsh, and noticed that Walsh repeatedly beat his wife and hired prostitutes. Becky meets with her partner at a restaurant, and can tell him she returned to the scene of Calvary's murder or that Hillary is Jones, but her partner dismisses her and leaves. There are a number of endings: Becky consumes a drugged drink at the restaurant and awakens in a rundown house next to Vanstone, who has a bomb planted in his stomach. She can either save Vanstone, be killed alongside him in the explosion, shoot him dead and survive, or flee and leave him to die. In the latter two cases, she is framed as the Trapper and is confronted by her partner outside, who shoot her dead. Becky is attacked in her car by a waitress. If Becky succeeds in fending her off, the waitress escapes in a car with Becky in hot pursuit. She finds that the license plate of the waitress’ car is registered to "Simon Hillary", revealing that she was Jones dressed as a woman. She calls her partner for backup and follows Jones into his house, which he attempts to burn down to dispose of the evidence. They fight, and Jones holds Becky's partner at gunpoint. The results of the conflict depend on the player's completion of QTEs. If the QTEs are successful, Becky shoots Jones and arrests him with her partner. Becky and Felicity work together and track down Jones to his house, which they find him attempting to burn down. Finn also appears if he was granted temporary release. Jones attacks them, and Finn's alignment depends on the player's treatment of him. The results of the fight depend on the player's completion of QTEs. If Becky was framed as the Trapper, a post-credits scene shows Hillary buying more mouse traps. Development Supermassive Games served as the game's developer, using Unreal Engine 4. Release Hidden Agenda was announced at E3 2017, along with a launch trailer promoting support for the PlayLink feature. Reception Hidden Agenda received "mixed or average" reviews according to review aggregator Metacritic. Awards The game won the award for "Best of E3" at the GamesRadar+ E3 Awards. See also Hidden Agenda (1988 video game) - unrelated strategy video game Notes References 2017 video games Action-adventure games Interactive movie video games Multiplayer and single-player video games PlayStation 4 games PlayStation 4-only games Psychological thriller video games Sony Interactive Entertainment games Supermassive Games Survival video games Unreal Engine games Video games about police officers Video games developed in the United Kingdom Video games featuring female protagonists Video games scored by Alastair Lindsay Video games set in the United States
Cruveilhier–Baumgarten disease or Pégot-Cruveilhier–Baumgarten disease is a rare medical condition in which the umbilical or paraumbilical veins are distended, with an abdominal wall bruit (the Cruveilhier-Baumgarten bruit) and palpable thrill, portal hypertension with splenomegaly, hypersplenism and oesophageal varices, with a normal or small liver. The presence of the Cruveilhier-Baumgarten venous hum is highly suggestive of portal hypertension, and is never a normal physical examination finding. It was first described by Pégot in 1833, and then by Jean Cruveilhier (1835) and Paul Clemens von Baumgarten (1907). Armstrong et al. (1942) and Steinburg and Galambos (1967) described two different types of the condition: Cruveilhier-Baumgarten syndrome: liver cirrhosis or portal hypertension is the cause of the distension of the paraumbilical veins (i.e. an acquired condition in which the veins reopen due to high portal pressure). Cruveilhier–Baumgarten disease: the distension of the paraumbilical veins is due to failure of umbilical vein closure, with little or no evidence of liver disease found on liver biopsy (i.e. a congenital patency of the umbilical vein leading to portal hypertension). References External links Hepatology Rare diseases Diseases named for discoverer
Music of Honduras is very varied. Punta is the main "ritmo" of Honduras with other music such as Paranda, Bachata, Caribbean salsa, cumbia, reggae, merengue, soca, calypso, dancehall and Reggaeton widely heard especially in the North the Department of Atlántida, to Mexican rancheras heard in the interior rural part of the country. Overview Honduras' capital Tegucigalpa is an important center for modern Honduran music, and is home to the College for Fine Arts. Folk music is played with guitar, marimba and other instruments. Punta is popular in Honduras. Popular folk songs include La ceiba and Candú. There is an Orquesta Sinfónica Nacional de Honduras (a national orchestra) in Comayagua. Notable musicians Banda Blanca Javier Monthiel Anima Polache Guillermo Anderson Moisés Canelo URANIA Khaos El Pez Montuca SoundSystem Evolucion Neutra Delirium Sueño Digviana Pez Luna Sol Caracol Maria Isolina Dano Cube Atomic Rose Tux Lunan Chia Casanova Nelson Padilla Sam & Dan Most Dangerous City Eduardo Umanzor Rodolfo Bueso LAUREN SOFÍA Sergio Ortega Volmen Reggaeton has been popular in the country for many years, and Honduras has emerged as a leading producer of artists. Notable artists include: DJ Sy (Syrome) Raggamofin Killas El Pueblo Los Bohemios Del Reggaeton DJ Slyfox Bullaka Family Yerbaklan Killa See also Music of Costa Rica Music of Peru Music of Guatemala Music of Panama Music of Puerto Rico Music of Mexico Music of Brazil References Further reading Campos Fonseca, Susan: “Historia compensatoria y Filosofía: Un caso centroamericano”, en BABAB, Nº33, verano, España, 2008, ISSN · 1575-9385. Disponible en: Brill, Mark. Music of Latin America and the Caribbean, 2nd Edition, 2018. Taylor & Francis http://www.babab.com/no33/susan_campos.php
```sqlpl -- +migrate Up CREATE TABLE asset_stats ( id BIGINT PRIMARY KEY REFERENCES history_assets ON DELETE CASCADE ON UPDATE RESTRICT, amount BIGINT NOT NULL, num_accounts INTEGER NOT NULL, flags SMALLINT NOT NULL, toml VARCHAR(64) NOT NULL ); CREATE INDEX asset_by_code ON history_assets USING btree (asset_code); -- +migrate Down DROP TABLE asset_stats cascade; ```
```javascript const React = require('react') const { Paper, IconButton, FontIcon, FlatButton, Popover, Menu, MenuItem, Checkbox, Toggle, Table, TableBody, TableRow, TableRowColumn, TableHeader, TableHeaderColumn } = require('material-ui') const mailboxActions = require('../../../stores/mailbox/mailboxActions') const shallowCompare = require('react-addons-shallow-compare') const Mailbox = require('shared/Models/Mailbox/Mailbox') const Colors = require('material-ui/styles/colors') const settingStyles = require('../settingStyles') const serviceStyles = { actionCell: { width: 48, paddingLeft: 0, paddingRight: 0, textAlign: 'center' }, titleCell: { paddingLeft: 0, paddingRight: 0 }, avatar: { height: 22, width: 22, top: 2 }, disabled: { textAlign: 'center', fontSize: '85%', color: Colors.grey300 } } module.exports = React.createClass({ /* **************************************************************************/ // Class /* **************************************************************************/ displayName: 'AccountServiceSettings', propTypes: { mailbox: React.PropTypes.object.isRequired }, /* **************************************************************************/ // Data lifecycle /* **************************************************************************/ getInitialState () { return { addPopoverOpen: false, addPopoverAnchor: null } }, /* **************************************************************************/ // Rendering /* **************************************************************************/ shouldComponentUpdate (nextProps, nextState) { return shallowCompare(this, nextProps, nextState) }, /** * Renders the service name * @param mailboxType: the type of mailbox * @param service: the service type * @return the human name for the service */ getServiceName (mailboxType, service) { if (mailboxType === Mailbox.TYPE_GMAIL || mailboxType === Mailbox.TYPE_GINBOX) { switch (service) { case Mailbox.SERVICES.STORAGE: return 'Google Drive' case Mailbox.SERVICES.CONTACTS: return 'Google Contacts' case Mailbox.SERVICES.NOTES: return 'Google Keep' case Mailbox.SERVICES.CALENDAR: return 'Google Calendar' case Mailbox.SERVICES.COMMUNICATION: return 'Google Hangouts' } } return '' }, /** * @param mailboxType: the type of mailbox * @param service: the service type * @return the url of the service icon */ getServiceIconUrl (mailboxType, service) { if (mailboxType === Mailbox.TYPE_GMAIL || mailboxType === Mailbox.TYPE_GINBOX) { switch (service) { case Mailbox.SERVICES.STORAGE: return '../../images/google_services/logo_drive_128px.png' case Mailbox.SERVICES.CONTACTS: return '../../images/google_services/logo_contacts_128px.png' case Mailbox.SERVICES.NOTES: return '../../images/google_services/logo_keep_128px.png' case Mailbox.SERVICES.CALENDAR: return '../../images/google_services/logo_calendar_128px.png' case Mailbox.SERVICES.COMMUNICATION: return '../../images/google_services/logo_hangouts_128px.png' } } return '' }, /** * Renders the services * @param mailbox: the mailbox * @param services: the services list * @param sleepableServices: the list of services that are able to sleep * @return jsx */ renderServices (mailbox, services, sleepableServices) { if (services.length) { const sleepableServicesSet = new Set(sleepableServices) return ( <Table selectable={false}> <TableHeader displaySelectAll={false} adjustForCheckbox={false}> <TableRow> <TableHeaderColumn style={serviceStyles.actionCell} /> <TableHeaderColumn style={serviceStyles.titleCell}>Service</TableHeaderColumn> <TableHeaderColumn style={serviceStyles.actionCell} tooltipStyle={{ marginLeft: -100 }} tooltip='Allows services to sleep to reduce memory consumption'> Sleep when not in use </TableHeaderColumn> <TableHeaderColumn style={serviceStyles.actionCell} /> <TableHeaderColumn style={serviceStyles.actionCell} /> <TableHeaderColumn style={serviceStyles.actionCell} /> </TableRow> </TableHeader> <TableBody displayRowCheckbox={false}> {services.map((service, index, arr) => { return ( <TableRow key={service}> <TableRowColumn style={serviceStyles.actionCell}> <img style={serviceStyles.avatar} src={this.getServiceIconUrl(mailbox.type, service)} /> </TableRowColumn> <TableRowColumn style={serviceStyles.titleCell}> {this.getServiceName(mailbox.type, service)} </TableRowColumn> <TableRowColumn style={serviceStyles.actionCell}> <Checkbox onCheck={(evt, checked) => mailboxActions.toggleServiceSleepable(mailbox.id, service, checked)} checked={sleepableServicesSet.has(service)} /> </TableRowColumn> <TableRowColumn style={serviceStyles.actionCell}> <IconButton onClick={() => mailboxActions.moveServiceUp(mailbox.id, service)} disabled={index === 0}> <FontIcon className='material-icons'>arrow_upwards</FontIcon> </IconButton> </TableRowColumn> <TableRowColumn style={serviceStyles.actionCell}> <IconButton onClick={() => mailboxActions.moveServiceDown(mailbox.id, service)} disabled={index === arr.length - 1}> <FontIcon className='material-icons'>arrow_downwards</FontIcon> </IconButton> </TableRowColumn> <TableRowColumn style={serviceStyles.actionCell}> <IconButton onClick={() => mailboxActions.removeService(mailbox.id, service)}> <FontIcon className='material-icons'>delete</FontIcon> </IconButton> </TableRowColumn> </TableRow> ) })} </TableBody> </Table> ) } else { return ( <Table selectable={false}> <TableBody displayRowCheckbox={false}> <TableRow> <TableRowColumn style={serviceStyles.disabled}> All Services Disabled </TableRowColumn> </TableRow> </TableBody> </Table> ) } }, /** * Renders the add popover * @param mailbox: the mailbox * @param disabledServices: the list of disabled services * @return jsx */ renderAddPopover (mailbox, disabledServices) { if (disabledServices.length) { const { addPopoverOpen, addPopoverAnchor } = this.state return ( <div style={{ textAlign: 'right' }}> <FlatButton label='Add Service' onClick={(evt) => this.setState({ addPopoverOpen: true, addPopoverAnchor: evt.currentTarget })} /> <Popover open={addPopoverOpen} anchorEl={addPopoverAnchor} anchorOrigin={{horizontal: 'left', vertical: 'bottom'}} targetOrigin={{horizontal: 'left', vertical: 'top'}} onRequestClose={() => this.setState({ addPopoverOpen: false })}> <Menu> {disabledServices.map((service) => { return ( <MenuItem key={service} onClick={() => { this.setState({ addPopoverOpen: false }) mailboxActions.addService(mailbox.id, service) }} primaryText={this.getServiceName(mailbox.type, service)} />) })} </Menu> </Popover> </div> ) } else { return undefined } }, render () { const { mailbox, ...passProps } = this.props const enabledServicesSet = new Set(mailbox.enabledServies) const disabledServices = mailbox.supportedServices .filter((s) => s !== Mailbox.SERVICES.DEFAULT && !enabledServicesSet.has(s)) return ( <Paper zDepth={1} style={settingStyles.paper} {...passProps}> <h1 style={settingStyles.subheading}>Services</h1> {this.renderServices(mailbox, mailbox.enabledServies, mailbox.sleepableServices)} {this.renderAddPopover(mailbox, disabledServices)} <Toggle toggled={mailbox.compactServicesUI} label='Compact Services UI' labelPosition='right' onToggle={(evt, toggled) => mailboxActions.setCompactServicesUI(mailbox.id, toggled)} /> </Paper> ) } }) ```
Events from the year 1824 in Scotland. Incumbents Law officers Lord Advocate – Sir William Rae, Bt Solicitor General for Scotland – John Hope Judiciary Lord President of the Court of Session – Lord Granton Lord Justice General – The Duke of Montrose Lord Justice Clerk – Lord Boyle Events 19 April – brigantine Helen of Dundee, bound for Quebec, founders on what becomes known as Helen's Reef off Rockall with fatalities. 17 May – the Monkland and Kirkintilloch Railway is authorised; construction begins the following month. 24 May – the foundation stone for an oil-gas works at Tanfield in Edinburgh is laid by Sir Walter Scott, the company chairman. October – Edinburgh Academy, built to the design of William Burn, opens. 10 October – Edinburgh Town Council makes a decision to found a municipal fire brigade under James Braidwood, the first in Britain. 15–21 November – Great Fire of Edinburgh, starting in Old Assembly Close, kills 11 residents and 2 firemen, and destroys 24 tenements – leaving 400 families homeless – and other properties, including the spire of Tron Kirk. Blairquhan Castle near Maybole, rebuilt to the design of William Burn for Sir David Hunter-Blair, 3rd Baronet, is completed. Speyside Scotch whisky distilleries established: Balmenach, Glenlivet and Macallan. Also, Cameron Bridge distillery is established by Haig. The Foot-Ball Club is established in Edinburgh, one of the earliest known clubs organised to play any kind of football. The Northern Yacht Club, a predecessor of the Royal Northern and Clyde Yacht Club, is established in Rothesay. The Perth Golfing Society is formed. Births 24 February – John Dick Peddie, architect (died 1891) 8 March – John Elder, marine engineer (died 1869 in London) 21 March – James Samuel, railway engineer (died 1874 in London) 4 July – Robert B. Lindsay, Governor of Alabama (died 1902 in the United States) 21 October – John Ritchie Findlay, newspaper owner and philanthropist (died 1898) 10 December – George MacDonald, writer, poet and Christian minister (died 1905 in England) 17 December – John Kerr, physicist (died 1907) George Campbell, administrator in British India and Liberal politician (died 1892 in Cairo) Deaths 12 January – Walter Oudney, physician and explorer (born 1790; died in Africa) 15 January – Francis Dundas, British Army general and governor of Cape Colony (born c.1759) 17 January – James Brodie of Brodie, botanist, clan chief and politician (born 1744) 31 March – Andrew Fyfe, anatomist (born 1754) 15 May – Alexander Campbell, musician and writer (born 1764) 19 December – Charles Smith, painter (born 1749) Approximate date – John Gunn, musician (born c.1765) The arts Thomas Campbell's Miscellaneous Poems is published. James Hogg's novel The Private Memoirs and Confessions of a Justified Sinner is published anonymously. William Knox's poetry collection Songs of Israel is published. Sir Walter Scott's novel Redgauntlet is published anonymously. Edwin Landseer visits Scotland for the first time to paint a portrait of Sir Walter Scott; he will return annually, concentrating on animal portraits. See also 1824 in Ireland References Scotland 1820s in Scotland
```xml export type PredicateKeypath = | 'title' | 'title.length' | 'text' | 'text.length' | 'noteType' | 'authorizedForListed' | 'editorIdentifier' | 'userModifiedDate' | 'serverUpdatedAt' | 'created_at' | 'conflict_of' | 'protected' | 'trashed' | 'pinned' | 'archived' | 'locked' | 'starred' | 'hidePreview' | 'spellcheck' export const PredicateKeypathLabels: { [k in PredicateKeypath]: string } = { title: 'Title', 'title.length': 'Title Length', text: 'Text', 'text.length': 'Text Length', noteType: 'Note Type', authorizedForListed: 'Authorized For Listed', editorIdentifier: 'Editor Identifier', userModifiedDate: 'User Modified Date', serverUpdatedAt: 'Server Updated At', created_at: 'Created At', conflict_of: 'Conflict Of', protected: 'Protected', trashed: 'Trashed', pinned: 'Pinned', archived: 'Archived', locked: 'Locked', starred: 'Starred', hidePreview: 'Hide Preview', spellcheck: 'Spellcheck', } as const export const PredicateKeypathTypes: { [k in PredicateKeypath]: 'string' | 'noteType' | 'editorIdentifier' | 'number' | 'boolean' | 'date' } = { title: 'string', 'title.length': 'number', text: 'string', 'text.length': 'number', noteType: 'noteType', authorizedForListed: 'boolean', editorIdentifier: 'editorIdentifier', userModifiedDate: 'date', serverUpdatedAt: 'date', created_at: 'date', conflict_of: 'string', protected: 'boolean', trashed: 'boolean', pinned: 'boolean', archived: 'boolean', locked: 'boolean', starred: 'boolean', hidePreview: 'boolean', spellcheck: 'boolean', } as const ```
The Speech Manager, in the classic Mac OS, is a part of the operating system used to convert text into sound data to play through a sound output device such as a speaker. The Speech Manager's interaction with the Sound Manager is transparent to a software application. See also PlainTalk External links Apple Developer Connection: About the Speech Manager Classic Mac OS Macintosh operating systems APIs
Barbara Sukowa (; born 2 February 1950) is a German actress of screen and stage and singer. She has received three German Film Awards for Best Actress, three Bavarian Film Awards, Cannes Film Festival Award for Best Actress, Venice Film Festival Award, as well as nominations for European Film Awards, César Awards and Grammy Awards. Sukowa is best known for her work with directors Rainer Werner Fassbinder and Margarethe von Trotta. She rose to prominence after starring in the West German miniseries Berlin Alexanderplatz directed by Fassbinder, and the following year went to star in his drama film Lola, for which she received her first German Film Award for Best Actress. Also in 1981, Sukowa starred in Marianne and Juliane directed by Margarethe von Trotta. They would go on to work on six more films together. For her performance, she also received German Film Award and Venice Film Festival Award for Best Actress. In 1986, she won the Cannes Film Festival Award for Best Actress for performance in the drama film Rosa Luxemburg. In 1990s, Sukowa starred in a number of international films, most notable, Europa (1991) directed by Lars von Trier, Voyager (1991) by Volker Schlöndorff, M. Butterfly by David Cronenberg, and Johnny Mnemonic (1995) by Robert Longo. In later career, she played Hildegard of Bingen in 2009 drama film Vision, and Hannah Arendt in the biographical film Hannah Arendt (2012). She starred in the American television series 12 Monkeys (20152018), a remake of the 1995 film of the same name. In 2019, she starred in French drama film Two of Us, for which she received Lumières Award for Best Actress and César Award for Best Actress nomination. Life and career Sukowa was born in Bremen, Germany, in 1950. She speaks German, English and French. After studying acting at the Max Reinhardt Seminar in Vienna, Sukowa's stage debut was in Berlin in 1971, in a production of Peter Handke's Der Ritt über den Bodensee. The same year, Günter Beelitz invited her to join the ensemble of the Darmstädter National Theatre. She also worked in Frankfurt am Main and Hamburg, in collaboration with directors such as Luc Bondy, playing Marion in Büchner's Danton's Death and Helena in A Midsummer Night's Dream. Other Shakespeare roles in Europe were Rosalind in As You Like It and Desdemona in Othello. She performed in Ibsen's The Master Builder. In addition to her stage work, Sukowa is associated with the New German Cinema. Her performance as Mieze in Rainer Werner Fassbinder's miniseries Berlin Alexanderplatz (1980) earned her the German Best Young Actress Award. The following year, her performance of the title role in Fassbinder's drama film Lola earned her a German Film Award for Best Actress. Also that year, she starred in Marianne and Juliane directed by Margarethe von Trotta. For this performance she also received German Film Award for Best Actress and Venice Film Festival Golden Phoenix Award for Best Actress. She starred in Die Jäger (1982) directed by Károly Makk, Un dimanche de flic (1983) by Michel Vianey, and Équateur by Serge Gainsbourg. In 1985, Sukowa made her American television debut starring in the CBS miniseries Space, based on James A. Michener's novel. In 1986, Sukowa played Polish socialist Rosa Luxemburg in the biographical drama film Rosa Luxemburg directed by Margarethe von Trotta. She received Cannes Film Festival Award for Best Actress for her performance, and well as another German Film Award for Best Actress. In 1987, she starred in Days to Remember directed by Jeanine Meerapfel, receiving nomination for a German Film Award for Best Actress, and appeared in American action film The Sicilian opposite Christopher Lambert. In 1990, she starred in The African Woman directed by Margarethe von Trotta. Sukowa moved to Brooklyn, New York City in 1991. In 1991, she starred opposite Sam Shepard in Voyager directed by Volker Schlöndorff, and Europa by Lars von Trier. Both films received positive reviews from critics. Sukowa was nominated for European Film Award for Best Supporting Actress for Voyager, and European Film Award for Best European Actress of the Year for Europa. In 1993, she starred in M. Butterfly directed by David Cronenberg. In 1995, she appeared in Johnny Mnemonic directed by Robert Longo. In 1997, she returned in Germany for starring in , for which she received Bavarian Film Award for Best Actress In 1999, she appeared in Tim Robbins's Cradle Will Rock, and The Third Miracle directed by Agnieszka Holland. Sukowa also starred in a made-for-television films Lost Souls (1998) and The Lady in Question (1999). Sukowa has developed a parallel career as a classical music narrator and speaker. She has performed the Speaker's role in Arnold Schönberg's Pierrot lunaire, first with the Schoenberg Ensemble under Reinbert de Leeuw, and later with ensembles in Paris, London, Berlin, St. Petersburg, Madrid, Rome, Tokyo, Salzburg, Los Angeles, and New York City. She has performed the Speaker's role in Schönberg's Gurrelieder with the Berlin Philharmonic under Claudio Abbado, and is featured on the recordings with Abbado and the Vienna Philharmonic, and Esa-Pekka Salonen and the Philharmonia. She narrated Prokofiev's Peter and the Wolf both in concert and on record, as well as on a recording of Mendelssohn's music for A Midsummer Night's Dream. In English, she has worked in a production of The Cherry Orchard (Princeton, New Jersey, 2000). Sukowa has performed in Arthur Honegger's Jeanne d'Arc au bûcher and Kurt Weill's The Threepenny Opera. She performed speaking and singing role in de Leeuw's Im wunderschönen Monat Mai in 2004. She performed the speaking role in the US premiere of Michael Jarrell's Cassandre in March 2006, and in the New York City premiere that month, with musicians from the Saint Louis Symphony Orchestra. At the 51st Annual Grammy Awards, she received Grammy Award nomination for Im wunderschönen Monat Mai. Sukowa is also the front singer of the Band the X-Patsys , which she founded with visual artists Jon Kessler and Robert Longo. In 2004, Sukowa was a member of the jury at the 26th Moscow International Film Festival. In 2012, she was on the jury for the 62nd Berlin International Film Festival. In 2009, Sukowa played the role of Hildegard of Bingen in 2009 drama film Vision directed by Margarethe von Trotta, receiving another Bavarian Film Award for Best Actress. In 2012, Sukowa starred as German-Jewish philosopher and political theorist Hannah Arendt in the German-Luxembourgian-French biographical film Hannah Arendt directed by Margarethe von Trotta. The film and her performance received positive reviews from critics. Sukowa received another Bavarian Film Award for Best Actress and German Film Award for Best Performance by an Actress in a Leading Role, and well as European Film Award for Best Actress nomination. In 2016, she appeared on Maria Schrader' drama film Stefan Zweig: Farewell to Europe, and later had supporting roles in Atomic Blonde (2017), Gloria Bell (2018) and Native Son (2019). From 2015 to 2018, Sukowa starred as Katarina Jones in the American television series 12 Monkeys. She continued appearing on American television guest-starring on Hunters starring Al Pacino, and had a recurring role on the Apple TV+ series Servant. In 2022, she was cast in the thriller The Swarm based on the Frank Schätzing best-seller. In 2019, Sukowa starred in French romance drama film Two of Us, for which she received Lumières Award for Best Actress and César Award for Best Actress nomination. In 2022, Sukowa starred opposite Ben Kingsley in the biographical film Dalíland about Salvador Dalí, playing Gala Dalí. It premiered at the 2022 Toronto International Film Festival. Personal life She is married to the artist and director Robert Longo, with whom she has performed as a singer. She has three sons, one from her earlier marriage to Hans-Michael Rehberg, one from her relationship with Daniel Olbrychski, and one with Longo. Filmography Film Television General source for Awards and nomination — AllMovie References External links Fassbinder Foundation 1950 births Living people German film actresses Actors from Bremen (city) Best Actress German Film Award winners Cannes Film Festival Award for Best Actress winners Best Actress Lumières Award winners German stage actresses German women singers 20th-century German actresses 21st-century German actresses German expatriates in the United States
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * specific language governing permissions and limitations */ package io.ballerina.projects; import io.ballerina.projects.plugins.CompilerPlugin; /** * This class represents a Built-In compiler plugin. * * @since 2.0.0 */ class BuiltInCompilerPluginInfo extends CompilerPluginInfo { BuiltInCompilerPluginInfo(CompilerPlugin compilerPlugin) { super(compilerPlugin, CompilerPluginKind.BUILT_IN); } } ```
The Händel-Jahrbuch (HJb) is a music scientific journal dedicated to the composer George Frideric Handel. It is published annually by the international Handel-Gesellschaft in conjunction with the foundation Handel House in Halle. The "scientific secretary" of the Handel Society is also chief editor of the Jahrbuch, and since 2011 the musicologist Annette Landgraf. Publisher The Jahrbuch was first published by the musicologist Rudolf Steglich from Hannover for the new Handel-Gesellschaft in Leipzig, founded in 1925 by Hermann Abert. From 1928 to 1933, it was published in six volumes by Breitkopf & Härtel in Leipzig. From 1955, the Handel-Gesellschaft published it as a new series at the Deutscher Verlag für Musik in Leipzig. The first four volumes can be counted twice as a continuation of the old series. Between 1992 and 1995, Studio-Verlag in Cologne managed the publication. Since then, the Jahrbuch has been published by Bärenreiter-Verlag in Kassel. In 2008, the Handel House Foundation in Halle became a partner. Content Contributions to the Händel-Jahrbuch are published mainly in German, with some contributions in English. Although between 1967 and 1976 the Jahrbuch sporadically described international academic conferences held at the Handel Festival in Halle, since 1989 have been regularly published. In addition, public lectures for the Festival are printed along with free research contributions. The economist Manfred Rätzer continues to provide statistical records of the current performances of Handel's operas and oratorios in the yearbook. The volumes also include the business accounts of the president of the association. Various forthcoming publications on Handel are advertised, including new volumes of the Hallische Händel-Ausgabe (HHA, a critical complete edition). Access The contributions to the Handel Yearbook are listed in the online catalogue (OPAC) of the Library of the Handel House Foundation in Halle. The Jahrbuch is available for purchase in bookshops, free to members of the association. Editorial office For more than three decades (1955 to 1988) the Handel researcher Walther Siegmund-Schultze held the position of Scientific Secretary of the Society. Further reading Konstanze Musketa (translated by Angela Baier): Händel-Jahrbuch (Hjb). In Annette Landgraf, David Vickers (ed.): The Cambridge Handel Encyclopedia. Cambridge University Press, Cambridge 2009, , . References External links Händel-Jahrbuch at Georg-Friedrich-Händel-Gesellschaft Händel-Jahrbuch at Bärenreiter-Verlag Academic journals published in Germany German-language magazines Classical music magazines Academic journals established in 1928
```php <?php namespace Valet; use DateTime; use DomainException; use Illuminate\Support\Collection; use PhpFpm; class Site { public function __construct(public Brew $brew, public Configuration $config, public CommandLine $cli, public Filesystem $files) {} /** * Get the name of the site. */ private function getSiteLinkName(?string $name): string { if (! is_null($name)) { return $name; } if (is_string($link = $this->getLinkNameByCurrentDir())) { return $link; } throw new DomainException(basename(getcwd()).' is not linked.'); } /** * Get link name based on the current directory. */ private function getLinkNameByCurrentDir(): ?string { $count = count($links = $this->links()->where('path', getcwd())); if ($count == 1) { return $links->shift()['site']; } if ($count > 1) { throw new DomainException("There are {$count} links related to the current directory, please specify the name: valet unlink <name>."); } return null; } /** * Get the real hostname for the given path, checking links. */ public function host(string $path): ?string { foreach ($this->files->scandir($this->sitesPath()) as $link) { if ($path === realpath($this->sitesPath($link))) { return $link; } } return basename($path); } /** * Link the current working directory with the given name. */ public function link(string $target, string $link): string { $this->files->ensureDirExists( $linkPath = $this->sitesPath(), user() ); $this->config->prependPath($linkPath); $this->files->symlinkAsUser($target, $linkPath.'/'.$link); return $linkPath.'/'.$link; } /** * Pretty print out all links in Valet. */ public function links(): Collection { $certsPath = $this->certificatesPath(); $this->files->ensureDirExists($certsPath, user()); $certs = $this->getCertificates($certsPath); return $this->getSites($this->sitesPath(), $certs); } /** * Pretty print out all parked links in Valet. */ public function parked(): Collection { $certs = $this->getCertificates(); $links = $this->getSites($this->sitesPath(), $certs); $config = $this->config->read(); $parkedLinks = collect(); foreach (array_reverse($config['paths']) as $path) { if ($path === $this->sitesPath()) { continue; } // Only merge on the parked sites that don't interfere with the linked sites $sites = $this->getSites($path, $certs)->filter(function ($site, $key) use ($links) { return ! $links->has($key); }); $parkedLinks = $parkedLinks->merge($sites); } return $parkedLinks; } /** * Get all sites which are proxies (not Links, and contain proxy_pass directive). */ public function proxies(): Collection { $dir = $this->nginxPath(); $tld = $this->config->read()['tld']; $links = $this->links(); $certs = $this->getCertificates(); if (! $this->files->exists($dir)) { return collect(); } $proxies = collect($this->files->scandir($dir)) ->filter(function ($site, $key) use ($tld) { // keep sites that match our TLD return ends_with($site, '.'.$tld); })->map(function ($site, $key) use ($tld) { // remove the TLD suffix for consistency return str_replace('.'.$tld, '', $site); })->reject(function ($site, $key) use ($links) { return $links->has($site); })->mapWithKeys(function ($site) { $host = $this->getProxyHostForSite($site) ?: '(other)'; return [$site => $host]; })->reject(function ($host, $site) { // If proxy host is null, it may be just a normal SSL stub, or something else; either way we exclude it from the list return $host === '(other)'; })->map(function ($host, $site) use ($certs, $tld) { $secured = $certs->has($site); $url = ($secured ? 'https' : 'http').'://'.$site.'.'.$tld; return [ 'site' => $site, 'secured' => $secured ? ' X' : '', 'url' => $url, 'path' => $host, ]; }); return $proxies; } /** * Get the site URL from a directory if it's a valid Valet site. */ public function getSiteUrl(string $directory): string { $tld = $this->config->read()['tld']; if ($directory == '.' || $directory == './') { // Allow user to use dot as current dir's site `--site=.` $directory = $this->host(getcwd()); } // Remove .tld from the end of sitename if it was provided if (ends_with($directory, '.'.$tld)) { $directory = substr($directory, 0, -(strlen('.'.$tld))); } if (! $this->parked()->merge($this->links())->where('site', $directory)->count() > 0) { throw new DomainException("The [{$directory}] site could not be found in Valet's site list."); } return $directory.'.'.$tld; } /** * Identify whether a site is for a proxy by reading the host name from its config file. */ public function getProxyHostForSite(string $site, ?string $configContents = null): ?string { $siteConf = $configContents ?: $this->getSiteConfigFileContents($site); if (empty($siteConf)) { return null; } $host = null; if (preg_match('~proxy_pass\s+(?<host>https?://.*)\s*;~', $siteConf, $patterns)) { $host = trim($patterns['host']); } return $host; } /** * Get the contents of the configuration for the given site. */ public function getSiteConfigFileContents(string $site, ?string $suffix = null): ?string { $config = $this->config->read(); $suffix = $suffix ?: '.'.$config['tld']; $file = str_replace($suffix, '', $site).$suffix; return $this->files->exists($this->nginxPath($file)) ? $this->files->get($this->nginxPath($file)) : null; } /** * Get all certificates from config folder. */ public function getCertificates(?string $path = null): Collection { $path = $path ?: $this->certificatesPath(); $this->files->ensureDirExists($path, user()); $config = $this->config->read(); return collect($this->files->scandir($path))->filter(function ($value, $key) { return ends_with($value, '.crt'); })->map(function ($cert) use ($config) { $certWithoutSuffix = substr($cert, 0, -4); $trimToString = '.'; // If we have the cert ending in our tld strip that tld specifically // if not then just strip the last segment for backwards compatibility. if (ends_with($certWithoutSuffix, $config['tld'])) { $trimToString .= $config['tld']; } return substr($certWithoutSuffix, 0, strrpos($certWithoutSuffix, $trimToString)); })->flip(); } /** * Get list of sites and return them formatted * Will work for symlink and normal site paths. */ public function getSites(string $path, Collection $certs): Collection { $config = $this->config->read(); $this->files->ensureDirExists($path, user()); return collect($this->files->scandir($path))->mapWithKeys(function ($site) use ($path) { $sitePath = $path.'/'.$site; if ($this->files->isLink($sitePath)) { $realPath = $this->files->readLink($sitePath); } else { $realPath = $this->files->realpath($sitePath); } return [$site => $realPath]; })->filter(function ($path) { return $this->files->isDir($path); })->map(function ($path, $site) use ($certs, $config) { $secured = $certs->has($site); $url = ($secured ? 'https' : 'http').'://'.$site.'.'.$config['tld']; $phpVersion = $this->getPhpVersion($site.'.'.$config['tld']); return [ 'site' => $site, 'secured' => $secured ? ' X' : '', 'url' => $url, 'path' => $path, 'phpVersion' => $phpVersion, ]; }); } /** * Unlink the given symbolic link. */ public function unlink(?string $name = null): string { $name = $this->getSiteLinkName($name); if ($this->files->exists($path = $this->sitesPath($name))) { $this->files->unlink($path); } return $name; } /** * Remove all broken symbolic links. */ public function pruneLinks(): void { if (! $this->files->isDir(VALET_HOME_PATH)) { return; } $this->files->ensureDirExists($this->sitesPath(), user()); $this->files->removeBrokenLinksAt($this->sitesPath()); } /** * Get the PHP version for the given site. */ public function getPhpVersion(string $url): string { $defaultPhpVersion = $this->brew->linkedPhp(); $phpVersion = PhpFpm::normalizePhpVersion($this->customPhpVersion($url)); if (empty($phpVersion)) { $phpVersion = PhpFpm::normalizePhpVersion($defaultPhpVersion); } return $phpVersion; } /** * Resecure all currently secured sites with a fresh configuration. * * There are only two supported values: tld and loopback * And those must be submitted in pairs else unexpected results may occur. * eg: both $old and $new should contain the same indexes. */ public function resecureForNewConfiguration(array $old, array $new): void { if (! $this->files->exists($this->certificatesPath())) { return; } $secured = $this->secured(); $defaultTld = $this->config->read()['tld']; $oldTld = ! empty($old['tld']) ? $old['tld'] : $defaultTld; $tld = ! empty($new['tld']) ? $new['tld'] : $defaultTld; $defaultLoopback = $this->config->read()['loopback']; $oldLoopback = ! empty($old['loopback']) ? $old['loopback'] : $defaultLoopback; $loopback = ! empty($new['loopback']) ? $new['loopback'] : $defaultLoopback; foreach ($secured as $url) { $newUrl = str_replace('.'.$oldTld, '.'.$tld, $url); $siteConf = $this->getSiteConfigFileContents($url, '.'.$oldTld); if (! empty($siteConf) && strpos($siteConf, '# valet stub: secure.proxy.valet.conf') === 0) { // proxy config $this->unsecure($url); $this->secure( $newUrl, $this->replaceOldLoopbackWithNew( $this->replaceOldDomainWithNew($siteConf, $url, $newUrl), $oldLoopback, $loopback ) ); } else { // normal config $this->unsecure($url); $this->secure($newUrl); } } } /** * Parse Nginx site config file contents to swap old domain to new. */ public function replaceOldDomainWithNew(string $siteConf, string $old, string $new): string { $lookups = []; $lookups[] = '~server_name .*;~'; $lookups[] = '~error_log .*;~'; $lookups[] = '~ssl_certificate_key .*;~'; $lookups[] = '~ssl_certificate .*;~'; foreach ($lookups as $lookup) { preg_match($lookup, $siteConf, $matches); foreach ($matches as $match) { $replaced = str_replace($old, $new, $match); $siteConf = str_replace($match, $replaced, $siteConf); } } return $siteConf; } /** * Parse Nginx site config file contents to swap old loopback address to new. */ public function replaceOldLoopbackWithNew(string $siteConf, string $old, string $new): string { $shouldComment = $new === VALET_LOOPBACK; $lookups = []; $lookups[] = '~#?listen .*:80; # valet loopback~'; $lookups[] = '~#?listen .*:443 ssl http2; # valet loopback~'; $lookups[] = '~#?listen .*:60; # valet loopback~'; foreach ($lookups as $lookup) { preg_match($lookup, $siteConf, $matches); foreach ($matches as $match) { $replaced = str_replace($old, $new, $match); if ($shouldComment && strpos($replaced, '#') !== 0) { $replaced = '#'.$replaced; } if (! $shouldComment) { $replaced = ltrim($replaced, '#'); } $siteConf = str_replace($match, $replaced, $siteConf); } } return $siteConf; } /** * Get all of the URLs that are currently secured. */ public function secured(): array { return collect($this->files->scandir($this->certificatesPath())) ->filter(function ($file) { return ends_with($file, ['.key', '.csr', '.crt', '.conf']); })->map(function ($file) { return str_replace(['.key', '.csr', '.crt', '.conf'], '', $file); })->unique()->values()->all(); } /** * Get all of the URLs with expiration dates that are currently secured. */ public function securedWithDates(): array { return collect($this->secured())->map(function ($site) { $filePath = $this->certificatesPath().'/'.$site.'.crt'; $expiration = $this->cli->run("openssl x509 -enddate -noout -in $filePath"); $expiration = str_replace('notAfter=', '', $expiration); return [ 'site' => $site, 'exp' => new DateTime($expiration), ]; })->unique()->values()->all(); } public function isSecured(string $site): bool { $tld = $this->config->read()['tld']; return in_array($site.'.'.$tld, $this->secured()); } /** * Secure the given host with TLS. * * @param string|null $siteConf pregenerated Nginx config file contents * @param int $certificateExpireInDays The number of days the self signed certificate is valid. * Certificates SHOULD NOT have a validity period greater than 397 days. * @param int $caExpireInYears The number of years the self signed certificate authority is valid. * * @see path_to_url */ public function secure(string $url, ?string $siteConf = null, int $certificateExpireInDays = 396, int $caExpireInYears = 20): void { // Extract in order to later preserve custom PHP version config when securing $phpVersion = $this->customPhpVersion($url); // Create the CA if it doesn't exist. // If the user cancels the trust operation, the old certificate will not be removed. $this->files->ensureDirExists($this->caPath(), user()); $caExpireInDate = (new \DateTime)->diff(new \DateTime("+{$caExpireInYears} years")); $this->createCa($caExpireInDate->format('%a')); $this->unsecure($url); $this->files->ensureDirExists($this->certificatesPath(), user()); $this->files->ensureDirExists($this->nginxPath(), user()); $this->createCertificate($url, $certificateExpireInDays); $siteConf = $this->buildSecureNginxServer($url, $siteConf); // If the user had isolated the PHP version for this site, swap out .sock file if ($phpVersion) { $siteConf = $this->replaceSockFile($siteConf, $phpVersion); } $this->files->putAsUser($this->nginxPath($url), $siteConf); } /** * Renews all domains with a trusted TLS certificate. */ public function renew($expireIn = 368): void { collect($this->securedWithDates())->each(function ($row) use ($expireIn) { $url = $this->domain($row['site']); $this->secure($url, null, $expireIn); info('The ['.$url.'] site has been secured with a fresh TLS certificate.'); }); } /** * If CA and root certificates are nonexistent, create them and trust the root cert. * * @param int $caExpireInDays The number of days the self signed certificate authority is valid. */ public function createCa(int $caExpireInDays): void { $caPemPath = $this->caPath('LaravelValetCASelfSigned.pem'); $caKeyPath = $this->caPath('LaravelValetCASelfSigned.key'); if ($this->files->exists($caKeyPath) && $this->files->exists($caPemPath)) { $isTrusted = $this->cli->run(sprintf( 'security verify-cert -c "%s"', $caPemPath )); if (strpos($isTrusted, '...certificate verification successful.') === false) { $this->trustCa($caPemPath); } return; } $oName = 'Laravel Valet CA Self Signed Organization'; $cName = 'Laravel Valet CA Self Signed CN'; if ($this->files->exists($caKeyPath)) { $this->files->unlink($caKeyPath); } if ($this->files->exists($caPemPath)) { $this->files->unlink($caPemPath); } $this->cli->run(sprintf( 'sudo security delete-certificate -c "%s" /Library/Keychains/System.keychain', $cName )); $this->cli->runAsUser(sprintf( 'openssl req -new -newkey rsa:2048 -days %s -nodes -x509 -subj "/C=/ST=/O=%s/localityName=/commonName=%s/organizationalUnitName=Developers/emailAddress=%s/" -keyout "%s" -out "%s"', $caExpireInDays, $oName, $cName, 'rootcertificate@laravel.valet', $caKeyPath, $caPemPath )); $this->trustCa($caPemPath); } /** * If CA and root certificates exist, remove them. */ public function removeCa(): void { foreach (['pem', 'key', 'srl'] as $ending) { $path = $this->caPath('LaravelValetCASelfSigned.'.$ending); if ($this->files->exists($path)) { $this->files->unlink($path); } } $cName = 'Laravel Valet CA Self Signed CN'; $this->cli->run(sprintf( 'sudo security delete-certificate -c "%s" /Library/Keychains/System.keychain', $cName )); } /** * Create and trust a certificate for the given URL. * * @param int $caExpireInDays The number of days the self signed certificate is valid. */ public function createCertificate(string $url, int $caExpireInDays): void { $caPemPath = $this->caPath('LaravelValetCASelfSigned.pem'); $caKeyPath = $this->caPath('LaravelValetCASelfSigned.key'); $caSrlPath = $this->caPath('LaravelValetCASelfSigned.srl'); $keyPath = $this->certificatesPath($url, 'key'); $csrPath = $this->certificatesPath($url, 'csr'); $crtPath = $this->certificatesPath($url, 'crt'); $confPath = $this->certificatesPath($url, 'conf'); $this->buildCertificateConf($confPath, $url); $this->createPrivateKey($keyPath); $this->createSigningRequest($url, $keyPath, $csrPath, $confPath); $caSrlParam = '-CAserial "'.$caSrlPath.'"'; if (! $this->files->exists($caSrlPath)) { $caSrlParam .= ' -CAcreateserial'; } $result = $this->cli->runAsUser(sprintf( 'openssl x509 -req -sha256 -days %s -CA "%s" -CAkey "%s" %s -in "%s" -out "%s" -extensions v3_req -extfile "%s"', $caExpireInDays, $caPemPath, $caKeyPath, $caSrlParam, $csrPath, $crtPath, $confPath )); // If cert could not be created using runAsUser(), use run(). if (strpos($result, 'Permission denied') !== false) { $this->cli->run(sprintf( 'openssl x509 -req -sha256 -days %s -CA "%s" -CAkey "%s" %s -in "%s" -out "%s" -extensions v3_req -extfile "%s"', $caExpireInDays, $caPemPath, $caKeyPath, $caSrlParam, $csrPath, $crtPath, $confPath )); } } /** * Create the private key for the TLS certificate. */ public function createPrivateKey(string $keyPath): void { $this->cli->runAsUser(sprintf('openssl genrsa -out "%s" 2048', $keyPath)); } /** * Create the signing request for the TLS certificate. */ public function createSigningRequest(string $url, string $keyPath, string $csrPath, string $confPath): void { $this->cli->runAsUser(sprintf( 'openssl req -new -key "%s" -out "%s" -subj "/C=/ST=/O=/localityName=/commonName=%s/organizationalUnitName=/emailAddress=%s%s/" -config "%s"', $keyPath, $csrPath, $url, $url, '@laravel.valet', $confPath )); } /** * Trust the given root certificate file in the macOS Keychain. */ public function trustCa(string $caPemPath): void { info('Trusting Laravel Valet Certificate Authority...'); $result = $this->cli->run(sprintf( 'sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain "%s"', $caPemPath )); if ($result) { throw new DomainException('The Certificate Authority must be trusted. Please run the command again.'); } } /** * Trust the given certificate file in the Mac Keychain. */ public function trustCertificate(string $crtPath): void { $this->cli->run(sprintf( 'sudo security add-trusted-cert -d -r trustAsRoot -k /Library/Keychains/System.keychain "%s"', $crtPath )); } /** * Build the SSL config for the given URL. */ public function buildCertificateConf(string $path, string $url): void { $config = str_replace('VALET_DOMAIN', $url, $this->files->getStub('openssl.conf')); $this->files->putAsUser($path, $config); } /** * Build the TLS secured Nginx server for the given URL. */ public function buildSecureNginxServer(string $url, ?string $siteConf = null): string { if ($siteConf === null) { $nginxVersion = str_replace('nginx version: nginx/', '', exec('nginx -v 2>&1')); $configFile = version_compare($nginxVersion, '1.25.1', '>=') ? 'secure.valet.conf' : 'secure.valet-legacy.conf'; $siteConf = $this->replaceOldLoopbackWithNew( $this->files->getStub($configFile), 'VALET_LOOPBACK', $this->valetLoopback() ); } return str_replace( ['VALET_HOME_PATH', 'VALET_SERVER_PATH', 'VALET_STATIC_PREFIX', 'VALET_SITE', 'VALET_CERT', 'VALET_KEY'], [ $this->valetHomePath(), VALET_SERVER_PATH, VALET_STATIC_PREFIX, $url, $this->certificatesPath($url, 'crt'), $this->certificatesPath($url, 'key'), ], $siteConf ); } /** * Create new nginx config or modify existing nginx config to isolate this site * to a custom version of PHP. */ public function isolate(string $valetSite, string $phpVersion): void { if ($this->files->exists($this->nginxPath($valetSite))) { // Modify the existing config if it exists (likely because it's secured) $siteConf = $this->files->get($this->nginxPath($valetSite)); $siteConf = $this->replaceSockFile($siteConf, $phpVersion); } else { $siteConf = str_replace( ['VALET_HOME_PATH', 'VALET_SERVER_PATH', 'VALET_STATIC_PREFIX', 'VALET_SITE', 'VALET_PHP_FPM_SOCKET', 'VALET_ISOLATED_PHP_VERSION'], [VALET_HOME_PATH, VALET_SERVER_PATH, VALET_STATIC_PREFIX, $valetSite, PhpFpm::fpmSockName($phpVersion), $phpVersion], $this->replaceLoopback($this->files->getStub('site.valet.conf')) ); } $this->files->putAsUser($this->nginxPath($valetSite), $siteConf); } /** * Remove PHP Version isolation from a specific site. */ public function removeIsolation(string $valetSite): void { // If a site has an SSL certificate, we need to keep its custom config file, but we can // just re-generate it without defining a custom `valet.sock` file if ($this->files->exists($this->certificatesPath($valetSite, 'crt'))) { $siteConf = $this->buildSecureNginxServer($valetSite); $this->files->putAsUser($this->nginxPath($valetSite), $siteConf); } else { // When site doesn't have SSL, we can remove the custom nginx config file to remove isolation $this->files->unlink($this->nginxPath($valetSite)); } } /** * Unsecure the given URL so that it will use HTTP again. */ public function unsecure(string $url): void { // Extract in order to later preserve custom PHP version config when unsecuring. Example output: "74" $phpVersion = $this->customPhpVersion($url); if ($this->files->exists($this->certificatesPath($url, 'crt'))) { $this->files->unlink($this->nginxPath($url)); $this->files->unlink($this->certificatesPath($url, 'conf')); $this->files->unlink($this->certificatesPath($url, 'key')); $this->files->unlink($this->certificatesPath($url, 'csr')); $this->files->unlink($this->certificatesPath($url, 'crt')); } $this->cli->run(sprintf('sudo security delete-certificate -c "%s" /Library/Keychains/System.keychain', $url)); $this->cli->run(sprintf('sudo security delete-certificate -c "*.%s" /Library/Keychains/System.keychain', $url)); $this->cli->run(sprintf( 'sudo security find-certificate -e "%s%s" -a -Z | grep SHA-1 | sudo awk \'{system("security delete-certificate -Z \'$NF\' /Library/Keychains/System.keychain")}\'', $url, '@laravel.valet' )); // If the user had isolated the PHP version for this site, swap out .sock file if ($phpVersion) { $this->isolate($url, $phpVersion); } } /** * Un-secure all sites. */ public function unsecureAll(): void { $tld = $this->config->read()['tld']; $secured = $this->parked() ->merge($this->links()) ->sort() ->where('secured', ' X'); if ($secured->count() === 0) { info('No sites to unsecure. You may list all servable sites or links by running <comment>valet parked</comment> or <comment>valet links</comment>.'); return; } info('Attempting to unsecure the following sites:'); table(['Site', 'SSL', 'URL', 'Path'], $secured->toArray()); foreach ($secured->pluck('site') as $url) { $this->unsecure($url.'.'.$tld); } $remaining = $this->parked() ->merge($this->links()) ->sort() ->where('secured', ' X'); if ($remaining->count() > 0) { warning('We were not succesful in unsecuring the following sites:'); table(['Site', 'SSL', 'URL', 'Path'], $remaining->toArray()); } info('unsecure --all was successful.'); } /** * Build the Nginx proxy config for the specified domain. * * @param string $url The domain name to serve * @param string $host The URL to proxy to, eg: path_to_url */ public function proxyCreate(string $url, string $host, bool $secure = false): void { if (! preg_match('~^https?://.*$~', $host)) { throw new \InvalidArgumentException(sprintf('"%s" is not a valid URL', $host)); } $tld = $this->config->read()['tld']; foreach (explode(',', $url) as $proxyUrl) { if (! ends_with($proxyUrl, '.'.$tld)) { $proxyUrl .= '.'.$tld; } $nginxVersion = str_replace('nginx version: nginx/', '', exec('nginx -v 2>&1')); $configFile = version_compare($nginxVersion, '1.25.1', '>=') ? 'secure.proxy.valet.conf' : 'secure.proxy.valet-legacy.conf'; $siteConf = $this->replaceOldLoopbackWithNew( $this->files->getStub($secure ? $configFile : 'proxy.valet.conf'), 'VALET_LOOPBACK', $this->valetLoopback() ); $siteConf = str_replace( ['VALET_HOME_PATH', 'VALET_SERVER_PATH', 'VALET_STATIC_PREFIX', 'VALET_SITE', 'VALET_PROXY_HOST'], [$this->valetHomePath(), VALET_SERVER_PATH, VALET_STATIC_PREFIX, $proxyUrl, $host], $siteConf ); if ($secure) { $this->secure($proxyUrl, $siteConf); } else { $this->put($proxyUrl, $siteConf); } $protocol = $secure ? 'https' : 'http'; info('Valet will now proxy ['.$protocol.'://'.$proxyUrl.'] traffic to ['.$host.'].'); } } /** * Unsecure the given URL so that it will use HTTP again. */ public function proxyDelete(string $url): void { $tld = $this->config->read()['tld']; foreach (explode(',', $url) as $proxyUrl) { if (! ends_with($proxyUrl, '.'.$tld)) { $proxyUrl .= '.'.$tld; } $this->unsecure($proxyUrl); $this->files->unlink($this->nginxPath($proxyUrl)); info('Valet will no longer proxy [path_to_url } } /** * Create the given nginx host. */ public function put(string $url, string $siteConf): void { $this->unsecure($url); $this->files->ensureDirExists($this->nginxPath(), user()); $this->files->putAsUser( $this->nginxPath($url), $siteConf ); } /** * Remove old loopback interface alias and add a new one if necessary. */ public function aliasLoopback(string $oldLoopback, string $loopback): void { if ($oldLoopback !== VALET_LOOPBACK) { $this->removeLoopbackAlias($oldLoopback); } if ($loopback !== VALET_LOOPBACK) { $this->addLoopbackAlias($loopback); } $this->updateLoopbackPlist($loopback); } /** * Remove loopback interface alias. */ public function removeLoopbackAlias(string $loopback): void { $this->cli->run(sprintf( 'sudo ifconfig lo0 -alias %s', $loopback )); info('['.$loopback.'] loopback interface alias removed.'); } /** * Add loopback interface alias. */ public function addLoopbackAlias(string $loopback): void { $this->cli->run(sprintf( 'sudo ifconfig lo0 alias %s', $loopback )); info('['.$loopback.'] loopback interface alias added.'); } /** * Remove old LaunchDaemon and create a new one if necessary. */ public function updateLoopbackPlist(string $loopback): void { $this->removeLoopbackPlist(); if ($loopback !== VALET_LOOPBACK) { $this->files->put( $this->plistPath(), str_replace( 'VALET_LOOPBACK', $loopback, $this->files->getStub('loopback.plist') ) ); info('['.$this->plistPath().'] persistent loopback interface alias launch daemon added.'); } } /** * Remove loopback interface alias launch daemon plist file. */ public function removeLoopbackPlist(): void { if ($this->files->exists($this->plistPath())) { $this->files->unlink($this->plistPath()); info('['.$this->plistPath().'] persistent loopback interface alias launch daemon removed.'); } } /** * Remove loopback interface alias and launch daemon plist file for uninstall purpose. */ public function uninstallLoopback(): void { if (($loopback = $this->valetLoopback()) !== VALET_LOOPBACK) { $this->removeLoopbackAlias($loopback); } $this->removeLoopbackPlist(); } /** * Return Valet home path constant. */ public function valetHomePath(): string { return VALET_HOME_PATH; } /** * Return Valet loopback configuration. */ public function valetLoopback(): string { return $this->config->read()['loopback']; } /** * Get the path to loopback LaunchDaemon. */ public function plistPath(): string { return '/Library/LaunchDaemons/com.laravel.valet.loopback.plist'; } /** * Get the path to Nginx site configuration files. */ public function nginxPath(?string $additionalPath = null): string { return $this->valetHomePath().'/Nginx'.($additionalPath ? '/'.$additionalPath : ''); } /** * Get the path to the linked Valet sites. */ public function sitesPath(?string $link = null): string { return $this->valetHomePath().'/Sites'.($link ? '/'.$link : ''); } /** * Get the path to the Valet CA certificates. */ public function caPath(?string $caFile = null): string { return $this->valetHomePath().'/CA'.($caFile ? '/'.$caFile : ''); } /** * Get the path to the Valet TLS certificates. */ public function certificatesPath(?string $url = null, ?string $extension = null): string { $url = $url ? '/'.$url : ''; $extension = $extension ? '.'.$extension : ''; return $this->valetHomePath().'/Certificates'.$url.$extension; } /** * Make the domain name based on parked domains or the internal TLD. */ public function domain(?string $domain): string { // if ($this->parked()->pluck('site')->contains($domain)) { // return $domain; // } // if ($parked = $this->parked()->where('path', getcwd())->first()) { // return $parked['site']; // } // Don't add .TLD if user already passed the string in with the TLD on the end if ($domain && str_contains($domain, '.'.$this->config->read()['tld'])) { return $domain; } // Return either the passed domain, or the current folder name, with .TLD appended return ($domain ?: $this->host(getcwd())).'.'.$this->config->read()['tld']; } /** * Replace Loopback configuration line in Valet site configuration file contents. */ public function replaceLoopback(string $siteConf): string { $loopback = $this->config->read()['loopback']; if ($loopback === VALET_LOOPBACK) { return $siteConf; } $str = '#listen VALET_LOOPBACK:80; # valet loopback'; return str_replace( $str, substr(str_replace('VALET_LOOPBACK', $loopback, $str), 1), $siteConf ); } /** * Extract PHP version of exising nginx conifg. */ public function customPhpVersion(string $url): ?string { if ($this->files->exists($this->nginxPath($url))) { $siteConf = $this->files->get($this->nginxPath($url)); if (starts_with($siteConf, '# '.ISOLATED_PHP_VERSION)) { $firstLine = explode(PHP_EOL, $siteConf)[0]; return preg_replace("/[^\d]*/", '', $firstLine); // Example output: "74" or "81" } } return null; } /** * Replace .sock file in an Nginx site configuration file contents. */ public function replaceSockFile(string $siteConf, string $phpVersion): string { $sockFile = PhpFpm::fpmSockName($phpVersion); $siteConf = preg_replace('/valet[0-9]*.sock/', $sockFile, $siteConf); $siteConf = preg_replace('/# '.ISOLATED_PHP_VERSION.'.*\n/', '', $siteConf); // Remove ISOLATED_PHP_VERSION line from config return '# '.ISOLATED_PHP_VERSION.'='.$phpVersion.PHP_EOL.$siteConf; } /** * Get configuration items defined in .valetrc for a site. */ public function valetRc(string $siteName, ?string $cwd = null): array { if ($cwd) { $path = $cwd.'/.valetrc'; } elseif ($site = $this->parked()->merge($this->links())->where('site', $siteName)->first()) { $path = data_get($site, 'path').'/.valetrc'; } else { return []; } if ($this->files->exists($path)) { return collect(explode(PHP_EOL, trim($this->files->get($path))))->filter(function ($line) { return str_contains($line, '='); })->mapWithKeys(function ($item, $index) { [$key, $value] = explode('=', $item); return [strtolower($key) => $value]; })->all(); } return []; } /** * Get PHP version from .valetrc or .valetphprc for a site. */ public function phpRcVersion(string $siteName, ?string $cwd = null): ?string { if ($cwd) { $oldPath = $cwd.'/.valetphprc'; } elseif ($site = $this->parked()->merge($this->links())->where('site', $siteName)->first()) { $oldPath = data_get($site, 'path').'/.valetphprc'; } else { return null; } if ($this->files->exists($oldPath)) { return PhpFpm::normalizePhpVersion(trim($this->files->get($oldPath))); } $valetRc = $this->valetRc($siteName, $cwd); return PhpFpm::normalizePhpVersion(data_get($valetRc, 'php')); } } ```
```sqlpl -- -- -- path_to_url -- -- Unless required by applicable law or agreed to in writing, software -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ALTER TABLE IF EXISTS "SqlReplayCheckpoint" RENAME revision_id TO id; ```
```smalltalk // ========================================================================== // Squidex Headless CMS // ========================================================================== // ========================================================================== using Microsoft.Extensions.Logging; using NodaTime; using Squidex.Caching; using Squidex.Domain.Apps.Core; using Squidex.Domain.Apps.Entities.Collaboration; using Squidex.Infrastructure; using Squidex.Infrastructure.States; using Squidex.Infrastructure.Tasks; using Squidex.Infrastructure.Translations; namespace Squidex.Domain.Apps.Entities.Jobs; public sealed class JobProcessor { private readonly DomainId ownerId; private readonly IEnumerable<IJobRunner> runners; private readonly ILocalCache localCache; private readonly ICollaborationService collaboration; private readonly IUrlGenerator urlGenerator; private readonly ILogger<JobProcessor> log; private readonly SimpleState<JobsState> state; private readonly ReentrantScheduler scheduler = new ReentrantScheduler(1); private JobRunContext? currentRun; public IClock Clock { get; init; } = SystemClock.Instance; public JobProcessor(DomainId ownerId, IEnumerable<IJobRunner> runners, ILocalCache localCache, ICollaborationService collaboration, IPersistenceFactory<JobsState> persistenceFactory, IUrlGenerator urlGenerator, ILogger<JobProcessor> log) { this.ownerId = ownerId; this.runners = runners; this.localCache = localCache; this.collaboration = collaboration; this.urlGenerator = urlGenerator; this.log = log; state = new SimpleState<JobsState>(persistenceFactory, GetType(), ownerId); } public async Task LoadAsync( CancellationToken ct) { await state.LoadAsync(ct); var pending = state.Value.Jobs.Where(x => x.Stopped == null); if (pending.Any()) { // This should actually never happen, so we log with warning. log.LogWarning("Removed unfinished jobs for owner {ownerId} after start.", ownerId); foreach (var job in pending.ToList()) { var runner = runners.FirstOrDefault(x => x.Name == job.TaskName); if (runner != null) { await runner.CleanupAsync(job); } state.Value.Jobs.Remove(job); } await state.WriteAsync(ct); } } public Task DeleteAsync(DomainId jobId) { return scheduler.ScheduleAsync(async _ => { log.LogInformation("Clearing jobs for owner {ownerId}.", ownerId); var job = state.Value.Jobs.Find(x => x.Id == jobId); if (job == null) { return; } var runner = runners.FirstOrDefault(x => x.Name == job.TaskName); if (runner != null) { await runner.CleanupAsync(job); } await state.UpdateAsync(state => state.Jobs.RemoveAll(x => x.Id == jobId) > 0, ct: default); }, default); } public Task ClearAsync() { return scheduler.ScheduleAsync(async _ => { log.LogInformation("Clearing jobs for owner {ownerId}.", ownerId); foreach (var job in state.Value.Jobs) { var runner = runners.FirstOrDefault(x => x.Name == job.TaskName); if (runner != null) { await runner.CleanupAsync(job); } } await state.ClearAsync(default); }, default); } public Task CancelAsync(string? taskName) { // Ensure that only one thread is accessing the current state at a time. return scheduler.Schedule(() => { if (taskName == null || currentRun?.Job.TaskName == taskName) { currentRun?.Cancel(); } }); } public Task RunAsync(JobRequest request, CancellationToken ct) { return scheduler.ScheduleAsync(async ct => { if (currentRun != null) { throw new DomainException(T.Get("jobs.alreadyRunning")); } var runner = runners.FirstOrDefault(x => x.Name == request.TaskName) ?? throw new DomainException(T.Get("jobs.invalidTaskName")); state.Value.EnsureCanStart(runner); // Set the current run first to indicate that we are running a rule at the moment. var context = currentRun = new JobRunContext(state, Clock, ct) { Actor = request.Actor, Job = new Job { Id = DomainId.NewGuid(), Arguments = request.Arguments, Description = request.TaskName, Started = default, Status = JobStatus.Created, TaskName = request.TaskName }, OwnerId = ownerId }; log.LogInformation("Starting new backup with backup id '{backupId}' for owner {ownerId}.", context.Job.Id, ownerId); state.Value.Jobs.Insert(0, context.Job); try { await ProcessAsync(context, runner, context.CancellationToken); await NotifyAsync(request, T.Get("jobs.notifySuccess", new { job = context.Job.Description })); } catch { await NotifyAsync(request, T.Get("jobs.notifyFailed", new { job = context.Job.Description })); throw; } finally { // Unset the run to indicate that we are done. currentRun.Dispose(); currentRun = null; } }, ct); } private async Task NotifyAsync(JobRequest request, string text) { if (request.AppId == null || request.Actor.IsClient) { return; } var notificationText = text; var notificationUrl = new Uri(urlGenerator.JobsUI(request.AppId)); await collaboration.NotifyAsync(request.Actor.Identifier, notificationText, request.Actor, notificationUrl, false, default); } private async Task ProcessAsync(JobRunContext context, IJobRunner runner, CancellationToken ct) { try { await SetStatusAsync(context, JobStatus.Started); using (localCache.StartContext()) { await runner.RunAsync(context, ct); } await SetStatusAsync(context, JobStatus.Completed); } catch (OperationCanceledException) { await SetStatusAsync(context, JobStatus.Cancelled); } catch (Exception ex) { log.LogError(ex, "Failed to run job with ID {jobId}.", context.Job.Id); await SetStatusAsync(context, JobStatus.Failed); } } private Task SetStatusAsync(JobRunContext context, JobStatus status) { var now = Clock.GetCurrentInstant(); return state.UpdateAsync(_ => { context.Job.Status = status; if (status == JobStatus.Started) { context.Job.Started = now; } else if (status != JobStatus.Created) { context.Job.Stopped = now; } return true; }, ct: default); } } ```
Mark Duncan (1570?–1640) was a Scottish regent of the University of Saumur. Life Duncan was the son of Thomas Duncan of Maxpoffle, Roxburghshire, by Janet, daughter of Patrick Oliphant of Sowdoun in the same county, is supposed to have been born about 1570, and to have been educated partly in Scotland and partly on the continent. He certainly took the degree of M.D., but at what university is not known. From Duplessis-Mornay, he was appointed governor of Saumur by Henry IV in 1589; he received the post of professor of philosophy in the University of Saumur, of which he subsequently became regent. Duncan is said to have been versed in mathematics and theology, as well as in philosophy, and to have acquired such a reputation for medical skill that James I offered him the post of physician in ordinary at the English court, and even forwarded to him the necessary patent; but to have declined the royal invitation out of regard to his wife (a French lady), who was reluctant to leave her native land. Duncan lived at Saumur until his death, which took place in 1640, to the regret, it is said, of Protestants and Catholics alike. Works Duncan published in 1612 Institutiones Logicæ, to which Burgersdijck, in the preface to his own Institutiones Logicæ (second edition 1634), acknowledged himself much indebted, and which indeed seems to have served as a model to the latter work; also (anon.) in 1634, Discours de la Possession des Religieuses Ursulines de Loudun, an investigation of the supposed cases of demoniacal possession among the Ursuline nuns of Loudun. The phenomena had been attributed to the sorcery of Urbain Grandier, curé and canon of Loudun, who had been burned at the stake in consequence. Duncan explained them, at much risk to himself, as the result of melancholy. He is said to have been shielded from the vengeance of the clergy only by the influence of the wife of the Maréchal Urbain de Maillé-Brézé, then governor of Saumur. This work elicited an answer in the shape of a Traité de la Mélancholie by the Sieur de la Menardière, and that in its turn an Apologie pour Mr. Duncan, Docteur en Médecine, dans laquelle les plus rares effects de la Mélancholie et de l'imagination sont expliquez contre les reflexions du Sieur de la Mre par le Sieur de la F. M.. La Flèche (no date). Duncan also wrote a treatise entitled Aglossostomographie on a boy who continued to speak after he had lost his tongue, pronouncing only the letter "r" with difficulty. The faulty Greek of the title, which should have been Aglossostomatographie, was very severely criticised in prose and verse by a rival physician of Saumur, named Benoit. Family Mark Duncan married Suzanne Gorin or Gorrin at the Protestant temple in Saumur on 7 January 1611. They had three sons and three daughters who survived childhood. The three sons were Mark Duncan de Cérisantis; François Duncan, Sieur de Saint Helène, b.1617 in Saumur, d.1697 in London; and Jean or John Duncan, Sieur de Montfort, b.1624 in Samur, entered the service of Queen Christina of Sweden, d.1646 in Stockholm. The three daughters were Guillonne (1612-1670), Rachel (b.1613) and Claude (1619-c.1684). After the Revocation of the Edict of Nantes in 1685, Mark and Suzanne's granddaughter Suzanne Martin, daughter of their daughter Rachel, differed in opinion so strongly from her husband Moïse Poitevin, of another large Saumur Protestant family, that they separated: he abjured and stayed in France, but she left c. mid-1688, first to England, where she did her "reconnaissance" at Leicester Fields Huguenot Church, then to Rotterdam where she bore her last-born, Paul Poitevin, in December 1688, whose godfather was Pierre de Monnery, father-in-law of minister and pastor Daniel de Superville. Notes References Attribution Endnotes: Bayle's Dictionary Hist. et Crit. (ed. 1820), art. 'Cérisantis Mémoires du Duc de Guise (Petitot), i. 62, 211–14, 225–6, 271, 364, ii. 48 Anderson's Scottish Nation British Museum Catalogue Watt's Bibl. British Les Réformés de Saumur au Temps de l’Édit de Nantes, par Jean Luc Tulot avec la collaboration de Bernard Mayaud, 2001 1640 deaths Year of birth uncertain Scottish philosophers 17th-century Scottish medical doctors
The 1965 Lowood 4 Hour was an endurance motor race held at the Lowood circuit in Queensland, Australia on 28 March 1965. The race, which was organised by the Queensland Racing Drivers Club, was the second annual Lowood 4 Hour. It was open to Production Touring Cars which had been manufactured after 28 March 1961, 100 examples of which had been registered in Australia by the closing date for entries. The field was divided into four classes according to the retail price of each vehicle. There were 33 starters in the event. Although the Morris Cooper S driven by John Harvey and Brian Foley took "line honours", outright results were not officially recognised and official results were only issued for class placings. Results Note: Car 51 was eligible for the race under a Lowood pro-rata clause. References Further reading Lowood's 4-hour lap charts to be checked, The Courier Mail, Monday, 29 March 1965, pages 17 Wins to Cortinas & Morris, The Courier Mail, Thursday, 1 April 1965, page 22 Lowood 4 Hour Lowood 4 Hour
Bereket Simon (; born 1960s) is an Ethiopian politician who had served as Communications Minister for the ruling Ethiopian People's Revolutionary Democratic Front (EPRDF), of which he was a founding member. He underwent medical treatment in Saudi Arabia financed by the billionaire Mohammed Alamudin. He was a close friend of former prime minister Meles Zenawi since their University days. He was widely considered as Meles Zenawi's right-hand man. Personal life Bereket was born in Dabat to an Eritrean family. As he was in high school in 1978, he was likely born in the 1960s. Legal issues On 23 January 2019, Bereket was arrested by the Amhara Region government in relation to corruption along with Tadesse Kassa, a civil servant. On 8 May 2020, Bereket was convicted of corruption and sentenced to six years of prison. Tadesse Kassa, a former TIRET Corporation board member, was also convicted. However, after serving probation in prison located in Bahir Dar, the government released him on account of parole on 25 January 2023. According to his defense lawyer Hiwot Lilay, Bereket should be released in September 2022 for his one-third of jail term in accordance with the regional law, despite having no opportunity to him. References External links Walta information Interview with Simon Bereket Simon Writes a Book on the Past Two Elections Ethiopian People's Revolutionary Democratic Front politicians Living people Year of birth missing (living people)
Pantón is a municipality of northwestern Spain, in the province of Lugo; in a mountainous district, watered by the rivers Miño, Cabe and Sil River. Its population in 2002 was 3,377. Livestock is extensively reared, and large quantities of wheat, wine, oats, and potatoes are produced. The other industries are distilling and linen manufacture. The nearest railway station is 6 mi. east, at Monforte de Lemos. References Municipalities in the Province of Lugo
```smalltalk using UnityEngine; using System.Collections.Generic; using LuaInterface; public class AccessingLuaVariables : MonoBehaviour { private string script = @" print('Objs2Spawn is: '..Objs2Spawn) var2read = 42 varTable = {1,2,3,4,5} varTable.default = 1 varTable.map = {} varTable.map.name = 'map' meta = {name = 'meta'} setmetatable(varTable, meta) function TestFunc(strs) print('get func by variable') end "; void Start () { #if UNITY_5 || UNITY_2017 Application.logMessageReceived += ShowTips; #else Application.RegisterLogCallback(ShowTips); #endif new LuaResLoader(); LuaState lua = new LuaState(); lua.Start(); lua["Objs2Spawn"] = 5; lua.DoString(script); //LuaState Debugger.Log("Read var from lua: {0}", lua["var2read"]); Debugger.Log("Read table var from lua: {0}", lua["varTable.default"]); //LuaState table LuaFunction func = lua["TestFunc"] as LuaFunction; func.Call(); func.Dispose(); //cacheLuaTable LuaTable table = lua.GetTable("varTable"); Debugger.Log("Read varTable from lua, default: {0} name: {1}", table["default"], table["map.name"]); table["map.name"] = "new"; //table key Debugger.Log("Modify varTable name: {0}", table["map.name"]); table.AddTable("newmap"); LuaTable table1 = (LuaTable)table["newmap"]; table1["name"] = "table1"; Debugger.Log("varTable.newmap name: {0}", table1["name"]); table1.Dispose(); table1 = table.GetMetaTable(); if (table1 != null) { Debugger.Log("varTable metatable name: {0}", table1["name"]); } object[] list = table.ToArray(); for (int i = 0; i < list.Length; i++) { Debugger.Log("varTable[{0}], is {1}", i, list[i]); } table.Dispose(); lua.CheckTop(); lua.Dispose(); } private void OnApplicationQuit() { #if UNITY_5 || UNITY_2017 Application.logMessageReceived -= ShowTips; #else Application.RegisterLogCallback(null); #endif } string tips = null; void ShowTips(string msg, string stackTrace, LogType type) { tips += msg; tips += "\r\n"; } void OnGUI() { GUI.Label(new Rect(Screen.width / 2 - 300, Screen.height / 2 - 200, 600, 400), tips); } } ```
The Kaiser-Joseph-Straße (often shortened to Kajo) in Freiburg im Breisgau is a shopping street of about 900 meters, which runs through the center of Freiburg's historic downtown from north to south. It is one of the most expensive locations in Germany. Location and traffic The street begins in the north of Freiburg at Siegesdenkmal, which is located on the outskirts of the historic city center. From the central street crossing, at Bertoldsbrunnen, Bertoldstraße branches off westwards and Salzstraße eastwards. On the southern outskirts of the historical city center Kaiser-Joseph-Straße passes through the Martinstor gate and continues on to Kaiserbrücke, which crosses the Dreisam. Like many other streets in downtown Freiburg, Kaiser-Joseph-Straße has a Bächle. Most of the buildings between Siegesdenkmal and Martinstor were completely destroyed in World War II during an air raid on 27 November 1944. Because of the tram, which opened in 1901, the people in charge had to build arcades into the buildings on either side of the street in order to create more space for pedestrian and other traffic, so the tram could continue passing through the Kaiser-Joseph-Straße. Traffic was regulated by traffic lights located at Bertoldsbrunnen. In November 1972, the street became one of the first traffic-calmed areas for pedestrians in Germany. Only tramline 2 (Zähringen-Günstertal), tramline 3 in the south (Vauban-Haid), as well as tramline 5 (Rieselfeld-Hornusstraße) and certain delivery vehicles are allowed to use this street now. These restrictions do not affect the part of Kaiser-Joseph-Straße which is located south of Martinstor. History The Kaiser-Joseph-Straße was originally called the "Große Gass" (big alley), where a weekly market was held in medieval times. This is the reason for the great width compared to other streets in historic downtown. In the 15th century the weekly market was relocated to the area in front of the Freiburg Minster. The connection between the "Große Gass" and the settlements outside the city walls – in the form of the Martinstor – was severed in the 17th century when Sébastien Le Prestre de Vauban had the city fortified and the settlements outside the city walls leveled. Salzstraße was then used as an access road from Höllental. For the bridal procession of the future French Queen Marie Antoinette, consisting of 235 people, 57 wagons and 250 draft and saddle horses, however, the street was not wide enough. In order to give her a welcome which befitted her social status in spite of this, it was decided that she was to enter the city through the gateway called Breisacher Tor via Gartenstraße on 4 May 1770. For this reason two new streets, "Dreisamstraße" and "Schreiberstraße", were built on the northern bank of the Dreisam. Three arcs of triumph were constructed in honor of the Dauphin of France by three of the city’s greater organisations: one by the City of Freiburg erected at the "Karlskaserne", barracks near the town; one by the University where what is today the Old City Hall (Altes Rathaus) and one by the representation of the estates of the realm on "Große Gass". The latter was the biggest of them, measuring 24 meters in height and 18 meters in width. The arc was constructed by Johann Christian Wentzinger, using only wood and plaster. Marie Antoinette stayed at the Kageneckschen House, a locally well-known landmark, on Salzstraße, right before moving on to Schuttern Abbey on the morning of May 6. After a visit from Joseph II in 1777, the thoroughfare was renamed "Kaiserstraße" in his honor. Around 1840, the thoroughfare was extended southwards, starting from the Martinstor down to the Dreisam. This section was initially named "Stephanienstraße" in honor of Stéphanie de Beauharnais, Grand Duchess of Baden. As a result, the new quarter built in this context was named "Stephanien-Vorstadt". At the turn of the century, there were two wells on the thoroughfare: the "Fischbrunnen" (German for "Fish Well") from the 16th century, which was superseded by the Bertoldsbrunnen in 1806, and the Albert-Ludwig-Brunnen by Josef Alois Knittel from 1868. It was located close to the Siegesdenkmal on the former Kaiser-Wilhelms-Platz. During the time of National Socialism the entirety of the Kaiserstraße, including its extensions to the north (Zähringerstraße) and to the south (Günterstalstraße), was renamed Adolf-Hitler-Straße. After the Second World War the part that led from the city center to the Dreisam was called Kaiser-Joseph-Straße, while the northern part of the former Adolf-Hitler-Straße was given the name of Habsburgerstraße, in reference to the Habsburg descent of the emperor. In order to keep the established house numbers, however, today they start at 143 on the east side and at 166 on the west side of the Kaiser-Joseph-Straße. Numerous branches of big trading companies own offices on this street. In the 1970s there were five department stores here, at the beginning of the 21st century only two remained. Basler Hof, which was built by Konrad Stürtzel as a residence in the 15th century, is the only building without any commercial use nowadays. It is one of the most important secular buildings in Freiburg. The name derives from the Basel cathedral chapter who used the residence from 1587 to 1677 when they were forced to relocate to Freiburg as a result of the Reformation in their home town. It currently serves as the representative official residence of Freiburg's district president. The Kaiser Bridge, which originates from the turn of the century and is located at the other end of the Kaiser-Joseph-Straße, used to be decorated with bronze statues of the Salian Henry V. and Frederick Barbarossa of the House of Hohenstaufen, created by Julius Seitz, as well as statues of Rudolf of Habsburg and Maximilian I., by Fridolin Dietsche. In 1942 they were dismantled and taken to Hamburg to be melted down. Although this did not happen until the war had ended, the municipal council voted down a potential recall of the statues in 1950 because of the potentially substantial transport costs. The statues' foundations can still be seen today. References Tourist attractions in Freiburg im Breisgau Transport in Freiburg im Breisgau Shopping districts and streets in Germany
Eugenia Eduardova (1882 – 10 December 1960) was a Russian ballet dancer and teacher. Biography Eduardova was born in Saint Petersburg in 1882. She trained as a dancer and performed in Petipa ballets with the Mariinsky Ballet from 1901 to 1917. She danced with Anna Pavlova before she moved to Berlin. Eduardova also acted, appearing in a German silent film, Wandering Souls, in the 20s. Eduardova opened her own dance studio after working as the ballet master for Grosse Volksoper. In 1935 she was forced to leave Germany. Initially she moved to Paris before moving to the United States. Eduardova trained Vera Zorina, George Skibine, Alexander von Swaine and Yuri Algaroff. Eduardova married Alexei Davidov. Eduardova died 10 December 1960, in New York. Sources 1882 births 1960 deaths Mariinsky Ballet dancers 19th-century ballet dancers from the Russian Empire Russian ballerinas ballet teachers 20th-century Russian ballet dancers
The Louisville Shooting Stars were a minor league professional ice hockey team that played in the International Hockey League during the 1953–54 season. The Shooting Stars were based in Louisville, Kentucky and played at the Louisville Gardens. Season-by-season results See also Sports in Louisville, Kentucky External links 1953–54 statistics Defunct sports clubs and teams in Louisville, Kentucky International Hockey League (1945–2001) teams Defunct ice hockey teams in the United States Ice hockey clubs established in 1953 Ice hockey teams in Kentucky Ice hockey clubs disestablished in 1954 1953 establishments in Kentucky 1954 disestablishments in Kentucky
Aldo Osborn "Al" Richins (November 2, 1910 – April 19, 1995) was a Mexican-American American football wingback who played one season with the Detroit Lions of the National Football League. He is distinguished as being the first Mexican to play in the National Football League. Early years Richins attended West High School in Salt Lake City, Utah, where he received "Athlete of the Year" honors in 1929. He was later inducted into the West High School "Hall of Fame. He played college football at University of Utah, and was a part of the 1932 and 1933 Rocky Mountain Athletic Conference champions. He received the school's most outstanding athlete of the year award in 1934. Professional career In 1935, he signed with the Detroit Lions of the National Football League. He played as a wingback and was released after 2 games. In 1946 at 36 years old, he played for the Salt Lake Seagulls of the Pacific Coast Football League. Personal life After football, he joined the Salt Lake County Sheriff's Office, before owning a motel and a restaurant. He died on April 19, 1995. References External links Just Sports Stats 1910 births 1995 deaths Players of American football from Salt Lake City American football running backs Mexican players of American football Utah Utes football players Detroit Lions players Sportspeople from Chihuahua (state)
```go // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package ioteventsdata provides the client and types for making API // requests to AWS IoT Events Data. // // IoT Events monitors your equipment or device fleets for failures or changes // in operation, and triggers actions when such events occur. You can use IoT // Events Data API commands to send inputs to detectors, list detectors, and // view or update a detector's status. // // For more information, see What is IoT Events? (path_to_url // in the IoT Events Developer Guide. // // See path_to_url for more information on this service. // // See ioteventsdata package documentation for more information. // path_to_url // // # Using the Client // // To contact AWS IoT Events Data with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. // These clients are safe to use concurrently. // // See the SDK's documentation for more information on how to use the SDK. // path_to_url // // See aws.Config documentation for more information on configuring SDK clients. // path_to_url#Config // // See the AWS IoT Events Data client IoTEventsData for more // information on creating client for this service. // path_to_url#New package ioteventsdata ```
```xml export * from '@fluentui/utilities'; import { Async } from '@fluentui/utilities'; declare function setTimeout(cb: Function, delay: number): number; // Known issue with jest's runAllTimers and debounce implementations resulting in // "Ran 100000 timers, and there are still more! Assuming we've hit an infinite recursion and bailing out..." // path_to_url // Mock impl inspired from issue. class MockAsync extends Async { private _timeoutId: number | undefined; public debounce(callback: Function, timeout: number) { this._timeoutId = undefined; const debounced = (...args: any[]) => { if (this._timeoutId) { clearTimeout(this._timeoutId); this._timeoutId = undefined; } // Callback functions throughout repo aren't binding properly, so we have to access // Async's private _parent member and invoke callbacks the same way Async.debounce does. const invokeFunction = () => callback.apply((this as any)._parent, args); this._timeoutId = setTimeout(invokeFunction, timeout); }; const cancel = () => { if (this._timeoutId) { clearTimeout(this._timeoutId); this._timeoutId = undefined; } }; (debounced as any).cancel = cancel; return debounced as any; } public dispose() { if (this._timeoutId) { clearTimeout(this._timeoutId); } this._timeoutId = undefined; super.dispose(); } protected _logError(e: any) { super._logError(e); // Don't eat errors thrown from async callbacks throw e; } } export { MockAsync as Async }; ```
Karandeh Chal (, also Romanized as Kārandeh Chāl; also known as Kārand Chāl and Randeh Chāl) is a village in Rudbar-e Mohammad-e Zamani Rural District, Alamut-e Gharbi District, Qazvin County, Qazvin Province, Iran. At the 2006 census, its population was 179, in 54 families. References Populated places in Qazvin County
The Pacific parakeet (Psittacara strenuus), known as Pacific conure or Nicaraguan green conure in aviculture, is a species of bird in subfamily Arinae of the family Psittacidae, the African and New World parrots. It is found in southern Mexico, Guatemala, El Salvador, Honduras, and Nicaragua. Taxonomy and systematics The Pacific parakeet was for a time placed in the genus Aratinga but from about 2013 has been in its present genus Psittacara. Its taxonomy is otherwise unsettled. The International Ornithological Committee, the American Ornithological Society, and the Clements taxonomy treat it as a full, monotypic, species. BirdLife International's Handbook of the Birds of the World (HBW) considers it to be a subspecies of the green parakeet (P. holochlorus). Description The Pacific parakeet is about long. The sexes are alike. Adults are generally olive green that is slightly yellowish on the underparts; some have red speckles on their neck. The undersides of their flight feathers and tail are olive-yellow. Their iris is orange-red surrounded by bare pale beige skin, their bill horn colored, and their legs and feet brownish. Distribution and habitat The Pacific parakeet is found on the Pacific slope from southern Mexico's Oaxaca state south through Guatemala, El Salvador, and Honduras into central Nicaragua. It inhabits a variety of woodland landscapes including deciduous, semi-deciduous, and evergreen; gallery forest; swamp forest; and arid scrublands. It also occurs in upland pine-oak forest and in urban parks and gardens. In elevation it ranges from sea level to . Behavior Movement The Pacific parakeet is non-migratory but makes local movements in response to food availability. Feeding The Pacific parakeet's diet has not been fully documented but is known to include seed and fruits. It can be a crop pest. Flocks may exceed 100 individuals. Breeding The Pacific parakeet's breeding biology is not well known. It has been documented nesting in rock crevices and cavities in earthen banks; it probably also nests in cavities in trees and termitaria. Its breeding season appears to include June to September. Vocalization The Pacific parakeet's flight call is rendered as "kreh!-kreh!-kreh!-kreh!...". Its perched call is lower pitched, "a scratchy kreeh-kreeh-kreeh-kreei-kreei". Status The IUCN follows HBW taxonomy and so includes the Pacific parakeet in its assessment of the green parakeet as being of Least Concern. It has estimated that the combined population numbers about 200,000 mature individuals and is decreasing. No immediate threats have been identified. It is thought to be fairly numerous in parts of its range and occurs in at least two protected areas. References Pacific parakeet Pacific parakeet Birds of Nicaragua Pacific parakeet Taxa named by Robert Ridgway
Opera is an art form in which singers and musicians perform a dramatic work (called an opera), which combines a text (called a libretto) and a musical score. Opera is part of the Western classical music tradition. While the scale of opera can be larger or smaller—there are many different genres of opera—performance typically involves different types of artist (singers, instrumentalists and often dancers and actors) and technical staff. Usually an orchestra led by a conductor accompanies the singers. In contrast to spoken theatre, the opera world is international. Italian, German, French, English, and Russian works are performed worldwide in their original languages, and artists travel from country to country performing. The following is a list of articles on general opera topics: Essence of opera History of opera Origins of opera Querelle des Bouffons Opera in different national traditions Operas have been written in a diversity of languages with many countries or regions developing their own operatic style, tradition and history. Component parts Overture French Italian Aria Aria di sorbetto Arioso Cabaletta Cantabile Catalogue aria Da capo aria Insertion aria Rage aria Cavatina Intermezzo Mad scene Recitative Chorus Ballet Operatic genres Over the centuries, the original form of opera, as established by Claudio Monteverdi and his contemporaries, has diversified into distinct and recognisable genres, in addition to the national traditions listed above. These include, but are not limited to, the following. Azione teatrale Ballad opera Chamber opera Comic opera Dramma giocoso Duodrama Farsa Festa teatrale Grand opera Literaturoper Monodrama Music drama Opéra-ballet Opera buffa Opéra bouffe Opéra bouffon Opéra comique Opéra féerie Opera semiseria Opera seria Operetta Pasticcio Pastorale héroïque Radio opera Rescue opera Romantische Oper Sainete Savoy opera Science fiction opera Semi-opera Singspiel Spieloper Tragédie en musique Verismo Zarzuela Zeitoper General opera concepts Music concepts relevant to opera Concert version Libretto Electronic libretto Offstage instrument or choir part Tessitura Vocal range Vocal weight Voice type, the classification of singers by the range, weight, and color of their voices Theatre concepts relevant to opera Opera house Auditorium Box Gallery Backstage facilities Green room Orchestra pit Stage Fly system Footlight Prompt corner Revolving stage Safety curtain Stage curtain Star trap People in opera Opera composers, librettists, directors List of major opera composers – an annotated compilation of the most frequently named composers on ten lists by opera experts. List of opera librettists – inclusive list of libretto writers. List of opera directors (in the sense of stage director, not general manager or general director (often also called opera director). Opera singers categories Boy soprano Soprano Coloratura Soubrette Lyric Spinto Dramatic Soprano sfogato Mezzo-soprano Contralto (Alto) Castrato Countertenor Sopranist Tenor Haute-contre Tenore contraltino Tenore di grazia Baritenor Baritone Bass-baritone Bass Basso profondo Participants in opera The participants in an opera performance are similar to, but more specialized than those in other theatrical productions. Opera performers are at the same time both singers and actors, and often dancers as well. Other participants are: Opera lists List of Christmas operas List of fictional literature featuring opera List of films based on operas List of historical opera characters List of important operas – an annotated chronological list of operas which are included for their historical significance or widespread popularity (or both). List of opera festivals List of opera genres List of opera houses – lists opera houses by name (or name of performing arts centres in which they are located, if appropriate and best known that way). List of operas by composer – an extended list of more than 2,300 works by more than 720 composers. List of operas by title – an alphabetical list by title of operas with Wikipedia articles. List of operas set in the Crusades List of Orphean operas – list of operas dealing with the myth of Orpheus. List of radio operas List of television operas Lists of opera companies Opera discographies Opera discographies Books about opera The Complete Opera Book The New Grove Dictionary of Opera Opera and Drama Films about opera Il Bacio di Tosca Karajan: The Maestro and His Festival Pappano's Essential Ring Cycle This is Opera Wagner's Dream See also Glossary of music terms – list of music topics, with definitions for ease of reference Country house opera Opera film References Additional sources Warrack, John and West, Ewan (1992), The Oxford Dictionary of Opera, 782 pages, External links Operabase – database for opera companies, artists, managers and performances OperaGlass – a resource at Stanford University including libretti, source texts, performance histories, synopses, discographies and lists of rôle creators. Operissimo – resource for composers and works as well as houses, companies and artists.
Tetrakis(acetonitrile)copper(I) hexafluorophosphate is a salt with the formula [Cu(CH3CN)4]PF6. It is a colourless solid that is used in the synthesis of other copper complexes. The cation [Cu(CH3CN)4]+ is a well-known example of a transition metal nitrile complex. Structure As confirmed by X-ray crystallographic studies, the copper(I) ion is coordinated to four almost linear acetonitrile ligands in a nearly ideal tetrahedral geometry. Similar complexes with other anions including the perchlorate, tetrafluoroborate, and nitrate are known. Synthesis The cation was first reported in 1923 with a nitrate anion as a byproduct of the reduction of silver nitrate with a suspension of copper powder in acetonitrile. [Cu(CH3CN)4]PF6 is generally produced by the addition of HPF6 to a suspension of copper(I) oxide in acetonitrile: Cu2O + 2 HPF6 + 8 CH3CN → 2 [Cu(CH3CN)4]PF6 + H2O The reaction is highly exothermic, and may bring the solution to a boil. Upon crystallization, the resulting microcrystals should be white, though a blue tinge is common, indicating the presence of Cu2+ impurities. Reactions and applications The acetonitrile ligands protect the Cu+ ion from oxidation to Cu2+, but are rather poorly bound: with other counterions, the complex forms di- and tri-acetonitrilo complexes and is also a useful source of unbound Cu(I). Water-immiscible organic nitriles have been shown to selectively extract Cu(I) from aqueous chloride solutions. Through this method, copper can be separated from a mixture of other metals. Dilution of acetonitrile solutions with water induces disproportionation: 2 [Cu(CH3CN)4]+ + 6 H2O → [Cu(H2O)6]2+ + Cu + 8 CH3CN References Copper complexes Hexafluorophosphates
The Chronicles of Narnia: Prince Caspian is an action-adventure video game developed by Traveller's Tales to coincide with the theatrical release of the film of the same name. It was released for the Nintendo DS, Xbox 360, PlayStation 2, Wii, Microsoft Windows and PlayStation 3 on 15 May 2008 in North America to mixed reception. The DS version was also the first game to implement Disney's DGamer online chat service. As of 2023, it is the last Traveller's Tales game to be developed outside of LEGO video games. A significant feature has William Moseley, Skandar Keynes, Anna Popplewell, Georgie Henley, Ben Barnes, Vincent Grass, Peter Dinklage, and Cornell S. John reprising their roles from the film. Plot One year has passed in the real world since the first adventure ended, but in Narnia, almost 1300 years have passed. The villainous King Miraz prevents the rightful heir, his young nephew, Prince Caspian, from ruling the land of Narnia. Caspian uses Susan's magic horn that was left in Narnia to summon the four Pevensies and a small army of Old Narnians to help him reclaim his rightful throne, and find Aslan. Puzzles need to be solved to progress through the game and unlock bonus material. Featuring 20 playable characters, of which 4 are available in each level, each character uses different weapons and abilities. These Include: The Pevensie children, Prince Caspian, Glenstorm, Trumpkin, Dr. Cornelius, Reepicheep, Giant Wimbleweather, Tyrus the Satyr, and Asterius the Minotaur. In addition to these, several unnamed characters are also playable, including Trees, Fauns, Centaurs, Gryphons and horses. They can also be controlled after they have been mounted by the player's character. Bonus material is, however, primarily unlocked by opening Treasure Chests, which require a certain number of keys to be opened. Development Walt Disney Pictures recorded one exclusive scene for the game that does not appear in the motion picture. The bonus scene depicts Cornelius telling Caspian about the Pevensies, the Narnians and the war. Reception The game was met with average to mixed reviews upon release. GameRankings and Metacritic gave it a score of 52.22% and 54 out of 100 for the DS version; 60% and 53 out of 100 for the PC version; 75% and 67 out of 100 for the PlayStation 2 version; 59.12% and 56 out of 100 for the PlayStation 3 version; 61.78% and 56 out of 100 for the Xbox 360 version; and 68.75% and 63 out of 100 for the Wii version. References External links Official site 2008 video games Action-adventure games Cooperative video games Disney video games Nintendo DS games PlayStation 2 games PlayStation 3 games PlayStation Network games Prince Caspian Video games based on adaptations Traveller's Tales games Video games based on films Video games scored by David Whittaker Video games scored by Mark Griskey Video games developed in the United Kingdom Wii games Windows games Xbox 360 games The Chronicles of Narnia (film series) Multiplayer and single-player video games
Prairie City is a ghost town in southeast Douglas County, Kansas, United States, near present-day Baldwin City. History Prairie City was founded in 1855 by James Lane, Dr. William Graham, Louis (Lewis) F. Green and Salmon S. Prouty after a dispute between Graham and Henry Barricklow of nearby Palmyra. A post office opened in 1856 with John R. Winton serving as postmaster. The Heber Institute was started by the Protestant Episcopal Church in 1856 but never opened. The building became Prairie City School District No. 1. The first printing press in Kansas was used in Prairie City by Prouty to publish The Freeman's Champion which ran for 40 weeks. Prouty bought the press in 1857 from the Ottawa Baptist Mission in Franklin County. Prouty would leave Prairie City in 1868 and move to Topeka where he would found the Topeka Journal which would later merge to become the Topeka Capital-Journal Prairie City was incorporated on February 4, 1859 and at one time had three general stores and three hotels. Prairie City was the rendezvous point for John Brown and his men the night before initiating the Battle of Black Jack. When the Leavenworth, Lawrence and Fort Gibson laid tracks through the area, there was a depot at Baldwin and two miles southwest at Prairie City. Thinking that was impractical, a new depot was built between the two towns and named "Media". The Prairie City post office, opened in 1856, was moved to Media in 1878, and was finally closed in 1903. The Media library was used as a tool shed in the Prairie City Cemetery for years until being torn down in 2012. On March 24, 1883, Douglas County commissioners had certain streets and alleys vacated. Today, little remains to mark the city except a few houses, a cemetery and the ruins of an old Catholic church. The Midland Railway from Baldwin passes by a sign pointing out where the depot, newspaper, post office and store used to be. References Further reading Former populated places in Douglas County, Kansas Former populated places in Kansas
Every Day Life, later simply known as EDL, was a Christian rapcore group. The band became identified with the straight edge movement, which advocates abstinence from sex, drugs and tobacco. The band's first two albums were pulled from Christian bookstores. Their videos were played on MTV, their albums entered the college radio charts, and they were nominated for a Dove Award. The Encyclopedia of Contemporary Christian Music describes the band as having been "the first group in Christian music to address political issues in a responsible manner." The band wrote about issues of social and economic justice within Christianity and in the larger world. Larry Norman was an influence for the band, with the lyricist telling one interviewer that "He wrote about the issues... just as Steve Taylor did, and just as Rez Band did when they started. These artists who originally started talking about the issues of Christianity now have no place in the market, because now the market has become songs of confirmation. And it almost makes it seem as though something we're doing is unheard of, and maybe not even Christian." HM jokingly remarked that the Chick tract "Angles?", which describes the evils of Christian rock, had been inspired by the band. History EDL was founded in 1992 as Every Day Life in Southern California. Early on the band signed to R.E.X. Records and laid down some material for an album. However, the label went defunct before releasing any EDL material. After being released from that contract, they signed with Alarma Records and produced their debut album, Disgruntled. Frontman Cookerly reported that "when I got into the studio, I got upset and angry and yelled my way through it ... My goal was to write the most upset record the Christian market had ever seen, to completely alienate everybody." Production was managed by Lanny Cordola. In addition to sporting an American Flag with the band's name cut out, the cover image of Disgruntled shows a scene from the attack on Reginald Denny, part of the Los Angeles riots of 1992. The flag was intended to represent the broken ideal of American life, and the photo to be a graphic portrayal of the extremes of life and society. One reviewer said that the album's blend of musical styles "Can seriously affect your blinkered ideas on what Christian music should sound like." Their debut album contained a cover of the Gil Scott Heron song "Whitey on the Moon" (with guests Gospel Gangstaz) that used the word "nigga". Lyrically, the artist described most of their debut as being "super-personal." On one song, the lyricist dealt with his own childhood. His mother, addicted to prescription drugs and alcohol, and depressed, had told him several times to commit suicide. American Standard contains lyrics on the topics of rape, the exploitation of Native Americans, as well as the dark sides of the music business and church politics. HM described it as having "insurgent lyrics and subversive undertones that challenged the status quo of our society." The band received criticism from churches for their unusual sound and the content of their albums. In one incident after a show, frontman Cookerly was surrounded by a crowd of Bible-bearing teenagers who told him that his actions were a reflection of what the Antichrist would do. "I cried a lot that night," Cookerly reported. One specific criticism of the band was that they do not often use "God" or "Jesus" in their lyrics. On that topic frontman Cookerly stated "It has never been our position that Christ would be prostrated to gain industry status and give foundation to our [bands'] Christianity... Why, just for the sake of using his name, should I say Jesus?" "[The] fact is this," Cookerly told 7ball, "some bands are called to be a praise band like The Supertones, and some are called to educate Christians like The Blamed, and we are here to bear witness to the disenfranchised." American Standard was named for the toilet manufacturer. The album contains social criticism aimed at society, as explained by the lyricist: "our standards have slipped. They're crap. And without getting too vulgar, we as a society piss out all this hypocrisy." The criticisms also extend to Christian culture, "Christianity, we're in trouble, because Christianity for the typical white family isn't that [stereotype] anymore. It's a single parent family, it's still having to deal with alcoholism, it's still having to deal with drug abuse, it's still having to deal with date rape. And any of the things that the world dictates happens to the average white family that's Christian in American society... Our God is a wonderful, just and redeeming Jesus Christ, but people see the need to bring out all these unnecessarily. You know, the Word of God stands alone, and it almost seems as though they have to put powdered sugar on what's already sweet." Production of American Standard was handled by Mike Knott. One reviewer found that the songs "tend to mesh into one another, creating the 'one long song' effect... the best way to tell each separate track apart is the tempo and length of screams," but that that didn't detract from the musical or lyrical relevance of the album. Another commented that the album could set the standard for "Christian hard, heavy, and puncturing music." A reviewer in a more conservative publication disagreed, calling the lyrics "downright absurd" ramblings and criticized the album for the lack of direct references to Jesus. The song "Salt Circles" received a GMA Dove Award nomination in the "Hard Music Recorded Song of the Year" category in 1999. Their 2000 release Moment of Clarity marked a slight change in sound for the band - a turn toward a pop and rock oriented sound. HM found that change to be subtle, but enough to commercialize the music. After Moment of Clarity was released, the band was courted by major labels including Roadrunner Records. They eventually signed to a Universal imprint, but that deal folded when Universal restructured and eliminated that particular subsidiary. The band fell back to KMG, which had then been resurrected as Fashion Pop Records by Frank Chimento, releasing an eponymous album in 2001. Since this time nothing has been heard by EDL. Though there was no news on whether EDL has disbanded or just put on hiatus, Wilkins, Weaver and guitarist Mike Nociasa had all joined Klank's live lineup. The band more recently has reunited for shows in 2017. Discography 1996: Disgruntled (Alarma Records) 1997: American Standard 2000: Moment of Clarity (KMG Records) 2001: Every Day Life (Fashion Pop) Members Current Tedd Cookerly – vocals Carl Weaver – guitar Eric Wilkins – drums (Klank) Jim "KingSize" Rupe – bass guitar (ex-Focused) Former Jason Bowen – bass guitar (ex-Overcome) Jensen Tripp – bass guitar The Nayt – guitar Michael "Oxx" Albright – bass guitar Jeff Elbel – bass Mike Nocosia – guitar Shawn Pawling – guitar Evan Stromberg – guitar Scott "DJ Cool Rock" Silleta References Christian rock groups from California Rapcore groups Musical groups established in 1992
```forth *> \brief \b DGTT05 * * =========== DOCUMENTATION =========== * * Online html documentation available at * path_to_url * * Definition: * =========== * * SUBROUTINE DGTT05( TRANS, N, NRHS, DL, D, DU, B, LDB, X, LDX, * XACT, LDXACT, FERR, BERR, RESLTS ) * * .. Scalar Arguments .. * CHARACTER TRANS * INTEGER LDB, LDX, LDXACT, N, NRHS * .. * .. Array Arguments .. * DOUBLE PRECISION B( LDB, * ), BERR( * ), D( * ), DL( * ), * $ DU( * ), FERR( * ), RESLTS( * ), X( LDX, * ), * $ XACT( LDXACT, * ) * .. * * *> \par Purpose: * ============= *> *> \verbatim *> *> DGTT05 tests the error bounds from iterative refinement for the *> computed solution to a system of equations A*X = B, where A is a *> general tridiagonal matrix of order n and op(A) = A or A**T, *> depending on TRANS. *> *> RESLTS(1) = test of the error bound *> = norm(X - XACT) / ( norm(X) * FERR ) *> *> A large value is returned if this ratio is not less than one. *> *> RESLTS(2) = residual from the iterative refinement routine *> = the maximum of BERR / ( NZ*EPS + (*) ), where *> (*) = NZ*UNFL / (min_i (abs(op(A))*abs(X) +abs(b))_i ) *> and NZ = max. number of nonzeros in any row of A, plus 1 *> \endverbatim * * Arguments: * ========== * *> \param[in] TRANS *> \verbatim *> TRANS is CHARACTER*1 *> Specifies the form of the system of equations. *> = 'N': A * X = B (No transpose) *> = 'T': A**T * X = B (Transpose) *> = 'C': A**H * X = B (Conjugate transpose = Transpose) *> \endverbatim *> *> \param[in] N *> \verbatim *> N is INTEGER *> The number of rows of the matrices X and XACT. N >= 0. *> \endverbatim *> *> \param[in] NRHS *> \verbatim *> NRHS is INTEGER *> The number of columns of the matrices X and XACT. NRHS >= 0. *> \endverbatim *> *> \param[in] DL *> \verbatim *> DL is DOUBLE PRECISION array, dimension (N-1) *> The (n-1) sub-diagonal elements of A. *> \endverbatim *> *> \param[in] D *> \verbatim *> D is DOUBLE PRECISION array, dimension (N) *> The diagonal elements of A. *> \endverbatim *> *> \param[in] DU *> \verbatim *> DU is DOUBLE PRECISION array, dimension (N-1) *> The (n-1) super-diagonal elements of A. *> \endverbatim *> *> \param[in] B *> \verbatim *> B is DOUBLE PRECISION array, dimension (LDB,NRHS) *> The right hand side vectors for the system of linear *> equations. *> \endverbatim *> *> \param[in] LDB *> \verbatim *> LDB is INTEGER *> The leading dimension of the array B. LDB >= max(1,N). *> \endverbatim *> *> \param[in] X *> \verbatim *> X is DOUBLE PRECISION array, dimension (LDX,NRHS) *> The computed solution vectors. Each vector is stored as a *> column of the matrix X. *> \endverbatim *> *> \param[in] LDX *> \verbatim *> LDX is INTEGER *> The leading dimension of the array X. LDX >= max(1,N). *> \endverbatim *> *> \param[in] XACT *> \verbatim *> XACT is DOUBLE PRECISION array, dimension (LDX,NRHS) *> The exact solution vectors. Each vector is stored as a *> column of the matrix XACT. *> \endverbatim *> *> \param[in] LDXACT *> \verbatim *> LDXACT is INTEGER *> The leading dimension of the array XACT. LDXACT >= max(1,N). *> \endverbatim *> *> \param[in] FERR *> \verbatim *> FERR is DOUBLE PRECISION array, dimension (NRHS) *> The estimated forward error bounds for each solution vector *> X. If XTRUE is the true solution, FERR bounds the magnitude *> of the largest entry in (X - XTRUE) divided by the magnitude *> of the largest entry in X. *> \endverbatim *> *> \param[in] BERR *> \verbatim *> BERR is DOUBLE PRECISION array, dimension (NRHS) *> The componentwise relative backward error of each solution *> vector (i.e., the smallest relative change in any entry of A *> or B that makes X an exact solution). *> \endverbatim *> *> \param[out] RESLTS *> \verbatim *> RESLTS is DOUBLE PRECISION array, dimension (2) *> The maximum over the NRHS solution vectors of the ratios: *> RESLTS(1) = norm(X - XACT) / ( norm(X) * FERR ) *> RESLTS(2) = BERR / ( NZ*EPS + (*) ) *> \endverbatim * * Authors: * ======== * *> \author Univ. of Tennessee *> \author Univ. of California Berkeley *> \author Univ. of Colorado Denver *> \author NAG Ltd. * *> \ingroup double_lin * * ===================================================================== SUBROUTINE DGTT05( TRANS, N, NRHS, DL, D, DU, B, LDB, X, LDX, $ XACT, LDXACT, FERR, BERR, RESLTS ) * * -- LAPACK test routine -- * -- LAPACK is a software package provided by Univ. of Tennessee, -- * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- * * .. Scalar Arguments .. CHARACTER TRANS INTEGER LDB, LDX, LDXACT, N, NRHS * .. * .. Array Arguments .. DOUBLE PRECISION B( LDB, * ), BERR( * ), D( * ), DL( * ), $ DU( * ), FERR( * ), RESLTS( * ), X( LDX, * ), $ XACT( LDXACT, * ) * .. * * ===================================================================== * * .. Parameters .. DOUBLE PRECISION ZERO, ONE PARAMETER ( ZERO = 0.0D+0, ONE = 1.0D+0 ) * .. * .. Local Scalars .. LOGICAL NOTRAN INTEGER I, IMAX, J, K, NZ DOUBLE PRECISION AXBI, DIFF, EPS, ERRBND, OVFL, TMP, UNFL, XNORM * .. * .. External Functions .. LOGICAL LSAME INTEGER IDAMAX DOUBLE PRECISION DLAMCH EXTERNAL LSAME, IDAMAX, DLAMCH * .. * .. Intrinsic Functions .. INTRINSIC ABS, MAX, MIN * .. * .. Executable Statements .. * * Quick exit if N = 0 or NRHS = 0. * IF( N.LE.0 .OR. NRHS.LE.0 ) THEN RESLTS( 1 ) = ZERO RESLTS( 2 ) = ZERO RETURN END IF * EPS = DLAMCH( 'Epsilon' ) UNFL = DLAMCH( 'Safe minimum' ) OVFL = ONE / UNFL NOTRAN = LSAME( TRANS, 'N' ) NZ = 4 * * Test 1: Compute the maximum of * norm(X - XACT) / ( norm(X) * FERR ) * over all the vectors X and XACT using the infinity-norm. * ERRBND = ZERO DO 30 J = 1, NRHS IMAX = IDAMAX( N, X( 1, J ), 1 ) XNORM = MAX( ABS( X( IMAX, J ) ), UNFL ) DIFF = ZERO DO 10 I = 1, N DIFF = MAX( DIFF, ABS( X( I, J )-XACT( I, J ) ) ) 10 CONTINUE * IF( XNORM.GT.ONE ) THEN GO TO 20 ELSE IF( DIFF.LE.OVFL*XNORM ) THEN GO TO 20 ELSE ERRBND = ONE / EPS GO TO 30 END IF * 20 CONTINUE IF( DIFF / XNORM.LE.FERR( J ) ) THEN ERRBND = MAX( ERRBND, ( DIFF / XNORM ) / FERR( J ) ) ELSE ERRBND = ONE / EPS END IF 30 CONTINUE RESLTS( 1 ) = ERRBND * * Test 2: Compute the maximum of BERR / ( NZ*EPS + (*) ), where * (*) = NZ*UNFL / (min_i (abs(op(A))*abs(X) +abs(b))_i ) * DO 60 K = 1, NRHS IF( NOTRAN ) THEN IF( N.EQ.1 ) THEN AXBI = ABS( B( 1, K ) ) + ABS( D( 1 )*X( 1, K ) ) ELSE AXBI = ABS( B( 1, K ) ) + ABS( D( 1 )*X( 1, K ) ) + $ ABS( DU( 1 )*X( 2, K ) ) DO 40 I = 2, N - 1 TMP = ABS( B( I, K ) ) + ABS( DL( I-1 )*X( I-1, K ) ) $ + ABS( D( I )*X( I, K ) ) + $ ABS( DU( I )*X( I+1, K ) ) AXBI = MIN( AXBI, TMP ) 40 CONTINUE TMP = ABS( B( N, K ) ) + ABS( DL( N-1 )*X( N-1, K ) ) + $ ABS( D( N )*X( N, K ) ) AXBI = MIN( AXBI, TMP ) END IF ELSE IF( N.EQ.1 ) THEN AXBI = ABS( B( 1, K ) ) + ABS( D( 1 )*X( 1, K ) ) ELSE AXBI = ABS( B( 1, K ) ) + ABS( D( 1 )*X( 1, K ) ) + $ ABS( DL( 1 )*X( 2, K ) ) DO 50 I = 2, N - 1 TMP = ABS( B( I, K ) ) + ABS( DU( I-1 )*X( I-1, K ) ) $ + ABS( D( I )*X( I, K ) ) + $ ABS( DL( I )*X( I+1, K ) ) AXBI = MIN( AXBI, TMP ) 50 CONTINUE TMP = ABS( B( N, K ) ) + ABS( DU( N-1 )*X( N-1, K ) ) + $ ABS( D( N )*X( N, K ) ) AXBI = MIN( AXBI, TMP ) END IF END IF TMP = BERR( K ) / ( NZ*EPS+NZ*UNFL / MAX( AXBI, NZ*UNFL ) ) IF( K.EQ.1 ) THEN RESLTS( 2 ) = TMP ELSE RESLTS( 2 ) = MAX( RESLTS( 2 ), TMP ) END IF 60 CONTINUE * RETURN * * End of DGTT05 * END ```
This is a list of prisons and jails in the U.S. state of Oregon. The incomplete list includes all local, state, federal, and any other detention facilities. Federal prisons Federal Correctional Institution, Sheridan (1,350 medium security, 480 minimum security) State prisons Coffee Creek Correctional Facility, Wilsonville (1,685 inmate capacity) Columbia River Correctional Institution, Portland (595 inmate capacity) Deer Ridge Correctional Institution, Madras (1,867 inmate capacity) Eastern Oregon Correctional Institution, Pendleton (1,659 inmate capacity) Mill Creek Correctional Facility, Salem (290 inmate capacity) (closed July 2021) Oregon State Correctional Institution, Salem (880 inmate capacity) Oregon State Penitentiary, Salem (2,194 inmate capacity) Powder River Correctional Facility, Baker City (366 inmate capacity) Santiam Correctional Institution, Salem (440 inmate capacity) Shutter Creek Correctional Institution, North Bend (260 inmate capacity) (closed December 2021) South Fork Forest Camp, Tillamook (200 inmate capacity) Snake River Correctional Institution, Ontario (3,050 inmate capacity) Two Rivers Correctional Institution, Umatilla (1,878 inmate capacity) Warner Creek Correctional Facility, Lakeview (496 inmate capacity) Youth correctional facilities Male Eastern Oregon Youth Correctional Facility, Burns (50 beds) MacLaren Youth Correctional Facility, Woodburn (271 beds) North Coast Youth Correctional Facility, Warrenton (50 beds) Rogue Valley Youth Correctional Facility, Grants Pass (100 beds) Tillamook Youth Correctional Facility, Tillamook County (50 beds) Oak Creek Youth Correctional Facility, Albany (75 beds) See also Lists of Oregon-related topics List of U.S. state prisons List of U.S. federal prisons Oregon Department of Corrections References External links Oregon Department of Corrections: Oregon Prisons OYA Facility Services - Oregon Youth Authority Prisons Oregon
Abdul Joshi (born 3 December 1983) is a Pakistani mountaineer who became the first climber in the world to summit the main Passu Cones peak in Pakistan's Gilgit-Baltistan on 14 August 2021. Abdul is known as the "Path Finder" amongst the local mountaineering fraternity for his talent of finding new, unclimbed routes. He is also the first person in the world to cross F.N./Joshi Pass and Verjerav Pass. On 16 April 2021, Abdul became the first Pakistani to summit Annapurna, the tenth highest peak in the world at , along with his climbing partner, Sirbaz Khan. On 16 May 2022, he became the eight Pakistani to summit Mount Everest. Abdul started his mountaineering career as a helper and high-altitude porter on mountain expeditions in Pakistan. He climbed his first peak, Manglik Sar (), at the age of 18. Abdul has also been involved in multiple high-altitude rescue operations. In June 2019, Abdul, who was at Camp 3 of Passu Cones, only from the summit, received news of an avalanche that had hit an Italian-Pakistani expedition on Melvin Jones Peak (). Abdul abandoned his expedition and joined a four-member team to rescue the stranded climbers. On 12 September 2021, Abdul led a successful rescue operation on Rakaposhi to retrieve three stranded climbers, two of which were Czech citizens climbing without permits. Mountaineering expeditions Passu Cones 14 August 2021 Annapurna 16 April 2021 Mount Everest 16 May 2022 References Living people Pakistani mountain climbers Pakistani summiters of Mount Everest People from Hunza-Nagar District 1983 births
Laura Anna Woodin Le Valley (1853 - December 9, 1918) was an American lawyer. Early life and family Laura Anna Woodin was born in Granville, New York, and was the only daughter of Daniel Woodin (d. 1883) and Sarah J.S. Palmer. Daniel Woodin was born in Oswego County, New York, about the year 1820. He was a tutor in the North Granvill Academy, New York, and in 1845 went to Michigan. He was a teacher for about twenty years and was for many years School Inspector of Macomb County, Michigan. He was elected Justice of Peace for three successive terms, which office he held at the time of his death. Her girlhood was spent in Romeo, Michigan, where she attended an institute of that place, and afterwards she became a student in Falley Seminary, Fulton, New York. She made a specialty of music, and entered Sherwood's Musical Academy, Lyons, New York, from which she was graduated. Career Soon after graduation, Laura A. Woodin Le Valley gained the reputation of a thorough instructor in instrumental music. Finding her services in demand in her father's office, she was appointed a notary public, and assisted him for several years, especially in the prosecution of United States claims. During that time she had much business experience and began the study of stenography. She commenced to study law, and, encouraged by her father, entered the law department of the University of Michigan in the fall of 1880, from which she was graduated in the class of 1882. She was a faithful student, made rapid progress, and had barely entered upon the work of the senior year, when she applied for admission to the bar, stood a rigid examination in open court, and was admitted to practice before the supreme court of Michigan on November 12, 1881. LeValley was a member of the Congregational Church, and for years was an active worker in the Sunday-school of that denomination. Personal life In the law school Laura A. Woodin first met her future husband, David W. LeValley, from the State of New York, then a senior in the law department in the class of 1881. David LeValley opened an office in Saginaw, Michigan, where they resided since their marriage, on December 28, 1882. Later they moved to 31 Lorraine Court, Pontiac, Michigan. For five years after her marriage she gave close attention to office work, her husband attending to matters in court, and they built up a profitable business. Since the birth of her daughter, Florence E., the nature of her employment was somewhat changed She was now the mother of two daughters. Since her marriage she, and her husband who was the author of the historical chart entitled "The Royal Family of England," spent nearly all their spare time in reading, chiefly history. They had two daughters, Mrs T.W. Widenmann and Sarah Le Valley. She died at Pontiac, Michigan, on December 9, 1918, aged 65. She was buried in Detroit, Michigan. References 1853 births 1918 deaths People from Granville, New York Wikipedia articles incorporating text from A Woman of the Century University of Michigan Law School alumni 19th-century American lawyers 19th-century American women lawyers
A History of Soviet Russia is a 14-volume work by E. H. Carr, covering the first twelve years of the history of the Soviet Union. It was first published from 1950 onward and re-issued from 1978 onward. The Bolshevik Revolution, 1917-1923, Volume 1. (1950) The Bolshevik Revolution, 1917-1923, Volume 2. (1952) The Bolshevik Revolution, 1917-1923. Volume 3. (1953) The Interregnum, 1923-1924. (1954) Socialism in One Country, 1924-1926, Volume 1. (1958) Socialism in One Country, 1924-1926, Volume 2. (1959) Socialism in One Country, 1924-1926, Volume 3, Part 1. (1963) Socialism in One Country, 1924-1926, Volume 3, Part 2. (1963) Foundations of a Planned Economy, 1926-1929, Volume 1, Part 1. (1969) Foundations of a Planned Economy, 1926-1929, Volume 1, Part 2. (1969) Foundations of a Planned Economy, 1926-1929, Volume 2. (1971) Foundations of a Planned Economy, 1926-1929, Volume 3, Part 1. (1978) Foundations of a Planned Economy, 1926-1929, Volume 3, Part 2. (1978) Foundations of a Planned Economy, 1926-1929, Volume 3, Part 3. (1978) Carr subsequently distilled the research contained in these fourteen volumes into a short book titled The Russian Revolution: from Lenin to Stalin, 1917-1929 which covers the same period as the large history. Reception The History of Soviet Russia volumes met with a mostly positive reception. In 1970, the Encyclopædia Britannica described the History of Soviet Russia series as simply "magisterial". British historian Chimen Abramsky praised Carr as the world's foremost historian of the Soviet Union who displayed an astonishing knowledge of the subject. The Canadian historian John Keep called the series "[a] towering scholarly monument; in its shadow the rest of us are but pygmies". Isaac Deutscher called A History of Soviet Russia "a truly outstanding achievement". A. J. P. Taylor called A History of Soviet Russia the most fair and best series of books ever written on Soviet history. Taylor was later to call Carr "an Olympian among historians, a Goethe in range and spirit". American journalist Harrison Salisbury called Carr "one of the half dozen greatest specialists in Soviet affairs and in Soviet-German relations". British academic Michael Cox praised the History of Soviet Russia series as "an amazing construction: almost pyramid-like [...] in its architectural audacity" British historian John Barber argued that History of Soviet Russia series through a scrupulous and detailed survey of the evidence "transformed" the study of Soviet history in the West. British historian Hugh Seton-Watson called Carr "an object of admiration and gratitude" for his work in Soviet studies. The British Marxist historian Hillel Ticktin praised Carr as an honest historian of the Soviet Union and accused critics like Norman Stone, Richard Pipes and Leopold Labedz as "Cold Warriors" who were "not unconnected with serving the needs of official British and American foreign policy". In 1983, four American historians, namely Geoff Eley, W. Rosenberg, Moshe Lewin and Ronald Suny, wrote in a joint article in the London Review of Books of the "grandeur" of Carr's work and his "extraordinary pioneering quality". They claimed that the scope of Carr's history was such that he "went where no one had gone before and where only a few have really gone since", thus providing "an agenda of questions which will be pursued for the rest of the 20th century". British historian Jonathan Haslam called Carr a victim of British "McCarthyism" who was unjustly punished for his willingness to defend and praise the Soviet Union. Eric Hobsbawm wrote that Carr's History of Soviet Russia "constitutes, with Joseph Needham's Science and Civilisation in China, the most remarkable effort of single-handed historical scholarship undertaken in Britain within living memory". American historian Peter Wiles called the History of Soviet Russia "one of the great historiographical enterprises of our day" and wrote of Carr's "immensely impressive" work American historian Arno J. Mayer wrote that "the History of Soviet Russia [...] established E.H. Carr not only as the towering giant among Western specialists of recent Russian history, but certainly also as the leading British historian of his generation". Unusually for a book by a Western historian, A History of Soviet Russia met with warily favourable reviews by Soviet historians. Normally, any works by Western historians met with hostile reviews in the Soviet Union and there was even a brand of polemical literature by Soviet historians attacking "bourgeois historians" on the grounds that only Soviet historians were fully capable of understanding the Soviet project and its context. Despite this, the History of Soviet Russia series were not translated into Russian and published in the Soviet Union until 1990. A Soviet journal commented in 1991 that Carr was "almost unknown to a broad Soviet readership", although all Soviet historians were aware of his work and most of them had considerable respect for Carr, but they had been unable to say so until Perestroika. Those Soviet historians who specialised in rebutting the "bourgeois falsifiers" as Western historians were so labelled in the Soviet Union attacked Carr for writing that Soviet countryside was in chaos after 1917, but they praised him as one of the "few bourgeois authors" who told the "truth" about Soviet economic achievements. Through right up until glasnost period, Carr was considered a "bourgeois falsifier" in the Soviet Union, but he was praised as a British historian who taken "certain steps" towards Marxism-Leninism and whose History of Soviet Russia was described as "fairly objective" and "one of the most fundamental works in bourgeois Sovietology". In a preface to the Soviet edition of The History of Soviet Russia in 1990, the Soviet historian Albert Nenarokov wrote that in his lifetime Carr had been "automatically been ranked with the falsifiers", but in fact The History of Soviet Russia was a "scrupulous, professionally conscientious work". Nenarokov called Carr a "honest, objective scholar, espousing liberal principles and attempting on the basis of an enormous documentary base to create a satisfactory picture of the epoch he was considering and those involved in it, to assist a sober and realistic perception of the USSR and a better understanding of the great social processes of the twentieth century". However, Nenarokov expressed some concern about Carr's use of Stalinist language such as calling Nikolai Bukharin part of the "right deviation" in the Bolshevik Party without the use of the quotation marks. Nenarokov took the view that Carr had too narrowly reduced Soviet history after 1924 down to a choice of either Joseph Stalin or Leon Trotsky, arguing that Bukharin was a better, more humane alternative to both Stalin and Trotsky. The pro-Soviet slant in Carr's The History of Soviet Russia attracted some controversy. In a 1955 review in Commentary, Bertram Wolfe accused Carr of systemically taking on Vladimir Lenin's point of view in History of Soviet Russia volumes and of being unwilling to consider other perspectives on Russian history. In 1962, British historian Hugh Trevor-Roper argued that Carr's identification with the "victors" of history meant that Carr saw Stalin as historically important and that he had neither time nor sympathy for the millions of Stalin's victims. Anglo-American historian Robert Conquest argued that Carr took the official reasons for the launching of the first five-year plan too seriously. Furthermore, Conquest maintained that Carr's opponents such as Leonard Schapiro, Adam Ulam, Bertram Wolfe and Robert C. Tucker had a far better understanding of Soviet history than did Carr. Pipes wrote that the essential questions of Soviet history were "Who were the Bolsheviks, what did they want, why did some follow them and others resist? What was the intellectual and moral atmosphere in which all these events occurred?" and went on to note that Carr failed to pose these questions, let alone answer them. Pipes was later to compare Carr's single paragraph dismissal in the History of Soviet Russia of the 1921 famine as unimportant with Holocaust denial. Polish Kremlinologist Leopold Labedz criticised Carr for taking the claims of the Soviet government too seriously. Labedz went on to argue that Carr's decision to end the History of Soviet Russia series at 1929 reflected an inability and unwillingness to criticize Stalin's Soviet Union. Labedz was very critical of Carr's handling of sources, arguing that Carr was too inclined to accept official Soviet documents at face value and unwilling to admit to systematic falsification of the historical record under Stalin. Finally, Labedz took Carr to task over what he regarded as Carr's tendency to white-wash Soviet crimes "behind an abstract formula which often combines "progressive" stereotypes with the lexicon of Soviet terminology". Norman Stone argued that Carr was guilty of writing in a bland style meant to hide his pro-Soviet sympathies. Walter Laqueur argued that the History of Soviet Russia volumes were a dubious historical source that for the most part excluded the unpleasant aspects of Soviet life, reflecting Carr's pro-Soviet tendencies. A major source of criticism of a History of Soviet Russia was Carr's decision to ignore the Russian Civil War under the grounds it was unimportant and likewise to his devoting only a few lines to the Kronstadt mutiny of 1921 since Carr considered it only a minor event. Laqueur commented that Carr's ignoring the Russian Civil War while paying an inordinate amount of attention to such subjects as the relations between the Bolshevik and Swedish Communist parties and Soviet diplomatic relations with Outer Mongolia in the 1920s left the History of Soviet Russia very unbalanced. References History books about the Soviet Union Works by E. H. Carr Monographic series Book series introduced in 1950
Jnandas Kandra railway station is a railway station in Ahmadpur–Katwa line under Howrah railway division of Eastern Railway zone. It is situated at Kandra of Purba Bardhaman district in the Indian state of West Bengal. History Ahmedpur–Katwa narrow-gauge railway line connecting Ahmedpur and Katwa was established on 29 September 1917 by McLeod's Light Railways. Indian Railways had taken over the operation of this narrow-gauge railway from McLeod and Company in 1966. After closing this track in 2013 the railway section was converted into broad gauge in 1917. The conversion work started in 2013 and was completed in early 2017. The track including Jnandas Kandra railway station was reopened for the public on 24 May 2018. References Railway stations in India opened in 1917 Railway stations in Purba Bardhaman district Howrah railway division
The 1996 NCAA Division I baseball tournament was played at the end of the 1996 NCAA Division I baseball season to determine the national champion of college baseball. The tournament concluded with eight teams competing in the College World Series, a double-elimination tournament in its fiftieth year. Eight regional competitions were held to determine the participants in the final event. Each region was composed of six teams, resulting in 48 teams participating in the tournament at the conclusion of their regular season, and in some cases, after a conference tournament. The fiftieth tournament's champion was LSU, coached by Skip Bertman. The Most Outstanding Player was Pat Burrell of Miami (FL). Regionals The opening rounds of the tournament were played across eight regional sites across the country, each consisting of a six-team field. Each regional tournament is double-elimination, however region brackets are variable depending on the number of teams remaining after each round. The winners of each regional advanced to the College World Series. Bold indicates winner. Atlantic Regional Hosted by Clemson at Tiger Field in Clemson, South Carolina Central I Regional Hosted by Texas at Disch–Falk Field in Austin, Texas Central II Regional Hosted by Texas Tech at Dan Law Field in Lubbock, Texas East Regional Hosted by Florida at Alfred A. McKethan Stadium in Gainesville, Florida Midwest Regional Hosted by Wichita State at Eck Stadium in Wichita, Kansas South I Regional Hosted by Alabama at Sewell–Thomas Stadium in Tuscaloosa, Alabama South II Regional Hosted by Louisiana State at Alex Box Stadium in Baton Rouge, Louisiana West Regional Hosted by Stanford at Sunken Diamond in Stanford, California College World Series The championship game ended dramatically when LSU's Warren Morris hit a two-out, two-run home run against Miami reliever Robbie Morrison in the bottom of the ninth inning to lift the Bayou Bengals to a 9–8 victory over the Hurricanes. It was Morris's only home run of the 1996 season. Morris, an All-American in 1995, missed much of the 1996 season after suffering a wrist injury early in the campaign. Oklahoma State's participation in CWS marked the last athletic event for the Big 8 Conference. The Big 8 was absorbed into the new Big 12 on July 1, 1996. Participants Results Bracket Game results All-Tournament Team The following players were members of the College World Series All-Tournament Team. Notable players Alabama: Dustan Mohr, Tim Young Clemson: Kris Benson, Billy Koch, Matt LeCroy, Ken Vining Florida: David Eckstein, Mark Ellis, Josh Fogg, Paul Rigdon, Brad Wilkerson, Chuck Hazzard Florida State: Randy Choate, J. D. Drew LSU: Brett Laxton, Warren Morris, Ed Yarnall, Eddy Furniss Miami (FL): Pat Burrell, Alex Cora Oklahoma State: Dave Maurer, Brian Aylor Wichita State: Casey Blake, Braden Looper Tournament notes LSU's 29–13 victory over Georgia Tech sets a new tournament record for most combined runs (42). References NCAA Division I baseball tournament Baseball in Austin, Texas Baseball in Lubbock, Texas Events in Lubbock, Texas Sports competitions in Texas
Two Blind Mice was a 1949 comedy play by Samuel and Bella Spewack. The play ran on Broadway at the Cort Theatre for 157 performances, from March 2, 1949 to July 16, 1949, and thereafter had a lengthy provincial tour. The play starred Melvyn Douglas as Tommy Thurston, newspaper reporter and was produced by Archer King and Harrison Woodhull. The play was selected as one of the best plays of 1948-1949, with an excerpted version published in "The Burns Mantle Best Plays of 1948-1949." Plot The plot revolves around the Office of Medicinal Herbs, a fictitious U.S. government bureau abolished by Congress four years before the setting of the play. Its two elderly officials have refused to accept the closing of the office, which represents their lives' work, and they keep it running quietly. Deprived of funding by the abolition, they make ends meet by renting out the rooms and by running a parking lot on the front lawn. To avoid problems with what remains of the Government, they never answer the phone. Thurston discovers the office and sets out to aid the workers. Through an elaborate series of practical jokes, he involves the Armed Forces and the State Department, eventually winning the day for the elderly ladies. In the process, he also wins back his former wife. Production The opening night, March 2, 1949, saw the audience enjoy the production. However, Brooks Atkinson, the critic for The New York Times, gave it a lukewarm review, and later in March criticized the Spewacks for wasting an intriguing setup by turning it over to Thurston, whom Atkinson dubbed "an adolescent journalistic prankster who has nothing to give anybody except impudence, irresponsibility and show clichés". The play closed July 16, 1949, and its two mascots, white mice, were put up for adoption. In his autobiography, Douglas laid the blame for the play's failure to run more than four and a half months on Broadway on Samuel Spewack's insistence on not only writing, but also directing the play. The show began a tour throughout the eastern half of the United States and into Canada in early 1950, after adjustments in the show insisted upon by Douglas were made, and ran throughout the year. The show kept Douglas away from California during his wife Helen Gahagan Douglas's run for United States Senate against Richard Nixon, a campaign which proved extremely nasty. Notes 1949 plays Broadway plays
The 2001 Arizona Cardinals season was the franchise’s 82nd year with the National Football League (NFL) and the 14th season in Arizona. It was their final season in the NFC East division before moving to their current division, the NFC West. Due to being the only team in the league with a Week 1 bye, the Cardinals were the final team to play their season opener, which was pushed back even further in wake of the September 11 attacks. Arizona did not play its opener until September 23 versus the Denver Broncos, the latest date an NFL team played its season opener since the 1960 Detroit Lions did not begin until October 2. The 2001 Cardinals were also the most recent team in NFL history to have a Week 1 bye until the Tampa Bay Buccaneers and Miami Dolphins in 2017 due to Hurricane Irma. However, the 2001 Cardinals are the most recent NFL team to have a scheduled week 1 bye, a situation which will not occur again unless the NFL has an odd number of teams. The 2001 season was Pat Tillman’s final season as he left the NFL to join the U.S. Army following the season. Offseason NFL Draft Undrafted free agents Personnel Staff Roster Preseason Regular season Schedule Note: Intra-division opponents are in bold text. Standings Notes References External links 2001 Arizona Cardinals at Pro-Football-Reference.com Arizona Arizona Cardinals seasons Arizona
```javascript (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var dom_1=require("@cycle/dom");var index_1=require("../Calculator/index");var styles_1=require("./styles");function view(calculatorVDom){return calculatorVDom.map(function(calcVNode){return dom_1.div(".app",[dom_1.h1(".title."+styles_1.default.title,"Matrix Multiplication"),calcVNode,dom_1.h2(".footnote."+styles_1.default.footnote,[dom_1.a({attrs:{href:"path_to_url"}},"Built by @andrestaltz with Cycle.js")])])})}function App(sources){var calculatorSinks=index_1.default(sources);var vdom$=view(calculatorSinks.DOM);var reducer$=calculatorSinks.onion;var sinks={DOM:vdom$,onion:reducer$};return sinks}exports.default=App},{"../Calculator/index":3,"./styles":2,"@cycle/dom":49}],2:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var typestyle_1=require("typestyle");var styles_1=require("../styles");typestyle_1.cssRule("body",{margin:0,color:styles_1.pallete.black,fontFamily:'"Source Sans Pro", serif',fontWeight:400});var Styles;(function(Styles){Styles.title=typestyle_1.style({position:"absolute",top:0,left:0,right:0,fontFamily:'"Vesper Libre", serif',fontWeight:400,textAlign:"center",margin:0,paddingTop:"1.5rem",paddingBottom:"3rem",zIndex:10,backgroundImage:"linear-gradient(to bottom, "+"white 0, "+"rgba(255,255,255,0.9) 60%, "+"rgba(255,255,255,0) 100%)"});Styles.footnote=typestyle_1.style({position:"fixed",left:0,right:0,bottom:0,fontFamily:'"Source Sans Pro", serif',fontSize:"14px",textAlign:"center",zIndex:-10,$nest:{"& > *":{color:styles_1.pallete.gray}}})})(Styles||(Styles={}));exports.default=Styles},{"../styles":34,typestyle:97}],3:[function(require,module,exports){"use strict";var __assign=this&&this.__assign||Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var isolate_1=require("@cycle/isolate");var index_1=require("../Matrix/index");var measure_1=require("./measure");var timers_1=require("./timers");var index_2=require("./intent/index");var index_3=require("./model/index");var index_4=require("./view/index");function Calculator(sources){var aSinks=isolate_1.default(index_1.default,"matrixA")(sources);var bSinks=isolate_1.default(index_1.default,"matrixB")(sources);var cSinks=isolate_1.default(index_1.default,"matrixC")(sources);var state$=sources.onion.state$;var measurements$=measure_1.default(sources.DOM);var actions=__assign({},index_2.default(sources.DOM),{allowContinueAction$:timers_1.default(state$)});var reducer$=index_3.default(actions,measurements$);var allReducer$=xstream_1.default.merge(reducer$,aSinks.onion,bSinks.onion);var vdom$=index_4.default(state$,aSinks.DOM,bSinks.DOM,cSinks.DOM);var sinks={DOM:vdom$,onion:allReducer$};return sinks}exports.default=Calculator},{"../Matrix/index":24,"./intent/index":5,"./measure":7,"./model/index":9,"./timers":16,"./view/index":19,"@cycle/isolate":56,xstream:107}],4:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function controlPanelIntent(domSource){var startMultiplyAction$=domSource.select(".multiply").events("click").mapTo(null);var nextStepAction$=domSource.select(".next").events("click").mapTo(null);var endAction$=domSource.select(".end").events("click").mapTo(null);var resetAction$=domSource.select(".reset").events("click").mapTo(null);return{startMultiplyAction$:startMultiplyAction$,nextStepAction$:nextStepAction$,endAction$:endAction$,resetAction$:resetAction$}}exports.controlPanelIntent=controlPanelIntent},{}],5:[function(require,module,exports){"use strict";var __assign=this&&this.__assign||Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};Object.defineProperty(exports,"__esModule",{value:true});var controlPanel_1=require("./controlPanel");var resize_1=require("./resize");function intent(domSource){var resizeAction$=resize_1.resizeIntent(domSource);var controlPanelActions=controlPanel_1.controlPanelIntent(domSource);return __assign({resizeAction$:resizeAction$},controlPanelActions)}exports.default=intent},{"./controlPanel":4,"./resize":6}],6:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");function createResizeAction(target,direction,amount){return{target:target,resizeParam:{direction:direction,amount:amount}}}function resizeIntent(domSource){var decreaseRowA$=domSource.select(".decreaseRowA").events("click").mapTo(createResizeAction("A","row",-1));var increaseRowA$=domSource.select(".increaseRowA").events("click").mapTo(createResizeAction("A","row",+1));var decreaseColA$=xstream_1.default.merge(domSource.select(".decreaseColA").events("click"),domSource.select(".decreaseRowB").events("click")).mapTo(createResizeAction("A","column",-1));var increaseColA$=xstream_1.default.merge(domSource.select(".increaseColA").events("click"),domSource.select(".increaseRowB").events("click")).mapTo(createResizeAction("A","column",+1));var decreaseRowB$=xstream_1.default.merge(domSource.select(".decreaseColA").events("click"),domSource.select(".decreaseRowB").events("click")).mapTo(createResizeAction("B","row",-1));var increaseRowB$=xstream_1.default.merge(domSource.select(".increaseColA").events("click"),domSource.select(".increaseRowB").events("click")).mapTo(createResizeAction("B","row",+1));var decreaseColB$=domSource.select(".decreaseColB").events("click").mapTo(createResizeAction("B","column",-1));var increaseColB$=domSource.select(".increaseColB").events("click").mapTo(createResizeAction("B","column",+1));return xstream_1.default.merge(decreaseRowA$,increaseRowA$,decreaseColA$,increaseColA$,decreaseRowB$,increaseRowB$,decreaseColB$,increaseColB$)}exports.resizeIntent=resizeIntent},{xstream:107}],7:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var dropRepeats_1=require("xstream/extra/dropRepeats");var delay_1=require("xstream/extra/delay");function isNotNull(x){return x!==null}function measure(domSource){return domSource.select(".calculator").elements().map(function(e){var actualElement=Array.isArray(e)?e[0]:e;if(!actualElement){return null}var matrixAElem=actualElement.querySelector(".matrixA *");var matrixBElem=actualElement.querySelector(".matrixB *");if(!matrixAElem||!matrixBElem){return null}var someRow=matrixAElem.querySelector(".row");if(!someRow){return null}var measurements={matrixAHeight:matrixAElem.clientHeight,matrixBWidth:matrixBElem.clientWidth,matrixBHeight:matrixBElem.clientHeight,rowHeight:someRow.clientHeight};return measurements}).filter(isNotNull).compose(dropRepeats_1.default(function(m1,m2){return m1.matrixAHeight===m2.matrixAHeight&&m1.matrixBHeight===m2.matrixBHeight&&m1.matrixBWidth===m2.matrixBWidth})).compose(delay_1.default(16))}exports.default=measure},{"xstream/extra/delay":103,"xstream/extra/dropRepeats":104}],8:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function calculateCellMatrixC(i,j,matrixA,matrixB){var m=matrixA.numberColumns;var acc=0;for(var k=0;k<m;k++){var a=matrixA.get(i,k);var b=matrixB.get(k,j);if(a==null){a=1}if(b==null){b=1}acc+=a*b}return acc}function calculateNextMatrixC(nextStep,matrixA,matrixB,matrixC){var newMatrixC=matrixC;matrixC.rows.forEach(function(row,i){row.forEach(function(cellC,j){if(i+j===nextStep-2){var val=calculateCellMatrixC(i,j,matrixA,matrixB);newMatrixC=newMatrixC.set(i,j,val)}})});return newMatrixC}exports.calculateNextMatrixC=calculateNextMatrixC},{}],9:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var MatrixValues_1=require("../../utils/MatrixValues");var measure_1=require("./reducers/measure");var resize_1=require("./reducers/resize");var controlPanel_1=require("./reducers/controlPanel");var timers_1=require("./reducers/timers");var defaultState={step:0,canInteract:true,fastForwardToEnd:false,measurements:{matrixAHeight:0,matrixBWidth:0,matrixBHeight:0,rowHeight:0},matrixA:{values:MatrixValues_1.default.from([[1,2,1],[0,1,0],[2,3,4]]),editable:true,id:"A"},matrixB:{values:MatrixValues_1.default.from([[2,5],[6,7],[1,8]]),editable:true,id:"B"},matrixC:void 0};var initReducer$=xstream_1.default.of(function initReducer(prevState){if(!prevState){return defaultState}else{return prevState}});function model(actions,measurements$){return xstream_1.default.merge(initReducer$,measure_1.updateMeasurementsReducer$(measurements$),resize_1.resizeReducer$(actions.resizeAction$),controlPanel_1.startMultiplyReducer$(actions.startMultiplyAction$),controlPanel_1.nextStepReducer$(actions.nextStepAction$),controlPanel_1.fastForwardToEndReducer$(actions.endAction$),controlPanel_1.resetReducer$(actions.resetAction$),timers_1.allowContinueReducer$(actions.allowContinueAction$))}exports.default=model},{"../../utils/MatrixValues":35,"./reducers/controlPanel":11,"./reducers/measure":12,"./reducers/resize":13,"./reducers/timers":14,xstream:107}],10:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function totalCombSteps(state){return state.matrixA.values.numberRows+state.matrixB.values.numberColumns-2}exports.totalCombSteps=totalCombSteps;function lastCombStep(state){return 2+totalCombSteps(state)}exports.lastCombStep=lastCombStep;function isInCombStep(state){return(state.step===1&&state.canInteract||state.step>1)&&state.step<=lastCombStep(state)}exports.isInCombStep=isInCombStep},{}],11:[function(require,module,exports){"use strict";var __assign=this&&this.__assign||Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};Object.defineProperty(exports,"__esModule",{value:true});var MatrixValues_1=require("../../../utils/MatrixValues");var calculate_1=require("../calculate");var queries_1=require("../queries");function startMultiplyReducer$(action$){return action$.map(function(){return function startMultiplyReducer(prevState){if(prevState.step===0){return __assign({},prevState,{step:1,canInteract:false,fastForwardToEnd:false,matrixA:__assign({},prevState.matrixA,{editable:false}),matrixB:__assign({},prevState.matrixB,{editable:false}),matrixC:{editable:false,values:MatrixValues_1.default.ofDimensions(prevState.matrixA.values.numberRows,prevState.matrixB.values.numberColumns).setAll(null),id:"C"}})}else{return prevState}}})}exports.startMultiplyReducer$=startMultiplyReducer$;function nextStepReducer$(action$){return action$.map(function(){return function nextStepReducer(prevState){if(prevState.step>=1&&prevState.canInteract&&prevState.matrixC){var nextStep=prevState.step+1;return __assign({},prevState,{step:nextStep,canInteract:false,matrixC:__assign({},prevState.matrixC,{values:calculate_1.calculateNextMatrixC(nextStep,prevState.matrixA.values,prevState.matrixB.values,prevState.matrixC.values)})})}else{return prevState}}})}exports.nextStepReducer$=nextStepReducer$;function fastForwardToEndReducer$(action$){return action$.map(function(){return function fastForwardToEndReducer(prevState){if(prevState.step>=1&&prevState.canInteract&&prevState.matrixC){var nextStep=prevState.step+1;return __assign({},prevState,{step:nextStep,canInteract:false,fastForwardToEnd:nextStep<=queries_1.lastCombStep(prevState),matrixC:__assign({},prevState.matrixC,{values:calculate_1.calculateNextMatrixC(nextStep,prevState.matrixA.values,prevState.matrixB.values,prevState.matrixC.values)})})}else{return prevState}}})}exports.fastForwardToEndReducer$=fastForwardToEndReducer$;function resetReducer$(action$){return action$.map(function(){return function resetReducer(prevState){return __assign({},prevState,{step:0,canInteract:true,fastForwardToEnd:false,matrixA:__assign({},prevState.matrixA,{editable:true}),matrixB:__assign({},prevState.matrixB,{editable:true}),matrixC:void 0})}})}exports.resetReducer$=resetReducer$},{"../../../utils/MatrixValues":35,"../calculate":8,"../queries":10}],12:[function(require,module,exports){"use strict";var __assign=this&&this.__assign||Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};Object.defineProperty(exports,"__esModule",{value:true});function updateMeasurementsReducer$(measurements$){return measurements$.map(function(measurements){return function(prevState){return __assign({},prevState,{measurements:measurements})}})}exports.updateMeasurementsReducer$=updateMeasurementsReducer$},{}],13:[function(require,module,exports){"use strict";var __assign=this&&this.__assign||Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};Object.defineProperty(exports,"__esModule",{value:true});function resizeReducer$(action$){return action$.map(function(action){return function resizeReducer(prevState){var targetMatrix="matrix"+action.target;var nextState={step:prevState.step,canInteract:prevState.canInteract,fastForwardToEnd:prevState.fastForwardToEnd,measurements:prevState.measurements,matrixA:prevState.matrixA,matrixB:prevState.matrixB,matrixC:prevState.matrixC};var prevValues=prevState[targetMatrix].values;if(action.resizeParam.direction==="row"){nextState[targetMatrix]=__assign({},prevState[targetMatrix],{values:prevValues.resize(prevValues.numberRows+action.resizeParam.amount,prevValues.numberColumns)})}else{nextState[targetMatrix]=__assign({},prevState[targetMatrix],{values:prevValues.resize(prevValues.numberRows,prevValues.numberColumns+action.resizeParam.amount)})}return nextState}})}exports.resizeReducer$=resizeReducer$},{}],14:[function(require,module,exports){"use strict";var __assign=this&&this.__assign||Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};Object.defineProperty(exports,"__esModule",{value:true});var queries_1=require("../queries");var calculate_1=require("../calculate");function allowContinueReducer$(action$){return action$.map(function(){return function allowContinueReducer(prevState){if(prevState.fastForwardToEnd&&prevState.matrixC){var nextStep=prevState.step+1;return __assign({},prevState,{step:nextStep,canInteract:false,fastForwardToEnd:nextStep<=queries_1.lastCombStep(prevState),matrixC:__assign({},prevState.matrixC,{values:calculate_1.calculateNextMatrixC(nextStep,prevState.matrixA.values,prevState.matrixB.values,prevState.matrixC.values)})})}else{return __assign({},prevState,{canInteract:true,fastForwardToEnd:false})}}})}exports.allowContinueReducer$=allowContinueReducer$},{"../calculate":8,"../queries":10}],15:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var typestyle_1=require("typestyle");var styles_1=require("../Matrix/styles");var styles_2=require("../styles");var Styles;(function(Styles){Styles.matrixBracketWidth=styles_1.default.matrixBracketWidth;Styles.step1Duration1=600;Styles.step1Duration2=900;Styles.nextCombDuration=500;Styles.nextCombCellTransitionDelay=Styles.nextCombDuration*.5;Styles.colorPallete=styles_2.pallete;Styles.cellScaleWhenIntersecting=.55;Styles.cellTranslateXWhenIntersecting=16;Styles.cellTranslateYWhenIntersecting=10;Styles.finalResultDuration=1100;Styles.finalFadeDuration=Styles.finalResultDuration*.8;Styles.calculator=typestyle_1.style({marginTop:"200px",marginBottom:"100px"});Styles.matrices=typestyle_1.style({display:"flex",alignItems:"center",justifyContent:"center"});Styles.matrixWrapperTable=typestyle_1.style({borderSpacing:0});Styles.matrixA=typestyle_1.style({position:"relative"});Styles.matrixB=typestyle_1.style({transition:"opacity "+Styles.finalFadeDuration+"ms"});Styles.matrixC=typestyle_1.style({position:"relative",transitionDuration:"700ms",transitionProperty:"opacity, margin-left",transitionDelay:"300ms"});Styles.matrixCHidden=typestyle_1.style({position:"relative",transitionDuration:"0ms",transitionProperty:"opacity, margin-left",transitionDelay:"0ms"});Styles.resultEqualsSign=typestyle_1.style({fontSize:"24px",color:styles_2.pallete.grayDark,transitionDuration:"700ms",transitionProperty:"opacity, width, margin",transitionDelay:"700ms, 300ms, 300ms"});Styles.animatedCell=typestyle_1.style({transitionProperty:"opacity, color, transform",transitionDuration:"400ms",transitionDelay:Styles.nextCombCellTransitionDelay+"ms"});Styles.operatorGrid=typestyle_1.style({position:"absolute",top:"3px",left:"3px"});Styles.operatorCell=typestyle_1.style({transform:"scale(0.6)",transition:"opacity 300ms ease "+Styles.nextCombCellTransitionDelay+"ms"});Styles.plusSign=typestyle_1.style({$nest:{"&::after":{content:'"+"',display:"block",position:"absolute",top:0,left:"40px",fontSize:"24px",width:"2em",height:"2em",fontFamily:"'Source Sans Pro', sans-serif",lineHeight:"49px",textAlign:"center",border:"none",textIndent:"0",padding:"0",color:styles_2.pallete.black}}});Styles.controlPanel=typestyle_1.style({display:"flex",alignItems:"center",justifyContent:"center",position:"relative",paddingTop:"86px",paddingBottom:"40px",backgroundImage:"linear-gradient(to bottom,\n rgba(255,255,255,0) 0,\n rgba(255,255,255,0.8) 92px,\n rgba(255,255,255,0.8) 126px,\n rgba(255,255,255,0) 100%)\n ",zIndex:2,$nest:{"& > * + *":{marginLeft:"8px"}}});var commonButton={color:styles_2.pallete.white,border:"none",fontSize:"24px",padding:"8px 16px",$nest:{"& > svg":{marginBottom:"-2px",marginRight:"8px"}}};var commonButtonEnabled={boxShadow:"0 1px 1px 0 "+styles_2.pallete.gray,cursor:"pointer"};var commonButtonDisabled=typestyle_1.style(commonButton,{backgroundColor:styles_2.pallete.gray});Styles.multiplyButton=typestyle_1.style(commonButton,commonButtonEnabled,{backgroundColor:styles_2.pallete.blue,$nest:{"&:hover":{backgroundColor:styles_2.pallete.blueWeak}}});Styles.multiplyButtonDisabled=commonButtonDisabled;Styles.nextButton=Styles.multiplyButton;Styles.nextButtonDisabled=commonButtonDisabled;Styles.endButton=typestyle_1.style(commonButton,commonButtonEnabled,{backgroundColor:styles_2.pallete.orange,$nest:{"&:hover":{backgroundColor:styles_2.pallete.orangeWeak}}});Styles.endButtonDisabled=commonButtonDisabled;Styles.resetButton=Styles.multiplyButton;Styles.multiplyOrEqualsSign=typestyle_1.style({margin:"1em",fontSize:"24px",color:styles_2.pallete.grayDark});Styles.rowsResizer=typestyle_1.style({display:"flex",flexDirection:"column",justifyContent:"center",margin:"0 10px",zIndex:3});Styles.colsResizerContainer=typestyle_1.style({position:"relative"});Styles.colsResizer=typestyle_1.style({position:"absolute",minWidth:"76px",left:"-20px",right:"-20px",display:"flex",flexDirection:"row",justifyContent:"center",margin:"10px 0",zIndex:3});Styles.resizerButton=typestyle_1.style({backgroundColor:"rgba(0, 0, 0, 0)",boxShadow:"0 1px 1px 0 "+styles_2.pallete.gray,color:styles_2.pallete.grayDark,border:"none",fontSize:"20px",textAlign:"center",width:"30px",height:"30px",lineHeight:"30px",margin:"4px",cursor:"pointer",$nest:{"&:hover":{backgroundColor:styles_2.pallete.grayLight}}})})(Styles||(Styles={}));exports.default=Styles},{"../Matrix/styles":27,"../styles":34,typestyle:97}],16:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var delay_1=require("xstream/extra/delay");var dropRepeats_1=require("xstream/extra/dropRepeats");var queries_1=require("./model/queries");var styles_1=require("./styles");function timers(state$){var stateChange$=state$.compose(dropRepeats_1.default(function(s1,s2){return s1.step===s2.step&&s1.canInteract===s2.canInteract}));var allowContinueFromStartMultiply$=stateChange$.filter(function(state){return state.step===1&&!state.canInteract}).compose(delay_1.default(styles_1.default.step1Duration1+styles_1.default.step1Duration2)).mapTo(null);var allowContinueFromNextComb$=stateChange$.filter(function(state){return queries_1.isInCombStep(state)&&!state.canInteract}).compose(delay_1.default(styles_1.default.nextCombDuration)).mapTo(null);var allowContinueFromEnd$=stateChange$.filter(function(state){return state.step===queries_1.lastCombStep(state)+1&&!state.canInteract}).compose(delay_1.default(styles_1.default.finalResultDuration)).mapTo(null);return xstream_1.default.merge(allowContinueFromStartMultiply$,allowContinueFromNextComb$,allowContinueFromEnd$)}exports.default=timers},{"./model/queries":10,"./styles":15,xstream:107,"xstream/extra/delay":103,"xstream/extra/dropRepeats":104}],17:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var dom_1=require("@cycle/dom");var styles_1=require("../styles");exports.multiplySign="";exports.zeroWidthSpace="";function renderRowsResizer(id){return dom_1.div(".rowsResizer."+styles_1.default.rowsResizer,[dom_1.div(".decreaseRow"+id+"."+styles_1.default.resizerButton,"-"),dom_1.div(".increaseRow"+id+"."+styles_1.default.resizerButton,"+")])}exports.renderRowsResizer=renderRowsResizer;function renderColsResizer(id){return dom_1.div(".colsResizer."+styles_1.default.colsResizer,[dom_1.div(".decreaseCol"+id+"."+styles_1.default.resizerButton,"-"),dom_1.div(".increaseCol"+id+"."+styles_1.default.resizerButton,"+")])}exports.renderColsResizer=renderColsResizer},{"../styles":15,"@cycle/dom":49}],18:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var dom_1=require("@cycle/dom");var queries_1=require("../model/queries");var styles_1=require("../styles");var play_1=require("../../icons/play");var next_1=require("../../icons/next");var end_1=require("../../icons/end");var reset_1=require("../../icons/reset");function getArrayOfButtons(state){var step=state.step;var buttons=[];if(step===0){buttons=[dom_1.div(".multiply."+styles_1.default.multiplyButton,[play_1.default,"Multiply"])]}else if(step===1&&!state.canInteract){buttons=[dom_1.div(".multiply."+styles_1.default.multiplyButtonDisabled,[play_1.default,"Multiply"])]}else if(step>=1&&step<=queries_1.lastCombStep(state)&&state.canInteract){buttons=[dom_1.div(".next."+styles_1.default.nextButton,[next_1.default,"Next"]),dom_1.div(".end."+styles_1.default.endButton,[end_1.default,"End"])]}else if(step>=1&&step<=queries_1.lastCombStep(state)+1&&!state.canInteract){buttons=[dom_1.div(".next."+styles_1.default.nextButtonDisabled,[next_1.default,"Next"]),dom_1.div(".end."+styles_1.default.endButtonDisabled,[end_1.default,"End"])]}else if(step===queries_1.lastCombStep(state)+1&&state.canInteract){buttons=[dom_1.div(".reset."+styles_1.default.resetButton,[reset_1.default,"Reset"])]}return buttons}function renderControlPanel(state){return dom_1.div(".controlPanel."+styles_1.default.controlPanel,getArrayOfButtons(state))}exports.renderControlPanel=renderControlPanel},{"../../icons/end":29,"../../icons/next":30,"../../icons/play":31,"../../icons/reset":32,"../model/queries":10,"../styles":15,"@cycle/dom":49}],19:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var dom_1=require("@cycle/dom");var queries_1=require("../model/queries");var styles_1=require("../styles");var matrixA_1=require("./matrixA");var matrixB_1=require("./matrixB");var matrixC_1=require("./matrixC");var controlPanel_1=require("./controlPanel");var common_1=require("./common");var tweens_1=require("./tweens");function renderSign(state){if(queries_1.isInCombStep(state)){return dom_1.span(".multiplySign."+styles_1.default.multiplyOrEqualsSign,"=")}else{return dom_1.span(".tempEqualsSign."+styles_1.default.multiplyOrEqualsSign,common_1.multiplySign)}}function maybeRenderEqualsSign(state){var style={};if(state.step===queries_1.lastCombStep(state)+1){style={margin:"1em",width:"12px",opacity:"1"}}else if(state.step===0){return null}else{style={margin:"0",width:"0",opacity:"0.01"}}return dom_1.span(".resultEqualsSign."+styles_1.default.resultEqualsSign,{style:style},"=")}function view(state$,vdomA$,vdomB$,vdomC$){var transform$=tweens_1.makeTransform$(state$);return xstream_1.default.combine(state$,transform$,vdomA$,vdomB$,vdomC$.startWith(null)).map(function(_a){var state=_a[0],transform=_a[1],matrixA=_a[2],matrixB=_a[3],matrixC=_a[4];return dom_1.div(".calculator."+styles_1.default.calculator,[dom_1.div(".matrices."+styles_1.default.matrices,[matrixA_1.renderMatrixA(matrixA,state),renderSign(state),matrixB_1.renderMatrixB(matrixB,state,transform),maybeRenderEqualsSign(state),matrixC_1.maybeRenderMatrixC(matrixC,state)]),controlPanel_1.renderControlPanel(state)])})}exports.default=view},{"../model/queries":10,"../styles":15,"./common":17,"./controlPanel":18,"./matrixA":20,"./matrixB":21,"./matrixC":22,"./tweens":23,"@cycle/dom":49,xstream:107}],20:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var dom_1=require("@cycle/dom");var queries_1=require("../model/queries");var styles_1=require("../../Matrix/styles");var styles_2=require("../styles");var common_1=require("./common");function renderOperatorGrid(state){if(state.step===0){return null}var lastIntersectRow=state.step-2;var firstIntersectRow=state.step-2-state.matrixB.values.numberColumns;var rows=state.matrixA.values.rows;return dom_1.div(".operatorGrid."+styles_2.default.operatorGrid,rows.map(function(row,i){var shouldShowMultiply=firstIntersectRow<i&&i<=lastIntersectRow;return dom_1.div("."+styles_1.default.row,row.map(function(cellVal,j){var shouldShowPlus=j<state.matrixA.values.numberColumns-1;return dom_1.div([dom_1.span(".operator",{class:(_a={},_a[styles_1.default.cell]=true,_a[styles_2.default.operatorCell]=true,_a[styles_2.default.plusSign]=shouldShowPlus,_a),style:{opacity:shouldShowMultiply?1:.01}},[common_1.multiplySign])]);var _a}))}))}function mutateCellStyles(state){var lastIntersectRow=state.step-2;var firstIntersectRow=state.step-2-state.matrixB.values.numberColumns;return function updateHook(prev,next){var all=next.elm.querySelectorAll(".cell");var _loop_1=function(i,N){var cellElem=all.item(i);var rowOfCell=parseInt(cellElem.dataset.row);if(queries_1.isInCombStep(state)){cellElem.classList.add(styles_2.default.animatedCell)}else if(state.step>queries_1.lastCombStep(state)){setTimeout(function(){return cellElem.classList.remove(styles_2.default.animatedCell)},styles_2.default.nextCombDuration)}if(firstIntersectRow<rowOfCell&&rowOfCell<=lastIntersectRow){cellElem.style.transform="\n scale("+styles_2.default.cellScaleWhenIntersecting+")\n translateX("+-styles_2.default.cellTranslateXWhenIntersecting+"px)\n translateY("+styles_2.default.cellTranslateYWhenIntersecting+"px)\n ";cellElem.style.color=styles_2.default.colorPallete.blue}else{cellElem.style.transform=null;cellElem.style.color=null}};for(var i=0,N=all.length;i<N;i++){_loop_1(i,N)}}}function renderMatrixA(matrixA,state){var showResizers=state.step===0;return dom_1.table(".matrixAWrapper."+styles_2.default.matrixWrapperTable,[dom_1.tr([dom_1.td(showResizers?[common_1.renderRowsResizer("A")]:[]),dom_1.td(".matrixA."+styles_2.default.matrixA,{hook:{update:mutateCellStyles(state)}},[matrixA,renderOperatorGrid(state)])]),dom_1.tr([dom_1.td(),dom_1.td(".colsResizerContainer."+styles_2.default.colsResizerContainer,showResizers?[common_1.renderColsResizer("A")]:[])])])}exports.renderMatrixA=renderMatrixA},{"../../Matrix/styles":27,"../model/queries":10,"../styles":15,"./common":17,"@cycle/dom":49}],21:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var dom_1=require("@cycle/dom");var queries_1=require("../model/queries");var styles_1=require("../styles");var common_1=require("./common");function getOpacity(state){if(state.step===queries_1.lastCombStep(state)+1&&!state.canInteract){return"0.01"}else if(state.step===queries_1.lastCombStep(state)+1&&state.canInteract){return"1"}else{return"1"}}function mutateCellStyles(state,transform){var lastIntersectCol=state.step-2;var firstIntersectCol=state.step-2-state.matrixA.values.numberRows;var rotateZTransform=transform.split(" ").filter(function(t){return t.match(/^rotateZ/)!==null}).pop().replace("-","+").trim();return function updateHook(prev,next){var all=next.elm.querySelectorAll(".cell");for(var i=0,N=all.length;i<N;i++){var cellElem=all.item(i);var colOfCell=parseInt(cellElem.dataset.col);if(rotateZTransform==="rotateZ(+90deg)"){cellElem.classList.add(styles_1.default.animatedCell)}else{cellElem.classList.remove(styles_1.default.animatedCell)}if(firstIntersectCol<colOfCell&&colOfCell<=lastIntersectCol){cellElem.style.transform="\n "+rotateZTransform+"\n scale("+styles_1.default.cellScaleWhenIntersecting+")\n translateX("+styles_1.default.cellTranslateXWhenIntersecting+"px)\n translateY("+-styles_1.default.cellTranslateYWhenIntersecting+"px)\n ";cellElem.style.color=styles_1.default.colorPallete.blue}else{cellElem.style.transform=rotateZTransform;cellElem.style.color=null}}}}function renderMatrixB(matrixB,state,transform){var showResizers=state.step===0;var opacity=getOpacity(state);return dom_1.table(".matrixBWrapper."+styles_1.default.matrixWrapperTable,[dom_1.tr([dom_1.td(".matrixB."+styles_1.default.matrixB,{style:{opacity:opacity,transform:transform,transformOrigin:"bottom left"},hook:{update:mutateCellStyles(state,transform)}},[matrixB]),dom_1.td(showResizers?[common_1.renderRowsResizer("B")]:[])]),dom_1.tr([dom_1.td(".colsResizerContainer."+styles_1.default.colsResizerContainer,showResizers?[common_1.renderColsResizer("B")]:[]),dom_1.td()])])}exports.renderMatrixB=renderMatrixB},{"../model/queries":10,"../styles":15,"./common":17,"@cycle/dom":49}],22:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var dom_1=require("@cycle/dom");var queries_1=require("../model/queries");var styles_1=require("../styles");function mutateCellStyles(state){return function updateHook(prev,next){var all=next.elm.querySelectorAll(".cell");for(var i=0,N=all.length;i<N;i++){var cellElem=all.item(i);var rowOfCell=parseInt(cellElem.dataset.row);var colOfCell=parseInt(cellElem.dataset.col);if(queries_1.isInCombStep(state)){cellElem.classList.add(styles_1.default.animatedCell)}else{cellElem.classList.remove(styles_1.default.animatedCell)}if(rowOfCell+colOfCell>state.step-2){cellElem.style.color=null;cellElem.style.opacity="0.01"}else if(rowOfCell+colOfCell===state.step-2){cellElem.style.color=styles_1.default.colorPallete.blue;cellElem.style.opacity="1"}else{cellElem.style.color=null;cellElem.style.opacity="1"}}}}function maybeRenderMatrixC(matrixC,state){var step=state.step;if(matrixC===null||step===0||step===1&&!state.canInteract){return dom_1.div(".matrixC",{class:(_a={},_a[styles_1.default.matrixCHidden]=true,_a),style:{opacity:"0.01",marginLeft:"0"}})}else{matrixC.data=matrixC.data||{};matrixC.data.style=matrixC.data.style||{};matrixC.data.style.position="absolute" ;var xDist=state.measurements.matrixBWidth+8;var yDist=state.measurements.matrixAHeight*.5;return dom_1.div(".matrixC",{class:(_b={},_b[styles_1.default.matrixC]=true,_b),style:{transform:"translateX(-"+xDist+"px) translateY(-"+yDist+"px)",opacity:"1",marginLeft:step===queries_1.lastCombStep(state)+1?xDist+"px":"0"},hook:{update:mutateCellStyles(state)}},[matrixC])}var _a,_b}exports.maybeRenderMatrixC=maybeRenderMatrixC},{"../model/queries":10,"../styles":15,"@cycle/dom":49}],23:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var concat_1=require("xstream/extra/concat");var delay_1=require("xstream/extra/delay");var tween_1=require("xstream/extra/tween");var dropRepeats_1=require("xstream/extra/dropRepeats");var queries_1=require("../model/queries");var styles_1=require("../styles");var xMove=59.5;var padding=8;function makeStartMultiplyTransform$(state$){return state$.filter(function(state){return state.step===1}).map(function(state){var ease=tween_1.default.power2.easeInOut;var yLift=padding+state.measurements.matrixAHeight*.5+state.measurements.matrixBHeight*.5;return concat_1.default(tween_1.default({from:0,to:yLift,duration:styles_1.default.step1Duration1,ease:ease}).map(function(y){return"\n translateX(0%)\n translateY("+-y+"px)\n rotateZ(0deg)\n "}),tween_1.default({from:0,to:1,duration:styles_1.default.step1Duration2,ease:ease}).map(function(t){return"\n translateX("+-t*xMove+"px)\n translateY("+-yLift+"px)\n rotateZ("+-Math.pow(t,2.3)*90+"deg)\n "}))}).flatten()}function makeNextStepTransform$(state$){return state$.filter(function(state){return state.step>1&&state.step<=queries_1.lastCombStep(state)}).map(function(state){var ease=tween_1.default.power2.easeInOut;var duration=styles_1.default.nextCombDuration;var yLift=padding+state.measurements.matrixAHeight*.5+state.measurements.matrixBHeight*.5;var yPrev=state.step===2?yLift:yLift-padding-styles_1.default.matrixBracketWidth*2-state.measurements.rowHeight*(state.step-2);var yNext=yLift-padding-styles_1.default.matrixBracketWidth*2-state.measurements.rowHeight*(state.step-1);return tween_1.default({from:yPrev,to:yNext,duration:duration,ease:ease}).map(function(y){return"\n translateX("+-xMove+"px)\n translateY("+-y+"px)\n rotateZ(-90deg)\n "})}).flatten()}function makeEndTransform$(state$){return state$.filter(function(state){return state.step===queries_1.lastCombStep(state)+1}).map(function(state){var ease=tween_1.default.power2.easeInOut;var duration=styles_1.default.finalFadeDuration;var timeToReset=styles_1.default.finalResultDuration-duration;var yLift=padding+state.measurements.matrixAHeight*.5+state.measurements.matrixBHeight*.5;var yLastComb=yLift-padding-styles_1.default.matrixBracketWidth*2-state.measurements.rowHeight*(state.step-2);var yOutside=yLastComb-state.measurements.rowHeight-padding*4;return concat_1.default(tween_1.default({from:yLastComb,to:yOutside,duration:duration,ease:ease}).map(function(y){return"\n translateX("+-xMove+"px)\n translateY("+-y+"px)\n rotateZ(-90deg)\n "}),xstream_1.default.of("translateX(0px) translateY(0px) rotateZ(0deg)").compose(delay_1.default(timeToReset*.9)))}).flatten()}function makeTransform$(state$){var stateOnStepChange$=state$.compose(dropRepeats_1.default(function(s1,s2){return s1.step===s2.step}));return xstream_1.default.merge(makeStartMultiplyTransform$(stateOnStepChange$),makeNextStepTransform$(stateOnStepChange$),makeEndTransform$(stateOnStepChange$)).startWith("translateX(0%) translateY(0px) rotateZ(0deg)")}exports.makeTransform$=makeTransform$},{"../model/queries":10,"../styles":15,xstream:107,"xstream/extra/concat":102,"xstream/extra/delay":103,"xstream/extra/dropRepeats":104,"xstream/extra/tween":106}],24:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var intent_1=require("./intent");var model_1=require("./model");var view_1=require("./view");function Matrix(sources){var action$=intent_1.default(sources.DOM);var reducer$=model_1.default(action$);var vdom$=view_1.default(sources.onion.state$);var sinks={DOM:vdom$,onion:reducer$};return sinks}exports.default=Matrix},{"./intent":25,"./model":26,"./view":28}],25:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function intent(domSource){return domSource.select(".cell").events("input").map(function(ev){var inputEl=ev.target;return{row:parseInt(inputEl.attributes["data-row"].value),col:parseInt(inputEl.attributes["data-col"].value),val:parseFloat(inputEl.value)}}).filter(function(action){return!isNaN(action.val)})}exports.default=intent},{}],26:[function(require,module,exports){"use strict";var __assign=this&&this.__assign||Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var MatrixValues_1=require("../utils/MatrixValues");var defaultState={values:MatrixValues_1.default.ofDimensions(1,1),editable:true,id:"matrix"+Math.round(Math.random()*1e3)};function model(action$){var initReducer$=xstream_1.default.of(function initReducer(prevState){if(!prevState){return defaultState}else{return prevState}});var inputReducer$=action$.map(function(action){return function inputReducer(prevState){return __assign({},prevState,{values:prevState.values.set(action.row,action.col,action.val)})}});return xstream_1.default.merge(initReducer$,inputReducer$)}exports.default=model},{"../utils/MatrixValues":35,xstream:107}],27:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var typestyle_1=require("typestyle");var styles_1=require("../styles");var Styles;(function(Styles){Styles.matrixBracketWidth=2;Styles.matrixBracketWidthPx=Styles.matrixBracketWidth+"px";Styles.matrixBracketIngress="9px";Styles.matrixBracketColor=styles_1.pallete.black;Styles.matrix=typestyle_1.style({position:"relative",padding:Styles.matrixBracketWidth});Styles.leftBracket=typestyle_1.style({position:"absolute",left:0,bottom:0,top:0,width:Styles.matrixBracketWidth,backgroundColor:Styles.matrixBracketColor,$nest:{"&::before":{content:"''",backgroundColor:Styles.matrixBracketColor,position:"absolute",top:0,left:0,height:Styles.matrixBracketWidth,width:Styles.matrixBracketIngress},"&::after":{content:"''",backgroundColor:Styles.matrixBracketColor,position:"absolute",bottom:0,left:0,height:Styles.matrixBracketWidth,width:Styles.matrixBracketIngress}}});Styles.rightBracket=typestyle_1.style({position:"absolute",right:0,bottom:0,top:0,width:Styles.matrixBracketWidth,backgroundColor:Styles.matrixBracketColor,$nest:{"&::before":{content:"''",backgroundColor:Styles.matrixBracketColor,position:"absolute",top:0,right:0,height:Styles.matrixBracketWidth,width:Styles.matrixBracketIngress},"&::after":{content:"''",backgroundColor:Styles.matrixBracketColor,position:"absolute",bottom:0,right:0,height:Styles.matrixBracketWidth,width:Styles.matrixBracketIngress}}});var insetBoxShadow={"box-shadow":"inset 0px 1px 2px 0px rgba(0,0,0,0.5)"};Styles.row=typestyle_1.style({padding:0,margin:0,display:"flex",flexDirection:"row",justifyContent:"space-between"});Styles.cell=typestyle_1.style({display:"block",width:"48px",height:"48px",fontFamily:"'Source Sans Pro', sans-serif",lineHeight:"49px",textAlign:"center",border:"none",textIndent:"0",padding:"0",color:styles_1.pallete.black,backgroundColor:"rgba(255,255,255,0)",$nest:{"input&":{$nest:{"&:hover":insetBoxShadow,"&:focus":insetBoxShadow}}}});Styles.cellFontSize2=24;Styles.cellFontSize3=20;Styles.cellFontSize4=17;Styles.cellFontSize5=15;Styles.cellFontSize6=13;Styles.cellFontSize7=11;Styles.cell2=typestyle_1.style({fontSize:Styles.cellFontSize2+"px"});Styles.cell3=typestyle_1.style({fontSize:Styles.cellFontSize3+"px"});Styles.cell4=typestyle_1.style({fontSize:Styles.cellFontSize4+"px"});Styles.cell5=typestyle_1.style({fontSize:Styles.cellFontSize5+"px"});Styles.cell6=typestyle_1.style({fontSize:Styles.cellFontSize6+"px"});Styles.cell7=typestyle_1.style({fontSize:Styles.cellFontSize7+"px"})})(Styles||(Styles={}));exports.default=Styles},{"../styles":34,typestyle:97}],28:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var dom_1=require("@cycle/dom");var styles_1=require("./styles");var zeroWidthSpace="";function renderLeftBracket(state){return dom_1.div(".leftBracket."+styles_1.default.leftBracket,{key:"leftBracket"+state.id})}function renderRightBracket(state){return dom_1.div(".rightBracket."+styles_1.default.rightBracket,{key:"rightBracket"+state.id})}function isNumberHuge(num){return Number(num).toFixed(0).length>5}function isDecimalIrrelevant(decimals){return Math.abs(decimals)<1e-7}function isDecimalOneDigit(decimals){return Number(decimals).toFixed(2)===Number(decimals).toFixed(1)+"0"}function isNumberLengthy(num){return Number(Math.abs(num)).toFixed(0).length>3&&Number(num).toFixed(2).length>7}function formatNumber(num){var decimalPart=num<0?num-Math.ceil(num):num-Math.floor(num);if(isNumberHuge(num))return Number(num).toPrecision(3);if(isDecimalIrrelevant(decimalPart))return Number(num).toFixed(0);if(isDecimalOneDigit(decimalPart))return Number(num).toFixed(1);if(isNumberLengthy(num))return Number(num).toFixed(0);return Number(num).toFixed(2)}function fontSizeFor(num){if(num===null)return styles_1.default.cellFontSize2;var str=formatNumber(num);var len=str.length;var hasDot=str.indexOf(".")>-1;var hasMinus=str.indexOf("-")>-1;if(/^\d\.\d\de\+\d$/.test(str))return styles_1.default.cellFontSize6;if(hasDot||hasMinus){if(len<=3)return styles_1.default.cellFontSize2;if(len===4)return styles_1.default.cellFontSize3;if(len===5)return styles_1.default.cellFontSize4;if(len===6)return styles_1.default.cellFontSize5;if(len===7)return styles_1.default.cellFontSize6;if(len>=8)return styles_1.default.cellFontSize7}else{if(len<=2)return styles_1.default.cellFontSize2;if(len===3)return styles_1.default.cellFontSize3;if(len===4)return styles_1.default.cellFontSize4;if(len===5)return styles_1.default.cellFontSize5;if(len===6)return styles_1.default.cellFontSize6;if(len>=7)return styles_1.default.cellFontSize7}}function fontSizeStyleFor(num){if(fontSizeFor(num)===styles_1.default.cellFontSize2)return styles_1.default.cell2;if(fontSizeFor(num)===styles_1.default.cellFontSize3)return styles_1.default.cell3;if(fontSizeFor(num)===styles_1.default.cellFontSize4)return styles_1.default.cell4;if(fontSizeFor(num)===styles_1.default.cellFontSize5)return styles_1.default.cell5;if(fontSizeFor(num)===styles_1.default.cellFontSize6)return styles_1.default.cell6;if(fontSizeFor(num)===styles_1.default.cellFontSize7)return styles_1.default.cell7;else return styles_1.default.cell2}function updateFontSizeHook(prev,next){var vnode=next?next:prev;if(isNaN(vnode.data.attrs.value))return;if(!vnode.elm)return;var cellValue=0+vnode.data.attrs.value;vnode.elm.style.fontSize=fontSizeFor(cellValue)+"px"}function renderCellAsInput(cellValue,i,j){return dom_1.input(".cell."+styles_1.default.cell,{key:"cell"+i+"-"+j,hook:{insert:updateFontSizeHook,update:updateFontSizeHook},attrs:{type:"text","data-row":i,"data-col":j,value:typeof cellValue==="number"?cellValue:void 0}})}function renderCellAsSpan(cellValue,i,j){return dom_1.span(".cell."+styles_1.default.cell+"."+fontSizeStyleFor(cellValue),{attrs:{"data-row":i,"data-col":j}},typeof cellValue==="number"?[formatNumber(cellValue)]:[zeroWidthSpace])}function renderAllCells(state){return state.values.rows.map(function(row,i){return dom_1.div(".row."+styles_1.default.row,{key:"row"+i},row.map(function(cellValue,j){return dom_1.div(".col",{key:"col"+j},[state.editable?renderCellAsInput(cellValue,i,j):renderCellAsSpan(cellValue,i,j)])}))})}function view(state$){return state$.map(function(state){return dom_1.div(".matrix."+styles_1.default.matrix,{key:state.id},[renderLeftBracket(state)].concat(renderAllCells(state),[renderRightBracket(state)]))})}exports.default=view},{"./styles":27,"@cycle/dom":49}],29:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var dom_1=require("@cycle/dom");var endIcon=dom_1.svg({attrs:{width:"20px",height:"20px",viewBox:"0 0 511.63 511.63",space:"preserve"}},[dom_1.svg.g([dom_1.svg.path({attrs:{d:"M506.203,41.968c-3.617-3.617-7.902-5.426-12.851-5.426H456.81c-4.948,0-9.232,1.809-12.847,5.426 c-3.62,3.619-5.427,7.902-5.427,12.851v193.572c-0.955-2.091-2.19-3.899-3.717-5.424L232.11,40.257 c-3.616-3.615-6.658-4.853-9.136-3.709c-2.474,1.141-3.711,4.187-3.711,9.135v202.708c-0.95-2.091-2.187-3.899-3.709-5.424 L12.847,40.257c-3.617-3.615-6.661-4.853-9.135-3.709C1.237,37.689,0,40.735,0,45.683v420.262c0,4.948,1.241,7.998,3.715,9.141 c2.474,1.14,5.518-0.099,9.135-3.72l202.707-202.708c1.52-1.708,2.76-3.519,3.709-5.421v202.708c0,4.948,1.237,7.994,3.711,9.134 s5.52-0.1,9.136-3.717l202.709-202.708c1.523-1.711,2.762-3.524,3.714-5.428v193.571c0,4.948,1.81,9.229,5.427,12.847 c3.614,3.617,7.898,5.425,12.847,5.425h36.546c4.944,0,9.232-1.808,12.85-5.425c3.614-3.617,5.425-7.898,5.425-12.847V54.819 C511.626,49.863,509.82,45.584,506.203,41.968z",fill:"#FFFFFF"}})])]);exports.default=endIcon},{"@cycle/dom":49}],30:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var dom_1=require("@cycle/dom");var nextIcon=dom_1.svg({attrs:{width:"20px",height:"20px",viewBox:"0 0 440.25 440.25",space:"preserve"}},[dom_1.svg.g([dom_1.svg.path({attrs:{d:"M434.823,207.279L232.111,4.571c-3.609-3.617-6.655-4.856-9.133-3.713c-2.475,1.143-3.712,4.189-3.712,9.137v202.708 c-0.949-2.091-2.187-3.901-3.711-5.424L12.847,4.571C9.229,0.954,6.186-0.285,3.711,0.858C1.237,2.001,0,5.047,0,9.995v420.262 c0,4.948,1.237,7.994,3.711,9.138c2.474,1.14,5.518-0.1,9.135-3.721l202.708-202.701c1.521-1.711,2.762-3.524,3.711-5.428v202.712 c0,4.948,1.237,7.991,3.712,9.131c2.478,1.143,5.523-0.093,9.133-3.714l202.712-202.708c3.61-3.617,5.428-7.901,5.428-12.847 C440.248,215.178,438.433,210.896,434.823,207.279z",fill:"#FFFFFF"}})])]);exports.default=nextIcon},{"@cycle/dom":49}],31:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var dom_1=require("@cycle/dom");var playIcon=dom_1.svg({attrs:{width:"20px",height:"20px",viewBox:"0 0 41.999 41.999",space:"preserve"}},[dom_1.svg.g([dom_1.svg.path({attrs:{d:"M36.068,20.176l-29-20C6.761-0.035,6.363-0.057,6.035,0.114C5.706,0.287,5.5,0.627,5.5,0.999v40 c0,0.372,0.206,0.713,0.535,0.886c0.146,0.076,0.306,0.114,0.465,0.114c0.199,0,0.397-0.06,0.568-0.177l29-20 c0.271-0.187,0.432-0.494,0.432-0.823S36.338,20.363,36.068,20.176z",fill:"#FFFFFF"}})])]);exports.default=playIcon},{"@cycle/dom":49}],32:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var dom_1=require("@cycle/dom");var resetIcon=dom_1.svg({attrs:{width:"20px",height:"20px",viewBox:"0 0 438.536 438.536",space:"preserve"}},[dom_1.svg.g([dom_1.svg.path({attrs:{d:"M421.125,134.191c-11.608-27.03-27.217-50.347-46.819-69.949C354.7,44.639,331.384,29.033,304.353,17.42 C277.325,5.807,248.969,0.005,219.275,0.005c-27.978,0-55.052,5.277-81.227,15.843C111.879,26.412,88.61,41.305,68.243,60.531 l-37.12-36.835c-5.711-5.901-12.275-7.232-19.701-3.999C3.807,22.937,0,28.554,0,36.547v127.907c0,4.948,1.809,9.231,5.426,12.847 c3.619,3.617,7.902,5.426,12.85,5.426h127.907c7.996,0,13.61-3.807,16.846-11.421c3.234-7.423,1.903-13.988-3.999-19.701 l-39.115-39.398c13.328-12.563,28.553-22.222,45.683-28.98c17.131-6.757,35.021-10.138,53.675-10.138 c19.793,0,38.687,3.858,56.674,11.563c17.99,7.71,33.544,18.131,46.679,31.265c13.134,13.131,23.555,28.69,31.265,46.679 c7.703,17.987,11.56,36.875,11.56,56.674c0,19.798-3.856,38.686-11.56,56.672c-7.71,17.987-18.131,33.544-31.265,46.679 c-13.135,13.134-28.695,23.558-46.679,31.265c-17.987,7.707-36.881,11.561-56.674,11.561c-22.651,0-44.064-4.949-64.241-14.843 c-20.174-9.894-37.209-23.883-51.104-41.973c-1.331-1.902-3.521-3.046-6.567-3.429c-2.856,0-5.236,0.855-7.139,2.566 l-39.114,39.402c-1.521,1.53-2.33,3.478-2.426,5.853c-0.094,2.385,0.527,4.524,1.858,6.427 c20.749,25.125,45.871,44.587,75.373,58.382c29.502,13.798,60.625,20.701,93.362,20.701c29.694,0,58.05-5.808,85.078-17.416 c27.031-11.607,50.34-27.22,69.949-46.821c19.605-19.609,35.211-42.921,46.822-69.949s17.411-55.392,17.411-85.08 C438.536,189.569,432.732,161.22,421.125,134.191z",fill:"#FFFFFF"}})])]);exports.default=resetIcon},{"@cycle/dom":49}],33:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var run_1=require("@cycle/run");var dom_1=require("@cycle/dom");var cycle_onionify_1=require("cycle-onionify");var index_1=require("./App/index");require("./styles");var typestyle_1=require("typestyle");var main=cycle_onionify_1.default(index_1.default);run_1.run(main,{DOM:dom_1.makeDOMDriver("#main-container")});typestyle_1.forceRenderStyles()},{"./App/index":1,"./styles":34,"@cycle/dom":49,"@cycle/run":59,"cycle-onionify":63,typestyle:97}],34:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var typestyle_1=require("typestyle");typestyle_1.cssRule("@font-face",{fontFamily:'"Source Sans Pro"',src:'url("./fonts/SourceSansPro-Regular.otf")',fontWeight:"normal"});typestyle_1.cssRule("@font-face",{fontFamily:'"Vesper Libre"',src:'url("./fonts/VesperLibre-Regular.ttf")',fontWeight:"normal"});exports.pallete={blue:"rgb(48, 141, 255)",blueWeak:"rgb(93, 166, 252)",orange:"rgb(255, 162, 48)",orangeWeak:"rgb(253, 180, 97)",white:"#FFFFFF",grayLight:"#EEEEEE",gray:"#C5C5C5",grayDark:"#686868",black:"#323232"}},{typestyle:97}],35:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var immutable_1=require("immutable");var MatrixValues=function(){function MatrixValues(){}MatrixValues.prototype.clone=function(){var mv=new MatrixValues;mv.numRows=this.numRows;mv.numCols=this.numCols;mv.values=this.values;return mv};MatrixValues.ofDimensions=function(rows,columns){var mv=new MatrixValues;mv.numRows=Math.max(globalThis.tc39ignoredme1,rows);mv.numCols=Math.max(globalThis.tc39ignoredme1,columns);mv.values=makeValues(rows,columns);return mv};MatrixValues.from=function(vals){var mv=new MatrixValues;mv.numRows=vals.length;mv.numCols=vals[0].length;mv.values=immutable_1.fromJS(vals);return mv};MatrixValues.prototype.resize=function(numRows,numColumns){var _a=this,oldNumRows=_a.numRows,oldNumCols=_a.numCols;var nR=Math.max(1,numRows);var nC=Math.max(1,numColumns);var mv=new MatrixValues;mv.numRows=nR;mv.numCols=nC;mv.values=this.values.setSize(nR).map(function(rows,rowIndex){if(rowIndex>=oldNumRows){return makeRow(nC)}else{return rows.setSize(nC).map(function(v,colIndex){return colIndex>=oldNumCols?1:v})}});return mv};MatrixValues.prototype.set=function(rowIndex,colIndex,value){var mv=this.clone();mv.values=mv.values.setIn([rowIndex,colIndex],value);return mv};MatrixValues.prototype.get=function(rowIndex,colIndex){return this.values.getIn([rowIndex,colIndex])};MatrixValues.prototype.setAll=function(value){var mv=new MatrixValues;mv.numRows=this.numRows;mv.numCols=this.numCols;mv.values=makeValues(mv.numRows,mv.numCols,value);return mv};MatrixValues.prototype.transpose=function(){var mv=new MatrixValues;var numRows=mv.numRows=this.numCols;var numCols=mv.numCols=this.numRows;mv.values=makeValues(numRows,numCols);for(var i=0;i<numRows;i++){for(var j=0;j<numCols;j++){mv.values=mv.values.setIn([i,j],this.get(j,i))}}return mv};Object.defineProperty(MatrixValues.prototype,"numberRows",{get:function(){return this.numRows},enumerable:true,configurable:true});Object.defineProperty(MatrixValues.prototype,"numberColumns",{get:function(){return this.numCols},enumerable:true,configurable:true});Object.defineProperty(MatrixValues.prototype,"rows",{get:function(){return this.values.toJS()},enumerable:true,configurable:true});return MatrixValues}();exports.default=MatrixValues;function makeValues(numRows,numColumns,val){if(val===void 0){val=1}var vals=new Array(numRows);for(var i=0;i<numRows;i++){vals[i]=makeRow(numColumns,val)}return immutable_1.List(vals)}function makeRow(numColumns,val){if(val===void 0){val=1}var row=new Array(numColumns);for(var i=0;i<numColumns;i++){row[i]=val}return immutable_1.List(row)}},{immutable:68}],36:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var adapt_1=require("@cycle/run/lib/adapt");var fromEvent_1=require("./fromEvent");var BodyDOMSource=function(){function BodyDOMSource(_name){this._name=_name}BodyDOMSource.prototype.select=function(selector){return this};BodyDOMSource.prototype.elements=function(){var out=adapt_1.adapt(xstream_1.default.of([document.body]));out._isCycleSource=this._name;return out};BodyDOMSource.prototype.element=function(){var out=adapt_1.adapt(xstream_1.default.of(document.body));out._isCycleSource=this._name;return out};BodyDOMSource.prototype.events=function(eventType,options){if(options===void 0){options={}}var stream;stream=fromEvent_1.fromEvent(document.body,eventType,options.useCapture,options.preventDefault);var out=adapt_1.adapt(stream);out._isCycleSource=this._name;return out};return BodyDOMSource}();exports.BodyDOMSource=BodyDOMSource},{"./fromEvent":47,"@cycle/run/lib/adapt":57,xstream:107}],37:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var adapt_1=require("@cycle/run/lib/adapt");var fromEvent_1=require("./fromEvent");var DocumentDOMSource=function(){function DocumentDOMSource(_name){this._name=_name}DocumentDOMSource.prototype.select=function(selector){return this};DocumentDOMSource.prototype.elements=function(){var out=adapt_1.adapt(xstream_1.default.of([document]));out._isCycleSource=this._name;return out};DocumentDOMSource.prototype.element=function(){var out=adapt_1.adapt(xstream_1.default.of(document));out._isCycleSource=this._name;return out};DocumentDOMSource.prototype.events=function(eventType,options){if(options===void 0){options={}}var stream;stream=fromEvent_1.fromEvent(document,eventType,options.useCapture,options.preventDefault);var out=adapt_1.adapt(stream);out._isCycleSource=this._name;return out};return DocumentDOMSource}();exports.DocumentDOMSource=DocumentDOMSource},{"./fromEvent":47,"@cycle/run/lib/adapt":57,xstream:107}],38:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var ScopeChecker_1=require("./ScopeChecker");var utils_1=require("./utils");function toElArray(input){return Array.prototype.slice.call(input)}var ElementFinder=function(){function ElementFinder(namespace,isolateModule){this.namespace=namespace;this.isolateModule=isolateModule}ElementFinder.prototype.call=function(){var namespace=this.namespace;var selector=utils_1.getSelectors(namespace);var scopeChecker=new ScopeChecker_1.ScopeChecker(namespace,this.isolateModule);var topNode=this.isolateModule.getElement(namespace.filter(function(n){return n.type!=="selector"}));if(topNode===undefined){return[]}if(selector===""){return[topNode]}return toElArray(topNode.querySelectorAll(selector)).filter(scopeChecker.isDirectlyInScope,scopeChecker).concat(topNode.matches(selector)?[topNode]:[])};return ElementFinder}();exports.ElementFinder=ElementFinder},{"./ScopeChecker":44,"./utils":55}],39:[function(require,module,exports){"use strict";var __assign=this&&this.__assign||Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var ScopeChecker_1=require("./ScopeChecker");var utils_1=require("./utils");var ElementFinder_1=require("./ElementFinder");var SymbolTree_1=require("./SymbolTree");var RemovalSet_1=require("./RemovalSet");var PriorityQueue_1=require("./PriorityQueue");var fromEvent_1=require("./fromEvent");exports.eventTypesThatDontBubble=["blur","canplay","canplaythrough","durationchange","emptied","ended","focus","load","loadeddata","loadedmetadata","mouseenter","mouseleave","pause","play","playing","ratechange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeupdate","unload","volumechange","waiting"];var EventDelegator=function(){function EventDelegator(rootElement$,isolateModule){var _this=this;this.rootElement$=rootElement$;this.isolateModule=isolateModule;this.virtualListeners=new SymbolTree_1.default(function(x){return x.scope});this.nonBubblingListenersToAdd=new RemovalSet_1.default;this.virtualNonBubblingListener=[];this.isolateModule.setEventDelegator(this);this.domListeners=new Map;this.domListenersToAdd=new Map;this.nonBubblingListeners=new Map;rootElement$.addListener({next:function(el){if(_this.origin!==el){_this.origin=el;_this.resetEventListeners();_this.domListenersToAdd.forEach(function(passive,type){return _this.setupDOMListener(type,passive)});_this.domListenersToAdd.clear()}_this.resetNonBubblingListeners();_this.nonBubblingListenersToAdd.forEach(function(arr){_this.setupNonBubblingListener(arr)})}})}EventDelegator.prototype.addEventListener=function(eventType,namespace,options,bubbles){var subject=xstream_1.default.never();var scopeChecker=new ScopeChecker_1.ScopeChecker(namespace,this.isolateModule);var dest=this.insertListener(subject,scopeChecker,eventType,options);var shouldBubble=bubbles===undefined?exports.eventTypesThatDontBubble.indexOf(eventType)===-1:bubbles;if(shouldBubble){if(!this.domListeners.has(eventType)){this.setupDOMListener(eventType,!!options.passive)}}else{var finder=new ElementFinder_1.ElementFinder(namespace,this.isolateModule);this.setupNonBubblingListener([eventType,finder,dest])}return subject};EventDelegator.prototype.removeElement=function(element,namespace){if(namespace!==undefined){this.virtualListeners.delete(namespace)}var toRemove=[];this.nonBubblingListeners.forEach(function(map,type){if(map.has(element)){toRemove.push([type,element])}});for(var i=0;i<toRemove.length;i++){var map=this.nonBubblingListeners.get(toRemove[i][0]);if(!map){continue}map.delete(toRemove[i][1]);if(map.size===0){this.nonBubblingListeners.delete(toRemove[i][0])}else{this.nonBubblingListeners.set(toRemove[i][0],map)}}};EventDelegator.prototype.insertListener=function(subject,scopeChecker,eventType,options){var relevantSets=[];var n=scopeChecker._namespace;var max=n.length;do{relevantSets.push(this.getVirtualListeners(eventType,n,true,max));max--}while(max>=0&&n[max].type!=="total");var destination=__assign({},options,{scopeChecker:scopeChecker,subject:subject,bubbles:!!options.bubbles,useCapture:!!options.useCapture,passive:!!options.passive});for(var i=0;i<relevantSets.length;i++){relevantSets[i].add(destination,n.length)}return destination};EventDelegator.prototype.getVirtualListeners=function(eventType,namespace,exact,max){if(exact===void 0){exact=false}var _max=max!==undefined?max:namespace.length;if(!exact){for(var i=_max-1;i>=0;i--){if(namespace[i].type==="total"){_max=i+1;break}_max=i}}var map=this.virtualListeners.getDefault(namespace,function(){return new Map},_max);if(!map.has(eventType)){map.set(eventType,new PriorityQueue_1.default)}return map.get(eventType)};EventDelegator.prototype.setupDOMListener=function(eventType,passive){var _this=this;if(this.origin){var sub=fromEvent_1.fromEvent(this.origin,eventType,false,false,passive).subscribe({next:function(event){return _this.onEvent(eventType,event,passive)},error:function(){},complete:function(){}});this.domListeners.set(eventType,{sub:sub,passive:passive})}else{this.domListenersToAdd.set(eventType,passive)}};EventDelegator.prototype.setupNonBubblingListener=function(input){var _this=this;var eventType=input[0],elementFinder=input[1],destination=input[2];if(!this.origin){this.nonBubblingListenersToAdd.add(input);return}var element=elementFinder.call()[0];if(element){this.nonBubblingListenersToAdd.delete(input);var sub=fromEvent_1.fromEvent(element,eventType,false,false,destination.passive).subscribe({next:function(ev){return _this.onEvent(eventType,ev,!!destination.passive,false)},error:function(){},complete:function(){}});if(!this.nonBubblingListeners.has(eventType)){this.nonBubblingListeners.set(eventType,new Map)}var map=this.nonBubblingListeners.get(eventType);if(!map){return}map.set(element,{sub:sub,destination:destination})}else{this.nonBubblingListenersToAdd.add(input)}};EventDelegator.prototype.resetEventListeners=function(){var iter=this.domListeners.entries();var curr=iter.next();while(!curr.done){var _a=curr.value,type=_a[0],_b=_a[1],sub=_b.sub,passive=_b.passive;sub.unsubscribe();this.setupDOMListener(type,passive);curr=iter.next()}};EventDelegator.prototype.resetNonBubblingListeners=function(){var _this=this;var newMap=new Map;var insert=utils_1.makeInsert(newMap);this.nonBubblingListeners.forEach(function(map,type){map.forEach(function(value,elm){if(!document.body.contains(elm)){var sub=value.sub,destination_1=value.destination;if(sub){sub.unsubscribe()}var elementFinder=new ElementFinder_1.ElementFinder(destination_1.scopeChecker.namespace,_this.isolateModule);var newElm=elementFinder.call()[0];var newSub=fromEvent_1.fromEvent(newElm,type,false,false,destination_1.passive).subscribe({next:function(event){return _this.onEvent(type,event,!!destination_1.passive,false)},error:function(){},complete:function(){}});insert(type,newElm,{sub:newSub,destination:destination_1})}else{insert(type,elm,value)}});_this.nonBubblingListeners=newMap})};EventDelegator.prototype.putNonBubblingListener=function(eventType,elm,useCapture,passive){var map=this.nonBubblingListeners.get(eventType);if(!map){return}var listener=map.get(elm);if(listener&&listener.destination.passive===passive&&listener.destination.useCapture===useCapture){this.virtualNonBubblingListener[0]=listener.destination}};EventDelegator.prototype.onEvent=function(eventType,event,passive,bubbles){if(bubbles===void 0){bubbles=true}var cycleEvent=this.patchEvent(event);var rootElement=this.isolateModule.getRootElement(event.target);if(bubbles){var namespace=this.isolateModule.getNamespace(event.target);if(!namespace){return}var listeners=this.getVirtualListeners(eventType,namespace);this.bubble(eventType,event.target,rootElement,cycleEvent,listeners,namespace,namespace.length-1,true,passive);this.bubble(eventType,event.target,rootElement,cycleEvent,listeners,namespace,namespace.length-1,false,passive)}else{this.putNonBubblingListener(eventType,event.target,true,passive);this.doBubbleStep(eventType,event.target,rootElement,cycleEvent,this.virtualNonBubblingListener,true,passive);this.putNonBubblingListener(eventType,event.target,false,passive);this.doBubbleStep(eventType,event.target,rootElement,cycleEvent,this.virtualNonBubblingListener,false,passive);event.stopPropagation()}};EventDelegator.prototype.bubble=function(eventType,elm,rootElement,event,listeners,namespace,index,useCapture,passive){if(!useCapture&&!event.propagationHasBeenStopped){this.doBubbleStep(eventType,elm,rootElement,event,listeners,useCapture,passive)}var newRoot=rootElement;var newIndex=index;if(elm===rootElement){if(index>=0&&namespace[index].type==="sibling"){newRoot=this.isolateModule.getElement(namespace,index);newIndex--}else{return}}if(elm.parentNode&&newRoot){this.bubble(eventType,elm.parentNode,newRoot,event,listeners,namespace,newIndex,useCapture,passive)}if(useCapture&&!event.propagationHasBeenStopped){this.doBubbleStep(eventType,elm,rootElement,event,listeners,useCapture,passive)}} ;EventDelegator.prototype.doBubbleStep=function(eventType,elm,rootElement,event,listeners,useCapture,passive){if(!rootElement){return}this.mutateEventCurrentTarget(event,elm);listeners.forEach(function(dest){if(dest.passive===passive&&dest.useCapture===useCapture){var sel=utils_1.getSelectors(dest.scopeChecker.namespace);if(!event.propagationHasBeenStopped&&dest.scopeChecker.isDirectlyInScope(elm)&&(sel!==""&&elm.matches(sel)||sel===""&&elm===rootElement)){fromEvent_1.preventDefaultConditional(event,dest.preventDefault);dest.subject.shamefullySendNext(event)}}})};EventDelegator.prototype.patchEvent=function(event){var pEvent=event;pEvent.propagationHasBeenStopped=false;var oldStopPropagation=pEvent.stopPropagation;pEvent.stopPropagation=function stopPropagation(){oldStopPropagation.call(this);this.propagationHasBeenStopped=true};return pEvent};EventDelegator.prototype.mutateEventCurrentTarget=function(event,currentTargetElement){try{Object.defineProperty(event,"currentTarget",{value:currentTargetElement,configurable:true})}catch(err){console.log("please use event.ownerTarget")}event.ownerTarget=currentTargetElement};return EventDelegator}();exports.EventDelegator=EventDelegator},{"./ElementFinder":38,"./PriorityQueue":42,"./RemovalSet":43,"./ScopeChecker":44,"./SymbolTree":45,"./fromEvent":47,"./utils":55,xstream:107}],40:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var utils_1=require("./utils");var SymbolTree_1=require("./SymbolTree");var IsolateModule=function(){function IsolateModule(){this.namespaceTree=new SymbolTree_1.default(function(x){return x.scope});this.namespaceByElement=new Map;this.vnodesBeingRemoved=[]}IsolateModule.prototype.setEventDelegator=function(del){this.eventDelegator=del};IsolateModule.prototype.insertElement=function(namespace,el){this.namespaceByElement.set(el,namespace);this.namespaceTree.set(namespace,el)};IsolateModule.prototype.removeElement=function(elm){this.namespaceByElement.delete(elm);var namespace=this.getNamespace(elm);if(namespace){this.namespaceTree.delete(namespace)}};IsolateModule.prototype.getElement=function(namespace,max){return this.namespaceTree.get(namespace,undefined,max)};IsolateModule.prototype.getRootElement=function(elm){if(this.namespaceByElement.has(elm)){return elm}var curr=elm;while(!this.namespaceByElement.has(curr)){curr=curr.parentNode;if(!curr){return undefined}else if(curr.tagName==="HTML"){throw new Error("No root element found, this should not happen at all")}}return curr};IsolateModule.prototype.getNamespace=function(elm){var rootElement=this.getRootElement(elm);if(!rootElement){return undefined}return this.namespaceByElement.get(rootElement)};IsolateModule.prototype.createModule=function(){var self=this;return{create:function(emptyVNode,vNode){var elm=vNode.elm,_a=vNode.data,data=_a===void 0?{}:_a;var namespace=data.isolate;if(Array.isArray(namespace)){self.insertElement(namespace,elm)}},update:function(oldVNode,vNode){var oldElm=oldVNode.elm,_a=oldVNode.data,oldData=_a===void 0?{}:_a;var elm=vNode.elm,_b=vNode.data,data=_b===void 0?{}:_b;var oldNamespace=oldData.isolate;var namespace=data.isolate;if(!utils_1.isEqualNamespace(oldNamespace,namespace)){if(Array.isArray(oldNamespace)){self.removeElement(oldElm)}}if(Array.isArray(namespace)){self.insertElement(namespace,elm)}},destroy:function(vNode){self.vnodesBeingRemoved.push(vNode)},remove:function(vNode,cb){self.vnodesBeingRemoved.push(vNode);cb()},post:function(){var vnodesBeingRemoved=self.vnodesBeingRemoved;for(var i=vnodesBeingRemoved.length-1;i>=0;i--){var vnode=vnodesBeingRemoved[i];var namespace=vnode.data!==undefined?vnode.data.isolation:undefined;if(namespace!==undefined){self.removeElement(namespace)}self.eventDelegator.removeElement(vnode.elm,namespace)}self.vnodesBeingRemoved=[]}}};return IsolateModule}();exports.IsolateModule=IsolateModule},{"./SymbolTree":45,"./utils":55}],41:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var adapt_1=require("@cycle/run/lib/adapt");var DocumentDOMSource_1=require("./DocumentDOMSource");var BodyDOMSource_1=require("./BodyDOMSource");var ElementFinder_1=require("./ElementFinder");var isolate_1=require("./isolate");var MainDOMSource=function(){function MainDOMSource(_rootElement$,_sanitation$,_namespace,_isolateModule,_eventDelegator,_name){if(_namespace===void 0){_namespace=[]}this._rootElement$=_rootElement$;this._sanitation$=_sanitation$;this._namespace=_namespace;this._isolateModule=_isolateModule;this._eventDelegator=_eventDelegator;this._name=_name;this.isolateSource=function(source,scope){return new MainDOMSource(source._rootElement$,source._sanitation$,source._namespace.concat(isolate_1.getScopeObj(scope)),source._isolateModule,source._eventDelegator,source._name)};this.isolateSink=isolate_1.makeIsolateSink(this._namespace)}MainDOMSource.prototype._elements=function(){if(this._namespace.length===0){return this._rootElement$.map(function(x){return[x]})}else{var elementFinder_1=new ElementFinder_1.ElementFinder(this._namespace,this._isolateModule);return this._rootElement$.map(function(){return elementFinder_1.call()})}};MainDOMSource.prototype.elements=function(){var out=adapt_1.adapt(this._elements().remember());out._isCycleSource=this._name;return out};MainDOMSource.prototype.element=function(){var out=adapt_1.adapt(this._elements().filter(function(arr){return arr.length>0}).map(function(arr){return arr[0]}).remember());out._isCycleSource=this._name;return out};Object.defineProperty(MainDOMSource.prototype,"namespace",{get:function(){return this._namespace},enumerable:true,configurable:true});MainDOMSource.prototype.select=function(selector){if(typeof selector!=="string"){throw new Error("DOM driver's select() expects the argument to be a "+"string as a CSS selector")}if(selector==="document"){return new DocumentDOMSource_1.DocumentDOMSource(this._name)}if(selector==="body"){return new BodyDOMSource_1.BodyDOMSource(this._name)}var namespace=selector===":root"?[]:this._namespace.concat({type:"selector",scope:selector.trim()});return new MainDOMSource(this._rootElement$,this._sanitation$,namespace,this._isolateModule,this._eventDelegator,this._name)};MainDOMSource.prototype.events=function(eventType,options,bubbles){if(options===void 0){options={}}if(typeof eventType!=="string"){throw new Error("DOM driver's events() expects argument to be a "+"string representing the event type to listen for.")}var event$=this._eventDelegator.addEventListener(eventType,this._namespace,options,bubbles);var out=adapt_1.adapt(event$);out._isCycleSource=this._name;return out};MainDOMSource.prototype.dispose=function(){this._sanitation$.shamefullySendNext(null)};return MainDOMSource}();exports.MainDOMSource=MainDOMSource},{"./BodyDOMSource":36,"./DocumentDOMSource":37,"./ElementFinder":38,"./isolate":50,"@cycle/run/lib/adapt":57}],42:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var PriorityQueue=function(){function PriorityQueue(){this.arr=[];this.prios=[]}PriorityQueue.prototype.add=function(t,prio){for(var i=0;i<this.arr.length;i++){if(this.prios[i]<prio){this.arr.splice(i,0,t);this.prios.splice(i,0,prio);return}}this.arr.push(t);this.prios.push(prio)};PriorityQueue.prototype.forEach=function(f){for(var i=0;i<this.arr.length;i++){f(this.arr[i],i,this.arr)}};PriorityQueue.prototype.delete=function(t){for(var i=0;i<this.arr.length;i++){if(this.arr[i]===t){this.arr.splice(i,1);this.prios.splice(i,1);return}}};return PriorityQueue}();exports.default=PriorityQueue},{}],43:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var RemovalSet=function(){function RemovalSet(){this.toDelete=[];this.toDeleteSize=0;this._set=new Set}RemovalSet.prototype.add=function(t){this._set.add(t)};RemovalSet.prototype.forEach=function(f){this._set.forEach(f);this.flush()};RemovalSet.prototype.delete=function(t){if(this.toDelete.length===this.toDeleteSize){this.toDelete.push(t)}else{this.toDelete[this.toDeleteSize]=t}this.toDeleteSize++};RemovalSet.prototype.flush=function(){for(var i=0;i<this.toDelete.length;i++){if(i<this.toDeleteSize){this._set.delete(this.toDelete[i])}this.toDelete[i]=undefined}this.toDeleteSize=0};return RemovalSet}();exports.default=RemovalSet},{}],44:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var utils_1=require("./utils");var ScopeChecker=function(){function ScopeChecker(namespace,isolateModule){this.namespace=namespace;this.isolateModule=isolateModule;this._namespace=namespace.filter(function(n){return n.type!=="selector"})}ScopeChecker.prototype.isDirectlyInScope=function(leaf){var namespace=this.isolateModule.getNamespace(leaf);if(!namespace){return false}if(this._namespace.length>namespace.length||!utils_1.isEqualNamespace(this._namespace,namespace.slice(0,this._namespace.length))){return false}for(var i=this._namespace.length;i<namespace.length;i++){if(namespace[i].type==="total"){return false}}return true};return ScopeChecker}();exports.ScopeChecker=ScopeChecker},{"./utils":55}],45:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var SymbolTree=function(){function SymbolTree(mapper){this.mapper=mapper;this.tree=[undefined,{}]}SymbolTree.prototype.set=function(path,element,max){var curr=this.tree;var _max=max!==undefined?max:path.length;for(var i=0;i<_max;i++){var n=this.mapper(path[i]);var child=curr[1][n];if(!child){child=[undefined,{}];curr[1][n]=child}curr=child}curr[0]=element};SymbolTree.prototype.getDefault=function(path,mkDefaultElement,max){return this.get(path,mkDefaultElement,max)};SymbolTree.prototype.get=function(path,mkDefaultElement,max){var curr=this.tree;var _max=max!==undefined?max:path.length;for(var i=0;i<_max;i++){var n=this.mapper(path[i]);var child=curr[1][n];if(!child){if(mkDefaultElement){child=[undefined,{}];curr[1][n]=child}else{return undefined}}curr=child}if(mkDefaultElement&&!curr[0]){curr[0]=mkDefaultElement()}return curr[0]};SymbolTree.prototype.delete=function(path){var curr=this.tree;for(var i=0;i<path.length-1;i++){var child=curr[1][this.mapper(path[i])];if(!child){return}curr=child}delete curr[1][this.mapper(path[path.length-1])]};return SymbolTree}();exports.default=SymbolTree},{}],46:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var vnode_1=require("snabbdom/vnode");var h_1=require("snabbdom/h");var snabbdom_selector_1=require("snabbdom-selector");var utils_1=require("./utils");var VNodeWrapper=function(){function VNodeWrapper(rootElement){this.rootElement=rootElement}VNodeWrapper.prototype.call=function(vnode){if(utils_1.isDocFrag(this.rootElement)){return this.wrapDocFrag(vnode===null?[]:[vnode])}if(vnode===null){return this.wrap([])}var _a=snabbdom_selector_1.selectorParser(vnode),selTagName=_a.tagName,selId=_a.id;var vNodeClassName=snabbdom_selector_1.classNameFromVNode(vnode);var vNodeData=vnode.data||{};var vNodeDataProps=vNodeData.props||{};var _b=vNodeDataProps.id,vNodeId=_b===void 0?selId:_b;var isVNodeAndRootElementIdentical=typeof vNodeId==="string"&&vNodeId.toUpperCase()===this.rootElement.id.toUpperCase()&&selTagName.toUpperCase()===this.rootElement.tagName.toUpperCase()&&vNodeClassName.toUpperCase()===this.rootElement.className.toUpperCase();if(isVNodeAndRootElementIdentical){return vnode}return this.wrap([vnode])};VNodeWrapper.prototype.wrapDocFrag=function(children){return vnode_1.vnode("",{isolate:[]},children,undefined,this.rootElement)};VNodeWrapper.prototype.wrap=function(children){var _a=this.rootElement,tagName=_a.tagName,id=_a.id,className=_a.className;var selId=id?"#"+id:"";var selClass=className?"."+className.split(" ").join("."):"";var vnode=h_1.h(""+tagName.toLowerCase()+selId+selClass,{},children);vnode.data=vnode.data||{};vnode.data.isolate=vnode.data.isolate||[];return vnode};return VNodeWrapper}();exports.VNodeWrapper=VNodeWrapper},{"./utils":55,"snabbdom-selector":74,"snabbdom/h":78,"snabbdom/vnode":89}],47:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");function fromEvent(element,eventName,useCapture,preventDefault,passive){if(useCapture===void 0){useCapture=false}if(preventDefault===void 0){preventDefault=false}if(passive===void 0){passive=false}return xstream_1.Stream.create({element:element,next:null,start:function start(listener){if(preventDefault){this.next=function next(event){preventDefaultConditional(event,preventDefault);listener.next(event)}}else{this.next=function next(event){listener.next(event)}}this.element.addEventListener(eventName,this.next,{capture:useCapture,passive:passive})},stop:function stop(){this.element.removeEventListener(eventName,this.next,useCapture)}})}exports.fromEvent=fromEvent;function matchObject(matcher,obj){var keys=Object.keys(matcher);var n=keys.length;for(var i=0;i<n;i++){var k=keys[i];if(typeof matcher[k]==="object"&&typeof obj[k]==="object"){if(!matchObject(matcher[k],obj[k])){return false}}else if(matcher[k]!==obj[k]){return false}}return true}function preventDefaultConditional(event,preventDefault){if(preventDefault){if(typeof preventDefault==="boolean"){event.preventDefault()}else if(typeof preventDefault==="function"){if(preventDefault(event)){event.preventDefault()}}else if(typeof preventDefault==="object"){if(matchObject(preventDefault,event)){event.preventDefault()}}else{throw new Error("preventDefault has to be either a boolean, predicate function or object")}}}exports.preventDefaultConditional=preventDefaultConditional},{xstream:107}],48:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var h_1=require("snabbdom/h");function isValidString(param){return typeof param==="string"&&param.length>0}function isSelector(param){return isValidString(param)&&(param[0]==="."||param[0]==="#")}function createTagFunction(tagName){return function hyperscript(a,b,c){var hasA=typeof a!=="undefined";var hasB=typeof b!=="undefined";var hasC=typeof c!=="undefined";if(isSelector(a)){if(hasB&&hasC){return h_1.h(tagName+a,b,c)}else if(hasB){return h_1.h(tagName+a,b)}else{return h_1.h(tagName+a,{})}}else if(hasC){return h_1.h(tagName+a,b,c)}else if(hasB){return h_1.h(tagName,a,b)}else if(hasA){return h_1.h(tagName,a)}else{return h_1.h(tagName,{})}}}var SVG_TAG_NAMES=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","colorProfile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotlight","feTile","feTurbulence","filter","font","fontFace","fontFaceFormat","fontFaceName","fontFaceSrc","fontFaceUri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missingGlyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"];var svg=createTagFunction("svg");SVG_TAG_NAMES.forEach(function(tag){svg[tag]=createTagFunction(tag)});var TAG_NAMES=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dir","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","meta","nav","noscript","object","ol","optgroup","option","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","u","ul","video"];var exported={SVG_TAG_NAMES:SVG_TAG_NAMES,TAG_NAMES:TAG_NAMES,svg:svg,isSelector:isSelector,createTagFunction:createTagFunction};TAG_NAMES.forEach(function(n){exported[n]=createTagFunction(n)});exports.default=exported},{"snabbdom/h":78}],49:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var thunk_1=require("./thunk");exports.thunk=thunk_1.thunk;var MainDOMSource_1=require("./MainDOMSource");exports.MainDOMSource=MainDOMSource_1.MainDOMSource;var makeDOMDriver_1=require("./makeDOMDriver");exports.makeDOMDriver=makeDOMDriver_1.makeDOMDriver;var mockDOMSource_1=require("./mockDOMSource");exports.mockDOMSource=mockDOMSource_1.mockDOMSource;exports.MockedDOMSource=mockDOMSource_1.MockedDOMSource;var h_1=require("snabbdom/h");exports.h=h_1.h;var hyperscript_helpers_1=require("./hyperscript-helpers");exports.svg=hyperscript_helpers_1.default.svg;exports.a=hyperscript_helpers_1.default.a;exports.abbr=hyperscript_helpers_1.default.abbr;exports.address=hyperscript_helpers_1.default.address;exports.area=hyperscript_helpers_1.default.area;exports.article=hyperscript_helpers_1.default.article;exports.aside=hyperscript_helpers_1.default.aside;exports.audio=hyperscript_helpers_1.default.audio;exports.b=hyperscript_helpers_1.default.b;exports.base=hyperscript_helpers_1.default.base;exports.bdi=hyperscript_helpers_1.default.bdi;exports.bdo=hyperscript_helpers_1.default.bdo;exports.blockquote=hyperscript_helpers_1.default.blockquote;exports.body=hyperscript_helpers_1.default.body;exports.br=hyperscript_helpers_1.default.br;exports.button=hyperscript_helpers_1.default.button;exports.canvas=hyperscript_helpers_1.default.canvas;exports.caption=hyperscript_helpers_1.default.caption;exports.cite=hyperscript_helpers_1.default.cite;exports.code=hyperscript_helpers_1.default.code;exports.col=hyperscript_helpers_1.default.col;exports.colgroup=hyperscript_helpers_1.default.colgroup;exports.dd=hyperscript_helpers_1.default.dd;exports.del=hyperscript_helpers_1.default.del;exports.dfn=hyperscript_helpers_1.default.dfn;exports.dir=hyperscript_helpers_1.default.dir;exports.div=hyperscript_helpers_1.default.div;exports.dl=hyperscript_helpers_1.default.dl;exports.dt=hyperscript_helpers_1.default.dt;exports.em=hyperscript_helpers_1.default.em;exports.embed=hyperscript_helpers_1.default.embed;exports.fieldset=hyperscript_helpers_1.default.fieldset;exports.figcaption=hyperscript_helpers_1.default.figcaption;exports.figure=hyperscript_helpers_1.default.figure;exports.footer=hyperscript_helpers_1.default.footer;exports.form=hyperscript_helpers_1.default.form;exports.h1=hyperscript_helpers_1.default.h1;exports.h2=hyperscript_helpers_1.default.h2;exports.h3=hyperscript_helpers_1.default.h3;exports.h4=hyperscript_helpers_1.default.h4;exports.h5=hyperscript_helpers_1.default.h5;exports.h6=hyperscript_helpers_1.default.h6;exports.head=hyperscript_helpers_1.default.head;exports.header=hyperscript_helpers_1.default.header;exports.hgroup=hyperscript_helpers_1.default.hgroup;exports.hr=hyperscript_helpers_1.default.hr;exports.html=hyperscript_helpers_1.default.html;exports.i=hyperscript_helpers_1.default.i;exports.iframe=hyperscript_helpers_1.default.iframe;exports.img=hyperscript_helpers_1.default.img;exports.input=hyperscript_helpers_1.default.input;exports.ins=hyperscript_helpers_1.default.ins;exports.kbd=hyperscript_helpers_1.default.kbd;exports.keygen=hyperscript_helpers_1.default.keygen;exports.label=hyperscript_helpers_1.default.label;exports.legend=hyperscript_helpers_1.default.legend;exports.li=hyperscript_helpers_1.default.li;exports.link=hyperscript_helpers_1.default.link;exports.main=hyperscript_helpers_1.default.main;exports.map=hyperscript_helpers_1.default.map;exports.mark=hyperscript_helpers_1.default.mark;exports.menu=hyperscript_helpers_1.default.menu;exports.meta=hyperscript_helpers_1.default.meta;exports.nav=hyperscript_helpers_1.default.nav;exports.noscript=hyperscript_helpers_1.default.noscript;exports.object=hyperscript_helpers_1.default.object;exports.ol=hyperscript_helpers_1.default.ol;exports.optgroup=hyperscript_helpers_1.default.optgroup;exports.option=hyperscript_helpers_1.default.option;exports.p=hyperscript_helpers_1.default.p;exports.param=hyperscript_helpers_1.default.param;exports.pre=hyperscript_helpers_1.default.pre;exports.progress=hyperscript_helpers_1.default.progress;exports.q=hyperscript_helpers_1.default.q;exports.rp=hyperscript_helpers_1.default.rp;exports.rt=hyperscript_helpers_1.default.rt;exports.ruby=hyperscript_helpers_1.default.ruby;exports.s=hyperscript_helpers_1.default.s;exports.samp=hyperscript_helpers_1.default.samp;exports.script=hyperscript_helpers_1.default.script;exports.section=hyperscript_helpers_1.default.section;exports.select=hyperscript_helpers_1.default.select;exports.small=hyperscript_helpers_1.default.small;exports.source=hyperscript_helpers_1.default.source;exports.span=hyperscript_helpers_1.default.span;exports.strong=hyperscript_helpers_1.default.strong;exports.style=hyperscript_helpers_1.default.style;exports.sub=hyperscript_helpers_1.default.sub;exports.sup=hyperscript_helpers_1.default.sup;exports.table=hyperscript_helpers_1.default.table;exports.tbody=hyperscript_helpers_1.default.tbody;exports.td=hyperscript_helpers_1.default.td;exports.textarea=hyperscript_helpers_1.default.textarea;exports.tfoot=hyperscript_helpers_1.default.tfoot;exports.th=hyperscript_helpers_1.default.th;exports.thead=hyperscript_helpers_1.default.thead;exports.title=hyperscript_helpers_1.default.title;exports.tr=hyperscript_helpers_1.default.tr;exports.u=hyperscript_helpers_1.default.u;exports.ul=hyperscript_helpers_1.default.ul;exports.video=hyperscript_helpers_1.default.video},{"./MainDOMSource":41,"./hyperscript-helpers":48,"./makeDOMDriver":51,"./mockDOMSource":52,"./thunk":54,"snabbdom/h":78}],50:[function(require,module,exports){"use strict";var __assign=this&&this.__assign||Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};Object.defineProperty(exports,"__esModule",{value:true});var utils_1=require("./utils");function makeIsolateSink(namespace){return function(sink,scope){if(scope===":root"){return sink}return sink.map(function(node){if(!node){return node}var scopeObj=getScopeObj(scope);var newNode=__assign({},node,{data:__assign({},node.data,{isolate:!node.data||!Array.isArray(node.data.isolate)?namespace.concat([scopeObj]):node.data.isolate})});return __assign({},newNode,{key:newNode.key!==undefined?newNode.key:JSON.stringify(newNode.data.isolate)})})}}exports.makeIsolateSink=makeIsolateSink;function getScopeObj(scope){return{type:utils_1.isClassOrId(scope)?"sibling":"total",scope:scope}}exports.getScopeObj=getScopeObj},{"./utils":55}],51:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var snabbdom_1=require("snabbdom");var xstream_1=require("xstream");var concat_1=require("xstream/extra/concat");var sampleCombine_1=require("xstream/extra/sampleCombine");var MainDOMSource_1=require("./MainDOMSource");var tovnode_1=require("snabbdom/tovnode");var VNodeWrapper_1=require("./VNodeWrapper");var utils_1=require("./utils");var modules_1=require("./modules");var IsolateModule_1=require("./IsolateModule");var EventDelegator_1=require("./EventDelegator");function makeDOMDriverInputGuard(modules){if(!Array.isArray(modules)){throw new Error("Optional modules option must be an array for snabbdom modules")}}function domDriverInputGuard(view$){if(!view$||typeof view$.addListener!=="function"||typeof view$.fold!=="function"){throw new Error("The DOM driver function expects as input a Stream of "+"virtual DOM elements")}}function dropCompletion(input){return xstream_1.default.merge(input,xstream_1.default.never())}function unwrapElementFromVNode(vnode){return vnode.elm}function reportSnabbdomError(err){(console.error||console.log)(err)}function makeDOMReady$(){return xstream_1.default.create({start:function(lis){if(document.readyState==="loading"){document.addEventListener("readystatechange",function(){var state=document.readyState;if(state==="interactive"||state==="complete"){lis.next(null);lis.complete()}})}else{lis.next(null);lis.complete()}},stop:function(){}})}function addRootScope(vnode){vnode.data=vnode.data||{};vnode.data.isolate=[];return vnode}function makeDOMDriver(container,options){if(!options){options={}}utils_1.checkValidContainer(container);var modules=options.modules||modules_1.default;makeDOMDriverInputGuard(modules);var isolateModule=new IsolateModule_1.IsolateModule;var patch=snabbdom_1.init([isolateModule.createModule()].concat(modules));var domReady$=makeDOMReady$();var vnodeWrapper;var mutationObserver;var mutationConfirmed$=xstream_1.default.create({start:function(listener){mutationObserver=new MutationObserver(function(){return listener.next(null)})},stop:function(){mutationObserver.disconnect()}});function DOMDriver(vnode$,name){if(name===void 0){name="DOM"}domDriverInputGuard(vnode$);var sanitation$=xstream_1.default.create();var firstRoot$=domReady$.map(function(){var firstRoot=utils_1.getValidNode(container)||document.body;vnodeWrapper=new VNodeWrapper_1.VNodeWrapper(firstRoot);return firstRoot});var rememberedVNode$=vnode$.remember();rememberedVNode$.addListener({});mutationConfirmed$.addListener({});var elementAfterPatch$=firstRoot$.map(function(firstRoot){return xstream_1.default.merge(rememberedVNode$.endWhen(sanitation$),sanitation$).map(function(vnode){return vnodeWrapper.call(vnode)}).startWith(addRootScope(tovnode_1.toVNode(firstRoot))).fold(patch,tovnode_1.toVNode(firstRoot)).drop(1).map(unwrapElementFromVNode).startWith(firstRoot).map(function(el){mutationObserver.observe(el,{childList:true,attributes:true,characterData:true,subtree:true,attributeOldValue:true,characterDataOldValue:true});return el}).compose(dropCompletion)}).flatten();var rootElement$=concat_1.default(domReady$,mutationConfirmed$).endWhen(sanitation$).compose(sampleCombine_1.default(elementAfterPatch$)).map(function(arr){return arr[1]}).remember();rootElement$.addListener({error:reportSnabbdomError});var delegator=new EventDelegator_1.EventDelegator(rootElement$,isolateModule);return new MainDOMSource_1.MainDOMSource(rootElement$,sanitation$,[],isolateModule,delegator,name)}return DOMDriver}exports.makeDOMDriver=makeDOMDriver},{"./EventDelegator":39,"./IsolateModule":40,"./MainDOMSource":41,"./VNodeWrapper":46,"./modules":53,"./utils":55,snabbdom:86,"snabbdom/tovnode":88,xstream:107,"xstream/extra/concat":102,"xstream/extra/sampleCombine":105}],52:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var adapt_1=require("@cycle/run/lib/adapt");var SCOPE_PREFIX="___";var MockedDOMSource=function(){function MockedDOMSource(_mockConfig){this._mockConfig=_mockConfig;if(_mockConfig.elements){this._elements=_mockConfig.elements}else{this._elements=adapt_1.adapt(xstream_1.default.empty())}}MockedDOMSource.prototype.elements=function(){var out=this._elements;out._isCycleSource="MockedDOM";return out};MockedDOMSource.prototype.element=function(){var output$=this.elements().filter(function(arr){return arr.length>0}).map(function(arr){return arr[0]}).remember();var out=adapt_1.adapt(output$);out._isCycleSource="MockedDOM";return out};MockedDOMSource.prototype.events=function(eventType,options){var streamForEventType=this._mockConfig[eventType];var out=adapt_1.adapt(streamForEventType||xstream_1.default.empty());out._isCycleSource="MockedDOM";return out};MockedDOMSource.prototype.select=function(selector){var mockConfigForSelector=this._mockConfig[selector]||{};return new MockedDOMSource(mockConfigForSelector)};MockedDOMSource.prototype.isolateSource=function(source,scope){return source.select("."+SCOPE_PREFIX+scope)};MockedDOMSource.prototype.isolateSink=function(sink,scope){return adapt_1.adapt(xstream_1.default.fromObservable(sink).map(function(vnode){if(vnode.sel&&vnode.sel.indexOf(SCOPE_PREFIX+scope)!==-1){return vnode}else{vnode.sel+="."+SCOPE_PREFIX+scope;return vnode}}))};return MockedDOMSource}();exports.MockedDOMSource=MockedDOMSource;function mockDOMSource(mockConfig){return new MockedDOMSource(mockConfig)}exports.mockDOMSource=mockDOMSource},{"@cycle/run/lib/adapt":57,xstream:107}],53:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var class_1=require("snabbdom/modules/class");exports.ClassModule=class_1.default;var props_1=require("snabbdom/modules/props");exports.PropsModule=props_1.default;var attributes_1=require("snabbdom/modules/attributes");exports.AttrsModule=attributes_1.default;var style_1=require("snabbdom/modules/style");exports.StyleModule=style_1.default;var dataset_1=require("snabbdom/modules/dataset");exports.DatasetModule=dataset_1.default;var modules=[style_1.default,class_1.default,props_1.default,attributes_1.default,dataset_1.default];exports.default=modules},{"snabbdom/modules/attributes":81,"snabbdom/modules/class":82,"snabbdom/modules/dataset":83,"snabbdom/modules/props":84,"snabbdom/modules/style":85}],54:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var h_1=require("snabbdom/h");function copyToThunk(vnode,thunkVNode){thunkVNode.elm=vnode.elm;vnode.data.fn=thunkVNode.data.fn;vnode.data.args=thunkVNode.data.args;vnode.data.isolate=thunkVNode.data.isolate;thunkVNode.data=vnode.data;thunkVNode.children=vnode.children;thunkVNode.text=vnode.text;thunkVNode.elm=vnode.elm}function init(thunkVNode){var cur=thunkVNode.data;var vnode=cur.fn.apply(undefined,cur.args);copyToThunk(vnode,thunkVNode)}function prepatch(oldVnode,thunkVNode){var old=oldVnode.data,cur=thunkVNode.data;var i;var oldArgs=old.args,args=cur.args;if(old.fn!==cur.fn||oldArgs.length!==args.length){copyToThunk(cur.fn.apply(undefined,args),thunkVNode)}for(i=0;i<args.length;++i){if(oldArgs[i]!==args[i]){copyToThunk(cur.fn.apply(undefined,args),thunkVNode);return}}copyToThunk(oldVnode,thunkVNode)}function thunk(sel,key,fn,args){if(args===undefined){args=fn;fn=key;key=undefined}return h_1.h(sel,{key:key,hook:{init:init,prepatch:prepatch},fn:fn,args:args})}exports.thunk=thunk;exports.default=thunk},{"snabbdom/h":78}],55:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function isValidNode(obj){var ELEM_TYPE=1;var FRAG_TYPE=11;return typeof HTMLElement==="object"?obj instanceof HTMLElement||obj instanceof DocumentFragment:obj&&typeof obj==="object"&&obj!==null&&(obj.nodeType===ELEM_TYPE||obj.nodeType===FRAG_TYPE)&&typeof obj.nodeName==="string"}function isClassOrId(str){return str.length>1&&(str[0]==="."||str[0]==="#")}exports.isClassOrId=isClassOrId;function isDocFrag(el){return el.nodeType===11}exports.isDocFrag=isDocFrag;function checkValidContainer(container){if(typeof container!=="string"&&!isValidNode(container)){throw new Error("Given container is not a DOM element neither a selector string.")}}exports.checkValidContainer=checkValidContainer;function getValidNode(selectors){var domElement=typeof selectors==="string"?document.querySelector(selectors):selectors;if(typeof selectors==="string"&&domElement===null){throw new Error("Cannot render into unknown element `"+selectors+"`")}return domElement}exports.getValidNode=getValidNode;function getSelectors(namespace){var res="";for(var i=namespace.length-1;i>=0;i--){if(namespace[i].type!=="selector"){break}res=namespace[i].scope+" "+res}return res.trim()}exports.getSelectors=getSelectors ;function isEqualNamespace(a,b){if(!Array.isArray(a)||!Array.isArray(b)||a.length!==b.length){return false}for(var i=0;i<a.length;i++){if(a[i].type!==b[i].type||a[i].scope!==b[i].scope){return false}}return true}exports.isEqualNamespace=isEqualNamespace;function makeInsert(map){return function(type,elm,value){if(map.has(type)){var innerMap=map.get(type);innerMap.set(elm,value)}else{var innerMap=new Map;innerMap.set(elm,value);map.set(type,innerMap)}}}exports.makeInsert=makeInsert},{}],56:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var adapt_1=require("@cycle/run/lib/adapt");function checkIsolateArgs(dataflowComponent,scope){if(typeof dataflowComponent!=="function"){throw new Error("First argument given to isolate() must be a "+"'dataflowComponent' function")}if(scope===null){throw new Error("Second argument given to isolate() must not be null")}}function normalizeScopes(sources,scopes,randomScope){var perChannel={};Object.keys(sources).forEach(function(channel){if(typeof scopes==="string"){perChannel[channel]=scopes;return}var candidate=scopes[channel];if(typeof candidate!=="undefined"){perChannel[channel]=candidate;return}var wildcard=scopes["*"];if(typeof wildcard!=="undefined"){perChannel[channel]=wildcard;return}perChannel[channel]=randomScope});return perChannel}function isolateAllSources(outerSources,scopes){var innerSources={};for(var channel in outerSources){var outerSource=outerSources[channel];if(outerSources.hasOwnProperty(channel)&&outerSource&&scopes[channel]!==null&&typeof outerSource.isolateSource==="function"){innerSources[channel]=outerSource.isolateSource(outerSource,scopes[channel])}else if(outerSources.hasOwnProperty(channel)){innerSources[channel]=outerSources[channel]}}return innerSources}function isolateAllSinks(sources,innerSinks,scopes){var outerSinks={};for(var channel in innerSinks){var source=sources[channel];var innerSink=innerSinks[channel];if(innerSinks.hasOwnProperty(channel)&&source&&scopes[channel]!==null&&typeof source.isolateSink==="function"){outerSinks[channel]=adapt_1.adapt(source.isolateSink(xstream_1.default.fromObservable(innerSink),scopes[channel]))}else if(innerSinks.hasOwnProperty(channel)){outerSinks[channel]=innerSinks[channel]}}return outerSinks}var counter=0;function newScope(){return"cycle"+ ++counter}function isolate(component,scope){if(scope===void 0){scope=newScope()}checkIsolateArgs(component,scope);var randomScope=typeof scope==="object"?newScope():"";var scopes=typeof scope==="string"||typeof scope==="object"?scope:scope.toString();return function wrappedComponent(outerSources){var rest=[];for(var _i=1;_i<arguments.length;_i++){rest[_i-1]=arguments[_i]}var scopesPerChannel=normalizeScopes(outerSources,scopes,randomScope);var innerSources=isolateAllSources(outerSources,scopesPerChannel);var innerSinks=component.apply(void 0,[innerSources].concat(rest));var outerSinks=isolateAllSinks(outerSources,innerSinks,scopesPerChannel);return outerSinks}}isolate.reset=function(){return counter=0};exports.default=isolate;function toIsolated(scope){if(scope===void 0){scope=newScope()}return function(component){return isolate(component,scope)}}exports.toIsolated=toIsolated},{"@cycle/run/lib/adapt":57,xstream:107}],57:[function(require,module,exports){(function(global){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function getGlobal(){var globalObj;if(typeof window!=="undefined"){globalObj=window}else if(typeof global!=="undefined"){globalObj=global}else{globalObj=this}globalObj.Cyclejs=globalObj.Cyclejs||{};globalObj=globalObj.Cyclejs;globalObj.adaptStream=globalObj.adaptStream||function(x){return x};return globalObj}function setAdapt(f){getGlobal().adaptStream=f}exports.setAdapt=setAdapt;function adapt(stream){return getGlobal().adaptStream(stream)}exports.adapt=adapt}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],58:[function(require,module,exports){arguments[4][57][0].apply(exports,arguments)},{dup:57}],59:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var internals_1=require("./internals");function setup(main,drivers){if(typeof main!=="function"){throw new Error("First argument given to Cycle must be the 'main' "+"function.")}if(typeof drivers!=="object"||drivers===null){throw new Error("Second argument given to Cycle must be an object "+"with driver functions as properties.")}if(internals_1.isObjectEmpty(drivers)){throw new Error("Second argument given to Cycle must be an object "+"with at least one driver function declared as a property.")}var engine=setupReusable(drivers);var sinks=main(engine.sources);if(typeof window!=="undefined"){window.Cyclejs=window.Cyclejs||{};window.Cyclejs.sinks=sinks}function _run(){var disposeRun=engine.run(sinks);return function dispose(){disposeRun();engine.dispose()}}return{sinks:sinks,sources:engine.sources,run:_run}}exports.setup=setup;function setupReusable(drivers){if(typeof drivers!=="object"||drivers===null){throw new Error("Argument given to setupReusable must be an object "+"with driver functions as properties.")}if(internals_1.isObjectEmpty(drivers)){throw new Error("Argument given to setupReusable must be an object "+"with at least one driver function declared as a property.")}var sinkProxies=internals_1.makeSinkProxies(drivers);var rawSources=internals_1.callDrivers(drivers,sinkProxies);var sources=internals_1.adaptSources(rawSources);function _run(sinks){return internals_1.replicateMany(sinks,sinkProxies)}function disposeEngine(){internals_1.disposeSources(sources);internals_1.disposeSinkProxies(sinkProxies)}return{sources:sources,run:_run,dispose:disposeEngine}}exports.setupReusable=setupReusable;function run(main,drivers){var program=setup(main,drivers);if(typeof window!=="undefined"&&window["CyclejsDevTool_startGraphSerializer"]){window["CyclejsDevTool_startGraphSerializer"](program.sinks)}return program.run()}exports.run=run;exports.default=run},{"./internals":60}],60:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var quicktask_1=require("quicktask");var adapt_1=require("./adapt");var scheduleMicrotask=quicktask_1.default();function makeSinkProxies(drivers){var sinkProxies={};for(var name_1 in drivers){if(drivers.hasOwnProperty(name_1)){sinkProxies[name_1]=xstream_1.default.create()}}return sinkProxies}exports.makeSinkProxies=makeSinkProxies;function callDrivers(drivers,sinkProxies){var sources={};for(var name_2 in drivers){if(drivers.hasOwnProperty(name_2)){sources[name_2]=drivers[name_2](sinkProxies[name_2],name_2);if(sources[name_2]&&typeof sources[name_2]==="object"){sources[name_2]._isCycleSource=name_2}}}return sources}exports.callDrivers=callDrivers;function adaptSources(sources){for(var name_3 in sources){if(sources.hasOwnProperty(name_3)&&sources[name_3]&&typeof sources[name_3]["shamefullySendNext"]==="function"){sources[name_3]=adapt_1.adapt(sources[name_3])}}return sources}exports.adaptSources=adaptSources;function replicateMany(sinks,sinkProxies){var sinkNames=Object.keys(sinks).filter(function(name){return!!sinkProxies[name]});var buffers={};var replicators={};sinkNames.forEach(function(name){buffers[name]={_n:[],_e:[]};replicators[name]={next:function(x){return buffers[name]._n.push(x)},error:function(err){return buffers[name]._e.push(err)},complete:function(){}}});var subscriptions=sinkNames.map(function(name){return xstream_1.default.fromObservable(sinks[name]).subscribe(replicators[name])});sinkNames.forEach(function(name){var listener=sinkProxies[name];var next=function(x){scheduleMicrotask(function(){return listener._n(x)})};var error=function(err){scheduleMicrotask(function(){(console.error||console.log)(err);listener._e(err)})};buffers[name]._n.forEach(next);buffers[name]._e.forEach(error);replicators[name].next=next;replicators[name].error=error;replicators[name]._n=next;replicators[name]._e=error});buffers=null;return function disposeReplication(){subscriptions.forEach(function(s){return s.unsubscribe()})}}exports.replicateMany=replicateMany;function disposeSinkProxies(sinkProxies){Object.keys(sinkProxies).forEach(function(name){return sinkProxies[name]._c()})}exports.disposeSinkProxies=disposeSinkProxies;function disposeSources(sources){for(var k in sources){if(sources.hasOwnProperty(k)&&sources[k]&&sources[k].dispose){sources[k].dispose()}}}exports.disposeSources=disposeSources;function isObjectEmpty(obj){return Object.keys(obj).length===0}exports.isObjectEmpty=isObjectEmpty},{"./adapt":58,quicktask:70,xstream:107}],61:[function(require,module,exports){"use strict";var __assign=this&&this.__assign||Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var adapt_1=require("@cycle/run/lib/adapt");var isolate_1=require("@cycle/isolate");var pickMerge_1=require("./pickMerge");var pickCombine_1=require("./pickCombine");var Instances=function(){function Instances(instances$){this._instances$=instances$}Instances.prototype.pickMerge=function(selector){return adapt_1.adapt(this._instances$.compose(pickMerge_1.pickMerge(selector)))};Instances.prototype.pickCombine=function(selector){return adapt_1.adapt(this._instances$.compose(pickCombine_1.pickCombine(selector)))};return Instances}();exports.Instances=Instances;function defaultItemScope(key){return{"*":null}}function instanceLens(itemKey,key){return{get:function(arr){if(typeof arr==="undefined"){return void 0}else{for(var i=0,n=arr.length;i<n;++i){if(""+itemKey(arr[i],i)===key){return arr[i]}}return void 0}},set:function(arr,item){if(typeof arr==="undefined"){return[item]}else if(typeof item==="undefined"){return arr.filter(function(s,i){return""+itemKey(s,i)!==key})}else{return arr.map(function(s,i){if(""+itemKey(s,i)===key){return item}else{return s}})}}}}var identityLens={get:function(outer){return outer},set:function(outer,inner){return inner}};function makeCollection(opts){return function collectionComponent(sources){var name=opts.channel||"onion";var itemKey=opts.itemKey;var itemScope=opts.itemScope||defaultItemScope;var itemComp=opts.item;var state$=xstream_1.default.fromObservable(sources[name].state$);var instances$=state$.fold(function(acc,nextState){var dict=acc.dict;if(Array.isArray(nextState)){var nextInstArray=Array(nextState.length);var nextKeys_1=new Set;for(var i=0,n=nextState.length;i<n;++i){var key=""+(itemKey?itemKey(nextState[i],i):i);nextKeys_1.add(key);if(!dict.has(key)){var onionScope=itemKey?instanceLens(itemKey,key):""+i;var otherScopes=itemScope(key);var scopes=typeof otherScopes==="string"?(_a={"*":otherScopes},_a[name]=onionScope,_a):__assign({},otherScopes,(_b={},_b[name]=onionScope,_b));var sinks=isolate_1.default(itemComp,scopes)(sources);dict.set(key,sinks);nextInstArray[i]=sinks}else{nextInstArray[i]=dict.get(key)}nextInstArray[i]._key=key}dict.forEach(function(_,key){if(!nextKeys_1.has(key)){dict.delete(key)}});nextKeys_1.clear();return{dict:dict,arr:nextInstArray}}else{dict.clear();var key=""+(itemKey?itemKey(nextState,0):"this");var onionScope=identityLens;var otherScopes=itemScope(key);var scopes=typeof otherScopes==="string"?(_c={"*":otherScopes},_c[name]=onionScope,_c):__assign({},otherScopes,(_d={},_d[name]=onionScope,_d));var sinks=isolate_1.default(itemComp,scopes)(sources);dict.set(key,sinks);return{dict:dict,arr:[sinks]}}var _a,_b,_c,_d},{dict:new Map,arr:[]});return opts.collectSinks(new Instances(instances$))}}exports.makeCollection=makeCollection},{"./pickCombine":65,"./pickMerge":66,"@cycle/isolate":56,"@cycle/run/lib/adapt":57,xstream:107}],62:[function(require,module,exports){"use strict";var __assign=this&&this.__assign||Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};Object.defineProperty(exports,"__esModule",{value:true});var dropRepeats_1=require("xstream/extra/dropRepeats");var adapt_1=require("@cycle/run/lib/adapt");function updateArrayEntry(array,scope,newVal){if(newVal===array[scope]){return array}var index=parseInt(scope);if(typeof newVal==="undefined"){return array.filter(function(val,i){return i!==index})}return array.map(function(val,i){return i===index?newVal:val})}function makeGetter(scope){if(typeof scope==="string"||typeof scope==="number"){return function lensGet(state){if(typeof state==="undefined"){return void 0}else{return state[scope]}}}else{return scope.get}}function makeSetter(scope){if(typeof scope==="string"||typeof scope==="number"){return function lensSet(state,childState){if(Array.isArray(state)){return updateArrayEntry(state,scope,childState)}else if(typeof state==="undefined"){return _a={},_a[scope]=childState,_a}else{return __assign({},state,(_b={},_b[scope]=childState,_b))}var _a,_b}}else{return scope.set}}function isolateSource(source,scope){return source.select(scope)}exports.isolateSource=isolateSource;function isolateSink(innerReducer$,scope){var get=makeGetter(scope);var set=makeSetter(scope);return innerReducer$.map(function(innerReducer){return function outerReducer(outer){var prevInner=get(outer);var nextInner=innerReducer(prevInner);if(prevInner===nextInner){return outer}else{return set(outer,nextInner)}}})}exports.isolateSink=isolateSink;var StateSource=function(){function StateSource(stream,name){this.isolateSource=isolateSource;this.isolateSink=isolateSink;this._state$=stream.filter(function(s){return typeof s!=="undefined"}).compose(dropRepeats_1.default()).remember();this._name=name;this.state$=adapt_1.adapt(this._state$);this._state$._isCycleSource=name}StateSource.prototype.select=function(scope){var get=makeGetter(scope);return new StateSource(this._state$.map(get),this._name)};return StateSource}();exports.StateSource=StateSource},{"@cycle/run/lib/adapt":57,"xstream/extra/dropRepeats":104}],63:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var onionify_1=require("./onionify");var StateSource_1=require("./StateSource");exports.StateSource=StateSource_1.StateSource;exports.isolateSource=StateSource_1.isolateSource;exports.isolateSink=StateSource_1.isolateSink;var Collection_1=require("./Collection");exports.Instances=Collection_1.Instances;exports.makeCollection=Collection_1.makeCollection;var pickMerge_1=require("./pickMerge");exports.pickMerge=pickMerge_1.pickMerge;var pickCombine_1=require("./pickCombine");exports.pickCombine=pickCombine_1.pickCombine;exports.default=onionify_1.onionify},{"./Collection":61,"./StateSource":62,"./onionify":64,"./pickCombine":65,"./pickMerge":66}],64:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var concat_1=require("xstream/extra/concat");var StateSource_1=require("./StateSource");var quicktask_1=require("quicktask");var schedule=quicktask_1.default();function onionify(main,name){if(name===void 0){name="onion"}return function mainOnionified(sources){var reducerMimic$=xstream_1.default.create();var state$=reducerMimic$.fold(function(state,reducer){return reducer(state)},void 0).drop(1);sources[name]=new StateSource_1.StateSource(state$,name);var sinks=main(sources);if(sinks[name]){var stream$=concat_1.default(xstream_1.default.fromObservable(sinks[name]),xstream_1.default.never());stream$.subscribe({next:function(i){return schedule(function(){return reducerMimic$._n(i)})},error:function(err){return schedule(function(){return reducerMimic$._e(err)})},complete:function(){return schedule(function(){return reducerMimic$._c()})}})}return sinks}}exports.onionify=onionify},{"./StateSource":62,quicktask:70,xstream:107,"xstream/extra/concat":102}],65:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var PickCombineListener=function(){function PickCombineListener(key,out,p,ins){this.key=key;this.out=out;this.p=p;this.val=xstream_1.NO;this.ins=ins}PickCombineListener.prototype._n=function(t){var p=this.p,out=this.out;this.val=t;if(out===null){return}this.p.up()};PickCombineListener.prototype._e=function(err){var out=this.out;if(out===null){return}out._e(err)};PickCombineListener.prototype._c=function(){};return PickCombineListener}();var PickCombine=function(){function PickCombine(sel,ins){this.type="combine";this.ins=ins;this.sel=sel;this.out=null;this.ils=new Map;this.inst=null}PickCombine.prototype._start=function(out){this.out=out;this.ins._add(this)};PickCombine.prototype._stop=function(){this.ins._remove(this);var ils=this.ils;ils.forEach(function(il){il.ins._remove(il);il.ins=null;il.out=null;il.val=null});ils.clear();this.out=null;this.ils=new Map;this.inst=null};PickCombine.prototype.up=function(){var arr=this.inst.arr;var n=arr.length;var ils=this.ils;var outArr=Array(n);for(var i=0;i<n;++i){var sinks=arr[i];var key=sinks._key;if(!ils.has(key)){return}var val=ils.get(key).val;if(val===xstream_1.NO){return}outArr[i]=val}this.out._n(outArr)};PickCombine.prototype._n=function(inst){this.inst=inst;var arrSinks=inst.arr;var ils=this.ils;var out=this.out;var sel=this.sel;var dict=inst.dict;var n=arrSinks.length;var removed=false;ils.forEach(function(il,key){if(!dict.has(key)){il.ins._remove(il);il.ins=null;il.out=null;il.val=null;ils.delete(key);removed=true}});if(n===0){out._n([]);return}for(var i=0;i<n;++i){var sinks=arrSinks[i];var key=sinks._key;if(!sinks[sel]){throw new Error("pickCombine found an undefined child sink stream")}var sink=xstream_1.default.fromObservable(sinks[sel]);if(!ils.has(key)){ils.set(key,new PickCombineListener(key,out,this,sink));sink._add(ils.get(key))}}if(removed){this.up()}};PickCombine.prototype._e=function(e){var out=this.out;if(out===null){return}out._e(e)};PickCombine.prototype._c=function(){var out=this.out;if(out===null){return}out._c()};return PickCombine}();function pickCombine(selector){return function pickCombineOperator(inst$){return new xstream_1.Stream(new PickCombine(selector,inst$))}}exports.pickCombine=pickCombine},{xstream:107}],66:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xstream_1=require("xstream");var PickMergeListener=function(){function PickMergeListener(out,p,ins){this.ins=ins;this.out=out;this.p=p}PickMergeListener.prototype._n=function(t){var p=this.p,out=this.out;if(out===null){return}out._n(t)};PickMergeListener.prototype._e=function(err){var out=this.out;if(out===null){return}out._e(err)};PickMergeListener.prototype._c=function(){};return PickMergeListener}();var PickMerge=function(){function PickMerge(sel,ins){this.type="pickMerge";this.ins=ins;this.out=null;this.sel=sel;this.ils=new Map;this.inst=null}PickMerge.prototype._start=function(out){this.out=out;this.ins._add(this)};PickMerge.prototype._stop=function(){this.ins._remove(this);var ils=this.ils;ils.forEach(function(il,key){il.ins._remove(il);il.ins=null;il.out=null;ils.delete(key)});ils.clear();this.out=null;this.ils=new Map;this.inst=null};PickMerge.prototype._n=function(inst){this.inst=inst;var arrSinks=inst.arr;var ils=this.ils;var out=this.out;var sel=this.sel;var n=arrSinks.length;for(var i=0;i<n;++i){var sinks=arrSinks[i];var key=sinks._key;var sink=xstream_1.default.fromObservable(sinks[sel]||xstream_1.default.never());if(!ils.has(key)){ils.set(key,new PickMergeListener(out,this,sink));sink._add(ils.get(key))}}ils.forEach(function(il,key){if(!inst.dict.has(key)||!inst.dict.get(key)){il.ins._remove(il);il.ins=null;il.out=null;ils.delete(key)}})};PickMerge.prototype._e=function(err){var u=this.out;if(u===null)return;u._e(err)};PickMerge.prototype._c=function(){var u=this.out;if(u===null)return;u._c()};return PickMerge}();function pickMerge(selector){return function pickMergeOperator(inst$){return new xstream_1.Stream(new PickMerge(selector,inst$))}}exports.pickMerge=pickMerge},{xstream:107}],67:[function(require,module,exports){(function(process){"use strict";var __extends=this&&this.__extends||function(d,b){for(var p in b)if(b.hasOwnProperty(p))d[p]=b[p];function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)};var instanceId=0;var uniqueId=0;exports.IS_UNIQUE="__DO_NOT_DEDUPE_STYLE__";var CSS_NUMBER={"animation-iteration-count":true,"box-flex":true,"box-flex-group":true,"column-count":true,"counter-increment":true,"counter-reset":true,flex:true,"flex-grow":true,"flex-positive":true,"flex-shrink":true,"flex-negative":true,"font-weight":true,"line-clamp":true,"line-height":true,opacity:true,order:true,orphans:true,"tab-size":true,widows:true,"z-index":true,zoom:true,"fill-opacity":true,"stroke-dashoffset":true,"stroke-opacity":true,"stroke-width":true};for(var _i=0,_a=["-webkit-","-ms-","-moz-","-o-"];_i<_a.length;_i++){var prefix=_a[_i];for(var _b=0,_c=Object.keys(CSS_NUMBER);_b<_c.length;_b++){var property=_c[_b];CSS_NUMBER[prefix+property]=true}}function hyphenate(propertyName){return propertyName.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-").toLowerCase()}function isAtRule(propertyName){return propertyName.charAt(0)==="@"}function isNestedStyle(value){return value!=null&&typeof value==="object"&&!Array.isArray(value)}function stringHash(str){var value=5381;var i=str.length;while(i){value=value*33^str.charCodeAt(--i)}return(value>>>0).toString(36)}exports.stringHash=stringHash;function styleToString(name,value){if(typeof value==="number"&&value!==0&&!CSS_NUMBER[name]){value=value+"px"}return name+":"+String(value).replace(/([\{\}\[\]])/g,"\\$1")}function sortTuples(value){return value.sort(function(a,b){return a[0]>b[0]?1:-1})}function parseUserStyles(styles,hasNestedStyles){var properties=[];var nestedStyles=[];var isUnique=false;for(var _i=0,_a=Object.keys(styles);_i<_a.length;_i++){var key=_a[_i];var value=styles[key];if(key===exports.IS_UNIQUE){isUnique=!!value}else if(isNestedStyle(value)){nestedStyles.push([key.trim(),value])}else{properties.push([hyphenate(key.trim()),value])}}return{properties:sortTuples(properties),nestedStyles:hasNestedStyles?nestedStyles:sortTuples(nestedStyles),isUnique:isUnique}}function stringifyProperties(properties){var result=[];var _loop_1=function(name_1,value){if(value!=null){if(Array.isArray(value)){result.push(value.filter(function(x){return x!=null}).map(function(x){return styleToString(name_1,x)}).join(";"))}else{result.push(styleToString(name_1,value))}}};for(var _i=0,properties_1=properties;_i<properties_1.length;_i++){var _a=properties_1[_i],name_1=_a[0],value=_a[1];_loop_1(name_1,value)}return result.join(";")}function interpolate(selector,parent){if(selector.indexOf("&")>-1){return selector.replace(/&/g,parent)}return parent+" "+selector}function collectHashedStyles(container,userStyles,isStyle,displayName){var styles=[];function stylize(cache,userStyles,selector){var _a=parseUserStyles(userStyles,isStyle),properties=_a.properties,nestedStyles=_a.nestedStyles,isUnique=_a.isUnique;var styleString=stringifyProperties(properties);var pid=styleString;if(styleString){var style=new Style(styleString,cache.hash,isUnique?"u"+(++uniqueId).toString(36):undefined);cache.add(style);styles.push([cache,selector,style])}for(var _i=0,nestedStyles_1=nestedStyles;_i<nestedStyles_1.length;_i++){var _b=nestedStyles_1[_i],name_2=_b[0],value=_b[1];pid+=name_2;if(isAtRule(name_2)){var rule=cache.add(new Rule(name_2,undefined,cache.hash));pid+=stylize(rule,value,selector)}else{pid+=stylize(cache,value,isStyle?interpolate(name_2,selector):name_2)}}return pid}var cache=new Cache(container.hash);var pid=stylize(cache,userStyles,"&");var hash="f"+cache.hash(pid);var id=displayName?displayName+"_"+hash:hash;for(var _i=0,styles_1=styles;_i<styles_1.length;_i++){var _a=styles_1[_i],cache_1=_a[0],selector=_a[1],style=_a[2];var key=isStyle?interpolate(selector,"."+id):selector;cache_1.get(style).add(new Selector(key,style.hash,undefined,pid))}container.merge(cache);return{pid:pid,id:id}}function registerUserStyles(container,styles,displayName){return collectHashedStyles(container,styles,true,displayName).id}function registerUserRule(container,selector,styles){var _a=parseUserStyles(styles,false),properties=_a.properties,nestedStyles=_a.nestedStyles,isUnique=_a.isUnique;if(properties.length&&nestedStyles.length){throw new TypeError("Registering a CSS rule can not use properties with nested styles")}var styleString=stringifyProperties(properties);var rule=new Rule(selector,styleString,container.hash,isUnique?"u"+(++uniqueId).toString(36):undefined);for(var _i=0,nestedStyles_2=nestedStyles;_i<nestedStyles_2.length;_i++){var _b=nestedStyles_2[_i],name_3=_b[0],value=_b[1];registerUserRule(rule,name_3,value)}container.add(rule)}function registerUserHashedRule(container,prefix,styles,displayName){var bucket=new Cache(container.hash);var _a=collectHashedStyles(bucket,styles,false,displayName),pid=_a.pid,id=_a.id;var atRule=new Rule(prefix+" "+id,undefined,container.hash,undefined,pid);atRule.merge(bucket);container.add(atRule);return id}function getStyles(container){return container.values().map(function(style){return style.getStyles()}).join("")}var Cache=function(){function Cache(hash){this.hash=hash;this.changeId=0;this._children={};this._keys=[];this._counts={}}Cache.prototype.values=function(){var _this=this;return this._keys.map(function(x){return _this._children[x]})};Cache.prototype.add=function(style){var count=this._counts[style.id]||0;var item=this._children[style.id]||style.clone();this._counts[style.id]=count+1;if(count===0){this._keys.push(item.id);this._children[item.id]=item;this.changeId++}else{if(item.getIdentifier()!==style.getIdentifier()){throw new TypeError("Hash collision: "+style.getStyles()+" === "+item.getStyles())}this._keys.splice(this._keys.indexOf(style.id),1);this._keys.push(style.id);if(item instanceof Cache&&style instanceof Cache){var prevChangeId=item.changeId;item.merge(style);if(item.changeId!==prevChangeId){this.changeId++}}}return item};Cache.prototype.remove=function(style){var count=this._counts[style.id];if(count>0){this._counts[style.id]=count-1;var item=this._children[style.id];if(count===1){delete this._counts[style.id];delete this._children[style.id];this._keys.splice(this._keys.indexOf(style.id),1);this.changeId++}else if(item instanceof Cache&&style instanceof Cache){var prevChangeId=item.changeId;item.unmerge(style);if(item.changeId!==prevChangeId){this.changeId++}}}};Cache.prototype.get=function(container){return this._children[container.id]};Cache.prototype.merge=function(cache){for(var _i=0,_a=cache.values();_i<_a.length;_i++){var value=_a[_i];this.add(value)}return this};Cache.prototype.unmerge=function(cache){for(var _i=0,_a=cache.values();_i<_a.length;_i++){var value=_a[_i];this.remove(value)}return this};Cache.prototype.clone=function(){return new Cache(this.hash).merge(this)};return Cache}();exports.Cache=Cache;var Selector=function(){function Selector(selector,hash,id,pid){if(id===void 0){id="s"+hash(selector)}if(pid===void 0){pid=""}this.selector=selector;this.hash=hash;this.id=id;this.pid=pid}Selector.prototype.getStyles=function(){return this.selector};Selector.prototype.getIdentifier=function(){return this.pid+"."+this.selector};Selector.prototype.clone=function(){return new Selector(this.selector,this.hash,this.id,this.pid)};return Selector}();exports.Selector=Selector;var Style=function(_super){__extends(Style,_super);function Style(style,hash,id){if(id===void 0){id="c"+hash(style)}var _this=_super.call(this,hash)||this;_this.style=style;_this.hash=hash;_this.id=id;return _this}Style.prototype.getStyles=function(){return this.values().map(function(x){return x.selector}).join(",")+"{"+this.style+"}"};Style.prototype.getIdentifier=function(){return this.style};Style.prototype.clone=function(){return new Style(this.style,this.hash,this.id).merge(this)};return Style}(Cache);exports.Style=Style;var Rule=function(_super){__extends(Rule,_super);function Rule(rule,style,hash,id,pid){if(style===void 0){style=""}if(id===void 0){id="a"+hash(rule+"."+style)}if(pid===void 0){pid=""}var _this=_super.call(this,hash)||this;_this.rule=rule;_this.style=style;_this.hash=hash;_this.id=id;_this.pid=pid;return _this}Rule.prototype.getStyles=function(){return this.rule+"{"+this.style+getStyles(this)+"}"};Rule.prototype.getIdentifier=function(){return this.pid+"."+this.rule+"."+this.style};Rule.prototype.clone=function(){return new Rule(this.rule,this.style,this.hash,this.id,this.pid).merge(this)};return Rule}(Cache);exports.Rule=Rule;var FreeStyle=function(_super){__extends(FreeStyle,_super);function FreeStyle(hash,debug,id){if(id===void 0){id="f"+(++instanceId).toString(36)}var _this=_super.call(this,hash)||this;_this.hash=hash;_this.debug=debug;_this.id=id;return _this}FreeStyle.prototype.registerStyle=function(styles,displayName){return registerUserStyles(this,styles,this.debug?displayName:undefined)};FreeStyle.prototype.registerKeyframes=function(keyframes,displayName){return registerUserHashedRule(this,"@keyframes",keyframes,this.debug?displayName:undefined)};FreeStyle.prototype.registerRule=function(rule,styles){return registerUserRule(this,rule,styles)};FreeStyle.prototype.getStyles=function(){return getStyles(this)};FreeStyle.prototype.getIdentifier=function(){return this.id};FreeStyle.prototype.clone=function(){return new FreeStyle(this.hash,this.debug,this.id).merge(this)};return FreeStyle}(Cache);exports.FreeStyle=FreeStyle;function create(hash,debug){if(hash===void 0){hash=stringHash}if(debug===void 0){debug=process.env.NODE_ENV!=="production"}return new FreeStyle(hash,debug)}exports.create=create}).call(this,require("_process"))},{_process:69}],68:[function(require,module,exports){(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):global.Immutable=factory()})(this,function(){"use strict";var SLICE$0=Array.prototype.slice;function createClass(ctor,superClass){if(superClass){ctor.prototype=Object.create(superClass.prototype)}ctor.prototype.constructor=ctor}function Iterable(value){return isIterable(value)?value:Seq(value)}createClass(KeyedIterable,Iterable);function KeyedIterable(value){return isKeyed(value)?value:KeyedSeq(value)}createClass(IndexedIterable,Iterable);function IndexedIterable(value){return isIndexed(value)?value:IndexedSeq(value)}createClass(SetIterable,Iterable);function SetIterable(value){return isIterable(value)&&!isAssociative(value)?value:SetSeq(value)}function isIterable(maybeIterable){return!!(maybeIterable&&maybeIterable[IS_ITERABLE_SENTINEL])}function isKeyed(maybeKeyed){return!!(maybeKeyed&&maybeKeyed[IS_KEYED_SENTINEL])}function isIndexed(maybeIndexed){return!!(maybeIndexed&&maybeIndexed[IS_INDEXED_SENTINEL])}function isAssociative(maybeAssociative){return isKeyed(maybeAssociative)||isIndexed(maybeAssociative)}function isOrdered(maybeOrdered){return!!(maybeOrdered&&maybeOrdered[IS_ORDERED_SENTINEL])}Iterable.isIterable=isIterable;Iterable.isKeyed=isKeyed;Iterable.isIndexed=isIndexed;Iterable.isAssociative=isAssociative;Iterable.isOrdered=isOrdered;Iterable.Keyed=KeyedIterable;Iterable.Indexed=IndexedIterable;Iterable.Set=SetIterable;var IS_ITERABLE_SENTINEL="@@__IMMUTABLE_ITERABLE__@@";var IS_KEYED_SENTINEL="@@__IMMUTABLE_KEYED__@@";var IS_INDEXED_SENTINEL="@@__IMMUTABLE_INDEXED__@@";var IS_ORDERED_SENTINEL="@@__IMMUTABLE_ORDERED__@@";var DELETE="delete";var SHIFT=5;var SIZE=1<<SHIFT;var MASK=SIZE-1;var NOT_SET={};var CHANGE_LENGTH={value:false};var DID_ALTER={value:false};function MakeRef(ref){ref.value=false;return ref}function SetRef(ref){ref&&(ref.value=true)}function OwnerID(){} function arrCopy(arr,offset){offset=offset||0;var len=Math.max(0,arr.length-offset);var newArr=new Array(len);for(var ii=0;ii<len;ii++){newArr[ii]=arr[ii+offset]}return newArr}function ensureSize(iter){if(iter.size===undefined){iter.size=iter.__iterate(returnTrue)}return iter.size}function wrapIndex(iter,index){if(typeof index!=="number"){var uint32Index=index>>>0;if(""+uint32Index!==index||uint32Index===4294967295){return NaN}index=uint32Index}return index<0?ensureSize(iter)+index:index}function returnTrue(){return true}function wholeSlice(begin,end,size){return(begin===0||size!==undefined&&begin<=-size)&&(end===undefined||size!==undefined&&end>=size)}function resolveBegin(begin,size){return resolveIndex(begin,size,0)}function resolveEnd(end,size){return resolveIndex(end,size,size)}function resolveIndex(index,size,defaultIndex){return index===undefined?defaultIndex:index<0?Math.max(0,size+index):size===undefined?index:Math.min(size,index)}var ITERATE_KEYS=0;var ITERATE_VALUES=1;var ITERATE_ENTRIES=2;var REAL_ITERATOR_SYMBOL=typeof Symbol==="function"&&Symbol.iterator;var FAUX_ITERATOR_SYMBOL="@@iterator";var ITERATOR_SYMBOL=REAL_ITERATOR_SYMBOL||FAUX_ITERATOR_SYMBOL;function Iterator(next){this.next=next}Iterator.prototype.toString=function(){return"[Iterator]"};Iterator.KEYS=ITERATE_KEYS;Iterator.VALUES=ITERATE_VALUES;Iterator.ENTRIES=ITERATE_ENTRIES;Iterator.prototype.inspect=Iterator.prototype.toSource=function(){return this.toString()};Iterator.prototype[ITERATOR_SYMBOL]=function(){return this};function iteratorValue(type,k,v,iteratorResult){var value=type===0?k:type===1?v:[k,v];iteratorResult?iteratorResult.value=value:iteratorResult={value:value,done:false};return iteratorResult}function iteratorDone(){return{value:undefined,done:true}}function hasIterator(maybeIterable){return!!getIteratorFn(maybeIterable)}function isIterator(maybeIterator){return maybeIterator&&typeof maybeIterator.next==="function"}function getIterator(iterable){var iteratorFn=getIteratorFn(iterable);return iteratorFn&&iteratorFn.call(iterable)}function getIteratorFn(iterable){var iteratorFn=iterable&&(REAL_ITERATOR_SYMBOL&&iterable[REAL_ITERATOR_SYMBOL]||iterable[FAUX_ITERATOR_SYMBOL]);if(typeof iteratorFn==="function"){return iteratorFn}}function isArrayLike(value){return value&&typeof value.length==="number"}createClass(Seq,Iterable);function Seq(value){return value===null||value===undefined?emptySequence():isIterable(value)?value.toSeq():seqFromValue(value)}Seq.of=function(){return Seq(arguments)};Seq.prototype.toSeq=function(){return this};Seq.prototype.toString=function(){return this.__toString("Seq {","}")};Seq.prototype.cacheResult=function(){if(!this._cache&&this.__iterateUncached){this._cache=this.entrySeq().toArray();this.size=this._cache.length}return this};Seq.prototype.__iterate=function(fn,reverse){return seqIterate(this,fn,reverse,true)};Seq.prototype.__iterator=function(type,reverse){return seqIterator(this,type,reverse,true)};createClass(KeyedSeq,Seq);function KeyedSeq(value){return value===null||value===undefined?emptySequence().toKeyedSeq():isIterable(value)?isKeyed(value)?value.toSeq():value.fromEntrySeq():keyedSeqFromValue(value)}KeyedSeq.prototype.toKeyedSeq=function(){return this};createClass(IndexedSeq,Seq);function IndexedSeq(value){return value===null||value===undefined?emptySequence():!isIterable(value)?indexedSeqFromValue(value):isKeyed(value)?value.entrySeq():value.toIndexedSeq()}IndexedSeq.of=function(){return IndexedSeq(arguments)};IndexedSeq.prototype.toIndexedSeq=function(){return this};IndexedSeq.prototype.toString=function(){return this.__toString("Seq [","]")};IndexedSeq.prototype.__iterate=function(fn,reverse){return seqIterate(this,fn,reverse,false)};IndexedSeq.prototype.__iterator=function(type,reverse){return seqIterator(this,type,reverse,false)};createClass(SetSeq,Seq);function SetSeq(value){return(value===null||value===undefined?emptySequence():!isIterable(value)?indexedSeqFromValue(value):isKeyed(value)?value.entrySeq():value).toSetSeq()}SetSeq.of=function(){return SetSeq(arguments)};SetSeq.prototype.toSetSeq=function(){return this};Seq.isSeq=isSeq;Seq.Keyed=KeyedSeq;Seq.Set=SetSeq;Seq.Indexed=IndexedSeq;var IS_SEQ_SENTINEL="@@__IMMUTABLE_SEQ__@@";Seq.prototype[IS_SEQ_SENTINEL]=true;createClass(ArraySeq,IndexedSeq);function ArraySeq(array){this._array=array;this.size=array.length}ArraySeq.prototype.get=function(index,notSetValue){return this.has(index)?this._array[wrapIndex(this,index)]:notSetValue};ArraySeq.prototype.__iterate=function(fn,reverse){var array=this._array;var maxIndex=array.length-1;for(var ii=0;ii<=maxIndex;ii++){if(fn(array[reverse?maxIndex-ii:ii],ii,this)===false){return ii+1}}return ii};ArraySeq.prototype.__iterator=function(type,reverse){var array=this._array;var maxIndex=array.length-1;var ii=0;return new Iterator(function(){return ii>maxIndex?iteratorDone():iteratorValue(type,ii,array[reverse?maxIndex-ii++:ii++])})};createClass(ObjectSeq,KeyedSeq);function ObjectSeq(object){var keys=Object.keys(object);this._object=object;this._keys=keys;this.size=keys.length}ObjectSeq.prototype.get=function(key,notSetValue){if(notSetValue!==undefined&&!this.has(key)){return notSetValue}return this._object[key]};ObjectSeq.prototype.has=function(key){return this._object.hasOwnProperty(key)};ObjectSeq.prototype.__iterate=function(fn,reverse){var object=this._object;var keys=this._keys;var maxIndex=keys.length-1;for(var ii=0;ii<=maxIndex;ii++){var key=keys[reverse?maxIndex-ii:ii];if(fn(object[key],key,this)===false){return ii+1}}return ii};ObjectSeq.prototype.__iterator=function(type,reverse){var object=this._object;var keys=this._keys;var maxIndex=keys.length-1;var ii=0;return new Iterator(function(){var key=keys[reverse?maxIndex-ii:ii];return ii++>maxIndex?iteratorDone():iteratorValue(type,key,object[key])})};ObjectSeq.prototype[IS_ORDERED_SENTINEL]=true;createClass(IterableSeq,IndexedSeq);function IterableSeq(iterable){this._iterable=iterable;this.size=iterable.length||iterable.size}IterableSeq.prototype.__iterateUncached=function(fn,reverse){if(reverse){return this.cacheResult().__iterate(fn,reverse)}var iterable=this._iterable;var iterator=getIterator(iterable);var iterations=0;if(isIterator(iterator)){var step;while(!(step=iterator.next()).done){if(fn(step.value,iterations++,this)===false){break}}}return iterations};IterableSeq.prototype.__iteratorUncached=function(type,reverse){if(reverse){return this.cacheResult().__iterator(type,reverse)}var iterable=this._iterable;var iterator=getIterator(iterable);if(!isIterator(iterator)){return new Iterator(iteratorDone)}var iterations=0;return new Iterator(function(){var step=iterator.next();return step.done?step:iteratorValue(type,iterations++,step.value)})};createClass(IteratorSeq,IndexedSeq);function IteratorSeq(iterator){this._iterator=iterator;this._iteratorCache=[]}IteratorSeq.prototype.__iterateUncached=function(fn,reverse){if(reverse){return this.cacheResult().__iterate(fn,reverse)}var iterator=this._iterator;var cache=this._iteratorCache;var iterations=0;while(iterations<cache.length){if(fn(cache[iterations],iterations++,this)===false){return iterations}}var step;while(!(step=iterator.next()).done){var val=step.value;cache[iterations]=val;if(fn(val,iterations++,this)===false){break}}return iterations};IteratorSeq.prototype.__iteratorUncached=function(type,reverse){if(reverse){return this.cacheResult().__iterator(type,reverse)}var iterator=this._iterator;var cache=this._iteratorCache;var iterations=0;return new Iterator(function(){if(iterations>=cache.length){var step=iterator.next();if(step.done){return step}cache[iterations]=step.value}return iteratorValue(type,iterations,cache[iterations++])})};function isSeq(maybeSeq){return!!(maybeSeq&&maybeSeq[IS_SEQ_SENTINEL])}var EMPTY_SEQ;function emptySequence(){return EMPTY_SEQ||(EMPTY_SEQ=new ArraySeq([]))}function keyedSeqFromValue(value){var seq=Array.isArray(value)?new ArraySeq(value).fromEntrySeq():isIterator(value)?new IteratorSeq(value).fromEntrySeq():hasIterator(value)?new IterableSeq(value).fromEntrySeq():typeof value==="object"?new ObjectSeq(value):undefined;if(!seq){throw new TypeError("Expected Array or iterable object of [k, v] entries, "+"or keyed object: "+value)}return seq}function indexedSeqFromValue(value){var seq=maybeIndexedSeqFromValue(value);if(!seq){throw new TypeError("Expected Array or iterable object of values: "+value)}return seq}function seqFromValue(value){var seq=maybeIndexedSeqFromValue(value)||typeof value==="object"&&new ObjectSeq(value);if(!seq){throw new TypeError("Expected Array or iterable object of values, or keyed object: "+value)}return seq}function maybeIndexedSeqFromValue(value){return isArrayLike(value)?new ArraySeq(value):isIterator(value)?new IteratorSeq(value):hasIterator(value)?new IterableSeq(value):undefined}function seqIterate(seq,fn,reverse,useKeys){var cache=seq._cache;if(cache){var maxIndex=cache.length-1;for(var ii=0;ii<=maxIndex;ii++){var entry=cache[reverse?maxIndex-ii:ii];if(fn(entry[1],useKeys?entry[0]:ii,seq)===false){return ii+1}}return ii}return seq.__iterateUncached(fn,reverse)}function seqIterator(seq,type,reverse,useKeys){var cache=seq._cache;if(cache){var maxIndex=cache.length-1;var ii=0;return new Iterator(function(){var entry=cache[reverse?maxIndex-ii:ii];return ii++>maxIndex?iteratorDone():iteratorValue(type,useKeys?entry[0]:ii-1,entry[1])})}return seq.__iteratorUncached(type,reverse)}function fromJS(json,converter){return converter?fromJSWith(converter,json,"",{"":json}):fromJSDefault(json)}function fromJSWith(converter,json,key,parentJSON){if(Array.isArray(json)){return converter.call(parentJSON,key,IndexedSeq(json).map(function(v,k){return fromJSWith(converter,v,k,json)}))}if(isPlainObj(json)){return converter.call(parentJSON,key,KeyedSeq(json).map(function(v,k){return fromJSWith(converter,v,k,json)}))}return json}function fromJSDefault(json){if(Array.isArray(json)){return IndexedSeq(json).map(fromJSDefault).toList()}if(isPlainObj(json)){return KeyedSeq(json).map(fromJSDefault).toMap()}return json}function isPlainObj(value){return value&&(value.constructor===Object||value.constructor===undefined)}function is(valueA,valueB){if(valueA===valueB||valueA!==valueA&&valueB!==valueB){return true}if(!valueA||!valueB){return false}if(typeof valueA.valueOf==="function"&&typeof valueB.valueOf==="function"){valueA=valueA.valueOf();valueB=valueB.valueOf();if(valueA===valueB||valueA!==valueA&&valueB!==valueB){return true}if(!valueA||!valueB){return false}}if(typeof valueA.equals==="function"&&typeof valueB.equals==="function"&&valueA.equals(valueB)){return true}return false}function deepEqual(a,b){if(a===b){return true}if(!isIterable(b)||a.size!==undefined&&b.size!==undefined&&a.size!==b.size||a.__hash!==undefined&&b.__hash!==undefined&&a.__hash!==b.__hash||isKeyed(a)!==isKeyed(b)||isIndexed(a)!==isIndexed(b)||isOrdered(a)!==isOrdered(b)){return false}if(a.size===0&&b.size===0){return true}var notAssociative=!isAssociative(a);if(isOrdered(a)){var entries=a.entries();return b.every(function(v,k){var entry=entries.next().value;return entry&&is(entry[1],v)&&(notAssociative||is(entry[0],k))})&&entries.next().done}var flipped=false;if(a.size===undefined){if(b.size===undefined){if(typeof a.cacheResult==="function"){a.cacheResult()}}else{flipped=true;var _=a;a=b;b=_}}var allEqual=true;var bSize=b.__iterate(function(v,k){if(notAssociative?!a.has(v):flipped?!is(v,a.get(k,NOT_SET)):!is(a.get(k,NOT_SET),v)){allEqual=false;return false}});return allEqual&&a.size===bSize}createClass(Repeat,IndexedSeq);function Repeat(value,times){if(!(this instanceof Repeat)){return new Repeat(value,times)}this._value=value;this.size=times===undefined?Infinity:Math.max(0,times);if(this.size===0){if(EMPTY_REPEAT){return EMPTY_REPEAT}EMPTY_REPEAT=this}}Repeat.prototype.toString=function(){if(this.size===0){return"Repeat []"}return"Repeat [ "+this._value+" "+this.size+" times ]"};Repeat.prototype.get=function(index,notSetValue){return this.has(index)?this._value:notSetValue};Repeat.prototype.includes=function(searchValue){return is(this._value,searchValue)};Repeat.prototype.slice=function(begin,end){var size=this.size;return wholeSlice(begin,end,size)?this:new Repeat(this._value,resolveEnd(end,size)-resolveBegin(begin,size))};Repeat.prototype.reverse=function(){return this};Repeat.prototype.indexOf=function(searchValue){if(is(this._value,searchValue)){return 0}return-1};Repeat.prototype.lastIndexOf=function(searchValue){if(is(this._value,searchValue)){return this.size}return-1};Repeat.prototype.__iterate=function(fn,reverse){for(var ii=0;ii<this.size;ii++){if(fn(this._value,ii,this)===false){return ii+1}}return ii};Repeat.prototype.__iterator=function(type,reverse){var this$0=this;var ii=0;return new Iterator(function(){return ii<this$0.size?iteratorValue(type,ii++,this$0._value):iteratorDone()})};Repeat.prototype.equals=function(other){return other instanceof Repeat?is(this._value,other._value):deepEqual(other)};var EMPTY_REPEAT;function invariant(condition,error){if(!condition)throw new Error(error)}createClass(Range,IndexedSeq);function Range(start,end,step){if(!(this instanceof Range)){return new Range(start,end,step)}invariant(step!==0,"Cannot step a Range by 0");start=start||0;if(end===undefined){end=Infinity}step=step===undefined?1:Math.abs(step);if(end<start){step=-step}this._start=start;this._end=end;this._step=step;this.size=Math.max(0,Math.ceil((end-start)/step-1)+1);if(this.size===0){if(EMPTY_RANGE){return EMPTY_RANGE}EMPTY_RANGE=this}}Range.prototype.toString=function(){if(this.size===0){return"Range []"}return"Range [ "+this._start+"..."+this._end+(this._step!==1?" by "+this._step:"")+" ]"};Range.prototype.get=function(index,notSetValue){return this.has(index)?this._start+wrapIndex(this,index)*this._step:notSetValue};Range.prototype.includes=function(searchValue){var possibleIndex=(searchValue-this._start)/this._step;return possibleIndex>=0&&possibleIndex<this.size&&possibleIndex===Math.floor(possibleIndex)};Range.prototype.slice=function(begin,end){if(wholeSlice(begin,end,this.size)){return this}begin=resolveBegin(begin,this.size);end=resolveEnd(end,this.size);if(end<=begin){return new Range(0,0)}return new Range(this.get(begin,this._end),this.get(end,this._end),this._step)};Range.prototype.indexOf=function(searchValue){var offsetValue=searchValue-this._start;if(offsetValue%this._step===0){var index=offsetValue/this._step;if(index>=0&&index<this.size){return index}}return-1};Range.prototype.lastIndexOf=function(searchValue){return this.indexOf(searchValue)};Range.prototype.__iterate=function(fn,reverse){var maxIndex=this.size-1;var step=this._step;var value=reverse?this._start+maxIndex*step:this._start;for(var ii=0;ii<=maxIndex;ii++){if(fn(value,ii,this)===false){return ii+1}value+=reverse?-step:step}return ii};Range.prototype.__iterator=function(type,reverse){var maxIndex=this.size-1;var step=this._step;var value=reverse?this._start+maxIndex*step:this._start;var ii=0;return new Iterator(function(){var v=value;value+=reverse?-step:step;return ii>maxIndex?iteratorDone():iteratorValue(type,ii++,v)})};Range.prototype.equals=function(other){return other instanceof Range?this._start===other._start&&this._end===other._end&&this._step===other._step:deepEqual(this,other)};var EMPTY_RANGE;createClass(Collection,Iterable);function Collection(){throw TypeError("Abstract")}createClass(KeyedCollection,Collection);function KeyedCollection(){}createClass(IndexedCollection,Collection);function IndexedCollection(){}createClass(SetCollection,Collection);function SetCollection(){}Collection.Keyed=KeyedCollection;Collection.Indexed=IndexedCollection;Collection.Set=SetCollection;var imul=typeof Math.imul==="function"&&Math.imul(4294967295,2)===-2?Math.imul:function imul(a,b){a=a|0;b=b|0;var c=a&65535;var d=b&65535;return c*d+((a>>>16)*d+c*(b>>>16)<<16>>>0)|0};function smi(i32){return i32>>>1&1073741824|i32&3221225471}function hash(o){if(o===false||o===null||o===undefined){return 0}if(typeof o.valueOf==="function"){o=o.valueOf();if(o===false||o===null||o===undefined){return 0}}if(o===true){return 1}var type=typeof o;if(type==="number"){if(o!==o||o===Infinity){return 0}var h=o|0;if(h!==o){h^=o*4294967295}while(o>4294967295){o/=4294967295;h^=o}return smi(h)}if(type==="string"){return o.length>STRING_HASH_CACHE_MIN_STRLEN?cachedHashString(o):hashString(o)}if(typeof o.hashCode==="function"){return o.hashCode()}if(type==="object"){return hashJSObj(o)}if(typeof o.toString==="function"){return hashString(o.toString())}throw new Error("Value type "+type+" cannot be hashed.")}function cachedHashString(string){var hash=stringHashCache[string];if(hash===undefined){hash=hashString(string);if(STRING_HASH_CACHE_SIZE===STRING_HASH_CACHE_MAX_SIZE){STRING_HASH_CACHE_SIZE=0;stringHashCache={}}STRING_HASH_CACHE_SIZE++;stringHashCache[string]=hash}return hash}function hashString(string){var hash=0;for(var ii=0;ii<string.length;ii++){hash=31*hash+string.charCodeAt(ii)|0}return smi(hash)}function hashJSObj(obj){var hash;if(usingWeakMap){hash=weakMap.get(obj);if(hash!==undefined){return hash}}hash=obj[UID_HASH_KEY];if(hash!==undefined){return hash}if(!canDefineProperty){hash=obj.propertyIsEnumerable&&obj.propertyIsEnumerable[UID_HASH_KEY];if(hash!==undefined){return hash}hash=getIENodeHash(obj);if(hash!==undefined){return hash}}hash=++objHashUID;if(objHashUID&1073741824){objHashUID=0}if(usingWeakMap){weakMap.set(obj,hash)}else if(isExtensible!==undefined&&isExtensible(obj)===false){throw new Error("Non-extensible objects are not allowed as keys.")}else if(canDefineProperty){Object.defineProperty(obj,UID_HASH_KEY,{enumerable:false,configurable:false,writable:false,value:hash})}else if(obj.propertyIsEnumerable!==undefined&&obj.propertyIsEnumerable===obj.constructor.prototype.propertyIsEnumerable){obj.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)};obj.propertyIsEnumerable[UID_HASH_KEY]=hash}else if(obj.nodeType!==undefined){obj[UID_HASH_KEY]=hash}else{throw new Error("Unable to set a non-enumerable property on object.")}return hash}var isExtensible=Object.isExtensible;var canDefineProperty=function(){try{Object.defineProperty({},"@",{});return true}catch(e){return false}}();function getIENodeHash(node){if(node&&node.nodeType>0){switch(node.nodeType){case 1:return node.uniqueID;case 9:return node.documentElement&&node.documentElement.uniqueID}}}var usingWeakMap=typeof WeakMap==="function";var weakMap;if(usingWeakMap){weakMap=new WeakMap}var objHashUID=0;var UID_HASH_KEY="__immutablehash__";if(typeof Symbol==="function"){UID_HASH_KEY=Symbol(UID_HASH_KEY)}var STRING_HASH_CACHE_MIN_STRLEN=16;var STRING_HASH_CACHE_MAX_SIZE=255;var STRING_HASH_CACHE_SIZE=0;var stringHashCache={};function assertNotInfinite(size){invariant(size!==Infinity,"Cannot perform this action with an infinite size.")}createClass(Map,KeyedCollection);function Map(value){return value===null||value===undefined?emptyMap():isMap(value)&&!isOrdered(value)?value:emptyMap().withMutations(function(map){var iter=KeyedIterable(value);assertNotInfinite(iter.size);iter.forEach(function(v,k){return map.set(k,v)})})}Map.of=function(){var keyValues=SLICE$0.call(arguments,0);return emptyMap().withMutations(function(map){for(var i=0;i<keyValues.length;i+=2){if(i+1>=keyValues.length){throw new Error("Missing value for key: "+keyValues[i])}map.set(keyValues[i],keyValues[i+1])}})};Map.prototype.toString=function(){return this.__toString("Map {","}")};Map.prototype.get=function(k,notSetValue){return this._root?this._root.get(0,undefined,k,notSetValue):notSetValue};Map.prototype.set=function(k,v){return updateMap(this,k,v)};Map.prototype.setIn=function(keyPath,v){return this.updateIn(keyPath,NOT_SET,function(){return v})};Map.prototype.remove=function(k){return updateMap(this,k,NOT_SET)};Map.prototype.deleteIn=function(keyPath){return this.updateIn(keyPath,function(){return NOT_SET})};Map.prototype.update=function(k,notSetValue,updater){return arguments.length===1?k(this):this.updateIn([k],notSetValue,updater)};Map.prototype.updateIn=function(keyPath,notSetValue,updater){if(!updater){updater=notSetValue;notSetValue=undefined}var updatedValue=updateInDeepMap(this,forceIterator(keyPath),notSetValue,updater);return updatedValue===NOT_SET?undefined:updatedValue};Map.prototype.clear=function(){if(this.size===0){return this}if(this.__ownerID){this.size=0;this._root=null;this.__hash=undefined;this.__altered=true;return this}return emptyMap()};Map.prototype.merge=function(){return mergeIntoMapWith(this,undefined,arguments)};Map.prototype.mergeWith=function(merger){var iters=SLICE$0.call(arguments,1);return mergeIntoMapWith(this,merger,iters)};Map.prototype.mergeIn=function(keyPath){var iters=SLICE$0.call(arguments,1);return this.updateIn(keyPath,emptyMap(),function(m){return typeof m.merge==="function"?m.merge.apply(m,iters):iters[iters.length-1]})};Map.prototype.mergeDeep=function(){return mergeIntoMapWith(this,deepMerger,arguments)};Map.prototype.mergeDeepWith=function(merger){var iters=SLICE$0.call(arguments,1);return mergeIntoMapWith(this,deepMergerWith(merger),iters)};Map.prototype.mergeDeepIn=function(keyPath){var iters=SLICE$0.call(arguments,1);return this.updateIn(keyPath,emptyMap(),function(m){return typeof m.mergeDeep==="function"?m.mergeDeep.apply(m,iters):iters[iters.length-1]})};Map.prototype.sort=function(comparator){return OrderedMap(sortFactory(this,comparator))};Map.prototype.sortBy=function(mapper,comparator){return OrderedMap(sortFactory(this,comparator,mapper))};Map.prototype.withMutations=function(fn){var mutable=this.asMutable();fn(mutable);return mutable.wasAltered()?mutable.__ensureOwner(this.__ownerID):this};Map.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new OwnerID)};Map.prototype.asImmutable=function(){return this.__ensureOwner()};Map.prototype.wasAltered=function(){return this.__altered};Map.prototype.__iterator=function(type,reverse){return new MapIterator(this,type,reverse)};Map.prototype.__iterate=function(fn,reverse){var this$0=this;var iterations=0;this._root&&this._root.iterate(function(entry){iterations++;return fn(entry[1],entry[0],this$0)},reverse);return iterations};Map.prototype.__ensureOwner=function(ownerID){if(ownerID===this.__ownerID){return this}if(!ownerID){this.__ownerID=ownerID;this.__altered=false;return this}return makeMap(this.size,this._root,ownerID,this.__hash)};function isMap(maybeMap){return!!(maybeMap&&maybeMap[IS_MAP_SENTINEL])}Map.isMap=isMap;var IS_MAP_SENTINEL="@@__IMMUTABLE_MAP__@@";var MapPrototype=Map.prototype;MapPrototype[IS_MAP_SENTINEL]=true;MapPrototype[DELETE]=MapPrototype.remove;MapPrototype.removeIn=MapPrototype.deleteIn;function ArrayMapNode(ownerID,entries){this.ownerID=ownerID;this.entries=entries}ArrayMapNode.prototype.get=function(shift,keyHash,key,notSetValue){var entries=this.entries;for(var ii=0,len=entries.length;ii<len;ii++){if(is(key,entries[ii][0])){return entries[ii][1]}}return notSetValue};ArrayMapNode.prototype.update=function(ownerID,shift,keyHash,key,value,didChangeSize,didAlter){var removed=value===NOT_SET;var entries=this.entries;var idx=0;for(var len=entries.length;idx<len;idx++){if(is(key,entries[idx][0])){break}}var exists=idx<len;if(exists?entries[idx][1]===value:removed){return this}SetRef(didAlter);(removed||!exists)&&SetRef(didChangeSize);if(removed&&entries.length===1){return}if(!exists&&!removed&&entries.length>=MAX_ARRAY_MAP_SIZE){return createNodes(ownerID,entries,key,value)}var isEditable=ownerID&&ownerID===this.ownerID;var newEntries=isEditable?entries:arrCopy(entries);if(exists){if(removed){idx===len-1?newEntries.pop():newEntries[idx]=newEntries.pop()}else{newEntries[idx]=[key,value]}}else{newEntries.push([key,value])}if(isEditable){this.entries=newEntries;return this}return new ArrayMapNode(ownerID,newEntries)};function BitmapIndexedNode(ownerID,bitmap,nodes){this.ownerID=ownerID;this.bitmap=bitmap;this.nodes=nodes}BitmapIndexedNode.prototype.get=function(shift,keyHash,key,notSetValue){if(keyHash===undefined){keyHash=hash(key)}var bit=1<<((shift===0?keyHash:keyHash>>>shift)&MASK);var bitmap=this.bitmap;return(bitmap&bit)===0?notSetValue:this.nodes[popCount(bitmap&bit-1)].get(shift+SHIFT,keyHash,key,notSetValue)};BitmapIndexedNode.prototype.update=function(ownerID,shift,keyHash,key,value,didChangeSize,didAlter){if(keyHash===undefined){keyHash=hash(key)}var keyHashFrag=(shift===0?keyHash:keyHash>>>shift)&MASK;var bit=1<<keyHashFrag;var bitmap=this.bitmap;var exists=(bitmap&bit)!==0;if(!exists&&value===NOT_SET){return this}var idx=popCount(bitmap&bit-1);var nodes=this.nodes;var node=exists?nodes[idx]:undefined;var newNode=updateNode(node,ownerID,shift+SHIFT,keyHash,key,value,didChangeSize,didAlter);if(newNode===node){return this}if(!exists&&newNode&&nodes.length>=MAX_BITMAP_INDEXED_SIZE){return expandNodes(ownerID,nodes,bitmap,keyHashFrag,newNode)}if(exists&&!newNode&&nodes.length===2&&isLeafNode(nodes[idx^1])){return nodes[idx^1]}if(exists&&newNode&&nodes.length===1&&isLeafNode(newNode)){return newNode}var isEditable=ownerID&&ownerID===this.ownerID;var newBitmap=exists?newNode?bitmap:bitmap^bit:bitmap|bit;var newNodes=exists?newNode?setIn(nodes,idx,newNode,isEditable):spliceOut(nodes,idx,isEditable):spliceIn(nodes,idx,newNode,isEditable);if(isEditable){this.bitmap=newBitmap;this.nodes=newNodes;return this}return new BitmapIndexedNode(ownerID,newBitmap,newNodes)};function HashArrayMapNode(ownerID,count,nodes){this.ownerID=ownerID;this.count=count;this.nodes=nodes}HashArrayMapNode.prototype.get=function(shift,keyHash,key,notSetValue){if(keyHash===undefined){keyHash=hash(key)}var idx=(shift===0?keyHash:keyHash>>>shift)&MASK;var node=this.nodes[idx];return node?node.get(shift+SHIFT,keyHash,key,notSetValue):notSetValue};HashArrayMapNode.prototype.update=function(ownerID,shift,keyHash,key,value,didChangeSize,didAlter){if(keyHash===undefined){keyHash=hash(key)}var idx=(shift===0?keyHash:keyHash>>>shift)&MASK;var removed=value===NOT_SET;var nodes=this.nodes;var node=nodes[idx];if(removed&&!node){return this}var newNode=updateNode(node,ownerID,shift+SHIFT,keyHash,key,value,didChangeSize,didAlter);if(newNode===node){return this}var newCount=this.count;if(!node){newCount++}else if(!newNode){newCount--;if(newCount<MIN_HASH_ARRAY_MAP_SIZE){return packNodes(ownerID,nodes,newCount,idx)}}var isEditable=ownerID&&ownerID===this.ownerID;var newNodes=setIn(nodes,idx,newNode,isEditable);if(isEditable){this.count=newCount;this.nodes=newNodes;return this}return new HashArrayMapNode(ownerID,newCount,newNodes)};function HashCollisionNode(ownerID,keyHash,entries){this.ownerID=ownerID;this.keyHash=keyHash;this.entries=entries}HashCollisionNode.prototype.get=function(shift,keyHash,key,notSetValue){var entries=this.entries;for(var ii=0,len=entries.length;ii<len;ii++){if(is(key,entries[ii][0])){return entries[ii][1]}}return notSetValue};HashCollisionNode.prototype.update=function(ownerID,shift,keyHash,key,value,didChangeSize,didAlter){if(keyHash===undefined){keyHash=hash(key)}var removed=value===NOT_SET;if(keyHash!==this.keyHash){if(removed){return this}SetRef(didAlter);SetRef(didChangeSize);return mergeIntoNode(this,ownerID,shift,keyHash,[key,value])}var entries=this.entries;var idx=0;for(var len=entries.length;idx<len;idx++){if(is(key,entries[idx][0])){break}}var exists=idx<len;if(exists?entries[idx][1]===value:removed){return this}SetRef(didAlter);(removed||!exists)&&SetRef(didChangeSize);if(removed&&len===2){return new ValueNode(ownerID,this.keyHash,entries[idx^1])}var isEditable=ownerID&&ownerID===this.ownerID;var newEntries=isEditable?entries:arrCopy(entries);if(exists){if(removed){idx===len-1?newEntries.pop():newEntries[idx]=newEntries.pop()}else{newEntries[idx]=[key,value]}}else{newEntries.push([key,value])}if(isEditable){this.entries=newEntries;return this}return new HashCollisionNode(ownerID,this.keyHash,newEntries)};function ValueNode(ownerID,keyHash,entry){this.ownerID=ownerID;this.keyHash=keyHash;this.entry=entry}ValueNode.prototype.get=function(shift,keyHash,key,notSetValue){return is(key,this.entry[0])?this.entry[1]:notSetValue};ValueNode.prototype.update=function(ownerID,shift,keyHash,key,value,didChangeSize,didAlter){var removed=value===NOT_SET;var keyMatch=is(key,this.entry[0]);if(keyMatch?value===this.entry[1]:removed){return this}SetRef(didAlter);if(removed){SetRef(didChangeSize);return}if(keyMatch){if(ownerID&&ownerID===this.ownerID){this.entry[1]=value;return this}return new ValueNode(ownerID,this.keyHash,[key,value])}SetRef(didChangeSize);return mergeIntoNode(this,ownerID,shift,hash(key),[key,value])};ArrayMapNode.prototype.iterate=HashCollisionNode.prototype.iterate=function(fn,reverse){var entries=this.entries;for(var ii=0,maxIndex=entries.length-1;ii<=maxIndex;ii++){if(fn(entries[reverse?maxIndex-ii:ii])===false){return false}}};BitmapIndexedNode.prototype.iterate=HashArrayMapNode.prototype.iterate=function(fn,reverse){var nodes=this.nodes;for(var ii=0,maxIndex=nodes.length-1;ii<=maxIndex;ii++){var node=nodes[reverse?maxIndex-ii:ii];if(node&&node.iterate(fn,reverse)===false){return false}}};ValueNode.prototype.iterate=function(fn,reverse){return fn(this.entry)};createClass(MapIterator,Iterator);function MapIterator(map,type,reverse){this._type=type;this._reverse=reverse;this._stack=map._root&&mapIteratorFrame(map._root)}MapIterator.prototype.next=function(){var type=this._type;var stack=this._stack;while(stack){var node=stack.node;var index=stack.index++;var maxIndex;if(node.entry){if(index===0){return mapIteratorValue(type,node.entry)}}else if(node.entries){maxIndex=node.entries.length-1;if(index<=maxIndex){return mapIteratorValue(type,node.entries[this._reverse?maxIndex-index:index])}}else{maxIndex=node.nodes.length-1;if(index<=maxIndex){var subNode=node.nodes[this._reverse?maxIndex-index:index];if(subNode){if(subNode.entry){return mapIteratorValue(type,subNode.entry)}stack=this._stack=mapIteratorFrame(subNode,stack)}continue}}stack=this._stack=this._stack.__prev}return iteratorDone()};function mapIteratorValue(type,entry){return iteratorValue(type,entry[0],entry[1])}function mapIteratorFrame(node,prev){return{node:node,index:0,__prev:prev}}function makeMap(size,root,ownerID,hash){var map=Object.create(MapPrototype);map.size=size;map._root=root;map.__ownerID=ownerID;map.__hash=hash;map.__altered=false;return map}var EMPTY_MAP;function emptyMap(){return EMPTY_MAP||(EMPTY_MAP=makeMap(0))}function updateMap(map,k,v){var newRoot;var newSize;if(!map._root){if(v===NOT_SET){return map}newSize=1;newRoot=new ArrayMapNode(map.__ownerID,[[k,v]])}else{var didChangeSize=MakeRef(CHANGE_LENGTH);var didAlter=MakeRef(DID_ALTER);newRoot=updateNode(map._root,map.__ownerID,0,undefined,k,v,didChangeSize,didAlter);if(!didAlter.value){return map}newSize=map.size+(didChangeSize.value?v===NOT_SET?-1:1:0)}if(map.__ownerID){map.size=newSize;map._root=newRoot;map.__hash=undefined;map.__altered=true;return map}return newRoot?makeMap(newSize,newRoot):emptyMap()}function updateNode(node,ownerID,shift,keyHash,key,value,didChangeSize,didAlter){if(!node){if(value===NOT_SET){return node}SetRef(didAlter);SetRef(didChangeSize);return new ValueNode(ownerID,keyHash,[key,value])}return node.update(ownerID,shift,keyHash,key,value,didChangeSize,didAlter)}function isLeafNode(node){return node.constructor===ValueNode||node.constructor===HashCollisionNode}function mergeIntoNode(node,ownerID,shift,keyHash,entry){if(node.keyHash===keyHash){return new HashCollisionNode(ownerID,keyHash,[node.entry,entry])}var idx1=(shift===0?node.keyHash:node.keyHash>>>shift)&MASK;var idx2=(shift===0?keyHash:keyHash>>>shift)&MASK;var newNode;var nodes=idx1===idx2?[mergeIntoNode(node,ownerID,shift+SHIFT,keyHash,entry)]:(newNode=new ValueNode(ownerID,keyHash,entry),idx1<idx2?[node,newNode]:[newNode,node]);return new BitmapIndexedNode(ownerID,1<<idx1|1<<idx2,nodes)} function createNodes(ownerID,entries,key,value){if(!ownerID){ownerID=new OwnerID}var node=new ValueNode(ownerID,hash(key),[key,value]);for(var ii=0;ii<entries.length;ii++){var entry=entries[ii];node=node.update(ownerID,0,undefined,entry[0],entry[1])}return node}function packNodes(ownerID,nodes,count,excluding){var bitmap=0;var packedII=0;var packedNodes=new Array(count);for(var ii=0,bit=1,len=nodes.length;ii<len;ii++,bit<<=1){var node=nodes[ii];if(node!==undefined&&ii!==excluding){bitmap|=bit;packedNodes[packedII++]=node}}return new BitmapIndexedNode(ownerID,bitmap,packedNodes)}function expandNodes(ownerID,nodes,bitmap,including,node){var count=0;var expandedNodes=new Array(SIZE);for(var ii=0;bitmap!==0;ii++,bitmap>>>=1){expandedNodes[ii]=bitmap&1?nodes[count++]:undefined}expandedNodes[including]=node;return new HashArrayMapNode(ownerID,count+1,expandedNodes)}function mergeIntoMapWith(map,merger,iterables){var iters=[];for(var ii=0;ii<iterables.length;ii++){var value=iterables[ii];var iter=KeyedIterable(value);if(!isIterable(value)){iter=iter.map(function(v){return fromJS(v)})}iters.push(iter)}return mergeIntoCollectionWith(map,merger,iters)}function deepMerger(existing,value,key){return existing&&existing.mergeDeep&&isIterable(value)?existing.mergeDeep(value):is(existing,value)?existing:value}function deepMergerWith(merger){return function(existing,value,key){if(existing&&existing.mergeDeepWith&&isIterable(value)){return existing.mergeDeepWith(merger,value)}var nextValue=merger(existing,value,key);return is(existing,nextValue)?existing:nextValue}}function mergeIntoCollectionWith(collection,merger,iters){iters=iters.filter(function(x){return x.size!==0});if(iters.length===0){return collection}if(collection.size===0&&!collection.__ownerID&&iters.length===1){return collection.constructor(iters[0])}return collection.withMutations(function(collection){var mergeIntoMap=merger?function(value,key){collection.update(key,NOT_SET,function(existing){return existing===NOT_SET?value:merger(existing,value,key)})}:function(value,key){collection.set(key,value)};for(var ii=0;ii<iters.length;ii++){iters[ii].forEach(mergeIntoMap)}})}function updateInDeepMap(existing,keyPathIter,notSetValue,updater){var isNotSet=existing===NOT_SET;var step=keyPathIter.next();if(step.done){var existingValue=isNotSet?notSetValue:existing;var newValue=updater(existingValue);return newValue===existingValue?existing:newValue}invariant(isNotSet||existing&&existing.set,"invalid keyPath");var key=step.value;var nextExisting=isNotSet?NOT_SET:existing.get(key,NOT_SET);var nextUpdated=updateInDeepMap(nextExisting,keyPathIter,notSetValue,updater);return nextUpdated===nextExisting?existing:nextUpdated===NOT_SET?existing.remove(key):(isNotSet?emptyMap():existing).set(key,nextUpdated)}function popCount(x){x=x-(x>>1&1431655765);x=(x&858993459)+(x>>2&858993459);x=x+(x>>4)&252645135;x=x+(x>>8);x=x+(x>>16);return x&127}function setIn(array,idx,val,canEdit){var newArray=canEdit?array:arrCopy(array);newArray[idx]=val;return newArray}function spliceIn(array,idx,val,canEdit){var newLen=array.length+1;if(canEdit&&idx+1===newLen){array[idx]=val;return array}var newArray=new Array(newLen);var after=0;for(var ii=0;ii<newLen;ii++){if(ii===idx){newArray[ii]=val;after=-1}else{newArray[ii]=array[ii+after]}}return newArray}function spliceOut(array,idx,canEdit){var newLen=array.length-1;if(canEdit&&idx===newLen){array.pop();return array}var newArray=new Array(newLen);var after=0;for(var ii=0;ii<newLen;ii++){if(ii===idx){after=1}newArray[ii]=array[ii+after]}return newArray}var MAX_ARRAY_MAP_SIZE=SIZE/4;var MAX_BITMAP_INDEXED_SIZE=SIZE/2;var MIN_HASH_ARRAY_MAP_SIZE=SIZE/4;createClass(List,IndexedCollection);function List(value){var empty=emptyList();if(value===null||value===undefined){return empty}if(isList(value)){return value}var iter=IndexedIterable(value);var size=iter.size;if(size===0){return empty}assertNotInfinite(size);if(size>0&&size<SIZE){return makeList(0,size,SHIFT,null,new VNode(iter.toArray()))}return empty.withMutations(function(list){list.setSize(size);iter.forEach(function(v,i){return list.set(i,v)})})}List.of=function(){return this(arguments)};List.prototype.toString=function(){return this.__toString("List [","]")};List.prototype.get=function(index,notSetValue){index=wrapIndex(this,index);if(index>=0&&index<this.size){index+=this._origin;var node=listNodeFor(this,index);return node&&node.array[index&MASK]}return notSetValue};List.prototype.set=function(index,value){return updateList(this,index,value)};List.prototype.remove=function(index){return!this.has(index)?this:index===0?this.shift():index===this.size-1?this.pop():this.splice(index,1)};List.prototype.insert=function(index,value){return this.splice(index,0,value)};List.prototype.clear=function(){if(this.size===0){return this}if(this.__ownerID){this.size=this._origin=this._capacity=0;this._level=SHIFT;this._root=this._tail=null;this.__hash=undefined;this.__altered=true;return this}return emptyList()};List.prototype.push=function(){var values=arguments;var oldSize=this.size;return this.withMutations(function(list){setListBounds(list,0,oldSize+values.length);for(var ii=0;ii<values.length;ii++){list.set(oldSize+ii,values[ii])}})};List.prototype.pop=function(){return setListBounds(this,0,-1)};List.prototype.unshift=function(){var values=arguments;return this.withMutations(function(list){setListBounds(list,-values.length);for(var ii=0;ii<values.length;ii++){list.set(ii,values[ii])}})};List.prototype.shift=function(){return setListBounds(this,1)};List.prototype.merge=function(){return mergeIntoListWith(this,undefined,arguments)};List.prototype.mergeWith=function(merger){var iters=SLICE$0.call(arguments,1);return mergeIntoListWith(this,merger,iters)};List.prototype.mergeDeep=function(){return mergeIntoListWith(this,deepMerger,arguments)};List.prototype.mergeDeepWith=function(merger){var iters=SLICE$0.call(arguments,1);return mergeIntoListWith(this,deepMergerWith(merger),iters)};List.prototype.setSize=function(size){return setListBounds(this,0,size)};List.prototype.slice=function(begin,end){var size=this.size;if(wholeSlice(begin,end,size)){return this}return setListBounds(this,resolveBegin(begin,size),resolveEnd(end,size))};List.prototype.__iterator=function(type,reverse){var index=0;var values=iterateList(this,reverse);return new Iterator(function(){var value=values();return value===DONE?iteratorDone():iteratorValue(type,index++,value)})};List.prototype.__iterate=function(fn,reverse){var index=0;var values=iterateList(this,reverse);var value;while((value=values())!==DONE){if(fn(value,index++,this)===false){break}}return index};List.prototype.__ensureOwner=function(ownerID){if(ownerID===this.__ownerID){return this}if(!ownerID){this.__ownerID=ownerID;return this}return makeList(this._origin,this._capacity,this._level,this._root,this._tail,ownerID,this.__hash)};function isList(maybeList){return!!(maybeList&&maybeList[IS_LIST_SENTINEL])}List.isList=isList;var IS_LIST_SENTINEL="@@__IMMUTABLE_LIST__@@";var ListPrototype=List.prototype;ListPrototype[IS_LIST_SENTINEL]=true;ListPrototype[DELETE]=ListPrototype.remove;ListPrototype.setIn=MapPrototype.setIn;ListPrototype.deleteIn=ListPrototype.removeIn=MapPrototype.removeIn;ListPrototype.update=MapPrototype.update;ListPrototype.updateIn=MapPrototype.updateIn;ListPrototype.mergeIn=MapPrototype.mergeIn;ListPrototype.mergeDeepIn=MapPrototype.mergeDeepIn;ListPrototype.withMutations=MapPrototype.withMutations;ListPrototype.asMutable=MapPrototype.asMutable;ListPrototype.asImmutable=MapPrototype.asImmutable;ListPrototype.wasAltered=MapPrototype.wasAltered;function VNode(array,ownerID){this.array=array;this.ownerID=ownerID}VNode.prototype.removeBefore=function(ownerID,level,index){if(index===level?1<<level:0||this.array.length===0){return this}var originIndex=index>>>level&MASK;if(originIndex>=this.array.length){return new VNode([],ownerID)}var removingFirst=originIndex===0;var newChild;if(level>0){var oldChild=this.array[originIndex];newChild=oldChild&&oldChild.removeBefore(ownerID,level-SHIFT,index);if(newChild===oldChild&&removingFirst){return this}}if(removingFirst&&!newChild){return this}var editable=editableVNode(this,ownerID);if(!removingFirst){for(var ii=0;ii<originIndex;ii++){editable.array[ii]=undefined}}if(newChild){editable.array[originIndex]=newChild}return editable};VNode.prototype.removeAfter=function(ownerID,level,index){if(index===(level?1<<level:0)||this.array.length===0){return this}var sizeIndex=index-1>>>level&MASK;if(sizeIndex>=this.array.length){return this}var newChild;if(level>0){var oldChild=this.array[sizeIndex];newChild=oldChild&&oldChild.removeAfter(ownerID,level-SHIFT,index);if(newChild===oldChild&&sizeIndex===this.array.length-1){return this}}var editable=editableVNode(this,ownerID);editable.array.splice(sizeIndex+1);if(newChild){editable.array[sizeIndex]=newChild}return editable};var DONE={};function iterateList(list,reverse){var left=list._origin;var right=list._capacity;var tailPos=getTailOffset(right);var tail=list._tail;return iterateNodeOrLeaf(list._root,list._level,0);function iterateNodeOrLeaf(node,level,offset){return level===0?iterateLeaf(node,offset):iterateNode(node,level,offset)}function iterateLeaf(node,offset){var array=offset===tailPos?tail&&tail.array:node&&node.array;var from=offset>left?0:left-offset;var to=right-offset;if(to>SIZE){to=SIZE}return function(){if(from===to){return DONE}var idx=reverse?--to:from++;return array&&array[idx]}}function iterateNode(node,level,offset){var values;var array=node&&node.array;var from=offset>left?0:left-offset>>level;var to=(right-offset>>level)+1;if(to>SIZE){to=SIZE}return function(){do{if(values){var value=values();if(value!==DONE){return value}values=null}if(from===to){return DONE}var idx=reverse?--to:from++;values=iterateNodeOrLeaf(array&&array[idx],level-SHIFT,offset+(idx<<level))}while(true)}}}function makeList(origin,capacity,level,root,tail,ownerID,hash){var list=Object.create(ListPrototype);list.size=capacity-origin;list._origin=origin;list._capacity=capacity;list._level=level;list._root=root;list._tail=tail;list.__ownerID=ownerID;list.__hash=hash;list.__altered=false;return list}var EMPTY_LIST;function emptyList(){return EMPTY_LIST||(EMPTY_LIST=makeList(0,0,SHIFT))}function updateList(list,index,value){index=wrapIndex(list,index);if(index!==index){return list}if(index>=list.size||index<0){return list.withMutations(function(list){index<0?setListBounds(list,index).set(0,value):setListBounds(list,0,index+1).set(index,value)})}index+=list._origin;var newTail=list._tail;var newRoot=list._root;var didAlter=MakeRef(DID_ALTER);if(index>=getTailOffset(list._capacity)){newTail=updateVNode(newTail,list.__ownerID,0,index,value,didAlter)}else{newRoot=updateVNode(newRoot,list.__ownerID,list._level,index,value,didAlter)}if(!didAlter.value){return list}if(list.__ownerID){list._root=newRoot;list._tail=newTail;list.__hash=undefined;list.__altered=true;return list}return makeList(list._origin,list._capacity,list._level,newRoot,newTail)}function updateVNode(node,ownerID,level,index,value,didAlter){var idx=index>>>level&MASK;var nodeHas=node&&idx<node.array.length;if(!nodeHas&&value===undefined){return node}var newNode;if(level>0){var lowerNode=node&&node.array[idx];var newLowerNode=updateVNode(lowerNode,ownerID,level-SHIFT,index,value,didAlter);if(newLowerNode===lowerNode){return node}newNode=editableVNode(node,ownerID);newNode.array[idx]=newLowerNode;return newNode}if(nodeHas&&node.array[idx]===value){return node}SetRef(didAlter);newNode=editableVNode(node,ownerID);if(value===undefined&&idx===newNode.array.length-1){newNode.array.pop()}else{newNode.array[idx]=value}return newNode}function editableVNode(node,ownerID){if(ownerID&&node&&ownerID===node.ownerID){return node}return new VNode(node?node.array.slice():[],ownerID)}function listNodeFor(list,rawIndex){if(rawIndex>=getTailOffset(list._capacity)){return list._tail}if(rawIndex<1<<list._level+SHIFT){var node=list._root;var level=list._level;while(node&&level>0){node=node.array[rawIndex>>>level&MASK];level-=SHIFT}return node}}function setListBounds(list,begin,end){if(begin!==undefined){begin=begin|0}if(end!==undefined){end=end|0}var owner=list.__ownerID||new OwnerID;var oldOrigin=list._origin;var oldCapacity=list._capacity;var newOrigin=oldOrigin+begin;var newCapacity=end===undefined?oldCapacity:end<0?oldCapacity+end:oldOrigin+end;if(newOrigin===oldOrigin&&newCapacity===oldCapacity){return list}if(newOrigin>=newCapacity){return list.clear()}var newLevel=list._level;var newRoot=list._root;var offsetShift=0;while(newOrigin+offsetShift<0){newRoot=new VNode(newRoot&&newRoot.array.length?[undefined,newRoot]:[],owner);newLevel+=SHIFT;offsetShift+=1<<newLevel}if(offsetShift){newOrigin+=offsetShift;oldOrigin+=offsetShift;newCapacity+=offsetShift;oldCapacity+=offsetShift}var oldTailOffset=getTailOffset(oldCapacity);var newTailOffset=getTailOffset(newCapacity);while(newTailOffset>=1<<newLevel+SHIFT){newRoot=new VNode(newRoot&&newRoot.array.length?[newRoot]:[],owner);newLevel+=SHIFT}var oldTail=list._tail;var newTail=newTailOffset<oldTailOffset?listNodeFor(list,newCapacity-1):newTailOffset>oldTailOffset?new VNode([],owner):oldTail;if(oldTail&&newTailOffset>oldTailOffset&&newOrigin<oldCapacity&&oldTail.array.length){newRoot=editableVNode(newRoot,owner);var node=newRoot;for(var level=newLevel;level>SHIFT;level-=SHIFT){var idx=oldTailOffset>>>level&MASK;node=node.array[idx]=editableVNode(node.array[idx],owner)}node.array[oldTailOffset>>>SHIFT&MASK]=oldTail}if(newCapacity<oldCapacity){newTail=newTail&&newTail.removeAfter(owner,0,newCapacity)}if(newOrigin>=newTailOffset){newOrigin-=newTailOffset;newCapacity-=newTailOffset;newLevel=SHIFT;newRoot=null;newTail=newTail&&newTail.removeBefore(owner,0,newOrigin)}else if(newOrigin>oldOrigin||newTailOffset<oldTailOffset){offsetShift=0;while(newRoot){var beginIndex=newOrigin>>>newLevel&MASK;if(beginIndex!==newTailOffset>>>newLevel&MASK){break}if(beginIndex){offsetShift+=(1<<newLevel)*beginIndex}newLevel-=SHIFT;newRoot=newRoot.array[beginIndex]}if(newRoot&&newOrigin>oldOrigin){newRoot=newRoot.removeBefore(owner,newLevel,newOrigin-offsetShift)}if(newRoot&&newTailOffset<oldTailOffset){newRoot=newRoot.removeAfter(owner,newLevel,newTailOffset-offsetShift)}if(offsetShift){newOrigin-=offsetShift;newCapacity-=offsetShift}}if(list.__ownerID){list.size=newCapacity-newOrigin;list._origin=newOrigin;list._capacity=newCapacity;list._level=newLevel;list._root=newRoot;list._tail=newTail;list.__hash=undefined;list.__altered=true;return list}return makeList(newOrigin,newCapacity,newLevel,newRoot,newTail)}function mergeIntoListWith(list,merger,iterables){var iters=[];var maxSize=0;for(var ii=0;ii<iterables.length;ii++){var value=iterables[ii];var iter=IndexedIterable(value);if(iter.size>maxSize){maxSize=iter.size}if(!isIterable(value)){iter=iter.map(function(v){return fromJS(v)})}iters.push(iter)}if(maxSize>list.size){list=list.setSize(maxSize)}return mergeIntoCollectionWith(list,merger,iters)}function getTailOffset(size){return size<SIZE?0:size-1>>>SHIFT<<SHIFT}createClass(OrderedMap,Map);function OrderedMap(value){return value===null||value===undefined?emptyOrderedMap():isOrderedMap(value)?value:emptyOrderedMap().withMutations(function(map){var iter=KeyedIterable(value);assertNotInfinite(iter.size);iter.forEach(function(v,k){return map.set(k,v)})})}OrderedMap.of=function(){return this(arguments)};OrderedMap.prototype.toString=function(){return this.__toString("OrderedMap {","}")};OrderedMap.prototype.get=function(k,notSetValue){var index=this._map.get(k);return index!==undefined?this._list.get(index)[1]:notSetValue};OrderedMap.prototype.clear=function(){if(this.size===0){return this}if(this.__ownerID){this.size=0;this._map.clear();this._list.clear();return this}return emptyOrderedMap()};OrderedMap.prototype.set=function(k,v){return updateOrderedMap(this,k,v)};OrderedMap.prototype.remove=function(k){return updateOrderedMap(this,k,NOT_SET)};OrderedMap.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()};OrderedMap.prototype.__iterate=function(fn,reverse){var this$0=this;return this._list.__iterate(function(entry){return entry&&fn(entry[1],entry[0],this$0)},reverse)};OrderedMap.prototype.__iterator=function(type,reverse){return this._list.fromEntrySeq().__iterator(type,reverse)};OrderedMap.prototype.__ensureOwner=function(ownerID){if(ownerID===this.__ownerID){return this}var newMap=this._map.__ensureOwner(ownerID);var newList=this._list.__ensureOwner(ownerID);if(!ownerID){this.__ownerID=ownerID;this._map=newMap;this._list=newList;return this}return makeOrderedMap(newMap,newList,ownerID,this.__hash)};function isOrderedMap(maybeOrderedMap){return isMap(maybeOrderedMap)&&isOrdered(maybeOrderedMap)}OrderedMap.isOrderedMap=isOrderedMap;OrderedMap.prototype[IS_ORDERED_SENTINEL]=true;OrderedMap.prototype[DELETE]=OrderedMap.prototype.remove;function makeOrderedMap(map,list,ownerID,hash){var omap=Object.create(OrderedMap.prototype);omap.size=map?map.size:0;omap._map=map;omap._list=list;omap.__ownerID=ownerID;omap.__hash=hash;return omap}var EMPTY_ORDERED_MAP;function emptyOrderedMap(){return EMPTY_ORDERED_MAP||(EMPTY_ORDERED_MAP=makeOrderedMap(emptyMap(),emptyList()))}function updateOrderedMap(omap,k,v){var map=omap._map;var list=omap._list;var i=map.get(k);var has=i!==undefined;var newMap;var newList;if(v===NOT_SET){if(!has){return omap}if(list.size>=SIZE&&list.size>=map.size*2){newList=list.filter(function(entry,idx){return entry!==undefined&&i!==idx});newMap=newList.toKeyedSeq().map(function(entry){return entry[0]}).flip().toMap();if(omap.__ownerID){newMap.__ownerID=newList.__ownerID=omap.__ownerID}}else{newMap=map.remove(k);newList=i===list.size-1?list.pop():list.set(i,undefined)}}else{if(has){if(v===list.get(i)[1]){return omap}newMap=map;newList=list.set(i,[k,v])}else{newMap=map.set(k,list.size);newList=list.set(list.size,[k,v])}}if(omap.__ownerID){omap.size=newMap.size;omap._map=newMap;omap._list=newList;omap.__hash=undefined;return omap}return makeOrderedMap(newMap,newList)}createClass(ToKeyedSequence,KeyedSeq);function ToKeyedSequence(indexed,useKeys){this._iter=indexed;this._useKeys=useKeys;this.size=indexed.size}ToKeyedSequence.prototype.get=function(key,notSetValue){return this._iter.get(key,notSetValue)};ToKeyedSequence.prototype.has=function(key){return this._iter.has(key)};ToKeyedSequence.prototype.valueSeq=function(){return this._iter.valueSeq()};ToKeyedSequence.prototype.reverse=function(){var this$0=this;var reversedSequence=reverseFactory(this,true);if(!this._useKeys){reversedSequence.valueSeq=function(){return this$0._iter.toSeq().reverse()}}return reversedSequence};ToKeyedSequence.prototype.map=function(mapper,context){var this$0=this;var mappedSequence=mapFactory(this,mapper,context);if(!this._useKeys){mappedSequence.valueSeq=function(){return this$0._iter.toSeq().map(mapper,context)}}return mappedSequence};ToKeyedSequence.prototype.__iterate=function(fn,reverse){var this$0=this;var ii;return this._iter.__iterate(this._useKeys?function(v,k){return fn(v,k,this$0)}:(ii=reverse?resolveSize(this):0,function(v){return fn(v,reverse?--ii:ii++,this$0)}),reverse)};ToKeyedSequence.prototype.__iterator=function(type,reverse){if(this._useKeys){return this._iter.__iterator(type,reverse)}var iterator=this._iter.__iterator(ITERATE_VALUES,reverse);var ii=reverse?resolveSize(this):0;return new Iterator(function(){var step=iterator.next();return step.done?step:iteratorValue(type,reverse?--ii:ii++,step.value,step)})};ToKeyedSequence.prototype[IS_ORDERED_SENTINEL]=true;createClass(ToIndexedSequence,IndexedSeq);function ToIndexedSequence(iter){this._iter=iter;this.size=iter.size}ToIndexedSequence.prototype.includes=function(value){return this._iter.includes(value)};ToIndexedSequence.prototype.__iterate=function(fn,reverse){var this$0=this;var iterations=0;return this._iter.__iterate(function(v){return fn(v,iterations++,this$0)},reverse)};ToIndexedSequence.prototype.__iterator=function(type,reverse){var iterator=this._iter.__iterator(ITERATE_VALUES,reverse);var iterations=0;return new Iterator(function(){var step=iterator.next();return step.done?step:iteratorValue(type,iterations++,step.value,step)})};createClass(ToSetSequence,SetSeq);function ToSetSequence(iter){this._iter=iter;this.size=iter.size}ToSetSequence.prototype.has=function(key){return this._iter.includes(key)};ToSetSequence.prototype.__iterate=function(fn,reverse){var this$0=this;return this._iter.__iterate(function(v){return fn(v,v,this$0)},reverse)};ToSetSequence.prototype.__iterator=function(type,reverse){var iterator=this._iter.__iterator(ITERATE_VALUES,reverse);return new Iterator(function(){var step=iterator.next();return step.done?step:iteratorValue(type,step.value,step.value,step)})};createClass(FromEntriesSequence,KeyedSeq);function FromEntriesSequence(entries){this._iter=entries;this.size=entries.size}FromEntriesSequence.prototype.entrySeq=function(){return this._iter.toSeq()};FromEntriesSequence.prototype.__iterate=function(fn,reverse){var this$0=this;return this._iter.__iterate(function(entry){if(entry){validateEntry(entry);var indexedIterable=isIterable(entry);return fn(indexedIterable?entry.get(1):entry[1],indexedIterable?entry.get(0):entry[0],this$0)}},reverse)};FromEntriesSequence.prototype.__iterator=function(type,reverse){var iterator=this._iter.__iterator(ITERATE_VALUES,reverse);return new Iterator(function(){while(true){var step=iterator.next();if(step.done){return step}var entry=step.value;if(entry){validateEntry(entry);var indexedIterable=isIterable(entry);return iteratorValue(type,indexedIterable?entry.get(0):entry[0],indexedIterable?entry.get(1):entry[1],step)}}})};ToIndexedSequence.prototype.cacheResult=ToKeyedSequence.prototype.cacheResult=ToSetSequence.prototype.cacheResult=FromEntriesSequence.prototype.cacheResult=cacheResultThrough;function flipFactory(iterable){var flipSequence=makeSequence(iterable);flipSequence._iter=iterable;flipSequence.size=iterable.size;flipSequence.flip=function(){return iterable};flipSequence.reverse=function(){var reversedSequence=iterable.reverse.apply(this);reversedSequence.flip=function(){return iterable.reverse()};return reversedSequence};flipSequence.has=function(key){return iterable.includes(key)};flipSequence.includes=function(key){return iterable.has(key)};flipSequence.cacheResult=cacheResultThrough;flipSequence.__iterateUncached=function(fn,reverse){var this$0=this;return iterable.__iterate(function(v,k){return fn(k,v,this$0)!==false},reverse)};flipSequence.__iteratorUncached=function(type,reverse){if(type===ITERATE_ENTRIES){var iterator=iterable.__iterator(type,reverse);return new Iterator(function(){var step=iterator.next();if(!step.done){var k=step.value[0];step.value[0]=step.value[1];step.value[1]=k}return step})}return iterable.__iterator(type===ITERATE_VALUES?ITERATE_KEYS:ITERATE_VALUES,reverse)};return flipSequence}function mapFactory(iterable,mapper,context){var mappedSequence=makeSequence(iterable);mappedSequence.size=iterable.size;mappedSequence.has=function(key){return iterable.has(key)};mappedSequence.get=function(key,notSetValue){var v=iterable.get(key,NOT_SET);return v===NOT_SET?notSetValue:mapper.call(context,v,key,iterable)};mappedSequence.__iterateUncached=function(fn,reverse){var this$0=this;return iterable.__iterate(function(v,k,c){return fn(mapper.call(context,v,k,c),k,this$0)!==false},reverse)};mappedSequence.__iteratorUncached=function(type,reverse){var iterator=iterable.__iterator(ITERATE_ENTRIES,reverse);return new Iterator(function(){var step=iterator.next();if(step.done){return step}var entry=step.value;var key=entry[0];return iteratorValue(type,key,mapper.call(context,entry[1],key,iterable),step)})};return mappedSequence}function reverseFactory(iterable,useKeys){var reversedSequence=makeSequence(iterable);reversedSequence._iter=iterable;reversedSequence.size=iterable.size;reversedSequence.reverse=function(){return iterable};if(iterable.flip){reversedSequence.flip=function(){var flipSequence=flipFactory(iterable);flipSequence.reverse=function(){return iterable.flip()};return flipSequence}}reversedSequence.get=function(key,notSetValue){return iterable.get(useKeys?key:-1-key,notSetValue)};reversedSequence.has=function(key){return iterable.has(useKeys?key:-1-key)};reversedSequence.includes=function(value){return iterable.includes(value)};reversedSequence.cacheResult=cacheResultThrough;reversedSequence.__iterate=function(fn,reverse){var this$0=this;return iterable.__iterate(function(v,k){return fn(v,k,this$0)},!reverse)};reversedSequence.__iterator=function(type,reverse){return iterable.__iterator(type,!reverse)};return reversedSequence}function filterFactory(iterable,predicate,context,useKeys){var filterSequence=makeSequence(iterable);if(useKeys){filterSequence.has=function(key){var v=iterable.get(key,NOT_SET);return v!==NOT_SET&&!!predicate.call(context,v,key,iterable)};filterSequence.get=function(key,notSetValue){var v=iterable.get(key,NOT_SET);return v!==NOT_SET&&predicate.call(context,v,key,iterable)?v:notSetValue}}filterSequence.__iterateUncached=function(fn,reverse){var this$0=this;var iterations=0;iterable.__iterate(function(v,k,c){if(predicate.call(context,v,k,c)){iterations++;return fn(v,useKeys?k:iterations-1,this$0)}},reverse);return iterations};filterSequence.__iteratorUncached=function(type,reverse){var iterator=iterable.__iterator(ITERATE_ENTRIES,reverse);var iterations=0;return new Iterator(function(){while(true){var step=iterator.next();if(step.done){return step}var entry=step.value;var key=entry[0];var value=entry[1];if(predicate.call(context,value,key,iterable)){return iteratorValue(type,useKeys?key:iterations++,value,step)}}})};return filterSequence}function countByFactory(iterable,grouper,context){var groups=Map().asMutable();iterable.__iterate(function(v,k){groups.update(grouper.call(context,v,k,iterable),0,function(a){return a+1})});return groups.asImmutable()}function groupByFactory(iterable,grouper,context){var isKeyedIter=isKeyed(iterable);var groups=(isOrdered(iterable)?OrderedMap():Map()).asMutable();iterable.__iterate(function(v,k){groups.update(grouper.call(context,v,k,iterable),function(a){return a=a||[],a.push(isKeyedIter?[k,v]:v),a})});var coerce=iterableClass(iterable);return groups.map(function(arr){return reify(iterable,coerce(arr))})}function sliceFactory(iterable,begin,end,useKeys){var originalSize=iterable.size;if(begin!==undefined){begin=begin|0}if(end!==undefined){if(end===Infinity){end=originalSize}else{end=end|0}}if(wholeSlice(begin,end,originalSize)){return iterable}var resolvedBegin=resolveBegin(begin,originalSize);var resolvedEnd=resolveEnd(end,originalSize);if(resolvedBegin!==resolvedBegin||resolvedEnd!==resolvedEnd){return sliceFactory(iterable.toSeq().cacheResult(),begin,end,useKeys)}var resolvedSize=resolvedEnd-resolvedBegin;var sliceSize;if(resolvedSize===resolvedSize){sliceSize=resolvedSize<0?0:resolvedSize}var sliceSeq=makeSequence(iterable);sliceSeq.size=sliceSize===0?sliceSize:iterable.size&&sliceSize||undefined;if(!useKeys&&isSeq(iterable)&&sliceSize>=0){sliceSeq.get=function(index,notSetValue){index=wrapIndex(this,index);return index>=0&&index<sliceSize?iterable.get(index+resolvedBegin,notSetValue):notSetValue}}sliceSeq.__iterateUncached=function(fn,reverse){var this$0=this;if(sliceSize===0){return 0}if(reverse){return this.cacheResult().__iterate(fn,reverse)}var skipped=0;var isSkipping=true;var iterations=0;iterable.__iterate(function(v,k){if(!(isSkipping&&(isSkipping=skipped++<resolvedBegin))){iterations++;return fn(v,useKeys?k:iterations-1,this$0)!==false&&iterations!==sliceSize}});return iterations};sliceSeq.__iteratorUncached=function(type,reverse){if(sliceSize!==0&&reverse){return this.cacheResult().__iterator(type,reverse)}var iterator=sliceSize!==0&&iterable.__iterator(type,reverse);var skipped=0;var iterations=0;return new Iterator(function(){while(skipped++<resolvedBegin){iterator.next()}if(++iterations>sliceSize){return iteratorDone()}var step=iterator.next();if(useKeys||type===ITERATE_VALUES){return step}else if(type===ITERATE_KEYS){return iteratorValue(type,iterations-1,undefined,step)}else{return iteratorValue(type,iterations-1,step.value[1],step)}})};return sliceSeq}function takeWhileFactory(iterable,predicate,context){var takeSequence=makeSequence(iterable);takeSequence.__iterateUncached=function(fn,reverse){var this$0=this;if(reverse){return this.cacheResult().__iterate(fn,reverse)}var iterations=0;iterable.__iterate(function(v,k,c){return predicate.call(context,v,k,c)&&++iterations&&fn(v,k,this$0)});return iterations};takeSequence.__iteratorUncached=function(type,reverse){var this$0=this;if(reverse){return this.cacheResult().__iterator(type,reverse)}var iterator=iterable.__iterator(ITERATE_ENTRIES,reverse);var iterating=true;return new Iterator(function(){if(!iterating){return iteratorDone()}var step=iterator.next();if(step.done){return step}var entry=step.value;var k=entry[0];var v=entry[1];if(!predicate.call(context,v,k,this$0)){iterating=false;return iteratorDone()}return type===ITERATE_ENTRIES?step:iteratorValue(type,k,v,step)})};return takeSequence}function skipWhileFactory(iterable,predicate,context,useKeys){var skipSequence=makeSequence(iterable);skipSequence.__iterateUncached=function(fn,reverse){var this$0=this;if(reverse){return this.cacheResult().__iterate(fn,reverse)}var isSkipping=true;var iterations=0;iterable.__iterate(function(v,k,c){if(!(isSkipping&&(isSkipping=predicate.call(context,v,k,c)))){iterations++;return fn(v,useKeys?k:iterations-1,this$0)}});return iterations};skipSequence.__iteratorUncached=function(type,reverse){var this$0=this;if(reverse){return this.cacheResult().__iterator(type,reverse)}var iterator=iterable.__iterator(ITERATE_ENTRIES,reverse);var skipping=true;var iterations=0;return new Iterator(function(){var step,k,v;do{step=iterator.next();if(step.done){if(useKeys||type===ITERATE_VALUES){return step}else if(type===ITERATE_KEYS){return iteratorValue(type,iterations++,undefined,step)}else{return iteratorValue(type,iterations++,step.value[1],step)}}var entry=step.value;k=entry[0];v=entry[1];skipping&&(skipping=predicate.call(context,v,k,this$0))}while(skipping);return type===ITERATE_ENTRIES?step:iteratorValue(type,k,v,step)})};return skipSequence}function concatFactory(iterable,values){var isKeyedIterable=isKeyed(iterable);var iters=[iterable].concat(values).map(function(v){if(!isIterable(v)){v=isKeyedIterable?keyedSeqFromValue(v):indexedSeqFromValue(Array.isArray(v)?v:[v])}else if(isKeyedIterable){v=KeyedIterable(v)}return v}).filter(function(v){return v.size!==0});if(iters.length===0){return iterable}if(iters.length===1){var singleton=iters[0];if(singleton===iterable||isKeyedIterable&&isKeyed(singleton)||isIndexed(iterable)&&isIndexed(singleton)){return singleton}}var concatSeq=new ArraySeq(iters);if(isKeyedIterable){concatSeq=concatSeq.toKeyedSeq()}else if(!isIndexed(iterable)){concatSeq=concatSeq.toSetSeq()}concatSeq=concatSeq.flatten(true);concatSeq.size=iters.reduce(function(sum,seq){if(sum!==undefined){var size=seq.size;if(size!==undefined){return sum+size}}},0);return concatSeq}function flattenFactory(iterable,depth,useKeys){var flatSequence=makeSequence(iterable);flatSequence.__iterateUncached=function(fn,reverse){var iterations=0;var stopped=false;function flatDeep(iter,currentDepth){var this$0=this;iter.__iterate(function(v,k){if((!depth||currentDepth<depth)&&isIterable(v)){flatDeep(v,currentDepth+1)}else if(fn(v,useKeys?k:iterations++,this$0)===false){stopped=true}return!stopped},reverse)}flatDeep(iterable,0);return iterations};flatSequence.__iteratorUncached=function(type,reverse){var iterator=iterable.__iterator(type,reverse);var stack=[];var iterations=0;return new Iterator(function(){while(iterator){var step=iterator.next();if(step.done!==false){iterator=stack.pop();continue}var v=step.value;if(type===ITERATE_ENTRIES){v=v[1]} if((!depth||stack.length<depth)&&isIterable(v)){stack.push(iterator);iterator=v.__iterator(type,reverse)}else{return useKeys?step:iteratorValue(type,iterations++,v,step)}}return iteratorDone()})};return flatSequence}function flatMapFactory(iterable,mapper,context){var coerce=iterableClass(iterable);return iterable.toSeq().map(function(v,k){return coerce(mapper.call(context,v,k,iterable))}).flatten(true)}function interposeFactory(iterable,separator){var interposedSequence=makeSequence(iterable);interposedSequence.size=iterable.size&&iterable.size*2-1;interposedSequence.__iterateUncached=function(fn,reverse){var this$0=this;var iterations=0;iterable.__iterate(function(v,k){return(!iterations||fn(separator,iterations++,this$0)!==false)&&fn(v,iterations++,this$0)!==false},reverse);return iterations};interposedSequence.__iteratorUncached=function(type,reverse){var iterator=iterable.__iterator(ITERATE_VALUES,reverse);var iterations=0;var step;return new Iterator(function(){if(!step||iterations%2){step=iterator.next();if(step.done){return step}}return iterations%2?iteratorValue(type,iterations++,separator):iteratorValue(type,iterations++,step.value,step)})};return interposedSequence}function sortFactory(iterable,comparator,mapper){if(!comparator){comparator=defaultComparator}var isKeyedIterable=isKeyed(iterable);var index=0;var entries=iterable.toSeq().map(function(v,k){return[k,v,index++,mapper?mapper(v,k,iterable):v]}).toArray();entries.sort(function(a,b){return comparator(a[3],b[3])||a[2]-b[2]}).forEach(isKeyedIterable?function(v,i){entries[i].length=2}:function(v,i){entries[i]=v[1]});return isKeyedIterable?KeyedSeq(entries):isIndexed(iterable)?IndexedSeq(entries):SetSeq(entries)}function maxFactory(iterable,comparator,mapper){if(!comparator){comparator=defaultComparator}if(mapper){var entry=iterable.toSeq().map(function(v,k){return[v,mapper(v,k,iterable)]}).reduce(function(a,b){return maxCompare(comparator,a[1],b[1])?b:a});return entry&&entry[0]}else{return iterable.reduce(function(a,b){return maxCompare(comparator,a,b)?b:a})}}function maxCompare(comparator,a,b){var comp=comparator(b,a);return comp===0&&b!==a&&(b===undefined||b===null||b!==b)||comp>0}function zipWithFactory(keyIter,zipper,iters){var zipSequence=makeSequence(keyIter);zipSequence.size=new ArraySeq(iters).map(function(i){return i.size}).min();zipSequence.__iterate=function(fn,reverse){var iterator=this.__iterator(ITERATE_VALUES,reverse);var step;var iterations=0;while(!(step=iterator.next()).done){if(fn(step.value,iterations++,this)===false){break}}return iterations};zipSequence.__iteratorUncached=function(type,reverse){var iterators=iters.map(function(i){return i=Iterable(i),getIterator(reverse?i.reverse():i)});var iterations=0;var isDone=false;return new Iterator(function(){var steps;if(!isDone){steps=iterators.map(function(i){return i.next()});isDone=steps.some(function(s){return s.done})}if(isDone){return iteratorDone()}return iteratorValue(type,iterations++,zipper.apply(null,steps.map(function(s){return s.value})))})};return zipSequence}function reify(iter,seq){return isSeq(iter)?seq:iter.constructor(seq)}function validateEntry(entry){if(entry!==Object(entry)){throw new TypeError("Expected [K, V] tuple: "+entry)}}function resolveSize(iter){assertNotInfinite(iter.size);return ensureSize(iter)}function iterableClass(iterable){return isKeyed(iterable)?KeyedIterable:isIndexed(iterable)?IndexedIterable:SetIterable}function makeSequence(iterable){return Object.create((isKeyed(iterable)?KeyedSeq:isIndexed(iterable)?IndexedSeq:SetSeq).prototype)}function cacheResultThrough(){if(this._iter.cacheResult){this._iter.cacheResult();this.size=this._iter.size;return this}else{return Seq.prototype.cacheResult.call(this)}}function defaultComparator(a,b){return a>b?1:a<b?-1:0}function forceIterator(keyPath){var iter=getIterator(keyPath);if(!iter){if(!isArrayLike(keyPath)){throw new TypeError("Expected iterable or array-like: "+keyPath)}iter=getIterator(Iterable(keyPath))}return iter}createClass(Record,KeyedCollection);function Record(defaultValues,name){var hasInitialized;var RecordType=function Record(values){if(values instanceof RecordType){return values}if(!(this instanceof RecordType)){return new RecordType(values)}if(!hasInitialized){hasInitialized=true;var keys=Object.keys(defaultValues);setProps(RecordTypePrototype,keys);RecordTypePrototype.size=keys.length;RecordTypePrototype._name=name;RecordTypePrototype._keys=keys;RecordTypePrototype._defaultValues=defaultValues}this._map=Map(values)};var RecordTypePrototype=RecordType.prototype=Object.create(RecordPrototype);RecordTypePrototype.constructor=RecordType;return RecordType}Record.prototype.toString=function(){return this.__toString(recordName(this)+" {","}")};Record.prototype.has=function(k){return this._defaultValues.hasOwnProperty(k)};Record.prototype.get=function(k,notSetValue){if(!this.has(k)){return notSetValue}var defaultVal=this._defaultValues[k];return this._map?this._map.get(k,defaultVal):defaultVal};Record.prototype.clear=function(){if(this.__ownerID){this._map&&this._map.clear();return this}var RecordType=this.constructor;return RecordType._empty||(RecordType._empty=makeRecord(this,emptyMap()))};Record.prototype.set=function(k,v){if(!this.has(k)){throw new Error('Cannot set unknown key "'+k+'" on '+recordName(this))}if(this._map&&!this._map.has(k)){var defaultVal=this._defaultValues[k];if(v===defaultVal){return this}}var newMap=this._map&&this._map.set(k,v);if(this.__ownerID||newMap===this._map){return this}return makeRecord(this,newMap)};Record.prototype.remove=function(k){if(!this.has(k)){return this}var newMap=this._map&&this._map.remove(k);if(this.__ownerID||newMap===this._map){return this}return makeRecord(this,newMap)};Record.prototype.wasAltered=function(){return this._map.wasAltered()};Record.prototype.__iterator=function(type,reverse){var this$0=this;return KeyedIterable(this._defaultValues).map(function(_,k){return this$0.get(k)}).__iterator(type,reverse)};Record.prototype.__iterate=function(fn,reverse){var this$0=this;return KeyedIterable(this._defaultValues).map(function(_,k){return this$0.get(k)}).__iterate(fn,reverse)};Record.prototype.__ensureOwner=function(ownerID){if(ownerID===this.__ownerID){return this}var newMap=this._map&&this._map.__ensureOwner(ownerID);if(!ownerID){this.__ownerID=ownerID;this._map=newMap;return this}return makeRecord(this,newMap,ownerID)};var RecordPrototype=Record.prototype;RecordPrototype[DELETE]=RecordPrototype.remove;RecordPrototype.deleteIn=RecordPrototype.removeIn=MapPrototype.removeIn;RecordPrototype.merge=MapPrototype.merge;RecordPrototype.mergeWith=MapPrototype.mergeWith;RecordPrototype.mergeIn=MapPrototype.mergeIn;RecordPrototype.mergeDeep=MapPrototype.mergeDeep;RecordPrototype.mergeDeepWith=MapPrototype.mergeDeepWith;RecordPrototype.mergeDeepIn=MapPrototype.mergeDeepIn;RecordPrototype.setIn=MapPrototype.setIn;RecordPrototype.update=MapPrototype.update;RecordPrototype.updateIn=MapPrototype.updateIn;RecordPrototype.withMutations=MapPrototype.withMutations;RecordPrototype.asMutable=MapPrototype.asMutable;RecordPrototype.asImmutable=MapPrototype.asImmutable;function makeRecord(likeRecord,map,ownerID){var record=Object.create(Object.getPrototypeOf(likeRecord));record._map=map;record.__ownerID=ownerID;return record}function recordName(record){return record._name||record.constructor.name||"Record"}function setProps(prototype,names){try{names.forEach(setProp.bind(undefined,prototype))}catch(error){}}function setProp(prototype,name){Object.defineProperty(prototype,name,{get:function(){return this.get(name)},set:function(value){invariant(this.__ownerID,"Cannot set on an immutable record.");this.set(name,value)}})}createClass(Set,SetCollection);function Set(value){return value===null||value===undefined?emptySet():isSet(value)&&!isOrdered(value)?value:emptySet().withMutations(function(set){var iter=SetIterable(value);assertNotInfinite(iter.size);iter.forEach(function(v){return set.add(v)})})}Set.of=function(){return this(arguments)};Set.fromKeys=function(value){return this(KeyedIterable(value).keySeq())};Set.prototype.toString=function(){return this.__toString("Set {","}")};Set.prototype.has=function(value){return this._map.has(value)};Set.prototype.add=function(value){return updateSet(this,this._map.set(value,true))};Set.prototype.remove=function(value){return updateSet(this,this._map.remove(value))};Set.prototype.clear=function(){return updateSet(this,this._map.clear())};Set.prototype.union=function(){var iters=SLICE$0.call(arguments,0);iters=iters.filter(function(x){return x.size!==0});if(iters.length===0){return this}if(this.size===0&&!this.__ownerID&&iters.length===1){return this.constructor(iters[0])}return this.withMutations(function(set){for(var ii=0;ii<iters.length;ii++){SetIterable(iters[ii]).forEach(function(value){return set.add(value)})}})};Set.prototype.intersect=function(){var iters=SLICE$0.call(arguments,0);if(iters.length===0){return this}iters=iters.map(function(iter){return SetIterable(iter)});var originalSet=this;return this.withMutations(function(set){originalSet.forEach(function(value){if(!iters.every(function(iter){return iter.includes(value)})){set.remove(value)}})})};Set.prototype.subtract=function(){var iters=SLICE$0.call(arguments,0);if(iters.length===0){return this}iters=iters.map(function(iter){return SetIterable(iter)});var originalSet=this;return this.withMutations(function(set){originalSet.forEach(function(value){if(iters.some(function(iter){return iter.includes(value)})){set.remove(value)}})})};Set.prototype.merge=function(){return this.union.apply(this,arguments)};Set.prototype.mergeWith=function(merger){var iters=SLICE$0.call(arguments,1);return this.union.apply(this,iters)};Set.prototype.sort=function(comparator){return OrderedSet(sortFactory(this,comparator))};Set.prototype.sortBy=function(mapper,comparator){return OrderedSet(sortFactory(this,comparator,mapper))};Set.prototype.wasAltered=function(){return this._map.wasAltered()};Set.prototype.__iterate=function(fn,reverse){var this$0=this;return this._map.__iterate(function(_,k){return fn(k,k,this$0)},reverse)};Set.prototype.__iterator=function(type,reverse){return this._map.map(function(_,k){return k}).__iterator(type,reverse)};Set.prototype.__ensureOwner=function(ownerID){if(ownerID===this.__ownerID){return this}var newMap=this._map.__ensureOwner(ownerID);if(!ownerID){this.__ownerID=ownerID;this._map=newMap;return this}return this.__make(newMap,ownerID)};function isSet(maybeSet){return!!(maybeSet&&maybeSet[IS_SET_SENTINEL])}Set.isSet=isSet;var IS_SET_SENTINEL="@@__IMMUTABLE_SET__@@";var SetPrototype=Set.prototype;SetPrototype[IS_SET_SENTINEL]=true;SetPrototype[DELETE]=SetPrototype.remove;SetPrototype.mergeDeep=SetPrototype.merge;SetPrototype.mergeDeepWith=SetPrototype.mergeWith;SetPrototype.withMutations=MapPrototype.withMutations;SetPrototype.asMutable=MapPrototype.asMutable;SetPrototype.asImmutable=MapPrototype.asImmutable;SetPrototype.__empty=emptySet;SetPrototype.__make=makeSet;function updateSet(set,newMap){if(set.__ownerID){set.size=newMap.size;set._map=newMap;return set}return newMap===set._map?set:newMap.size===0?set.__empty():set.__make(newMap)}function makeSet(map,ownerID){var set=Object.create(SetPrototype);set.size=map?map.size:0;set._map=map;set.__ownerID=ownerID;return set}var EMPTY_SET;function emptySet(){return EMPTY_SET||(EMPTY_SET=makeSet(emptyMap()))}createClass(OrderedSet,Set);function OrderedSet(value){return value===null||value===undefined?emptyOrderedSet():isOrderedSet(value)?value:emptyOrderedSet().withMutations(function(set){var iter=SetIterable(value);assertNotInfinite(iter.size);iter.forEach(function(v){return set.add(v)})})}OrderedSet.of=function(){return this(arguments)};OrderedSet.fromKeys=function(value){return this(KeyedIterable(value).keySeq())};OrderedSet.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function isOrderedSet(maybeOrderedSet){return isSet(maybeOrderedSet)&&isOrdered(maybeOrderedSet)}OrderedSet.isOrderedSet=isOrderedSet;var OrderedSetPrototype=OrderedSet.prototype;OrderedSetPrototype[IS_ORDERED_SENTINEL]=true;OrderedSetPrototype.__empty=emptyOrderedSet;OrderedSetPrototype.__make=makeOrderedSet;function makeOrderedSet(map,ownerID){var set=Object.create(OrderedSetPrototype);set.size=map?map.size:0;set._map=map;set.__ownerID=ownerID;return set}var EMPTY_ORDERED_SET;function emptyOrderedSet(){return EMPTY_ORDERED_SET||(EMPTY_ORDERED_SET=makeOrderedSet(emptyOrderedMap()))}createClass(Stack,IndexedCollection);function Stack(value){return value===null||value===undefined?emptyStack():isStack(value)?value:emptyStack().unshiftAll(value)}Stack.of=function(){return this(arguments)};Stack.prototype.toString=function(){return this.__toString("Stack [","]")};Stack.prototype.get=function(index,notSetValue){var head=this._head;index=wrapIndex(this,index);while(head&&index--){head=head.next}return head?head.value:notSetValue};Stack.prototype.peek=function(){return this._head&&this._head.value};Stack.prototype.push=function(){if(arguments.length===0){return this}var newSize=this.size+arguments.length;var head=this._head;for(var ii=arguments.length-1;ii>=0;ii--){head={value:arguments[ii],next:head}}if(this.__ownerID){this.size=newSize;this._head=head;this.__hash=undefined;this.__altered=true;return this}return makeStack(newSize,head)};Stack.prototype.pushAll=function(iter){iter=IndexedIterable(iter);if(iter.size===0){return this}assertNotInfinite(iter.size);var newSize=this.size;var head=this._head;iter.reverse().forEach(function(value){newSize++;head={value:value,next:head}});if(this.__ownerID){this.size=newSize;this._head=head;this.__hash=undefined;this.__altered=true;return this}return makeStack(newSize,head)};Stack.prototype.pop=function(){return this.slice(1)};Stack.prototype.unshift=function(){return this.push.apply(this,arguments)};Stack.prototype.unshiftAll=function(iter){return this.pushAll(iter)};Stack.prototype.shift=function(){return this.pop.apply(this,arguments)};Stack.prototype.clear=function(){if(this.size===0){return this}if(this.__ownerID){this.size=0;this._head=undefined;this.__hash=undefined;this.__altered=true;return this}return emptyStack()};Stack.prototype.slice=function(begin,end){if(wholeSlice(begin,end,this.size)){return this}var resolvedBegin=resolveBegin(begin,this.size);var resolvedEnd=resolveEnd(end,this.size);if(resolvedEnd!==this.size){return IndexedCollection.prototype.slice.call(this,begin,end)}var newSize=this.size-resolvedBegin;var head=this._head;while(resolvedBegin--){head=head.next}if(this.__ownerID){this.size=newSize;this._head=head;this.__hash=undefined;this.__altered=true;return this}return makeStack(newSize,head)};Stack.prototype.__ensureOwner=function(ownerID){if(ownerID===this.__ownerID){return this}if(!ownerID){this.__ownerID=ownerID;this.__altered=false;return this}return makeStack(this.size,this._head,ownerID,this.__hash)};Stack.prototype.__iterate=function(fn,reverse){if(reverse){return this.reverse().__iterate(fn)}var iterations=0;var node=this._head;while(node){if(fn(node.value,iterations++,this)===false){break}node=node.next}return iterations};Stack.prototype.__iterator=function(type,reverse){if(reverse){return this.reverse().__iterator(type)}var iterations=0;var node=this._head;return new Iterator(function(){if(node){var value=node.value;node=node.next;return iteratorValue(type,iterations++,value)}return iteratorDone()})};function isStack(maybeStack){return!!(maybeStack&&maybeStack[IS_STACK_SENTINEL])}Stack.isStack=isStack;var IS_STACK_SENTINEL="@@__IMMUTABLE_STACK__@@";var StackPrototype=Stack.prototype;StackPrototype[IS_STACK_SENTINEL]=true;StackPrototype.withMutations=MapPrototype.withMutations;StackPrototype.asMutable=MapPrototype.asMutable;StackPrototype.asImmutable=MapPrototype.asImmutable;StackPrototype.wasAltered=MapPrototype.wasAltered;function makeStack(size,head,ownerID,hash){var map=Object.create(StackPrototype);map.size=size;map._head=head;map.__ownerID=ownerID;map.__hash=hash;map.__altered=false;return map}var EMPTY_STACK;function emptyStack(){return EMPTY_STACK||(EMPTY_STACK=makeStack(0))}function mixin(ctor,methods){var keyCopier=function(key){ctor.prototype[key]=methods[key]};Object.keys(methods).forEach(keyCopier);Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(methods).forEach(keyCopier);return ctor}Iterable.Iterator=Iterator;mixin(Iterable,{toArray:function(){assertNotInfinite(this.size);var array=new Array(this.size||0);this.valueSeq().__iterate(function(v,i){array[i]=v});return array},toIndexedSeq:function(){return new ToIndexedSequence(this)},toJS:function(){return this.toSeq().map(function(value){return value&&typeof value.toJS==="function"?value.toJS():value}).__toJS()},toJSON:function(){return this.toSeq().map(function(value){return value&&typeof value.toJSON==="function"?value.toJSON():value}).__toJS()},toKeyedSeq:function(){return new ToKeyedSequence(this,true)},toMap:function(){return Map(this.toKeyedSeq())},toObject:function(){assertNotInfinite(this.size);var object={};this.__iterate(function(v,k){object[k]=v});return object},toOrderedMap:function(){return OrderedMap(this.toKeyedSeq())},toOrderedSet:function(){return OrderedSet(isKeyed(this)?this.valueSeq():this)},toSet:function(){return Set(isKeyed(this)?this.valueSeq():this)},toSetSeq:function(){return new ToSetSequence(this)},toSeq:function(){return isIndexed(this)?this.toIndexedSeq():isKeyed(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Stack(isKeyed(this)?this.valueSeq():this)},toList:function(){return List(isKeyed(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(head,tail){if(this.size===0){return head+tail}return head+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+tail},concat:function(){var values=SLICE$0.call(arguments,0);return reify(this,concatFactory(this,values))},includes:function(searchValue){return this.some(function(value){return is(value,searchValue)})},entries:function(){return this.__iterator(ITERATE_ENTRIES)},every:function(predicate,context){assertNotInfinite(this.size);var returnValue=true;this.__iterate(function(v,k,c){if(!predicate.call(context,v,k,c)){returnValue=false;return false}});return returnValue},filter:function(predicate,context){return reify(this,filterFactory(this,predicate,context,true))},find:function(predicate,context,notSetValue){var entry=this.findEntry(predicate,context);return entry?entry[1]:notSetValue},forEach:function(sideEffect,context){assertNotInfinite(this.size);return this.__iterate(context?sideEffect.bind(context):sideEffect)},join:function(separator){assertNotInfinite(this.size);separator=separator!==undefined?""+separator:",";var joined="";var isFirst=true;this.__iterate(function(v){isFirst?isFirst=false:joined+=separator;joined+=v!==null&&v!==undefined?v.toString():""});return joined},keys:function(){return this.__iterator(ITERATE_KEYS)},map:function(mapper,context){return reify(this,mapFactory(this,mapper,context))},reduce:function(reducer,initialReduction,context){assertNotInfinite(this.size);var reduction;var useFirst;if(arguments.length<2){useFirst=true}else{reduction=initialReduction}this.__iterate(function(v,k,c){if(useFirst){useFirst=false;reduction=v}else{reduction=reducer.call(context,reduction,v,k,c)}});return reduction},reduceRight:function(reducer,initialReduction,context){var reversed=this.toKeyedSeq().reverse();return reversed.reduce.apply(reversed,arguments)},reverse:function(){return reify(this,reverseFactory(this,true))},slice:function(begin,end){return reify(this,sliceFactory(this,begin,end,true))},some:function(predicate,context){return!this.every(not(predicate),context)},sort:function(comparator){return reify(this,sortFactory(this,comparator))},values:function(){return this.__iterator(ITERATE_VALUES)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==undefined?this.size===0:!this.some(function(){return true})},count:function(predicate,context){return ensureSize(predicate?this.toSeq().filter(predicate,context):this)},countBy:function(grouper,context){return countByFactory(this,grouper,context)},equals:function(other){return deepEqual(this,other)},entrySeq:function(){var iterable=this;if(iterable._cache){return new ArraySeq(iterable._cache)}var entriesSequence=iterable.toSeq().map(entryMapper).toIndexedSeq();entriesSequence.fromEntrySeq=function(){return iterable.toSeq()};return entriesSequence},filterNot:function(predicate,context){return this.filter(not(predicate),context)},findEntry:function(predicate,context,notSetValue){var found=notSetValue;this.__iterate(function(v,k,c){if(predicate.call(context,v,k,c)){found=[k,v];return false}});return found},findKey:function(predicate,context){var entry=this.findEntry(predicate,context);return entry&&entry[0]},findLast:function(predicate,context,notSetValue){return this.toKeyedSeq().reverse().find(predicate,context,notSetValue)},findLastEntry:function(predicate,context,notSetValue){return this.toKeyedSeq().reverse().findEntry(predicate,context,notSetValue)},findLastKey:function(predicate,context){return this.toKeyedSeq().reverse().findKey(predicate,context)},first:function(){return this.find(returnTrue)},flatMap:function(mapper,context){return reify(this,flatMapFactory(this,mapper,context))},flatten:function(depth){return reify(this,flattenFactory(this,depth,true))},fromEntrySeq:function(){return new FromEntriesSequence(this)},get:function(searchKey,notSetValue){return this.find(function(_,key){return is(key,searchKey)},undefined,notSetValue)},getIn:function(searchKeyPath,notSetValue){var nested=this;var iter=forceIterator(searchKeyPath);var step;while(!(step=iter.next()).done){var key=step.value;nested=nested&&nested.get?nested.get(key,NOT_SET):NOT_SET;if(nested===NOT_SET){return notSetValue}}return nested},groupBy:function(grouper,context){return groupByFactory(this,grouper,context)},has:function(searchKey){return this.get(searchKey,NOT_SET)!==NOT_SET},hasIn:function(searchKeyPath){return this.getIn(searchKeyPath,NOT_SET)!==NOT_SET},isSubset:function(iter){iter=typeof iter.includes==="function"?iter:Iterable(iter);return this.every(function(value){return iter.includes(value)})},isSuperset:function(iter){iter=typeof iter.isSubset==="function"?iter:Iterable(iter);return iter.isSubset(this)},keyOf:function(searchValue){return this.findKey(function(value){return is(value,searchValue)})},keySeq:function(){return this.toSeq().map(keyMapper).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(searchValue){return this.toKeyedSeq().reverse().keyOf(searchValue)},max:function(comparator){return maxFactory(this,comparator)},maxBy:function(mapper,comparator){return maxFactory(this,comparator,mapper)},min:function(comparator){return maxFactory(this,comparator?neg(comparator):defaultNegComparator)},minBy:function(mapper,comparator){return maxFactory(this,comparator?neg(comparator):defaultNegComparator,mapper)},rest:function(){return this.slice(1)},skip:function(amount){return this.slice(Math.max(0,amount))},skipLast:function(amount){return reify(this,this.toSeq().reverse().skip(amount).reverse())},skipWhile:function(predicate,context){return reify(this,skipWhileFactory(this,predicate,context,true))},skipUntil:function(predicate,context){return this.skipWhile(not(predicate),context)},sortBy:function(mapper,comparator){return reify(this,sortFactory(this,comparator,mapper))},take:function(amount){return this.slice(0,Math.max(0,amount))},takeLast:function(amount){return reify(this,this.toSeq().reverse().take(amount).reverse())},takeWhile:function(predicate,context){return reify(this,takeWhileFactory(this,predicate,context))},takeUntil:function(predicate,context){return this.takeWhile(not(predicate),context)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=hashIterable(this))}});var IterablePrototype=Iterable.prototype;IterablePrototype[IS_ITERABLE_SENTINEL]=true;IterablePrototype[ITERATOR_SYMBOL]=IterablePrototype.values;IterablePrototype.__toJS=IterablePrototype.toArray;IterablePrototype.__toStringMapper=quoteString;IterablePrototype.inspect=IterablePrototype.toSource=function(){return this.toString()};IterablePrototype.chain=IterablePrototype.flatMap;IterablePrototype.contains=IterablePrototype.includes;mixin(KeyedIterable,{flip:function(){return reify(this,flipFactory(this))},mapEntries:function(mapper,context){var this$0=this;var iterations=0;return reify(this,this.toSeq().map(function(v,k){return mapper.call(context,[k,v],iterations++,this$0)}).fromEntrySeq())},mapKeys:function(mapper,context){var this$0=this;return reify(this,this.toSeq().flip().map(function(k,v){return mapper.call(context,k,v,this$0)}).flip())}});var KeyedIterablePrototype=KeyedIterable.prototype;KeyedIterablePrototype[IS_KEYED_SENTINEL]=true;KeyedIterablePrototype[ITERATOR_SYMBOL]=IterablePrototype.entries;KeyedIterablePrototype.__toJS=IterablePrototype.toObject;KeyedIterablePrototype.__toStringMapper=function(v,k){return JSON.stringify(k)+": "+quoteString(v)};mixin(IndexedIterable,{toKeyedSeq:function(){return new ToKeyedSequence(this,false)},filter:function(predicate,context){return reify(this,filterFactory(this,predicate,context,false))},findIndex:function(predicate,context){var entry=this.findEntry(predicate,context);return entry?entry[0]:-1},indexOf:function(searchValue){var key=this.keyOf(searchValue);return key===undefined?-1:key},lastIndexOf:function(searchValue){var key=this.lastKeyOf(searchValue);return key===undefined?-1:key},reverse:function(){return reify(this,reverseFactory(this,false))},slice:function(begin,end){return reify(this,sliceFactory(this,begin,end,false))},splice:function(index,removeNum){var numArgs=arguments.length;removeNum=Math.max(removeNum|0,0);if(numArgs===0||numArgs===2&&!removeNum){return this}index=resolveBegin(index,index<0?this.count():this.size);var spliced=this.slice(0,index);return reify(this,numArgs===1?spliced:spliced.concat(arrCopy(arguments,2),this.slice(index+removeNum)))},findLastIndex:function(predicate,context){var entry=this.findLastEntry(predicate,context);return entry?entry[0]:-1},first:function(){return this.get(0)},flatten:function(depth){return reify(this,flattenFactory(this,depth,false))},get:function(index,notSetValue){index=wrapIndex(this,index);return index<0||(this.size===Infinity||this.size!==undefined&&index>this.size)?notSetValue:this.find(function(_,key){return key===index},undefined,notSetValue)},has:function(index){index=wrapIndex(this,index);return index>=0&&(this.size!==undefined?this.size===Infinity||index<this.size:this.indexOf(index)!==-1)},interpose:function(separator){return reify(this,interposeFactory(this,separator))},interleave:function(){var iterables=[this].concat(arrCopy(arguments));var zipped=zipWithFactory(this.toSeq(),IndexedSeq.of,iterables);var interleaved=zipped.flatten(true);if(zipped.size){interleaved.size=zipped.size*iterables.length}return reify(this,interleaved)},keySeq:function(){return Range(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(predicate,context){return reify(this,skipWhileFactory(this,predicate,context,false))},zip:function(){var iterables=[this].concat(arrCopy(arguments));return reify(this,zipWithFactory(this,defaultZipper,iterables))},zipWith:function(zipper){var iterables=arrCopy(arguments);iterables[0]=this;return reify(this,zipWithFactory(this,zipper,iterables))}});IndexedIterable.prototype[IS_INDEXED_SENTINEL]=true;IndexedIterable.prototype[IS_ORDERED_SENTINEL]=true;mixin(SetIterable,{get:function(value,notSetValue){return this.has(value)?value:notSetValue},includes:function(value){return this.has(value)},keySeq:function(){return this.valueSeq()}});SetIterable.prototype.has=IterablePrototype.includes;SetIterable.prototype.contains=SetIterable.prototype.includes;mixin(KeyedSeq,KeyedIterable.prototype);mixin(IndexedSeq,IndexedIterable.prototype);mixin(SetSeq,SetIterable.prototype);mixin(KeyedCollection,KeyedIterable.prototype);mixin(IndexedCollection,IndexedIterable.prototype);mixin(SetCollection,SetIterable.prototype);function keyMapper(v,k){return k}function entryMapper(v,k){return[k,v]}function not(predicate){return function(){return!predicate.apply(this,arguments)}}function neg(predicate){return function(){return-predicate.apply(this,arguments)}}function quoteString(value){return typeof value==="string"?JSON.stringify(value):String(value)}function defaultZipper(){return arrCopy(arguments)}function defaultNegComparator(a,b){return a<b?1:a>b?-1:0}function hashIterable(iterable){if(iterable.size===Infinity){return 0}var ordered=isOrdered(iterable);var keyed=isKeyed(iterable);var h=ordered?1:0;var size=iterable.__iterate(keyed?ordered?function(v,k){h=31*h+hashMerge(hash(v),hash(k))|0}:function(v,k){h=h+hashMerge(hash(v),hash(k))|0}:ordered?function(v){h=31*h+hash(v)|0}:function(v){h=h+hash(v)|0});return murmurHashOfSize(size,h)}function murmurHashOfSize(size,h){h=imul(h,3432918353);h=imul(h<<15|h>>>-15,461845907);h=imul(h<<13|h>>>-13,5);h=(h+3864292196|0)^size;h=imul(h^h>>>16,2246822507);h=imul(h^h>>>13,3266489909);h=smi(h^h>>>16);return h}function hashMerge(a,b){return a^b+2654435769+(a<<6)+(a>>2)|0}var Immutable={Iterable:Iterable,Seq:Seq,Collection:Collection,Map:Map,OrderedMap:OrderedMap,List:List,Stack:Stack,Set:Set,OrderedSet:OrderedSet,Record:Record,Range:Range,Repeat:Repeat,is:is,fromJS:fromJS};return Immutable})},{}],69:[function(require,module,exports){var process=module.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){cachedSetTimeout=setTimeout}else{cachedSetTimeout=defaultSetTimout}}catch(e){cachedSetTimeout=defaultSetTimout}try{if(typeof clearTimeout==="function"){cachedClearTimeout=clearTimeout}else{cachedClearTimeout=defaultClearTimeout}}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout){return setTimeout(fun,0)}if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){return clearTimeout(marker)}if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue)}else{queueIndex=-1}if(queue.length){drainQueue()}}function drainQueue(){if(draining){return}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run()}}queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i]}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue)}};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop(){}process.on=noop;process.addListener=noop;process.once=noop ;process.off=noop;process.removeListener=noop;process.removeAllListeners=noop;process.emit=noop;process.prependListener=noop;process.prependOnceListener=noop;process.listeners=function(name){return[]};process.binding=function(name){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}},{}],70:[function(require,module,exports){(function(process,setImmediate){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function microtask(){if(typeof MutationObserver!=="undefined"){var node_1=document.createTextNode("");var queue_1=[];var i_1=0;new MutationObserver(function(){while(queue_1.length){queue_1.shift()()}}).observe(node_1,{characterData:true});return function(fn){queue_1.push(fn);node_1.data=i_1=1-i_1}}else if(typeof setImmediate!=="undefined"){return setImmediate}else if(typeof process!=="undefined"){return process.nextTick}else{return setTimeout}}exports.default=microtask}).call(this,require("_process"),require("timers").setImmediate)},{_process:69,timers:92}],71:[function(require,module,exports){"use strict";var selectorParser_1=require("./selectorParser");function classNameFromVNode(vNode){var _a=selectorParser_1.selectorParser(vNode).className,cn=_a===void 0?"":_a;if(!vNode.data){return cn}var _b=vNode.data,dataClass=_b.class,props=_b.props;if(dataClass){var c=Object.keys(dataClass).filter(function(cl){return dataClass[cl]});cn+=" "+c.join(" ")}if(props&&props.className){cn+=" "+props.className}return cn&&cn.trim()}exports.classNameFromVNode=classNameFromVNode},{"./selectorParser":77}],72:[function(require,module,exports){"use strict";function curry2(select){return function selector(sel,vNode){switch(arguments.length){case 0:return select;case 1:return function(_vNode){return select(sel,_vNode)};default:return select(sel,vNode)}}}exports.curry2=curry2},{}],73:[function(require,module,exports){"use strict";var query_1=require("./query");var parent_symbol_1=require("./parent-symbol");function findMatches(cssSelector,vNode){traverseVNode(vNode,addParent);return query_1.querySelector(cssSelector,vNode)}exports.findMatches=findMatches;function traverseVNode(vNode,f){function recurse(currentNode,isParent,parentVNode){var length=currentNode.children&&currentNode.children.length||0;for(var i=0;i<length;++i){var children=currentNode.children;if(children&&children[i]&&typeof children[i]!=="string"){var child=children[i];recurse(child,false,currentNode)}}f(currentNode,isParent,isParent?void 0:parentVNode)}recurse(vNode,true)}function addParent(vNode,isParent,parent){if(isParent){return void 0}if(!vNode.data){vNode.data={}}if(!vNode.data[parent_symbol_1.default]){Object.defineProperty(vNode.data,parent_symbol_1.default,{value:parent})}}},{"./parent-symbol":75,"./query":76}],74:[function(require,module,exports){"use strict";var curry2_1=require("./curry2");var findMatches_1=require("./findMatches");exports.select=curry2_1.curry2(findMatches_1.findMatches);var selectorParser_1=require("./selectorParser");exports.selectorParser=selectorParser_1.selectorParser;var classNameFromVNode_1=require("./classNameFromVNode");exports.classNameFromVNode=classNameFromVNode_1.classNameFromVNode},{"./classNameFromVNode":71,"./curry2":72,"./findMatches":73,"./selectorParser":77}],75:[function(require,module,exports){(function(global){"use strict";var root;if(typeof self!=="undefined"){root=self}else if(typeof window!=="undefined"){root=window}else if(typeof global!=="undefined"){root=global}else{root=Function("return this")()}var Symbol=root.Symbol;var parentSymbol;if(typeof Symbol==="function"){parentSymbol=Symbol("parent")}else{parentSymbol="@@snabbdom-selector-parent"}Object.defineProperty(exports,"__esModule",{value:true});exports.default=parentSymbol}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],76:[function(require,module,exports){"use strict";var tree_selector_1=require("tree-selector");var selectorParser_1=require("./selectorParser");var classNameFromVNode_1=require("./classNameFromVNode");var parent_symbol_1=require("./parent-symbol");var options={tag:function(vNode){return selectorParser_1.selectorParser(vNode).tagName},className:function(vNode){return classNameFromVNode_1.classNameFromVNode(vNode)},id:function(vNode){return selectorParser_1.selectorParser(vNode).id||""},children:function(vNode){return vNode.children||[]},parent:function(vNode){return vNode.data[parent_symbol_1.default]||vNode},contents:function(vNode){return vNode.text||""},attr:function(vNode,attr){if(vNode.data){var _a=vNode.data,_b=_a.attrs,attrs=_b===void 0?{}:_b,_c=_a.props,props=_c===void 0?{}:_c;if(attrs[attr]){return attrs[attr]}if(props[attr]){return props[attr]}}}};var matches=tree_selector_1.createMatches(options);function customMatches(sel,vnode){var data=vnode.data;var selector=matches.bind(null,sel);if(data&&data.fn){var n=void 0;if(Array.isArray(data.args)){n=data.fn.apply(null,data.args)}else if(data.args){n=data.fn.call(null,data.args)}else{n=data.fn()}return selector(n)?n:false}return selector(vnode)}exports.querySelector=tree_selector_1.createQuerySelector(options,customMatches)},{"./classNameFromVNode":71,"./parent-symbol":75,"./selectorParser":77,"tree-selector":93}],77:[function(require,module,exports){"use strict";function selectorParser(node){if(!node.sel){return{tagName:"",id:"",className:""}}var sel=node.sel;var hashIdx=sel.indexOf("#");var dotIdx=sel.indexOf(".",hashIdx);var hash=hashIdx>0?hashIdx:sel.length;var dot=dotIdx>0?dotIdx:sel.length;var tagName=hashIdx!==-1||dotIdx!==-1?sel.slice(0,Math.min(hash,dot)):sel;var id=hash<dot?sel.slice(hash+1,dot):void 0;var className=dotIdx>0?sel.slice(dot+1).replace(/\./g," "):void 0;return{tagName:tagName,id:id,className:className}}exports.selectorParser=selectorParser},{}],78:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var vnode_1=require("./vnode");var is=require("./is");function addNS(data,children,sel){data.ns="path_to_url";if(sel!=="foreignObject"&&children!==undefined){for(var i=0;i<children.length;++i){var childData=children[i].data;if(childData!==undefined){addNS(childData,children[i].children,children[i].sel)}}}}function h(sel,b,c){var data={},children,text,i;if(c!==undefined){data=b;if(is.array(c)){children=c}else if(is.primitive(c)){text=c}else if(c&&c.sel){children=[c]}}else if(b!==undefined){if(is.array(b)){children=b}else if(is.primitive(b)){text=b}else if(b&&b.sel){children=[b]}else{data=b}}if(is.array(children)){for(i=0;i<children.length;++i){if(is.primitive(children[i]))children[i]=vnode_1.vnode(undefined,undefined,undefined,children[i],undefined)}}if(sel[0]==="s"&&sel[1]==="v"&&sel[2]==="g"&&(sel.length===3||sel[3]==="."||sel[3]==="#")){addNS(data,children,sel)}return vnode_1.vnode(sel,data,children,text,undefined)}exports.h=h;exports.default=h},{"./is":80,"./vnode":89}],79:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function createElement(tagName){return document.createElement(tagName)}function createElementNS(namespaceURI,qualifiedName){return document.createElementNS(namespaceURI,qualifiedName)}function createTextNode(text){return document.createTextNode(text)}function createComment(text){return document.createComment(text)}function insertBefore(parentNode,newNode,referenceNode){parentNode.insertBefore(newNode,referenceNode)}function removeChild(node,child){node.removeChild(child)}function appendChild(node,child){node.appendChild(child)}function parentNode(node){return node.parentNode}function nextSibling(node){return node.nextSibling}function tagName(elm){return elm.tagName}function setTextContent(node,text){node.textContent=text}function getTextContent(node){return node.textContent}function isElement(node){return node.nodeType===1}function isText(node){return node.nodeType===3}function isComment(node){return node.nodeType===8}exports.htmlDomApi={createElement:createElement,createElementNS:createElementNS,createTextNode:createTextNode,createComment:createComment,insertBefore:insertBefore,removeChild:removeChild,appendChild:appendChild,parentNode:parentNode,nextSibling:nextSibling,tagName:tagName,setTextContent:setTextContent,getTextContent:getTextContent,isElement:isElement,isText:isText,isComment:isComment};exports.default=exports.htmlDomApi},{}],80:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.array=Array.isArray;function primitive(s){return typeof s==="string"||typeof s==="number"}exports.primitive=primitive},{}],81:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var xlinkNS="path_to_url";var xmlNS="path_to_url";var colonChar=58;var xChar=120;function updateAttrs(oldVnode,vnode){var key,elm=vnode.elm,oldAttrs=oldVnode.data.attrs,attrs=vnode.data.attrs;if(!oldAttrs&&!attrs)return;if(oldAttrs===attrs)return;oldAttrs=oldAttrs||{};attrs=attrs||{};for(key in attrs){var cur=attrs[key];var old=oldAttrs[key];if(old!==cur){if(cur===true){elm.setAttribute(key,"")}else if(cur===false){elm.removeAttribute(key)}else{if(key.charCodeAt(0)!==xChar){elm.setAttribute(key,cur)}else if(key.charCodeAt(3)===colonChar){elm.setAttributeNS(xmlNS,key,cur)}else if(key.charCodeAt(5)===colonChar){elm.setAttributeNS(xlinkNS,key,cur)}else{elm.setAttribute(key,cur)}}}}for(key in oldAttrs){if(!(key in attrs)){elm.removeAttribute(key)}}}exports.attributesModule={create:updateAttrs,update:updateAttrs};exports.default=exports.attributesModule},{}],82:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function updateClass(oldVnode,vnode){var cur,name,elm=vnode.elm,oldClass=oldVnode.data.class,klass=vnode.data.class;if(!oldClass&&!klass)return;if(oldClass===klass)return;oldClass=oldClass||{};klass=klass||{};for(name in oldClass){if(!klass[name]){elm.classList.remove(name)}}for(name in klass){cur=klass[name];if(cur!==oldClass[name]){elm.classList[cur?"add":"remove"](name)}}}exports.classModule={create:updateClass,update:updateClass};exports.default=exports.classModule},{}],83:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var CAPS_REGEX=/[A-Z]/g;function updateDataset(oldVnode,vnode){var elm=vnode.elm,oldDataset=oldVnode.data.dataset,dataset=vnode.data.dataset,key;if(!oldDataset&&!dataset)return;if(oldDataset===dataset)return;oldDataset=oldDataset||{};dataset=dataset||{};var d=elm.dataset;for(key in oldDataset){if(!dataset[key]){if(d){if(key in d){delete d[key]}}else{elm.removeAttribute("data-"+key.replace(CAPS_REGEX,"-$&").toLowerCase())}}}for(key in dataset){if(oldDataset[key]!==dataset[key]){if(d){d[key]=dataset[key]}else{elm.setAttribute("data-"+key.replace(CAPS_REGEX,"-$&").toLowerCase(),dataset[key])}}}}exports.datasetModule={create:updateDataset,update:updateDataset};exports.default=exports.datasetModule},{}],84:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function updateProps(oldVnode,vnode){var key,cur,old,elm=vnode.elm,oldProps=oldVnode.data.props,props=vnode.data.props;if(!oldProps&&!props)return;if(oldProps===props)return;oldProps=oldProps||{};props=props||{};for(key in oldProps){if(!props[key]){delete elm[key]}}for(key in props){cur=props[key];old=oldProps[key];if(old!==cur&&(key!=="value"||elm[key]!==cur)){elm[key]=cur}}}exports.propsModule={create:updateProps,update:updateProps};exports.default=exports.propsModule},{}],85:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var raf=typeof window!=="undefined"&&window.requestAnimationFrame||setTimeout;var nextFrame=function(fn){raf(function(){raf(fn)})};function setNextFrame(obj,prop,val){nextFrame(function(){obj[prop]=val})}function updateStyle(oldVnode,vnode){var cur,name,elm=vnode.elm,oldStyle=oldVnode.data.style,style=vnode.data.style;if(!oldStyle&&!style)return;if(oldStyle===style)return;oldStyle=oldStyle||{};style=style||{};var oldHasDel="delayed"in oldStyle;for(name in oldStyle){if(!style[name]){if(name[0]==="-"&&name[1]==="-"){elm.style.removeProperty(name)}else{elm.style[name]=""}}}for(name in style){cur=style[name];if(name==="delayed"&&style.delayed){for(var name2 in style.delayed){cur=style.delayed[name2];if(!oldHasDel||cur!==oldStyle.delayed[name2]){setNextFrame(elm.style,name2,cur)}}}else if(name!=="remove"&&cur!==oldStyle[name]){if(name[0]==="-"&&name[1]==="-"){elm.style.setProperty(name,cur)}else{elm.style[name]=cur}}}}function applyDestroyStyle(vnode){var style,name,elm=vnode.elm,s=vnode.data.style;if(!s||!(style=s.destroy))return;for(name in style){elm.style[name]=style[name]}}function applyRemoveStyle(vnode,rm){var s=vnode.data.style;if(!s||!s.remove){rm();return}var name,elm=vnode.elm,i=0,compStyle,style=s.remove,amount=0,applied=[];for(name in style){applied.push(name);elm.style[name]=style[name]}compStyle=getComputedStyle(elm);var props=compStyle["transition-property"].split(", ");for(;i<props.length;++i){if(applied.indexOf(props[i])!==-1)amount++}elm.addEventListener("transitionend",function(ev){if(ev.target===elm)--amount;if(amount===0)rm()})}exports.styleModule={create:updateStyle,update:updateStyle,destroy:applyDestroyStyle,remove:applyRemoveStyle};exports.default=exports.styleModule},{}],86:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var vnode_1=require("./vnode");var is=require("./is");var htmldomapi_1=require("./htmldomapi");function isUndef(s){return s===undefined}function isDef(s){return s!==undefined}var emptyNode=vnode_1.default("",{},[],undefined,undefined);function sameVnode(vnode1,vnode2){return vnode1.key===vnode2.key&&vnode1.sel===vnode2.sel}function isVnode(vnode){return vnode.sel!==undefined}function createKeyToOldIdx(children,beginIdx,endIdx){var i,map={},key,ch;for(i=beginIdx;i<=endIdx;++i){ch=children[i];if(ch!=null){key=ch.key;if(key!==undefined)map[key]=i}}return map}var hooks=["create","update","remove","destroy","pre","post"];var h_1=require("./h");exports.h=h_1.h;var thunk_1=require("./thunk");exports.thunk=thunk_1.thunk;function init(modules,domApi){var i,j,cbs={};var api=domApi!==undefined?domApi:htmldomapi_1.default;for(i=0;i<hooks.length;++i){cbs[hooks[i]]=[];for(j=0;j<modules.length;++j){var hook=modules[j][hooks[i]];if(hook!==undefined){cbs[hooks[i]].push(hook)}}}function emptyNodeAt(elm){var id=elm.id?"#"+elm.id:"";var c=elm.className?"."+elm.className.split(" ").join("."):"";return vnode_1.default(api.tagName(elm).toLowerCase()+id+c,{},[],undefined,elm)}function createRmCb(childElm,listeners){return function rmCb(){if(--listeners===0){var parent_1=api.parentNode(childElm);api.removeChild(parent_1,childElm)}}}function createElm(vnode,insertedVnodeQueue){var i,data=vnode.data;if(data!==undefined){if(isDef(i=data.hook)&&isDef(i=i.init)){i(vnode);data=vnode.data}}var children=vnode.children,sel=vnode.sel;if(sel==="!"){if(isUndef(vnode.text)){vnode.text=""}vnode.elm=api.createComment(vnode.text)}else if(sel!==undefined){var hashIdx=sel.indexOf("#");var dotIdx=sel.indexOf(".",hashIdx);var hash=hashIdx>0?hashIdx:sel.length;var dot=dotIdx>0?dotIdx:sel.length;var tag=hashIdx!==-1||dotIdx!==-1?sel.slice(0,Math.min(hash,dot)):sel;var elm=vnode.elm=isDef(data)&&isDef(i=data.ns)?api.createElementNS(i,tag):api.createElement(tag);if(hash<dot)elm.setAttribute("id",sel.slice(hash+1,dot));if(dotIdx>0)elm.setAttribute("class",sel.slice(dot+1).replace(/\./g," "));for(i=0;i<cbs.create.length;++i)cbs.create[i](emptyNode,vnode);if(is.array(children)){for(i=0;i<children.length;++i){var ch=children[i];if(ch!=null){api.appendChild(elm,createElm(ch,insertedVnodeQueue))}}}else if(is.primitive(vnode.text)){api.appendChild(elm,api.createTextNode(vnode.text))}i=vnode.data.hook;if(isDef(i)){if(i.create)i.create(emptyNode,vnode);if(i.insert)insertedVnodeQueue.push(vnode)}}else{vnode.elm=api.createTextNode(vnode.text)}return vnode.elm}function addVnodes(parentElm,before,vnodes,startIdx,endIdx,insertedVnodeQueue){for(;startIdx<=endIdx;++startIdx){var ch=vnodes[startIdx];if(ch!=null){api.insertBefore(parentElm,createElm(ch,insertedVnodeQueue),before)}}}function invokeDestroyHook(vnode){var i,j,data=vnode.data;if(data!==undefined){if(isDef(i=data.hook)&&isDef(i=i.destroy))i(vnode);for(i=0;i<cbs.destroy.length;++i)cbs.destroy[i](vnode);if(vnode.children!==undefined){for(j=0;j<vnode.children.length;++j){i=vnode.children[j];if(i!=null&&typeof i!=="string"){invokeDestroyHook(i)}}}}}function removeVnodes(parentElm,vnodes,startIdx,endIdx){for(;startIdx<=endIdx;++startIdx){var i_1=void 0,listeners=void 0,rm=void 0,ch=vnodes[startIdx];if(ch!=null){if(isDef(ch.sel)){invokeDestroyHook(ch);listeners=cbs.remove.length+1;rm=createRmCb(ch.elm,listeners);for(i_1=0;i_1<cbs.remove.length;++i_1)cbs.remove[i_1](ch,rm);if(isDef(i_1=ch.data)&&isDef(i_1=i_1.hook)&&isDef(i_1=i_1.remove)){i_1(ch,rm)}else{rm()}}else{api.removeChild(parentElm,ch.elm)}}}}function updateChildren(parentElm,oldCh,newCh,insertedVnodeQueue){var oldStartIdx=0,newStartIdx=0;var oldEndIdx=oldCh.length-1;var oldStartVnode=oldCh[0];var oldEndVnode=oldCh[oldEndIdx];var newEndIdx=newCh.length-1;var newStartVnode=newCh[0];var newEndVnode=newCh[newEndIdx];var oldKeyToIdx;var idxInOld;var elmToMove;var before;while(oldStartIdx<=oldEndIdx&&newStartIdx<=newEndIdx){if(oldStartVnode==null){oldStartVnode=oldCh[++oldStartIdx]}else if(oldEndVnode==null){oldEndVnode=oldCh[--oldEndIdx]}else if(newStartVnode==null){newStartVnode=newCh[++newStartIdx]}else if(newEndVnode==null){newEndVnode=newCh[--newEndIdx]}else if(sameVnode(oldStartVnode,newStartVnode)){patchVnode(oldStartVnode,newStartVnode,insertedVnodeQueue);oldStartVnode=oldCh[++oldStartIdx];newStartVnode=newCh[++newStartIdx]}else if(sameVnode(oldEndVnode,newEndVnode)){patchVnode(oldEndVnode,newEndVnode,insertedVnodeQueue);oldEndVnode=oldCh[--oldEndIdx];newEndVnode=newCh[--newEndIdx]}else if(sameVnode(oldStartVnode,newEndVnode)){patchVnode(oldStartVnode,newEndVnode,insertedVnodeQueue);api.insertBefore(parentElm,oldStartVnode.elm,api.nextSibling(oldEndVnode.elm));oldStartVnode=oldCh[++oldStartIdx];newEndVnode=newCh[--newEndIdx]}else if(sameVnode(oldEndVnode,newStartVnode)){patchVnode(oldEndVnode,newStartVnode,insertedVnodeQueue);api.insertBefore(parentElm,oldEndVnode.elm,oldStartVnode.elm);oldEndVnode=oldCh[--oldEndIdx];newStartVnode=newCh[++newStartIdx]}else{if(oldKeyToIdx===undefined){oldKeyToIdx=createKeyToOldIdx(oldCh,oldStartIdx,oldEndIdx)}idxInOld=oldKeyToIdx[newStartVnode.key];if(isUndef(idxInOld)){api.insertBefore(parentElm,createElm(newStartVnode,insertedVnodeQueue),oldStartVnode.elm);newStartVnode=newCh[++newStartIdx]}else{elmToMove=oldCh[idxInOld];if(elmToMove.sel!==newStartVnode.sel){api.insertBefore(parentElm,createElm(newStartVnode,insertedVnodeQueue),oldStartVnode.elm)}else{patchVnode(elmToMove,newStartVnode,insertedVnodeQueue);oldCh[idxInOld]=undefined;api.insertBefore(parentElm,elmToMove.elm,oldStartVnode.elm)}newStartVnode=newCh[++newStartIdx]}}}if(oldStartIdx<=oldEndIdx||newStartIdx<=newEndIdx){if(oldStartIdx>oldEndIdx){before=newCh[newEndIdx+1]==null?null:newCh[newEndIdx+1].elm;addVnodes(parentElm,before,newCh,newStartIdx,newEndIdx,insertedVnodeQueue)}else{removeVnodes(parentElm,oldCh,oldStartIdx,oldEndIdx)}}}function patchVnode(oldVnode,vnode,insertedVnodeQueue){var i,hook;if(isDef(i=vnode.data)&&isDef(hook=i.hook)&&isDef(i=hook.prepatch)){i(oldVnode,vnode)}var elm=vnode.elm=oldVnode.elm;var oldCh=oldVnode.children;var ch=vnode.children;if(oldVnode===vnode)return;if(vnode.data!==undefined){for(i=0;i<cbs.update.length;++i)cbs.update[i](oldVnode,vnode);i=vnode.data.hook;if(isDef(i)&&isDef(i=i.update))i(oldVnode,vnode)}if(isUndef(vnode.text)){if(isDef(oldCh)&&isDef(ch)){if(oldCh!==ch)updateChildren(elm,oldCh,ch,insertedVnodeQueue)}else if(isDef(ch)){if(isDef(oldVnode.text))api.setTextContent(elm,"");addVnodes(elm,null,ch,0,ch.length-1,insertedVnodeQueue)}else if(isDef(oldCh)){removeVnodes(elm,oldCh,0,oldCh.length-1)}else if(isDef(oldVnode.text)){api.setTextContent(elm,"")}}else if(oldVnode.text!==vnode.text){api.setTextContent(elm,vnode.text)}if(isDef(hook)&&isDef(i=hook.postpatch)){i(oldVnode,vnode)}}return function patch(oldVnode,vnode){var i,elm,parent;var insertedVnodeQueue=[];for(i=0;i<cbs.pre.length;++i)cbs.pre[i]();if(!isVnode(oldVnode)){oldVnode=emptyNodeAt(oldVnode)}if(sameVnode(oldVnode,vnode)){patchVnode(oldVnode,vnode,insertedVnodeQueue)}else{elm=oldVnode.elm;parent=api.parentNode(elm);createElm(vnode,insertedVnodeQueue);if(parent!==null){api.insertBefore(parent,vnode.elm,api.nextSibling(elm));removeVnodes(parent,[oldVnode],0,0)}}for(i=0;i<insertedVnodeQueue.length;++i){insertedVnodeQueue[i].data.hook.insert(insertedVnodeQueue[i])}for(i=0;i<cbs.post.length;++i)cbs.post[i]();return vnode}}exports.init=init},{"./h":78,"./htmldomapi":79,"./is":80,"./thunk":87,"./vnode":89}],87:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var h_1=require("./h");function copyToThunk(vnode,thunk){thunk.elm=vnode.elm;vnode.data.fn=thunk.data.fn;vnode.data.args=thunk.data.args;thunk.data=vnode.data;thunk.children=vnode.children;thunk.text=vnode.text;thunk.elm=vnode.elm}function init(thunk){var cur=thunk.data;var vnode=cur.fn.apply(undefined,cur.args);copyToThunk(vnode,thunk)}function prepatch(oldVnode,thunk){var i,old=oldVnode.data,cur=thunk.data;var oldArgs=old.args,args=cur.args;if(old.fn!==cur.fn||oldArgs.length!==args.length){copyToThunk(cur.fn.apply(undefined,args),thunk);return}for(i=0;i<args.length;++i){if(oldArgs[i]!==args[i]){copyToThunk(cur.fn.apply(undefined,args),thunk);return}}copyToThunk(oldVnode,thunk)}exports.thunk=function thunk(sel,key,fn,args){if(args===undefined){args=fn;fn=key;key=undefined}return h_1.h(sel,{key:key,hook:{init:init,prepatch:prepatch},fn:fn,args:args})};exports.default=exports.thunk},{"./h":78}],88:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var vnode_1=require("./vnode");var htmldomapi_1=require("./htmldomapi");function toVNode(node,domApi){var api=domApi!==undefined?domApi:htmldomapi_1.default;var text;if(api.isElement(node)){var id=node.id?"#"+node.id:"";var cn=node.getAttribute("class");var c=cn?"."+cn.split(" ").join("."):"";var sel=api.tagName(node).toLowerCase()+id+c;var attrs={};var children=[];var name_1;var i=void 0,n=void 0;var elmAttrs=node.attributes;var elmChildren=node.childNodes;for(i=0,n=elmAttrs.length;i<n;i++){name_1=elmAttrs[i].nodeName;if(name_1!=="id"&&name_1!=="class"){attrs[name_1]=elmAttrs[i].nodeValue}}for(i=0,n=elmChildren.length;i<n;i++){children.push(toVNode(elmChildren[i]))}return vnode_1.default(sel,{attrs:attrs},children,undefined,node)}else if(api.isText(node)){text=api.getTextContent(node);return vnode_1.default(undefined,undefined,undefined,text,node)}else if(api.isComment(node)){text=api.getTextContent(node);return vnode_1.default("!",{},[],text,node)}else{return vnode_1.default("",{},[],undefined,node)}}exports.toVNode=toVNode;exports.default=toVNode},{"./htmldomapi":79,"./vnode":89}],89:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function vnode(sel,data,children,text,elm){var key=data===undefined?undefined:data.key;return{sel:sel,data:data,children:children,text:text,elm:elm,key:key}}exports.vnode=vnode;exports.default=vnode},{}],90:[function(require,module,exports){(function(global){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _ponyfill=require("./ponyfill.js");var _ponyfill2=_interopRequireDefault(_ponyfill);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var root;if(typeof self!=="undefined"){root=self}else if(typeof window!=="undefined"){root=window}else if(typeof global!=="undefined"){root=global}else if(typeof module!=="undefined"){root=module}else{root=Function("return this")()}var result=(0,_ponyfill2["default"])(root);exports["default"]=result}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./ponyfill.js":91}],91:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=symbolObservablePonyfill;function symbolObservablePonyfill(root){var result;var _Symbol=root.Symbol;if(typeof _Symbol==="function"){if(_Symbol.observable){result=_Symbol.observable}else{result=_Symbol("observable");_Symbol.observable=result}}else{result="@@observable"}return result}},{}],92:[function(require,module,exports){(function(setImmediate,clearImmediate){var nextTick=require("process/browser.js").nextTick;var apply=Function.prototype.apply;var slice=Array.prototype.slice;var immediateIds={};var nextImmediateId=0;exports.setTimeout=function(){return new Timeout(apply.call(setTimeout,window,arguments),clearTimeout)};exports.setInterval=function(){return new Timeout(apply.call(setInterval,window,arguments),clearInterval)};exports.clearTimeout=exports.clearInterval=function(timeout){timeout.close()};function Timeout(id,clearFn){this._id=id;this._clearFn=clearFn}Timeout.prototype.unref=Timeout.prototype.ref=function(){};Timeout.prototype.close=function(){this._clearFn.call(window,this._id)};exports.enroll=function(item,msecs){clearTimeout(item._idleTimeoutId);item._idleTimeout=msecs};exports.unenroll=function(item){clearTimeout(item._idleTimeoutId);item._idleTimeout=-1};exports._unrefActive=exports.active=function(item){clearTimeout(item._idleTimeoutId);var msecs=item._idleTimeout;if(msecs>=0){item._idleTimeoutId=setTimeout(function onTimeout(){if(item._onTimeout)item._onTimeout()},msecs)}};exports.setImmediate=typeof setImmediate==="function"?setImmediate:function(fn){var id=nextImmediateId++;var args=arguments.length<2?false:slice.call(arguments,1);immediateIds[id]=true;nextTick(function onNextTick(){if(immediateIds[id]){if(args){fn.apply(null,args)}else{fn.call(null)}exports.clearImmediate(id)}});return id};exports.clearImmediate=typeof clearImmediate==="function"?clearImmediate:function(id){delete immediateIds[id]}}).call(this,require("timers").setImmediate,require("timers").clearImmediate)},{"process/browser.js":69,timers:92}],93:[function(require,module,exports){"use strict";function __export(m){for(var p in m)if(!exports.hasOwnProperty(p))exports[p]=m[p]}Object.defineProperty(exports,"__esModule",{value:true});__export(require("./selectorParser"));var matches_1=require("./matches");exports.createMatches=matches_1.createMatches;var querySelector_1=require("./querySelector");exports.createQuerySelector=querySelector_1.createQuerySelector},{"./matches":94,"./querySelector":95,"./selectorParser":96}],94:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var selectorParser_1=require("./selectorParser");function createMatches(opts){return function matches(selector,node){var _a=typeof selector==="object"?selector:selectorParser_1.parseSelector(selector),tag=_a.tag,id=_a.id,classList=_a.classList,attributes=_a.attributes,nextSelector=_a.nextSelector,pseudos=_a.pseudos;if(nextSelector!==undefined){throw new Error("matches can only process selectors that target a single element")}if(tag&&tag.toLowerCase()!==opts.tag(node).toLowerCase()){return false}if(id&&id!==opts.id(node)){return false}var classes=opts.className(node).split(" ");for(var i=0;i<classList.length;i++){if(classes.indexOf(classList[i])===-1){return false}}for(var key in attributes){var attr=opts.attr(node,key);var t=attributes[key][0];var v=attributes[key][1];if(!attr){return false}if(t==="exact"&&attr!==v){return false}else if(t!=="exact"){if(typeof v!=="string"){throw new Error("All non-string values have to be an exact match")}if(t==="startsWith"&&!attr.startsWith(v)){return false}if(t==="endsWith"&&!attr.endsWith(v)){return false}if(t==="contains"&&attr.indexOf(v)===-1){return false}if(t==="whitespace"&&attr.split(" ").indexOf(v)===-1){return false}if(t==="dash"&&attr.split("-").indexOf(v)===-1){return false}}}for(var i=0;i<pseudos.length;i++){var _b=pseudos[i],t=_b[0],data=_b[1];if(t==="contains"&&data!==opts.contents(node)){return false}if(t==="empty"&&(opts.contents(node)||opts.children(node).length!==0)){return false}if(t==="root"&&opts.parent(node)!==undefined){return false}if(t.indexOf("child")!==-1){if(!opts.parent(node)){return false}var siblings=opts.children(opts.parent(node));if(t==="first-child"&&siblings.indexOf(node)!==0){return false}if(t==="last-child"&&siblings.indexOf(node)!==siblings.length-1){return false}if(t==="nth-child"){var regex=/([\+-]?)(\d*)(n?)(\+\d+)?/;var parseResult=regex.exec(data).slice(1);var index=siblings.indexOf(node);if(!parseResult[0]){parseResult[0]="+"}var factor=parseResult[1]?parseInt(parseResult[0]+parseResult[1]):undefined;var add=parseInt(parseResult[3]||"0");if(factor&&parseResult[2]==="n"&&index%factor!==add){return false}else if(!factor&&parseResult[2]&&(parseResult[0]==="+"&&index-add<0||parseResult[0]==="-"&&index-add>=0)){return false}else if(!parseResult[2]&&factor&&index!==factor-1){return false}}}}return true}}exports.createMatches=createMatches},{"./selectorParser":96}],95:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var selectorParser_1=require("./selectorParser");var matches_1=require("./matches");function createQuerySelector(options,matches){var _matches=matches||matches_1.createMatches(options);function findSubtree(selector,depth,node){var n=_matches(selector,node);var matched=n?typeof n==="object"?[n]:[node]:[];if(depth===0){return matched}var childMatched=options.children(node).filter(function(c){return typeof c!=="string"}).map(function(c){return findSubtree(selector,depth-1,c)}).reduce(function(acc,curr){return acc.concat(curr)},[]);return matched.concat(childMatched)}function findSibling(selector,next,node){if(options.parent(node)===undefined){return[]}var results=[];var siblings=options.children(options.parent(node));for(var i=siblings.indexOf(node)+1;i<siblings.length;i++){if(typeof siblings[i]==="string"){continue}var n=_matches(selector,siblings[i]);if(n){if(typeof n==="object"){results.push(n)}else{results.push(siblings[i])}}if(next){break}}return results}return function querySelector(selector,node){var sel=typeof selector==="object"?selector:selectorParser_1.parseSelector(selector);var results=[node];var currentSelector=sel;var currentCombinator="subtree";var tail=undefined;var _loop_1=function(){tail=currentSelector.nextSelector;currentSelector.nextSelector=undefined;if(currentCombinator==="subtree"||currentCombinator==="child"){var depth_1=currentCombinator==="subtree"?Infinity:1;results=results.map(function(n){return findSubtree(currentSelector,depth_1,n)}).reduce(function(acc,curr){return acc.concat(curr)},[])}else{var next_1=currentCombinator==="nextSibling";results=results.map(function(n){return findSibling(currentSelector,next_1,n)}).reduce(function(acc,curr){return acc.concat(curr)},[])}if(tail){currentSelector=tail[1];currentCombinator=tail[0]}};do{_loop_1()}while(tail!==undefined);return results}}exports.createQuerySelector=createQuerySelector},{"./matches":94,"./selectorParser":96}],96:[function(require,module,exports){"use strict";var __assign=this&&this.__assign||Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};Object.defineProperty(exports,"__esModule",{value:true});var IDENT="[\\w-]+";var SPACE="[ \t]*";var VALUE="[^\\]]+";var CLASS="(?:\\."+IDENT+")";var ID="(?:#"+IDENT+")" ;var OP="(?:=|\\$=|\\^=|\\*=|~=|\\|=)";var ATTR="(?:\\["+SPACE+IDENT+SPACE+"(?:"+OP+SPACE+VALUE+SPACE+")?\\])";var SUBTREE="(?:[ \t]+)";var CHILD="(?:"+SPACE+"(>)"+SPACE+")";var NEXT_SIBLING="(?:"+SPACE+"(\\+)"+SPACE+")";var SIBLING="(?:"+SPACE+"(~)"+SPACE+")";var COMBINATOR="(?:"+SUBTREE+"|"+CHILD+"|"+NEXT_SIBLING+"|"+SIBLING+")";var CONTAINS='contains\\("[^"]*"\\)';var FORMULA="(?:even|odd|\\d*(?:-?n(?:\\+\\d+)?)?)";var NTH_CHILD="nth-child\\("+FORMULA+"\\)";var PSEUDO=":(?:first-child|last-child|"+NTH_CHILD+"|empty|root|"+CONTAINS+")";var TAG="(:?"+IDENT+")?";var TOKENS=CLASS+"|"+ID+"|"+ATTR+"|"+PSEUDO+"|"+COMBINATOR;var combinatorRegex=new RegExp("^"+COMBINATOR+"$");function parseSelector(selector){var sel=selector.trim();var tagRegex=new RegExp(TAG,"y");var tag=tagRegex.exec(sel)[0];var regex=new RegExp(TOKENS,"y");regex.lastIndex=tagRegex.lastIndex;var matches=[];var nextSelector=undefined;var lastCombinator=undefined;var index=-1;while(regex.lastIndex<sel.length){var match=regex.exec(sel);if(!match&&lastCombinator===undefined){throw new Error("Parse error, invalid selector")}else if(match&&combinatorRegex.test(match[0])){var comb=combinatorRegex.exec(match[0])[0];lastCombinator=comb;index=regex.lastIndex}else{if(lastCombinator!==undefined){nextSelector=[getCombinator(lastCombinator),parseSelector(sel.substring(index))];break}matches.push(match[0])}}var classList=matches.filter(function(s){return s.startsWith(".")}).map(function(s){return s.substring(1)});var ids=matches.filter(function(s){return s.startsWith("#")}).map(function(s){return s.substring(1)});if(ids.length>1){throw new Error("Invalid selector, only one id is allowed")}var postprocessRegex=new RegExp("("+IDENT+")"+SPACE+"("+OP+")?"+SPACE+"("+VALUE+")?");var attrs=matches.filter(function(s){return s.startsWith("[")}).map(function(s){return postprocessRegex.exec(s).slice(1,4)}).map(function(_a){var attr=_a[0],op=_a[1],val=_a[2];return _b={},_b[attr]=[getOp(op),val?parseAttrValue(val):val],_b;var _b}).reduce(function(acc,curr){return __assign({},acc,curr)},{});var pseudos=matches.filter(function(s){return s.startsWith(":")}).map(function(s){return postProcessPseudos(s.substring(1))});return{id:ids[0]||"",tag:tag,classList:classList,attributes:attrs,nextSelector:nextSelector,pseudos:pseudos}}exports.parseSelector=parseSelector;function parseAttrValue(v){if(v.startsWith('"')){return v.slice(1,-1)}if(v==="true"){return true}if(v==="false"){return false}return parseFloat(v)}function postProcessPseudos(sel){if(sel==="first-child"||sel==="last-child"||sel==="root"||sel==="empty"){return[sel,undefined]}if(sel.startsWith("contains")){var text=sel.slice(10,-2);return["contains",text]}var content=sel.slice(10,-1);if(content==="even"){content="2n"}if(content==="odd"){content="2n+1"}return["nth-child",content]}function getOp(op){switch(op){case"=":return"exact";case"^=":return"startsWith";case"$=":return"endsWith";case"*=":return"contains";case"~=":return"whitespace";case"|=":return"dash";default:return"truthy"}}function getCombinator(comb){switch(comb.trim()){case">":return"child";case"+":return"nextSibling";case"~":return"sibling";default:return"subtree"}}},{}],97:[function(require,module,exports){"use strict";var typestyle_1=require("./internal/typestyle");var types=require("./types");exports.types=types;var utilities_1=require("./internal/utilities");exports.extend=utilities_1.extend;exports.classes=utilities_1.classes;exports.media=utilities_1.media;var ts=new typestyle_1.TypeStyle({autoGenerateTag:true});exports.setStylesTarget=ts.setStylesTarget;exports.cssRaw=ts.cssRaw;exports.cssRule=ts.cssRule;exports.forceRenderStyles=ts.forceRenderStyles;exports.fontFace=ts.fontFace;exports.getStyles=ts.getStyles;exports.keyframes=ts.keyframes;exports.reinit=ts.reinit;exports.style=ts.style;function createTypeStyle(target){var instance=new typestyle_1.TypeStyle({autoGenerateTag:false});if(target){instance.setStylesTarget(target)}return instance}exports.createTypeStyle=createTypeStyle},{"./internal/typestyle":99,"./internal/utilities":100,"./types":101}],98:[function(require,module,exports){"use strict";var FreeStyle=require("free-style");function ensureStringObj(object){var result={};var debugName="";for(var key in object){var val=object[key];if(key==="$unique"){result[FreeStyle.IS_UNIQUE]=val}else if(key==="$nest"){var nested=val;for(var selector in nested){var subproperties=nested[selector];result[selector]=ensureStringObj(subproperties).result}}else if(key==="$debugName"){debugName=val}else{result[key]=val}}return{result:result,debugName:debugName}}exports.ensureStringObj=ensureStringObj;function explodeKeyframes(frames){var result={$debugName:undefined,keyframes:{}};for(var offset in frames){var val=frames[offset];if(offset==="$debugName"){result.$debugName=val}else{result.keyframes[offset]=val}}return result}exports.explodeKeyframes=explodeKeyframes},{"free-style":67}],99:[function(require,module,exports){"use strict";var formatting_1=require("./formatting");var utilities_1=require("./utilities");var FreeStyle=require("free-style");var TypeStyle=function(){function TypeStyle(_a){var autoGenerateTag=_a.autoGenerateTag;var _this=this;this.cssRaw=function(mustBeValidCSS){if(!mustBeValidCSS){return}_this._raw+=mustBeValidCSS||"";_this._pendingRawChange=true;_this._styleUpdated()};this.cssRule=function(selector){var objects=[];for(var _i=1;_i<arguments.length;_i++){objects[_i-1]=arguments[_i]}var object=formatting_1.ensureStringObj(utilities_1.extend.apply(void 0,objects)).result;_this._freeStyle.registerRule(selector,object);_this._styleUpdated();return};this.forceRenderStyles=function(){var target=_this._getTag();if(!target){return}target.textContent=_this.getStyles()};this.fontFace=function(){var fontFace=[];for(var _i=0;_i<arguments.length;_i++){fontFace[_i]=arguments[_i]}var freeStyle=_this._freeStyle;for(var _a=0,fontFace_1=fontFace;_a<fontFace_1.length;_a++){var face=fontFace_1[_a];freeStyle.registerRule("@font-face",face)}_this._styleUpdated();return};this.getStyles=function(){return(_this._raw||"")+_this._freeStyle.getStyles()};this.keyframes=function(frames){var _a=formatting_1.explodeKeyframes(frames),keyframes=_a.keyframes,$debugName=_a.$debugName;var animationName=_this._freeStyle.registerKeyframes(keyframes,$debugName);_this._styleUpdated();return animationName};this.reinit=function(){var freeStyle=FreeStyle.create();_this._freeStyle=freeStyle;_this._lastFreeStyleChangeId=freeStyle.changeId;_this._raw="";_this._pendingRawChange=false;var target=_this._getTag();if(target){target.textContent=""}};this.setStylesTarget=function(tag){if(_this._tag){_this._tag.textContent=""}_this._tag=tag;_this.forceRenderStyles()};this.style=function(){var objects=[];for(var _i=0;_i<arguments.length;_i++){objects[_i]=arguments[_i]}var freeStyle=_this._freeStyle;var _a=formatting_1.ensureStringObj(utilities_1.extend.apply(void 0,objects)),result=_a.result,debugName=_a.debugName;var className=debugName?freeStyle.registerStyle(result,debugName):freeStyle.registerStyle(result);_this._styleUpdated();return className};var freeStyle=FreeStyle.create();this._autoGenerateTag=autoGenerateTag;this._freeStyle=freeStyle;this._lastFreeStyleChangeId=freeStyle.changeId;this._pending=0;this._pendingRawChange=false;this._raw="";this._tag=undefined}TypeStyle.prototype._afterAllSync=function(cb){var _this=this;this._pending++;var pending=this._pending;utilities_1.raf(function(){if(pending!==_this._pending){return}cb()})};TypeStyle.prototype._getTag=function(){if(this._tag){return this._tag}if(this._autoGenerateTag){var tag=typeof window==="undefined"?{textContent:""}:document.createElement("style");if(typeof document!=="undefined"){document.head.appendChild(tag)}this._tag=tag;return tag}return undefined};TypeStyle.prototype._styleUpdated=function(){var _this=this;var changeId=this._freeStyle.changeId;var lastChangeId=this._lastFreeStyleChangeId;if(!this._pendingRawChange&&changeId===lastChangeId){return}this._lastFreeStyleChangeId=changeId;this._pendingRawChange=false;this._afterAllSync(function(){return _this.forceRenderStyles()})};return TypeStyle}();exports.TypeStyle=TypeStyle},{"./formatting":98,"./utilities":100,"free-style":67}],100:[function(require,module,exports){"use strict";exports.raf=typeof requestAnimationFrame==="undefined"?setTimeout:requestAnimationFrame.bind(window);function classes(){var classes=[];for(var _i=0;_i<arguments.length;_i++){classes[_i]=arguments[_i]}return classes.filter(function(c){return!!c}).join(" ")}exports.classes=classes;function extend(){var objects=[];for(var _i=0;_i<arguments.length;_i++){objects[_i]=arguments[_i]}var result={};for(var _a=0,objects_1=objects;_a<objects_1.length;_a++){var object=objects_1[_a];if(object==null||object===false){continue}for(var key in object){var val=object[key];if(!val&&val!==0){continue}if(key==="$nest"&&val){result[key]=result["$nest"]?extend(result["$nest"],val):val}else if(key.indexOf("&")!==-1||key.indexOf("@media")===0){result[key]=result[key]?extend(result[key],val):val}else{result[key]=val}}}return result}exports.extend=extend;exports.media=function(mediaQuery){var objects=[];for(var _i=1;_i<arguments.length;_i++){objects[_i-1]=arguments[_i]}var mediaQuerySections=[];if(mediaQuery.type)mediaQuerySections.push(mediaQuery.type);if(mediaQuery.orientation)mediaQuerySections.push(mediaQuery.orientation);if(mediaQuery.minWidth)mediaQuerySections.push("(min-width: "+mediaQuery.minWidth+"px)");if(mediaQuery.maxWidth)mediaQuerySections.push("(max-width: "+mediaQuery.maxWidth+"px)");var stringMediaQuery="@media "+mediaQuerySections.join(" and ");var object={$nest:(_a={},_a[stringMediaQuery]=extend.apply(void 0,objects),_a)};return object;var _a}},{}],101:[function(require,module,exports){"use strict"},{}],102:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var index_1=require("../index");var ConcatProducer=function(){function ConcatProducer(streams){this.streams=streams;this.type="concat";this.out=null;this.i=0}ConcatProducer.prototype._start=function(out){this.out=out;this.streams[this.i]._add(this)};ConcatProducer.prototype._stop=function(){var streams=this.streams;if(this.i<streams.length){streams[this.i]._remove(this)}this.i=0;this.out=null};ConcatProducer.prototype._n=function(t){var u=this.out;if(!u)return;u._n(t)};ConcatProducer.prototype._e=function(err){var u=this.out;if(!u)return;u._e(err)};ConcatProducer.prototype._c=function(){var u=this.out;if(!u)return;var streams=this.streams;streams[this.i]._remove(this);if(++this.i<streams.length){streams[this.i]._add(this)}else{u._c()}};return ConcatProducer}();function concat(){var streams=[];for(var _i=0;_i<arguments.length;_i++){streams[_i]=arguments[_i]}return new index_1.Stream(new ConcatProducer(streams))}exports.default=concat},{"../index":107}],103:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var index_1=require("../index");var DelayOperator=function(){function DelayOperator(dt,ins){this.dt=dt;this.ins=ins;this.type="delay";this.out=null}DelayOperator.prototype._start=function(out){this.out=out;this.ins._add(this)};DelayOperator.prototype._stop=function(){this.ins._remove(this);this.out=null};DelayOperator.prototype._n=function(t){var u=this.out;if(!u)return;var id=setInterval(function(){u._n(t);clearInterval(id)},this.dt)};DelayOperator.prototype._e=function(err){var u=this.out;if(!u)return;var id=setInterval(function(){u._e(err);clearInterval(id)},this.dt)};DelayOperator.prototype._c=function(){var u=this.out;if(!u)return;var id=setInterval(function(){u._c();clearInterval(id)},this.dt)};return DelayOperator}();function delay(period){return function delayOperator(ins){return new index_1.Stream(new DelayOperator(period,ins))}}exports.default=delay},{"../index":107}],104:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var index_1=require("../index");var empty={};var DropRepeatsOperator=function(){function DropRepeatsOperator(ins,fn){this.ins=ins;this.type="dropRepeats";this.out=null;this.v=empty;this.isEq=fn?fn:function(x,y){return x===y}}DropRepeatsOperator.prototype._start=function(out){this.out=out;this.ins._add(this)};DropRepeatsOperator.prototype._stop=function(){this.ins._remove(this);this.out=null;this.v=empty};DropRepeatsOperator.prototype._n=function(t){var u=this.out;if(!u)return;var v=this.v;if(v!==empty&&this.isEq(t,v))return;this.v=t;u._n(t)};DropRepeatsOperator.prototype._e=function(err){var u=this.out;if(!u)return;u._e(err)};DropRepeatsOperator.prototype._c=function(){var u=this.out;if(!u)return;u._c()};return DropRepeatsOperator}();exports.DropRepeatsOperator=DropRepeatsOperator;function dropRepeats(isEqual){if(isEqual===void 0){isEqual=void 0}return function dropRepeatsOperator(ins){return new index_1.Stream(new DropRepeatsOperator(ins,isEqual))}}exports.default=dropRepeats},{"../index":107}],105:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var index_1=require("../index");var NO={};var SampleCombineListener=function(){function SampleCombineListener(i,p){this.i=i;this.p=p;p.ils[i]=this}SampleCombineListener.prototype._n=function(t){var p=this.p;if(p.out===NO)return;p.up(t,this.i)};SampleCombineListener.prototype._e=function(err){this.p._e(err)};SampleCombineListener.prototype._c=function(){this.p.down(this.i,this)};return SampleCombineListener}();exports.SampleCombineListener=SampleCombineListener;var SampleCombineOperator=function(){function SampleCombineOperator(ins,streams){this.type="sampleCombine";this.ins=ins;this.others=streams;this.out=NO;this.ils=[];this.Nn=0;this.vals=[]}SampleCombineOperator.prototype._start=function(out){this.out=out;var s=this.others;var n=this.Nn=s.length;var vals=this.vals=new Array(n);for(var i=0;i<n;i++){vals[i]=NO;s[i]._add(new SampleCombineListener(i,this))}this.ins._add(this)};SampleCombineOperator.prototype._stop=function(){var s=this.others;var n=s.length;var ils=this.ils;this.ins._remove(this);for(var i=0;i<n;i++){s[i]._remove(ils[i])}this.out=NO;this.vals=[];this.ils=[]};SampleCombineOperator.prototype._n=function(t){var out=this.out;if(out===NO)return;if(this.Nn>0)return;out._n([t].concat(this.vals))};SampleCombineOperator.prototype._e=function(err){var out=this.out;if(out===NO)return;out._e(err)};SampleCombineOperator.prototype._c=function(){var out=this.out;if(out===NO)return;out._c()};SampleCombineOperator.prototype.up=function(t,i){var v=this.vals[i];if(this.Nn>0&&v===NO){this.Nn--}this.vals[i]=t};SampleCombineOperator.prototype.down=function(i,l){this.others[i]._remove(l)};return SampleCombineOperator}();exports.SampleCombineOperator=SampleCombineOperator;var sampleCombine;sampleCombine=function sampleCombine(){var streams=[];for(var _i=0;_i<arguments.length;_i++){streams[_i]=arguments[_i]}return function sampleCombineOperator(sampler){return new index_1.Stream(new SampleCombineOperator(sampler,streams))}};exports.default=sampleCombine},{"../index":107}],106:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var index_1=require("../index");var concat_1=require("./concat");function interpolate(y,from,to){return from*(1-y)+to*y}function flip(fn){return function(x){return 1-fn(1-x)}}function createEasing(fn){var fnFlipped=flip(fn);return{easeIn:function(x,from,to){return interpolate(fn(x),from,to)},easeOut:function(x,from,to){return interpolate(fnFlipped(x),from,to)},easeInOut:function(x,from,to){var y=x<.5?fn(2*x)*.5:.5+fnFlipped(2*(x-.5))*.5;return interpolate(y,from,to)}}}var easingPower2=createEasing(function(x){return x*x});var easingPower3=createEasing(function(x){return x*x*x});var easingPower4=createEasing(function(x){var xx=x*x;return xx*xx});var EXP_WEIGHT=6;var EXP_MAX=Math.exp(EXP_WEIGHT)-1;function expFn(x){return(Math.exp(x*EXP_WEIGHT)-1)/EXP_MAX}var easingExponential=createEasing(expFn);var OVERSHOOT=1.70158;var easingBack=createEasing(function(x){return x*x*((OVERSHOOT+1)*x-OVERSHOOT)});var PARAM1=7.5625;var PARAM2=2.75;function easeOutFn(x){var z=x;if(z<1/PARAM2){return PARAM1*z*z}else if(z<2/PARAM2){return PARAM1*(z-=1.5/PARAM2)*z+.75}else if(z<2.5/PARAM2){return PARAM1*(z-=2.25/PARAM2)*z+.9375}else{return PARAM1*(z-=2.625/PARAM2)*z+.984375}}var easingBounce=createEasing(function(x){return 1-easeOutFn(1-x)});var easingCirc=createEasing(function(x){return-(Math.sqrt(1-x*x)-1)});var PERIOD=.3;var OVERSHOOT_ELASTIC=PERIOD/4;var AMPLITUDE=1;function elasticIn(x){var z=x;if(z<=0){return 0}else if(z>=1){return 1}else{z-=1;return-(AMPLITUDE*Math.pow(2,10*z))*Math.sin((z-OVERSHOOT_ELASTIC)*(2*Math.PI)/PERIOD)}}var easingElastic=createEasing(elasticIn);var HALF_PI=Math.PI*.5;var easingSine=createEasing(function(x){return 1-Math.cos(x*HALF_PI)});var DEFAULT_INTERVAL=15;function tween(_a){var from=_a.from,to=_a.to,duration=_a.duration,_b=_a.ease,ease=_b===void 0?tweenFactory.linear.ease:_b,_c=_a.interval,interval=_c===void 0?DEFAULT_INTERVAL:_c;var totalTicks=Math.round(duration/interval);return index_1.Stream.periodic(interval).take(totalTicks).map(function(tick){return ease(tick/totalTicks,from,to)}).compose(function(s){return concat_1.default(s,index_1.Stream.of(to))})}var tweenFactory=tween;tweenFactory.linear={ease:interpolate};tweenFactory.power2=easingPower2;tweenFactory.power3=easingPower3;tweenFactory.power4=easingPower4;tweenFactory.exponential=easingExponential;tweenFactory.back=easingBack;tweenFactory.bounce=easingBounce;tweenFactory.circular=easingCirc;tweenFactory.elastic=easingElastic;tweenFactory.sine=easingSine;exports.default=tweenFactory},{"../index":107,"./concat":102}],107:[function(require,module,exports){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)if(b.hasOwnProperty(p))d[p]=b[p]};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:true});var symbol_observable_1=require("symbol-observable");var NO={};exports.NO=NO;function noop(){}function cp(a){var l=a.length;var b=Array(l);for(var i=0;i<l;++i)b[i]=a[i];return b}function and(f1,f2){return function andFn(t){return f1(t)&&f2(t)}}function _try(c,t,u){try{return c.f(t)}catch(e){u._e(e);return NO}}var NO_IL={_n:noop,_e:noop,_c:noop};exports.NO_IL=NO_IL;function internalizeProducer(producer){producer._start=function _start(il){il.next=il._n;il.error=il._e;il.complete=il._c;this.start(il)};producer._stop=producer.stop}var StreamSub=function(){function StreamSub(_stream,_listener){this._stream=_stream;this._listener=_listener}StreamSub.prototype.unsubscribe=function(){this._stream._remove(this._listener)};return StreamSub}();var Observer=function(){function Observer(_listener){this._listener=_listener}Observer.prototype.next=function(value){this._listener._n(value)};Observer.prototype.error=function(err){this._listener._e(err)};Observer.prototype.complete=function(){this._listener._c()};return Observer}();var FromObservable=function(){function FromObservable(observable){this.type="fromObservable";this.ins=observable;this.active=false}FromObservable.prototype._start=function(out){this.out=out;this.active=true;this._sub=this.ins.subscribe(new Observer(out));if(!this.active)this._sub.unsubscribe()};FromObservable.prototype._stop=function(){if(this._sub)this._sub.unsubscribe();this.active=false};return FromObservable}();var Merge=function(){function Merge(insArr){this.type="merge";this.insArr=insArr;this.out=NO;this.ac=0}Merge.prototype._start=function(out){this.out=out;var s=this.insArr;var L=s.length;this.ac=L;for(var i=0;i<L;i++)s[i]._add(this)};Merge.prototype._stop=function(){var s=this.insArr;var L=s.length;for(var i=0;i<L;i++)s[i]._remove(this);this.out=NO};Merge.prototype._n=function(t){var u=this.out;if(u===NO)return;u._n(t)};Merge.prototype._e=function(err){var u=this.out;if(u===NO)return;u._e(err)};Merge.prototype._c=function(){if(--this.ac<=0){var u=this.out;if(u===NO)return;u._c()}};return Merge}();var CombineListener=function(){function CombineListener(i,out,p){this.i=i;this.out=out;this.p=p;p.ils.push(this)}CombineListener.prototype._n=function(t){var p=this.p,out=this.out;if(out===NO)return;if(p.up(t,this.i)){var a=p.vals;var l=a.length;var b=Array(l);for(var i=0;i<l;++i)b[i]=a[i];out._n(b)}};CombineListener.prototype._e=function(err){var out=this.out;if(out===NO)return;out._e(err)};CombineListener.prototype._c=function(){var p=this.p;if(p.out===NO)return;if(--p.Nc===0)p.out._c()};return CombineListener}();var Combine=function(){function Combine(insArr){this.type="combine";this.insArr=insArr;this.out=NO;this.ils=[];this.Nc=this.Nn=0;this.vals=[]}Combine.prototype.up=function(t,i){var v=this.vals[i];var Nn=!this.Nn?0:v===NO?--this.Nn:this.Nn;this.vals[i]=t;return Nn===0};Combine.prototype._start=function(out){this.out=out;var s=this.insArr;var n=this.Nc=this.Nn=s.length;var vals=this.vals=new Array(n);if(n===0){out._n([]);out._c()}else{for(var i=0;i<n;i++){vals[i]=NO;s[i]._add(new CombineListener(i,out,this))}}};Combine.prototype._stop=function(){var s=this.insArr;var n=s.length;var ils=this.ils;for(var i=0;i<n;i++)s[i]._remove(ils[i]);this.out=NO;this.ils=[];this.vals=[]};return Combine}();var FromArray=function(){function FromArray(a){this.type="fromArray";this.a=a}FromArray.prototype._start=function(out){var a=this.a;for(var i=0,n=a.length;i<n;i++)out._n(a[i]);out._c()};FromArray.prototype._stop=function(){};return FromArray}();var FromPromise=function(){function FromPromise(p){this.type="fromPromise";this.on=false;this.p=p}FromPromise.prototype._start=function(out){var prod=this;this.on=true;this.p.then(function(v){if(prod.on){out._n(v);out._c()}},function(e){out._e(e)}).then(noop,function(err){setTimeout(function(){throw err})})};FromPromise.prototype._stop=function(){this.on=false};return FromPromise}();var Periodic=function(){function Periodic(period){this.type="periodic";this.period=period;this.intervalID=-1;this.i=0}Periodic.prototype._start=function(out){var self=this;function intervalHandler(){out._n(self.i++)}this.intervalID=setInterval(intervalHandler,this.period)};Periodic.prototype._stop=function(){if(this.intervalID!==-1)clearInterval(this.intervalID);this.intervalID=-1;this.i=0};return Periodic}();var Debug=function(){function Debug(ins,arg){this.type="debug";this.ins=ins;this.out=NO;this.s=noop;this.l="";if(typeof arg==="string")this.l=arg;else if(typeof arg==="function")this.s=arg}Debug.prototype._start=function(out){this.out=out;this.ins._add(this)};Debug.prototype._stop=function(){this.ins._remove(this);this.out=NO};Debug.prototype._n=function(t){var u=this.out;if(u===NO)return;var s=this.s,l=this.l;if(s!==noop){try{s(t)}catch(e){u._e(e)}}else if(l)console.log(l+":",t);else console.log(t);u._n(t)};Debug.prototype._e=function(err){var u=this.out;if(u===NO)return;u._e(err)};Debug.prototype._c=function(){var u=this.out;if(u===NO)return;u._c()};return Debug}();var Drop=function(){function Drop(max,ins){this.type="drop";this.ins=ins;this.out=NO;this.max=max;this.dropped=0}Drop.prototype._start=function(out){this.out=out;this.dropped=0;this.ins._add(this)};Drop.prototype._stop=function(){this.ins._remove(this);this.out=NO};Drop.prototype._n=function(t){var u=this.out;if(u===NO)return;if(this.dropped++>=this.max)u._n(t)};Drop.prototype._e=function(err){var u=this.out;if(u===NO)return;u._e(err)};Drop.prototype._c=function(){var u=this.out;if(u===NO)return;u._c()};return Drop}();var EndWhenListener=function(){function EndWhenListener(out,op){this.out=out;this.op=op}EndWhenListener.prototype._n=function(){this.op.end()};EndWhenListener.prototype._e=function(err){this.out._e(err)};EndWhenListener.prototype._c=function(){this.op.end()};return EndWhenListener}();var EndWhen=function(){function EndWhen(o,ins){this.type="endWhen";this.ins=ins;this.out=NO;this.o=o;this.oil=NO_IL}EndWhen.prototype._start=function(out){this.out=out;this.o._add(this.oil=new EndWhenListener(out,this));this.ins._add(this)};EndWhen.prototype._stop=function(){this.ins._remove(this);this.o._remove(this.oil);this.out=NO;this.oil=NO_IL};EndWhen.prototype.end=function(){var u=this.out;if(u===NO)return;u._c()};EndWhen.prototype._n=function(t){var u=this.out;if(u===NO)return;u._n(t)};EndWhen.prototype._e=function(err){var u=this.out;if(u===NO)return;u._e(err)};EndWhen.prototype._c=function(){this.end()};return EndWhen}();var Filter=function(){function Filter(passes,ins){this.type="filter";this.ins=ins;this.out=NO;this.f=passes}Filter.prototype._start=function(out){this.out=out;this.ins._add(this)};Filter.prototype._stop=function(){this.ins._remove(this);this.out=NO};Filter.prototype._n=function(t){var u=this.out;if(u===NO)return;var r=_try(this,t,u);if(r===NO||!r)return;u._n(t)};Filter.prototype._e=function(err){var u=this.out;if(u===NO)return;u._e(err)};Filter.prototype._c=function(){var u=this.out;if(u===NO)return;u._c()};return Filter}();var FlattenListener=function(){function FlattenListener(out,op){this.out=out;this.op=op}FlattenListener.prototype._n=function(t){this.out._n(t)};FlattenListener.prototype._e=function(err){this.out._e(err)};FlattenListener.prototype._c=function(){this.op.inner=NO;this.op.less()};return FlattenListener}();var Flatten=function(){function Flatten(ins){this.type="flatten";this.ins=ins;this.out=NO;this.open=true;this.inner=NO;this.il=NO_IL}Flatten.prototype._start=function(out){this.out=out;this.open=true;this.inner=NO;this.il=NO_IL;this.ins._add(this)};Flatten.prototype._stop=function(){this.ins._remove(this);if(this.inner!==NO)this.inner._remove(this.il);this.out=NO;this.open=true;this.inner=NO;this.il=NO_IL};Flatten.prototype.less=function(){var u=this.out;if(u===NO)return;if(!this.open&&this.inner===NO)u._c()};Flatten.prototype._n=function(s){var u=this.out;if(u===NO)return;var _a=this,inner=_a.inner,il=_a.il;if(inner!==NO&&il!==NO_IL)inner._remove(il);(this.inner=s)._add(this.il=new FlattenListener(u,this))};Flatten.prototype._e=function(err){var u=this.out;if(u===NO)return;u._e(err)};Flatten.prototype._c=function(){this.open=false;this.less()};return Flatten}();var Fold=function(){function Fold(f,seed,ins){var _this=this;this.type="fold";this.ins=ins;this.out=NO;this.f=function(t){return f(_this.acc,t)};this.acc=this.seed=seed}Fold.prototype._start=function(out){this.out=out;this.acc=this.seed;out._n(this.acc);this.ins._add(this)};Fold.prototype._stop=function(){this.ins._remove(this);this.out=NO;this.acc=this.seed};Fold.prototype._n=function(t){var u=this.out;if(u===NO)return;var r=_try(this,t,u);if(r===NO)return;u._n(this.acc=r)};Fold.prototype._e=function(err){var u=this.out;if(u===NO)return;u._e(err)};Fold.prototype._c=function(){var u=this.out;if(u===NO)return;u._c()};return Fold}();var Last=function(){function Last(ins){this.type="last";this.ins=ins;this.out=NO;this.has=false;this.val=NO}Last.prototype._start=function(out){this.out=out;this.has=false;this.ins._add(this)};Last.prototype._stop=function(){this.ins._remove(this);this.out=NO;this.val=NO};Last.prototype._n=function(t){this.has=true;this.val=t};Last.prototype._e=function(err){var u=this.out;if(u===NO)return;u._e(err)};Last.prototype._c=function(){var u=this.out;if(u===NO)return;if(this.has){u._n(this.val);u._c()}else u._e(new Error("last() failed because input stream completed"))};return Last}();var MapOp=function(){function MapOp(project,ins){this.type="map";this.ins=ins;this.out=NO;this.f=project}MapOp.prototype._start=function(out){this.out=out;this.ins._add(this)};MapOp.prototype._stop=function(){this.ins._remove(this);this.out=NO};MapOp.prototype._n=function(t){var u=this.out;if(u===NO)return;var r=_try(this,t,u);if(r===NO)return;u._n(r)};MapOp.prototype._e=function(err){var u=this.out;if(u===NO)return;u._e(err)};MapOp.prototype._c=function(){var u=this.out;if(u===NO)return;u._c()};return MapOp}();var Remember=function(){function Remember(ins){this.type="remember";this.ins=ins;this.out=NO}Remember.prototype._start=function(out){this.out=out;this.ins._add(out)};Remember.prototype._stop=function(){this.ins._remove(this.out);this.out=NO};return Remember}();var ReplaceError=function(){function ReplaceError(replacer,ins){this.type="replaceError";this.ins=ins;this.out=NO;this.f=replacer}ReplaceError.prototype._start=function(out){this.out=out;this.ins._add(this)};ReplaceError.prototype._stop=function(){this.ins._remove(this);this.out=NO};ReplaceError.prototype._n=function(t){var u=this.out;if(u===NO)return;u._n(t)};ReplaceError.prototype._e=function(err){var u=this.out;if(u===NO)return;try{this.ins._remove(this);(this.ins=this.f(err))._add(this)}catch(e){u._e(e)}};ReplaceError.prototype._c=function(){var u=this.out;if(u===NO)return;u._c()};return ReplaceError}();var StartWith=function(){function StartWith(ins,val){this.type="startWith";this.ins=ins;this.out=NO;this.val=val}StartWith.prototype._start=function(out){this.out=out;this.out._n(this.val);this.ins._add(out)};StartWith.prototype._stop=function(){this.ins._remove(this.out);this.out=NO};return StartWith}();var Take=function(){function Take(max,ins){this.type="take";this.ins=ins;this.out=NO;this.max=max;this.taken=0}Take.prototype._start=function(out){this.out=out;this.taken=0;if(this.max<=0)out._c();else this.ins._add(this)};Take.prototype._stop=function(){this.ins._remove(this);this.out=NO};Take.prototype._n=function(t){var u=this.out;if(u===NO)return;var m=++this.taken;if(m<this.max)u._n(t);else if(m===this.max){u._n(t);u._c()}};Take.prototype._e=function(err){var u=this.out;if(u===NO)return;u._e(err)};Take.prototype._c=function(){var u=this.out;if(u===NO)return;u._c()};return Take}();var Stream=function(){function Stream(producer){this._prod=producer||NO;this._ils=[];this._stopID=NO;this._dl=NO;this._d=false;this._target=NO;this._err=NO}Stream.prototype._n=function(t){var a=this._ils;var L=a.length;if(this._d)this._dl._n(t);if(L==1)a[0]._n(t);else if(L==0)return;else{var b=cp(a);for(var i=0;i<L;i++)b[i]._n(t)}};Stream.prototype._e=function(err){if(this._err!==NO)return;this._err=err;var a=this._ils;var L=a.length;this._x();if(this._d)this._dl._e(err);if(L==1)a[0]._e(err);else if(L==0)return;else{var b=cp(a);for(var i=0;i<L;i++)b[i]._e(err)}if(!this._d&&L==0)throw this._err};Stream.prototype._c=function(){var a=this._ils;var L=a.length;this._x();if(this._d)this._dl._c();if(L==1)a[0]._c();else if(L==0)return;else{var b=cp(a);for(var i=0;i<L;i++)b[i]._c()}};Stream.prototype._x=function(){if(this._ils.length===0)return;if(this._prod!==NO)this._prod._stop();this._err=NO;this._ils=[]};Stream.prototype._stopNow=function(){this._prod._stop();this._err=NO;this._stopID=NO};Stream.prototype._add=function(il){var ta=this._target;if(ta!==NO)return ta._add(il);var a=this._ils;a.push(il);if(a.length>1)return;if(this._stopID!==NO){clearTimeout(this._stopID);this._stopID=NO}else{var p=this._prod;if(p!==NO)p._start(this)}};Stream.prototype._remove=function(il){var _this=this;var ta=this._target;if(ta!==NO)return ta._remove(il);var a=this._ils;var i=a.indexOf(il);if(i>-1){a.splice(i,1);if(this._prod!==NO&&a.length<=0){this._err=NO;this._stopID=setTimeout(function(){return _this._stopNow()})}else if(a.length===1){this._pruneCycles()}}};Stream.prototype._pruneCycles=function(){if(this._hasNoSinks(this,[]))this._remove(this._ils[0])};Stream.prototype._hasNoSinks=function(x,trace){if(trace.indexOf(x)!==-1)return true;else if(x.out===this)return true;else if(x.out&&x.out!==NO)return this._hasNoSinks(x.out,trace.concat(x));else if(x._ils){for(var i=0,N=x._ils.length;i<N;i++)if(!this._hasNoSinks(x._ils[i],trace.concat(x)))return false;return true}else return false};Stream.prototype.ctor=function(){return this instanceof MemoryStream?MemoryStream:Stream};Stream.prototype.addListener=function(listener){ listener._n=listener.next||noop;listener._e=listener.error||noop;listener._c=listener.complete||noop;this._add(listener)};Stream.prototype.removeListener=function(listener){this._remove(listener)};Stream.prototype.subscribe=function(listener){this.addListener(listener);return new StreamSub(this,listener)};Stream.prototype[symbol_observable_1.default]=function(){return this};Stream.create=function(producer){if(producer){if(typeof producer.start!=="function"||typeof producer.stop!=="function")throw new Error("producer requires both start and stop functions");internalizeProducer(producer)}return new Stream(producer)};Stream.createWithMemory=function(producer){if(producer)internalizeProducer(producer);return new MemoryStream(producer)};Stream.never=function(){return new Stream({_start:noop,_stop:noop})};Stream.empty=function(){return new Stream({_start:function(il){il._c()},_stop:noop})};Stream.throw=function(error){return new Stream({_start:function(il){il._e(error)},_stop:noop})};Stream.from=function(input){if(typeof input[symbol_observable_1.default]==="function")return Stream.fromObservable(input);else if(typeof input.then==="function")return Stream.fromPromise(input);else if(Array.isArray(input))return Stream.fromArray(input);throw new TypeError("Type of input to from() must be an Array, Promise, or Observable")};Stream.of=function(){var items=[];for(var _i=0;_i<arguments.length;_i++){items[_i]=arguments[_i]}return Stream.fromArray(items)};Stream.fromArray=function(array){return new Stream(new FromArray(array))};Stream.fromPromise=function(promise){return new Stream(new FromPromise(promise))};Stream.fromObservable=function(obs){if(obs.endWhen)return obs;var o=typeof obs[symbol_observable_1.default]==="function"?obs[symbol_observable_1.default]():obs;return new Stream(new FromObservable(o))};Stream.periodic=function(period){return new Stream(new Periodic(period))};Stream.prototype._map=function(project){return new(this.ctor())(new MapOp(project,this))};Stream.prototype.map=function(project){return this._map(project)};Stream.prototype.mapTo=function(projectedValue){var s=this.map(function(){return projectedValue});var op=s._prod;op.type="mapTo";return s};Stream.prototype.filter=function(passes){var p=this._prod;if(p instanceof Filter)return new Stream(new Filter(and(p.f,passes),p.ins));return new Stream(new Filter(passes,this))};Stream.prototype.take=function(amount){return new(this.ctor())(new Take(amount,this))};Stream.prototype.drop=function(amount){return new Stream(new Drop(amount,this))};Stream.prototype.last=function(){return new Stream(new Last(this))};Stream.prototype.startWith=function(initial){return new MemoryStream(new StartWith(this,initial))};Stream.prototype.endWhen=function(other){return new(this.ctor())(new EndWhen(other,this))};Stream.prototype.fold=function(accumulate,seed){return new MemoryStream(new Fold(accumulate,seed,this))};Stream.prototype.replaceError=function(replace){return new(this.ctor())(new ReplaceError(replace,this))};Stream.prototype.flatten=function(){var p=this._prod;return new Stream(new Flatten(this))};Stream.prototype.compose=function(operator){return operator(this)};Stream.prototype.remember=function(){return new MemoryStream(new Remember(this))};Stream.prototype.debug=function(labelOrSpy){return new(this.ctor())(new Debug(this,labelOrSpy))};Stream.prototype.imitate=function(target){if(target instanceof MemoryStream)throw new Error("A MemoryStream was given to imitate(), but it only "+"supports a Stream. Read more about this restriction here: "+"path_to_url#faq");this._target=target;for(var ils=this._ils,N=ils.length,i=0;i<N;i++)target._add(ils[i]);this._ils=[]};Stream.prototype.shamefullySendNext=function(value){this._n(value)};Stream.prototype.shamefullySendError=function(error){this._e(error)};Stream.prototype.shamefullySendComplete=function(){this._c()};Stream.prototype.setDebugListener=function(listener){if(!listener){this._d=false;this._dl=NO}else{this._d=true;listener._n=listener.next||noop;listener._e=listener.error||noop;listener._c=listener.complete||noop;this._dl=listener}};Stream.merge=function merge(){var streams=[];for(var _i=0;_i<arguments.length;_i++){streams[_i]=arguments[_i]}return new Stream(new Merge(streams))};Stream.combine=function combine(){var streams=[];for(var _i=0;_i<arguments.length;_i++){streams[_i]=arguments[_i]}return new Stream(new Combine(streams))};return Stream}();exports.Stream=Stream;var MemoryStream=function(_super){__extends(MemoryStream,_super);function MemoryStream(producer){var _this=_super.call(this,producer)||this;_this._has=false;return _this}MemoryStream.prototype._n=function(x){this._v=x;this._has=true;_super.prototype._n.call(this,x)};MemoryStream.prototype._add=function(il){var ta=this._target;if(ta!==NO)return ta._add(il);var a=this._ils;a.push(il);if(a.length>1){if(this._has)il._n(this._v);return}if(this._stopID!==NO){if(this._has)il._n(this._v);clearTimeout(this._stopID);this._stopID=NO}else if(this._has)il._n(this._v);else{var p=this._prod;if(p!==NO)p._start(this)}};MemoryStream.prototype._stopNow=function(){this._has=false;_super.prototype._stopNow.call(this)};MemoryStream.prototype._x=function(){this._has=false;_super.prototype._x.call(this)};MemoryStream.prototype.map=function(project){return this._map(project)};MemoryStream.prototype.mapTo=function(projectedValue){return _super.prototype.mapTo.call(this,projectedValue)};MemoryStream.prototype.take=function(amount){return _super.prototype.take.call(this,amount)};MemoryStream.prototype.endWhen=function(other){return _super.prototype.endWhen.call(this,other)};MemoryStream.prototype.replaceError=function(replace){return _super.prototype.replaceError.call(this,replace)};MemoryStream.prototype.remember=function(){return this};MemoryStream.prototype.debug=function(labelOrSpy){return _super.prototype.debug.call(this,labelOrSpy)};return MemoryStream}(Stream);exports.MemoryStream=MemoryStream;var xs=Stream;exports.default=xs},{"symbol-observable":90}]},{},[33]); ```
Olfactory receptor 2AJ1 is a protein that in humans is encoded by the OR2AJ1 gene. Olfactory receptors interact with odorant molecules in the nose to initiate a neuronal response that triggers the perception of a smell. The olfactory receptor proteins are members of a large family of G-protein-coupled receptors (GPCR) arising from single coding-exon genes. Olfactory receptors share a 7-transmembrane domain structure with many neurotransmitter and hormone receptors and are responsible for the recognition and G protein-mediated transduction of odorant signals. The olfactory receptor gene family is the largest in the genome. The nomenclature assigned to the olfactory receptor genes and proteins for this organism is independent of other organisms. See also Olfactory receptor References Further reading External links Olfactory receptors
```java package edu.umd.cs.findbugs.detect; import edu.umd.cs.findbugs.AbstractIntegrationTest; import edu.umd.cs.findbugs.test.matcher.BugInstanceMatcher; import edu.umd.cs.findbugs.test.matcher.BugInstanceMatcherBuilder; import org.junit.jupiter.api.Test; import static edu.umd.cs.findbugs.test.CountMatcher.containsExactly; import static org.hamcrest.MatcherAssert.assertThat; class Issue1765Test extends AbstractIntegrationTest { @Test void testIssue() { performAnalysis("ghIssues/Issue1765.class"); BugInstanceMatcher matcher = new BugInstanceMatcherBuilder() .bugType("HE_HASHCODE_USE_OBJECT_EQUALS").build(); assertThat(getBugCollection(), containsExactly(1, matcher)); } } ```
Ethyle Renee Wolfe (March 4, 1919 – May 6, 2010) was an American classics professor who taught at Brooklyn College. During her many years at the college, she developed the Humanities Institute (now named after her) and was awarded the Charles Frankel Prize in 1990. Biography Wolfe was born on March 4, 1919, in Burlington, Vermont. She went to the University of Vermont (UVM) where she graduated with a bachelor's degree in 1940 and two years later, with a master's degree. Afterwards, she went to Bryn Mawr College where she studied with T.R.S. Broughton, Lily Ross Taylor and Richmond Lattimore, though she did not earn a degree. Wolfe started working at Brooklyn College as a lecturer in 1947. She earned her Ph.D. from New York University (NYU) in 1950. After earning her doctorate, she was promoted to assistant professor at Brooklyn College. In 1967, she was made the chair of the department of Classics and Comparative Literature. From 1965 to 1971, she was the associate editor for Classical World. Wolfe was involved in the creation of the Humanities institute at Brooklyn College in the 1970s. In 1982, she became a provost and vice president of academic affairs at Brooklyn College. When Wolfe retired from Brooklyn College, the humanities institute there was named the Ethyle R. Wolfe Humanities Institute in her honor. In 1990, she was one of the winners of the Charles Frankel Prize given by the National Endowment for the Humanities. Wolfe died on May 6, 2010. References 1919 births 2010 deaths American women academics Brooklyn College faculty National Humanities Medal recipients New York University alumni People from Burlington, Vermont University of Vermont alumni 21st-century American women
Plop Goes the Weasel! is a 1953 Warner Bros. Looney Tunes cartoon, directed by Robert McKimson and produced by Edward Selzer. The cartoon was released on August 22, 1953, and features Foghorn Leghorn and the Barnyard Dawg. The title is a pun on the song title "Pop Goes the Weasel". The tune is played during the intro and in subsequent cartoons involving the weasel vs Foghorn. Plot The story begins with a wanted poster for a weasel with the subtitle "WEASEL (CHICKEN THIEF)." The Dawg is seen guarding the hen house by marching back and forth. Foghorn, who is on the other side of the wire fence, states to the audience that the Dawg is "strictly G.I.", meaning "Gibbering Idiot," not to mention the fact that he's being stubborn as a donkey. Foghorn distracts the Dawg by deliberately letting a young chick escape from the barnyard. As the dog chases the chick around, Foghorn allows a second chick to escape. Then, as the Dawg gives chase, Foghorn props himself on the wire fence and lifts his feet, allowing all of the chicks to run free. As the Dawg realizes he's being tricked, he shouts at Foghorn to "Hey, cut that out!" and collects all of the chicks, even using his tail to scoop up a dropped one when the weasel appears. The Dawg, in order to open the gate to the barnyard, inadvertently asks the weasel to hold on to the chicks. Realizing he just spoke to the weasel, he lifts it up, deposits the chicks back in the yard, and then kicks the weasel away, causing it to yelp repeatedly. Foghorn continues to mock the Dawg by removing a knot and then push a chick through a knothole in the fence. As the chick escapes, the weasel catches it but then the Dawg catches the weasel and takes back the chick. Foghorn then goes outside of the fence and demands that the Dawg put him back inside. The Dawg obliges by furiously stuffing Foghorn through the knothole, and using a wooden stick to force him through to the inside for tricking him before. Foghorn then conspires to get a large chicken (a "Red Island Rhode") if the weasel will wait. Foghorn then cracks a barrel of syrup over the Dawg and covers him with pillow feathers, then alerts the weasel, who takes the dog back to his den and begins to rip the feathers from the Dawg's ankle. The Dawg snaps that he is not a chicken and offers to team up with the weasel to help him catch Foghorn. The Dawg lures Foghorn over a wooden fence then the weasel hits Foghorn with a mallet. A dazed Foghorn appears intoxicated and is challenged by the Dawg to walk a straight line. Foghorn complies but as he does so one of his legs falls into the weasel's den. The weasel begins to cook Foghorn's foot on a hot skillet and Foghorn begins to shriek. The Dawg appears for a moment to sympathize with Foghorn, but then puts on earmuffs so that he cannot hear Foghorn as the cartoon irises out. Voice cast and additional crew Mel Blanc voices Foghorn Leghorn, Barnyard Dog, Weasel Production manager: John W. Burton Film edited by Treg Brown Uncredited animation by Keith Darling References External links 1953 films 1953 short films 1953 comedy films 1953 animated films 1950s American animated films 1950s animated short films 1950s English-language films 1950s Warner Bros. animated short films Looney Tunes shorts Barnyard Dawg films Foghorn Leghorn films Films about weasels Animated films set on farms Films set in 1953 Films directed by Robert McKimson Films scored by Carl Stalling Warner Bros. Cartoons animated short films
Keum-boo (also Geumbu, Kum-Boo or Kum-bu—Korean "attached gold") is an ancient Korean gilding technique used to apply thin sheets of gold to silver, to make silver-gilt. Traditionally, this technique is accomplished by first depleting a surface of sterling silver to bring up a thin layer of fine silver. Then 24 carat gold foil is applied with heat and pressure—mechanical gilding—to produce a permanent diffusion bond. Pure precious metals such as gold and silver have a very similar atomic structure and therefore have a good potential for bonding. Heating these metals to a temperature between 260–370°C increases the movement of the atoms. When pressure is added, this causes an electron exchange at the surface between the two metals, creating a permanent diffusion bond. This diffusion bond occurs far below the soldering temperature for either metal (Dhein, 2004). Examples of this technique have probably been observed, but not positively identified on pieces from the second half of the first millennium B.C. and from the early first millennium A.D. (Oddy, 1981). This technique is used in many cultures, including Chinese, Japanese and in the West to bond gold to other metals, including iron, copper, aluminum, gold alloys, white gold, palladium and platinum. Foil made from gold alloys can be applied to silver and other metals by first depletion gilding the surface of the foil (Lewton-Brain, 1987–1993). See also Art movement Creativity techniques List of art media List of artistic media List of art movements List of most expensive paintings List of most expensive sculptures List of art techniques List of sculptors References Dhein, Christine (2004). "Keum-Boo Pillow Pendant" Oddy, Andrew (1981). "Gilding Through the Ages" Lewton-Brain, Charles (1987–1993). "Keum-Boo" Korean Kum-Boo Metalwork, Traditional Arts Program Notes, 1998, Department of Anthropology, California Academy of Sciences. Artistic techniques Gold Metal plating Korean art
A Toast to Those Who Are Gone is a 1986 compilation album of recordings that Phil Ochs made in the early to mid-1960s, mostly between his contracts with Elektra Records and A&M Records. In line with recordings made on the former, Ochs espouses his left-leaning views on civil rights on songs like "Ballad of Oxford", "Going Down To Mississippi" and "Colored Town", his views on worker's rights on "No Christmas in Kentucky", his attack on the American Medical Association on "A.M.A. Song", and the unwilling hero (perhaps Ochs himself) on the title track. The CD carried an extra track, "The Trial", and the liner notes were by noted Ochs fan Sean Penn. Track listing All songs by Phil Ochs. "Do What I Have to Do" – 2:36 "The Ballad of Billie Sol" – 2:24 "Colored Town" – 3:00 "A.M.A. Song" – 2:17 "William Moore" – 3:07 "Paul Crump" – 3:34 "Going Down To Mississippi" – 3:04 "I'll Be There" – 2:10 "Ballad of Oxford (Jimmy Meredith)"  – 2:51 "No Christmas in Kentucky" – 3:04 "A Toast to Those Who Are Gone" – 3:31 "I'm Tired" – 2:20 "City Boy" – 1:58 "Song of My Returning" – 5:17 "The Trial" – 2:44 Bonus track on CD only Personnel Phil Ochs – guitar, vocals A. N. Other – bass, piano, guitar, mandolin References Phil Ochs compilation albums 1986 compilation albums Rhino Records compilation albums
```processing /* Andor Salga Processing Compliant KDE */ void setup(){ size(300, 300); noStroke(); background(255); } void circle(int i){ if(i == 15) return; fill(255, 255, 0); if(i%2==0){fill(0, 0, 255);} int j = (i > 7) ? -10 : 10; translate(j, 0); ellipse(0, 0, 260 - (i*20), 260 - (i*20)); circle(i+1); } void draw(){ translate(width/2, height/2); rotate(frameCount/50.0f); translate(-10, 0); circle(0); } ```
Bicycle taxi may refer to: Boda-boda Cycle rickshaw
is the third indie single released by Japanese pop rock band Scandal. It was limited to 2,000 copies, came in a CD+DVD format only, and was exclusive to Tower Records in Japan. It was sold on Scandal's United States tour. The single reached #122 on the Oricon weekly chart and charted for one week, selling 586 copies. Track listing CD DVD References 2008 singles Scandal (Japanese band) songs Songs written by Tomomi Ogawa
John Cripps may refer to: John Marten Cripps, English traveller and antiquarian John Cripps (journalist), British journalist John Cripps (horticulturalist), British-Australian horticulturalist See also John Cripps Pembrey Jnr
Desiree Coleman aka Kadesh (From, Jamaica, Queens, New York, United States) is an American vocalist and actress. She was the leading actress in Chloe Kane, a feature film directed by Farzam Salami. Coleman is also the founder of Love Culture Center in Los Angeles, California. Coleman is the ex-wife of former professional basketball player and former head coach of the NBA's Golden State Warriors, Mark Jackson. Coleman came on the scene replacing Tisha Campbell in the longest running Off-Broadway musical production of Mama, I Want to Sing!, in 1983. Coleman discovered her ability to sing at the age of six. Desiree's mother on hearing her daughter's voice encouraged her to join the St. Luke Baptist Church choir in Queens, New York. During her growing years, she did several commercials and by age fourteen became a part of a community choir called the Soul Searchers of New York City. In 2006, Coleman recorded a song with WWE called, "Holla", which later became the entrance music for WWE Diva, Kelly Kelly. Discography 1988 – Desiree References External links 1966 births Living people 20th-century American actresses Actresses from New York City American sopranos Motown artists American soul singers American gospel singers Musicians from Queens, New York 21st-century American women singers 21st-century American singers
Rushana Nurjavova (born 22 June 1994) is a Turkmen judoka. She competed at the 2016 Summer Olympics in the women's 57 kg event, in which she was eliminated in the first round by Hedvig Karakas. References 1994 births Living people Turkmenistan female judoka Olympic judoka for Turkmenistan Judoka at the 2016 Summer Olympics
```c /* packet-rip.c * Routines for RIPv1 and RIPv2 packet disassembly * RFC1058 (STD 34), RFC1388, RFC1723, RFC2453 (STD 56) * * RFC2082 ( Keyed Message Digest Algorithm ) * Emanuele Caratti <wiz@iol.it> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * * This program is free software; you can redistribute it and/or * as published by the Free Software Foundation; either version 2 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define NEW_PROTO_TREE_API #include "config.h" #include <epan/packet.h> #include <epan/expert.h> #include <epan/prefs.h> #include <epan/to_str.h> #define UDP_PORT_RIP 520 #define RIPv1 1 #define RIPv2 2 void proto_register_rip(void); static const value_string version_vals[] = { { RIPv1, "RIPv1" }, { RIPv2, "RIPv2" }, { 0, NULL } }; static const value_string command_vals[] = { { 1, "Request" }, { 2, "Response" }, { 3, "Traceon" }, { 4, "Traceoff" }, { 5, "Vendor specific (Sun)" }, { 0, NULL } }; #define AFVAL_UNSPEC 0 #define AFVAL_IP 2 static const value_string family_vals[] = { { AFVAL_UNSPEC, "Unspecified" }, { AFVAL_IP, "IP" }, { 0, NULL } }; #define AUTH_IP_ROUTE 1 #define AUTH_PASSWORD 2 #define AUTH_KEYED_MSG_DIGEST 3 static const value_string rip_auth_type[] = { { AUTH_IP_ROUTE, "IP Route" }, { AUTH_PASSWORD, "Simple Password" }, { AUTH_KEYED_MSG_DIGEST, "Keyed Message Digest" }, { 0, NULL } }; #define RIP_HEADER_LENGTH 4 #define RIP_ENTRY_LENGTH 20 #define MD5_AUTH_DATA_LEN 16 static gboolean pref_display_routing_domain = FALSE; void proto_reg_handoff_rip(void); static dissector_handle_t rip_handle; static header_field_info *hfi_rip = NULL; #define RIP_HFI_INIT HFI_INIT(proto_rip) static header_field_info hfi_rip_command RIP_HFI_INIT = { "Command", "rip.command", FT_UINT8, BASE_DEC, VALS(command_vals), 0, "What type of RIP Command is this", HFILL }; static header_field_info hfi_rip_version RIP_HFI_INIT = { "Version", "rip.version", FT_UINT8, BASE_DEC, VALS(version_vals), 0, "Version of the RIP protocol", HFILL }; static header_field_info hfi_rip_routing_domain RIP_HFI_INIT = { "Routing Domain", "rip.routing_domain", FT_UINT16, BASE_DEC, NULL, 0, "RIPv2 Routing Domain", HFILL }; static header_field_info hfi_rip_ip RIP_HFI_INIT = { "IP Address", "rip.ip", FT_IPv4, BASE_NONE, NULL, 0, NULL, HFILL}; static header_field_info hfi_rip_netmask RIP_HFI_INIT = { "Netmask", "rip.netmask", FT_IPv4, BASE_NETMASK, NULL, 0, NULL, HFILL}; static header_field_info hfi_rip_next_hop RIP_HFI_INIT = { "Next Hop", "rip.next_hop", FT_IPv4, BASE_NONE, NULL, 0, "Next Hop router for this route", HFILL}; static header_field_info hfi_rip_metric RIP_HFI_INIT = { "Metric", "rip.metric", FT_UINT16, BASE_DEC, NULL, 0, "Metric for this route", HFILL }; static header_field_info hfi_rip_auth RIP_HFI_INIT = { "Authentication type", "rip.auth.type", FT_UINT16, BASE_DEC, VALS(rip_auth_type), 0, "Type of authentication", HFILL }; static header_field_info hfi_rip_auth_passwd RIP_HFI_INIT = { "Password", "rip.auth.passwd", FT_STRING, BASE_NONE, NULL, 0, "Authentication password", HFILL }; static header_field_info hfi_rip_family RIP_HFI_INIT = { "Address Family", "rip.family", FT_UINT16, BASE_DEC, VALS(family_vals), 0, NULL, HFILL }; static header_field_info hfi_rip_route_tag RIP_HFI_INIT = { "Route Tag", "rip.route_tag", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }; static header_field_info hfi_rip_zero_padding RIP_HFI_INIT = { "Zero adding", "rip.zero_padding", FT_STRING, BASE_NONE, NULL, 0, "Authentication password", HFILL }; static header_field_info hfi_rip_digest_offset RIP_HFI_INIT = { "Digest Offset", "rip.digest_offset", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }; static header_field_info hfi_rip_key_id RIP_HFI_INIT = { "Key ID", "rip.key_id", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }; static header_field_info hfi_rip_auth_data_len RIP_HFI_INIT = { "Auth Data Len", "rip.auth_data_len", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }; static header_field_info hfi_rip_auth_seq_num RIP_HFI_INIT = { "Seq num", "rip.seq_num", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }; static header_field_info hfi_rip_authentication_data RIP_HFI_INIT = { "Authentication Data", "rip.authentication_data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }; static gint ett_rip = -1; static gint ett_rip_vec = -1; static gint ett_auth_vec = -1; static expert_field ei_rip_unknown_address_family = EI_INIT; static void dissect_unspec_rip_vektor(tvbuff_t *tvb, int offset, guint8 version, proto_tree *tree); static void dissect_ip_rip_vektor(tvbuff_t *tvb, int offset, guint8 version, proto_tree *tree); static gint dissect_rip_authentication(tvbuff_t *tvb, int offset, proto_tree *tree); static int dissect_rip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { int offset = 0; proto_tree *rip_tree = NULL; proto_item *ti; guint8 command; guint8 version; guint16 family; gint trailer_len = 0; gboolean is_md5_auth = FALSE; col_set_str(pinfo->cinfo, COL_PROTOCOL, "RIP"); col_clear(pinfo->cinfo, COL_INFO); command = tvb_get_guint8(tvb, 0); version = tvb_get_guint8(tvb, 1); col_set_str(pinfo->cinfo, COL_PROTOCOL, val_to_str_const(version, version_vals, "RIP")); col_add_str(pinfo->cinfo, COL_INFO, val_to_str(command, command_vals, "Unknown command (%u)")); ti = proto_tree_add_item(tree, hfi_rip, tvb, 0, -1, ENC_NA); rip_tree = proto_item_add_subtree(ti, ett_rip); proto_tree_add_uint(rip_tree, &hfi_rip_command, tvb, 0, 1, command); proto_tree_add_uint(rip_tree, &hfi_rip_version, tvb, 1, 1, version); if (version == RIPv2 && pref_display_routing_domain == TRUE) proto_tree_add_uint(rip_tree, &hfi_rip_routing_domain, tvb, 2, 2, tvb_get_ntohs(tvb, 2)); /* skip header */ offset = RIP_HEADER_LENGTH; /* zero or more entries */ while (tvb_reported_length_remaining(tvb, offset) > trailer_len ) { family = tvb_get_ntohs(tvb, offset); switch (family) { case AFVAL_UNSPEC: /* Unspecified */ /* * There should be one entry in the request, and a metric * of infinity, meaning "show the entire routing table". */ dissect_unspec_rip_vektor(tvb, offset, version, rip_tree); break; case AFVAL_IP: /* IP */ dissect_ip_rip_vektor(tvb, offset, version, rip_tree); break; case 0xFFFF: if( offset == RIP_HEADER_LENGTH ) { trailer_len=dissect_rip_authentication(tvb, offset, rip_tree); is_md5_auth = TRUE; break; } if(is_md5_auth && tvb_reported_length_remaining(tvb, offset) == 20) break; /* Intentional fall through: auth Entry MUST be the first! */ default: proto_tree_add_expert_format(rip_tree, pinfo, &ei_rip_unknown_address_family, tvb, offset, RIP_ENTRY_LENGTH, "Unknown address family %u", family); break; } offset += RIP_ENTRY_LENGTH; } return tvb_captured_length(tvb); } static void dissect_unspec_rip_vektor(tvbuff_t *tvb, int offset, guint8 version, proto_tree *tree) { proto_tree *rip_vektor_tree; guint32 metric; metric = tvb_get_ntohl(tvb, offset+16); rip_vektor_tree = proto_tree_add_subtree_format(tree, tvb, offset, RIP_ENTRY_LENGTH, ett_rip_vec, NULL, "Address not specified, Metric: %u", metric); proto_tree_add_item(rip_vektor_tree, &hfi_rip_family, tvb, offset, 2, ENC_BIG_ENDIAN); if (version == RIPv2) { proto_tree_add_item(rip_vektor_tree, &hfi_rip_route_tag, tvb, offset+2, 2, ENC_BIG_ENDIAN); proto_tree_add_item(rip_vektor_tree, &hfi_rip_netmask, tvb, offset+8, 4, ENC_BIG_ENDIAN); proto_tree_add_item(rip_vektor_tree, &hfi_rip_next_hop, tvb, offset+12, 4, ENC_BIG_ENDIAN); } proto_tree_add_uint(rip_vektor_tree, &hfi_rip_metric, tvb, offset+16, 4, metric); } static void dissect_ip_rip_vektor(tvbuff_t *tvb, int offset, guint8 version, proto_tree *tree) { proto_tree *rip_vektor_tree; guint32 metric; metric = tvb_get_ntohl(tvb, offset+16); rip_vektor_tree = proto_tree_add_subtree_format(tree, tvb, offset, RIP_ENTRY_LENGTH, ett_rip_vec, NULL, "IP Address: %s, Metric: %u", tvb_ip_to_str(tvb, offset+4), metric); proto_tree_add_item(rip_vektor_tree, &hfi_rip_family, tvb, offset, 2, ENC_BIG_ENDIAN); if (version == RIPv2) { proto_tree_add_item(rip_vektor_tree, &hfi_rip_route_tag, tvb, offset+2, 2, ENC_BIG_ENDIAN); } proto_tree_add_item(rip_vektor_tree, &hfi_rip_ip, tvb, offset+4, 4, ENC_BIG_ENDIAN); if (version == RIPv2) { proto_tree_add_item(rip_vektor_tree, &hfi_rip_netmask, tvb, offset+8, 4, ENC_BIG_ENDIAN); proto_tree_add_item(rip_vektor_tree, &hfi_rip_next_hop, tvb, offset+12, 4, ENC_BIG_ENDIAN); } proto_tree_add_uint(rip_vektor_tree, &hfi_rip_metric, tvb, offset+16, 4, metric); } static gint dissect_rip_authentication(tvbuff_t *tvb, int offset, proto_tree *tree) { proto_tree *rip_authentication_tree; guint16 authtype; guint32 digest_off, auth_data_len; auth_data_len = 0; authtype = tvb_get_ntohs(tvb, offset + 2); rip_authentication_tree = proto_tree_add_subtree_format(tree, tvb, offset, RIP_ENTRY_LENGTH, ett_rip_vec, NULL, "Authentication: %s", val_to_str( authtype, rip_auth_type, "Unknown (%u)" ) ); proto_tree_add_uint(rip_authentication_tree, &hfi_rip_auth, tvb, offset+2, 2, authtype); switch ( authtype ) { case AUTH_PASSWORD: /* Plain text password */ proto_tree_add_item(rip_authentication_tree, &hfi_rip_auth_passwd, tvb, offset+4, 16, ENC_ASCII|ENC_NA); break; case AUTH_KEYED_MSG_DIGEST: /* Keyed MD5 rfc 2082 */ digest_off = tvb_get_ntohs( tvb, offset+4 ); proto_tree_add_item( rip_authentication_tree, &hfi_rip_digest_offset, tvb, offset+4, 2, ENC_BIG_ENDIAN); proto_tree_add_item( rip_authentication_tree, &hfi_rip_key_id, tvb, offset+6, 1, ENC_NA); auth_data_len = tvb_get_guint8( tvb, offset+7 ); proto_tree_add_item( rip_authentication_tree, &hfi_rip_auth_data_len, tvb, offset+7, 1, ENC_NA); proto_tree_add_item( rip_authentication_tree, &hfi_rip_auth_seq_num, tvb, offset+8, 4, ENC_BIG_ENDIAN); proto_tree_add_item( rip_authentication_tree, &hfi_rip_zero_padding, tvb, offset+12, 8, ENC_NA); rip_authentication_tree = proto_tree_add_subtree( rip_authentication_tree, tvb, offset-4+digest_off, MD5_AUTH_DATA_LEN+4, ett_auth_vec, NULL, "Authentication Data Trailer" ); proto_tree_add_item( rip_authentication_tree, &hfi_rip_authentication_data, tvb, offset-4+digest_off+4, MD5_AUTH_DATA_LEN, ENC_NA); break; } return auth_data_len; } void proto_register_rip(void) { #ifndef HAVE_HFI_SECTION_INIT static header_field_info *hfi[] = { &hfi_rip_command, &hfi_rip_version, &hfi_rip_routing_domain, &hfi_rip_ip, &hfi_rip_netmask, &hfi_rip_next_hop, &hfi_rip_metric, &hfi_rip_auth, &hfi_rip_auth_passwd, &hfi_rip_family, &hfi_rip_route_tag, &hfi_rip_zero_padding, &hfi_rip_digest_offset, &hfi_rip_key_id, &hfi_rip_auth_data_len, &hfi_rip_auth_seq_num, &hfi_rip_authentication_data, }; #endif /* HAVE_HFI_SECTION_INIT */ static gint *ett[] = { &ett_rip, &ett_rip_vec, &ett_auth_vec, }; static ei_register_info ei[] = { { &ei_rip_unknown_address_family, { "rip.unknown_address_family", PI_PROTOCOL, PI_WARN, "Unknown address family", EXPFILL }}, }; expert_module_t* expert_rip; module_t *rip_module; int proto_rip; proto_rip = proto_register_protocol("Routing Information Protocol", "RIP", "rip"); hfi_rip = proto_registrar_get_nth(proto_rip); proto_register_fields(proto_rip, hfi, array_length(hfi)); proto_register_subtree_array(ett, array_length(ett)); expert_rip = expert_register_protocol(proto_rip); expert_register_field_array(expert_rip, ei, array_length(ei)); rip_module = prefs_register_protocol(proto_rip, proto_reg_handoff_rip); prefs_register_bool_preference(rip_module, "display_routing_domain", "Display Routing Domain field", "Display the third and forth bytes of the RIPv2 header as the Routing Domain field (introduced in RFC 1388 [January 1993] and obsolete as of RFC 1723 [November 1994])", &pref_display_routing_domain); rip_handle = create_dissector_handle(dissect_rip, proto_rip); } void proto_reg_handoff_rip(void) { dissector_add_uint("udp.port", UDP_PORT_RIP, rip_handle); } /* * Editor modelines - path_to_url * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */ ```
The Gateway School District is a large, suburban, public school district located in Monroeville, Pennsylvania. It also serves residents of Pitcairn. Gateway School District encompasses approximately . Per the 2000 federal census data, the Gateway School District serves a resident population of 33,038. By 2010, the district's population was 31,686 people. In 2009, the District residents' per capita income was $22,998, while the median family income was $51,250. In the Commonwealth, the median family income was $49,501 and the United States median family income was $49,445, in 2010. By 2013, the median household income in the United States rose to $52,100. Schools All students in the district attend Gateway High School for 9th grade to 12th grade. Depending on the location of their home, students in kindergarten through grade four attend either: Evergreen Elementary School, Dr. Cleveland Steward, Jr. Elementary School, Ramsey Elementary School, or University Park Elementary School. Evergreen Elementary School - 3831 Evergreen Drive, Monroeville, PA 15146. Report Card 2010 Dr. Cleveland Steward, Jr. Elementary School- 5000 Gateway Campus Boulevard, Monroeville, PA 15146. Report Card 2010 Ramsey Elementary School - 2200 Ramsey Road, Monroeville, PA 15146. Report Card 2010 University Park Elementary School - 320 Noel Drive, Monroeville, PA 15146. Report Card 2010 Moss Side Middle School - Grades 5, 6, 7 & 8 (for 2021-2022 and 2022-2023 school year), 9000 Gateway Campus Boulevard, Monroeville, PA 15146. Report Card 2010 Gateway Middle School - Grades 5, 6, 7 & 8 (expected opening January 2024), 4450 Old William Penn Highway, Monroeville, PA 15146 Report Card 2010 Gateway High School - 3000 Gateway Campus Boulevard, Monroeville, PA 15146 Extracurriculars The district offers a variety of clubs, activities and sports. Athletics The mascot of the school district is the Gateway Gator, a stylized alligator. Gateway Middle School Beginning in 7th grade, at Gateway Middle School, Gateway School District offers competitive play in several sports while representing the district and their specific school. While athletics conducted by the middle school are not WPIAL/PIAA recognized and therefore do not offer playoffs/championships, they do serve as the first introduction to competition on an interscholastic basis for many student-athletes, preparing them for high school competition where much more may be expected of them. Gateway High School Gateway High School is recognized as a member of the Pennsylvania Interscholastic Athletic Association (P.I.A.A.) on the state level. Within the PIAA, Gateway competes in the Western Pennsylvania Interscholastic Athletic League (W.P.I.A.L.), otherwise known as "District 7", on the regional level. On October 7, 2015, the PIAA voted to expand the classification system for football, basketball, baseball, and softball from four to six classifications. The vote for football passed by a 26–4 vote, while the vote for basketball, baseball, and softball passed by a 23–7 vote. All other sports still operate on the PIAA's original scale of four classifications. While most sports offered by the high school are competitive and recognized by the PIAA/WPIAL, some are noncompetitive and are not recognized by the PIAA/WPIAL, and others are combination of both. Sports Offered/Classifications Gateway High School offers a plethora of athletic programs. PIAA/WPIAL-recognized programs offered include cross country, football, golf, soccer, tennis, volleyball, basketball, swimming and diving, indoor track, track and field, wrestling, baseball, softball, volleyball, bowling, and lacrosse. Programs that are not PIAA/WPIAL-recognized include ice hockey and cheerleading, and therefore have no classification. Both of these programs are considered "clubs" and may or may not compete competitively while not being recognized as a school-supported sport. Per the aforementioned PIAA ruling, size classification for football, basketball, baseball, and softball sports is "AAAAA" (Five-A), which is the second largest of the six classifications (A, AA, AAA, AAAA, AAAAA, and AAAAAA). With the exception of lacrosse, size classification for all other PIAA/WPIAL-recognized programs is "AAA" (Triple-A), which is the second largest of the four classifications (A, AA, AAA, and AAAA). Lacrosse is a relatively new athletics program at Gateway High School, with its inaugural season being in 2011. Since then, officials worked hard to push for it to become a PIAA/WPIAL-recognized sport after initially operating as a club, which they eventually achieved. The Gateway High School lacrosse program is in the "AA" size classification, which is the third largest of the four classifications (A, AA, AAA, and AAAA). Clubs Gateway High School offers many clubs for its students to join. Gateway's Student Councils and Student Governments play a large role in student life. They are in charge of all school dances, fund-raisers, school spirit activities, and also attend and host various leadership workshops and conferences through the Pennsylvania Association of Student Councils. Gateway also competes in the FIRST Robotics Competition, an annual event for high-school aged participants. Gateway's team, Quasics, is FRC Team #2656. They have competed annually at the Pittsburgh Regional since 2008, and won the 2023 regional. Robotics Mr. Chalus and Mr. Reese are the founding teachers of the Gateway Middle School Robotics club. Lego Mindstorms are used for robotic competitions by the robotics club at Gateway Middle School. History Before 1948, Monroeville students could choose to attend nearby schools on a tuition basis. In the mid-1950s, the districts joined and began making plans for a new senior high school. Official action began February 1956, breaking ground in January 1957. The joint School Board selected the name of Gateway Senior High School. By September 1958, 900 students from Monroeville and Pitcairn were occupying the new high school. The first graduating class of 196 students received their diplomas in June 1959. For the next 25 years, grades 10-11-12 would attend school in the high school. 1983 marked the beginning of a new era at Gateway. Ninth grade was moved to the high school, South Junior High School became the Gateway Upper Elementary (5-6), and Monroeville Junior High School became Gateway Junior High School (7-8). Eleven years later, in 1994, Gateway Upper Elementary became the Moss Side Middle School (5-6), and Gateway Junior High School became Gateway Middle School (7-8). In 2007, the district completed its reconstruction and expansion of the high school complex. This complex includes the Monroeville Public Library, Pete Antimarino Football Stadium, the high school, Moss Side Middle School, administration offices, and various other multi-use sports fields. References External links Gateway School District Official Website Gateway Athletics & Football Website Gateway Alumni Website Gateway Band Website School districts established in 1958 School districts in Allegheny County, Pennsylvania Education in the Pittsburgh metropolitan area 1958 establishments in Pennsylvania
The 1917 Stanley Cup Finals was contested by the Pacific Coast Hockey Association (PCHA) champion Seattle Metropolitans and the National Hockey Association (NHA) and Stanley Cup defending champion Montreal Canadiens. Seattle defeated Montreal three games to one in a best-of-five game series to become the first team from the United States to win the Cup. The series was also the first Stanley Cup Finals to be played in the United States, and the last Stanley Cup Finals to not feature a National Hockey League team, as the NHA rebranded as the NHL in November 1917. Paths to the Finals Seattle won the PCHA title after finishing the 1916–17 regular season in first place with a 16–8 record. Meanwhile, Montreal, who was the champion of the first half of the NHA season, advanced to the final series after narrowly defeating the Ottawa Senators, 7–6, in a two-game total-goals playoff series to end the 1916–17 NHA season. Bracket Game summaries The games of the Finals were played at the Seattle Ice Arena. Games one and three were played under PCHA seven-man rules; games two and four were played under NHA six-man rules. Bernie Morris scored 14 of Seattle's 23 total goals for the series, including six in their 9–1 victory in game four. Future Hockey Hall of Fame goaltender Hap Holmes recorded a 2.90 goals-against average for the Mets. Montreal Canadiens NHA champion roster - George Vezina goalie, Bert Corbeau defence, Harry Mummery defence, Edouard "Newsy" Lalonde (Captain) Center-Rover Tommy Smith center, Didier Pitre right wing, Reginald "Reg" Noble left wing, Jack Laviolette left wing, Louis Berlinguette left wing, Wilfred "Billy" Coutu defence spares - Sarsfield "Steve" Malone center, George "Skinner" Poulin center, Jules Rochon - defence Harold "Hal" McNamara defence Dave Majors defence, Arthur Brooks defence, Joe Maltais right wing, U.P. Boulder (President), George "Kennedy" Kendall (Owner/Manager-Coach), Seattle Metropolitans PCHA champion roster - Harry "Happy" Holmes goalie, Roy Rickey defence, Everard "Ed" Carpenter defence, Jack Walker rover-right wing, Bernie Morris center, Frank Foyston (Captain) left wings, Jim Riley left wing, Bobby "Stubby" Rowe defence, Carol "Cully" Wilson right wing, Pete Muldoon (Owner/Manager-Coach). Game one In game one, Didier Pitre scored four goals as he led the Canadiens to an 8–4 victory. Pitre opened the scoring in the third minute before Morris tied it four minutes later. Jack Laviolette scored twenty seconds later to put the Canadiens ahead, followed by Pitre to put the Canadiens ahead 3–1 after one period. Con Corbeau and Newsy Lalonde scored in the second to put the Canadiens ahead 5–1 after two periods. In the third, Morris and Frank Foyston scored to bring Seattle within two goals, before Pitre scored again. Morris scored to make it 6–4 before Pitre and Corbeau scored to make the final score 8–4. Game two Seattle tied the series with a convincing win played under NHA hockey rules. Morris opened the scoring at nine minutes of the first period. Wilson scored to make it 2–0 for Seattle after the first period. Morris and Foyston scored in the second to put Seattle up 4–0 after two periods. Frank Foyston then scored twice in the third period to complete his hat trick and give Seattle a lead of 6–0. Seattle then played defensively but Tommy Smith scored in the final minutes for the Canadiens to spoil the shutout. Frustration boiled over at the start of the third period with a fight between Roy Rickey and Billy Coutu before Harry Mummery jumped into the fray. Game three The game was played at a fast clip with no goals before Morris scored after ten minutes. Montreal's goaltender Georges Vézina made several big saves in the second to hold Seattle off from scoring. Coutu and Rickey had their third fight of the series and Coutu was given a twenty-minute penalty and Rickey a ten-minute period. The Canadiens held off Seattle in an ensuing power play to end the second with Seattle holding a one-goal lead. In the third, Foyston scored after five minutes and Morris scored a quick pair of goals to give Seattle a 4–0 lead. Game four In an individual rush, Morris put the Mets ahead early in the first period. The Canadiens tried to fight back, but were stymied by the defences of Seattle. Seattle scored three times in the second period to put the game out of reach. In the third, the onslaught continued, as the Mets led 7–0 before Laviolette scored to break the shut out. Stanley Cup engraving The 1917 Stanley Cup was presented by the trophy's trustee William Foran. The Metropolitans never did engrave their name on the Cup for their championship season. It was not until the trophy was redesigned in 1948 that the words "1917 Seattle Metropolitans" was put onto its then-new collar. The following Metropolitans players and staff were members of the Stanley Cup winning team. 1916–17 Seattle Metropolitans Banner The Seattle Kraken revealed and hung a banner in honor of their forerunners' achievement on October 27, 2021, the night they hosted the Canadiens for the first time; if one does not include a 1961 exhibition game against the Seattle Totems, the Canadiens had not played a game of professional hockey in Seattle in 102 years – since the 1919 Stanley Cup Finals that was never completed due to the Spanish flu pandemic. See also 1916–17 NHA season 1916–17 PCHA season References Notes Stanley Cup Finals Stanley Cup Stanley Cup Stan Stan Ice hockey in Seattle Montreal Canadiens games Seattle Metropolitans games Stanley Cup Sports competitions in Seattle 1910s in Seattle Stanley Cup
Fort DeWolf was an American Civil War fort located just south of Shepherdsville, Kentucky. It was placed so that the L&N railroad would bisect the fort, to better protect the vital railroad bridge over the Salt River. See also American Civil War fortifications in Louisville Kentucky in the American Civil War Louisville in the American Civil War External links Fort DeWolf on 10000 Trails DeWolf Former buildings and structures in Louisville, Kentucky DeWolf Louisville, Kentucky, in the American Civil War Kentucky in the American Civil War Tourist attractions in Kentucky
Catarrhal Noise is a thrash metal and metal boaro band from Noale, Veneto, Italy. The band was founded in September 1994, when Albyzzo and Ruzo (later known as Bullo) chose the name after a deep search inside an English dictionary. They sing in Venetian, that is very hard to understand for foreigners, and even for an Italian living outside Veneto. Moreover, their lyrics are off-the-wall, with a heavy use of colloquial terms: a common concept in their concerts is the one of rujo, that can be approximately translated as extreme rudeness and impoliteness and is often a term applied to people living in the country. The band was able to create a large following in Veneto and in other parts of northern Italy thanks to their highly energetic live shows. They have successfully given 300 concerts, alternating powerful metal songs with comic segments. On July 3, 2004 they even opened a concert for legendary thrash metal band Anthrax. Since then, they have headlined several important independent hard rock festival in Veneto, such as Monteciorock in Montecchio Maggiore, Rockonte in Villa del Conte and MarcOn Festival in Marcon. On October 17, 2007 singer Bullo announced that all the other members had left Catarrhal Noise. On 19 September 2015 Bullo put together the old formation of the band with Albyzzo, Pyzzo, Gifo and Pelle for the Mai Paura Day, a charity event in Dolo, and played as headliner. More than 10000 thousand people gathered for the special occasion. Members Current • Bullo (Daniele Russo) - voce • Albyzzo (Alberto Varosi) - chitarra • Massimo Cocchetto - basso • Luca Roveran - batteria Past Brazilian Bass aka Bras - bass, guitar Frankie Bello (Alberto Bello) - drums Gassolato - bass Giffo (Enrico Vallotto) - percussions Pelle - drums (previously vocals) Il Buttaz (Enrico Buttol) - drums Pyzzo (Andrea Giada) - bass Rocky Gio (Giovanni Gatto) - bass, guitar Regularly guest-starring on their albums and concerts was Herman Medrano, a Venetian rapper. Discography Studio albums Radio Rizzox (self-produced, 1997) Gli sbronzi di Rialto (self-produced, 1999) Basame el cueo (self-produced, 2001) Turboamerica (2002) Te spùo so 'na recia (2004) Basame el cueo Duplison Platinum Edition 2006 (2006) A porchettata (2006) Live albums Live in Villa Errera '95 (1996) Live in Home festival 2016(2016) Singles Tutti chiavano (ma io no) (self-produced, 1995) Benesso scute servis (self-produced, 2014) Uno 1000 Fire (self-produced, 2018) Sal San (self-produced, 2019) Demos 1996 Demo (self-produced, 1996) See also Nanowar of Steel Massacration Venetian language Veneto References External links Official site Fan club Italian thrash metal musical groups Italian rock music groups
HMS Mars was a 74-gun third-rate ship of the line of the Royal Navy, launched on 25 October 1794 at Deptford Dockyard. Career In the early part of the French Revolutionary Wars she was assigned to the Channel Fleet. In 1797 under Captain Alexander Hood she was prominent in the Spithead mutiny. In 1798 at the Battle of the Raz de Sein she fought a famous single-ship duel with the French seventy-four Hercule, in the dusk near the Pointe du Raz on the coast of Brittany. Hercule attempted to escape through the Passage du Raz but the tide was running in the wrong direction and she was forced to anchor, giving Captain Hood the chance to attack at close quarters. The two ships were of equal strength, but Hercule was newly commissioned; after more than an hour and a half of bloody fighting at close quarters she struck her flag, having lost over three hundred men. On Mars 31 men were killed and 60 wounded. Among the dead was Captain Hood. Mars fought at Trafalgar where she was heavily damaged as she took fire from five different French and Spanish seventy-fours. Among the 29 killed and 69 wounded in the action was her captain, George Duff. In 1806, on service in the Channel fleet she took part in an action off Chasseron which led to the capture of four French ships. She afterwards served off Portugal and in the Baltic Sea. Fate Mars was placed in ordinary from 1813. She was broken up in 1823. Notes References William James, Naval History of Great Britain, 1793–1827. Lavery, Brian (2003) The Ship of the Line - Volume 1: The development of the battlefleet 1650-1850. Conway Maritime Press. . External links Ships of the line of the Royal Navy Mars-class ships of the line Ships built in Deptford 1794 ships
The following are the events in professional sumo during 2003. Tournaments Hatsu basho Ryogoku Kokugikan, Tokyo, 12 January – 26 January Haru basho Osaka Prefectural Gymnasium, Osaka, 9 March – 23 March Natsu basho Ryogoku Kokugikan, Tokyo, 11 May – 25 May Nagoya basho Aichi Prefectural Gymnasium, Nagoya, 6 July – 20 July Aki basho Ryogoku Kokugikan, Tokyo, 7 September – 21 September Kyushu basho Fukuoka International Centre, Kyushu, 9 November – 23 November News January At the Hatsu basho in Tokyo, Takanohana, winner of 22 tournament championships, announces his retirement from sumo after eight years as a yokozuna, after suffering three defeats in the first seven days. He had suffered many injury problems and had only recently returned from a seven tournament layoff. His fellow yokozuna Musashimaru sits out the whole tournament after injuring his wrist in the previous tourney. Also missing are ozeki Kaio and Chiyotaikai, and Tochiazuma who drops out after five losses in a row. In their absence, ozeki Asashoryu wins his second successive makuuchi division championship, with a 14–1 record, and is promoted to yokozuna. He becomes the third foreigner, and first Mongolian, to reach sumo's highest rank. Komusubi Wakanosato, and maegashira Dejima and Tochinonada, are runners-up on 11–4. Wakanosato is awarded the Fighting Spirit prize along with Korean Kasugao. The juryo division championship is won by Asashoryu's stablemate Asasekiryu who defeats Buyuzan in a playoff. Former komusubi Ryogoku inherits the toshiyori name of Sakaigawa from former yokozuna Sadanoyama, and changes the name of his stable from Nakadachi to Sakaigawa stable. February Former sekiwake Takatoriki takes over the running of Otake stable from his father-in-law, former yokozuna Taiho. Former sekiwake Tochinowaka takes over the running of Kasugano stable from former yokozuna Tochinoumi. March At the Haru basho in Osaka, Chiyotaikai returns from injury to win his third top division championship with a 12–3 record. Asashoryu scores 10–5 in his debut tournament as a yokozuna, enough for the runner-up position alongside Kaio and maegashira Kyokushuzan and Hokutoriki. Musashimaru and Tochiazuma sit the tournament out. Musoyama pulls out after five losses in the first six days. Kyokushuzan's stablemate Kyokutenho wins the Fighting Spirit prize, and Takamisakari the Technique Award. Tochisakae wins the juryo championship. Veteran former komusubi Daizen retires after 22 years in sumo, as does former juryo wrestler Susanoumi, the heaviest Japanese rikishi ever at some 240 kg. May At the Natsu basho in Tokyo, Asashoryu takes his first championship as a yokozuna with a 13–2 record. Kaio is runner-up on 11–4, alongside maegashira Aminishiki who wins the Technique Prize. Chiyotaikai finishes on 10–5. Musōyama returns to preserve his ōzeki rank with an 8–7 record. He had been denied kosho seido status, with the Japan Sumo Association feeling that the system was being abused with Kaiō and Chiyotaikai both sitting out in January despite reportedly being fit enough to compete. Kyokushuzan wins the Outstanding Performance prize for his victory over Asashoryu, his first in six attempts. Kyokutenho receives the Fighting Spirit prize for the second tournament in a row, for his fine 10–5 score at komusubi, and is promoted to sekiwake for the first time. Tamakasuga wins the juryo championship and returns to the top division. Former sekiwake Akinoshima, who has been ranked continuously in makuuchi since July 1988 and is the last top division wrestler from the Shōwa era still active in sumo, retires at the age of 36 after a 6–9 score relegates him to juryo. 31: The danpatsu-shiki or retirement ceremony of popular former sekiwake Terao is held at the Kokugikan. June 1: Takanohana's retirement ceremony takes place at the Kokugikan. He performs the yokozuna dohyo-iri or ring entering ceremony for the last time, and his hair is cut by his uncle Wakanohana Kanji I, his brother Wakanohana Masaru, and finally his father Takanohana Kenshi. The event is broadcast live on Japanese television. July At the Nagoya basho, Kaio wins his fourth top division championship with a 12–3 record after defeating fellow ozeki Chiyotaikai on the final day. Chiyotaikai finishes runner-up on 11–4. Musashimaru returns for the first time since November 2002 but drops out once again with a recurrence of his wrist problem. Asashoryu also withdraws through injury. He had been disqualified from a bout earlier in the tournament after pulling on the chonmage of Mongolian rival Kyokushuzan, the first yokozuna ever to suffer a disqualification. The two wrestlers scuffle in the bathroom after the match, and Asashoryu also breaks the wing mirror of Kyokushuzan's car. Takamisakari, who had defeated both yokozuna, receives his first Outstanding Performance awarded Tokitsuumi receives his third Technique Prize. The juryo division championship is won by Kakizoe. September The Sumo Association chairman Kitanoumi holds a press conference and confirms the abolition of the kosho seido (public injury) system after the November 2003 tournament, and increasing the number of sekitori from January 2004 (42 from 40 in makuuchi and 28 from 26 in juryo). In the last year, 10 top division wrestlers and 11 juryo wrestlers received the status, the most ever, and the Sumo Association feels it was getting out of hand. In addition, Musōyama was refused kosho status after his injury in the March tournament was deemed to be an old shoulder injury, and yet still competed in May and got eight wins. At the Aki basho in Tokyo, Asashoryu wins his second championship as a yokozuna, third of the year, and fourth overall, with a 13–2 record. He finishes two wins ahead on a trio of wrestlers on 11–4: Chiyotaikai, sekiwake Wakanosato and maegashira Iwakiyama. Kaio, who had been told a 15–0 score was necessary for yokozuna promotion, can only manage 7–8. Musashimaru sits the tournament out. Wakanosato receives the Outstanding performance Award while Iwakiyama wins the Technique prize and Kyokutenho and Takamisakari share the Fighting spirit prize. Takekaze wins the juryo championship. November Former yokozuna Akebono announces he is leaving his oyakata position to become a K-1 fighter. At the Kyushu basho, Musashimaru retires after his second attempted comeback ends in failure, losing four matches in the first seven days. He is the last wrestler from Hawaii in sumo, a legacy that began with Takamiyama in 1964. Lower down the ranks, former maegashira Aogiyama and the American born Sentoryu also announce their retirements. Ozeki Tochiazuma wins the makuuchi championship, his second, with a score of 13–2. Asashoryu finishes in second place, one win behind, after losing to Tochiazuma on the final day. Veterans Tochinonada and Tosanoumi, with three wins over yokozuna between them in this basho, share the Outstanding Performance Prize. Tamanoshima wins the Fighting Spirit prize. In the juryo division Georgian Kokkai wins the championship with a fine 14–1 record and becomes the first Caucasian to be promoted to the top division. The makushita yusho is won by veteran Daimanazuru, with an unbeaten 7–0 score, who earns promotion to the sekitori ranks for the first time. Runner-up on 6–1 is the 18-year-old Mongolian Hakuho, who is also promoted to juryo. December Former maegashira Higonoumi branches out from Mihogaseki stable and opens up his own Kise stable. Deaths 28 April: Yamawake Oyakata, who as the former maegashira Tochifuji defeated Taiho in the yokozuna's final tournament in May 1971, dies aged 56. 17 July: Maeda Yoritaka, an apprentice at the Kitanoumi stable, aged 15, of Cardiomyopathy. He is the only sumo wrestler to have died without taking ever taking part in an official tournament. 17 December: Former komusubi Fujinishiki, also the former head of the Takasago stable, dies of liver disease aged 66. Asashoryu is criticised for not returning from Mongolia to attend his funeral. See also Glossary of sumo terms List of past sumo wrestlers List of years in sumo List of yokozuna References Sumo by year Sumo
Brian Sean Hurley (born 1963) is a United States Navy rear admiral who has served as the Director, Joint Service Provider of the Defense Information Systems Agency since June 5, 2019. Previously, he served as the Reserve Deputy Commander for Maritime Operations of the United States Fleet Forces Command. Raised in Galveston, Texas, Hurley earned a bachelor's degree from Texas A&M University in 1987. He transitioned to the Navy Reserve in 2000. References External links 1963 births Living people Place of birth missing (living people) People from Galveston, Texas Texas A&M University alumni United States Navy reservists Recipients of the Meritorious Service Medal (United States) Recipients of the Legion of Merit United States Navy admirals Recipients of the Defense Superior Service Medal Military personnel from Texas
```python # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import xacro import tempfile def to_urdf(xacro_path, parameters=None): """Convert the given xacro file to URDF file. * xacro_path -- the path to the xacro file * parameters -- to be used when xacro file is parsed. """ with tempfile.NamedTemporaryFile(prefix="%s_" % os.path.basename(xacro_path), delete=False) as xacro_file: urdf_path = xacro_file.name # open and process file doc = xacro.process_file(xacro_path, mappings=parameters) # open the output file with open(urdf_path, 'w') as urdf_file: urdf_file.write(doc.toprettyxml(indent=' ')) return urdf_path ```
The 1995–96 Purdue Boilermakers men's basketball team represented Purdue University as a member of the Big Ten Conference during the 1995–96 NCAA Division I men's basketball season. The team was led by Gene Keady and played its home games at Mackey Arena. Roster Schedule and results |- !colspan=9 style=| Non-conference regular season |- !colspan=9 style=| Big Ten regular season |- !colspan=9 style=| NCAA tournament Rankings NCAA infractions In 1997 the NCAA began investigating claims of recruiting infractions by Purdue. The Committee on Infractions alleged that assistant coach and top recruiter Frank Kendrick and Purdue booster Bill Powers arranged for a loan of $4,000 in 1995 to recruit Luther Clay. Clay's understanding was that he did not need to pay back the loan, and records show that no attempt was made to recover it. Additionally, Kendrick arranged for a booster to provide housing and transportation for former Boilermaker Porter Roberts' mother. Both claims are denied by Purdue (in the latter case specifically, that the booster was not a Purdue booster, and therefore allowed to provide services as he saw fit). Furthermore, the committee discovered that Kendrick made 15 calls to Jamaal Davis in 1996 and told him to lie about an improper ride he received during a campus visit. Davis signed with Purdue for the 1997–98 but didn't play his freshman year due to academic ineligibility. He would go on to play 12 games the following year before transferring to Cincinnati in 1999. In 1999 the NCAA Division I Committee on Infractions ruled that Purdue had violated laws involving recruiting, extra benefits, and ethical conduct, as well as several secondary violations in the women's basketball program. As a result, Purdue was to repay approximately $80,000 (reduced from around $900,000) in earnings it received from their 1996 NCAA tournament appearance. Purdue received two years probation and dissociation of 2 representatives of the university athletic interests and Kendrick was banned from off-campus recruiting for a year. The basketball program was to reduce the number of official recruiting visits from 12 to 4 per year for the 1999–2000 and 2000–01 seasons, and lost one scholarship (limiting them to 12 per season) for the 2000–01 and 2001–02 academic years. Kendrick was fined an undisclosed amount and was subject to an NCAA "show-cause" requirement for 1 year. Finally, Purdue was forced to forfeit the 24 games in which Luther Clay participated (18 regular season wins) and vacate its 2 NCAA games (1 win and 1 loss). The forfeited games would be recorded as losses for Purdue and wins for their opponent, whereas the vacated games would simply remove the result from Purdue's record with no change to the opponent's. The forfeits were among the steepest at the time. The Big Ten conference allowed Purdue to retain their title as regular season champions despite the change in conference records. Purdue maintains that none of Clay's on-court actions affected game outcomes, scoring only 60 points the entire season, including 13 points in 12 conference games. Clay would transfer to Rhode Island after one season with Purdue. Kendrick left the Purdue basketball program in 1999. The Big Ten had multiple basketball scandals around this time, including the University of Michigan basketball scandal and the University of Minnesota basketball scandal. See also 1996 NCAA Division I men's basketball tournament List of NCAA Division I institutions Notes References Purdue Boilermarkers Purdue Boilermakers men's basketball seasons Purd Purd Purdue
Eosinophilia is a condition in which the eosinophil count in the peripheral blood exceeds . Hypereosinophilia is an elevation in an individual's circulating blood eosinophil count above 1.5 × 109/L (i.e. 1,500/μL). The hypereosinophilic syndrome is a sustained elevation in this count above 1.5 × 109/L (i.e. 1,500/μL) that is also associated with evidence of eosinophil-based tissue injury. Eosinophils usually account for less than 7% of the circulating leukocytes. A marked increase in non-blood tissue eosinophil count noticed upon histopathologic examination is diagnostic for tissue eosinophilia. Several causes are known, with the most common being some form of allergic reaction or parasitic infection. Diagnosis of eosinophilia is via a complete blood count (CBC), but diagnostic procedures directed at the underlying cause vary depending on the suspected condition(s). An absolute eosinophil count is not generally needed if the CBC shows marked eosinophilia. The location of the causal factor can be used to classify eosinophilia into two general types: extrinsic, in which the factor lies outside the eosinophil cell lineage; and intrinsic eosinophilia, which denotes etiologies within the eosinophil cell line. Specific treatments are dictated by the causative condition, though in idiopathic eosinophilia, the disease may be controlled with corticosteroids. Eosinophilia is not a disorder (rather, only a sign) unless it is idiopathic. Informally, blood eosinophil levels are often regarded as mildly elevated at counts of 500–1,500/μL, moderately elevated between 1,500 and 5,000/μL, and severely elevated when greater than 5,000/μL. Elevations in blood eosinophil counts can be transient, sustained, recurrent, or cyclical. Eosinophil counts in human blood normally range between 100 and 500 per/μL. Maintenance of these levels results from a balance between production of eosinophils by bone marrow eosinophil precursor cells termed CFU-Eos and the emigration of circulating eosinophils out of the blood through post-capillary venules into tissues. Eosinophils represent a small percentage of peripheral blood leucocytes (usually less than 8%), have a half-life in the circulation of only 8–18 hours, but persist in tissues for at least several weeks. Eosinophils are one form of terminally differentiated granulocytes; they function to neutralize invading microbes, primarily parasites and helminthes but also certain types of fungi and viruses. They also participate in transplant rejection, Graft-versus-host disease, and the killing of tumor cells. In conducting these functions, eosinophils produce and release on demand a range of toxic reactive oxygen species (e.g. hypobromite, hypobromous acid, superoxide, and peroxide) and they also release on demand a preformed armamentarium of cytokines, chemokines, growth factors, lipid mediators (e.g. leukotrienes, prostaglandins, platelet activating factor), and toxic proteins (e.g. metalloproteinases, major basic protein, eosinophil cationic protein, eosinophil peroxidase, and eosinophil-derived neurotoxin). These agents serve to orchestrate robust immune and inflammatory responses that destroy invading microbes, foreign tissue, and malignant cells. When overproduced and over-activated, which occurs in certain cases of hypereosinophilia and to a lesser extent eosinophilia, eosinophils may misdirect their reactive oxygen species and armamentarium of preformed molecules toward normal tissues. This can result in serious damage to such organs as the lung, heart, kidneys, and brain. Classification Based on their causes, hypereosinophilias can be sorted into subtypes. However, cases of eosinophilia, which exhibit eosinophil counts between 500 and 1,500/μL, may fit the clinical criteria for, and thus be regarded as falling into, one of these hypereosinophilia categories: the cutoff of 1,500/μL between hypereosinophilia and eosinophilia is somewhat arbitrary. There are at least two different guidelines for classifying hypereosinophilia/eosinophilia into subtypes. The General Haematoloy and Haemato-oncology Task Forces for the British Committee for Standards in Haematology classifies these disorders into a) Primary, i.e. caused by abnormalities in the eosinophil cell line; b) Secondary, i.e. caused by non-eosinophil disorders; and c) Idiopathic, cause unknown. The World Health Organization classifies these disorders into a) Myeloid and lymphoid neoplasms with eosinophilia and abnormalities of PDGFRA, PDGFRB, or FGFR1 (i.e. high eosinophil blood counts caused by mutations in the eosinophil cell line of one of these three genes), 'b) Chronic eosinophilic leukemia, and c) the Idiopathic hypereosinophiic syndrome. In the latter classification, secondary hypereosinophilia/eosinophilia is not viewed as a true disorder of eosinophils. Here these two classifications are merged and expanded to include the many forms of secondary, i.e. reactive hypereosinophilia/eosinophilia, disorders and also includes another subtype, organ-restricted hypereosinophilias, a disorder in which eosinophil-mediated tissue damage is restricted to one organ and is often but not always associated with increased blood eosinophil counts. Primary hypereosinophilia Primary hypereosinophilia is due to the development of a clone of eosinophils, i.e. a group of genetically identical eosinophils derived from a significantly mutated ancestor cell. The clone may prove to be benign, pre-malignant, or overtly malignant. The fundamental driver of these hypereosinophilic (or uncommonly eosinophilic) disorders is the mutation which increases the proliferation, survival, and further mutation of cells descendant from the originally mutated cell. There are several subtypes of primary hypereosinophilia. Clonal hypereosinophilia Clonal hypereosinophilia is hypereosinophilia caused by a pre-malignant or malignant clone of eosinophils that bear mutations in genes for PDGFRA, PDGFRB, or FGFR1 or, alternatively, a chromosome translocation that creates the PCM1-JAK2 fusion gene. These genes code for dysfunctional protein products capable of enhancing proliferation and/or survival of their parent cells which, in consequence, become an evolving and constantly growing clone of eosinophils. These mutations are recognized by the World Health Association as causing distinct entities differing from idiopathic hypereosinophilia and the idiopathic hypereosinophilic syndrome. Presence of these clones may be associated with tissue injury but in any case suggests specific therapy be directed at reducing the size and suppressing the growth of the eosinophil clone. More recently, mutations in other genes have been described as causing a similar type of clonal hypereosinophilia but have not yet been recognized as entities distinct from idiopathic hypereosinophilia and the idiopathic hyperesoniphilic syndrome. These include gene mutations in JAK2, ABL1, and FLT2 and chromosomal translocations that create the ETV6-ACSL6 fusion gene. Chronic eosinophilic leukemia (NOS) Chronic eosinophilic leukemia, not otherwise specified (i.e. CEL, NOS), is a leukemia-inducing disorder in the eosinophil cell lineage that causes eosinophil blood counts greater than 1,500/μL. The most recent (2017) World health organization criteria specifically excludes from this disorder hypereosinophilia/eosinophilia associated with BCR-ABL1 fusion gene-positive chronic myeloid leukemia, polycythemia vera, essential thrombocytosis, primary myelofibrosis, chronic neutrophilic leukemia, chronic myelomonocytic leukemia, atypical chronic myelogenous leukemia, clonal eosinophilias involving gene rearrangements of PDGFRA, PDGFRB, or FGFR1, and chromosome translocations that form PCM1-JAK2, ETV6-JAK2, or BCR-JAK2 fusion genes. For this diagnosis, immature eosinophil (e.g. myeloblast) cell counts in the bone marrow and peripheral blood must be less than 20% and the chromosomal alterations (inv(16)(p13.1q22)) and t(16;16)(p13;q22) as well as other features diagnostic of acute myelogenous leukemia must be absent. The latter diagnostic features include clonal cytogenetic abnormalities and molecular genetic abnormalities diagnostic for other forms of leukemia or the presence of myeloblast counts greater than 55% in bone marrow or 2% in blood. Chronic eosinophilic leukemia may transform into acute eosinophilic or other types of acute myelogenous leukemia. Familial eosinophilia Familial eosinophilia is a rare congenital disorder characterized by the presence of sustained elevations in blood eosinophil levels that reach ranges diagnostic of eosinophilia or, far more commonly, hypereosinophilia. It is an autosomal dominant disorder in which genetic linkage gene mapping family studies localize the gene responsible for it to chromosome 5 at position q31–q33, between markers D5S642 and D5S816. This region contains a cytokine gene cluster which includes three genes whose protein products function in regulating the development and proliferation of eosinophils viz., interleukin 3, interleukin 5, and colony stimulating factor 2. However, no functional sequence genetic polylmophisms are found within the promoter, exons, or introns, of these genes or within the common gene enhancer for interleukin 3 or colony stimulating factor 2. This suggests that the primary defect in familial eosinophilia is not a mutation in one of these genes but rather in another gene within this chromosome area. Clinical manifestations and tissue destruction related to the eosinophilia in this disorder are uncommon: familial eosinophilia typically has a benign phenotype compared to other congenital and acquired eosinophilic diseases. Idiopathic hypereosinophilia Idiopathic hypereosinophilia (also termed hypereosinophilia of undetermined significance, i.e. HEUS) is a disorder characterized by an increase in eosinophil blood counts above 1,500/μL, as detected on at least 2 separate examinations. The disorder cannot be associated with eosinophil-based tissue damage or a primary or secondary cause of eosinophilia. That is, it is a diagnosis of exclusion and has no known cause. Over time, this disorder can resolve into a primary hypereosinophilia, typically clonal hypereosinophilia, chronic eosinphilic leukemia, or an eosinophilia associated with another hematological leukemia. The disorder may also become associated with tissue or organ damage and therefore be diagnosed as the hypereosinophilic syndrome. Idiopathic hypereosinophilia is treated by observation to detect development of the cited more serious disorders. Idiopathic hypereosiophilic syndrome The idiopathic hypereosinophilic syndrome is a disorder characterized by hypereosiophilia that is associated with eosinophil-based tissue or organ damage. While almost any organ or tissue may be damaged, the lung, skin, heart, blood vessels, sinuses, kidneys, and brain are the most commonly affected. The World Health Organization restrict this diagnosis to cases which have no well-defined cause. That is, all cases of secondary (i.e. reactive) eosinophilia (including lymphocyte-variant hypereosinophilia) and primary hypereosinophilia (including chronic eosinophilic leukemia (NOS), clonal eosinophilia, and hypereosinophilia associated with hematological malignancies) are excluded from this diagnosis. Secondary hypereosinophilia Secondary (or reactive) eosinophilias are non-clonal increases in blood eosinophil levels caused by an underlying disease. The pathogenesis of the hypereosinophilia in these diseases is thought to be the release of one or more cytokines (e.g. granulocyte macrophage colony stimulating factor, interleukin 3, interleukin 5) that: a) cause bone marrow precursor cells, i.e. CFU-Eos, to proliferate and mature into eosinophils; b) promote release of bone marrow eosinophils into the circulation, c) stimulate circulating eosinophils to enter tissues and release tissue-injuring agents. These cytokines may be released by the diseased cells or the diseased cells may cause the release of these cytokines by non-diseased cells. Primary disorders associated with and known or presumed to cause hypereosinophilia or eosinophilia are given below. Infections Helminths are common causes of hypereosinophilia and eosinophilia in areas endemic to these parasites. Helminths infections causing increased blood eosinophil counts include: 1) nematodes, (i.e. Angiostrongylus cantonensis and Hookworm infections), ascariasis, strongyloidiasis trichinosis, visceral larva migrans, Gnathostomiasis, cysticercosis, and echinococcosis; 2) filarioidea, i.e. tropical pulmonary eosinophilia, loiasis, and onchocerciasis; and 3) flukes, i.e. schistosomiasis, fascioliasis, clonorchiasis, paragonimiasis, and fasciolopsiasis. Other infections associated with increased eosinophil blood counts include: protozoan infections, i.e. Isospora belli and Dientamoeba fragilis) and sarcocystis); fungal infections (i.e. disseminated histoplasmosis, cryptococcosis [especially in cases with central nervous system involvement]), and coccidioides); and viral infections, i.e. Human T-lymphotropic virus 1 and HIV. Autoimmune diseases Hypereosiophilia or eosinophilia may be associated with the following autoimmune diseases: systemic lupus erythematosus eosinophilic fasciitis, eosinophilic granulomatosis with polyangiitis, dermatomyositis, severe rheumatoid arthritis, progressive systemic sclerosis, Sjögren syndrome, thromboangiitis obliterans, Behçet's disease, IgG4-related disease, inflammatory bowel diseases, sarcoidosis, bullous pemphigoid, and dermatitis herpetiformis. Allergic diseases Eosinophilia and comparatively fewer cases of hypereosinophilia are associated with the following known diseases that are known or thought to have an allergic basis: allergic rhinitis, asthma, atopic dermatitis, eosinophilic esophagitis, chronic sinusitis, aspirin-exacerbated respiratory disease, allergic bronchopulmonary aspergillosis, chronic eosinophilic pneumonia, and Kimura's disease. Certain types of food allergy disorders may also be associated with eosinophilia or, less commonly, hypereosinophilia. Allergic eosinophilic esophagitis and the Food protein-induced enterocolitis syndrome are commonly associated with increased blood eosinophil levels. Drugs A wide range of drugs are known to cause hypereosinophilia or eosinophilia accompanied by an array of allergic symptoms. Rarely, these reactions are severe causing, for example, the drug reaction with eosinophilia and systemic symptoms (DRESS) syndrome. Drug- induced hepatitis marked by immunoallergic pathology, which has much bidirectional crossover with DRESS syndrome, is typically accompanied by some severity of eosinophilia. While virtually any drug should be considered as a possible cause of these signs and symptoms, the following drugs and drug classes are some of the most frequently reported causes: penicillins, cephalosporins, dapsone, sulfonamides, carbamazepine, phenytoin, lamotrigine, valproic acid, nevirapine, efavirenz, and ibuprofen. These drugs may cause severely toxic reactions such as the DRESS syndrome. Other drugs and drug classes often reported to cause increased blood eosinophil levels accompanied by less severe (e.g. non-DRESS syndrome) symptoms include tetracyclins, doxycycline, linezolid, nitrofurantoin, metronidazole, carbamazepine, phenobarbital, lamotrigine, valproate, desipramine, amitriptyline, fluoxetine, piroxicam, diclofenac, ACE inhibitors, abacavir, nevirapine, ranitidine, cyclosporin, and hydrochlorothiazide. The toxic oil syndrome is associated with hypereosinophilia/eosinophilia and systemic symptoms due to one or more contaminants in rapeseed oil and the Eosinophilia–myalgia syndrome, also associated with hypereosinophilia, appears due to trace contaminants in certain commercial batches of the amino acid, L-tryptophan. Allergic reactions to drugs are a common cause of eosinophilia, with manifestations ranging from diffuse maculopapular rash, to severe life-threatening drug reactions with eosinophilia and systemic symptoms (DRESS). Drugs that has, allopurinol, nonsteroidal anti-inflammatory drugs (NSAIDs), some antipsychotics such as risperidone, and certain antibiotics. Phenibut, an analogue of the neurotransmitter GABA, has also been implicated in high doses. The reaction which has been shown to be T-cell mediated may also cause eosinophilia-myalgia syndrome. Malignancies Certain malignancies cause a secondary eosinophilia or, less commonly, hypereosinophilia. These increases in blood eosinophils appear due to the release of stimulatory cytokines or invasion of the bone marrow and thereby irritation of resident eosinophils or their precursors. Malignancies associated with these effects include gastric, colorectal, lung, bladder, and thyroid cancers, as well as squamous cell cancers of the cervix, vagina, penis, skin, and nasopharyrnx. Some hematological malignancies are likewise associated with secondary rises in blood eosinophil counts; these include Hodgkin disease, certain T-cell lymphomas, acute myeloid leukemia, the myelodysplastic syndromes, many cases of systemic mastocytosis, chronic myeloid leukemia, polycythemia vera, essential thrombocythemia, myelofibrosis, chronic myelomonocytic leukemia, and certain cases of T-lymphoblastic leukemia/lymphoma-associated or myelodysplastic–myeloproliferative syndrome-associated eosinophilias. Hodgkin lymphoma (Hodgkin's disease) often elicits severe eosinophilia; however, non-Hodgkin lymphoma and leukemia produce less marked eosinophilia. Of solid tumor neoplasms, ovarian cancer is most likely to provoke eosinophilia, though any other cancer can cause the condition. Solid epithelial cell tumors have been shown to cause both tissue and blood eosinophilia, with some reports indicating that this may be mediated by interleukin production by tumor cells, especially IL-5 or IL-3. This has also been shown to occur in Hodgkin lymphoma, in the form of IL-5 secreted by Reed-Sternberg cells. In primary cutaneous T cell lymphoma, blood and dermal eosinophilia are often seen. Lymphoma cells have also been shown to produce IL-5 in these disorders. Other types of lymphoid malignancies have been associated with eosinophilia, as in lymphoblastic leukemia with a translocation between chromosomes 5 and 14 or alterations in the genes which encode platelet-derived growth factor receptors alpha or beta. Patients displaying eosinophilia overexpress a gene encoding an eosinophil hematopoietin. A translocation between chromosomes 5 and 14 in patients with acute B lymphocytic leukemia resulted in the juxtaposition of the IL-3 gene and the immunoglobulin heavy-chain gene, causing overproduction production of IL-3, leading to blood and tissue eosinophilia. Primary immunodeficiency diseases Primary immunodeficiency diseases are inborn errors in the immune system due to defective genes. Certain of these disorders are sometimes or often associated with hypereosinophilia. The list of such disorders includes ZAP70 deficiency (defective ZAP70 gene), CD3gamma chain deficiency (defective CD3G gene), MCHII deficiency (defective RFXANK gene), Wiskott–Aldrich syndrome (defective WAS gene), IPEX syndrome (defective IPEX gene), CD40 gene defect, and autoimmune lymphoproliferative syndrome (defective Fas receptor gene). More than 30 other primary immunodeficiency diseases are sometimes associated with modest increases in eosinophil counts, i.e. eosinophilia. The hyperimmunoglobulin E syndrome is associated with hypereosinophilia or eosinophilia due to mutations in any one of the following genes: STAT3, DOCK8, PGM3, SPINK5, and TYK2 (see mutations in the hymperimmoglobulin E syndrome). Omenn syndrome is a severe combined immunodeficiency disease characterized by skin rash, slenomegaly, and lymphadenopathy due to a causative mutation in RAG1, RAG2, or, more rarely, one of several other genes. Lymphocyte-variant hypereosinophilia Lymphocyte-variant hypereosinophilia is a disorder attributed to the expansion of a cytokine-producing, aberrant population of a particular T-cell phenotype. The disorder is clonal with regard to the production of abnormal T-cell lymphocytes not eosinophils which appear phenotypically normal. The phenotypically aberrant lymphocytes function abnormally by stimulating the proliferation and maturation of bone marrow eosinophil-precursor cells which in studied cases appears due to their excess production of interleukin 5, interleukin 3, or interleukin 13. The disorder is usually indolent but infrequently progresses to T-cell lymphoma or Sezary syndrome. Accumulation of partial deletions in the short arm of chromosome 6, the long arm of chromosome 10, or the acquirement of an extra chromosome (i.e. trisomy) 7) in T-cells or the proliferation of lymphocytes with the CD3 negative, CD41 positive immunophenotype may occur during the disorders progression to lymphoma. Reports on treatment of the disorder are rare. In on study of 16 lymphocyte-variant hypereosinophilia patients with the aberrant CD3 negative, CD41 positive immunophenotype, good responds to corticosteroid drugs were uniform but 16 ultimately required corticosteroid-sparing agents. Hydroxyurea and imatinib are less likely to have efficacy in this variant of hypereosinophilia than in many cases of clonal eosinophilia or chronic eosinophilic leukemia. Gleich's syndrome Gleich's syndrome, which may be a form of lymphocyte-variant hypereosinophilia, involves hypereosinophilia, elevated blood levels of IgM antibodies, and clonal expansion of T cells. Similar to lymphocyte=variant hypereosinophilia, the increased levels of blood eosinophils in Gleich's syndrome is thought to be secondary to the secretion of eosinophil-stimulating cytokines by a T cell clones. IgG4-related disease IgG4-related disease or Immunoglobulin G4-related disease is a condition dacryoadenitis, sialadenitis, lymphadentitis, and pancreatitis (i.e. inflammation of the lacrimal glands, salivary glands, lymph nodes, and pancreas, respectively) plus retroperitoneal fibrosis. Less commonly, almost any other organ or tissue except joints and brain may be beleaguered by the inflammatory disorder. About 1/3 of cases exhibit eosinophilia or, rarely, hypereosinophilia. This increase in blood eosinophil count is often associated with abnormal T-lymphocyte clones (e.g. increased numbers of CD4 negative, CD7 positive T cells, CD3 negative, CD4 positive T cells, or CD3 positive, CD4 negative, CD8 negative T cells) and is thought to be secondary to these immunological disturbances. The disorder often exhibits are recurrent-relapsing course and is highly responsive to corticosteroids or rituximab as first-line therapy and interferon gamma as second-line therapy. Angiolymphoid hyperplasia with eosinophilia Angiolymphoid hyperplasia with eosinophilia is a disorder initially classified as a form of IgG4-related diseases but now considered a distinct entity. The disorder involves inflamed benign tumors of the vasculature in skin and, less commonly, other tissues. The tumors consist of histiocytoid endothelial cells prominently infiltrated by lymphocytes and eosinophils and is associated with hypereosinophilia or eosinophilia. Cholesterol embolism Transient, fluctuating hypereosinophilia occurs in 60%-80% of individuals with cholesterol embolisms. In this disorder, cholesterol crystals located in an atherosclerotic plaque of a large artery dislodge, travel downstream in the blood, and clog smaller arteries. This results in obstructive damage to multiple organs and tissues. Affected tissues exhibit acute inflammation involving eosinophils, neutrophils, monocytes, lymphocytes, and plasma cells. The cause for this hypereosinophilic response is not known. Adrenal insufficiency A class of steroid hormones secreted by the adrenal gland, glucocorticoids, inhibit eosinophil proliferation and survival. In adrenal insufficiency, low levels of these hormones allow increased eosinophil proliferation and survival. This leads to increases in blood eosinophil levels, typically eosinophilia and, less commonly, hypereosinophilia. Organ-restricted hypereosinophilias Hypereosinophilia may occur in the setting of damage to a single specific organ due to a massive infiltration by eosinophils. This disorder is sub-classified based on the organ involved and is not considered to be a form of primary hypereosinophilia, secondary hypereosinophilia, or the idiopathic hypereosinophilic syndrome because: a) the eosinophils associated with the disorder have not been shown to be clonal in nature; b) a reason for the increase in blood eosinophils has not been determined; c) organ damage has not been shown to be due to eosinophils; and d) the disorder in each individual case typically is limited to the affected organ. Examples of organ-restricted hypereosinophilia include eosinophilic myocarditis, eosinophilic esophagitis, eosinophilic gastroenteritis, eosinophilic cystitis, eosinophilic pneumonia, eosinophilic fasciitis, eosinophilic folliculitis, eosinophilic cellulitis, eosinophilic vasculitis, and eosinophilic ulcer of the oral mucosa. Other examples of organ-restricted hepereosinophilia include those involving the heart, kidney, liver, colon, pulmonary pleurae, peritoneum, fat tissue, myometrium, and synovia. Pathophysiology IgE-mediated eosinophil production is induced by compounds released by basophils and mast cells, including eosinophil chemotactic factor of anaphylaxis, leukotriene B4 and serotonin mediated release of eosinophil granules occur, complement complex (C5-C6-C7), interleukin 5, and histamine (though this has a narrow range of concentration). Harm resulting from untreated eosinophilia potentially varies with cause. During an allergic reaction, the release of histamine from mast cells causes vasodilation which allows eosinophils to migrate from the blood and localize in affected tissues. Accumulation of eosinophils in tissues can be significantly damaging. Eosinophils, like other granulocytes, contain granules (or sacs) filled with digestive enzymes and cytotoxic proteins which under normal conditions are used to destroy parasites but in eosinophilia these agents can damage healthy tissues. In addition to these agents, the granules in eosinophils also contain inflammatory molecules and cytokines which can recruit more eosinophils and other inflammatory cells to the area and hence amplify and perpetuate the damage. This process is generally accepted to be the major inflammatory process in the pathophysiology of atopic or allergic asthma. Diagnosis Diagnosis is by complete blood count (CBC). However, in some cases, a more accurate absolute eosinophil count may be needed. Medical history is taken, with emphasis on travel, allergies and drug use. Specific test for causative conditions are performed, often including chest x-ray, urinalysis, liver and kidney function tests, and serologic tests for parasitic and connective tissue diseases. The stool is often examined for traces of parasites (i.e. eggs, larvae, etc.) though a negative test does not rule out parasitic infection; for example, trichinosis requires a muscle biopsy. Elevated serum B12 or low white blood cell alkaline phosphatase, or leukocytic abnormalities in a peripheral smear indicates a disorder of myeloproliferation. In cases of idiopathic eosinophilia, the patient is followed for complications. A brief trial of corticosteroids can be diagnostic for allergic causes, as the eosinophilia should resolve with suppression of the immune over-response. Neoplastic disorders are diagnosed through the usual methods, such as bone marrow aspiration and biopsy for the leukemias, MRI/CT to look for solid tumors, and tests for serum LDH and other tumor markers. Treatment Treatment is directed toward the underlying cause. However, in primary eosinophilia, or if the eosinophil count must be lowered, corticosteroids such as prednisone may be used. However, immune suppression, the mechanism of action of corticosteroids, can be fatal in patients with parasitosis. List of causes Eosinophilia can be idiopathic (primary) or, more commonly, secondary to another disease. In the Western World, allergic or atopic diseases are the most common causes, especially those of the respiratory or integumentary systems. In the developing world, parasites are the most common cause. A parasitic infection of nearly any bodily tissue can cause eosinophilia. Diseases that feature eosinophilia as a sign include: Allergic disorders Asthma Hay fever Drug allergies Allergic skin diseases Pemphigus Dermatitis herpetiformis IgG4-related disease Parasitic infections Addison's disease and stress-induced suppression of adrenal gland function Some forms of malignancy Acute lymphoblastic leukemia Chronic myelogenous leukemia Eosinophilic leukemia Clonal eosinophilia Hodgkin lymphoma Some forms of non-Hodgkin lymphoma Lymphocyte-variant hypereosinophilia Systemic mastocytosis Systemic autoimmune diseases Systemic lupus erythematosus Kimura disease Eosinophilic granulomatosis with polyangiitis Eosinophilic fasciitis Eosinophilic myositis Eosinophilic myocarditis Eosinophilic esophagitis Eosinophilic gastroenteritis Cholesterol embolism (transiently) Coccidioidomycosis (Valley fever), a fungal disease prominent in the US Southwest. Human immunodeficiency virus infection Interstitial nephropathy Hyperimmunoglobulin E syndrome, an immune disorder characterized by high levels of serum IgE Idiopathic hypereosinophilic syndrome. Congenital disorders Hyperimmunoglobulin E syndrome Omenn syndrome Familial eosinophilia See also Eosinophilia-myalgia syndrome Acidophile (histology) References External links Hypereosinophilic Syndrome research in UK Hypereosinophilic Syndrome on patient.info on eMedicine Hypereosinophilic Syndrome (HES) on American Academy of Allergy, Asthma & Immunology Hypereosinophilic syndrome on Mayo Clinic Monocyte and granulocyte disorders
Darum leben wir ("That Is Why We Live") is the second studio album by German singer Cassandra Steen. It was released by Universal Urban on 20 February 2009 in German-speaking Europe. Darum leben wir marked Steen's first release after parting ways with her long-time collaborators Moses Pelham and Martin Haas and their record label 3P. The singer worked with Marek Pompetzki and Paul NZA on the majority of the album, while additional production was provided by Mathias Grosch, Andreas Herbig, and Oliver Pinelli. Steen's biggest commercial success, it was certified gold by the Bundesverband Musikindustrie (BVMI), indicating sales in excess of 100,000 units. Track listing Notes denotes co-producer Charts Weekly charts Year-end charts Certifications Release history References External links 2009 albums Cassandra Steen albums
```smalltalk using System; using System.Threading; using System.Threading.Tasks; using GameServerCore.Content; using GameServerCore.Enums; using LeagueSandbox.GameServer.Players; using LeagueSandbox.GameServer.GameObjects.AttackableUnits.AI; namespace LeagueSandbox.GameServer.Chatbox.Commands { public class RainbowCommand : ChatCommandBase { private readonly PlayerManager _playerManager; private Champion _me; private bool _run; private float _a = 0.5f; private float _speed = 0.25f; private int _delay = 250; public override string Command => "rainbow"; public override string Syntax => $"{Command} alpha speed"; public RainbowCommand(ChatCommandManager chatCommandManager, Game game) : base(chatCommandManager, game) { _playerManager = game.PlayerManager; } public override void Execute(int userId, bool hasReceivedArguments, string arguments = "") { var split = arguments.ToLower().Split(' '); _me = _playerManager.GetPeerInfo(userId).Champion; if (split.Length > 1) { float.TryParse(split[1], out _a); } if (split.Length > 2) { float.TryParse(split[2], out _speed); _delay = (int)(_speed * 1000); } _run = !_run; if (_run) { Task.Run(() => TaskRainbow()); } } public void TaskRainbow() { while (_run) { var rainbow = new byte[4]; new Random().NextBytes(rainbow); Thread.Sleep(_delay); BroadcastTint(_me.Team, false, 0.0f, 0, 0, 0, 1f); BroadcastTint(_me.Team, true, _speed, rainbow[1], rainbow[2], rainbow[3], _a); } Thread.Sleep(_delay); BroadcastTint(_me.Team, false, 0.0f, 0, 0, 0, 1f); } public void BroadcastTint(TeamId team, bool enable, float speed, byte r, byte g, byte b, float a) { Color color = new Color(); color.R = r; color.G = g; color.B = b; color.A = (byte) (uint)(a*255.0f); Game.PacketNotifier.NotifyTint(team, enable, speed, color); } } } ```
Kathryn Nance North is a paediatric physician, neurologist, and clinical geneticist. In 2013, she was appointed Director of the Murdoch Childrens Research Institute and was named the David Danks Professor of Child Health Research at the University of Melbourne. In 2012, North was appointed Chair of the National Health and Medical Research Council Research Committee. In 2014, she was appointed Vice Chair of the Global Alliance for Genomics and Health (GA4GH) and Co-Chair of its Clinical Working Group. North received a doctorate in neurogenetics in 1994 from University of Sydney and later completed a postdoctoral fellowship in the Genetics Program at Harvard Medical School. North's laboratory research is focused on the molecular and genetic basis of inherited muscle disorders including muscular dystrophies and congenital myopathies, and of elite athletic performance. Her clinical research is focused on cognitive deficits in neurofibromatosis type 1 and intervention strategies for children with learning disabilities and inherited myopathies. Awards The Sunderland Award from the Australian Neuroscience Society (2000) The Sutherland Lecturership by the Human Genetics Society of Australasia (2008) The Glaxo Smith Kline Australia Award for Research Excellence (2011) The Ramaciotti Medal for Excellence in Biomedical Research (2012) Member of the Order of Australia (AM) for service to medicine in the field of neuromuscular and neurogenetics research for "service to medicine in the field of neuromuscular and neurogenetics research, paediatrics and child health as a clinician and academic, and to national and international professional associations." (2012) Foundation fellow of the Australian Academy of Health and Medical Science (2014) Doctor of Medical Science honoris causa (2017) from the University of Melbourne. Companion of the Order of Australia (AC) (2019) for "eminent service to genomic medicine nationally and internationally, to medical research in the fields of genetics, neurology and child health, and as a mentor and role model." Peter Wills Medal from Research Australia (2019), "recognising an outstanding, long-term contribution to building Australia’s international reputation in areas of health and medical research and fostering collaboration for better health." References External links Australasian Neuroscience Society Human Genetics Society of Australasia Australian neurologists Women neurologists Australian paediatricians Women pediatricians Australian geneticists Living people Members of the Order of Australia Companions of the Order of Australia Academic staff of the University of Melbourne University of Melbourne women University of Sydney alumni Australian medical researchers Medical geneticists Australian clinical geneticists Fellows of the Australian Academy of Health and Medical Sciences Year of birth missing (living people)
{{DISPLAYTITLE:C5H8N2O5}} The molecular formula C5H8N2O5 (molar mass: 176.13 g/mol, exact mass: 176.0433 u) may refer to: Carbamoyl aspartic acid (or ureidosuccinic acid) Oxalyldiaminopropionic acid
{ "type": "ExternalData", "service": "geoshape", "ids": "Q33623524", "properties": { "fill": "#73a3f0"}} The Whangateau Harbour is a natural harbour in New Zealand. It is a sandspit estuary, located on the north-eastern coast of the Auckland Region north-east of Matakana, and empties into the Hauraki Gulf. Due to the harbour's high quality water and dense shellfish beds (primarily pipi), the harbour is a popular spot for shellfish gathering. Geography The Whangateau Harbour is a sandspit estuary, separated from Omaha Bay by a sandspit, where the town of Omaha is located. The modern harbour formed during the Holocene, after the formation of the sandspit. Horseshoe Island is an exposed sand-bar located in the centre of the harbour. The Whangateau Harbour has almost complete tidal flushing, meaning it has some of the best water quality for a harbour in New Zealand. Flora and fauna The harbour has a wide range of intertidal and subtidal reefs, supporting a wide range of benthic wildlife. High numbers of Scutus breviculus, octopuses and Australasian sea cucumbers live in the estuary. The harbour has dense beds of shellfish, primarily pipi (Paphies australis). The Harbour is made up of mangals composed of trees rather than bushes. There are a number of different types of algae, which house isopoda and amphipoda. It is also home to the tunnelling mud crab and different types of oyster. The harbour is a popular spot to collect shellfish. It has been well-studied, due to the harbour's close location to the Leigh Marine Laboratory. In 2009, the area experienced a mortality event of cockles, with an 84% reduction in the large cockle population from the previous year. A further event took place in 2014, with the beds being closed to harvesting while samples were sent to the Ministry for Primary Industries. History The Whangateau Harbour is within the traditional rohe of Ngāti Manuhiri. The name Whāngateau was a traditional Māori language name for the harbour, and refers to the strong tidal currents in the estuary. The harbour and surrounding Mahurangi area was first settled in the 14th century by Māori, descendents of the Moekākara, Tainui, Arawa migratory canoes. By the 16th century, the Tāmaki Māori who settled in the region begun to be known by the name Ngā Oho. The tribal affiliation Ngāti Manuhiri began in the 17th century, and refers to Manuhiri, one of the four sons of the Te Kawerau ā Maki rangatira Maki. Prior to European settlement, six fortified pā defended the harbour, and the harbour (especially the Waikokopu to the south) were an important source of pipi and tuangi (cockles). The harbour was associated with the kūaka (bar-tailed godwit), which were traditionally harvested in the summer-time. Ngāti Manuhiri settled the harbour until the late 19th century, however members of Ngāti Manuhiri have returned to the harbour in modern times. In the 1850s, land around the harbour was purchased by Ranulph Dacre. Between 1942 and 1963, 380,000 cubic metres of sand were mined from the Mangatawhiri Spit, leading to coastal erosion at Omaha. Land use around the harbour intensified in the 1960s, and in the 1970s the Omaha causeway was constructed, creating an east-west bridge between Omaha and Point Wells over the Waikokopu Creek. References Geography of Auckland Rodney Local Board Area Ports and harbours of New Zealand
Sir Johannes Bjelke-Petersen (13 January 191123 April 2005), known as Joh Bjelke-Petersen or simply Sir Joh, was a conservative Australian politician. He was the longest-serving and longest-lived premier of Queensland, holding office from 1968 to 1987, during which time the state underwent considerable economic development. He has become one of the most well-known and controversial figures of 20th-century Australian politics because of his uncompromising conservatism (including his role in the downfall of the Whitlam federal government), political longevity, and the institutional corruption of his government. Bjelke-Petersen's Country (later National) Party controlled Queensland despite frequently receiving a smaller number of votes than the state's two other major parties, achieving the result through a system of electoral malapportionment that resulted in rural votes having a greater value than those cast in city electorates. The system earned Bjelke-Petersen the nickname "the Hillbilly Dictator". Regardless, he was a highly popular figure among conservative voters and over the course of his 19 years as premier he tripled the number of people who voted for the CP and doubled the party's percentage vote. After the Liberal Party pulled out of the coalition government in 1983, Bjelke-Petersen reduced his former partners to a mere eight seats in an election held later that year. In 1985 Bjelke-Petersen launched a campaign to move into federal politics to become prime minister, though the campaign was eventually aborted. Bjelke-Petersen earned himself a reputation as a "law and order" politician with his repeated use of police force against street demonstrators and strongarm tactics with trade unions, leading to descriptions of Queensland under his leadership as a police state. From 1987 his administration came under the scrutiny of a royal commission into police corruption and its links with state government ministers. Bjelke-Petersen was unable to recover from the series of damaging findings and after initially resisting a party vote that replaced him as leader, resigned from politics on 1 December 1987. Two of his state ministers, as well as the police commissioner Bjelke-Petersen had appointed and later knighted, were jailed for corruption offences and in 1991 Bjelke-Petersen, too, was tried for perjury over his evidence to the royal commission; the jury failed to reach a verdict as the jury foreman was a member of the Young Nationals and a member of the "Friends of Joh" group, and Bjelke-Petersen was deemed too old to face a second trial. Early life Bjelke-Petersen was born in Dannevirke which was part of the Hawke's Bay Region of New Zealand, (Now the Tararua District) and lived in Waipukurau, a small town in Hawke's Bay. The Australian Bjelke-Petersen family are of Danish descent. Bjelke-Petersen's parents were both Danish immigrants, and his father, Carl (known to the family as George), was a Lutheran pastor. In 1913 the family moved to Australia, establishing a farm, "Bethany", near Kingaroy in south-eastern Queensland. The young Bjelke-Petersen suffered from polio, leaving him with a lifelong limp. The family was poor, and Carl Bjelke-Petersen was frequently in poor health. Bjelke-Petersen left formal schooling at age 14 to work with his mother on the farm, though he later enrolled in correspondence school and undertook a University of Queensland extension course on the "Art of Writing". He taught Sunday school, delivered sermons regularly in nearby towns and joined the Kingaroy debating society. In 1933, Bjelke-Petersen began work land-clearing and peanut farming on the family's newly acquired second property. His efforts eventually allowed him to begin work as a contract land-clearer and to acquire further capital which he invested in farm equipment and natural resource exploration. He developed a technique for quickly clearing scrub by connecting a heavy anchor chain between two bulldozers. By the time he was 30, he was a prosperous farmer and businessman. Obtaining a pilot's licence early in his adult life, Bjelke-Petersen also started aerial spraying and grass seeding to further speed up pasture development in Queensland. After failing in a 1944 plebiscite against the sitting member to gain Country Party endorsement in the state seat of Nanango, based on Kingaroy, Bjelke-Petersen was elected in 1946 to the Kingaroy Shire Council, where he developed a profile in the Country Party. With the support of local federal member and shire council chairman Sir Charles Adermann and Sir Frank Nicklin, he gained Country Party endorsement for Nanango and was elected a year later at age 36, going on to give regular radio talks and becoming secretary of the local Nationals branch. He would hold this seat, renamed Barambah in 1950, for the next 40 years. The Labor Party had held power in Queensland since 1932 and Bjelke-Petersen spent eleven years as an opposition member. Rise to power, 1952–1970 On 31 May 1952, Bjelke-Petersen married typist Florence Gilmour, who would later become a significant political figure in her own right. In 1957, following a split in the Labor Party, the Country Party under Nicklin came to power, with the Liberal Party as a junior coalition partner. This was a reversal of the situation at the national level. Queensland is Australia's least centralised mainland state; the provincial cities between them have more people than the Brisbane area. In these areas, the Country Party was stronger than the Liberal Party. As a result, the Country Party had historically been the larger of the two non-Labor parties, and had been senior partner in the Coalition (until the parties merged) since 1925. In 1963 Nicklin appointed Bjelke-Petersen as minister for works and housing, a portfolio that gave him the opportunity to bestow favours and earn the loyalty of backbenchers by approving construction of schools, police stations and public housing in their electorates. At various times, he also served as acting minister for education, police, Aboriginal and Island Affairs, local government and conservation and labour and industry. He would serve in cabinet without interruption until his retirement in 1987. Only Thomas Playford IV, who served in the South Australian cabinet without interruption from 1938 to 1965, served longer as a federal or state cabinet minister. Nicklin retired in January 1968 and was succeeded as Premier and Country Party leader by Jack Pizzey; Bjelke-Petersen was elected unopposed as deputy Country Party leader. On 31 July 1968, after just seven months in office, Pizzey suffered a heart attack and died. Deputy Premier and Liberal leader Gordon Chalk was sworn in as caretaker premier. The Country Party had 27 seats in Parliament; the Liberals had 20. Nonetheless, there was some dispute over whether the Liberals should take senior status, which would have made Chalk premier in his own right. Matters were brought to a head when Bjelke-Petersen—elected Country Party leader within days of Pizzey's death—threatened to pull the Country Party out of the Coalition unless he became Premier. After seven days Chalk accepted the inevitable, and Bjelke-Petersen was sworn in as Premier on 8 August 1968. He remained Police Minister. Conflict of interest, party revolt Within months of becoming premier, Bjelke-Petersen encountered his first controversy over allegations of conflict of interest. In April 1959, while still a backbencher, he had paid £2 for an Authority to Prospect, giving him the right to search for oil over 150,000 km2 near Hughenden in far north Queensland. The next month he incorporated a company, Artesian Basin Oil Co. Pty Ltd, of which he was sole director and shareholder, and the same day entered an agreement to sell 51% of the company's shares to an American company for £12,650. The following day he sought the consent of Mines Minister Ernie Evans to transfer the oil search authority to Artesian for £2; the consent was given a week later. When the Taxation Commissioner ruled that the £12,650 windfall from the £2 authority was a taxable profit, Bjelke-Petersen appealed, eventually taking the matter to the High Court. The appeal was dismissed, with Justice Taylor ruling that Bjelke-Petersen's six million percent gain from the £2 authority arose from "a profit-making undertaking". In 1962 Artesian transferred its Authority to Prospect to a new company, Exoil NL, for £190,000, and Bjelke-Petersen in turn bought a million shares in Exoil. On 1 September 1968, three weeks after becoming premier, Bjelke-Petersen's government gave two companies, Exoil NL and Transoil NL—in both of which he was a major shareholder—six-year leases to prospect for oil on the Great Barrier Reef north of Cooktown. Opposition Leader Jack Houston revealed the Premier's financial involvement in the companies at a press conference in March 1969, where he asserted Bjelke-Petersen had gained "fabulous wealth" from the £2 prospecting authority, which had now mushroomed into Exoil shares worth AU$720,000. Bjelke-Petersen said he had done nothing wrong, but resigned his directorship of Artesian in favour of his wife. The Country-Liberal coalition was returned to power at the 1969 Queensland election, with the state's system of electoral malapportionment delivering the Country Party 26 seats—a third of the parliament's 78 seats—from 21.1% of the primary vote, the Liberals taking 19 seats from 23.7% of the vote and the Labor Party's 45.1% share of the vote leaving it with 31 seats. Further controversy followed. In June 1970 it was revealed that a number of Queensland government ministers and senior public servants, as well as Florence Bjelke-Petersen, had bought shares in the public float of Comalco, a mining company that had direct dealings with the government and senior ministers. The shares finished their first day of trading at double the price the ministers had paid. Bjelke-Petersen again rejected claims of a conflict of interest, but the Country Party state branch changed its policy to forbid the acceptance of preferential share offers by ministers or members of parliament. In October, the Country Party lost a by-election in the Gold Coast seat of Albert, prompting several nervous MPs to make plans to oust Bjelke-Petersen as leader and replace him with Ron Camm. Bjelke-Petersen spent the night and the next morning calling MPs to bolster support, surviving a party room vote by a margin of one, after producing a proxy vote of an MP who was overseas and uncontactable. Plans by Country Party members to support a Labor Party vote of no confidence in parliament were quashed after the intervention of party president Robert Sparkes, who warned that anyone who voted against Bjelke-Petersen would lose their status as the party's candidate at the next election. 1971 state of emergency Bjelke-Petersen seized on the controversial visit of the Springboks, the South African rugby union team, in 1971 to consolidate his position as leader with a display of force. Springboks matches in southern states had already been disrupted by anti-apartheid demonstrations and a match in Brisbane was scheduled for 24 July 1971, the date of two Queensland by-elections. On 14 July Bjelke-Petersen declared a month-long state of emergency covering the entire state, giving the government almost unlimited power to quell what the government said was expected to be "a climax of violent demonstrations". Six hundred police were transported to Brisbane from elsewhere in the state. In the week before the match, 40 trade unions staged a 24-hour strike, protesting against the proclamation. A crowd of demonstrators also mounted a peaceful protest outside the Springboks' Wickham Terrace motel and were chased on foot by police moments after being ordered to retreat, with many police attacking the crowd with batons, boots and fists. It was one of a series of violent attacks by police on demonstrators during the Springboks' visit to Queensland. The football game was played to a crowd of 7000 behind a high barbed-wire fence without incident. The state of emergency, which gave the government the appearance of being strong-willed and decisive, helped steer the government to victory in both by-elections held on match day. Police Special Branch member Don Lane was one of those elected, becoming a political ally of the Premier. Bjelke-Petersen praised police for their "restraint" during the demonstrations and rewarded the police union for its support with an extra week's leave for every officer in the state. He described the tension over the Springboks' tour as "great fun, a game of chess in the political arena". The crisis, he said, "put me on the map". The following May—six months before the Labor Party's landslide victory at the 1972 Australian federal election under Gough Whitlam—the Country-Liberal coalition gained another comprehensive win at the 1972 Queensland state election: Bjelke-Petersen's party took 26 seats with 20% of the vote, the Liberals took 21 seats with a 22.2% share and Labor got 33 seats from 46.7%. It was the first state election to be fought following a 1971 electoral redistribution that added four seats to the parliament and created four electoral zones with a weightage towards rural seats, with the result that while Brisbane electorates averaged about 22,000 voters, some rural seats such as Gregory and Balonne had fewer than 7000. Political ascendancy, 1971–78 From 1971, under the guidance of newly hired press secretary Allen Callaghan, a former Australian Broadcasting Corporation political journalist, Bjelke-Petersen developed a high level of sophistication in dealing with news media. He held daily media conferences where he joked that he "fed the chooks", established direct telex links to newsrooms where he could feed professionally written media releases and became adept at distributing press releases on deadline so journalists had very little chance to research news items. The Premier's public profile rose rapidly with the resulting media coverage. Bjelke-Petersen began regular media and parliamentary attacks on the Whitlam Labor government, vowing to have it defeated, and he and Whitlam exchanged frequent verbal barbs, culminating in the prime minister's 1975 description of the Queensland premier as "a Bible-bashing bastard ... a paranoic, a bigot and fanatical". The pair clashed over federal plans to halt the sale of Queensland coal to Japan, take over the administration of Aboriginal affairs, remove outback petrol subsidies and move the Australian border in the Torres Strait southwards to a point midway between Queensland and Papua New Guinea. Bjelke-Petersen also vehemently opposed the Whitlam government's proposal for Medicare, a publicly funded universal health care system. The battles helped to consolidate Bjelke-Petersen's power as he used the media to emphasise a distinctive Queensland identity he alleged was under threat from the "socialist" federal government. The Queensland government bought a single-engine aircraft for the Premier's use in November 1971, upgrading it to a twin-engine aircraft in 1973 and even bigger model in 1975. Bjelke-Petersen, a licensed pilot, used it often to visit far-flung parts of the state to campaign and boost his public profile. In April 1974, in a bid to broaden its appeal beyond rural voters, the Country Party changed its name to the National Party. The Gair affair In April 1974 Bjelke-Petersen outmanoeuvred Whitlam after the prime minister offered Democratic Labor Party senator Vince Gair, a bitter opponent of the government, the position of ambassador to Ireland as a way of creating an extra vacant Senate position in Queensland. Whitlam, who lacked a majority in the Senate, hoped Gair's seat would be won by his Labor Party. But when the arrangement was disclosed by newspapers before Gair had resigned from the Senate, the Opposition conspired to keep Gair away from the Senate President (to whom Gair had not yet given his resignation) and ensured he voted in a Senate debate late that night to avoid any move to backdate the resignation. At 5.15pm the Queensland Cabinet met to pass a "flying minute" and advised the Governor, Sir Colin Hannah, to issue writs for five, rather than six, vacancies, denying Labor the chance of gaining Gair's Senate spot. The intention was to have Gair's seat declared a casual vacancy, allowing Bjelke-Petersen to fill the vacancy until the next election. Labor argued that Gair's appointment, and hence his departure from the senate, was effective from no later than when the Irish government accepted his appointment, in March. This was a matter of protracted debate in the Senate over many days, and was never resolved, but it was rendered irrelevant when Whitlam called a double dissolution of both Houses, in an election gamble he only narrowly won. 1974 state election In October 1974 Bjelke-Petersen called an early election, setting the 1974 Queensland election for 7 December, declaring it would be fought on "the alien and stagnating, centralist, socialist, communist-inspired policies of the federal Labor government". The premier visited 70 towns and cities in the five-week campaign and attracted record crowds to public meetings. The result was a spectacular rout for the Labor Party, which was left with just 11 of the legislature's 82 seats after a 16.5 percent swing to the Coalition, leading observers to call Labor's caucus a "cricket team." The only seat Labor retained north of Rockhampton was Cairns, by fewer than 200 votes. The National Party, contesting its first state election under the new name and fielding candidates in just 48 seats, lifted its vote from 19.7 percent to 28 percent, creating a threat for the Liberal Party, and also picked up a number of city seats including its first in Brisbane, the eastern suburbs seat of Wynnum. The Nationals even managed to oust Labor leader Perc Tucker in his own seat. The Australian newspaper named Bjelke-Petersen, whom it described as the "undistinguished" Queensland premier, "Australian of the Year", citing "the singular impact he has exerted on national political life". Role in the Whitlam dismissal In 1975, Bjelke-Petersen played what turned out to be a key role in the political crisis that brought down the Whitlam government. When Queensland Labor Senator Bertie Milliner died suddenly in June 1975, Bjelke-Petersen requested from the Labor Party a short list of three nominees, from which he would pick one to replace Milliner. The ALP refused to supply such a list, instead nominating Mal Colston, an unsuccessful Labor candidate in the 1970 election, whom Bjelke-Petersen duly rejected. On 3 September Bjelke-Petersen selected political novice Albert Field, a long-time ALP member who was critical of the Whitlam government. Field's appointment was the subject of a High Court challenge and he was on leave from October 1975. During this period, the Coalition led by Malcolm Fraser declined to allot a pair to balance Field's absence. This gave the Coalition control over the Senate. Fraser used that control to obstruct passage of the Supply Bills through Parliament, denying Whitlam's by now unpopular government the legal capacity to appropriate funds for government business and leading to his dismissal as Prime Minister. During the tumultuous election campaign precipitated by Whitlam's dismissal by the governor-general John Kerr, Bjelke-Petersen alleged that Queensland police investigations had uncovered damaging documentation in relation to the Loans Affair. This documentation was never made public and these allegations remained unsubstantiated. Taxation reform Queensland was renowned for being the lowest taxed state in Australia for much of Bjelke-Petersen's tenure. Over heated objections by Treasurer Gordon Chalk, Bjelke-Petersen in 1977 announced the removal of state death duties, a move that cost his state $30 million in revenue. So many New South Wales and Victorian residents sought to establish their permanent address in Queensland as a result, boosting state coffers with stamp duty from property transactions, that other states followed suit within months and also abolished the tax. To help compensate for lost revenue, the government introduced football pools; four years later the government granted a casino licence on the Gold Coast, although this too was mired in allegations of corruption and favouritism. Restriction of civil liberties, growth of police power Issues of police powers and civil liberties, first raised at the time of the 1971 Springboks tour, resurfaced in July 1976 with a major street demonstration in which more than a thousand university students marched towards the Brisbane city centre to demand better allowances from the federal government. Police stopped the march in Coronation Drive and television cameras captured an incident during the confrontation in which a police inspector struck a 20-year-old female protester over the head with his baton, injuring her. When Police Commissioner Ray Whitrod announced he would hold an inquiry, a move supported by Police Minister Max Hodges, Bjelke-Petersen declared there would be no inquiry. He told reporters he was tired of radical groups believing they could take over the streets. Police officers passed a motion at a meeting commending the premier for his "distinct stand against groups acting outside the law" and censured Whitrod. A week later Bjelke-Petersen relieved Hodges of his police portfolio. Secure in the knowledge that they had the Premier's backing, police officers continued to act provocatively, most notably in a military-style raid on a hippie commune at the Cedar Bay commune in Far North Queensland late the following month. The police, who had been looking for marijuana, set fire to the residents' houses and destroyed their property. Bjelke-Petersen rejected calls for an inquiry into the raid, declaring the government would believe the police and claiming the public clamour was "all part of an orchestrated campaign to legalise marijuana and denigrate the police". In defiance of the premier, Whitrod went ahead with an inquiry anyway and on 16 November ordered summonses be issued against four police officers on more than 25 charges, including arson. He chose the same day to announce that he was quitting his post. Whitrod claimed his resignation marked a victory for the forces of corruption, but said he had decided to quit rather than tolerate further political interference by the premier and new Police Minister Tom Newbery. Whitrod said Queensland showed signs of becoming a police state and he compared the growing political interference in law enforcement to the rise of the German Nazi state. Whitrod was replaced by Assistant Commissioner Terry Lewis, despite Whitrod's warning to the Police Minister that he was corrupt. In 1977, Bjelke-Petersen announced that "the day of street marches is over", warning protesters, "Don't bother applying for a march permit. You won't get one. That's government policy now!" Liberal parliamentarians crossed the floor defending the right of association and assembly. One Liberal MP, Colin Lamont, told a meeting at the University of Queensland that the premier was engineering confrontation for electoral purposes and was confronted two hours later by an angry Bjelke-Petersen who said he was aware of the comments. Lamont later said he learned the Special Branch had been keeping files on Liberal rebels and reporting, not to their Commissioner, but directly to the Premier, commenting: "The police state had arrived." When, after two ugly street battles between police and right-to-march protesters, the Uniting Church Synod called on the government to change the march law, Bjelke-Petersen accused the clergy of "supporting communists". His attack sparked a joint political statement by four other major religious denominations, which was shrugged off by the premier. The government's increasingly hardline approach to civil liberties prompted Queensland National Party president Robert Sparkes to warn the party that it was developing a dangerous "propaganda-created" ultra-conservative, almost fascist image. He told a party conference: "We must studiously avoid any statements or actions which suggest an extreme right-wing posture." Bjelke-Petersen ignored the advice. He condemned the use of Australian foreign aid to prop up communist regimes, urged Prime Minister Malcolm Fraser to stop criticising the governments of South Africa and Rhodesia and from 1977 proposed Queensland secede from Australia and establish its own currency. He also accused political opponents of being covert communists bent on chaos, observing: "I have always found ... you can campaign on anything you like but nothing is more effective than communism ... If he's a Labor man, he's a socialist and a very dangerous man." Three weeks before the 1977 Queensland election, 400 demonstrators were arrested in what a Melbourne newspaper called "Joh's War". Aided by an electoral redistribution that removed two Liberal-held seats, the Nationals won 35 out of 82 seats, compared with 24 for the Liberals and 23 for a resurgent Labor Party. It was the first time in Queensland political history the Nationals had outpolled the Liberals. Bjelke-Petersen used the party's strength to move key Cabinet posts that had long held by the Liberals into the hands of National Party ministers. In October 1978 thousands of demonstrators again attempted to defy anti-march laws with a protest march in Albert St, Brisbane, which was again repulsed by police lined five deep. In a Brisbane byelection a month later National Party support slumped to just 10 percent, half of what party strategists had expected. But by the end of 1978, both the state Liberal and Labor parties had new parliamentary leaders—the fourth Labor opposition leader during Bjelke-Petersen's reign and the third Liberal leader. Disintegration of National–Liberal coalition, 1980–86 Florence Bjelke-Petersen was elected to the Senate in October 1980 as a National Party member and six weeks later Joh was successful for a fifth time as premier at the 1980 Queensland election, with the Nationals converting a 27.9 percent primary vote—their highest ever—into 35 of the parliament's 82 seats, or 43 percent of seats. It also created a record 13-seat lead over their coalition partners, the Liberals, who had campaigned by offering Queenslanders an alternative style of moderate government. The Nationals picked up all four Gold Coast seats and all those on the Sunshine Coast. Once again the premier took advantage of his party's dominance over the Liberals in Cabinet, this time demanding that the seven Liberal ministers sign a coalition agreement in which they promised unquestioned allegiance to Cabinet decisions. The move turned the Nationals' 35 votes to a guaranteed majority of 42 in the House, effectively neutralising any potential opposition by the 15 Liberal backbenchers. Bjelke-Petersen began making appointments, including judges and the chairmanship of the Totalisator Agency Board, that had traditionally been the domain of Liberal ministers, and accusations arose of political interference and conflicts of interest as mining contracts, casino licences and the rights to build shopping complexes were awarded to business figures with National Party links. Accusations of political interference also arose when police released without charge TAB chairman Sir Edward Lyons, a National Party trustee and close friend of Bjelke-Petersen, after a breathalyser test showed he was driving with more than double the legal blood alcohol limit. Relations with the Liberal Party continued to deteriorate. By August 1983, after 26 years of coalition, they had reached their nadir. Bjelke-Petersen was angered by a Liberal Party bid to establish a public accounts committee to examine government expenditure. Shortly afterward, Liberal leader Llew Edwards was ousted in a party room coup by Terry White, who had long advocated a greater role for the Liberals in the Coalition. Bjelke-Petersen refused to give Edwards' old post of deputy premier to White, choosing instead to adjourn parliament—which had sat for just 15 days that year—declined to say when it would sit again, and insisted he could govern alone without the need of a coalition, commenting: "The government of Queensland is in very, very good hands." Labor leader Tom Burns said the closure of parliament showed "that no rules exist in the state of Queensland." In a fortnight of political crisis, Bjelke-Petersen defied an ultimatum by Liberal parliamentarians to accept their leader in Cabinet, prompting White to tear up the Coalition agreement and lead the Liberals to the crossbench. Watching with satisfaction as the Liberal Party engaged in vitriolic infighting, Bjelke-Petersen called an election for 22 October, claiming: "I really believe we can govern Queensland in our own right." The campaign coincided with the launch of an "official" Bjelke-Petersen biography, Jigsaw, which lauded him as a "statesman extraordinaire" and "protectorate of Queensland and her people". Further rubbing salt in the wounds of his former coalition partners, his campaign was boosted by the support of prominent Liberals from other states including Tasmanian premier Robin Gray and former Victorian and NSW premiers Sir Henry Bolte and Tom Lewis. The Nationals also poured significant resources into Brisbane-area Liberal seats, seeing a chance to not only win government in their own right, but destroy their former Liberal partners. Three months before his 73rd birthday, Bjelke-Petersen and his party recorded a resounding victory, attracting 38.9 percent of the primary vote to give them exactly half the parliament's 82 seats, just one short of a majority. Labor, with 44 percent of the vote, won 32 seats. The Liberals were decimated, losing all but eight of their 21 seats. Bjelke-Petersen openly urged Liberals to cross the floor to the Nationals in hopes of getting an outright majority. Just three days later, two Liberals—former ministers Don Lane and Brian Austin—took up Bjelke-Petersen's offer and joined the Nationals in return for seats in cabinet. With Lane and Austin's defections, the National Party was able to form a majority government for the first time at the state level in Australia. In 1984 Bjelke-Petersen was created a Knight Commander of the Order of St Michael and St George (KCMG) for "services to parliamentary democracy". Author Evan Whitton suggests the premier had made the nomination himself. In 1985 Bjelke-Petersen unveiled plans for another electoral redistribution to create seven new seats in four zones: four in the state's populous south-east (with an average enrolment of 19,357 electors per seat) and three in country areas (with enrolments as low as 9386). The boundaries were to be drawn by electoral commissioners specially appointed by the government; one of them, Cairns lawyer Sir Thomas Covacevich, was a fundraiser for the National Party. The malapportionment meant that a vote in the state's west was worth two in Brisbane and the provincial cities. A University of Queensland associate professor of government described the redistribution as "the most criminal act ever perpetrated in politics ... the worst zonal gerrymander in the history of the world" and the most serious action of Bjelke-Petersen's political career. A "Joh for PM" campaign was conceived in late 1985, driven largely by a group of Gold Coast property developers, promoting Bjelke-Petersen as the most effective conservative challenger to Labor Prime Minister Bob Hawke, and at the 1986 Queensland election he recorded his biggest electoral win ever, winning 49 of the state's 89 seats with 39.6 percent of the primary vote. The ALP's 41.3 percent share of the vote earned it 30 seats, while the Liberal Party won the remaining 10 seats. In his victory speech, Bjelke-Petersen declared the Nationals had prevailed over the "three forces" who had opposed it: "We had the ALP organisation with its deceits, deception and lies, we had the media encouraging and supporting them, and we had the Liberal Party ... our assault on Canberra begins right now." It was the seventh and final electoral victory of the Bjelke-Petersen era. In January 1987 the premier handed control of the state to Deputy Premier Bill Gunn and announced he would seek election to the House of Representatives, formally embarking on his "Joh for Canberra" push. By early 1987 the campaign, with its promise of a 25 percent flat tax, was attracting the support of 20 per cent of voters in opinion polls. Downfall and resignation: 1987 In late 1986, two journalists, the ABC's Chris Masters and The Courier-Mail's Phil Dickie, independently began investigating the extent of police and political corruption in Queensland and its links to the National Party state government. Dickie's reports, alleging the apparent immunity from prosecution enjoyed by a group of illegal brothel operators, began appearing in early 1987; Masters' explosive Four Corners investigative report on police corruption entitled The Moonlight State aired on 11 May 1987. Within a week, Acting Premier Gunn decided to initiate a wide-ranging Commission of Inquiry into police corruption, despite opposition from Bjelke-Petersen. Gunn selected former Federal Court judge Tony Fitzgerald as its head. By late June, the terms of inquiry of what became known as the Fitzgerald Inquiry had been widened from members of the force to include "any other persons" with whom police might have been engaged in misconduct since 1977. On 27 May 1987, Prime Minister Hawke called a federal election for 11 July, catching Bjelke-Petersen unprepared. The premier had flown to the United States two days earlier and had not yet nominated for a federal seat; on 3 June he abandoned his ambitions to become prime minister and resumed his position in the Queensland government. The announcement came too late for the non-Labor forces, as Bjelke-Petersen had pressured the federal Nationals to pull out of the Coalition. Due to a number of three-cornered contests, Labor won a sweeping victory. Fitzgerald began his formal hearings on 27 July 1987, and a month later the first bombshells were dropped as Sgt Harry Burgess—accused of accepting $221,000 in bribes since 1981—implicated senior officers Jack Herbert, Noel Dwyer, Graeme Parker and Commissioner Terry Lewis in complex graft schemes. Other allegations quickly followed, and on 21 September Police Minister Gunn ordered Lewis—knighted in 1986 at Bjelke-Petersen's behest and now accused of having taken $663,000 in bribes—to stand down. The ground had begun to shift out from under Bjelke-Petersen's feet even before the hearings began. The first allegations of corruption prompted the Labor opposition to ask the Governor, Sir Walter Campbell, to use his reserve power to sack Bjelke-Petersen. His position deteriorated rapidly; ministers were openly opposing him in Cabinet meetings, which had been almost unthinkable for most of his tenure. Throughout 1986, Bjelke-Petersen had pushed for approval of construction of the world's tallest skyscraper in the Brisbane CBD, which had been announced in May. The project, which had not been approved by the Brisbane City Council, enraged his backbenchers. During a party meeting, MP Huan Fraser confronted Bjelke-Petersen, saying "I know there is a bloody big payoff to you coming as a result of this. You're a corrupt old bastard, and I'm not going to cop it." By this time, Sparkes had also turned against Bjelke-Petersen, and was pressuring him to retire. On 7 October, Bjelke-Petersen announced he would retire from politics on 8 August 1988, the 20th anniversary of his swearing-in. Six weeks later, on 23 November 1987, Bjelke-Petersen visited Campbell and advised him to sack the entire Cabinet and appoint a new one with redistributed portfolios. Under normal circumstances, Campbell would have been bound by convention to act on Bjelke-Petersen's advice. However, Campbell persuaded Bjelke-Petersen to limit his demand to ask for the resignations of those ministers he wanted removed. Bjelke-Petersen then demanded the resignation of five of his ministers, including Gunn and Health Minister Mike Ahern. All refused. Gunn, believing Bjelke-Petersen intended to take over the police portfolio and terminate the Fitzgerald Inquiry, announced he would challenge for the leadership. Bjelke-Petersen persisted regardless and decided to sack three ministers—Ahern, Austin and Peter McKechnie—on the grounds of displaying insufficient loyalty. The next day, Bjelke-Petersen formally advised Campbell to sack Ahern, Austin and McKechnie and call an early election. However, Ahern, Gunn and Austin told Campbell that Bjelke-Petersen no longer had enough parliamentary support to govern. While Campbell agreed to the ouster of Ahern, Gunn and Austin, he was reluctant to call fresh elections for a legislature that was only a year old. He thus concluded that the crisis was a political one in which he should not be involved. He also believed that Bjelke-Petersen was no longer acting rationally. After Bjelke-Petersen refused numerous requests for a party meeting, the party's management committee called one for 26 November. At this meeting, a spill motion was carried by a margin of 38–9. Bjelke-Petersen boycotted the meeting, and thus did not nominate for the ensuing leadership vote, which saw Ahern elected as the new leader and Gunn elected as deputy. Ahern promptly wrote to Campbell seeking to be commissioned as premier. This normally should have been a pro forma request, given the Nationals' outright majority. However, Bjelke-Petersen insisted he was still premier, and even sought the support of his old Liberal and Labor foes in order to stay in office. However, even with the combined support of the Liberals and Labor plus Bjelke-Petersen's own vote, Bjelke-Petersen would have needed at least four Nationals floor-crossings to keep his post. Despite Bjelke-Petersen's seemingly tenuous position, Campbell had received legal advice that he could sack Bjelke-Petersen only if he tried to stay in office after being defeated in the legislature. This was per longstanding constitutional practice in Australia, which calls for a first minister (Prime Minister at the federal level, premier at the state level, chief minister at the territorial level) to stay in office unless he resigns or is defeated in the House. The result was a situation in which, as the Sydney Morning Herald put it, Queensland had a "Premier who is not leader" and the National Party a "Leader who is not Premier". The crisis continued till 1 December, when Bjelke-Petersen announced his retirement from politics. He declared: The policies of the National Party are no longer those on which I went to the people. Therefore I have no wish to lead the Government any longer. It was my intention to take this matter to the floor of State Parliament. However, I now have no further interest in leading the National Party any further.Three months later, Bjelke-Petersen called on voters at the federal by-election in Groom to support the Liberal candidate instead of the National contestant. Bjelke-Petersen said the Nationals had lost their way and turned their backs on traditional conservative policies. Aftermath: 1988–2003 In February 1988, the Australian Broadcasting Tribunal announced a hearing into the suitability of entrepreneur Alan Bond, the owner of the Nine TV network, to hold a broadcasting licence. The investigation centered on the network's $400,000 payout to Bjelke-Petersen in 1985 to settle a defamation action launched by the premier in 1983. Bond had made the payment (negotiated from an initial $1 million claim) soon after buying the network and a major Queensland brewery and claimed in a later television interview that Bjelke-Petersen told him he would need to make the payment if he wished to continue business in Queensland. (In April 1989 the broadcasting tribunal found that Bjelke-Petersen had placed Bond in a position of "commercial blackmail".) Bjelke-Petersen was called to the Fitzgerald corruption inquiry on 1 December 1988, where he said that, despite allegations raised in the media and parliament, he had held no suspicion in the previous decade of corruption in Queensland. He said a Hong Kong businessman's 1986 donation of $100,000 to an election slush fund—delivered in cash at the premier's Brisbane office—was not unusual, and that he did not know the identity of other donors who had left sums of $50,000 and $60,000 in cash at his office on other occasions. Questioned by barrister Michael Forde, Bjelke-Petersen—whose citation for his 1984 knighthood noted that he was "a strong believer in historic tradition of parliamentary democracy"—was also unable to explain the doctrine of separation of powers under the Westminster system. Under Ahern (1987–89) and Russell Cooper (1989), the Nationals were unable to overcome the damage from the revelations about the massive corruption in the Bjelke-Petersen government. At the 1989 state election, Labor swept the Nationals from power in a 24-seat swing—at the time, the worst defeat of a sitting government since responsible government was introduced in Queensland. As a result of the Fitzgerald inquiry, Lewis was tried, convicted, and jailed on corruption charges. He was later stripped of his knighthood and other honours. A number of other officials, including ministers Don Lane and Austin were also jailed. Another former minister, Russ Hinze, died while awaiting trial. In 1991 Bjelke-Petersen faced criminal trial for perjury arising out of the evidence he had given to the Fitzgerald inquiry (an earlier proposed charge of corruption was incorporated into the perjury charge). Bjelke-Petersen's former police Special Branch bodyguard Sergeant Bob Carter told the court that in 1986 he had twice been given packages of cash totalling $210,000 at the premier's office. He was told to take them to a Brisbane city law firm and then watch as the money was deposited in a company bank account. The money had been given over by developer Sng Swee Lee, and the bank account was in the name of Kaldeal, operated by Sir Edward Lyons, a trustee of the National Party. John Huey, a Fitzgerald Inquiry investigator, later told Four Corners: "I said to Robert Sng, 'Well what did Sir Joh say to you when you gave him this large sum of money?' And he said, "All he said was, 'thank you, thank you, thank you'." The jury could not agree on a verdict. In 1992 it was revealed that the jury foreman, Luke Shaw, was a member of the Young Nationals and was identified with the "Friends of Joh" movement. A special prosecutor announced in 1992 there would be no retrial because Bjelke-Petersen, then aged 81, was too old. Developer Sng Swee Lee refused to return from Singapore for a retrial. Bjelke-Petersen said his defence costs sent him broke. Bjelke-Petersen's memoirs, Don't You Worry About That: The Joh Bjelke-Petersen Memoirs, were published the same year. He retired to Bethany where his son John and wife Karyn set up bed and breakfast cottages on the property. He developed progressive supranuclear palsy, a condition similar to Parkinson's disease. In 2003, he lodged a $338 million compensation claim with the Queensland Labor government for loss of business opportunities resulting from the Fitzgerald inquiry. The claim was based on the assertion that the inquiry had not been lawfully commissioned by state cabinet and that it had acted outside its powers. The government rejected the claim; in his advice to the government, tabled in parliament, Crown Solicitor Conrad Lohe recommended dismissing the claim and said Bjelke-Petersen was "fortunate" not to have faced a second trial. Electoral history Death Bjelke-Petersen died in St Aubyn's Hospital in Kingaroy in April 2005, aged 94, with his wife and family members by his side. He received a State Funeral, held in Kingaroy Town Hall, at which the then Prime Minister, John Howard, and Queensland Premier, Peter Beattie were speakers. Beattie, who had been sued by Bjelke-Petersen for defamation and was arrested during the 1971 Springbok tour protests, said: "I think too often in the adversarial nature of politics we forget that behind every leader, behind every politician, is indeed a family and we shouldn't forget that." As the funeral was taking place in Kingaroy, about 2000 protesters gathered in Brisbane to "ensure that those who suffered under successive Bjelke-Petersen governments were not forgotten". Protest organiser Drew Hutton said "Queenslanders should remember what is described as a dark passage in the state's history." Bjelke-Petersen was buried "beside his trees that he planted and he nurtured and they grew" at the Kingaroy family property, called "Bethany". The Bjelke-Petersen Dam in Moffatdale in the South Burnett Region is named after him. Malapportionment Bjelke-Petersen's government was kept in power in part due to an electoral malapportionment where rural electoral districts had significantly fewer enrolled voters than those in metropolitan areas. This system was introduced by the Labor Party in 1949 as an overt electoral fix in order to concentrate its base of voters in regional towns and rural areas in as many districts as possible. Under Nicklin the bias in favour of rural constituencies was maintained, but reworked to favour the Country and Liberal parties by carving new Country-leaning seats in the hinterlands of provincial areas and Liberal-leaning seats in Brisbane. The bias worked to Bjelke-Petersen's benefit in his first election as premier, in 1969. His Country Party won only 21 percent of the primary vote, finishing third behind Labor and the Liberals. However, due to the Country Party's heavy concentration of support in the provincial and rural zones, it won 26 seats, seven more than the Liberals. Combined, the Coalition had 45 seats out of 78, enough to consign Labor to opposition even though it finished percentage points ahead of the Coalition on the two-party vote. While in opposition, Bjelke-Petersen had vehemently criticised the 1949 redistribution, claiming that Labor was effectively telling Queenslanders, "Whether you like it or not, we will be the government." In 1972, Bjelke-Petersen strengthened the system to favour his own party. To the three existing electoral zones—metropolitan Brisbane, provincial and rural—was added a fourth zone, the remote zone. The seats in this area had even fewer enrolled electors than seats in the rural zone—in some cases, as few as a third of the enrolled electors in a typical Brisbane seat. This had the effect of packing Labor support into the Brisbane area and the provincial cities. On average, it took only 7,000 votes to win a Country/National seat, versus 12,000 for a Labor seat. This gross distortion led to his opponents referring to it as the "Bjelkemander", a play on the term "gerrymander". The 1985 proposal would have made the malapportionment even more severe, to the point that a vote in Brisbane would have only been worth half a country vote. The lack of a state upper house (which Queensland had abolished in 1922) allowed legislation to be passed without the need to negotiate with other political parties. Character and attitudes Authoritarianism Queensland political scientist Rae Wear described Bjelke-Petersen as an authoritarian who treated democratic values with contempt and was intolerant and resentful of opposition, yet who also demonstrated a down-home charm and old-fashioned courtesies as well as kindness to colleagues. Those who worked closely with him described him as stubborn with a propensity to fly into rages in which he would "rant and rave like Adolf Hitler", creating "fantastic performances" as he shook with rage, becoming increasingly incoherent. Many of his National Party colleagues were in terror of him on such occasions. Raised by migrant parents in spartan rural surroundings, he combined a strong work ethic with an ascetic lifestyle that was strongly shaped by his Lutheran upbringing. As a young man Bjelke-Petersen lived alone for 15 years in an old cow bail with a leaky bark roof and only the most basic of facilities. He had a lifelong habit of hard work and long days and while premier often slept for just four hours a night. He valued "the School of Life, the hard knocks of life" more than formal education and showed little respect for academics and universities, although he accepted an honorary doctorate of Laws from the University of Queensland in May 1985, prompting criticism from both students and staff. Wear dismissed Bjelke-Petersen's claim that he was a reluctant and accidental entrant into state politics, concluding that he "seized opportunity whenever it presented and held tenaciously to power", and was later willing to use any device to remain premier. She said that although Bjelke-Petersen denied ever knowing anything about corruption, "the evidence suggests this is untrue. He ignored it because to acknowledge its presence was to hand a weapon to his political enemies and because he was prepared to trade off corruption for police loyalty". Biographers have suggested that Bjelke-Petersen, raised under a resented patriarch, himself came to play the strong patriarch, refusing to be accountable to anyone: "Rather than explaining himself or answering questions, he demanded to be taken on trust." He believed God had chosen him to save Australia from socialism and also had a profound sense of Christian conscience that he said guided political decisions, explaining, "Your whole instinct cries out whether it's good or bad." A cousin of Bjelke-Petersen said the premier "has an inner certainty that he knows the answers to our political and social woes" and as a good Christian expected to be trusted, thus needing no constitutional checks and balances. Relations with the media Guided by media adviser Allen Callaghan, with whom he worked from 1971 to 1979, Bjelke-Petersen was an astute manager of news media. He made himself available to reporters and held daily press conferences where he "fed the chooks". Callaghan released a steady stream of press releases, timing them to coincide with periods when news editors were most desperate for news. For most of Bjelke-Petersen's premiership, Queensland newspapers were supportive of his government, generally supporting the police and government on the street march issue, while Brisbane's Courier-Mail endorsed the return of the coalition government at every state election between 1957 and 1986. According to Rae Wear, Bjelke-Petersen demanded total loyalty of the media and was unforgiving and vindictive if reporting was not to his satisfaction. In 1984, he reacted to a series of critical articles in the Courier-Mail by switching the government's million-dollar classified advertising account to the rival Daily Sun. He banned a Courier-Mail reporter who was critical of his excessive use of the government aircraft and Wear claims other journalists who wrote critical articles became the subject of rumour-mongering, were harassed by traffic police, or found that "leaks" from the government dried up. Journalists covering industrial disputes and picketing were also afraid of arrest. In 1985, the Australian Journalists Association withdrew from the system of police passes because of police refusal to accredit certain journalists. Journalists, editors and producers were also deterred from critical stories by Bjelke-Petersen's increasing use of defamation actions in order to try to "stop talk about a corrupt government". Queensland historian Ross Fitzgerald was threatened with criminal libel in 1984 when he sought to publish a critical history of the state. The premier and his ministers launched 24 defamation actions against the Opposition leader and Labor Party and trade union figures, with 14 of them publicly funded. He saw no role for the media in making government accountable, telling the Australian Financial Review in 1986: "The greatest thing that could happen to the state and the nation is when we get rid of the media. Then we would live in peace and tranquillity and no one would know anything." Callaghan's advice to Bjelke-Petersen included the recommendation that he maintain his rambling style of communication with mangled syntax, recognising it added to his homespun appeal to ordinary people and also allowed him to avoid giving answers. His catchphrase response to unwelcome queries was, "Don't you worry about that", a phrase that was used as the title of his 1990 memoir. Wear wrote: "His verbal stumbling communicated decent simplicity and trustworthiness and, in order to enhance his popular appeal, Bjelke-Petersen appears to have exaggerated, or at least not tried to rid himself of, his famous speaking style." Heritage and environment The premier showed little concern for heritage and environmental issues, attracting widespread public fury over the 1979 demolition of Brisbane's historic Bellevue Hotel and favouring oil drilling on the Great Barrier Reef and sand mining on Moreton Island. He opposed the expansion of Aboriginal land rights, barred state officials from meeting World Council of Churches delegates who were studying the treatment of Aborigines in Queensland and demonstrated a strong moralistic streak, banning Playboy magazine, opposing school sex education and condom vending machines and in 1980 proposing a ban on women flying south for abortions. In May 1985 the government conducted a series of raids on so-called abortion clinics. Industrial relations Bjelke-Petersen had a confrontational approach to industrial relations. As a backbencher he had made clear his opposition to unions and the 40-hour week and in 1979 he pushed for legislation that would lead to the lifetime loss of a driver's licence for union members using their own vehicles to organise strikes. For four days in 1981, Queensland power workers had been using rotating blackouts and restrictions as a means of pressure. Bjelke-Petersen responded by closing licensed clubs and hotels and publishing the names and addresses of the 260 involved workers, with the aim of inspiring members of the public to harass them. The intimidation tactic worked and the union resumed normal work schedules within 15 minutes of government ads arriving in Brisbane newspapers. "I believe the Government now knows how in the future to approach such disputes in essential services", said Bjelke-Petersen. In 1982 he ordered the dismissal of teachers who were conducting rolling stoppages on the issue of class sizes. The same year he invoked the Essential Services Act to declare a state of emergency when government blue-collar workers launched industrial action to support a 38-hour week. His biggest showdown with unions came in February 1985 when electrical workers, opposing the increasing use of contract labour in their industry, placed a ban on performing routine maintenance. Bjelke-Petersen ordered the shutdown of several of the states generators. That led to two weeks of blackouts. The government declared a state of emergency on 7 February, sacked as many as 1100 striking workers but offered their jobs back if they would sign a no-strike clause and work a 40-hour week; most accepted but 400 lost their jobs and superannuation. Labor compared the government with the Nazi regime, calling the new laws "police-state legislation". Aboriginal people Bjelke-Petersen believed that he and his government knew what was best for Aboriginal Australians. He excused racially discriminatory legislation as a protective measure and generally supported Aboriginal self-determination at least partly as striking a blow against the monolithic centralism of Canberra under Labor. In June 1976, Bjelke-Petersen blocked the proposed sale of a pastoral property on the Cape York Peninsula to a group of Aboriginal people, because according to cabinet policy, "The Queensland Government does not view favourably proposals to acquire large areas of additional freehold or leasehold land for development by Aborigines or Aboriginal groups in isolation." This dispute resulted in the case of Koowarta v Bjelke-Petersen, which was decided partly in the High Court in 1982, and partly in the Supreme Court of Queensland in 1988. The courts found that Bjelke-Petersen's policy had discriminated against Aboriginal people. In 1978, the Uniting Church supported Aborigines at Aurukun and Mornington Island in their struggle with the Queensland Government after it granted a 1900 square kilometre mining lease to a mining consortium under extremely favourable conditions. The Aurukun people challenged the legislation, winning their case in the Supreme Court of Queensland but later losing when the Queensland Government appealed to the Privy Council of the United Kingdom. Bjelke-Petersen was opposed by Sir Robert Sparkes, church groups and the federal government over a 1982 push to abolish Aboriginal and Islander community reserves and to give title to the reserve lands to local councils elected by communities—titles that could be revoked by the government for unspecified reasons. Bjelke-Petersen claimed there were over-riding issues of defence and security because of fears of a communist plot to create a separate black nation in Australia. In 1982, Bjelke-Petersen also denied John Koowarta, an Aboriginal Wik man, the sale of the Archer River cattle station that covered large amounts of the Wik ancestral homeland, due to Aboriginal people 'not being allowed to buy large areas of land'. Koowarta appealed the decision to the High Court, arguing that the Queensland Government could not do this under the Racial Discrimination Act 1975 (Cth). The High Court overruled Bjelke-Petersen's decision, allowing the Wik nation's traditional land to be bought by Koowarta. The sale was to proceed, but at the last minute, Bjelke-Petersen, in an act described by Australian Conservation Foundation councillor Kevin Guy as one of "spite and prejudice," declared the Archer River property a national park, the Archer Bend National Park (now known as Oyala Thumotang National Park), to ensure that no one could ever own it. However, on 6 October 2010 Premier Anna Bligh announced that a portion of the park would be given over to the Wik-Mungkana peoples as freehold land. On 22 May 2012 Campbell Newman handed the park to the Oyala Thumotang Land Trust representing the Wik Mungkan, Southern Kaanju and Ayapathu and transferred a portion of land revoked from the park as freehold land. Anti-homosexual remarks During his period in office Bjelke-Petersen frequently raised fears of a conspiracy of "southern homosexuals" to gain electoral advantage and to oppose the policies of the federal government or other states. State development Considerable development of the state's infrastructure took place during the Bjelke-Petersen era. He was a leading proponent of Wivenhoe and Burdekin Dams, encouraging the modernising and electrifying of the Queensland railway system, and the construction of the Gateway Bridge. Airports, coal mines, power stations, and dams were built throughout the state. James Cook University was established. In Brisbane, the Queensland Cultural Centre, Griffith University, the Southeast Freeway, and the Captain Cook, Gateway and Merivale bridges were all constructed, as well as the Parliamentary Annexe that was attached to Queensland Parliament House. Bjelke-Petersen was one of the instigators of World Expo 88 (now South Bank Parklands) and the 1982 Brisbane Commonwealth Games. His government worked closely with property developers on the Gold Coast, who constructed resorts, hotels, a casino and a system of residential developments. In one controversial case, the Queensland government passed special legislation, the Sanctuary Cove Act 1985, to exempt a luxury development, Sanctuary Cove, from local government planning regulations. The developer, Mike Gore, was seen as a key member of the "white shoe brigade", a group of Gold Coast businessmen who became influential supporters of Bjelke-Petersen. The "white-shoe" nickname was a contemptuous allusion to the nouveau riche origins revealed by their gaudy and tasteless choice of clothing, which included brightly coloured or patterned shirts, slacks with white stripes or in pastel shades, and shoes and belts of white leather, these often having gold or gilt buckles. They became known for shady deals with the government concerning property development, often with dire consequences for heritage buildings. A similar piece of legislation was passed to allow the Japanese company, Iwasaki Sangyo, to develop a tourist resort near Yeppoon in Central Queensland. Personal associations He was an associate of Milan Brych, who had previously been removed from the New Zealand Medical Register for promoting unproven cancer cures. References Notes Citations Further reading Joh Bjelke-Petersen, Don't You Worry About That! The Joh Bjelke-Petersen Memoirs, North Ryde, Angus and Robertson, (1990), Deane Wells, The Deep North (1979) (Outback Press), State Library of Queensland holds archives of material by and about Sir Joh Bjelke-Petersen, including The Joh Tapes on Leadership, a series of interviews with past Queensland Premier, about his style of government and factors which shaped that style. The Making of the aforementioned Joh Tapes tapes Oral History and Digital Story with Richard Lancaster, State Library of Queensland 1911 births 2005 deaths Australian monarchists Australian Knights Commander of the Order of St Michael and St George National Party of Australia members of the Parliament of Queensland Premiers of Queensland 1975 Australian constitutional crisis Australian Lutherans Australian people of Danish descent New Zealand emigrants to Australia People from Kingaroy Deputy Premiers of Queensland Treasurers of Queensland Spouses of Australian politicians People from Dannevirke Q150 Icons Foreign born Australian politicians 20th-century Australian farmers
Kamengrad may refer to: Kamengrad Fort, a medieval ruin near Sanski Most, Bosnia and Herzegovina Donji Kamengrad, a village near Sanski Most, Bosnia and Herzegovina Gornji Kamengrad, a village near Sanski Most, Bosnia and Herzegovina Kamengrad coal mine, a coal mine in Bosnia and Herzegovina Andrićgrad, a construction project in Višegrad, Bosnia and Herzegovina
Yengi Kahriz (, also Romanized as Yengī Kahrīz, Yangī Gahrīz, Yangī Kahrīz, Yang-ī-Kārīz, and Yang Kārīz) is a village in Ebrahimabad Rural District, Ramand District, Buin Zahra County, Qazvin Province, Iran. At the 2006 census, its population was 173, in 48 families. References Populated places in Buin Zahra County
Killer Dill is a 1947 American comedy film directed by Lewis D. Collins and starring Stuart Erwin, Anne Gwynne and Frank Albertson. It set in 1931 during the Prohibition Era. Plot Lingerie salesman Johnny Dill loses girlfriend Judy Parker to his longtime friend, the charming lawyer William T. Allen. And when he takes his assistant Millie Gardner to a movie, all she talks about is the manly gangster hero Big Nick Moronie. Discouraged that every woman seems to want something completely different from what he has to offer, Johnny decides to change his ways and become more of a tough gangster himself to improve his chances. Johnny drops into a bar and plays out his new act in full, upsetting the Big Nick Moronie, who is considered to be "public enemy number 21." Big Nick has a beef with "public enemy number 24", Maboose, but when he sends his goon Little Joe to deal with him, Little Joe kills Big Nick instead in the gangster's own apartment, which is just across the hall from Johnny's. Little Joe doesn't know how to dispose of the body, so he puts it in one of Johnny's lingerie trunks. Johnny finds the body, puts it in a car and drives off. The body falls out of the car when Johnny is chased by police. Everyone thinks Johnny is the one who offed Big Nick, and all over the news he is called "Killer Dill." Eventually he comes out of his hiding and a trial ensues. He is defended by his old friend William, and is found not guilty. Everyone still believes he is the killer., He is now known as "public enemy number 21" after the person he supposedly killed. Big Nick's brother Louie is eager to get revenge. Johnny tries to team up with Maboose for protection. Little Joe is also making a deal with Maboose to get rid of Louie. Before Louie is killed, Johnny bumps into Little Joe and threatens him with a toy gun. Johnny makes him write a statement taking responsibility for the murder. Little Joe discovers that the gun is a toy and starts strangling Johnny, but Louie comes to the rescue. Little Joe is thrown out the window. William, who has worked for Maboose all along, makes Johnny destroy the statement to not incriminate his boss. Judy finally sees what a stand-up guy Johnny really is. She breaks off her engagement to William, then proposes to Johnny. Cast Stuart Erwin as Johnny 'Killer' Dill Anne Gwynne as Judy Parker Frank Albertson as William T. Allen Mike Mazurki as Little Joe Milburn Stone as Maboose Dorothy Granger as Millie Gardner Anthony Warde as Louie Moroni Dewey Robinson as McGowan, house detective Ben Welden as Big Nick Moroni Julie Gibson as Joan, model Shirley Hunter as Gloria Lola Jensen as Other model with Joan Margaret Zane as Girl with Gloria Stanley Ross as Mushnose Reception The Los Angeles Times called the film "a trifle heavy handed". External links References 1947 films American crime comedy films 1940s English-language films American black-and-white films 1940s crime comedy films Films set in 1931 Lippert Pictures films 1947 comedy films 1940s American films English-language crime comedy films
'Green Croft and Langley Moor' is a Site of Special Scientific Interest in the Derwentside district in north County Durham, England. It consists of three separate areas, two to the south of Annfield Plain and one just west of Quaking Houses, between the towns of Consett, to the west, and Stanley, to the east. All three locations contain areas of heath and mire, habitats that are, except at Waldridge Fell, rare and fragmented in lowland Durham. At Langley Moor there is an area of woodland which is dominated by downy birch, Betula pubescens, with some sessile oak, Quercus petraea. Apart from its importance for habitat conservation, the site also includes some small ponds, which support a breeding population of great crested newts, Triturus cristatus, and a dragonfly, the black darter, Sympetrum danae'', which is rare in north-east England. The great crested newt is a European Protected Species and one of only three amphibians that are protected under the UK Biodiversity Action Plan. References Sites of Special Scientific Interest in County Durham
HM LST-8 was a Landing Ship, Tank of the Royal Navy during World War II. Built as a in the US, she was transferred to the Royal Navy in March 1943, Post war she was transferred to the United States Navy before disposal. Construction LST-8 was laid down on 26 July 1942, at Pittsburgh, Pennsylvania, by the Dravo Corporation; launched on 29 October 1942; sponsored by Mrs. Anne H. Johnson; and transferred to the Royal Navy on 22 March 1943, and commissioned the following day. Service history LST-8 sailed from Hampton Roads, Virginia, for the Mediterranean on 14 May 1943, with convoy UGS 8A, arriving in Oran, Algeria, sometime before 8 June 1943. She participated in the invasion of Sicily, landings at Reggio, the Salerno landings, and the Anzio landings, in the Mediterranean Theatre and the Normandy landings in the European Theatre. She was refitted at Liverpool in September 1944, and was transferred to the Eastern Fleet. LST-8 also participated in the landings in Malaya, Operation Zipper. She was paid off on 4 May 1946, at Subic Bay. Final disposition LST-8 was returned from the United Kingdom on 1 June 1946, and was struck from the Navy list on 3 July 1946. On 5 December 1947, she was sold to Bosey, Philippines. References Bibliography External links 1942 ships Ships built in Pittsburgh LST-1-class tank landing ships of the Royal Navy World War II amphibious warfare vessels of the United Kingdom Ships built by Dravo Corporation
Lignerolles () is a former commune in the Orne department in north-western France. On 1 January 2016, it was merged into the new commune of Tourouvre au Perche. See also Communes of the Orne department References Former communes of Orne
Arthur Bishop Terrell (1861 – 9 June 1931) was a businessman in Melbourne, Australia. Terrell was born in the Talunga region of South Australia, a son of John Beaton Terrell (c. 1829 – 12 January 1873) and his wife Mary Terrell, née Cave (c. 1831 – 20 October 1894). Mary was a sister of W. R. Cave. He was educated at North Adelaide Grammar School and as a young man excelled at football, a member of the Norwood club. He became a member of the Adelaide Stock Exchange on 14 September 1899, but lived in Melbourne from around 1905. He was in 1905 one of the founders of the Zinc Corporation. Family Terrell married Elizabeth Hall Herring ( – 28 November 1947). They had three surviving children, all of whom left for London aboard SS Osterley with their mother in 1912. Arthur Clive Terrell (28 September 1898 – 20 April 1917) was lieutenant in the British Army; died of wounds at Étaples during WWI Edna Winifred Terrell (May 1904 – ) married Pilot Officer Sir Christopher Albert De Bathe, Bart. (c. 1906 – 6 June 1941) on 12 January 1932. He was killed on active service. He was a nephew of Lily Langtry and her husband Hugo Gerald de Bathe (1871–1940), and grandson of Sir Henry de Bathe, 4th Baronet. John Alwyn Terrell (1907 – ) He had a home at 3 Stanhope Grove, Camberwell, Victoria. References 1861 births 1931 deaths Australian stockbrokers Businesspeople from Adelaide Colony of South Australia people